[03:09:31]OFD Sender: No OFD packet to send [03:09:36]OFD Sender: No OFD packet to send [03:09:41]OFD Sender: No OFD packet to send [03:09:46]OFD Sender: No OFD packet to send [03:09:51]OFD Sender: No OFD packet to send [03:09:56]OFD Sender: No OFD packet to send [03:10:01]OFD Sender: No OFD packet to send [03:10:06]OFD Sender: No OFD packet to send [03:10:11]OFD Sender: No OFD packet to send [03:10:16]OFD Sender: No OFD packet to send [03:10:21]OFD Sender: No OFD packet to send [03:10:26]OFD Sender: No OFD packet to send [03:10:31]OFD Sender: No OFD packet to send [03:10:36]OFD Sender: No OFD packet to send [03:10:41]OFD Sender: No OFD packet to send [03:10:46]OFD Sender: No OFD packet to send [03:10:51]OFD Sender: No OFD packet to send [03:10:56]OFD Sender: No OFD packet to send [03:11:01]OFD Sender: No OFD packet to send [03:11:06]OFD Sender: No OFD packet to send [03:11:11]OFD Sender: No OFD packet to send [03:11:16]OFD Sender: No OFD packet to send [03:11:21]OFD Sender: No OFD packet to send [03:11:26]OFD Sender: No OFD packet to send [03:11:31]OFD Sender: No OFD packet to send [03:11:36]OFD Sender: No OFD packet to send [03:11:41]OFD Sender: No OFD packet to send [03:11:46]OFD Sender: No OFD packet to send [03:11:51]OFD Sender: No OFD packet to send [03:11:56]OFD Sender: No OFD packet to send [03:12:01]OFD Sender: No OFD packet to send [03:12:06]OFD Sender: No OFD packet to send [03:12:11]OFD Sender: No OFD packet to send [03:12:16]OFD Sender: No OFD packet to send [03:12:21]OFD Sender: No OFD packet to send [03:12:26]OFD Sender: No OFD packet to send [03:12:31]OFD Sender: No OFD packet to send [03:12:36]OFD Sender: No OFD packet to send [03:12:41]OFD Sender: No OFD packet to send [03:12:46]OFD Sender: No OFD packet to send [03:12:51]OFD Sender: No OFD packet to send [03:12:56]OFD Sender: No OFD packet to send [03:13:01]OFD Sender: No OFD packet to send [03:13:06]OFD Sender: No OFD packet to send [03:13:11]OFD Sender: No OFD packet to send [03:13:16]OFD Sender: No OFD packet to send [03:13:21]OFD Sender: No OFD packet to send [03:13:26]OFD Sender: No OFD packet to send [03:13:31]OFD Sender: No OFD packet to send [03:13:36]OFD Sender: No OFD packet to send [03:13:41]OFD Sender: No OFD packet to send [03:13:46]OFD Sender: No OFD packet to send [03:13:51]OFD Sender: No OFD packet to send [03:13:56]OFD Sender: No OFD packet to send [03:14:01]OFD Sender: No OFD packet to send [03:14:06]OFD Sender: No OFD packet to send [03:14:11]OFD Sender: No OFD packet to send [03:14:16]OFD Sender: No OFD packet to send [03:14:21]OFD Sender: No OFD packet to send [03:14:26]OFD Sender: No OFD packet to send [03:14:31]OFD Sender: No OFD packet to send [03:14:36]OFD Sender: No OFD packet to send [03:14:41]OFD Sender: No OFD packet to send [03:14:46]OFD Sender: No OFD packet to send [03:14:51]OFD Sender: No OFD packet to send [03:14:56]OFD Sender: No OFD packet to send [03:15:01]OFD Sender: No OFD packet to send [03:15:06]OFD Sender: No OFD packet to send [03:15:11]OFD Sender: No OFD packet to send [03:15:16]OFD Sender: No OFD packet to send [03:15:21]OFD Sender: No OFD packet to send [03:15:26]OFD Sender: No OFD packet to send [03:15:31]OFD Sender: No OFD packet to send [03:15:36]OFD Sender: No OFD packet to send [03:15:41]OFD Sender: No OFD packet to send [03:15:46]OFD Sender: No OFD packet to send [03:15:51]OFD Sender: No OFD packet to send [03:15:56]OFD Sender: No OFD packet to send [03:16:01]OFD Sender: No OFD packet to send [03:16:06]OFD Sender: No OFD packet to send [03:16:11]OFD Sender: No OFD packet to send [03:16:16]OFD Sender: No OFD packet to send [03:16:21]OFD Sender: No OFD packet to send [03:16:26]OFD Sender: No OFD packet to send [03:16:31]OFD Sender: No OFD packet to send [03:16:36]OFD Sender: No OFD packet to send [03:16:41]OFD Sender: No OFD packet to send [03:16:46]OFD Sender: No OFD packet to send [03:16:51]OFD Sender: No OFD packet to send [03:16:56]OFD Sender: No OFD packet to send [03:17:01]OFD Sender: No OFD packet to send [03:17:07]OFD Sender: No OFD packet to send [03:17:12]OFD Sender: No OFD packet to send [03:17:17]OFD Sender: No OFD packet to send [03:17:22]OFD Sender: No OFD packet to send [03:17:27]OFD Sender: No OFD packet to send [03:17:32]OFD Sender: No OFD packet to send [03:17:37]OFD Sender: No OFD packet to send [03:17:42]OFD Sender: No OFD packet to send [03:17:47]OFD Sender: No OFD packet to send [03:17:52]OFD Sender: No OFD packet to send [03:17:57]OFD Sender: No OFD packet to send [03:18:02]OFD Sender: No OFD packet to send [03:18:07]OFD Sender: No OFD packet to send [03:18:12]OFD Sender: No OFD packet to send [03:18:17]OFD Sender: No OFD packet to send [03:18:22]OFD Sender: No OFD packet to send [03:18:27]OFD Sender: No OFD packet to send [03:18:32]OFD Sender: No OFD packet to send [03:18:37]OFD Sender: No OFD packet to send [03:18:42]OFD Sender: No OFD packet to send [03:18:47]OFD Sender: No OFD packet to send [03:18:52]OFD Sender: No OFD packet to send [03:18:57]OFD Sender: No OFD packet to send [03:19:02]OFD Sender: No OFD packet to send [03:19:07]OFD Sender: No OFD packet to send [03:19:12]OFD Sender: No OFD packet to send [03:19:17]OFD Sender: No OFD packet to send [03:19:22]OFD Sender: No OFD packet to send [03:19:27]OFD Sender: No OFD packet to send [03:19:32]OFD Sender: No OFD packet to send [03:19:37]OFD Sender: No OFD packet to send [03:19:42]OFD Sender: No OFD packet to send [03:19:47]OFD Sender: No OFD packet to send [03:19:52]OFD Sender: No OFD packet to send [03:19:57]OFD Sender: No OFD packet to send [03:20:02]OFD Sender: No OFD packet to send [03:20:07]OFD Sender: No OFD packet to send [03:20:12]OFD Sender: No OFD packet to send [03:20:17]OFD Sender: No OFD packet to send [03:20:22]OFD Sender: No OFD packet to send [03:20:27]OFD Sender: No OFD packet to send [03:20:32]OFD Sender: No OFD packet to send [03:20:37]OFD Sender: No OFD packet to send [03:20:42]OFD Sender: No OFD packet to send [03:20:47]OFD Sender: No OFD packet to send [03:20:52]OFD Sender: No OFD packet to send [03:20:57]OFD Sender: No OFD packet to send [03:21:02]OFD Sender: No OFD packet to send [03:21:07]OFD Sender: No OFD packet to send [03:21:12]OFD Sender: No OFD packet to send [03:21:17]OFD Sender: No OFD packet to send [03:21:22]OFD Sender: No OFD packet to send [03:21:27]OFD Sender: No OFD packet to send [03:21:32]OFD Sender: No OFD packet to send [03:21:37]OFD Sender: No OFD packet to send [03:21:42]OFD Sender: No OFD packet to send [03:21:47]OFD Sender: No OFD packet to send [03:21:52]OFD Sender: No OFD packet to send [03:21:57]OFD Sender: No OFD packet to send [03:22:02]OFD Sender: No OFD packet to send [03:22:07]OFD Sender: No OFD packet to send [03:22:12]OFD Sender: No OFD packet to send [03:22:17]OFD Sender: No OFD packet to send [03:22:22]OFD Sender: No OFD packet to send [03:22:27]OFD Sender: No OFD packet to send [03:22:32]OFD Sender: No OFD packet to send [03:22:37]OFD Sender: No OFD packet to send [03:22:42]OFD Sender: No OFD packet to send [03:22:47]OFD Sender: No OFD packet to send [03:22:52]OFD Sender: No OFD packet to send [03:22:57]OFD Sender: No OFD packet to send [03:23:02]OFD Sender: No OFD packet to send [03:23:07]OFD Sender: No OFD packet to send [03:23:12]OFD Sender: No OFD packet to send [03:23:17]OFD Sender: No OFD packet to send [03:23:22]OFD Sender: No OFD packet to send [03:23:27]OFD Sender: No OFD packet to send [03:23:32]OFD Sender: No OFD packet to send [03:23:37]OFD Sender: No OFD packet to send [03:23:42]OFD Sender: No OFD packet to send [03:23:47]OFD Sender: No OFD packet to send [03:23:52]OFD Sender: No OFD packet to send [03:23:57]OFD Sender: No OFD packet to send [03:24:02]OFD Sender: No OFD packet to send [03:24:07]OFD Sender: No OFD packet to send [03:24:12]OFD Sender: No OFD packet to send [03:24:17]OFD Sender: No OFD packet to send [03:24:22]OFD Sender: No OFD packet to send [03:24:27]OFD Sender: No OFD packet to send [03:24:32]OFD Sender: No OFD packet to send [03:24:37]OFD Sender: No OFD packet to send [03:24:42]OFD Sender: No OFD packet to send [03:24:47]OFD Sender: No OFD packet to send [03:24:52]OFD Sender: No OFD packet to send [03:24:57]OFD Sender: No OFD packet to send [03:25:02]OFD Sender: No OFD packet to send [03:25:07]OFD Sender: No OFD packet to send [03:25:12]OFD Sender: No OFD packet to send [03:25:17]OFD Sender: No OFD packet to send [03:25:22]OFD Sender: No OFD packet to send [03:25:27]OFD Sender: No OFD packet to send [03:25:32]OFD Sender: No OFD packet to send [03:25:37]OFD Sender: No OFD packet to send [03:25:42]OFD Sender: No OFD packet to send [03:25:47]OFD Sender: No OFD packet to send [03:25:52]OFD Sender: No OFD packet to send [03:25:57]OFD Sender: No OFD packet to send [03:26:02]OFD Sender: No OFD packet to send [03:26:07]OFD Sender: No OFD packet to send [03:26:12]OFD Sender: No OFD packet to send [03:26:17]OFD Sender: No OFD packet to send [03:26:22]OFD Sender: No OFD packet to send [03:26:27]OFD Sender: No OFD packet to send [03:26:32]OFD Sender: No OFD packet to send [03:26:37]OFD Sender: No OFD packet to send [03:26:42]OFD Sender: No OFD packet to send [03:26:47]OFD Sender: No OFD packet to send [03:26:52]OFD Sender: No OFD packet to send [03:26:57]OFD Sender: No OFD packet to send [03:27:02]OFD Sender: No OFD packet to send [03:27:07]OFD Sender: No OFD packet to send [03:27:12]OFD Sender: No OFD packet to send [03:27:17]OFD Sender: No OFD packet to send [03:27:22]OFD Sender: No OFD packet to send [03:27:27]OFD Sender: No OFD packet to send [03:27:32]OFD Sender: No OFD packet to send [03:27:37]OFD Sender: No OFD packet to send [03:27:42]OFD Sender: No OFD packet to send [03:27:47]OFD Sender: No OFD packet to send [03:27:52]OFD Sender: No OFD packet to send [03:27:57]OFD Sender: No OFD packet to send [03:28:02]OFD Sender: No OFD packet to send [03:28:07]OFD Sender: No OFD packet to send [03:28:12]OFD Sender: No OFD packet to send [03:28:17]OFD Sender: No OFD packet to send [03:28:22]OFD Sender: No OFD packet to send [03:28:27]OFD Sender: No OFD packet to send [03:28:32]OFD Sender: No OFD packet to send [03:28:37]OFD Sender: No OFD packet to send [03:28:42]OFD Sender: No OFD packet to send [03:28:47]OFD Sender: No OFD packet to send [03:28:52]OFD Sender: No OFD packet to send [03:28:57]OFD Sender: No OFD packet to send [03:29:02]OFD Sender: No OFD packet to send [03:29:07]OFD Sender: No OFD packet to send [03:29:12]OFD Sender: No OFD packet to send [03:29:17]OFD Sender: No OFD packet to send [03:29:22]OFD Sender: No OFD packet to send [03:29:27]OFD Sender: No OFD packet to send [03:29:32]OFD Sender: No OFD packet to send [03:29:37]OFD Sender: No OFD packet to send [03:29:42]OFD Sender: No OFD packet to send [03:29:47]OFD Sender: No OFD packet to send [03:29:52]OFD Sender: No OFD packet to send [03:29:57]OFD Sender: No OFD packet to send [03:30:02]OFD Sender: No OFD packet to send [03:30:07]OFD Sender: No OFD packet to send [03:30:12]OFD Sender: No OFD packet to send [03:30:17]OFD Sender: No OFD packet to send [03:30:22]OFD Sender: No OFD packet to send [03:30:27]OFD Sender: No OFD packet to send [03:30:32]OFD Sender: No OFD packet to send [03:30:37]OFD Sender: No OFD packet to send [03:30:42]OFD Sender: No OFD packet to send [03:30:47]OFD Sender: No OFD packet to send [03:30:52]OFD Sender: No OFD packet to send [03:30:57]OFD Sender: No OFD packet to send [03:31:02]OFD Sender: No OFD packet to send [03:31:07]OFD Sender: No OFD packet to send [03:31:12]OFD Sender: No OFD packet to send [03:31:17]OFD Sender: No OFD packet to send [03:31:22]OFD Sender: No OFD packet to send [03:31:27]OFD Sender: No OFD packet to send [03:31:32]OFD Sender: No OFD packet to send [03:31:37]OFD Sender: No OFD packet to send [03:31:42]OFD Sender: No OFD packet to send [03:31:47]OFD Sender: No OFD packet to send [03:31:52]OFD Sender: No OFD packet to send [03:31:57]OFD Sender: No OFD packet to send [03:32:02]OFD Sender: No OFD packet to send [03:32:07]OFD Sender: No OFD packet to send [03:32:12]OFD Sender: No OFD packet to send [03:32:17]OFD Sender: No OFD packet to send [03:32:22]OFD Sender: No OFD packet to send [03:32:27]OFD Sender: No OFD packet to send [03:32:32]OFD Sender: No OFD packet to send [03:32:37]OFD Sender: No OFD packet to send [03:32:42]OFD Sender: No OFD packet to send [03:32:47]OFD Sender: No OFD packet to send [03:32:52]OFD Sender: No OFD packet to send [03:32:57]OFD Sender: No OFD packet to send [03:33:02]OFD Sender: No OFD packet to send [03:33:07]OFD Sender: No OFD packet to send [03:33:12]OFD Sender: No OFD packet to send [03:33:17]OFD Sender: No OFD packet to send [03:33:22]OFD Sender: No OFD packet to send [03:33:27]OFD Sender: No OFD packet to send [03:33:32]OFD Sender: No OFD packet to send [03:33:37]OFD Sender: No OFD packet to send [03:33:42]OFD Sender: No OFD packet to send [03:33:47]OFD Sender: No OFD packet to send [03:33:52]OFD Sender: No OFD packet to send [03:33:57]OFD Sender: No OFD packet to send [03:34:02]OFD Sender: No OFD packet to send [03:34:07]OFD Sender: No OFD packet to send [03:34:12]OFD Sender: No OFD packet to send [03:34:17]OFD Sender: No OFD packet to send [03:34:22]OFD Sender: No OFD packet to send [03:34:27]OFD Sender: No OFD packet to send [03:34:32]OFD Sender: No OFD packet to send [03:34:37]OFD Sender: No OFD packet to send [03:34:42]OFD Sender: No OFD packet to send [03:34:47]OFD Sender: No OFD packet to send [03:34:52]OFD Sender: No OFD packet to send [03:34:57]OFD Sender: No OFD packet to send [03:35:02]OFD Sender: No OFD packet to send [03:35:07]OFD Sender: No OFD packet to send [03:35:12]OFD Sender: No OFD packet to send [03:35:17]OFD Sender: No OFD packet to send [03:35:22]OFD Sender: No OFD packet to send [03:35:27]OFD Sender: No OFD packet to send [03:35:32]OFD Sender: No OFD packet to send [03:35:37]OFD Sender: No OFD packet to send [03:35:42]OFD Sender: No OFD packet to send [03:35:47]OFD Sender: No OFD packet to send [03:35:52]OFD Sender: No OFD packet to send [03:35:57]OFD Sender: No OFD packet to send [03:36:02]OFD Sender: No OFD packet to send [03:36:07]OFD Sender: No OFD packet to send [03:36:12]OFD Sender: No OFD packet to send [03:36:17]OFD Sender: No OFD packet to send [03:36:22]OFD Sender: No OFD packet to send [03:36:27]OFD Sender: No OFD packet to send [03:36:32]OFD Sender: No OFD packet to send [03:36:37]OFD Sender: No OFD packet to send [03:36:42]OFD Sender: No OFD packet to send [03:36:47]OFD Sender: No OFD packet to send [03:36:52]OFD Sender: No OFD packet to send [03:36:57]OFD Sender: No OFD packet to send [03:37:02]OFD Sender: No OFD packet to send [03:37:07]OFD Sender: No OFD packet to send [03:37:12]OFD Sender: No OFD packet to send [03:37:17]OFD Sender: No OFD packet to send [03:37:22]OFD Sender: No OFD packet to send [03:37:27]OFD Sender: No OFD packet to send [03:37:32]OFD Sender: No OFD packet to send [03:37:37]OFD Sender: No OFD packet to send [03:37:42]OFD Sender: No OFD packet to send [03:37:47]OFD Sender: No OFD packet to send [03:37:52]OFD Sender: No OFD packet to send [03:37:57]OFD Sender: No OFD packet to send [03:38:02]OFD Sender: No OFD packet to send [03:38:07]OFD Sender: No OFD packet to send [03:38:12]OFD Sender: No OFD packet to send [03:38:17]OFD Sender: No OFD packet to send [03:38:22]OFD Sender: No OFD packet to send [03:38:28]OFD Sender: No OFD packet to send [03:38:33]OFD Sender: No OFD packet to send [03:38:38]OFD Sender: No OFD packet to send [03:38:43]OFD Sender: No OFD packet to send [03:38:48]OFD Sender: No OFD packet to send [03:38:53]OFD Sender: No OFD packet to send [03:38:58]OFD Sender: No OFD packet to send [03:39:03]OFD Sender: No OFD packet to send [03:39:08]OFD Sender: No OFD packet to send [03:39:13]OFD Sender: No OFD packet to send [03:39:18]OFD Sender: No OFD packet to send [03:39:23]OFD Sender: No OFD packet to send [03:39:28]OFD Sender: No OFD packet to send [03:39:33]OFD Sender: No OFD packet to send [03:39:38]OFD Sender: No OFD packet to send [03:39:43]OFD Sender: No OFD packet to send [03:39:48]OFD Sender: No OFD packet to send [03:39:53]OFD Sender: No OFD packet to send [03:39:58]OFD Sender: No OFD packet to send [03:40:03]OFD Sender: No OFD packet to send [03:40:08]OFD Sender: No OFD packet to send [03:40:13]OFD Sender: No OFD packet to send [03:40:18]OFD Sender: No OFD packet to send [03:40:23]OFD Sender: No OFD packet to send [03:40:28]OFD Sender: No OFD packet to send [03:40:33]OFD Sender: No OFD packet to send [03:40:38]OFD Sender: No OFD packet to send [03:40:43]OFD Sender: No OFD packet to send [03:40:48]OFD Sender: No OFD packet to send [03:40:53]OFD Sender: No OFD packet to send [03:40:58]OFD Sender: No OFD packet to send [03:41:03]OFD Sender: No OFD packet to send [03:41:08]OFD Sender: No OFD packet to send [03:41:13]OFD Sender: No OFD packet to send [03:41:18]OFD Sender: No OFD packet to send [03:41:23]OFD Sender: No OFD packet to send [03:41:28]OFD Sender: No OFD packet to send [03:41:33]OFD Sender: No OFD packet to send [03:41:38]OFD Sender: No OFD packet to send [03:41:43]OFD Sender: No OFD packet to send [03:41:48]OFD Sender: No OFD packet to send [03:41:53]OFD Sender: No OFD packet to send [03:41:58]OFD Sender: No OFD packet to send [03:42:03]OFD Sender: No OFD packet to send [03:42:08]OFD Sender: No OFD packet to send [03:42:13]OFD Sender: No OFD packet to send [03:42:18]OFD Sender: No OFD packet to send [03:42:23]OFD Sender: No OFD packet to send [03:42:28]OFD Sender: No OFD packet to send [03:42:33]OFD Sender: No OFD packet to send [03:42:38]OFD Sender: No OFD packet to send [03:42:43]OFD Sender: No OFD packet to send [03:42:48]OFD Sender: No OFD packet to send [03:42:53]OFD Sender: No OFD packet to send [03:42:58]OFD Sender: No OFD packet to send [03:43:03]OFD Sender: No OFD packet to send [03:43:08]OFD Sender: No OFD packet to send [03:43:13]OFD Sender: No OFD packet to send [03:43:18]OFD Sender: No OFD packet to send [03:43:23]OFD Sender: No OFD packet to send [03:43:28]OFD Sender: No OFD packet to send [03:43:33]OFD Sender: No OFD packet to send [03:43:38]OFD Sender: No OFD packet to send [03:43:43]OFD Sender: No OFD packet to send [03:43:48]OFD Sender: No OFD packet to send [03:43:53]OFD Sender: No OFD packet to send [03:43:58]OFD Sender: No OFD packet to send [03:44:03]OFD Sender: No OFD packet to send [03:44:08]OFD Sender: No OFD packet to send [03:44:13]OFD Sender: No OFD packet to send [03:44:18]OFD Sender: No OFD packet to send [03:44:23]OFD Sender: No OFD packet to send [03:44:28]OFD Sender: No OFD packet to send [03:44:33]OFD Sender: No OFD packet to send [03:44:38]OFD Sender: No OFD packet to send [03:44:43]OFD Sender: No OFD packet to send [03:44:48]OFD Sender: No OFD packet to send [03:44:53]OFD Sender: No OFD packet to send [03:44:58]OFD Sender: No OFD packet to send [03:45:03]OFD Sender: No OFD packet to send [03:45:08]OFD Sender: No OFD packet to send [03:45:13]OFD Sender: No OFD packet to send [03:45:18]OFD Sender: No OFD packet to send [03:45:23]OFD Sender: No OFD packet to send [03:45:28]OFD Sender: No OFD packet to send [03:45:33]OFD Sender: No OFD packet to send [03:45:38]OFD Sender: No OFD packet to send [03:45:43]OFD Sender: No OFD packet to send [03:45:48]OFD Sender: No OFD packet to send [03:45:53]OFD Sender: No OFD packet to send [03:45:58]OFD Sender: No OFD packet to send [03:46:03]OFD Sender: No OFD packet to send [03:46:08]OFD Sender: No OFD packet to send [03:46:13]OFD Sender: No OFD packet to send [03:46:18]OFD Sender: No OFD packet to send [03:46:23]OFD Sender: No OFD packet to send [03:46:28]OFD Sender: No OFD packet to send [03:46:33]OFD Sender: No OFD packet to send [03:46:38]OFD Sender: No OFD packet to send [03:46:43]OFD Sender: No OFD packet to send [03:46:48]OFD Sender: No OFD packet to send [03:46:53]OFD Sender: No OFD packet to send [03:46:58]OFD Sender: No OFD packet to send [03:47:03]OFD Sender: No OFD packet to send [03:47:08]OFD Sender: No OFD packet to send [03:47:13]OFD Sender: No OFD packet to send [03:47:18]OFD Sender: No OFD packet to send [03:47:23]OFD Sender: No OFD packet to send [03:47:28]OFD Sender: No OFD packet to send [03:47:33]OFD Sender: No OFD packet to send [03:47:38]OFD Sender: No OFD packet to send [03:47:43]OFD Sender: No OFD packet to send [03:47:48]OFD Sender: No OFD packet to send [03:47:53]OFD Sender: No OFD packet to send [03:47:58]OFD Sender: No OFD packet to send [03:48:03]OFD Sender: No OFD packet to send [03:48:08]OFD Sender: No OFD packet to send [03:48:13]OFD Sender: No OFD packet to send [03:48:18]OFD Sender: No OFD packet to send [03:48:23]OFD Sender: No OFD packet to send [03:48:28]OFD Sender: No OFD packet to send [03:48:33]OFD Sender: No OFD packet to send [03:48:38]OFD Sender: No OFD packet to send [03:48:43]OFD Sender: No OFD packet to send [03:48:48]OFD Sender: No OFD packet to send [03:48:53]OFD Sender: No OFD packet to send [03:48:58]OFD Sender: No OFD packet to send [03:49:03]OFD Sender: No OFD packet to send [03:49:08]OFD Sender: No OFD packet to send [03:49:13]OFD Sender: No OFD packet to send [03:49:18]OFD Sender: No OFD packet to send [03:49:23]OFD Sender: No OFD packet to send [03:49:28]OFD Sender: No OFD packet to send [03:49:33]OFD Sender: No OFD packet to send [03:49:38]OFD Sender: No OFD packet to send [03:49:43]OFD Sender: No OFD packet to send [03:49:48]OFD Sender: No OFD packet to send [03:49:53]OFD Sender: No OFD packet to send [03:49:58]OFD Sender: No OFD packet to send [03:50:03]OFD Sender: No OFD packet to send [03:50:08]OFD Sender: No OFD packet to send [03:50:13]OFD Sender: No OFD packet to send [03:50:18]OFD Sender: No OFD packet to send [03:50:23]OFD Sender: No OFD packet to send [03:50:28]OFD Sender: No OFD packet to send [03:50:33]OFD Sender: No OFD packet to send [03:50:38]OFD Sender: No OFD packet to send [03:50:43]OFD Sender: No OFD packet to send [03:50:48]OFD Sender: No OFD packet to send [03:50:53]OFD Sender: No OFD packet to send [03:50:58]OFD Sender: No OFD packet to send [03:51:03]OFD Sender: No OFD packet to send [03:51:08]OFD Sender: No OFD packet to send [03:51:13]OFD Sender: No OFD packet to send [03:51:18]OFD Sender: No OFD packet to send [03:51:23]OFD Sender: No OFD packet to send [03:51:28]OFD Sender: No OFD packet to send [03:51:33]OFD Sender: No OFD packet to send [03:51:38]OFD Sender: No OFD packet to send [03:51:43]OFD Sender: No OFD packet to send [03:51:48]OFD Sender: No OFD packet to send [03:51:53]OFD Sender: No OFD packet to send [03:51:58]OFD Sender: No OFD packet to send [03:52:03]OFD Sender: No OFD packet to send [03:52:08]OFD Sender: No OFD packet to send [03:52:13]OFD Sender: No OFD packet to send [03:52:18]OFD Sender: No OFD packet to send [03:52:23]OFD Sender: No OFD packet to send [03:52:28]OFD Sender: No OFD packet to send [03:52:33]OFD Sender: No OFD packet to send [03:52:38]OFD Sender: No OFD packet to send [03:52:43]OFD Sender: No OFD packet to send [03:52:48]OFD Sender: No OFD packet to send [03:52:53]OFD Sender: No OFD packet to send [03:52:58]OFD Sender: No OFD packet to send [03:53:03]OFD Sender: No OFD packet to send [03:53:08]OFD Sender: No OFD packet to send [03:53:13]OFD Sender: No OFD packet to send [03:53:18]OFD Sender: No OFD packet to send [03:53:23]OFD Sender: No OFD packet to send [03:53:28]OFD Sender: No OFD packet to send [03:53:33]OFD Sender: No OFD packet to send [03:53:38]OFD Sender: No OFD packet to send [03:53:43]OFD Sender: No OFD packet to send [03:53:48]OFD Sender: No OFD packet to send [03:53:53]OFD Sender: No OFD packet to send [03:53:58]OFD Sender: No OFD packet to send [03:54:03]OFD Sender: No OFD packet to send [03:54:08]OFD Sender: No OFD packet to send [03:54:13]OFD Sender: No OFD packet to send [03:54:18]OFD Sender: No OFD packet to send [03:54:23]OFD Sender: No OFD packet to send [03:54:28]OFD Sender: No OFD packet to send [03:54:33]OFD Sender: No OFD packet to send [03:54:38]OFD Sender: No OFD packet to send [03:54:43]OFD Sender: No OFD packet to send [03:54:48]OFD Sender: No OFD packet to send [03:54:53]OFD Sender: No OFD packet to send [03:54:58]OFD Sender: No OFD packet to send [03:55:03]OFD Sender: No OFD packet to send [03:55:08]OFD Sender: No OFD packet to send [03:55:13]OFD Sender: No OFD packet to send [03:55:18]OFD Sender: No OFD packet to send [03:55:23]OFD Sender: No OFD packet to send [03:55:28]OFD Sender: No OFD packet to send [03:55:33]OFD Sender: No OFD packet to send [03:55:38]OFD Sender: No OFD packet to send [03:55:43]OFD Sender: No OFD packet to send [03:55:48]OFD Sender: No OFD packet to send [03:55:53]OFD Sender: No OFD packet to send [03:55:58]OFD Sender: No OFD packet to send [03:56:03]OFD Sender: No OFD packet to send [03:56:08]OFD Sender: No OFD packet to send [03:56:13]OFD Sender: No OFD packet to send [03:56:18]OFD Sender: No OFD packet to send [03:56:23]OFD Sender: No OFD packet to send [03:56:28]OFD Sender: No OFD packet to send [03:56:33]OFD Sender: No OFD packet to send [03:56:38]OFD Sender: No OFD packet to send [03:56:43]OFD Sender: No OFD packet to send [03:56:48]OFD Sender: No OFD packet to send [03:56:53]OFD Sender: No OFD packet to send [03:56:58]OFD Sender: No OFD packet to send [03:57:03]OFD Sender: No OFD packet to send [03:57:08]OFD Sender: No OFD packet to send [03:57:13]OFD Sender: No OFD packet to send [03:57:18]OFD Sender: No OFD packet to send [03:57:23]OFD Sender: No OFD packet to send [03:57:28]OFD Sender: No OFD packet to send [03:57:33]OFD Sender: No OFD packet to send [03:57:38]OFD Sender: No OFD packet to send [03:57:43]OFD Sender: No OFD packet to send [03:57:48]OFD Sender: No OFD packet to send [03:57:53]OFD Sender: No OFD packet to send [03:57:58]OFD Sender: No OFD packet to send [03:58:03]OFD Sender: No OFD packet to send [03:58:08]OFD Sender: No OFD packet to send [03:58:13]OFD Sender: No OFD packet to send [03:58:18]OFD Sender: No OFD packet to send [03:58:23]OFD Sender: No OFD packet to send [03:58:28]OFD Sender: No OFD packet to send [03:58:33]OFD Sender: No OFD packet to send [03:58:38]OFD Sender: No OFD packet to send [03:58:43]OFD Sender: No OFD packet to send [03:58:48]OFD Sender: No OFD packet to send [03:58:53]OFD Sender: No OFD packet to send [03:58:58]OFD Sender: No OFD packet to send [03:59:03]OFD Sender: No OFD packet to send [03:59:08]OFD Sender: No OFD packet to send [03:59:13]OFD Sender: No OFD packet to send [03:59:18]OFD Sender: No OFD packet to send [03:59:23]OFD Sender: No OFD packet to send [03:59:28]OFD Sender: No OFD packet to send [03:59:33]OFD Sender: No OFD packet to send [03:59:38]OFD Sender: No OFD packet to send [03:59:43]OFD Sender: No OFD packet to send [03:59:48]OFD Sender: No OFD packet to send [03:59:53]OFD Sender: No OFD packet to send [03:59:59]OFD Sender: No OFD packet to send [04:00:04]OFD Sender: No OFD packet to send [04:00:09]OFD Sender: No OFD packet to send [04:00:14]OFD Sender: No OFD packet to send [04:00:19]OFD Sender: No OFD packet to send [04:00:24]OFD Sender: No OFD packet to send [04:00:29]OFD Sender: No OFD packet to send [04:00:34]OFD Sender: No OFD packet to send [04:00:39]OFD Sender: No OFD packet to send [04:00:44]OFD Sender: No OFD packet to send [04:00:49]OFD Sender: No OFD packet to send [04:00:54]OFD Sender: No OFD packet to send [04:00:59]OFD Sender: No OFD packet to send [04:01:04]OFD Sender: No OFD packet to send [04:01:09]OFD Sender: No OFD packet to send [04:01:14]OFD Sender: No OFD packet to send [04:01:19]OFD Sender: No OFD packet to send [04:01:24]OFD Sender: No OFD packet to send [04:01:29]OFD Sender: No OFD packet to send [04:01:34]OFD Sender: No OFD packet to send [04:01:39]OFD Sender: No OFD packet to send [04:01:44]OFD Sender: No OFD packet to send [04:01:49]OFD Sender: No OFD packet to send [04:01:54]OFD Sender: No OFD packet to send [04:01:59]OFD Sender: No OFD packet to send [04:02:04]OFD Sender: No OFD packet to send [04:02:09]OFD Sender: No OFD packet to send [04:02:14]OFD Sender: No OFD packet to send [04:02:19]OFD Sender: No OFD packet to send [04:02:24]OFD Sender: No OFD packet to send [04:02:29]OFD Sender: No OFD packet to send [04:02:34]OFD Sender: No OFD packet to send [04:02:39]OFD Sender: No OFD packet to send [04:02:44]OFD Sender: No OFD packet to send [04:02:49]OFD Sender: No OFD packet to send [04:02:54]OFD Sender: No OFD packet to send [04:02:59]OFD Sender: No OFD packet to send [04:03:04]OFD Sender: No OFD packet to send [04:03:09]OFD Sender: No OFD packet to send [04:03:14]OFD Sender: No OFD packet to send [04:03:19]OFD Sender: No OFD packet to send [04:03:24]OFD Sender: No OFD packet to send [04:03:29]OFD Sender: No OFD packet to send [04:03:34]OFD Sender: No OFD packet to send [04:03:39]OFD Sender: No OFD packet to send [04:03:44]OFD Sender: No OFD packet to send [04:03:49]OFD Sender: No OFD packet to send [04:03:54]OFD Sender: No OFD packet to send [04:03:59]OFD Sender: No OFD packet to send [04:04:04]OFD Sender: No OFD packet to send [04:04:09]OFD Sender: No OFD packet to send [04:04:14]OFD Sender: No OFD packet to send [04:04:19]OFD Sender: No OFD packet to send [04:04:24]OFD Sender: No OFD packet to send [04:04:29]OFD Sender: No OFD packet to send [04:04:34]OFD Sender: No OFD packet to send [04:04:39]OFD Sender: No OFD packet to send [04:04:44]OFD Sender: No OFD packet to send [04:04:49]OFD Sender: No OFD packet to send [04:04:54]OFD Sender: No OFD packet to send [04:04:59]OFD Sender: No OFD packet to send [04:05:04]OFD Sender: No OFD packet to send [04:05:09]OFD Sender: No OFD packet to send [04:05:14]OFD Sender: No OFD packet to send [04:05:19]OFD Sender: No OFD packet to send [04:05:24]OFD Sender: No OFD packet to send [04:05:29]OFD Sender: No OFD packet to send [04:05:34]OFD Sender: No OFD packet to send [04:05:39]OFD Sender: No OFD packet to send [04:05:44]OFD Sender: No OFD packet to send [04:05:49]OFD Sender: No OFD packet to send [04:05:54]OFD Sender: No OFD packet to send [04:05:59]OFD Sender: No OFD packet to send [04:06:04]OFD Sender: No OFD packet to send [04:06:09]OFD Sender: No OFD packet to send [04:06:14]OFD Sender: No OFD packet to send [04:06:19]OFD Sender: No OFD packet to send [04:06:24]OFD Sender: No OFD packet to send [04:06:29]OFD Sender: No OFD packet to send [04:06:34]OFD Sender: No OFD packet to send [04:06:39]OFD Sender: No OFD packet to send [04:06:44]OFD Sender: No OFD packet to send [04:06:49]OFD Sender: No OFD packet to send [04:06:54]OFD Sender: No OFD packet to send [04:06:59]OFD Sender: No OFD packet to send [04:07:04]OFD Sender: No OFD packet to send [04:07:09]OFD Sender: No OFD packet to send [04:07:14]OFD Sender: No OFD packet to send [04:07:19]OFD Sender: No OFD packet to send [04:07:24]OFD Sender: No OFD packet to send [04:07:29]OFD Sender: No OFD packet to send [04:07:34]OFD Sender: No OFD packet to send [04:07:39]OFD Sender: No OFD packet to send [04:07:44]OFD Sender: No OFD packet to send [04:07:49]OFD Sender: No OFD packet to send [04:07:54]OFD Sender: No OFD packet to send [04:07:59]OFD Sender: No OFD packet to send [04:08:04]OFD Sender: No OFD packet to send [04:08:09]OFD Sender: No OFD packet to send [04:08:14]OFD Sender: No OFD packet to send [04:08:19]OFD Sender: No OFD packet to send [04:08:24]OFD Sender: No OFD packet to send [04:08:29]OFD Sender: No OFD packet to send [04:08:34]OFD Sender: No OFD packet to send [04:08:39]OFD Sender: No OFD packet to send [04:08:44]OFD Sender: No OFD packet to send [04:08:49]OFD Sender: No OFD packet to send [04:08:54]OFD Sender: No OFD packet to send [04:08:59]OFD Sender: No OFD packet to send [04:09:04]OFD Sender: No OFD packet to send [04:09:09]OFD Sender: No OFD packet to send [04:09:14]OFD Sender: No OFD packet to send [04:09:19]OFD Sender: No OFD packet to send [04:09:24]OFD Sender: No OFD packet to send [04:09:29]OFD Sender: No OFD packet to send [04:09:34]OFD Sender: No OFD packet to send [04:09:39]OFD Sender: No OFD packet to send [04:09:44]OFD Sender: No OFD packet to send [04:09:49]OFD Sender: No OFD packet to send [04:09:54]OFD Sender: No OFD packet to send [04:09:59]OFD Sender: No OFD packet to send [04:10:04]OFD Sender: No OFD packet to send [04:10:09]OFD Sender: No OFD packet to send [04:10:14]OFD Sender: No OFD packet to send [04:10:19]OFD Sender: No OFD packet to send [04:10:24]OFD Sender: No OFD packet to send [04:10:29]OFD Sender: No OFD packet to send [04:10:34]OFD Sender: No OFD packet to send [04:10:39]OFD Sender: No OFD packet to send [04:10:44]OFD Sender: No OFD packet to send [04:10:49]OFD Sender: No OFD packet to send [04:10:54]OFD Sender: No OFD packet to send [04:10:59]OFD Sender: No OFD packet to send [04:11:04]OFD Sender: No OFD packet to send [04:11:09]OFD Sender: No OFD packet to send [04:11:14]OFD Sender: No OFD packet to send [04:11:19]OFD Sender: No OFD packet to send [04:11:24]OFD Sender: No OFD packet to send [04:11:29]OFD Sender: No OFD packet to send [04:11:34]OFD Sender: No OFD packet to send [04:11:39]OFD Sender: No OFD packet to send [04:11:44]OFD Sender: No OFD packet to send [04:11:49]OFD Sender: No OFD packet to send [04:11:54]OFD Sender: No OFD packet to send [04:11:59]OFD Sender: No OFD packet to send [04:12:04]OFD Sender: No OFD packet to send [04:12:14]OFD Sender: No OFD packet to send [04:12:19]OFD Sender: No OFD packet to send [04:12:24]OFD Sender: No OFD packet to send [04:12:29]OFD Sender: No OFD packet to send [04:12:34]OFD Sender: No OFD packet to send [04:12:39]OFD Sender: No OFD packet to send [04:12:44]OFD Sender: No OFD packet to send [04:12:49]OFD Sender: No OFD packet to send [04:12:54]OFD Sender: No OFD packet to send [04:12:59]OFD Sender: No OFD packet to send [04:13:04]OFD Sender: No OFD packet to send [04:13:09]OFD Sender: No OFD packet to send [04:13:14]OFD Sender: No OFD packet to send [04:13:19]OFD Sender: No OFD packet to send [04:13:24]OFD Sender: No OFD packet to send [04:13:29]OFD Sender: No OFD packet to send [04:13:34]OFD Sender: No OFD packet to send [04:13:39]OFD Sender: No OFD packet to send [04:13:44]OFD Sender: No OFD packet to send [04:13:49]OFD Sender: No OFD packet to send [04:13:54]OFD Sender: No OFD packet to send [04:13:59]OFD Sender: No OFD packet to send [04:14:04]OFD Sender: No OFD packet to send [04:14:09]OFD Sender: No OFD packet to send [04:14:14]OFD Sender: No OFD packet to send [04:14:19]OFD Sender: No OFD packet to send [04:14:22]ConnectInit Can't connect to host [04:14:24]OFD Sender: No OFD packet to send [04:14:29]OFD Sender: No OFD packet to send [04:14:34]OFD Sender: No OFD packet to send [04:14:39]OFD Sender: No OFD packet to send [04:14:44]OFD Sender: No OFD packet to send [04:14:49]OFD Sender: No OFD packet to send [04:14:54]OFD Sender: No OFD packet to send [04:14:59]OFD Sender: No OFD packet to send [04:15:04]OFD Sender: No OFD packet to send [04:15:09]OFD Sender: No OFD packet to send [04:15:14]OFD Sender: No OFD packet to send [04:15:19]OFD Sender: No OFD packet to send [04:15:24]OFD Sender: No OFD packet to send [04:15:29]OFD Sender: No OFD packet to send [04:15:34]OFD Sender: No OFD packet to send [04:15:39]OFD Sender: No OFD packet to send [04:15:44]OFD Sender: No OFD packet to send [04:15:49]OFD Sender: No OFD packet to send [04:15:54]OFD Sender: No OFD packet to send [04:15:59]OFD Sender: No OFD packet to send [04:16:04]OFD Sender: No OFD packet to send [04:16:09]OFD Sender: No OFD packet to send [04:16:14]OFD Sender: No OFD packet to send [04:16:19]OFD Sender: No OFD packet to send [04:16:24]OFD Sender: No OFD packet to send [04:16:29]OFD Sender: No OFD packet to send [04:16:34]OFD Sender: No OFD packet to send [04:16:39]OFD Sender: No OFD packet to send [04:16:44]OFD Sender: No OFD packet to send [04:16:49]OFD Sender: No OFD packet to send [04:16:54]OFD Sender: No OFD packet to send [04:16:59]OFD Sender: No OFD packet to send [04:17:04]OFD Sender: No OFD packet to send [04:17:09]OFD Sender: No OFD packet to send [04:17:14]OFD Sender: No OFD packet to send [04:17:19]OFD Sender: No OFD packet to send [04:17:24]OFD Sender: No OFD packet to send [04:17:29]OFD Sender: No OFD packet to send [04:17:34]OFD Sender: No OFD packet to send [04:17:39]OFD Sender: No OFD packet to send [04:17:44]OFD Sender: No OFD packet to send [04:17:49]OFD Sender: No OFD packet to send [04:17:54]OFD Sender: No OFD packet to send [04:17:59]OFD Sender: No OFD packet to send [04:18:04]OFD Sender: No OFD packet to send [04:18:09]OFD Sender: No OFD packet to send [04:18:14]OFD Sender: No OFD packet to send [04:18:19]OFD Sender: No OFD packet to send [04:18:24]OFD Sender: No OFD packet to send [04:18:29]OFD Sender: No OFD packet to send [04:18:34]OFD Sender: No OFD packet to send [04:18:39]OFD Sender: No OFD packet to send [04:18:44]OFD Sender: No OFD packet to send [04:18:49]OFD Sender: No OFD packet to send [04:18:54]OFD Sender: No OFD packet to send [04:18:59]OFD Sender: No OFD packet to send [04:19:04]OFD Sender: No OFD packet to send [04:19:09]OFD Sender: No OFD packet to send [04:19:14]OFD Sender: No OFD packet to send [04:19:19]OFD Sender: No OFD packet to send [04:19:24]OFD Sender: No OFD packet to send [04:19:29]OFD Sender: No OFD packet to send [04:19:34]OFD Sender: No OFD packet to send [04:19:39]OFD Sender: No OFD packet to send [04:19:44]OFD Sender: No OFD packet to send [04:19:49]OFD Sender: No OFD packet to send [04:19:54]OFD Sender: No OFD packet to send [04:19:59]OFD Sender: No OFD packet to send [04:20:04]OFD Sender: No OFD packet to send [04:20:09]OFD Sender: No OFD packet to send [04:20:14]OFD Sender: No OFD packet to send [04:20:19]OFD Sender: No OFD packet to send [04:20:24]OFD Sender: No OFD packet to send [04:20:29]OFD Sender: No OFD packet to send [04:20:34]OFD Sender: No OFD packet to send [04:20:39]OFD Sender: No OFD packet to send [04:20:44]OFD Sender: No OFD packet to send [04:20:49]OFD Sender: No OFD packet to send [04:20:54]OFD Sender: No OFD packet to send [04:20:59]OFD Sender: No OFD packet to send [04:21:04]OFD Sender: No OFD packet to send [04:21:09]OFD Sender: No OFD packet to send [04:21:14]OFD Sender: No OFD packet to send [04:21:19]OFD Sender: No OFD packet to send [04:21:25]OFD Sender: No OFD packet to send [04:21:30]OFD Sender: No OFD packet to send [04:21:35]OFD Sender: No OFD packet to send [04:21:40]OFD Sender: No OFD packet to send [04:21:45]OFD Sender: No OFD packet to send [04:21:50]OFD Sender: No OFD packet to send [04:21:55]OFD Sender: No OFD packet to send [04:22:00]OFD Sender: No OFD packet to send [04:22:05]OFD Sender: No OFD packet to send [04:22:10]OFD Sender: No OFD packet to send [04:22:15]OFD Sender: No OFD packet to send [04:22:20]OFD Sender: No OFD packet to send [04:22:25]OFD Sender: No OFD packet to send [04:22:30]OFD Sender: No OFD packet to send [04:22:35]OFD Sender: No OFD packet to send [04:22:40]OFD Sender: No OFD packet to send [04:22:45]OFD Sender: No OFD packet to send [04:22:50]OFD Sender: No OFD packet to send [04:22:55]OFD Sender: No OFD packet to send [04:23:00]OFD Sender: No OFD packet to send [04:23:05]OFD Sender: No OFD packet to send [04:23:10]OFD Sender: No OFD packet to send [04:23:15]OFD Sender: No OFD packet to send [04:23:20]OFD Sender: No OFD packet to send [04:23:25]OFD Sender: No OFD packet to send [04:23:30]OFD Sender: No OFD packet to send [04:23:35]OFD Sender: No OFD packet to send [04:23:40]OFD Sender: No OFD packet to send [04:23:45]OFD Sender: No OFD packet to send [04:23:50]OFD Sender: No OFD packet to send [04:23:55]OFD Sender: No OFD packet to send [04:24:00]OFD Sender: No OFD packet to send [04:24:05]OFD Sender: No OFD packet to send [04:24:10]OFD Sender: No OFD packet to send [04:24:15]OFD Sender: No OFD packet to send [04:24:20]OFD Sender: No OFD packet to send [04:24:25]OFD Sender: No OFD packet to send [04:24:30]OFD Sender: No OFD packet to send [04:24:35]OFD Sender: No OFD packet to send [04:24:40]OFD Sender: No OFD packet to send [04:24:45]OFD Sender: No OFD packet to send [04:24:50]OFD Sender: No OFD packet to send [04:24:55]OFD Sender: No OFD packet to send [04:25:00]OFD Sender: No OFD packet to send [04:25:05]OFD Sender: No OFD packet to send [04:25:10]OFD Sender: No OFD packet to send [04:25:15]OFD Sender: No OFD packet to send [04:25:20]OFD Sender: No OFD packet to send [04:25:25]OFD Sender: No OFD packet to send [04:25:30]OFD Sender: No OFD packet to send [04:25:35]OFD Sender: No OFD packet to send [04:25:40]OFD Sender: No OFD packet to send [04:25:45]OFD Sender: No OFD packet to send [04:25:50]OFD Sender: No OFD packet to send [04:25:55]OFD Sender: No OFD packet to send [04:26:00]OFD Sender: No OFD packet to send [04:26:05]OFD Sender: No OFD packet to send [04:26:10]OFD Sender: No OFD packet to send [04:26:15]OFD Sender: No OFD packet to send [04:26:20]OFD Sender: No OFD packet to send [04:26:25]OFD Sender: No OFD packet to send [04:26:30]OFD Sender: No OFD packet to send [04:26:35]OFD Sender: No OFD packet to send [04:26:40]OFD Sender: No OFD packet to send [04:26:45]OFD Sender: No OFD packet to send [04:26:50]OFD Sender: No OFD packet to send [04:26:55]OFD Sender: No OFD packet to send [04:27:00]OFD Sender: No OFD packet to send [04:27:05]OFD Sender: No OFD packet to send [04:27:10]OFD Sender: No OFD packet to send [04:27:15]OFD Sender: No OFD packet to send [04:27:20]OFD Sender: No OFD packet to send [04:27:25]OFD Sender: No OFD packet to send [04:27:30]OFD Sender: No OFD packet to send [04:27:35]OFD Sender: No OFD packet to send [04:27:40]OFD Sender: No OFD packet to send [04:27:45]OFD Sender: No OFD packet to send [04:27:50]OFD Sender: No OFD packet to send [04:27:55]OFD Sender: No OFD packet to send [04:28:00]OFD Sender: No OFD packet to send [04:28:05]OFD Sender: No OFD packet to send [04:28:10]OFD Sender: No OFD packet to send [04:28:15]OFD Sender: No OFD packet to send [04:28:20]OFD Sender: No OFD packet to send [04:28:25]OFD Sender: No OFD packet to send [04:28:30]OFD Sender: No OFD packet to send [04:28:35]OFD Sender: No OFD packet to send [04:28:40]OFD Sender: No OFD packet to send [04:28:45]OFD Sender: No OFD packet to send [04:28:50]OFD Sender: No OFD packet to send [04:28:55]OFD Sender: No OFD packet to send [04:29:00]OFD Sender: No OFD packet to send [04:29:05]OFD Sender: No OFD packet to send [04:29:10]OFD Sender: No OFD packet to send [04:29:15]OFD Sender: No OFD packet to send [04:29:20]OFD Sender: No OFD packet to send [04:29:25]OFD Sender: No OFD packet to send [04:29:30]OFD Sender: No OFD packet to send [04:29:35]OFD Sender: No OFD packet to send [04:29:40]OFD Sender: No OFD packet to send [04:29:45]OFD Sender: No OFD packet to send [04:29:50]OFD Sender: No OFD packet to send [04:29:55]OFD Sender: No OFD packet to send [04:30:00]OFD Sender: No OFD packet to send [04:30:05]OFD Sender: No OFD packet to send [04:30:10]OFD Sender: No OFD packet to send [04:30:15]OFD Sender: No OFD packet to send [04:30:20]OFD Sender: No OFD packet to send [04:30:25]OFD Sender: No OFD packet to send [04:30:30]OFD Sender: No OFD packet to send [04:30:35]OFD Sender: No OFD packet to send [04:30:40]OFD Sender: No OFD packet to send [04:30:45]OFD Sender: No OFD packet to send [04:30:50]OFD Sender: No OFD packet to send [04:30:55]OFD Sender: No OFD packet to send [04:31:00]OFD Sender: No OFD packet to send [04:31:05]OFD Sender: No OFD packet to send [04:31:10]OFD Sender: No OFD packet to send [04:31:15]OFD Sender: No OFD packet to send [04:31:20]OFD Sender: No OFD packet to send [04:31:25]OFD Sender: No OFD packet to send [04:31:30]OFD Sender: No OFD packet to send [04:31:35]OFD Sender: No OFD packet to send [04:31:40]OFD Sender: No OFD packet to send [04:31:45]OFD Sender: No OFD packet to send [04:31:50]OFD Sender: No OFD packet to send [04:31:55]OFD Sender: No OFD packet to send [04:32:00]OFD Sender: No OFD packet to send [04:32:05]OFD Sender: No OFD packet to send [04:32:10]OFD Sender: No OFD packet to send [04:32:15]OFD Sender: No OFD packet to send [04:32:20]OFD Sender: No OFD packet to send [04:32:25]OFD Sender: No OFD packet to send [04:32:30]OFD Sender: No OFD packet to send [04:32:35]OFD Sender: No OFD packet to send [04:32:40]OFD Sender: No OFD packet to send [04:32:45]OFD Sender: No OFD packet to send [04:32:50]OFD Sender: No OFD packet to send [04:32:55]OFD Sender: No OFD packet to send [04:33:00]OFD Sender: No OFD packet to send [04:33:05]OFD Sender: No OFD packet to send [04:33:10]OFD Sender: No OFD packet to send [04:33:15]OFD Sender: No OFD packet to send [04:33:20]OFD Sender: No OFD packet to send [04:33:25]OFD Sender: No OFD packet to send [04:33:30]OFD Sender: No OFD packet to send [04:33:35]OFD Sender: No OFD packet to send [04:33:40]OFD Sender: No OFD packet to send [04:33:45]OFD Sender: No OFD packet to send [04:33:50]OFD Sender: No OFD packet to send [04:33:55]OFD Sender: No OFD packet to send [04:34:00]OFD Sender: No OFD packet to send [04:34:05]OFD Sender: No OFD packet to send [04:34:10]OFD Sender: No OFD packet to send [04:34:15]OFD Sender: No OFD packet to send [04:34:20]OFD Sender: No OFD packet to send [04:34:25]OFD Sender: No OFD packet to send [04:34:30]OFD Sender: No OFD packet to send [04:34:35]OFD Sender: No OFD packet to send [04:34:40]OFD Sender: No OFD packet to send [04:34:45]OFD Sender: No OFD packet to send [04:34:50]OFD Sender: No OFD packet to send [04:34:55]OFD Sender: No OFD packet to send [04:35:00]OFD Sender: No OFD packet to send [04:35:05]OFD Sender: No OFD packet to send [04:35:10]OFD Sender: No OFD packet to send [04:35:15]OFD Sender: No OFD packet to send [04:35:20]OFD Sender: No OFD packet to send [04:35:25]OFD Sender: No OFD packet to send [04:35:30]OFD Sender: No OFD packet to send [04:35:35]OFD Sender: No OFD packet to send [04:35:40]OFD Sender: No OFD packet to send [04:35:45]OFD Sender: No OFD packet to send [04:35:50]OFD Sender: No OFD packet to send [04:35:55]OFD Sender: No OFD packet to send [04:36:00]OFD Sender: No OFD packet to send [04:36:05]OFD Sender: No OFD packet to send [04:36:10]OFD Sender: No OFD packet to send [04:36:15]OFD Sender: No OFD packet to send [04:36:20]OFD Sender: No OFD packet to send [04:36:25]OFD Sender: No OFD packet to send [04:36:30]OFD Sender: No OFD packet to send [04:36:35]OFD Sender: No OFD packet to send [04:36:40]OFD Sender: No OFD packet to send [04:36:45]OFD Sender: No OFD packet to send [04:36:50]OFD Sender: No OFD packet to send [04:36:55]OFD Sender: No OFD packet to send [04:37:00]OFD Sender: No OFD packet to send [04:37:05]OFD Sender: No OFD packet to send [04:37:10]OFD Sender: No OFD packet to send [04:37:15]OFD Sender: No OFD packet to send [04:37:20]OFD Sender: No OFD packet to send [04:37:25]OFD Sender: No OFD packet to send [04:37:30]OFD Sender: No OFD packet to send [04:37:35]OFD Sender: No OFD packet to send [04:37:40]OFD Sender: No OFD packet to send [04:37:45]OFD Sender: No OFD packet to send [04:37:50]OFD Sender: No OFD packet to send [04:37:55]OFD Sender: No OFD packet to send [04:38:00]OFD Sender: No OFD packet to send [04:38:05]OFD Sender: No OFD packet to send [04:38:10]OFD Sender: No OFD packet to send [04:38:15]OFD Sender: No OFD packet to send [04:38:20]OFD Sender: No OFD packet to send [04:38:25]OFD Sender: No OFD packet to send [04:38:30]OFD Sender: No OFD packet to send [04:38:35]OFD Sender: No OFD packet to send [04:38:40]OFD Sender: No OFD packet to send [04:38:45]OFD Sender: No OFD packet to send [04:38:50]OFD Sender: No OFD packet to send [04:38:55]OFD Sender: No OFD packet to send [04:39:00]OFD Sender: No OFD packet to send [04:39:05]OFD Sender: No OFD packet to send [04:39:10]OFD Sender: No OFD packet to send [04:39:15]OFD Sender: No OFD packet to send [04:39:20]OFD Sender: No OFD packet to send [04:39:25]OFD Sender: No OFD packet to send [04:39:30]OFD Sender: No OFD packet to send [04:39:35]OFD Sender: No OFD packet to send [04:39:40]OFD Sender: No OFD packet to send [04:39:45]OFD Sender: No OFD packet to send [04:39:50]OFD Sender: No OFD packet to send [04:39:55]OFD Sender: No OFD packet to send [04:40:00]OFD Sender: No OFD packet to send [04:40:05]OFD Sender: No OFD packet to send [04:40:10]OFD Sender: No OFD packet to send [04:40:15]OFD Sender: No OFD packet to send [04:40:20]OFD Sender: No OFD packet to send [04:40:25]OFD Sender: No OFD packet to send [04:40:30]OFD Sender: No OFD packet to send [04:40:35]OFD Sender: No OFD packet to send [04:40:40]OFD Sender: No OFD packet to send [04:40:45]OFD Sender: No OFD packet to send [04:40:50]OFD Sender: No OFD packet to send [04:40:55]OFD Sender: No OFD packet to send [04:41:00]OFD Sender: No OFD packet to send [04:41:05]OFD Sender: No OFD packet to send [04:41:10]OFD Sender: No OFD packet to send [04:41:15]OFD Sender: No OFD packet to send [04:41:20]OFD Sender: No OFD packet to send [04:41:25]OFD Sender: No OFD packet to send [04:41:30]OFD Sender: No OFD packet to send [04:41:35]OFD Sender: No OFD packet to send [04:41:40]OFD Sender: No OFD packet to send [04:41:45]OFD Sender: No OFD packet to send [04:41:50]OFD Sender: No OFD packet to send [04:41:55]OFD Sender: No OFD packet to send [04:42:00]OFD Sender: No OFD packet to send [04:42:05]OFD Sender: No OFD packet to send [04:42:10]OFD Sender: No OFD packet to send [04:42:15]OFD Sender: No OFD packet to send [04:42:20]OFD Sender: No OFD packet to send [04:42:25]OFD Sender: No OFD packet to send [04:42:30]OFD Sender: No OFD packet to send [04:42:35]OFD Sender: No OFD packet to send [04:42:40]OFD Sender: No OFD packet to send [04:42:45]OFD Sender: No OFD packet to send [04:42:50]OFD Sender: No OFD packet to send [04:42:56]OFD Sender: No OFD packet to send [04:43:01]OFD Sender: No OFD packet to send [04:43:06]OFD Sender: No OFD packet to send [04:43:11]OFD Sender: No OFD packet to send [04:43:16]OFD Sender: No OFD packet to send [04:43:21]OFD Sender: No OFD packet to send [04:43:26]OFD Sender: No OFD packet to send [04:43:31]OFD Sender: No OFD packet to send [04:43:36]OFD Sender: No OFD packet to send [04:43:41]OFD Sender: No OFD packet to send [04:43:46]OFD Sender: No OFD packet to send [04:43:51]OFD Sender: No OFD packet to send [04:43:56]OFD Sender: No OFD packet to send [04:44:01]OFD Sender: No OFD packet to send [04:44:06]OFD Sender: No OFD packet to send [04:44:11]OFD Sender: No OFD packet to send [04:44:16]OFD Sender: No OFD packet to send [04:44:21]OFD Sender: No OFD packet to send [04:44:26]OFD Sender: No OFD packet to send [04:44:31]OFD Sender: No OFD packet to send [04:44:36]OFD Sender: No OFD packet to send [04:44:41]OFD Sender: No OFD packet to send [04:44:46]OFD Sender: No OFD packet to send [04:44:51]OFD Sender: No OFD packet to send [04:44:56]OFD Sender: No OFD packet to send [04:45:01]OFD Sender: No OFD packet to send [04:45:06]OFD Sender: No OFD packet to send [04:45:11]OFD Sender: No OFD packet to send [04:45:16]OFD Sender: No OFD packet to send [04:45:21]OFD Sender: No OFD packet to send [04:45:26]OFD Sender: No OFD packet to send [04:45:31]OFD Sender: No OFD packet to send [04:45:36]OFD Sender: No OFD packet to send [04:45:41]OFD Sender: No OFD packet to send [04:45:46]OFD Sender: No OFD packet to send [04:45:51]OFD Sender: No OFD packet to send [04:45:56]OFD Sender: No OFD packet to send [04:46:01]OFD Sender: No OFD packet to send [04:46:06]OFD Sender: No OFD packet to send [04:46:11]OFD Sender: No OFD packet to send [04:46:16]OFD Sender: No OFD packet to send [04:46:21]OFD Sender: No OFD packet to send [04:46:26]OFD Sender: No OFD packet to send [04:46:31]OFD Sender: No OFD packet to send [04:46:36]OFD Sender: No OFD packet to send [04:46:41]OFD Sender: No OFD packet to send [04:46:46]OFD Sender: No OFD packet to send [04:46:51]OFD Sender: No OFD packet to send [04:46:56]OFD Sender: No OFD packet to send [04:47:01]OFD Sender: No OFD packet to send [04:47:06]OFD Sender: No OFD packet to send [04:47:11]OFD Sender: No OFD packet to send [04:47:16]OFD Sender: No OFD packet to send [04:47:21]OFD Sender: No OFD packet to send [04:47:26]OFD Sender: No OFD packet to send [04:47:31]OFD Sender: No OFD packet to send [04:47:36]OFD Sender: No OFD packet to send [04:47:41]OFD Sender: No OFD packet to send [04:47:46]OFD Sender: No OFD packet to send [04:47:51]OFD Sender: No OFD packet to send [04:47:56]OFD Sender: No OFD packet to send [04:48:01]OFD Sender: No OFD packet to send [04:48:06]OFD Sender: No OFD packet to send [04:48:11]OFD Sender: No OFD packet to send [04:48:16]OFD Sender: No OFD packet to send [04:48:21]OFD Sender: No OFD packet to send [04:48:26]OFD Sender: No OFD packet to send [04:48:31]OFD Sender: No OFD packet to send [04:48:36]OFD Sender: No OFD packet to send [04:48:41]OFD Sender: No OFD packet to send [04:48:46]OFD Sender: No OFD packet to send [04:48:51]OFD Sender: No OFD packet to send [04:48:56]OFD Sender: No OFD packet to send [04:49:01]OFD Sender: No OFD packet to send [04:49:06]OFD Sender: No OFD packet to send [04:49:11]OFD Sender: No OFD packet to send [04:49:16]OFD Sender: No OFD packet to send [04:49:21]OFD Sender: No OFD packet to send [04:49:26]OFD Sender: No OFD packet to send [04:49:31]OFD Sender: No OFD packet to send [04:49:36]OFD Sender: No OFD packet to send [04:49:41]OFD Sender: No OFD packet to send [04:49:46]OFD Sender: No OFD packet to send [04:49:51]OFD Sender: No OFD packet to send [04:49:56]OFD Sender: No OFD packet to send [04:50:01]OFD Sender: No OFD packet to send [04:50:06]OFD Sender: No OFD packet to send [04:50:11]OFD Sender: No OFD packet to send [04:50:16]OFD Sender: No OFD packet to send [04:50:21]OFD Sender: No OFD packet to send [04:50:26]OFD Sender: No OFD packet to send [04:50:31]OFD Sender: No OFD packet to send [04:50:36]OFD Sender: No OFD packet to send [04:50:41]OFD Sender: No OFD packet to send [04:50:46]OFD Sender: No OFD packet to send [04:50:51]OFD Sender: No OFD packet to send [04:50:56]OFD Sender: No OFD packet to send [04:51:01]OFD Sender: No OFD packet to send [04:51:06]OFD Sender: No OFD packet to send [04:51:11]OFD Sender: No OFD packet to send [04:51:16]OFD Sender: No OFD packet to send [04:51:21]OFD Sender: No OFD packet to send [04:51:26]OFD Sender: No OFD packet to send [04:51:31]OFD Sender: No OFD packet to send [04:51:36]OFD Sender: No OFD packet to send [04:51:41]OFD Sender: No OFD packet to send [04:51:46]OFD Sender: No OFD packet to send [04:51:51]OFD Sender: No OFD packet to send [04:51:56]OFD Sender: No OFD packet to send [04:52:01]OFD Sender: No OFD packet to send [04:52:06]OFD Sender: No OFD packet to send [04:52:11]OFD Sender: No OFD packet to send [04:52:16]OFD Sender: No OFD packet to send [04:52:21]OFD Sender: No OFD packet to send [04:52:26]OFD Sender: No OFD packet to send [04:52:31]OFD Sender: No OFD packet to send [04:52:36]OFD Sender: No OFD packet to send [04:52:41]OFD Sender: No OFD packet to send [04:52:46]OFD Sender: No OFD packet to send [04:52:51]OFD Sender: No OFD packet to send [04:52:56]OFD Sender: No OFD packet to send [04:53:01]OFD Sender: No OFD packet to send [04:53:06]OFD Sender: No OFD packet to send [04:53:11]OFD Sender: No OFD packet to send [04:53:16]OFD Sender: No OFD packet to send [04:53:21]OFD Sender: No OFD packet to send [04:53:26]OFD Sender: No OFD packet to send [04:53:31]OFD Sender: No OFD packet to send [04:53:36]OFD Sender: No OFD packet to send [04:53:41]OFD Sender: No OFD packet to send [04:53:46]OFD Sender: No OFD packet to send [04:53:51]OFD Sender: No OFD packet to send [04:53:56]OFD Sender: No OFD packet to send [04:54:01]OFD Sender: No OFD packet to send [04:54:06]OFD Sender: No OFD packet to send [04:54:11]OFD Sender: No OFD packet to send [04:54:16]OFD Sender: No OFD packet to send [04:54:21]OFD Sender: No OFD packet to send [04:54:26]OFD Sender: No OFD packet to send [04:54:31]OFD Sender: No OFD packet to send [04:54:36]OFD Sender: No OFD packet to send [04:54:41]OFD Sender: No OFD packet to send [04:54:46]OFD Sender: No OFD packet to send [04:54:51]OFD Sender: No OFD packet to send [04:54:56]OFD Sender: No OFD packet to send [04:55:01]OFD Sender: No OFD packet to send [04:55:06]OFD Sender: No OFD packet to send [04:55:11]OFD Sender: No OFD packet to send [04:55:16]OFD Sender: No OFD packet to send [04:55:21]OFD Sender: No OFD packet to send [04:55:26]OFD Sender: No OFD packet to send [04:55:31]OFD Sender: No OFD packet to send [04:55:36]OFD Sender: No OFD packet to send [04:55:41]OFD Sender: No OFD packet to send [04:55:46]OFD Sender: No OFD packet to send [04:55:51]OFD Sender: No OFD packet to send [04:55:56]OFD Sender: No OFD packet to send [04:56:01]OFD Sender: No OFD packet to send [04:56:06]OFD Sender: No OFD packet to send [04:56:11]OFD Sender: No OFD packet to send [04:56:16]OFD Sender: No OFD packet to send [04:56:21]OFD Sender: No OFD packet to send [04:56:26]OFD Sender: No OFD packet to send [04:56:31]OFD Sender: No OFD packet to send [04:56:36]OFD Sender: No OFD packet to send [04:56:41]OFD Sender: No OFD packet to send [04:56:46]OFD Sender: No OFD packet to send [04:56:51]OFD Sender: No OFD packet to send [04:56:56]OFD Sender: No OFD packet to send [04:57:01]OFD Sender: No OFD packet to send [04:57:06]OFD Sender: No OFD packet to send [04:57:11]OFD Sender: No OFD packet to send [04:57:16]OFD Sender: No OFD packet to send [04:57:21]OFD Sender: No OFD packet to send [04:57:26]OFD Sender: No OFD packet to send [04:57:31]OFD Sender: No OFD packet to send [04:57:36]OFD Sender: No OFD packet to send [04:57:41]OFD Sender: No OFD packet to send [04:57:46]OFD Sender: No OFD packet to send [04:57:51]OFD Sender: No OFD packet to send [04:57:56]OFD Sender: No OFD packet to send [04:58:01]OFD Sender: No OFD packet to send [04:58:06]OFD Sender: No OFD packet to send [04:58:11]OFD Sender: No OFD packet to send [04:58:16]OFD Sender: No OFD packet to send [04:58:21]OFD Sender: No OFD packet to send [04:58:26]OFD Sender: No OFD packet to send [04:58:31]OFD Sender: No OFD packet to send [04:58:36]OFD Sender: No OFD packet to send [04:58:41]OFD Sender: No OFD packet to send [04:58:46]OFD Sender: No OFD packet to send [04:58:51]OFD Sender: No OFD packet to send [04:58:56]OFD Sender: No OFD packet to send [04:59:01]OFD Sender: No OFD packet to send [04:59:06]OFD Sender: No OFD packet to send [04:59:11]OFD Sender: No OFD packet to send [04:59:16]OFD Sender: No OFD packet to send [04:59:21]OFD Sender: No OFD packet to send [04:59:26]OFD Sender: No OFD packet to send [04:59:31]OFD Sender: No OFD packet to send [04:59:36]OFD Sender: No OFD packet to send [04:59:41]OFD Sender: No OFD packet to send [04:59:46]OFD Sender: No OFD packet to send [04:59:51]OFD Sender: No OFD packet to send [04:59:56]OFD Sender: No OFD packet to send [05:00:01]OFD Sender: No OFD packet to send [05:00:06]OFD Sender: No OFD packet to send [05:00:11]OFD Sender: No OFD packet to send [05:00:16]OFD Sender: No OFD packet to send [05:00:21]OFD Sender: No OFD packet to send [05:00:26]OFD Sender: No OFD packet to send [05:00:31]OFD Sender: No OFD packet to send [05:00:36]OFD Sender: No OFD packet to send [05:00:41]OFD Sender: No OFD packet to send [05:00:46]OFD Sender: No OFD packet to send [05:00:51]OFD Sender: No OFD packet to send [05:00:56]OFD Sender: No OFD packet to send [05:01:01]OFD Sender: No OFD packet to send [05:01:06]OFD Sender: No OFD packet to send [05:01:11]OFD Sender: No OFD packet to send [05:01:16]OFD Sender: No OFD packet to send [05:01:21]OFD Sender: No OFD packet to send [05:01:26]OFD Sender: No OFD packet to send [05:01:31]OFD Sender: No OFD packet to send [05:01:36]OFD Sender: No OFD packet to send [05:01:41]OFD Sender: No OFD packet to send [05:01:46]OFD Sender: No OFD packet to send [05:01:51]OFD Sender: No OFD packet to send [05:01:56]OFD Sender: No OFD packet to send [05:02:01]OFD Sender: No OFD packet to send [05:02:06]OFD Sender: No OFD packet to send [05:02:11]OFD Sender: No OFD packet to send [05:02:16]OFD Sender: No OFD packet to send [05:02:21]OFD Sender: No OFD packet to send [05:02:26]OFD Sender: No OFD packet to send [05:02:31]OFD Sender: No OFD packet to send [05:02:36]OFD Sender: No OFD packet to send [05:02:41]OFD Sender: No OFD packet to send [05:02:46]OFD Sender: No OFD packet to send [05:02:51]OFD Sender: No OFD packet to send [05:02:56]OFD Sender: No OFD packet to send [05:03:01]OFD Sender: No OFD packet to send [05:03:06]OFD Sender: No OFD packet to send [05:03:11]OFD Sender: No OFD packet to send [05:03:16]OFD Sender: No OFD packet to send [05:03:21]OFD Sender: No OFD packet to send [05:03:26]OFD Sender: No OFD packet to send [05:03:31]OFD Sender: No OFD packet to send [05:03:36]OFD Sender: No OFD packet to send [05:03:41]OFD Sender: No OFD packet to send [05:03:46]OFD Sender: No OFD packet to send [05:03:51]OFD Sender: No OFD packet to send [05:03:56]OFD Sender: No OFD packet to send [05:04:01]OFD Sender: No OFD packet to send [05:04:06]OFD Sender: No OFD packet to send [05:04:11]OFD Sender: No OFD packet to send [05:04:16]OFD Sender: No OFD packet to send [05:04:21]OFD Sender: No OFD packet to send [05:04:27]OFD Sender: No OFD packet to send [05:04:32]OFD Sender: No OFD packet to send [05:04:37]OFD Sender: No OFD packet to send [05:04:42]OFD Sender: No OFD packet to send [05:04:47]OFD Sender: No OFD packet to send [05:04:52]OFD Sender: No OFD packet to send [05:04:57]OFD Sender: No OFD packet to send [05:05:02]OFD Sender: No OFD packet to send [05:05:07]OFD Sender: No OFD packet to send [05:05:12]OFD Sender: No OFD packet to send [05:05:17]OFD Sender: No OFD packet to send [05:05:22]OFD Sender: No OFD packet to send [05:05:27]OFD Sender: No OFD packet to send [05:05:32]OFD Sender: No OFD packet to send [05:05:37]OFD Sender: No OFD packet to send [05:05:42]OFD Sender: No OFD packet to send [05:05:47]OFD Sender: No OFD packet to send [05:05:52]OFD Sender: No OFD packet to send [05:05:57]OFD Sender: No OFD packet to send [05:06:02]OFD Sender: No OFD packet to send [05:06:07]OFD Sender: No OFD packet to send [05:06:12]OFD Sender: No OFD packet to send [05:06:17]OFD Sender: No OFD packet to send [05:06:22]OFD Sender: No OFD packet to send [05:06:27]OFD Sender: No OFD packet to send [05:06:32]OFD Sender: No OFD packet to send [05:06:37]OFD Sender: No OFD packet to send [05:06:42]OFD Sender: No OFD packet to send [05:06:47]OFD Sender: No OFD packet to send [05:06:52]OFD Sender: No OFD packet to send [05:06:57]OFD Sender: No OFD packet to send [05:07:02]OFD Sender: No OFD packet to send [05:07:07]OFD Sender: No OFD packet to send [05:07:12]OFD Sender: No OFD packet to send [05:07:17]OFD Sender: No OFD packet to send [05:07:22]OFD Sender: No OFD packet to send [05:07:27]OFD Sender: No OFD packet to send [05:07:32]OFD Sender: No OFD packet to send [05:07:37]OFD Sender: No OFD packet to send [05:07:42]OFD Sender: No OFD packet to send [05:07:47]OFD Sender: No OFD packet to send [05:07:52]OFD Sender: No OFD packet to send [05:07:57]OFD Sender: No OFD packet to send [05:08:02]OFD Sender: No OFD packet to send [05:08:07]OFD Sender: No OFD packet to send [05:08:12]OFD Sender: No OFD packet to send [05:08:17]OFD Sender: No OFD packet to send [05:08:22]OFD Sender: No OFD packet to send [05:08:27]OFD Sender: No OFD packet to send [05:08:32]OFD Sender: No OFD packet to send [05:08:37]OFD Sender: No OFD packet to send [05:08:42]OFD Sender: No OFD packet to send [05:08:47]OFD Sender: No OFD packet to send [05:08:52]OFD Sender: No OFD packet to send [05:08:57]OFD Sender: No OFD packet to send [05:09:02]OFD Sender: No OFD packet to send [05:09:07]OFD Sender: No OFD packet to send [05:09:12]OFD Sender: No OFD packet to send [05:09:17]OFD Sender: No OFD packet to send [05:09:22]OFD Sender: No OFD packet to send [05:09:27]OFD Sender: No OFD packet to send [05:09:32]OFD Sender: No OFD packet to send [05:09:37]OFD Sender: No OFD packet to send [05:09:42]OFD Sender: No OFD packet to send [05:09:47]OFD Sender: No OFD packet to send [05:09:52]OFD Sender: No OFD packet to send [05:09:57]OFD Sender: No OFD packet to send [05:10:02]OFD Sender: No OFD packet to send [05:10:07]OFD Sender: No OFD packet to send [05:10:12]OFD Sender: No OFD packet to send [05:10:17]OFD Sender: No OFD packet to send [05:10:22]OFD Sender: No OFD packet to send [05:10:27]OFD Sender: No OFD packet to send [05:10:32]OFD Sender: No OFD packet to send [05:10:37]OFD Sender: No OFD packet to send [05:10:42]OFD Sender: No OFD packet to send [05:10:47]OFD Sender: No OFD packet to send [05:10:52]OFD Sender: No OFD packet to send [05:10:57]OFD Sender: No OFD packet to send [05:11:02]OFD Sender: No OFD packet to send [05:11:07]OFD Sender: No OFD packet to send [05:11:12]OFD Sender: No OFD packet to send [05:11:17]OFD Sender: No OFD packet to send [05:11:22]OFD Sender: No OFD packet to send [05:11:27]OFD Sender: No OFD packet to send [05:11:32]OFD Sender: No OFD packet to send [05:11:37]OFD Sender: No OFD packet to send [05:11:42]OFD Sender: No OFD packet to send [05:11:47]OFD Sender: No OFD packet to send [05:11:52]OFD Sender: No OFD packet to send [05:11:57]OFD Sender: No OFD packet to send [05:12:02]OFD Sender: No OFD packet to send [05:12:07]OFD Sender: No OFD packet to send [05:12:12]OFD Sender: No OFD packet to send [05:12:17]OFD Sender: No OFD packet to send [05:12:22]OFD Sender: No OFD packet to send [05:12:27]OFD Sender: No OFD packet to send [05:12:32]OFD Sender: No OFD packet to send [05:12:37]OFD Sender: No OFD packet to send [05:12:42]OFD Sender: No OFD packet to send [05:12:47]OFD Sender: No OFD packet to send [05:12:52]OFD Sender: No OFD packet to send [05:12:57]OFD Sender: No OFD packet to send [05:13:02]OFD Sender: No OFD packet to send [05:13:07]OFD Sender: No OFD packet to send [05:13:12]OFD Sender: No OFD packet to send [05:13:17]OFD Sender: No OFD packet to send [05:13:22]OFD Sender: No OFD packet to send [05:13:27]OFD Sender: No OFD packet to send [05:13:32]OFD Sender: No OFD packet to send [05:13:37]OFD Sender: No OFD packet to send [05:13:42]OFD Sender: No OFD packet to send [05:13:47]OFD Sender: No OFD packet to send [05:13:52]OFD Sender: No OFD packet to send [05:13:57]OFD Sender: No OFD packet to send [05:14:02]OFD Sender: No OFD packet to send [05:14:07]OFD Sender: No OFD packet to send [05:14:12]OFD Sender: No OFD packet to send [05:14:17]OFD Sender: No OFD packet to send [05:14:22]OFD Sender: No OFD packet to send [05:14:27]OFD Sender: No OFD packet to send [05:14:32]OFD Sender: No OFD packet to send [05:14:37]OFD Sender: No OFD packet to send [05:14:42]OFD Sender: No OFD packet to send [05:14:47]OFD Sender: No OFD packet to send [05:14:52]OFD Sender: No OFD packet to send [05:14:57]OFD Sender: No OFD packet to send [05:15:02]OFD Sender: No OFD packet to send [05:15:07]OFD Sender: No OFD packet to send [05:15:12]OFD Sender: No OFD packet to send [05:15:17]OFD Sender: No OFD packet to send [05:15:22]OFD Sender: No OFD packet to send [05:15:27]OFD Sender: No OFD packet to send [05:15:32]OFD Sender: No OFD packet to send [05:15:37]OFD Sender: No OFD packet to send [05:15:42]OFD Sender: No OFD packet to send [05:15:47]OFD Sender: No OFD packet to send [05:15:52]OFD Sender: No OFD packet to send [05:15:57]OFD Sender: No OFD packet to send [05:16:02]OFD Sender: No OFD packet to send [05:16:07]OFD Sender: No OFD packet to send [05:16:12]OFD Sender: No OFD packet to send [05:16:17]OFD Sender: No OFD packet to send [05:16:22]OFD Sender: No OFD packet to send [05:16:27]OFD Sender: No OFD packet to send [05:16:32]OFD Sender: No OFD packet to send [05:16:37]OFD Sender: No OFD packet to send [05:16:42]OFD Sender: No OFD packet to send [05:16:47]OFD Sender: No OFD packet to send [05:16:52]OFD Sender: No OFD packet to send [05:16:57]OFD Sender: No OFD packet to send [05:17:02]OFD Sender: No OFD packet to send [05:17:07]OFD Sender: No OFD packet to send [05:17:12]OFD Sender: No OFD packet to send [05:17:17]OFD Sender: No OFD packet to send [05:17:22]OFD Sender: No OFD packet to send [05:17:27]OFD Sender: No OFD packet to send [05:17:32]OFD Sender: No OFD packet to send [05:17:37]OFD Sender: No OFD packet to send [05:17:42]OFD Sender: No OFD packet to send [05:17:47]OFD Sender: No OFD packet to send [05:17:52]OFD Sender: No OFD packet to send [05:17:57]OFD Sender: No OFD packet to send [05:18:02]OFD Sender: No OFD packet to send [05:18:07]OFD Sender: No OFD packet to send [05:18:12]OFD Sender: No OFD packet to send [05:18:17]OFD Sender: No OFD packet to send [05:18:22]OFD Sender: No OFD packet to send [05:18:27]OFD Sender: No OFD packet to send [05:18:32]OFD Sender: No OFD packet to send [05:18:37]OFD Sender: No OFD packet to send [05:18:42]OFD Sender: No OFD packet to send [05:18:47]OFD Sender: No OFD packet to send [05:18:52]OFD Sender: No OFD packet to send [05:18:57]OFD Sender: No OFD packet to send [05:19:02]OFD Sender: No OFD packet to send [05:19:07]OFD Sender: No OFD packet to send [05:19:12]OFD Sender: No OFD packet to send [05:19:17]OFD Sender: No OFD packet to send [05:19:22]OFD Sender: No OFD packet to send [05:19:27]OFD Sender: No OFD packet to send [05:19:32]OFD Sender: No OFD packet to send [05:19:37]OFD Sender: No OFD packet to send [05:19:42]OFD Sender: No OFD packet to send [05:19:47]OFD Sender: No OFD packet to send [05:19:52]OFD Sender: No OFD packet to send [05:19:57]OFD Sender: No OFD packet to send [05:20:02]OFD Sender: No OFD packet to send [05:20:07]OFD Sender: No OFD packet to send [05:20:12]OFD Sender: No OFD packet to send [05:20:17]OFD Sender: No OFD packet to send [05:20:22]OFD Sender: No OFD packet to send [05:20:27]OFD Sender: No OFD packet to send [05:20:32]OFD Sender: No OFD packet to send [05:20:37]OFD Sender: No OFD packet to send [05:20:42]OFD Sender: No OFD packet to send [05:20:47]OFD Sender: No OFD packet to send [05:20:52]OFD Sender: No OFD packet to send [05:20:57]OFD Sender: No OFD packet to send [05:21:02]OFD Sender: No OFD packet to send [05:21:07]OFD Sender: No OFD packet to send [05:21:12]OFD Sender: No OFD packet to send [05:21:17]OFD Sender: No OFD packet to send [05:21:22]OFD Sender: No OFD packet to send [05:21:27]OFD Sender: No OFD packet to send [05:21:32]OFD Sender: No OFD packet to send [05:21:37]OFD Sender: No OFD packet to send [05:21:42]OFD Sender: No OFD packet to send [05:21:47]OFD Sender: No OFD packet to send [05:21:52]OFD Sender: No OFD packet to send [05:21:57]OFD Sender: No OFD packet to send [05:22:02]OFD Sender: No OFD packet to send [05:22:04]accept exits with 8 [05:22:04]New connection [05:22:04]New thread 3066903908 created [05:22:04]Thread 3067047268 joined [05:22:04]Waiting for new connection... [05:22:04] Sock 8.Parse request [05:22:04]Sock 8.Check first char [05:22:04]Sock 8.First char is OK [05:22:04]request: POST /json_proto HTTP/1.0 [05:22:04]Method: POST [05:22:04]URL: /json_proto [05:22:04]Method is POST - this is cgi request [05:22:04]url: /json_proto [05:22:04]query_string will be loaded in cgi processing [05:22:04]execute_cgi json_proto POST (null) [05:22:04]execute_cgi path=json_proto method=POST [05:22:04]POST find Content-Length [05:22:04]Host: 172.17.62.196:8080 [05:22:04]Content-Length: 639 [05:22:04]Content-Type: application/json [05:22:04] [05:22:04]POST finish read [05:22:04]Found Content-Length = 639 [05:22:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16844", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u043F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,07", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:22:04]execute_script... [05:22:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16844", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u043F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,07", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:22:04]POST & json_proto [05:22:04]process_json_proto [05:22:04]json parsed OK: [05:22:04]protocol is kg_v1.0 [05:22:04]action value=close_receipt [05:22:04]process_action close_receipt [05:22:04]cmd_close_receipt [05:22:04]MH_GetDate [05:22:04]Write to MH i2c: F0 00 00 08 14 0B [05:22:04]Write i2c OK [05:22:04]MH_I2C_Read... [05:22:04]Read from MH i2c: F0 [05:22:04]MH_I2C_Read... [05:22:04]Read from MH i2c: F0 09 00 [05:22:04]MH_I2C_Read... [05:22:04]Read from MH i2c: F0 09 00 08 14 00 00 9E F3 66 CE CC 0E 66 19 [05:22:04]GetLastDocTimeStamp 1727228993 [05:22:04]current date 1727241728 [05:22:04]FM_GetShiftState [05:22:04]SAM_PROTO_GetShiftState [05:22:04]wFMCommunicate request_size=4 [05:22:04]MH_SAM_APDU [05:22:04]CAPDU: 80 13 01 00 [05:22:04]Write to MH i2c: E2 08 00 09 14 80 13 01 00 00 00 00 00 9A [05:22:04]Write i2c OK [05:22:04]MH_I2C_Read... [05:22:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:22:04]Read from MH i2c: E2 [05:22:04]MH_I2C_Read... [05:22:04]Read from MH i2c: E2 0E 00 [05:22:04]MH_I2C_Read... [05:22:04]Read from MH i2c: E2 0E 00 09 14 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 87 [05:22:04]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [05:22:04]wFMCommunicate OK [05:22:04]SAM_PROTO_GetShiftState done [05:22:04]FM_GetShiftState done [05:22:04]opened in 1727223091 [05:22:04]opened+sec_in_day 1727309491 [05:22:04]quantity*price = 5000 [05:22:04]sum+1 = 5001 [05:22:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 3 25.09.2024 05:22 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18925 ФПД: 45957217013743 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T052208&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18925&fm=45957217013743&tin=02508201610067®Number=0000000000152968&sum=5000 0 [05:22:05]StoreToDocumentArchive [05:22:05]shift 183 fd 18925 [05:22:05]save to /storage/0183/doc_00018925 [05:22:05]save last doc name /storage/0183/doc_00018925 to /storage/kkm_last_doc_name [05:22:05]save OK [05:22:05]Clear old archive folders... [05:22:05]ProcessDocumentItem done err = 0, tmpTLVsize=271 [05:22:05]tlvbuf is 01899700 [05:22:05]SAM_PROTO_ClearQueue [05:22:05]wFMCommunicate request_size=4 [05:22:05]MH_SAM_APDU [05:22:05]CAPDU: 80 09 00 00 [05:22:05]Write to MH i2c: E2 08 00 16 14 80 09 00 00 00 00 00 00 9C [05:22:05]Write i2c OK [05:22:05]MH_I2C_Read... [05:22:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:22:05]Read from MH i2c: E2 [05:22:05]MH_I2C_Read... [05:22:05]Read from MH i2c: E2 03 00 [05:22:05]MH_I2C_Read... [05:22:05]Read from MH i2c: E2 03 00 16 14 00 90 00 9E [05:22:05]RAPDU: 90 00 [05:22:05]wFMCommunicate OK [05:22:05]SAM_PROTO_ClearQueue done [05:22:05]KKMCreateOFDPacket [05:22:05]OFDProtocolAddRootSTLVToBuf [05:22:05]FM_MakeSignedData [05:22:05]FM_MakeSignedData [05:22:05]SAM_PROTO_SignData [05:22:05]wFMCommunicate request_size=4 [05:22:05]MH_SAM_APDU [05:22:05]CAPDU: 80 0D 01 02 [05:22:05]Write to MH i2c: E2 08 00 17 14 80 0D 01 02 00 00 00 00 A4 [05:22:05]Write i2c OK [05:22:05]MH_I2C_Read... [05:22:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:22:05]Read from MH i2c: E2 [05:22:05]MH_I2C_Read... [05:22:05]Read from MH i2c: E2 03 00 [05:22:05]MH_I2C_Read... [05:22:05]Read from MH i2c: E2 03 00 17 14 00 90 00 9F [05:22:05]RAPDU: 90 00 [05:22:05]wFMCommunicate OK [05:22:05]wFMCommunicate request_size=255 [05:22:05]MH_SAM_APDU [05:22:05]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 BF D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 30 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 00 9E F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [05:22:05]Write to MH i2c: E2 02 01 18 14 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 BF D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 30 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 00 9E F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 6B [05:22:05]Write i2c OK [05:22:05]MH_I2C_Read... [05:22:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:22:05]Read from MH i2c: E2 [05:22:05]MH_I2C_Read... [05:22:05]Read from MH i2c: E2 03 00 [05:22:05]MH_I2C_Read... [05:22:05]Read from MH i2c: E2 03 00 18 14 00 90 00 A0 [05:22:05]RAPDU: 90 00 [05:22:05]wFMCommunicate OK [05:22:05]wFMCommunicate request_size=30 [05:22:05]MH_SAM_APDU [05:22:05]CAPDU: 80 0D 02 02 19 30 39 35 39 34 35 36 10 04 04 00 ED 49 00 00 35 04 06 00 29 CC 3F 98 4F EF [05:22:05]Write to MH i2c: E2 21 00 19 14 80 0D 02 02 19 00 30 39 35 39 34 35 36 10 04 04 00 ED 49 00 00 35 04 06 00 29 CC 3F 98 4F EF 00 00 E6 [05:22:05]Write i2c OK [05:22:05]MH_I2C_Read... [05:22:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:22:05]Read from MH i2c: E2 [05:22:05]MH_I2C_Read... [05:22:05]Read from MH i2c: E2 03 00 [05:22:05]MH_I2C_Read... [05:22:05]Read from MH i2c: E2 03 00 19 14 00 90 00 A1 [05:22:05]RAPDU: 90 00 [05:22:05]wFMCommunicate OK [05:22:05]wFMCommunicate request_size=4 [05:22:05]MH_SAM_APDU [05:22:05]CAPDU: 80 0D 03 02 [05:22:05]Write to MH i2c: E2 08 00 1A 14 80 0D 03 02 00 00 00 00 A9 [05:22:05]Write i2c OK [05:22:05]MH_I2C_Read... [05:22:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:22:05]Read from MH i2c: E2 [05:22:05]MH_I2C_Read... [05:22:05]Read from MH i2c: E2 0B 00 [05:22:05]MH_I2C_Read... [05:22:05]Read from MH i2c: E2 0B 00 1A 14 00 B9 E8 0A 60 E8 21 9D 7A 90 00 D5 [05:22:05]RAPDU: B9 E8 0A 60 E8 21 9D 7A 90 00 [05:22:05]wFMCommunicate OK [05:22:05]SAM_PROTO_SignData done [05:22:05]FM_MakeSignedData done [05:22:05]CreateOFDProtocolMessage [05:22:05]wFMCommunicate request_size=4 [05:22:05]MH_SAM_APDU [05:22:05]CAPDU: 80 11 00 00 [05:22:05]Write to MH i2c: E2 08 00 1B 14 80 11 00 00 00 00 00 00 A9 [05:22:05]Write i2c OK [05:22:05]MH_I2C_Read... [05:22:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:22:05]Read from MH i2c: E2 [05:22:05]MH_I2C_Read... [05:22:05]Read from MH i2c: E2 17 00 [05:22:05]MH_I2C_Read... [05:22:05]Read from MH i2c: E2 17 00 1B 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 02 [05:22:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [05:22:05]wFMCommunicate OK [05:22:05]CreateOFDProtocolMessage done [05:22:05]OFDSenderStorePacket 18925 [05:22:05]StoreOFDPacket docnum=18925 [05:22:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 23 01 00 00 6A 22 1B 01 85 73 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 BF D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 30 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 00 9E F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 ED 49 00 00 35 04 06 00 29 CC 3F 98 4F EF B9 E8 0A 60 E8 21 9D 7A [05:22:05]CheckFolder [05:22:05]dirname=/storage/ofd_packets [05:22:05]CheckFolder done [05:22:05]ProducePacketName [05:22:05]name=ofd_packets/00018925 [05:22:05]NVStorageSaveData ofd_packets/00018925 [05:22:05]File name is /storage/ofd_packets/00018925 [05:22:05]Write 321 bytes [05:22:05]NVStorageSaveData done [05:22:05]OFDSenderStorePacket done [05:22:05]KKMCreateOFDPacket done [05:22:05]NVStorageSaveData kkm_last_timestamp [05:22:05]File name is /storage/kkm_last_timestamp [05:22:05]Write 4 bytes [05:22:05]NVStorageSaveData done [05:22:05]ExternCall_PrintAddStr [05:22:05]wPrintStart [05:22:05]Write to MH i2c: 01 00 00 1C 14 30 [05:22:05]Write i2c OK [05:22:05]MH_I2C_Read... [05:22:05]Read from MH i2c: 01 [05:22:05]MH_I2C_Read... [05:22:05]Read from MH i2c: 01 07 00 [05:22:05]MH_I2C_Read... [05:22:05]Read from MH i2c: 01 07 00 1C 14 00 00 00 00 00 FF 0F 45 [05:22:05]RasterBufferAndPrint [05:22:05]line Счет N : (3)16844 [05:22:05]line ИНН: 02508201610067 [05:22:05]line Контрольно-Кассовый Чек [05:22:05]line ПРОДАЖА [05:22:05]line Товар: 47011656 [05:22:05]line Водка пшеничная 0,07 [05:22:05]line 1.000 * 50.00 [05:22:05]line = 50.00 [05:22:05]line НДС 12% НСП 1% [05:22:05]line > о реализуемом товаре [05:22:05]line ИТОГО: 50.00 [05:22:05]line НСП 1% : 0.44 [05:22:05]line НДС 12% : 5.31 [05:22:05]line Наличными: 50.00 [05:22:05]line Безнал.: 0.00 [05:22:05]line Место: АЗС № 176 "Партнер Нефть" [05:22:05]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [05:22:05]line СНО: Общий режим [05:22:05]line Чек 3 25.09.2024 05:22 [05:22:05]line Смена: 183 ФФД: 1.0 [05:22:05]line ЗНМ: 0300000010 [05:22:05]line РНМ: 0000000000152968 [05:22:05]line Версия ККМ: v1.0 [05:22:05]line ФМ: 0000000000959456 [05:22:05]line ФД: 18925 [05:22:05]line ФПД: 45957217013743 [05:22:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T052208&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18925&fm=45957217013743&tin=02508201610067®Number=0000000000152968&sum=5000 [05:22:06]line 0 [05:22:06]OFD Sender: Processing packet 18925 [packets to send 7, broken 6] [05:22:06]ProducePacketName [05:22:06]name=ofd_packets/00018925 [05:22:06]OFD Sender: To server: pG, [05:22:06]CommunicateWithHost lk.salyk.kg:30040 [05:22:06]ConnectInit lk.salyk.kg [05:22:06]written 0, free lines is 4095 [05:22:06]Connected sock=9 [05:22:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 23 01 00 00 6A 22 1B 01 85 73 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 BF D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 30 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 00 9E F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 ED 49 00 00 35 04 06 00 29 CC 3F 98 4F EF B9 E8 0A 60 E8 21 9D 7A [05:22:06]Write to MH i2c: 01 00 00 44 14 58 [05:22:06]Write i2c OK [05:22:06]MH_I2C_Read... [05:22:06]Read from MH i2c: 01 [05:22:06]MH_I2C_Read... [05:22:06]Read from MH i2c: 01 07 00 [05:22:06]MH_I2C_Read... [05:22:06]Read from MH i2c: 01 07 00 44 14 00 00 00 00 00 08 0D 74 [05:22:06]RasterBufferAndPrint [05:22:06]line [05:22:06]line [05:22:06]line [05:22:06]line [05:22:06]line [05:22:06]written 0, free lines is 3343 [05:22:06]MH_Cut [05:22:06]Write to MH i2c: D1 01 00 4B 14 01 31 [05:22:06]Write i2c OK [05:22:06]MH_I2C_Read... [05:22:06]Read from MH i2c: D1 [05:22:06]MH_I2C_Read... [05:22:06]Read from MH i2c: D1 01 00 [05:22:06]MH_I2C_Read... [05:22:06]Read from MH i2c: D1 01 00 4B 14 00 30 [05:22:06]Write to MH i2c: 01 00 00 4C 14 60 [05:22:06]Write i2c OK [05:22:06]MH_I2C_Read... [05:22:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 5B C3 47 00 48 08 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 ED 49 00 00 F4 03 04 00 5F 47 F3 66 B6 04 01 00 00 D8 99 04 03 E0 A9 E2 3E [05:22:06]CommunicateWithHost err = 0 [05:22:06]CheckOFDResponse [05:22:06]1017 (14) - 77093643461234 [05:22:06]1041 (16) - 0000000000959456 [05:22:06]1040 (4) - 18925 [05:22:06]1012 (4) - 24.09.2024 23:12 [05:22:06]1206 (1) - 0 [05:22:06]OFD Sender: Remove packet 18925 [05:22:06]ProducePacketName [05:22:06]name=ofd_packets/00018925 [05:22:06]NVStorageDeleteData [05:22:07]OFD Sender: No OFD packet to send [05:22:07]*** Cut start [05:22:07]*** Partial cut [05:22:07]*** CUTSNS_PIN = 1 [05:22:07]*** CUTSNS_PIN = 0 [05:22:07]*** Brake cut motor [05:22:07]Read from MH i2c: 01 [05:22:07]MH_I2C_Read... [05:22:07]*** Stop cut motor [05:22:07]*** Cut end [05:22:07]Read from MH i2c: 01 07 00 [05:22:07]MH_I2C_Read... [05:22:07]Read from MH i2c: 01 07 00 4C 14 00 00 00 00 00 FF 0F 75 [05:22:07]process_action close_receipt done [05:22:07]requested_data is exist [05:22:07]produce_requested_data [05:22:07]requested_item fm.sn is exist - process it [05:22:07]wFMCommunicate request_size=4 [05:22:07]MH_SAM_APDU [05:22:07]CAPDU: 80 11 00 00 [05:22:07]Write to MH i2c: E2 08 00 4D 14 80 11 00 00 00 00 00 00 DB [05:22:07]Write i2c OK [05:22:07]MH_I2C_Read... [05:22:07]Read from MH i2c: E2 [05:22:07]MH_I2C_Read... [05:22:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:22:07]Read from MH i2c: E2 17 00 [05:22:07]MH_I2C_Read... [05:22:07]Read from MH i2c: E2 17 00 4D 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 34 [05:22:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [05:22:07]wFMCommunicate OK [05:22:07]requested_item fd.num is exist - process it [05:22:07]SAM_PROTO_GetFieldsCounters [05:22:07]wFMCommunicate request_size=4 [05:22:07]MH_SAM_APDU [05:22:07]CAPDU: 80 13 00 00 [05:22:07]Write to MH i2c: E2 08 00 4E 14 80 13 00 00 00 00 00 00 DE [05:22:07]Write i2c OK [05:22:07]MH_I2C_Read... [05:22:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:22:08]Read from MH i2c: E2 [05:22:08]MH_I2C_Read... [05:22:08]Read from MH i2c: E2 62 00 [05:22:08]MH_I2C_Read... [05:22:08]Read from MH i2c: E2 62 00 4E 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 ED 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 01 [05:22:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 ED 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [05:22:08]wFMCommunicate OK [05:22:08]SAM_PROTO_GetFieldsCounters done [05:22:08]requested_item shift.num is exist - process it [05:22:08]requested_item shift.opened is exist - process it [05:22:08]req_shift_opened [05:22:08]FM_GetShiftState [05:22:08]SAM_PROTO_GetShiftState [05:22:08]wFMCommunicate request_size=4 [05:22:08]MH_SAM_APDU [05:22:08]CAPDU: 80 13 01 00 [05:22:08]Write to MH i2c: E2 08 00 4F 14 80 13 01 00 00 00 00 00 E0 [05:22:08]Write i2c OK [05:22:08]MH_I2C_Read... [05:22:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:22:08]Read from MH i2c: E2 [05:22:08]MH_I2C_Read... [05:22:08]Read from MH i2c: E2 0E 00 [05:22:08]MH_I2C_Read... [05:22:08]Read from MH i2c: E2 0E 00 4F 14 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 CD [05:22:08]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [05:22:08]wFMCommunicate OK [05:22:08]SAM_PROTO_GetShiftState done [05:22:08]FM_GetShiftState done [05:22:08]req_shift_opened done [05:22:08]requested_item shift.open_date is exist - process it [05:22:08]req_shift_open_date [05:22:08]req_shift_open_date done [05:22:08]produce_requested_data done [05:22:08]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18925,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [05:22:08]process_action_free close_receipt [05:22:08]json_value_free [05:22:08]json_value_free done [05:22:08]process_json_proto returns [05:22:08]Send response to host [05:22:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18925,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [05:22:08]free response buf [05:22:08]execute_script done [05:22:08]execute_script returns [05:22:08]free content buf [05:22:08]Sock 8.Close socket [05:22:08]Sock 8.Thread stoped [05:22:12]OFD Sender: No OFD packet to send [05:22:17]OFD Sender: No OFD packet to send [05:22:22]OFD Sender: No OFD packet to send [05:22:27]OFD Sender: No OFD packet to send [05:22:32]OFD Sender: No OFD packet to send [05:22:37]OFD Sender: No OFD packet to send [05:22:42]OFD Sender: No OFD packet to send [05:22:47]OFD Sender: No OFD packet to send [05:22:52]OFD Sender: No OFD packet to send [05:22:57]OFD Sender: No OFD packet to send [05:23:02]OFD Sender: No OFD packet to send [05:23:07]OFD Sender: No OFD packet to send [05:23:12]OFD Sender: No OFD packet to send [05:23:17]OFD Sender: No OFD packet to send [05:23:22]OFD Sender: No OFD packet to send [05:23:27]OFD Sender: No OFD packet to send [05:23:32]OFD Sender: No OFD packet to send [05:23:37]OFD Sender: No OFD packet to send [05:23:42]OFD Sender: No OFD packet to send [05:23:47]OFD Sender: No OFD packet to send [05:23:52]OFD Sender: No OFD packet to send [05:23:57]OFD Sender: No OFD packet to send [05:24:02]OFD Sender: No OFD packet to send [05:24:07]OFD Sender: No OFD packet to send [05:24:12]OFD Sender: No OFD packet to send [05:24:17]OFD Sender: No OFD packet to send [05:24:22]OFD Sender: No OFD packet to send [05:24:27]OFD Sender: No OFD packet to send [05:24:32]OFD Sender: No OFD packet to send [05:24:37]OFD Sender: No OFD packet to send [05:24:42]OFD Sender: No OFD packet to send [05:24:47]OFD Sender: No OFD packet to send [05:24:52]OFD Sender: No OFD packet to send [05:24:57]OFD Sender: No OFD packet to send [05:25:02]OFD Sender: No OFD packet to send [05:25:07]OFD Sender: No OFD packet to send [05:25:12]OFD Sender: No OFD packet to send [05:25:17]OFD Sender: No OFD packet to send [05:25:22]OFD Sender: No OFD packet to send [05:25:27]OFD Sender: No OFD packet to send [05:25:32]OFD Sender: No OFD packet to send [05:25:37]OFD Sender: No OFD packet to send [05:25:42]OFD Sender: No OFD packet to send [05:25:47]OFD Sender: No OFD packet to send [05:25:52]OFD Sender: No OFD packet to send [05:25:57]OFD Sender: No OFD packet to send [05:26:02]OFD Sender: No OFD packet to send [05:26:07]OFD Sender: No OFD packet to send [05:26:12]OFD Sender: No OFD packet to send [05:26:17]OFD Sender: No OFD packet to send [05:26:22]OFD Sender: No OFD packet to send [05:26:27]OFD Sender: No OFD packet to send [05:26:32]OFD Sender: No OFD packet to send [05:26:37]OFD Sender: No OFD packet to send [05:26:42]OFD Sender: No OFD packet to send [05:26:47]OFD Sender: No OFD packet to send [05:26:52]OFD Sender: No OFD packet to send [05:26:57]OFD Sender: No OFD packet to send [05:27:02]OFD Sender: No OFD packet to send [05:27:07]OFD Sender: No OFD packet to send [05:27:12]OFD Sender: No OFD packet to send [05:27:17]OFD Sender: No OFD packet to send [05:27:22]OFD Sender: No OFD packet to send [05:27:27]OFD Sender: No OFD packet to send [05:27:32]OFD Sender: No OFD packet to send [05:27:37]OFD Sender: No OFD packet to send [05:27:42]OFD Sender: No OFD packet to send [05:27:47]OFD Sender: No OFD packet to send [05:27:52]OFD Sender: No OFD packet to send [05:27:57]OFD Sender: No OFD packet to send [05:28:02]OFD Sender: No OFD packet to send [05:28:07]OFD Sender: No OFD packet to send [05:28:12]OFD Sender: No OFD packet to send [05:28:17]OFD Sender: No OFD packet to send [05:28:22]OFD Sender: No OFD packet to send [05:28:27]OFD Sender: No OFD packet to send [05:28:32]OFD Sender: No OFD packet to send [05:28:37]OFD Sender: No OFD packet to send [05:28:42]OFD Sender: No OFD packet to send [05:28:47]OFD Sender: No OFD packet to send [05:28:52]OFD Sender: No OFD packet to send [05:28:57]OFD Sender: No OFD packet to send [05:29:02]OFD Sender: No OFD packet to send [05:29:07]OFD Sender: No OFD packet to send [05:29:12]OFD Sender: No OFD packet to send [05:29:17]OFD Sender: No OFD packet to send [05:29:22]OFD Sender: No OFD packet to send [05:29:27]OFD Sender: No OFD packet to send [05:29:32]OFD Sender: No OFD packet to send [05:29:37]OFD Sender: No OFD packet to send [05:29:42]OFD Sender: No OFD packet to send [05:29:47]OFD Sender: No OFD packet to send [05:29:52]OFD Sender: No OFD packet to send [05:29:57]OFD Sender: No OFD packet to send [05:30:02]OFD Sender: No OFD packet to send [05:30:07]OFD Sender: No OFD packet to send [05:30:12]OFD Sender: No OFD packet to send [05:30:17]OFD Sender: No OFD packet to send [05:30:22]OFD Sender: No OFD packet to send [05:30:27]OFD Sender: No OFD packet to send [05:30:32]OFD Sender: No OFD packet to send [05:30:37]OFD Sender: No OFD packet to send [05:30:42]OFD Sender: No OFD packet to send [05:30:47]OFD Sender: No OFD packet to send [05:30:52]OFD Sender: No OFD packet to send [05:30:57]OFD Sender: No OFD packet to send [05:31:02]OFD Sender: No OFD packet to send [05:31:07]OFD Sender: No OFD packet to send [05:31:12]OFD Sender: No OFD packet to send [05:31:17]OFD Sender: No OFD packet to send [05:31:22]OFD Sender: No OFD packet to send [05:31:27]OFD Sender: No OFD packet to send [05:31:32]OFD Sender: No OFD packet to send [05:31:37]OFD Sender: No OFD packet to send [05:31:42]OFD Sender: No OFD packet to send [05:31:47]OFD Sender: No OFD packet to send [05:31:52]OFD Sender: No OFD packet to send [05:31:57]OFD Sender: No OFD packet to send [05:32:02]OFD Sender: No OFD packet to send [05:32:07]OFD Sender: No OFD packet to send [05:32:12]OFD Sender: No OFD packet to send [05:32:17]OFD Sender: No OFD packet to send [05:32:22]OFD Sender: No OFD packet to send [05:32:27]OFD Sender: No OFD packet to send [05:32:32]OFD Sender: No OFD packet to send [05:32:37]OFD Sender: No OFD packet to send [05:32:42]OFD Sender: No OFD packet to send [05:32:47]OFD Sender: No OFD packet to send [05:32:52]OFD Sender: No OFD packet to send [05:32:57]OFD Sender: No OFD packet to send [05:33:02]OFD Sender: No OFD packet to send [05:33:07]OFD Sender: No OFD packet to send [05:33:12]OFD Sender: No OFD packet to send [05:33:17]OFD Sender: No OFD packet to send [05:33:22]OFD Sender: No OFD packet to send [05:33:27]OFD Sender: No OFD packet to send [05:33:32]OFD Sender: No OFD packet to send [05:33:37]OFD Sender: No OFD packet to send [05:33:42]OFD Sender: No OFD packet to send [05:33:47]OFD Sender: No OFD packet to send [05:33:52]OFD Sender: No OFD packet to send [05:33:57]OFD Sender: No OFD packet to send [05:34:02]OFD Sender: No OFD packet to send [05:34:07]OFD Sender: No OFD packet to send [05:34:12]OFD Sender: No OFD packet to send [05:34:17]OFD Sender: No OFD packet to send [05:34:22]OFD Sender: No OFD packet to send [05:34:27]OFD Sender: No OFD packet to send [05:34:32]OFD Sender: No OFD packet to send [05:34:37]OFD Sender: No OFD packet to send [05:34:42]OFD Sender: No OFD packet to send [05:34:47]OFD Sender: No OFD packet to send [05:34:52]OFD Sender: No OFD packet to send [05:34:57]OFD Sender: No OFD packet to send [05:35:02]OFD Sender: No OFD packet to send [05:35:07]OFD Sender: No OFD packet to send [05:35:12]OFD Sender: No OFD packet to send [05:35:17]OFD Sender: No OFD packet to send [05:35:22]OFD Sender: No OFD packet to send [05:35:27]OFD Sender: No OFD packet to send [05:35:32]OFD Sender: No OFD packet to send [05:35:37]OFD Sender: No OFD packet to send [05:35:42]OFD Sender: No OFD packet to send [05:35:47]OFD Sender: No OFD packet to send [05:35:52]OFD Sender: No OFD packet to send [05:35:57]OFD Sender: No OFD packet to send [05:36:02]OFD Sender: No OFD packet to send [05:36:07]OFD Sender: No OFD packet to send [05:36:12]OFD Sender: No OFD packet to send [05:36:17]OFD Sender: No OFD packet to send [05:36:22]OFD Sender: No OFD packet to send [05:36:27]OFD Sender: No OFD packet to send [05:36:32]OFD Sender: No OFD packet to send [05:36:37]OFD Sender: No OFD packet to send [05:36:42]OFD Sender: No OFD packet to send [05:36:47]OFD Sender: No OFD packet to send [05:36:52]OFD Sender: No OFD packet to send [05:36:57]OFD Sender: No OFD packet to send [05:37:02]OFD Sender: No OFD packet to send [05:37:07]OFD Sender: No OFD packet to send [05:37:12]OFD Sender: No OFD packet to send [05:37:17]OFD Sender: No OFD packet to send [05:37:22]OFD Sender: No OFD packet to send [05:37:27]OFD Sender: No OFD packet to send [05:37:32]OFD Sender: No OFD packet to send [05:37:37]OFD Sender: No OFD packet to send [05:37:42]OFD Sender: No OFD packet to send [05:37:47]OFD Sender: No OFD packet to send [05:37:52]OFD Sender: No OFD packet to send [05:37:57]OFD Sender: No OFD packet to send [05:38:02]OFD Sender: No OFD packet to send [05:38:07]OFD Sender: No OFD packet to send [05:38:12]OFD Sender: No OFD packet to send [05:38:17]OFD Sender: No OFD packet to send [05:38:22]OFD Sender: No OFD packet to send [05:38:27]OFD Sender: No OFD packet to send [05:38:32]OFD Sender: No OFD packet to send [05:38:38]OFD Sender: No OFD packet to send [05:38:43]OFD Sender: No OFD packet to send [05:38:48]OFD Sender: No OFD packet to send [05:38:53]OFD Sender: No OFD packet to send [05:38:58]OFD Sender: No OFD packet to send [05:39:03]OFD Sender: No OFD packet to send [05:39:08]OFD Sender: No OFD packet to send [05:39:13]OFD Sender: No OFD packet to send [05:39:18]OFD Sender: No OFD packet to send [05:39:23]OFD Sender: No OFD packet to send [05:39:28]OFD Sender: No OFD packet to send [05:39:33]OFD Sender: No OFD packet to send [05:39:38]OFD Sender: No OFD packet to send [05:39:43]OFD Sender: No OFD packet to send [05:39:48]OFD Sender: No OFD packet to send [05:39:53]OFD Sender: No OFD packet to send [05:39:58]OFD Sender: No OFD packet to send [05:40:03]OFD Sender: No OFD packet to send [05:40:08]OFD Sender: No OFD packet to send [05:40:13]OFD Sender: No OFD packet to send [05:40:18]OFD Sender: No OFD packet to send [05:40:23]OFD Sender: No OFD packet to send [05:40:28]OFD Sender: No OFD packet to send [05:40:33]OFD Sender: No OFD packet to send [05:40:38]OFD Sender: No OFD packet to send [05:40:43]OFD Sender: No OFD packet to send [05:40:48]OFD Sender: No OFD packet to send [05:40:53]OFD Sender: No OFD packet to send [05:40:58]OFD Sender: No OFD packet to send [05:41:03]OFD Sender: No OFD packet to send [05:41:08]OFD Sender: No OFD packet to send [05:41:13]OFD Sender: No OFD packet to send [05:41:18]OFD Sender: No OFD packet to send [05:41:23]OFD Sender: No OFD packet to send [05:41:28]OFD Sender: No OFD packet to send [05:41:33]OFD Sender: No OFD packet to send [05:41:38]OFD Sender: No OFD packet to send [05:41:43]OFD Sender: No OFD packet to send [05:41:48]OFD Sender: No OFD packet to send [05:41:53]OFD Sender: No OFD packet to send [05:41:58]OFD Sender: No OFD packet to send [05:42:03]OFD Sender: No OFD packet to send [05:42:08]OFD Sender: No OFD packet to send [05:42:13]OFD Sender: No OFD packet to send [05:42:18]OFD Sender: No OFD packet to send [05:42:23]OFD Sender: No OFD packet to send [05:42:28]OFD Sender: No OFD packet to send [05:42:33]OFD Sender: No OFD packet to send [05:42:38]OFD Sender: No OFD packet to send [05:42:43]OFD Sender: No OFD packet to send [05:42:48]OFD Sender: No OFD packet to send [05:42:53]OFD Sender: No OFD packet to send [05:42:58]OFD Sender: No OFD packet to send [05:43:03]OFD Sender: No OFD packet to send [05:43:08]OFD Sender: No OFD packet to send [05:43:13]OFD Sender: No OFD packet to send [05:43:18]OFD Sender: No OFD packet to send [05:43:23]OFD Sender: No OFD packet to send [05:43:28]OFD Sender: No OFD packet to send [05:43:33]OFD Sender: No OFD packet to send [05:43:38]OFD Sender: No OFD packet to send [05:43:43]OFD Sender: No OFD packet to send [05:43:48]OFD Sender: No OFD packet to send [05:43:53]OFD Sender: No OFD packet to send [05:43:58]OFD Sender: No OFD packet to send [05:44:03]OFD Sender: No OFD packet to send [05:44:08]OFD Sender: No OFD packet to send [05:44:13]OFD Sender: No OFD packet to send [05:44:18]OFD Sender: No OFD packet to send [05:44:23]OFD Sender: No OFD packet to send [05:44:28]OFD Sender: No OFD packet to send [05:44:33]OFD Sender: No OFD packet to send [05:44:38]OFD Sender: No OFD packet to send [05:44:43]OFD Sender: No OFD packet to send [05:44:48]OFD Sender: No OFD packet to send [05:44:53]OFD Sender: No OFD packet to send [05:44:58]OFD Sender: No OFD packet to send [05:45:03]OFD Sender: No OFD packet to send [05:45:08]OFD Sender: No OFD packet to send [05:45:13]OFD Sender: No OFD packet to send [05:45:18]OFD Sender: No OFD packet to send [05:45:23]OFD Sender: No OFD packet to send [05:45:28]OFD Sender: No OFD packet to send [05:45:33]OFD Sender: No OFD packet to send [05:45:38]OFD Sender: No OFD packet to send [05:45:43]OFD Sender: No OFD packet to send [05:45:48]OFD Sender: No OFD packet to send [05:45:53]OFD Sender: No OFD packet to send [05:45:58]OFD Sender: No OFD packet to send [05:46:03]OFD Sender: No OFD packet to send [05:46:08]OFD Sender: No OFD packet to send [05:46:13]OFD Sender: No OFD packet to send [05:46:18]OFD Sender: No OFD packet to send [05:46:23]OFD Sender: No OFD packet to send [05:46:28]OFD Sender: No OFD packet to send [05:46:33]OFD Sender: No OFD packet to send [05:46:38]OFD Sender: No OFD packet to send [05:46:43]OFD Sender: No OFD packet to send [05:46:48]OFD Sender: No OFD packet to send [05:46:53]OFD Sender: No OFD packet to send [05:46:58]OFD Sender: No OFD packet to send [05:47:03]OFD Sender: No OFD packet to send [05:47:08]OFD Sender: No OFD packet to send [05:47:13]OFD Sender: No OFD packet to send [05:47:18]OFD Sender: No OFD packet to send [05:47:23]OFD Sender: No OFD packet to send [05:47:28]OFD Sender: No OFD packet to send [05:47:33]OFD Sender: No OFD packet to send [05:47:38]OFD Sender: No OFD packet to send [05:47:43]OFD Sender: No OFD packet to send [05:47:48]OFD Sender: No OFD packet to send [05:47:53]OFD Sender: No OFD packet to send [05:47:58]OFD Sender: No OFD packet to send [05:48:03]OFD Sender: No OFD packet to send [05:48:08]OFD Sender: No OFD packet to send [05:48:13]OFD Sender: No OFD packet to send [05:48:18]OFD Sender: No OFD packet to send [05:48:23]OFD Sender: No OFD packet to send [05:48:28]OFD Sender: No OFD packet to send [05:48:33]OFD Sender: No OFD packet to send [05:48:38]OFD Sender: No OFD packet to send [05:48:43]OFD Sender: No OFD packet to send [05:48:48]OFD Sender: No OFD packet to send [05:48:53]OFD Sender: No OFD packet to send [05:48:58]OFD Sender: No OFD packet to send [05:49:03]OFD Sender: No OFD packet to send [05:49:08]OFD Sender: No OFD packet to send [05:49:13]OFD Sender: No OFD packet to send [05:49:18]OFD Sender: No OFD packet to send [05:49:23]OFD Sender: No OFD packet to send [05:49:28]OFD Sender: No OFD packet to send [05:49:33]OFD Sender: No OFD packet to send [05:49:38]OFD Sender: No OFD packet to send [05:49:43]OFD Sender: No OFD packet to send [05:49:48]OFD Sender: No OFD packet to send [05:49:53]OFD Sender: No OFD packet to send [05:49:58]OFD Sender: No OFD packet to send [05:50:03]OFD Sender: No OFD packet to send [05:50:08]OFD Sender: No OFD packet to send [05:50:13]OFD Sender: No OFD packet to send [05:50:18]OFD Sender: No OFD packet to send [05:50:23]OFD Sender: No OFD packet to send [05:50:28]OFD Sender: No OFD packet to send [05:50:33]OFD Sender: No OFD packet to send [05:50:38]OFD Sender: No OFD packet to send [05:50:43]OFD Sender: No OFD packet to send [05:50:48]OFD Sender: No OFD packet to send [05:50:53]OFD Sender: No OFD packet to send [05:50:58]OFD Sender: No OFD packet to send [05:51:03]OFD Sender: No OFD packet to send [05:51:08]OFD Sender: No OFD packet to send [05:51:13]OFD Sender: No OFD packet to send [05:51:18]OFD Sender: No OFD packet to send [05:51:23]OFD Sender: No OFD packet to send [05:51:28]OFD Sender: No OFD packet to send [05:51:33]OFD Sender: No OFD packet to send [05:51:38]OFD Sender: No OFD packet to send [05:51:43]OFD Sender: No OFD packet to send [05:51:48]OFD Sender: No OFD packet to send [05:51:53]OFD Sender: No OFD packet to send [05:51:58]OFD Sender: No OFD packet to send [05:52:03]OFD Sender: No OFD packet to send [05:52:08]OFD Sender: No OFD packet to send [05:52:13]OFD Sender: No OFD packet to send [05:52:18]OFD Sender: No OFD packet to send [05:52:23]OFD Sender: No OFD packet to send [05:52:28]OFD Sender: No OFD packet to send [05:52:33]OFD Sender: No OFD packet to send [05:52:38]OFD Sender: No OFD packet to send [05:52:43]OFD Sender: No OFD packet to send [05:52:48]OFD Sender: No OFD packet to send [05:52:53]OFD Sender: No OFD packet to send [05:52:58]OFD Sender: No OFD packet to send [05:53:03]OFD Sender: No OFD packet to send [05:53:08]OFD Sender: No OFD packet to send [05:53:13]OFD Sender: No OFD packet to send [05:53:18]OFD Sender: No OFD packet to send [05:53:23]OFD Sender: No OFD packet to send [05:53:28]OFD Sender: No OFD packet to send [05:53:33]OFD Sender: No OFD packet to send [05:53:38]OFD Sender: No OFD packet to send [05:53:43]OFD Sender: No OFD packet to send [05:53:48]OFD Sender: No OFD packet to send [05:53:53]OFD Sender: No OFD packet to send [05:53:58]OFD Sender: No OFD packet to send [05:54:03]OFD Sender: No OFD packet to send [05:54:08]OFD Sender: No OFD packet to send [05:54:13]OFD Sender: No OFD packet to send [05:54:18]OFD Sender: No OFD packet to send [05:54:23]OFD Sender: No OFD packet to send [05:54:28]OFD Sender: No OFD packet to send [05:54:33]OFD Sender: No OFD packet to send [05:54:38]OFD Sender: No OFD packet to send [05:54:43]OFD Sender: No OFD packet to send [05:54:48]OFD Sender: No OFD packet to send [05:54:53]OFD Sender: No OFD packet to send [05:54:58]OFD Sender: No OFD packet to send [05:55:03]OFD Sender: No OFD packet to send [05:55:08]OFD Sender: No OFD packet to send [05:55:13]OFD Sender: No OFD packet to send [05:55:18]OFD Sender: No OFD packet to send [05:55:23]OFD Sender: No OFD packet to send [05:55:28]OFD Sender: No OFD packet to send [05:55:33]OFD Sender: No OFD packet to send [05:55:38]OFD Sender: No OFD packet to send [05:55:43]OFD Sender: No OFD packet to send [05:55:48]OFD Sender: No OFD packet to send [05:55:53]OFD Sender: No OFD packet to send [05:55:58]OFD Sender: No OFD packet to send [05:56:03]OFD Sender: No OFD packet to send [05:56:08]OFD Sender: No OFD packet to send [05:56:13]OFD Sender: No OFD packet to send [05:56:18]OFD Sender: No OFD packet to send [05:56:23]OFD Sender: No OFD packet to send [05:56:28]OFD Sender: No OFD packet to send [05:56:33]OFD Sender: No OFD packet to send [05:56:38]OFD Sender: No OFD packet to send [05:56:43]OFD Sender: No OFD packet to send [05:56:48]OFD Sender: No OFD packet to send [05:56:53]OFD Sender: No OFD packet to send [05:56:58]OFD Sender: No OFD packet to send [05:57:03]OFD Sender: No OFD packet to send [05:57:08]OFD Sender: No OFD packet to send [05:57:13]OFD Sender: No OFD packet to send [05:57:18]OFD Sender: No OFD packet to send [05:57:23]OFD Sender: No OFD packet to send [05:57:28]OFD Sender: No OFD packet to send [05:57:33]OFD Sender: No OFD packet to send [05:57:38]OFD Sender: No OFD packet to send [05:57:43]OFD Sender: No OFD packet to send [05:57:48]OFD Sender: No OFD packet to send [05:57:53]OFD Sender: No OFD packet to send [05:57:58]OFD Sender: No OFD packet to send [05:58:03]OFD Sender: No OFD packet to send [05:58:08]OFD Sender: No OFD packet to send [05:58:13]OFD Sender: No OFD packet to send [05:58:18]OFD Sender: No OFD packet to send [05:58:23]OFD Sender: No OFD packet to send [05:58:28]OFD Sender: No OFD packet to send [05:58:33]OFD Sender: No OFD packet to send [05:58:38]OFD Sender: No OFD packet to send [05:58:43]OFD Sender: No OFD packet to send [05:58:48]OFD Sender: No OFD packet to send [05:58:53]OFD Sender: No OFD packet to send [05:58:58]OFD Sender: No OFD packet to send [05:59:03]OFD Sender: No OFD packet to send [05:59:08]OFD Sender: No OFD packet to send [05:59:13]OFD Sender: No OFD packet to send [05:59:18]OFD Sender: No OFD packet to send [05:59:23]OFD Sender: No OFD packet to send [05:59:28]OFD Sender: No OFD packet to send [05:59:33]OFD Sender: No OFD packet to send [05:59:38]OFD Sender: No OFD packet to send [05:59:43]OFD Sender: No OFD packet to send [05:59:48]OFD Sender: No OFD packet to send [05:59:53]OFD Sender: No OFD packet to send [05:59:58]OFD Sender: No OFD packet to send [06:00:03]OFD Sender: No OFD packet to send [06:00:09]OFD Sender: No OFD packet to send [06:00:14]OFD Sender: No OFD packet to send [06:00:19]OFD Sender: No OFD packet to send [06:00:24]OFD Sender: No OFD packet to send [06:00:29]OFD Sender: No OFD packet to send [06:00:34]OFD Sender: No OFD packet to send [06:00:39]OFD Sender: No OFD packet to send [06:00:44]OFD Sender: No OFD packet to send [06:00:49]OFD Sender: No OFD packet to send [06:00:54]OFD Sender: No OFD packet to send [06:00:59]OFD Sender: No OFD packet to send [06:01:04]OFD Sender: No OFD packet to send [06:01:09]OFD Sender: No OFD packet to send [06:01:14]OFD Sender: No OFD packet to send [06:01:19]OFD Sender: No OFD packet to send [06:01:24]OFD Sender: No OFD packet to send [06:01:29]OFD Sender: No OFD packet to send [06:01:34]OFD Sender: No OFD packet to send [06:01:39]OFD Sender: No OFD packet to send [06:01:44]OFD Sender: No OFD packet to send [06:01:49]OFD Sender: No OFD packet to send [06:01:54]OFD Sender: No OFD packet to send [06:01:59]OFD Sender: No OFD packet to send [06:02:04]OFD Sender: No OFD packet to send [06:02:09]OFD Sender: No OFD packet to send [06:02:14]OFD Sender: No OFD packet to send [06:02:19]OFD Sender: No OFD packet to send [06:02:24]OFD Sender: No OFD packet to send [06:02:29]OFD Sender: No OFD packet to send [06:02:34]OFD Sender: No OFD packet to send [06:02:39]OFD Sender: No OFD packet to send [06:02:44]OFD Sender: No OFD packet to send [06:02:49]OFD Sender: No OFD packet to send [06:02:54]OFD Sender: No OFD packet to send [06:02:59]OFD Sender: No OFD packet to send [06:03:04]OFD Sender: No OFD packet to send [06:03:09]OFD Sender: No OFD packet to send [06:03:14]OFD Sender: No OFD packet to send [06:03:19]OFD Sender: No OFD packet to send [06:03:24]OFD Sender: No OFD packet to send [06:03:29]OFD Sender: No OFD packet to send [06:03:34]OFD Sender: No OFD packet to send [06:03:39]OFD Sender: No OFD packet to send [06:03:44]OFD Sender: No OFD packet to send [06:03:49]OFD Sender: No OFD packet to send [06:03:54]OFD Sender: No OFD packet to send [06:03:59]OFD Sender: No OFD packet to send [06:04:04]OFD Sender: No OFD packet to send [06:04:09]OFD Sender: No OFD packet to send [06:04:14]OFD Sender: No OFD packet to send [06:04:19]OFD Sender: No OFD packet to send [06:04:24]OFD Sender: No OFD packet to send [06:04:29]OFD Sender: No OFD packet to send [06:04:34]OFD Sender: No OFD packet to send [06:04:39]OFD Sender: No OFD packet to send [06:04:44]OFD Sender: No OFD packet to send [06:04:49]OFD Sender: No OFD packet to send [06:04:54]OFD Sender: No OFD packet to send [06:04:59]OFD Sender: No OFD packet to send [06:05:04]OFD Sender: No OFD packet to send [06:05:09]OFD Sender: No OFD packet to send [06:05:14]OFD Sender: No OFD packet to send [06:05:19]OFD Sender: No OFD packet to send [06:05:24]OFD Sender: No OFD packet to send [06:05:29]OFD Sender: No OFD packet to send [06:05:34]OFD Sender: No OFD packet to send [06:05:39]OFD Sender: No OFD packet to send [06:05:44]OFD Sender: No OFD packet to send [06:05:49]OFD Sender: No OFD packet to send [06:05:54]OFD Sender: No OFD packet to send [06:05:59]OFD Sender: No OFD packet to send [06:06:04]OFD Sender: No OFD packet to send [06:06:09]OFD Sender: No OFD packet to send [06:06:14]OFD Sender: No OFD packet to send [06:06:19]OFD Sender: No OFD packet to send [06:06:24]OFD Sender: No OFD packet to send [06:06:29]OFD Sender: No OFD packet to send [06:06:34]OFD Sender: No OFD packet to send [06:06:39]OFD Sender: No OFD packet to send [06:06:44]OFD Sender: No OFD packet to send [06:06:49]OFD Sender: No OFD packet to send [06:06:54]OFD Sender: No OFD packet to send [06:06:59]OFD Sender: No OFD packet to send [06:07:04]OFD Sender: No OFD packet to send [06:07:09]OFD Sender: No OFD packet to send [06:07:14]OFD Sender: No OFD packet to send [06:07:19]OFD Sender: No OFD packet to send [06:07:24]OFD Sender: No OFD packet to send [06:07:29]OFD Sender: No OFD packet to send [06:07:34]OFD Sender: No OFD packet to send [06:07:39]OFD Sender: No OFD packet to send [06:07:44]OFD Sender: No OFD packet to send [06:07:49]OFD Sender: No OFD packet to send [06:07:54]OFD Sender: No OFD packet to send [06:07:59]OFD Sender: No OFD packet to send [06:08:04]OFD Sender: No OFD packet to send [06:08:09]OFD Sender: No OFD packet to send [06:08:14]OFD Sender: No OFD packet to send [06:08:19]OFD Sender: No OFD packet to send [06:08:24]OFD Sender: No OFD packet to send [06:08:29]OFD Sender: No OFD packet to send [06:08:34]OFD Sender: No OFD packet to send [06:08:39]OFD Sender: No OFD packet to send [06:08:44]OFD Sender: No OFD packet to send [06:08:49]OFD Sender: No OFD packet to send [06:08:54]OFD Sender: No OFD packet to send [06:08:59]OFD Sender: No OFD packet to send [06:09:04]OFD Sender: No OFD packet to send [06:09:09]OFD Sender: No OFD packet to send [06:09:14]OFD Sender: No OFD packet to send [06:09:19]OFD Sender: No OFD packet to send [06:09:24]OFD Sender: No OFD packet to send [06:09:29]OFD Sender: No OFD packet to send [06:09:34]OFD Sender: No OFD packet to send [06:09:39]OFD Sender: No OFD packet to send [06:09:44]OFD Sender: No OFD packet to send [06:09:49]OFD Sender: No OFD packet to send [06:09:54]OFD Sender: No OFD packet to send [06:09:59]OFD Sender: No OFD packet to send [06:10:04]OFD Sender: No OFD packet to send [06:10:09]OFD Sender: No OFD packet to send [06:10:14]OFD Sender: No OFD packet to send [06:10:19]OFD Sender: No OFD packet to send [06:10:24]OFD Sender: No OFD packet to send [06:10:29]OFD Sender: No OFD packet to send [06:10:34]OFD Sender: No OFD packet to send [06:10:39]OFD Sender: No OFD packet to send [06:10:44]OFD Sender: No OFD packet to send [06:10:49]OFD Sender: No OFD packet to send [06:10:54]OFD Sender: No OFD packet to send [06:10:59]OFD Sender: No OFD packet to send [06:11:04]OFD Sender: No OFD packet to send [06:11:09]OFD Sender: No OFD packet to send [06:11:14]OFD Sender: No OFD packet to send [06:11:19]OFD Sender: No OFD packet to send [06:11:24]OFD Sender: No OFD packet to send [06:11:29]OFD Sender: No OFD packet to send [06:11:34]OFD Sender: No OFD packet to send [06:11:39]OFD Sender: No OFD packet to send [06:11:44]OFD Sender: No OFD packet to send [06:11:49]OFD Sender: No OFD packet to send [06:11:54]OFD Sender: No OFD packet to send [06:11:59]OFD Sender: No OFD packet to send [06:12:04]OFD Sender: No OFD packet to send [06:12:09]OFD Sender: No OFD packet to send [06:12:14]OFD Sender: No OFD packet to send [06:12:19]OFD Sender: No OFD packet to send [06:12:24]OFD Sender: No OFD packet to send [06:12:29]OFD Sender: No OFD packet to send [06:12:34]OFD Sender: No OFD packet to send [06:12:39]OFD Sender: No OFD packet to send [06:12:44]OFD Sender: No OFD packet to send [06:12:49]OFD Sender: No OFD packet to send [06:12:54]OFD Sender: No OFD packet to send [06:12:59]OFD Sender: No OFD packet to send [06:13:04]OFD Sender: No OFD packet to send [06:13:09]OFD Sender: No OFD packet to send [06:13:14]OFD Sender: No OFD packet to send [06:13:19]OFD Sender: No OFD packet to send [06:13:24]OFD Sender: No OFD packet to send [06:13:29]OFD Sender: No OFD packet to send [06:13:34]OFD Sender: No OFD packet to send [06:13:39]OFD Sender: No OFD packet to send [06:13:44]OFD Sender: No OFD packet to send [06:13:49]OFD Sender: No OFD packet to send [06:13:54]OFD Sender: No OFD packet to send [06:13:59]OFD Sender: No OFD packet to send [06:14:04]OFD Sender: No OFD packet to send [06:14:09]OFD Sender: No OFD packet to send [06:14:14]OFD Sender: No OFD packet to send [06:14:19]OFD Sender: No OFD packet to send [06:14:24]OFD Sender: No OFD packet to send [06:14:29]OFD Sender: No OFD packet to send [06:14:34]OFD Sender: No OFD packet to send [06:14:39]OFD Sender: No OFD packet to send [06:14:44]OFD Sender: No OFD packet to send [06:14:49]OFD Sender: No OFD packet to send [06:14:54]OFD Sender: No OFD packet to send [06:14:59]OFD Sender: No OFD packet to send [06:15:04]OFD Sender: No OFD packet to send [06:15:09]OFD Sender: No OFD packet to send [06:15:14]OFD Sender: No OFD packet to send [06:15:19]OFD Sender: No OFD packet to send [06:15:24]OFD Sender: No OFD packet to send [06:15:29]OFD Sender: No OFD packet to send [06:15:34]OFD Sender: No OFD packet to send [06:15:39]OFD Sender: No OFD packet to send [06:15:44]OFD Sender: No OFD packet to send [06:15:49]OFD Sender: No OFD packet to send [06:15:54]OFD Sender: No OFD packet to send [06:15:59]OFD Sender: No OFD packet to send [06:16:04]OFD Sender: No OFD packet to send [06:16:09]OFD Sender: No OFD packet to send [06:16:14]OFD Sender: No OFD packet to send [06:16:19]OFD Sender: No OFD packet to send [06:16:24]OFD Sender: No OFD packet to send [06:16:29]OFD Sender: No OFD packet to send [06:16:34]OFD Sender: No OFD packet to send [06:16:39]OFD Sender: No OFD packet to send [06:16:44]OFD Sender: No OFD packet to send [06:16:49]OFD Sender: No OFD packet to send [06:16:54]OFD Sender: No OFD packet to send [06:16:59]OFD Sender: No OFD packet to send [06:17:04]OFD Sender: No OFD packet to send [06:17:09]OFD Sender: No OFD packet to send [06:17:14]OFD Sender: No OFD packet to send [06:17:19]OFD Sender: No OFD packet to send [06:17:24]OFD Sender: No OFD packet to send [06:17:29]OFD Sender: No OFD packet to send [06:17:34]OFD Sender: No OFD packet to send [06:17:39]OFD Sender: No OFD packet to send [06:17:44]OFD Sender: No OFD packet to send [06:17:49]OFD Sender: No OFD packet to send [06:17:54]OFD Sender: No OFD packet to send [06:17:59]OFD Sender: No OFD packet to send [06:18:04]OFD Sender: No OFD packet to send [06:18:09]OFD Sender: No OFD packet to send [06:18:14]OFD Sender: No OFD packet to send [06:18:19]OFD Sender: No OFD packet to send [06:18:24]OFD Sender: No OFD packet to send [06:18:29]OFD Sender: No OFD packet to send [06:18:34]OFD Sender: No OFD packet to send [06:18:39]OFD Sender: No OFD packet to send [06:18:44]OFD Sender: No OFD packet to send [06:18:49]OFD Sender: No OFD packet to send [06:18:54]OFD Sender: No OFD packet to send [06:18:59]OFD Sender: No OFD packet to send [06:19:04]OFD Sender: No OFD packet to send [06:19:09]OFD Sender: No OFD packet to send [06:19:14]OFD Sender: No OFD packet to send [06:19:19]OFD Sender: No OFD packet to send [06:19:24]OFD Sender: No OFD packet to send [06:19:29]OFD Sender: No OFD packet to send [06:19:34]OFD Sender: No OFD packet to send [06:19:39]OFD Sender: No OFD packet to send [06:19:44]OFD Sender: No OFD packet to send [06:19:49]OFD Sender: No OFD packet to send [06:19:54]OFD Sender: No OFD packet to send [06:19:59]OFD Sender: No OFD packet to send [06:20:04]OFD Sender: No OFD packet to send [06:20:09]OFD Sender: No OFD packet to send [06:20:14]OFD Sender: No OFD packet to send [06:20:19]OFD Sender: No OFD packet to send [06:20:24]OFD Sender: No OFD packet to send [06:20:29]OFD Sender: No OFD packet to send [06:20:34]OFD Sender: No OFD packet to send [06:20:39]OFD Sender: No OFD packet to send [06:20:44]OFD Sender: No OFD packet to send [06:20:49]OFD Sender: No OFD packet to send [06:20:54]OFD Sender: No OFD packet to send [06:20:59]OFD Sender: No OFD packet to send [06:21:04]OFD Sender: No OFD packet to send [06:21:09]OFD Sender: No OFD packet to send [06:21:14]OFD Sender: No OFD packet to send [06:21:19]OFD Sender: No OFD packet to send [06:21:24]OFD Sender: No OFD packet to send [06:21:29]OFD Sender: No OFD packet to send [06:21:34]OFD Sender: No OFD packet to send [06:21:39]OFD Sender: No OFD packet to send [06:21:45]OFD Sender: No OFD packet to send [06:21:50]OFD Sender: No OFD packet to send [06:21:55]OFD Sender: No OFD packet to send [06:22:00]OFD Sender: No OFD packet to send [06:22:05]OFD Sender: No OFD packet to send [06:22:10]OFD Sender: No OFD packet to send [06:22:15]OFD Sender: No OFD packet to send [06:22:20]OFD Sender: No OFD packet to send [06:22:25]OFD Sender: No OFD packet to send [06:22:30]OFD Sender: No OFD packet to send [06:22:35]OFD Sender: No OFD packet to send [06:22:40]OFD Sender: No OFD packet to send [06:22:45]OFD Sender: No OFD packet to send [06:22:50]OFD Sender: No OFD packet to send [06:22:55]OFD Sender: No OFD packet to send [06:23:00]OFD Sender: No OFD packet to send [06:23:05]OFD Sender: No OFD packet to send [06:23:10]OFD Sender: No OFD packet to send [06:23:15]OFD Sender: No OFD packet to send [06:23:20]OFD Sender: No OFD packet to send [06:23:25]OFD Sender: No OFD packet to send [06:23:30]OFD Sender: No OFD packet to send [06:23:35]OFD Sender: No OFD packet to send [06:23:40]OFD Sender: No OFD packet to send [06:23:45]OFD Sender: No OFD packet to send [06:23:50]OFD Sender: No OFD packet to send [06:23:55]OFD Sender: No OFD packet to send [06:24:00]OFD Sender: No OFD packet to send [06:24:05]OFD Sender: No OFD packet to send [06:24:10]OFD Sender: No OFD packet to send [06:24:15]OFD Sender: No OFD packet to send [06:24:20]OFD Sender: No OFD packet to send [06:24:25]OFD Sender: No OFD packet to send [06:24:30]OFD Sender: No OFD packet to send [06:24:35]OFD Sender: No OFD packet to send [06:24:40]OFD Sender: No OFD packet to send [06:24:45]OFD Sender: No OFD packet to send [06:24:50]OFD Sender: No OFD packet to send [06:24:55]OFD Sender: No OFD packet to send [06:25:00]OFD Sender: No OFD packet to send [06:25:05]OFD Sender: No OFD packet to send [06:25:10]OFD Sender: No OFD packet to send [06:25:15]OFD Sender: No OFD packet to send [06:25:20]OFD Sender: No OFD packet to send [06:25:25]OFD Sender: No OFD packet to send [06:25:30]OFD Sender: No OFD packet to send [06:25:35]OFD Sender: No OFD packet to send [06:25:40]OFD Sender: No OFD packet to send [06:25:45]OFD Sender: No OFD packet to send [06:25:50]OFD Sender: No OFD packet to send [06:25:55]OFD Sender: No OFD packet to send [06:26:00]OFD Sender: No OFD packet to send [06:26:05]OFD Sender: No OFD packet to send [06:26:10]OFD Sender: No OFD packet to send [06:26:15]OFD Sender: No OFD packet to send [06:26:20]OFD Sender: No OFD packet to send [06:26:25]OFD Sender: No OFD packet to send [06:26:30]OFD Sender: No OFD packet to send [06:26:35]OFD Sender: No OFD packet to send [06:26:40]OFD Sender: No OFD packet to send [06:26:45]OFD Sender: No OFD packet to send [06:26:50]OFD Sender: No OFD packet to send [06:26:55]OFD Sender: No OFD packet to send [06:27:00]OFD Sender: No OFD packet to send [06:27:05]OFD Sender: No OFD packet to send [06:27:10]OFD Sender: No OFD packet to send [06:27:15]OFD Sender: No OFD packet to send [06:27:20]OFD Sender: No OFD packet to send [06:27:25]OFD Sender: No OFD packet to send [06:27:30]OFD Sender: No OFD packet to send [06:27:35]OFD Sender: No OFD packet to send [06:27:40]OFD Sender: No OFD packet to send [06:27:45]OFD Sender: No OFD packet to send [06:27:50]OFD Sender: No OFD packet to send [06:27:55]OFD Sender: No OFD packet to send [06:28:00]OFD Sender: No OFD packet to send [06:28:05]OFD Sender: No OFD packet to send [06:28:10]OFD Sender: No OFD packet to send [06:28:15]OFD Sender: No OFD packet to send [06:28:20]OFD Sender: No OFD packet to send [06:28:25]OFD Sender: No OFD packet to send [06:28:30]OFD Sender: No OFD packet to send [06:28:35]OFD Sender: No OFD packet to send [06:28:40]OFD Sender: No OFD packet to send [06:28:45]OFD Sender: No OFD packet to send [06:28:50]OFD Sender: No OFD packet to send [06:28:55]OFD Sender: No OFD packet to send [06:29:00]OFD Sender: No OFD packet to send [06:29:05]OFD Sender: No OFD packet to send [06:29:10]OFD Sender: No OFD packet to send [06:29:15]OFD Sender: No OFD packet to send [06:29:20]OFD Sender: No OFD packet to send [06:29:25]OFD Sender: No OFD packet to send [06:29:30]OFD Sender: No OFD packet to send [06:29:35]OFD Sender: No OFD packet to send [06:29:40]OFD Sender: No OFD packet to send [06:29:45]OFD Sender: No OFD packet to send [06:29:50]OFD Sender: No OFD packet to send [06:29:55]OFD Sender: No OFD packet to send [06:30:00]OFD Sender: No OFD packet to send [06:30:05]OFD Sender: No OFD packet to send [06:30:10]OFD Sender: No OFD packet to send [06:30:15]OFD Sender: No OFD packet to send [06:30:20]OFD Sender: No OFD packet to send [06:30:25]OFD Sender: No OFD packet to send [06:30:30]OFD Sender: No OFD packet to send [06:30:35]OFD Sender: No OFD packet to send [06:30:40]OFD Sender: No OFD packet to send [06:30:45]OFD Sender: No OFD packet to send [06:30:50]OFD Sender: No OFD packet to send [06:30:55]OFD Sender: No OFD packet to send [06:31:00]OFD Sender: No OFD packet to send [06:31:05]OFD Sender: No OFD packet to send [06:31:10]OFD Sender: No OFD packet to send [06:31:15]OFD Sender: No OFD packet to send [06:31:20]OFD Sender: No OFD packet to send [06:31:25]OFD Sender: No OFD packet to send [06:31:30]OFD Sender: No OFD packet to send [06:31:35]OFD Sender: No OFD packet to send [06:31:40]OFD Sender: No OFD packet to send [06:31:45]OFD Sender: No OFD packet to send [06:31:50]OFD Sender: No OFD packet to send [06:31:55]OFD Sender: No OFD packet to send [06:32:00]OFD Sender: No OFD packet to send [06:32:05]OFD Sender: No OFD packet to send [06:32:10]OFD Sender: No OFD packet to send [06:32:15]OFD Sender: No OFD packet to send [06:32:20]OFD Sender: No OFD packet to send [06:32:25]OFD Sender: No OFD packet to send [06:32:30]OFD Sender: No OFD packet to send [06:32:35]OFD Sender: No OFD packet to send [06:32:40]OFD Sender: No OFD packet to send [06:32:45]OFD Sender: No OFD packet to send [06:32:50]OFD Sender: No OFD packet to send [06:32:55]OFD Sender: No OFD packet to send [06:33:00]OFD Sender: No OFD packet to send [06:33:05]OFD Sender: No OFD packet to send [06:33:10]OFD Sender: No OFD packet to send [06:33:15]OFD Sender: No OFD packet to send [06:33:20]OFD Sender: No OFD packet to send [06:33:25]OFD Sender: No OFD packet to send [06:33:30]OFD Sender: No OFD packet to send [06:33:35]OFD Sender: No OFD packet to send [06:33:40]OFD Sender: No OFD packet to send [06:33:45]OFD Sender: No OFD packet to send [06:33:50]OFD Sender: No OFD packet to send [06:33:55]OFD Sender: No OFD packet to send [06:34:00]OFD Sender: No OFD packet to send [06:34:05]OFD Sender: No OFD packet to send [06:34:10]OFD Sender: No OFD packet to send [06:34:15]OFD Sender: No OFD packet to send [06:34:20]OFD Sender: No OFD packet to send [06:34:25]OFD Sender: No OFD packet to send [06:34:30]OFD Sender: No OFD packet to send [06:34:35]OFD Sender: No OFD packet to send [06:34:40]OFD Sender: No OFD packet to send [06:34:45]OFD Sender: No OFD packet to send [06:34:50]OFD Sender: No OFD packet to send [06:34:55]OFD Sender: No OFD packet to send [06:35:00]OFD Sender: No OFD packet to send [06:35:05]OFD Sender: No OFD packet to send [06:35:10]OFD Sender: No OFD packet to send [06:35:15]OFD Sender: No OFD packet to send [06:35:20]OFD Sender: No OFD packet to send [06:35:25]OFD Sender: No OFD packet to send [06:35:30]OFD Sender: No OFD packet to send [06:35:35]OFD Sender: No OFD packet to send [06:35:40]OFD Sender: No OFD packet to send [06:35:45]OFD Sender: No OFD packet to send [06:35:50]OFD Sender: No OFD packet to send [06:35:55]OFD Sender: No OFD packet to send [06:36:00]OFD Sender: No OFD packet to send [06:36:05]OFD Sender: No OFD packet to send [06:36:10]OFD Sender: No OFD packet to send [06:36:15]OFD Sender: No OFD packet to send [06:36:20]OFD Sender: No OFD packet to send [06:36:25]OFD Sender: No OFD packet to send [06:36:30]OFD Sender: No OFD packet to send [06:36:35]OFD Sender: No OFD packet to send [06:36:40]OFD Sender: No OFD packet to send [06:36:45]OFD Sender: No OFD packet to send [06:36:50]OFD Sender: No OFD packet to send [06:36:55]OFD Sender: No OFD packet to send [06:37:00]OFD Sender: No OFD packet to send [06:37:05]OFD Sender: No OFD packet to send [06:37:10]OFD Sender: No OFD packet to send [06:37:15]OFD Sender: No OFD packet to send [06:37:20]OFD Sender: No OFD packet to send [06:37:25]OFD Sender: No OFD packet to send [06:37:30]OFD Sender: No OFD packet to send [06:37:35]OFD Sender: No OFD packet to send [06:37:40]OFD Sender: No OFD packet to send [06:37:45]OFD Sender: No OFD packet to send [06:37:50]OFD Sender: No OFD packet to send [06:37:55]OFD Sender: No OFD packet to send [06:38:00]OFD Sender: No OFD packet to send [06:38:05]OFD Sender: No OFD packet to send [06:38:10]OFD Sender: No OFD packet to send [06:38:15]OFD Sender: No OFD packet to send [06:38:20]OFD Sender: No OFD packet to send [06:38:25]OFD Sender: No OFD packet to send [06:38:30]OFD Sender: No OFD packet to send [06:38:35]OFD Sender: No OFD packet to send [06:38:40]OFD Sender: No OFD packet to send [06:38:45]OFD Sender: No OFD packet to send [06:38:50]OFD Sender: No OFD packet to send [06:38:55]OFD Sender: No OFD packet to send [06:39:00]OFD Sender: No OFD packet to send [06:39:05]OFD Sender: No OFD packet to send [06:39:10]OFD Sender: No OFD packet to send [06:39:15]OFD Sender: No OFD packet to send [06:39:20]OFD Sender: No OFD packet to send [06:39:25]OFD Sender: No OFD packet to send [06:39:30]OFD Sender: No OFD packet to send [06:39:35]OFD Sender: No OFD packet to send [06:39:40]OFD Sender: No OFD packet to send [06:39:45]OFD Sender: No OFD packet to send [06:39:50]OFD Sender: No OFD packet to send [06:39:55]OFD Sender: No OFD packet to send [06:40:00]OFD Sender: No OFD packet to send [06:40:05]OFD Sender: No OFD packet to send [06:40:10]OFD Sender: No OFD packet to send [06:40:15]OFD Sender: No OFD packet to send [06:40:20]OFD Sender: No OFD packet to send [06:40:25]OFD Sender: No OFD packet to send [06:40:30]OFD Sender: No OFD packet to send [06:40:35]OFD Sender: No OFD packet to send [06:40:40]OFD Sender: No OFD packet to send [06:40:45]OFD Sender: No OFD packet to send [06:40:50]OFD Sender: No OFD packet to send [06:40:55]OFD Sender: No OFD packet to send [06:41:00]OFD Sender: No OFD packet to send [06:41:05]OFD Sender: No OFD packet to send [06:41:10]OFD Sender: No OFD packet to send [06:41:15]OFD Sender: No OFD packet to send [06:41:20]OFD Sender: No OFD packet to send [06:41:25]OFD Sender: No OFD packet to send [06:41:30]OFD Sender: No OFD packet to send [06:41:35]OFD Sender: No OFD packet to send [06:41:40]OFD Sender: No OFD packet to send [06:41:45]OFD Sender: No OFD packet to send [06:41:50]OFD Sender: No OFD packet to send [06:41:55]OFD Sender: No OFD packet to send [06:42:00]OFD Sender: No OFD packet to send [06:42:05]OFD Sender: No OFD packet to send [06:42:10]OFD Sender: No OFD packet to send [06:42:15]OFD Sender: No OFD packet to send [06:42:20]OFD Sender: No OFD packet to send [06:42:25]OFD Sender: No OFD packet to send [06:42:30]OFD Sender: No OFD packet to send [06:42:35]OFD Sender: No OFD packet to send [06:42:40]OFD Sender: No OFD packet to send [06:42:45]OFD Sender: No OFD packet to send [06:42:50]OFD Sender: No OFD packet to send [06:42:55]OFD Sender: No OFD packet to send [06:43:00]OFD Sender: No OFD packet to send [06:43:05]OFD Sender: No OFD packet to send [06:43:10]OFD Sender: No OFD packet to send [06:43:15]OFD Sender: No OFD packet to send [06:43:21]OFD Sender: No OFD packet to send [06:43:26]OFD Sender: No OFD packet to send [06:43:31]OFD Sender: No OFD packet to send [06:43:36]OFD Sender: No OFD packet to send [06:43:41]OFD Sender: No OFD packet to send [06:43:46]OFD Sender: No OFD packet to send [06:43:51]OFD Sender: No OFD packet to send [06:43:56]OFD Sender: No OFD packet to send [06:44:01]OFD Sender: No OFD packet to send [06:44:06]OFD Sender: No OFD packet to send [06:44:11]OFD Sender: No OFD packet to send [06:44:16]OFD Sender: No OFD packet to send [06:44:21]OFD Sender: No OFD packet to send [06:44:26]OFD Sender: No OFD packet to send [06:44:31]OFD Sender: No OFD packet to send [06:44:36]OFD Sender: No OFD packet to send [06:44:41]OFD Sender: No OFD packet to send [06:44:46]OFD Sender: No OFD packet to send [06:44:51]OFD Sender: No OFD packet to send [06:44:56]OFD Sender: No OFD packet to send [06:45:01]OFD Sender: No OFD packet to send [06:45:06]OFD Sender: No OFD packet to send [06:45:11]OFD Sender: No OFD packet to send [06:45:16]OFD Sender: No OFD packet to send [06:45:21]OFD Sender: No OFD packet to send [06:45:26]OFD Sender: No OFD packet to send [06:45:31]OFD Sender: No OFD packet to send [06:45:36]OFD Sender: No OFD packet to send [06:45:41]OFD Sender: No OFD packet to send [06:45:46]OFD Sender: No OFD packet to send [06:45:51]OFD Sender: No OFD packet to send [06:45:56]OFD Sender: No OFD packet to send [06:46:01]OFD Sender: No OFD packet to send [06:46:06]OFD Sender: No OFD packet to send [06:46:11]OFD Sender: No OFD packet to send [06:46:16]OFD Sender: No OFD packet to send [06:46:21]OFD Sender: No OFD packet to send [06:46:26]OFD Sender: No OFD packet to send [06:46:31]OFD Sender: No OFD packet to send [06:46:36]OFD Sender: No OFD packet to send [06:46:41]OFD Sender: No OFD packet to send [06:46:46]OFD Sender: No OFD packet to send [06:46:51]OFD Sender: No OFD packet to send [06:46:56]OFD Sender: No OFD packet to send [06:47:01]OFD Sender: No OFD packet to send [06:47:06]OFD Sender: No OFD packet to send [06:47:11]OFD Sender: No OFD packet to send [06:47:16]OFD Sender: No OFD packet to send [06:47:21]OFD Sender: No OFD packet to send [06:47:26]OFD Sender: No OFD packet to send [06:47:31]OFD Sender: No OFD packet to send [06:47:36]OFD Sender: No OFD packet to send [06:47:41]OFD Sender: No OFD packet to send [06:47:46]OFD Sender: No OFD packet to send [06:47:51]OFD Sender: No OFD packet to send [06:47:56]OFD Sender: No OFD packet to send [06:48:01]OFD Sender: No OFD packet to send [06:48:06]OFD Sender: No OFD packet to send [06:48:11]OFD Sender: No OFD packet to send [06:48:16]OFD Sender: No OFD packet to send [06:48:21]OFD Sender: No OFD packet to send [06:48:26]OFD Sender: No OFD packet to send [06:48:31]OFD Sender: No OFD packet to send [06:48:36]OFD Sender: No OFD packet to send [06:48:41]OFD Sender: No OFD packet to send [06:48:46]OFD Sender: No OFD packet to send [06:48:51]OFD Sender: No OFD packet to send [06:48:56]OFD Sender: No OFD packet to send [06:49:01]OFD Sender: No OFD packet to send [06:49:06]OFD Sender: No OFD packet to send [06:49:11]OFD Sender: No OFD packet to send [06:49:16]OFD Sender: No OFD packet to send [06:49:21]OFD Sender: No OFD packet to send [06:49:26]OFD Sender: No OFD packet to send [06:49:31]OFD Sender: No OFD packet to send [06:49:36]OFD Sender: No OFD packet to send [06:49:41]OFD Sender: No OFD packet to send [06:49:46]OFD Sender: No OFD packet to send [06:49:51]OFD Sender: No OFD packet to send [06:49:56]OFD Sender: No OFD packet to send [06:50:01]OFD Sender: No OFD packet to send [06:50:06]OFD Sender: No OFD packet to send [06:50:11]OFD Sender: No OFD packet to send [06:50:16]OFD Sender: No OFD packet to send [06:50:21]OFD Sender: No OFD packet to send [06:50:26]OFD Sender: No OFD packet to send [06:50:31]OFD Sender: No OFD packet to send [06:50:36]OFD Sender: No OFD packet to send [06:50:41]OFD Sender: No OFD packet to send [06:50:46]OFD Sender: No OFD packet to send [06:50:51]OFD Sender: No OFD packet to send [06:50:56]OFD Sender: No OFD packet to send [06:51:01]OFD Sender: No OFD packet to send [06:51:06]OFD Sender: No OFD packet to send [06:51:11]OFD Sender: No OFD packet to send [06:51:16]OFD Sender: No OFD packet to send [06:51:21]OFD Sender: No OFD packet to send [06:51:26]OFD Sender: No OFD packet to send [06:51:31]OFD Sender: No OFD packet to send [06:51:36]OFD Sender: No OFD packet to send [06:51:41]OFD Sender: No OFD packet to send [06:51:46]OFD Sender: No OFD packet to send [06:51:51]OFD Sender: No OFD packet to send [06:51:56]OFD Sender: No OFD packet to send [06:52:01]OFD Sender: No OFD packet to send [06:52:06]OFD Sender: No OFD packet to send [06:52:11]OFD Sender: No OFD packet to send [06:52:16]OFD Sender: No OFD packet to send [06:52:21]OFD Sender: No OFD packet to send [06:52:26]OFD Sender: No OFD packet to send [06:52:31]OFD Sender: No OFD packet to send [06:52:36]OFD Sender: No OFD packet to send [06:52:41]OFD Sender: No OFD packet to send [06:52:46]OFD Sender: No OFD packet to send [06:52:51]OFD Sender: No OFD packet to send [06:52:56]OFD Sender: No OFD packet to send [06:53:01]OFD Sender: No OFD packet to send [06:53:06]OFD Sender: No OFD packet to send [06:53:11]OFD Sender: No OFD packet to send [06:53:16]OFD Sender: No OFD packet to send [06:53:21]OFD Sender: No OFD packet to send [06:53:26]OFD Sender: No OFD packet to send [06:53:31]OFD Sender: No OFD packet to send [06:53:36]OFD Sender: No OFD packet to send [06:53:41]OFD Sender: No OFD packet to send [06:53:46]OFD Sender: No OFD packet to send [06:53:51]OFD Sender: No OFD packet to send [06:53:56]OFD Sender: No OFD packet to send [06:54:01]OFD Sender: No OFD packet to send [06:54:06]OFD Sender: No OFD packet to send [06:54:11]OFD Sender: No OFD packet to send [06:54:16]OFD Sender: No OFD packet to send [06:54:21]OFD Sender: No OFD packet to send [06:54:26]OFD Sender: No OFD packet to send [06:54:31]OFD Sender: No OFD packet to send [06:54:36]OFD Sender: No OFD packet to send [06:54:41]OFD Sender: No OFD packet to send [06:54:46]OFD Sender: No OFD packet to send [06:54:51]OFD Sender: No OFD packet to send [06:54:56]OFD Sender: No OFD packet to send [06:55:01]OFD Sender: No OFD packet to send [06:55:06]OFD Sender: No OFD packet to send [06:55:11]OFD Sender: No OFD packet to send [06:55:16]OFD Sender: No OFD packet to send [06:55:21]OFD Sender: No OFD packet to send [06:55:26]OFD Sender: No OFD packet to send [06:55:31]OFD Sender: No OFD packet to send [06:55:36]OFD Sender: No OFD packet to send [06:55:41]OFD Sender: No OFD packet to send [06:55:46]OFD Sender: No OFD packet to send [06:55:51]OFD Sender: No OFD packet to send [06:55:56]OFD Sender: No OFD packet to send [06:56:01]OFD Sender: No OFD packet to send [06:56:06]OFD Sender: No OFD packet to send [06:56:11]OFD Sender: No OFD packet to send [06:56:16]OFD Sender: No OFD packet to send [06:56:21]OFD Sender: No OFD packet to send [06:56:26]OFD Sender: No OFD packet to send [06:56:31]OFD Sender: No OFD packet to send [06:56:36]OFD Sender: No OFD packet to send [06:56:41]OFD Sender: No OFD packet to send [06:56:46]OFD Sender: No OFD packet to send [06:56:51]OFD Sender: No OFD packet to send [06:56:56]OFD Sender: No OFD packet to send [06:57:01]OFD Sender: No OFD packet to send [06:57:06]OFD Sender: No OFD packet to send [06:57:11]OFD Sender: No OFD packet to send [06:57:16]OFD Sender: No OFD packet to send [06:57:21]OFD Sender: No OFD packet to send [06:57:26]OFD Sender: No OFD packet to send [06:57:31]OFD Sender: No OFD packet to send [06:57:36]OFD Sender: No OFD packet to send [06:57:41]OFD Sender: No OFD packet to send [06:57:46]OFD Sender: No OFD packet to send [06:57:51]OFD Sender: No OFD packet to send [06:57:56]OFD Sender: No OFD packet to send [06:58:01]OFD Sender: No OFD packet to send [06:58:06]OFD Sender: No OFD packet to send [06:58:11]OFD Sender: No OFD packet to send [06:58:16]OFD Sender: No OFD packet to send [06:58:21]OFD Sender: No OFD packet to send [06:58:26]OFD Sender: No OFD packet to send [06:58:31]OFD Sender: No OFD packet to send [06:58:36]OFD Sender: No OFD packet to send [06:58:41]OFD Sender: No OFD packet to send [06:58:46]OFD Sender: No OFD packet to send [06:58:51]OFD Sender: No OFD packet to send [06:58:56]OFD Sender: No OFD packet to send [06:59:01]OFD Sender: No OFD packet to send [06:59:06]OFD Sender: No OFD packet to send [06:59:11]OFD Sender: No OFD packet to send [06:59:16]OFD Sender: No OFD packet to send [06:59:21]OFD Sender: No OFD packet to send [06:59:26]OFD Sender: No OFD packet to send [06:59:31]OFD Sender: No OFD packet to send [06:59:36]OFD Sender: No OFD packet to send [06:59:41]OFD Sender: No OFD packet to send [06:59:46]OFD Sender: No OFD packet to send [06:59:51]OFD Sender: No OFD packet to send [06:59:56]OFD Sender: No OFD packet to send [07:00:01]OFD Sender: No OFD packet to send [07:00:06]OFD Sender: No OFD packet to send [07:00:11]OFD Sender: No OFD packet to send [07:00:16]OFD Sender: No OFD packet to send [07:00:21]OFD Sender: No OFD packet to send [07:00:26]OFD Sender: No OFD packet to send [07:00:31]OFD Sender: No OFD packet to send [07:00:36]OFD Sender: No OFD packet to send [07:00:41]OFD Sender: No OFD packet to send [07:00:46]OFD Sender: No OFD packet to send [07:00:51]OFD Sender: No OFD packet to send [07:00:56]OFD Sender: No OFD packet to send [07:01:01]OFD Sender: No OFD packet to send [07:01:06]OFD Sender: No OFD packet to send [07:01:11]OFD Sender: No OFD packet to send [07:01:16]OFD Sender: No OFD packet to send [07:01:21]OFD Sender: No OFD packet to send [07:01:26]OFD Sender: No OFD packet to send [07:01:31]OFD Sender: No OFD packet to send [07:01:36]OFD Sender: No OFD packet to send [07:01:41]OFD Sender: No OFD packet to send [07:01:46]OFD Sender: No OFD packet to send [07:01:51]OFD Sender: No OFD packet to send [07:01:56]OFD Sender: No OFD packet to send [07:02:01]OFD Sender: No OFD packet to send [07:02:06]OFD Sender: No OFD packet to send [07:02:11]OFD Sender: No OFD packet to send [07:02:16]OFD Sender: No OFD packet to send [07:02:21]OFD Sender: No OFD packet to send [07:02:26]OFD Sender: No OFD packet to send [07:02:31]OFD Sender: No OFD packet to send [07:02:36]OFD Sender: No OFD packet to send [07:02:41]OFD Sender: No OFD packet to send [07:02:46]OFD Sender: No OFD packet to send [07:02:51]OFD Sender: No OFD packet to send [07:02:56]OFD Sender: No OFD packet to send [07:03:01]OFD Sender: No OFD packet to send [07:03:06]OFD Sender: No OFD packet to send [07:03:11]OFD Sender: No OFD packet to send [07:03:16]OFD Sender: No OFD packet to send [07:03:21]OFD Sender: No OFD packet to send [07:03:26]OFD Sender: No OFD packet to send [07:03:31]OFD Sender: No OFD packet to send [07:03:36]OFD Sender: No OFD packet to send [07:03:41]OFD Sender: No OFD packet to send [07:03:46]OFD Sender: No OFD packet to send [07:03:51]OFD Sender: No OFD packet to send [07:03:56]OFD Sender: No OFD packet to send [07:04:01]OFD Sender: No OFD packet to send [07:04:06]OFD Sender: No OFD packet to send [07:04:11]OFD Sender: No OFD packet to send [07:04:16]OFD Sender: No OFD packet to send [07:04:21]OFD Sender: No OFD packet to send [07:04:26]OFD Sender: No OFD packet to send [07:04:31]OFD Sender: No OFD packet to send [07:04:36]OFD Sender: No OFD packet to send [07:04:41]OFD Sender: No OFD packet to send [07:04:46]OFD Sender: No OFD packet to send [07:04:51]OFD Sender: No OFD packet to send [07:04:57]OFD Sender: No OFD packet to send [07:05:02]OFD Sender: No OFD packet to send [07:05:07]OFD Sender: No OFD packet to send [07:05:12]OFD Sender: No OFD packet to send [07:05:17]OFD Sender: No OFD packet to send [07:05:22]OFD Sender: No OFD packet to send [07:05:27]OFD Sender: No OFD packet to send [07:05:32]OFD Sender: No OFD packet to send [07:05:37]OFD Sender: No OFD packet to send [07:05:42]OFD Sender: No OFD packet to send [07:05:47]OFD Sender: No OFD packet to send [07:05:52]OFD Sender: No OFD packet to send [07:05:57]OFD Sender: No OFD packet to send [07:06:02]OFD Sender: No OFD packet to send [07:06:07]OFD Sender: No OFD packet to send [07:06:12]OFD Sender: No OFD packet to send [07:06:17]OFD Sender: No OFD packet to send [07:06:22]OFD Sender: No OFD packet to send [07:06:27]OFD Sender: No OFD packet to send [07:06:32]OFD Sender: No OFD packet to send [07:06:37]OFD Sender: No OFD packet to send [07:06:42]OFD Sender: No OFD packet to send [07:06:47]OFD Sender: No OFD packet to send [07:06:52]OFD Sender: No OFD packet to send [07:06:57]OFD Sender: No OFD packet to send [07:07:02]OFD Sender: No OFD packet to send [07:07:07]OFD Sender: No OFD packet to send [07:07:12]OFD Sender: No OFD packet to send [07:07:17]OFD Sender: No OFD packet to send [07:07:22]OFD Sender: No OFD packet to send [07:07:27]OFD Sender: No OFD packet to send [07:07:32]OFD Sender: No OFD packet to send [07:07:37]OFD Sender: No OFD packet to send [07:07:42]OFD Sender: No OFD packet to send [07:07:47]OFD Sender: No OFD packet to send [07:07:52]OFD Sender: No OFD packet to send [07:07:57]OFD Sender: No OFD packet to send [07:08:02]OFD Sender: No OFD packet to send [07:08:07]OFD Sender: No OFD packet to send [07:08:12]OFD Sender: No OFD packet to send [07:08:17]OFD Sender: No OFD packet to send [07:08:22]OFD Sender: No OFD packet to send [07:08:27]OFD Sender: No OFD packet to send [07:08:32]OFD Sender: No OFD packet to send [07:08:37]OFD Sender: No OFD packet to send [07:08:42]OFD Sender: No OFD packet to send [07:08:47]OFD Sender: No OFD packet to send [07:08:52]OFD Sender: No OFD packet to send [07:08:57]OFD Sender: No OFD packet to send [07:09:02]OFD Sender: No OFD packet to send [07:09:07]OFD Sender: No OFD packet to send [07:09:12]OFD Sender: No OFD packet to send [07:09:17]OFD Sender: No OFD packet to send [07:09:22]OFD Sender: No OFD packet to send [07:09:27]OFD Sender: No OFD packet to send [07:09:32]OFD Sender: No OFD packet to send [07:09:37]OFD Sender: No OFD packet to send [07:09:42]OFD Sender: No OFD packet to send [07:09:47]OFD Sender: No OFD packet to send [07:09:52]OFD Sender: No OFD packet to send [07:09:57]OFD Sender: No OFD packet to send [07:10:02]OFD Sender: No OFD packet to send [07:10:07]OFD Sender: No OFD packet to send [07:10:12]OFD Sender: No OFD packet to send [07:10:17]OFD Sender: No OFD packet to send [07:10:22]OFD Sender: No OFD packet to send [07:10:27]OFD Sender: No OFD packet to send [07:10:32]OFD Sender: No OFD packet to send [07:10:37]OFD Sender: No OFD packet to send [07:10:42]OFD Sender: No OFD packet to send [07:10:47]OFD Sender: No OFD packet to send [07:10:52]OFD Sender: No OFD packet to send [07:10:57]OFD Sender: No OFD packet to send [07:11:02]OFD Sender: No OFD packet to send [07:11:07]OFD Sender: No OFD packet to send [07:11:12]OFD Sender: No OFD packet to send [07:11:17]OFD Sender: No OFD packet to send [07:11:22]OFD Sender: No OFD packet to send [07:11:27]OFD Sender: No OFD packet to send [07:11:32]OFD Sender: No OFD packet to send [07:11:37]OFD Sender: No OFD packet to send [07:11:42]OFD Sender: No OFD packet to send [07:11:47]OFD Sender: No OFD packet to send [07:11:52]OFD Sender: No OFD packet to send [07:11:57]OFD Sender: No OFD packet to send [07:12:02]OFD Sender: No OFD packet to send [07:12:07]OFD Sender: No OFD packet to send [07:12:12]OFD Sender: No OFD packet to send [07:12:17]OFD Sender: No OFD packet to send [07:12:22]OFD Sender: No OFD packet to send [07:12:27]OFD Sender: No OFD packet to send [07:12:32]OFD Sender: No OFD packet to send [07:12:37]OFD Sender: No OFD packet to send [07:12:42]OFD Sender: No OFD packet to send [07:12:47]OFD Sender: No OFD packet to send [07:12:52]OFD Sender: No OFD packet to send [07:12:57]OFD Sender: No OFD packet to send [07:13:02]OFD Sender: No OFD packet to send [07:13:07]OFD Sender: No OFD packet to send [07:13:12]OFD Sender: No OFD packet to send [07:13:17]OFD Sender: No OFD packet to send [07:13:22]OFD Sender: No OFD packet to send [07:13:27]OFD Sender: No OFD packet to send [07:13:32]OFD Sender: No OFD packet to send [07:13:37]OFD Sender: No OFD packet to send [07:13:42]OFD Sender: No OFD packet to send [07:13:47]OFD Sender: No OFD packet to send [07:13:52]OFD Sender: No OFD packet to send [07:13:57]OFD Sender: No OFD packet to send [07:14:02]OFD Sender: No OFD packet to send [07:14:07]OFD Sender: No OFD packet to send [07:14:08]accept exits with 10 [07:14:08]New connection [07:14:08]New thread 3067047268 created [07:14:08]Thread 3066903908 joined [07:14:08]Waiting for new connection... [07:14:08] Sock 10.Parse request [07:14:08]Sock 10.Check first char [07:14:08]Sock 10.First char is OK [07:14:08]request: POST /json_proto HTTP/1.0 [07:14:08]Method: POST [07:14:08]URL: /json_proto [07:14:08]Method is POST - this is cgi request [07:14:08]url: /json_proto [07:14:08]query_string will be loaded in cgi processing [07:14:08]execute_cgi json_proto POST (null) [07:14:08]execute_cgi path=json_proto method=POST [07:14:08]POST find Content-Length [07:14:08]Host: 172.17.62.196:8080 [07:14:08]Content-Length: 1922 [07:14:08]Content-Type: application/json [07:14:08] [07:14:08]POST finish read [07:14:08]Found Content-Length = 1922 [07:14:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16845", "tax_sys" : 0, "items" : [ { "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 77.00, "quantity" : 2.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47803152", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 159.00, "quantity" : 2.000, "sum" : 318.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 2.000, "sum" : 118.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 930.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:14:08]execute_script... [07:14:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16845", "tax_sys" : 0, "items" : [ { "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 77.00, "quantity" : 2.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47803152", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 159.00, "quantity" : 2.000, "sum" : 318.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 2.000, "sum" : 118.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 930.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:14:08]POST & json_proto [07:14:08]process_json_proto [07:14:08]json parsed OK: [07:14:08]protocol is kg_v1.0 [07:14:08]action value=close_receipt [07:14:08]process_action close_receipt [07:14:08]cmd_close_receipt [07:14:08]MH_GetDate [07:14:08]Write to MH i2c: F0 00 00 50 14 53 [07:14:08]Write i2c OK [07:14:08]MH_I2C_Read... [07:14:08]Read from MH i2c: F0 [07:14:08]MH_I2C_Read... [07:14:08]Read from MH i2c: F0 09 00 [07:14:08]MH_I2C_Read... [07:14:08]Read from MH i2c: F0 09 00 50 14 00 45 B8 F3 66 CE CC 0E 66 C0 [07:14:08]GetLastDocTimeStamp 1727241728 [07:14:08]current date 1727248453 [07:14:08]FM_GetShiftState [07:14:08]SAM_PROTO_GetShiftState [07:14:08]wFMCommunicate request_size=4 [07:14:08]MH_SAM_APDU [07:14:08]CAPDU: 80 13 01 00 [07:14:08]Write to MH i2c: E2 08 00 51 14 80 13 01 00 00 00 00 00 E2 [07:14:08]Write i2c OK [07:14:08]MH_I2C_Read... [07:14:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:14:08]Read from MH i2c: E2 [07:14:08]MH_I2C_Read... [07:14:08]Read from MH i2c: E2 0E 00 [07:14:08]MH_I2C_Read... [07:14:08]Read from MH i2c: E2 0E 00 51 14 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 CF [07:14:08]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [07:14:08]wFMCommunicate OK [07:14:08]SAM_PROTO_GetShiftState done [07:14:08]FM_GetShiftState done [07:14:08]opened in 1727223091 [07:14:08]opened+sec_in_day 1727309491 [07:14:08]quantity*price = 9500 [07:14:08]sum+1 = 9501 [07:14:08]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 2.000 * 77.00 = 154.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 47803152 Сигареты Mevius Revo 2.000 * 159.00 = 318.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607065001445 Шок батончик Snickers 50,5г 2.000 * 59.00 = 118.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036240010 Кофе Латте (GABB TRADE) 1.000 * 115.00 = 115.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 930.00 НСП 1% : 8.22 НДС 12% : 98.75 Наличными: 930.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 4 25.09.2024 07:14 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18926 ФПД: 258376444851210 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T071413&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18926&fm=258376444851210&tin=02508201610067®Number=0000000000152968&sum=93000 0 [07:14:09]StoreToDocumentArchive [07:14:09]shift 183 fd 18926 [07:14:09]save to /storage/0183/doc_00018926 [07:14:09]save last doc name /storage/0183/doc_00018926 to /storage/kkm_last_doc_name [07:14:09]save OK [07:14:09]Clear old archive folders... [07:14:09]ProcessDocumentItem done err = 0, tmpTLVsize=833 [07:14:09]tlvbuf is 018BF480 [07:14:09]SAM_PROTO_ClearQueue [07:14:09]wFMCommunicate request_size=4 [07:14:09]MH_SAM_APDU [07:14:09]CAPDU: 80 09 00 00 [07:14:09]Write to MH i2c: E2 08 00 5E 14 80 09 00 00 00 00 00 00 E4 [07:14:09]Write i2c OK [07:14:09]MH_I2C_Read... [07:14:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:14:09]Read from MH i2c: E2 [07:14:09]MH_I2C_Read... [07:14:09]Read from MH i2c: E2 03 00 [07:14:09]MH_I2C_Read... [07:14:09]Read from MH i2c: E2 03 00 5E 14 00 90 00 E6 [07:14:09]RAPDU: 90 00 [07:14:09]wFMCommunicate OK [07:14:09]SAM_PROTO_ClearQueue done [07:14:09]KKMCreateOFDPacket [07:14:09]OFDProtocolAddRootSTLVToBuf [07:14:09]FM_MakeSignedData [07:14:09]FM_MakeSignedData [07:14:09]SAM_PROTO_SignData [07:14:09]wFMCommunicate request_size=4 [07:14:09]MH_SAM_APDU [07:14:09]CAPDU: 80 0D 01 02 [07:14:09]Write to MH i2c: E2 08 00 5F 14 80 0D 01 02 00 00 00 00 EC [07:14:09]Write i2c OK [07:14:09]MH_I2C_Read... [07:14:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:14:09]Read from MH i2c: E2 [07:14:09]MH_I2C_Read... [07:14:09]Read from MH i2c: E2 03 00 [07:14:09]MH_I2C_Read... [07:14:09]Read from MH i2c: E2 03 00 5F 14 00 90 00 E7 [07:14:09]RAPDU: 90 00 [07:14:09]wFMCommunicate OK [07:14:09]wFMCommunicate request_size=255 [07:14:09]MH_SAM_APDU [07:14:09]CAPDU: 80 0D 02 02 FA 03 00 41 03 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 [07:14:10]Write to MH i2c: E2 02 01 60 14 80 0D 02 02 FA 00 03 00 41 03 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 00 00 0F [07:14:10]Write i2c OK [07:14:10]MH_I2C_Read... [07:14:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:14:10]Read from MH i2c: E2 [07:14:10]MH_I2C_Read... [07:14:10]Read from MH i2c: E2 03 00 [07:14:10]MH_I2C_Read... [07:14:10]Read from MH i2c: E2 03 00 60 14 00 90 00 E8 [07:14:10]RAPDU: 90 00 [07:14:10]wFMCommunicate OK [07:14:10]wFMCommunicate request_size=255 [07:14:10]MH_SAM_APDU [07:14:10]CAPDU: 80 0D 02 02 FA 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 18 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 [07:14:10]Write to MH i2c: E2 02 01 61 14 80 0D 02 02 FA 00 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 18 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 00 00 3E [07:14:10]Write i2c OK [07:14:10]MH_I2C_Read... [07:14:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:14:10]Read from MH i2c: E2 [07:14:10]MH_I2C_Read... [07:14:10]Read from MH i2c: E2 03 00 [07:14:10]MH_I2C_Read... [07:14:10]Read from MH i2c: E2 03 00 61 14 00 90 00 E9 [07:14:10]RAPDU: 90 00 [07:14:10]wFMCommunicate OK [07:14:10]wFMCommunicate request_size=255 [07:14:10]MH_SAM_APDU [07:14:10]CAPDU: 80 0D 02 02 FA D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 6B 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 26 00 00 00 00 07 04 06 00 48 6B 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 [07:14:10]Write to MH i2c: E2 02 01 62 14 80 0D 02 02 FA 00 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 6B 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 26 00 00 00 00 07 04 06 00 48 6B 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 00 00 34 [07:14:10]Write i2c OK [07:14:10]MH_I2C_Read... [07:14:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:14:11]Read from MH i2c: E2 [07:14:11]MH_I2C_Read... [07:14:11]Read from MH i2c: E2 03 00 [07:14:11]MH_I2C_Read... [07:14:11]Read from MH i2c: E2 03 00 62 14 00 90 00 EA [07:14:11]RAPDU: 90 00 [07:14:11]wFMCommunicate OK [07:14:11]wFMCommunicate request_size=92 [07:14:11]MH_SAM_APDU [07:14:11]CAPDU: 80 0D 02 02 57 12 04 04 00 04 00 00 00 F4 03 04 00 45 B8 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 EE 49 00 00 35 04 06 00 EA FD F4 36 B4 0A [07:14:11]Write to MH i2c: E2 5F 00 63 14 80 0D 02 02 57 00 12 04 04 00 04 00 00 00 F4 03 04 00 45 B8 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 EE 49 00 00 35 04 06 00 EA FD F4 36 B4 0A 00 00 82 [07:14:11]Write i2c OK [07:14:11]MH_I2C_Read... [07:14:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:14:11]Read from MH i2c: E2 [07:14:11]MH_I2C_Read... [07:14:11]Read from MH i2c: E2 03 00 [07:14:11]MH_I2C_Read... [07:14:11]Read from MH i2c: E2 03 00 63 14 00 90 00 EB [07:14:11]RAPDU: 90 00 [07:14:11]wFMCommunicate OK [07:14:11]wFMCommunicate request_size=4 [07:14:11]MH_SAM_APDU [07:14:11]CAPDU: 80 0D 03 02 [07:14:11]Write to MH i2c: E2 08 00 64 14 80 0D 03 02 00 00 00 00 F3 [07:14:11]Write i2c OK [07:14:11]MH_I2C_Read... [07:14:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:14:11]Read from MH i2c: E2 [07:14:11]MH_I2C_Read... [07:14:11]Read from MH i2c: E2 0B 00 [07:14:11]MH_I2C_Read... [07:14:11]Read from MH i2c: E2 0B 00 64 14 00 54 EB 71 D5 3C 42 1E 0A 90 00 1F [07:14:11]RAPDU: 54 EB 71 D5 3C 42 1E 0A 90 00 [07:14:11]wFMCommunicate OK [07:14:11]SAM_PROTO_SignData done [07:14:11]FM_MakeSignedData done [07:14:11]CreateOFDProtocolMessage [07:14:11]wFMCommunicate request_size=4 [07:14:11]MH_SAM_APDU [07:14:11]CAPDU: 80 11 00 00 [07:14:11]Write to MH i2c: E2 08 00 65 14 80 11 00 00 00 00 00 00 F3 [07:14:11]Write i2c OK [07:14:11]MH_I2C_Read... [07:14:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:14:11]Read from MH i2c: E2 [07:14:11]MH_I2C_Read... [07:14:11]Read from MH i2c: E2 17 00 [07:14:11]MH_I2C_Read... [07:14:11]Read from MH i2c: E2 17 00 65 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 4C [07:14:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [07:14:11]wFMCommunicate OK [07:14:11]CreateOFDProtocolMessage done [07:14:11]OFDSenderStorePacket 18926 [07:14:11]StoreOFDPacket docnum=18926 [07:14:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 55 03 00 00 8F C8 4D 03 A6 33 5A 03 01 00 03 00 41 03 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 18 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 6B 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 26 00 00 00 00 07 04 06 00 48 6B 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 45 B8 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 EE 49 00 00 35 04 06 00 EA FD F4 36 B4 0A 54 EB 71 D5 3C 42 1E 0A [07:14:11]CheckFolder [07:14:11]dirname=/storage/ofd_packets [07:14:11]CheckFolder done [07:14:11]ProducePacketName [07:14:11]name=ofd_packets/00018926 [07:14:11]NVStorageSaveData ofd_packets/00018926 [07:14:11]File name is /storage/ofd_packets/00018926 [07:14:11]Write 883 bytes [07:14:11]NVStorageSaveData done [07:14:11]OFDSenderStorePacket done [07:14:11]KKMCreateOFDPacket done [07:14:11]NVStorageSaveData kkm_last_timestamp [07:14:11]File name is /storage/kkm_last_timestamp [07:14:11]Write 4 bytes [07:14:11]NVStorageSaveData done [07:14:11]ExternCall_PrintAddStr [07:14:11]wPrintStart [07:14:11]Write to MH i2c: 01 00 00 66 14 7A [07:14:11]Write i2c OK [07:14:11]MH_I2C_Read... [07:14:11]Read from MH i2c: 01 [07:14:11]MH_I2C_Read... [07:14:11]Read from MH i2c: 01 07 00 [07:14:11]MH_I2C_Read... [07:14:11]Read from MH i2c: 01 07 00 66 14 00 00 00 00 00 FF 0F 8F [07:14:11]RasterBufferAndPrint [07:14:11]line Счет N : (3)16845 [07:14:11]line ИНН: 02508201610067 [07:14:11]line Контрольно-Кассовый Чек [07:14:11]line ПРОДАЖА [07:14:11]line Товар: 4700000481453 [07:14:11]line Напиток энерг Nitro Max 0,45 ж/б [07:14:11]line 1.000 * 95.00 [07:14:11]line = 95.00 [07:14:11]line НДС 12% НСП 1% [07:14:11]line > о реализуемом товаре [07:14:11]line Товар: 4700000480050 [07:14:11]line Напиток Nitro Energy эн green ж/б 0,45л [07:14:11]line 2.000 * 77.00 [07:14:11]line = 154.00 [07:14:11]line НДС 12% НСП 1% [07:14:11]line > о реализуемом товаре [07:14:11]line Товар: 47803152 [07:14:11]line Сигареты Mevius Revo [07:14:11]line 2.000 * 159.00 [07:14:11]line = 318.00 [07:14:11]line НДС 12% НСП 1% [07:14:11]line > о реализуемом товаре [07:14:11]line Товар: 4607065001445 [07:14:11]line Шок батончик Snickers 50,5г [07:14:11]line 2.000 * 59.00 [07:14:11]line = 118.00 [07:14:11]line НДС 12% НСП 1% [07:14:11]line > о реализуемом товаре [07:14:11]line Товар: 2000036220012 [07:14:11]line Кофе Капучино XL(GABB TRADE) [07:14:11]line 1.000 * 130.00 [07:14:11]line = 130.00 [07:14:11]line НДС 12% НСП 1% [07:14:11]line > о реализуемом товаре [07:14:11]line Товар: 2000036240010 [07:14:11]line Кофе Латте (GABB TRADE) [07:14:11]line 1.000 * 115.00 [07:14:11]line = 115.00 [07:14:11]line НДС 12% НСП 1% [07:14:11]line > о реализуемом товаре [07:14:11]line ИТОГО: 930.00 [07:14:11]line НСП 1% : 8.22 [07:14:11]line НДС 12% : 98.75 [07:14:11]line Наличными: 930.00 [07:14:11]line Безнал.: 0.00 [07:14:11]line Место: АЗС № 176 "Партнер Нефть" [07:14:11]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [07:14:11]line СНО: Общий режим [07:14:11]line Чек 4 25.09.2024 07:14 [07:14:11]line Смена: 183 ФФД: 1.0 [07:14:11]line ЗНМ: 0300000010 [07:14:11]line РНМ: 0000000000152968 [07:14:11]line Версия ККМ: v1.0 [07:14:11]line ФМ: 0000000000959456 [07:14:11]line ФД: 18926 [07:14:11]line ФПД: 258376444851210 [07:14:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T071413&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18926&fm=258376444851210&tin=02508201610067®Number=0000000000152968&sum=93000 [07:14:11]line 0 [07:14:11]OFD Sender: Processing packet 18926 [packets to send 7, broken 6] [07:14:11]ProducePacketName [07:14:11]name=ofd_packets/00018926 [07:14:11]OFD Sender: To server: pG, [07:14:11]CommunicateWithHost lk.salyk.kg:30040 [07:14:11]ConnectInit lk.salyk.kg [07:14:11]written 0, free lines is 4095 [07:14:11]Connected sock=9 [07:14:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 55 03 00 00 8F C8 4D 03 A6 33 5A 03 01 00 03 00 41 03 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 18 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 6B 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 26 00 00 00 00 07 04 06 00 48 6B 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 45 B8 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 EE 49 00 00 35 04 06 00 EA FD F4 36 B4 0A 54 EB 71 D5 3C 42 1E 0A [07:14:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 99 EA 47 00 FD 08 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 EE 49 00 00 F4 03 04 00 A4 61 F3 66 B6 04 01 00 00 8E 4C A3 6F 4A B5 3C C1 [07:14:12]CommunicateWithHost err = 0 [07:14:12]CheckOFDResponse [07:14:12]1017 (14) - 77093643461234 [07:14:12]1041 (16) - 0000000000959456 [07:14:12]1040 (4) - 18926 [07:14:12]1012 (4) - 25.09.2024 01:04 [07:14:12]1206 (1) - 0 [07:14:12]OFD Sender: Remove packet 18926 [07:14:12]ProducePacketName [07:14:12]name=ofd_packets/00018926 [07:14:12]NVStorageDeleteData [07:14:12]Write to MH i2c: 01 00 00 AF 14 C3 [07:14:12]Write i2c OK [07:14:12]MH_I2C_Read... [07:14:12]Read from MH i2c: 01 [07:14:12]MH_I2C_Read... [07:14:12]Read from MH i2c: 01 07 00 [07:14:12]MH_I2C_Read... [07:14:12]Read from MH i2c: 01 07 00 AF 14 00 00 00 00 00 6A 0B 3F [07:14:12]RasterBufferAndPrint [07:14:12]line [07:14:12]line [07:14:12]line [07:14:12]line [07:14:12]line [07:14:12]written 0, free lines is 2932 [07:14:12]MH_Cut [07:14:12]Write to MH i2c: D1 01 00 B6 14 01 9C [07:14:12]Write i2c OK [07:14:12]MH_I2C_Read... [07:14:12]Read from MH i2c: D1 [07:14:12]MH_I2C_Read... [07:14:12]Read from MH i2c: D1 01 00 [07:14:12]MH_I2C_Read... [07:14:12]Read from MH i2c: D1 01 00 B6 14 00 9B [07:14:12]Write to MH i2c: 01 00 00 B7 14 CB [07:14:12]Write i2c OK [07:14:12]MH_I2C_Read... [07:14:12]OFD Sender: No OFD packet to send [07:14:13]*** Cut start [07:14:13]*** Partial cut [07:14:13]*** CUTSNS_PIN = 1 [07:14:13]*** CUTSNS_PIN = 0 [07:14:13]*** Brake cut motor [07:14:13]Read from MH i2c: 01 [07:14:13]MH_I2C_Read... [07:14:13]*** Stop cut motor [07:14:13]*** Cut end [07:14:13]Read from MH i2c: 01 07 00 [07:14:13]MH_I2C_Read... [07:14:13]Read from MH i2c: 01 07 00 B7 14 00 00 00 00 00 FF 0F E0 [07:14:13]process_action close_receipt done [07:14:13]requested_data is exist [07:14:13]produce_requested_data [07:14:13]requested_item fm.sn is exist - process it [07:14:13]wFMCommunicate request_size=4 [07:14:13]MH_SAM_APDU [07:14:13]CAPDU: 80 11 00 00 [07:14:13]Write to MH i2c: E2 08 00 B8 14 80 11 00 00 00 00 00 00 46 [07:14:13]Write i2c OK [07:14:13]MH_I2C_Read... [07:14:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:14:13]Read from MH i2c: E2 [07:14:13]MH_I2C_Read... [07:14:13]Read from MH i2c: E2 17 00 [07:14:13]MH_I2C_Read... [07:14:13]Read from MH i2c: E2 17 00 B8 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 9F [07:14:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [07:14:13]wFMCommunicate OK [07:14:13]requested_item fd.num is exist - process it [07:14:13]SAM_PROTO_GetFieldsCounters [07:14:13]wFMCommunicate request_size=4 [07:14:13]MH_SAM_APDU [07:14:13]CAPDU: 80 13 00 00 [07:14:13]Write to MH i2c: E2 08 00 B9 14 80 13 00 00 00 00 00 00 49 [07:14:13]Write i2c OK [07:14:13]MH_I2C_Read... [07:14:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:14:14]Read from MH i2c: E2 [07:14:14]MH_I2C_Read... [07:14:14]Read from MH i2c: E2 62 00 [07:14:14]MH_I2C_Read... [07:14:14]Read from MH i2c: E2 62 00 B9 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 EE 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 70 [07:14:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 EE 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:14:14]wFMCommunicate OK [07:14:14]SAM_PROTO_GetFieldsCounters done [07:14:14]requested_item shift.num is exist - process it [07:14:14]requested_item shift.opened is exist - process it [07:14:14]req_shift_opened [07:14:14]FM_GetShiftState [07:14:14]SAM_PROTO_GetShiftState [07:14:14]wFMCommunicate request_size=4 [07:14:14]MH_SAM_APDU [07:14:14]CAPDU: 80 13 01 00 [07:14:14]Write to MH i2c: E2 08 00 BA 14 80 13 01 00 00 00 00 00 4B [07:14:14]Write i2c OK [07:14:14]MH_I2C_Read... [07:14:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:14:14]Read from MH i2c: E2 [07:14:14]MH_I2C_Read... [07:14:14]Read from MH i2c: E2 0E 00 [07:14:14]MH_I2C_Read... [07:14:14]Read from MH i2c: E2 0E 00 BA 14 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 38 [07:14:14]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [07:14:14]wFMCommunicate OK [07:14:14]SAM_PROTO_GetShiftState done [07:14:14]FM_GetShiftState done [07:14:14]req_shift_opened done [07:14:14]requested_item shift.open_date is exist - process it [07:14:14]req_shift_open_date [07:14:14]req_shift_open_date done [07:14:14]produce_requested_data done [07:14:14]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18926,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [07:14:14]process_action_free close_receipt [07:14:14]json_value_free [07:14:14]json_value_free done [07:14:14]process_json_proto returns [07:14:14]Send response to host [07:14:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18926,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [07:14:14]free response buf [07:14:14]execute_script done [07:14:14]execute_script returns [07:14:14]free content buf [07:14:14]Sock 10.Close socket [07:14:14]Sock 10.Thread stoped [07:14:17]OFD Sender: No OFD packet to send [07:14:22]OFD Sender: No OFD packet to send [07:14:27]OFD Sender: No OFD packet to send [07:14:32]OFD Sender: No OFD packet to send [07:14:37]OFD Sender: No OFD packet to send [07:14:42]OFD Sender: No OFD packet to send [07:14:47]OFD Sender: No OFD packet to send [07:14:52]OFD Sender: No OFD packet to send [07:14:57]OFD Sender: No OFD packet to send [07:15:02]OFD Sender: No OFD packet to send [07:15:07]OFD Sender: No OFD packet to send [07:15:12]OFD Sender: No OFD packet to send [07:15:17]OFD Sender: No OFD packet to send [07:15:22]OFD Sender: No OFD packet to send [07:15:27]OFD Sender: No OFD packet to send [07:15:32]OFD Sender: No OFD packet to send [07:15:37]OFD Sender: No OFD packet to send [07:15:42]OFD Sender: No OFD packet to send [07:15:47]OFD Sender: No OFD packet to send [07:15:52]OFD Sender: No OFD packet to send [07:15:57]OFD Sender: No OFD packet to send [07:16:02]OFD Sender: No OFD packet to send [07:16:07]OFD Sender: No OFD packet to send [07:16:12]OFD Sender: No OFD packet to send [07:16:17]OFD Sender: No OFD packet to send [07:16:22]OFD Sender: No OFD packet to send [07:16:27]OFD Sender: No OFD packet to send [07:16:32]OFD Sender: No OFD packet to send [07:16:37]OFD Sender: No OFD packet to send [07:16:42]OFD Sender: No OFD packet to send [07:16:47]OFD Sender: No OFD packet to send [07:16:52]OFD Sender: No OFD packet to send [07:16:57]OFD Sender: No OFD packet to send [07:17:02]OFD Sender: No OFD packet to send [07:17:07]OFD Sender: No OFD packet to send [07:17:12]OFD Sender: No OFD packet to send [07:17:17]OFD Sender: No OFD packet to send [07:17:22]OFD Sender: No OFD packet to send [07:17:27]OFD Sender: No OFD packet to send [07:17:32]OFD Sender: No OFD packet to send [07:17:37]OFD Sender: No OFD packet to send [07:17:42]OFD Sender: No OFD packet to send [07:17:47]OFD Sender: No OFD packet to send [07:17:52]OFD Sender: No OFD packet to send [07:17:57]OFD Sender: No OFD packet to send [07:18:02]OFD Sender: No OFD packet to send [07:18:07]OFD Sender: No OFD packet to send [07:18:12]OFD Sender: No OFD packet to send [07:18:17]OFD Sender: No OFD packet to send [07:18:22]OFD Sender: No OFD packet to send [07:18:27]OFD Sender: No OFD packet to send [07:18:32]accept exits with 8 [07:18:32]New connection [07:18:32]New thread 3066903908 created [07:18:32]Thread 3067047268 joined [07:18:32]Waiting for new connection... [07:18:32] Sock 8.Parse request [07:18:32]Sock 8.Check first char [07:18:32]Sock 8.First char is OK [07:18:32]request: POST /json_proto HTTP/1.0 [07:18:32]Method: POST [07:18:32]URL: /json_proto [07:18:32]Method is POST - this is cgi request [07:18:32]url: /json_proto [07:18:32]query_string will be loaded in cgi processing [07:18:32]execute_cgi json_proto POST (null) [07:18:32]execute_cgi path=json_proto method=POST [07:18:32]POST find Content-Length [07:18:32]Host: 172.17.62.196:8080 [07:18:32]Content-Length: 613 [07:18:32]Content-Type: application/json [07:18:32] [07:18:32]POST finish read [07:18:32]Found Content-Length = 613 [07:18:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16846", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:18:32]execute_script... [07:18:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16846", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:18:32]POST & json_proto [07:18:32]process_json_proto [07:18:32]json parsed OK: [07:18:32]protocol is kg_v1.0 [07:18:32]action value=close_receipt [07:18:32]process_action close_receipt [07:18:32]cmd_close_receipt [07:18:32]MH_GetDate [07:18:32]Write to MH i2c: F0 00 00 BB 14 BE [07:18:32]Write i2c OK [07:18:32]MH_I2C_Read... [07:18:32]Read from MH i2c: F0 [07:18:32]MH_I2C_Read... [07:18:32]Read from MH i2c: F0 09 00 [07:18:32]MH_I2C_Read... [07:18:32]Read from MH i2c: F0 09 00 BB 14 00 4D B9 F3 66 CE CC 0E 66 34 [07:18:32]GetLastDocTimeStamp 1727248453 [07:18:32]current date 1727248717 [07:18:32]FM_GetShiftState [07:18:32]SAM_PROTO_GetShiftState [07:18:32]wFMCommunicate request_size=4 [07:18:32]MH_SAM_APDU [07:18:32]CAPDU: 80 13 01 00 [07:18:32]Write to MH i2c: E2 08 00 BC 14 80 13 01 00 00 00 00 00 4D [07:18:32]Write i2c OK [07:18:32]MH_I2C_Read... [07:18:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:18:32]Read from MH i2c: E2 [07:18:32]MH_I2C_Read... [07:18:32]Read from MH i2c: E2 0E 00 [07:18:32]MH_I2C_Read... [07:18:32]Read from MH i2c: E2 0E 00 BC 14 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 3A [07:18:32]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [07:18:32]wFMCommunicate OK [07:18:32]SAM_PROTO_GetShiftState done [07:18:32]FM_GetShiftState done [07:18:32]opened in 1727223091 [07:18:32]opened+sec_in_day 1727309491 [07:18:32]quantity*price = 11000 [07:18:32]sum+1 = 11001 [07:18:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 5 25.09.2024 07:18 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18927 ФПД: 21787770510567 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T071837&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18927&fm=21787770510567&tin=02508201610067®Number=0000000000152968&sum=11000 0 [07:18:33]StoreToDocumentArchive [07:18:33]shift 183 fd 18927 [07:18:33]save to /storage/0183/doc_00018927 [07:18:33]save last doc name /storage/0183/doc_00018927 to /storage/kkm_last_doc_name [07:18:33]save OK [07:18:33]Clear old archive folders... [07:18:33]ProcessDocumentItem done err = 0, tmpTLVsize=266 [07:18:33]tlvbuf is B6F6C360 [07:18:33]SAM_PROTO_ClearQueue [07:18:33]wFMCommunicate request_size=4 [07:18:33]MH_SAM_APDU [07:18:33]CAPDU: 80 09 00 00 [07:18:33]Write to MH i2c: E2 08 00 C9 14 80 09 00 00 00 00 00 00 4F [07:18:33]Write i2c OK [07:18:33]MH_I2C_Read... [07:18:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:18:33]Read from MH i2c: E2 [07:18:33]MH_I2C_Read... [07:18:33]Read from MH i2c: E2 03 00 [07:18:33]MH_I2C_Read... [07:18:33]Read from MH i2c: E2 03 00 C9 14 00 90 00 51 [07:18:33]RAPDU: 90 00 [07:18:33]wFMCommunicate OK [07:18:33]SAM_PROTO_ClearQueue done [07:18:33]KKMCreateOFDPacket [07:18:33]OFDProtocolAddRootSTLVToBuf [07:18:33]FM_MakeSignedData [07:18:33]FM_MakeSignedData [07:18:33]SAM_PROTO_SignData [07:18:33]wFMCommunicate request_size=4 [07:18:33]MH_SAM_APDU [07:18:33]CAPDU: 80 0D 01 02 [07:18:33]Write to MH i2c: E2 08 00 CA 14 80 0D 01 02 00 00 00 00 57 [07:18:33]Write i2c OK [07:18:33]MH_I2C_Read... [07:18:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:18:33]Read from MH i2c: E2 [07:18:33]MH_I2C_Read... [07:18:33]Read from MH i2c: E2 03 00 [07:18:33]MH_I2C_Read... [07:18:33]Read from MH i2c: E2 03 00 CA 14 00 90 00 52 [07:18:33]RAPDU: 90 00 [07:18:33]wFMCommunicate OK [07:18:33]wFMCommunicate request_size=255 [07:18:33]MH_SAM_APDU [07:18:33]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 4D B9 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 [07:18:33]Write to MH i2c: E2 02 01 CB 14 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 4D B9 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 00 00 F2 [07:18:33]Write i2c OK [07:18:33]MH_I2C_Read... [07:18:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:18:33]Read from MH i2c: E2 [07:18:33]MH_I2C_Read... [07:18:33]Read from MH i2c: E2 03 00 [07:18:33]MH_I2C_Read... [07:18:33]Read from MH i2c: E2 03 00 CB 14 00 90 00 53 [07:18:33]RAPDU: 90 00 [07:18:33]wFMCommunicate OK [07:18:33]wFMCommunicate request_size=25 [07:18:33]MH_SAM_APDU [07:18:33]CAPDU: 80 0D 02 02 14 35 36 10 04 04 00 EF 49 00 00 35 04 06 00 13 D0 DC 52 5C E7 [07:18:33]Write to MH i2c: E2 1C 00 CC 14 80 0D 02 02 14 00 35 36 10 04 04 00 EF 49 00 00 35 04 06 00 13 D0 DC 52 5C E7 00 00 D0 [07:18:33]Write i2c OK [07:18:33]MH_I2C_Read... [07:18:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:18:33]Read from MH i2c: E2 [07:18:33]MH_I2C_Read... [07:18:33]Read from MH i2c: E2 03 00 [07:18:33]MH_I2C_Read... [07:18:33]Read from MH i2c: E2 03 00 CC 14 00 90 00 54 [07:18:33]RAPDU: 90 00 [07:18:33]wFMCommunicate OK [07:18:33]wFMCommunicate request_size=4 [07:18:33]MH_SAM_APDU [07:18:33]CAPDU: 80 0D 03 02 [07:18:33]Write to MH i2c: E2 08 00 CD 14 80 0D 03 02 00 00 00 00 5C [07:18:33]Write i2c OK [07:18:33]MH_I2C_Read... [07:18:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:18:33]Read from MH i2c: E2 [07:18:33]MH_I2C_Read... [07:18:33]Read from MH i2c: E2 0B 00 [07:18:33]MH_I2C_Read... [07:18:33]Read from MH i2c: E2 0B 00 CD 14 00 7E 89 76 FE CF B1 89 C4 90 00 A5 [07:18:33]RAPDU: 7E 89 76 FE CF B1 89 C4 90 00 [07:18:33]wFMCommunicate OK [07:18:33]SAM_PROTO_SignData done [07:18:33]FM_MakeSignedData done [07:18:33]CreateOFDProtocolMessage [07:18:33]wFMCommunicate request_size=4 [07:18:33]MH_SAM_APDU [07:18:33]CAPDU: 80 11 00 00 [07:18:33]Write to MH i2c: E2 08 00 CE 14 80 11 00 00 00 00 00 00 5C [07:18:33]Write i2c OK [07:18:33]MH_I2C_Read... [07:18:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:18:33]Read from MH i2c: E2 [07:18:33]MH_I2C_Read... [07:18:33]Read from MH i2c: E2 17 00 [07:18:33]MH_I2C_Read... [07:18:33]Read from MH i2c: E2 17 00 CE 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 B5 [07:18:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [07:18:33]wFMCommunicate OK [07:18:33]CreateOFDProtocolMessage done [07:18:33]OFDSenderStorePacket 18927 [07:18:33]StoreOFDPacket docnum=18927 [07:18:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 1E 01 00 00 A1 AF 16 01 79 D8 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 4D B9 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 EF 49 00 00 35 04 06 00 13 D0 DC 52 5C E7 7E 89 76 FE CF B1 89 C4 [07:18:33]CheckFolder [07:18:33]dirname=/storage/ofd_packets [07:18:33]CheckFolder done [07:18:33]ProducePacketName [07:18:33]name=ofd_packets/00018927 [07:18:33]NVStorageSaveData ofd_packets/00018927 [07:18:33]File name is /storage/ofd_packets/00018927 [07:18:33]Write 316 bytes [07:18:33]NVStorageSaveData done [07:18:33]OFDSenderStorePacket done [07:18:33]KKMCreateOFDPacket done [07:18:33]NVStorageSaveData kkm_last_timestamp [07:18:33]File name is /storage/kkm_last_timestamp [07:18:33]Write 4 bytes [07:18:33]NVStorageSaveData done [07:18:33]ExternCall_PrintAddStr [07:18:33]wPrintStart [07:18:33]Write to MH i2c: 01 00 00 CF 14 E3 [07:18:33]Write i2c OK [07:18:33]MH_I2C_Read... [07:18:33]Read from MH i2c: 01 [07:18:33]MH_I2C_Read... [07:18:33]Read from MH i2c: 01 07 00 [07:18:33]MH_I2C_Read... [07:18:33]Read from MH i2c: 01 07 00 CF 14 00 00 00 00 00 FF 0F F8 [07:18:33]RasterBufferAndPrint [07:18:33]line Счет N : (3)16846 [07:18:33]line ИНН: 02508201610067 [07:18:33]line Контрольно-Кассовый Чек [07:18:33]line ПРОДАЖА [07:18:33]line Товар: 4870001570071 [07:18:33]line Напиток Pepsi 1л [07:18:33]line 1.000 * 110.00 [07:18:33]line = 110.00 [07:18:33]line НДС 12% НСП 1% [07:18:33]line > о реализуемом товаре [07:18:33]line ИТОГО: 110.00 [07:18:33]line НСП 1% : 0.97 [07:18:33]line НДС 12% : 11.68 [07:18:33]line Наличными: 110.00 [07:18:33]line Безнал.: 0.00 [07:18:33]line Место: АЗС № 176 "Партнер Нефть" [07:18:33]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [07:18:33]line СНО: Общий режим [07:18:33]line Чек 5 25.09.2024 07:18 [07:18:33]line Смена: 183 ФФД: 1.0 [07:18:33]line ЗНМ: 0300000010 [07:18:33]line РНМ: 0000000000152968 [07:18:33]line Версия ККМ: v1.0 [07:18:33]line ФМ: 0000000000959456 [07:18:33]line ФД: 18927 [07:18:33]line ФПД: 21787770510567 [07:18:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T071837&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18927&fm=21787770510567&tin=02508201610067®Number=0000000000152968&sum=11000 [07:18:34]line 0 [07:18:34]OFD Sender: Processing packet 18927 [packets to send 7, broken 6] [07:18:34]ProducePacketName [07:18:34]name=ofd_packets/00018927 [07:18:34]OFD Sender: To server: pG, [07:18:34]CommunicateWithHost lk.salyk.kg:30040 [07:18:34]ConnectInit lk.salyk.kg [07:18:34]written 0, free lines is 4095 [07:18:34]Connected sock=10 [07:18:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 1E 01 00 00 A1 AF 16 01 79 D8 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 4D B9 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 EF 49 00 00 35 04 06 00 13 D0 DC 52 5C E7 7E 89 76 FE CF B1 89 C4 [07:18:34]Write to MH i2c: 01 00 00 F7 14 0B [07:18:34]Write i2c OK [07:18:34]MH_I2C_Read... [07:18:34]Read from MH i2c: 01 [07:18:34]MH_I2C_Read... [07:18:34]Read from MH i2c: 01 07 00 [07:18:34]MH_I2C_Read... [07:18:34]Read from MH i2c: 01 07 00 F7 14 00 00 00 00 00 05 0D 24 [07:18:34]RasterBufferAndPrint [07:18:34]line [07:18:34]line [07:18:34]line [07:18:34]line [07:18:34]line [07:18:34]written 0, free lines is 3339 [07:18:34]MH_Cut [07:18:34]Write to MH i2c: D1 01 00 FE 14 01 E4 [07:18:34]Write i2c OK [07:18:34]MH_I2C_Read... [07:18:34]Read from MH i2c: D1 [07:18:34]MH_I2C_Read... [07:18:34]Read from MH i2c: D1 01 00 [07:18:34]MH_I2C_Read... [07:18:34]Read from MH i2c: D1 01 00 FE 14 00 E3 [07:18:34]Write to MH i2c: 01 00 00 FF 14 13 [07:18:34]Write i2c OK [07:18:34]MH_I2C_Read... [07:18:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 22 FB 47 00 01 99 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 EF 49 00 00 F4 03 04 00 AB 62 F3 66 B6 04 01 00 00 23 F4 2F 6D 00 7D D9 62 [07:18:34]CommunicateWithHost err = 0 [07:18:34]CheckOFDResponse [07:18:34]1017 (14) - 77093643461234 [07:18:34]1041 (16) - 0000000000959456 [07:18:34]1040 (4) - 18927 [07:18:34]1012 (4) - 25.09.2024 01:08 [07:18:34]1206 (1) - 0 [07:18:34]OFD Sender: Remove packet 18927 [07:18:34]ProducePacketName [07:18:34]name=ofd_packets/00018927 [07:18:34]NVStorageDeleteData [07:18:35]OFD Sender: No OFD packet to send [07:18:35]*** Cut start [07:18:35]*** Partial cut [07:18:35]*** CUTSNS_PIN = 1 [07:18:35]*** CUTSNS_PIN = 0 [07:18:35]*** Brake cut motor [07:18:35]Read from MH i2c: 01 [07:18:35]MH_I2C_Read... [07:18:35]*** Stop cut motor [07:18:35]*** Cut end [07:18:35]Read from MH i2c: 01 07 00 [07:18:35]MH_I2C_Read... [07:18:35]Read from MH i2c: 01 07 00 FF 14 00 00 00 00 00 FF 0F 28 [07:18:35]process_action close_receipt done [07:18:35]requested_data is exist [07:18:35]produce_requested_data [07:18:35]requested_item fm.sn is exist - process it [07:18:35]wFMCommunicate request_size=4 [07:18:35]MH_SAM_APDU [07:18:35]CAPDU: 80 11 00 00 [07:18:35]Write to MH i2c: E2 08 00 00 15 80 11 00 00 00 00 00 00 8F [07:18:35]Write i2c OK [07:18:35]MH_I2C_Read... [07:18:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:18:35]Read from MH i2c: E2 [07:18:35]MH_I2C_Read... [07:18:35]Read from MH i2c: E2 17 00 [07:18:35]MH_I2C_Read... [07:18:35]Read from MH i2c: E2 17 00 00 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 E8 [07:18:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [07:18:35]wFMCommunicate OK [07:18:35]requested_item fd.num is exist - process it [07:18:35]SAM_PROTO_GetFieldsCounters [07:18:35]wFMCommunicate request_size=4 [07:18:35]MH_SAM_APDU [07:18:35]CAPDU: 80 13 00 00 [07:18:35]Write to MH i2c: E2 08 00 01 15 80 13 00 00 00 00 00 00 92 [07:18:35]Write i2c OK [07:18:35]MH_I2C_Read... [07:18:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:18:36]Read from MH i2c: E2 [07:18:36]MH_I2C_Read... [07:18:36]Read from MH i2c: E2 62 00 [07:18:36]MH_I2C_Read... [07:18:36]Read from MH i2c: E2 62 00 01 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 EF 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 BD [07:18:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 EF 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:18:36]wFMCommunicate OK [07:18:36]SAM_PROTO_GetFieldsCounters done [07:18:36]requested_item shift.num is exist - process it [07:18:36]requested_item shift.opened is exist - process it [07:18:36]req_shift_opened [07:18:36]FM_GetShiftState [07:18:36]SAM_PROTO_GetShiftState [07:18:36]wFMCommunicate request_size=4 [07:18:36]MH_SAM_APDU [07:18:36]CAPDU: 80 13 01 00 [07:18:36]Write to MH i2c: E2 08 00 02 15 80 13 01 00 00 00 00 00 94 [07:18:36]Write i2c OK [07:18:36]MH_I2C_Read... [07:18:36]Read from MH i2c: E2 [07:18:36]MH_I2C_Read... [07:18:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:18:36]Read from MH i2c: E2 0E 00 [07:18:36]MH_I2C_Read... [07:18:36]Read from MH i2c: E2 0E 00 02 15 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 81 [07:18:36]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [07:18:36]wFMCommunicate OK [07:18:36]SAM_PROTO_GetShiftState done [07:18:36]FM_GetShiftState done [07:18:36]req_shift_opened done [07:18:36]requested_item shift.open_date is exist - process it [07:18:36]req_shift_open_date [07:18:36]req_shift_open_date done [07:18:36]produce_requested_data done [07:18:36]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18927,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [07:18:36]process_action_free close_receipt [07:18:36]json_value_free [07:18:36]json_value_free done [07:18:36]process_json_proto returns [07:18:36]Send response to host [07:18:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18927,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [07:18:36]free response buf [07:18:36]execute_script done [07:18:36]execute_script returns [07:18:36]free content buf [07:18:36]Sock 8.Close socket [07:18:36]Sock 8.Thread stoped [07:18:40]OFD Sender: No OFD packet to send [07:18:45]OFD Sender: No OFD packet to send [07:18:50]OFD Sender: No OFD packet to send [07:18:55]OFD Sender: No OFD packet to send [07:19:00]OFD Sender: No OFD packet to send [07:19:05]OFD Sender: No OFD packet to send [07:19:10]OFD Sender: No OFD packet to send [07:19:15]OFD Sender: No OFD packet to send [07:19:20]OFD Sender: No OFD packet to send [07:19:25]OFD Sender: No OFD packet to send [07:19:30]OFD Sender: No OFD packet to send [07:19:35]OFD Sender: No OFD packet to send [07:19:40]OFD Sender: No OFD packet to send [07:19:45]OFD Sender: No OFD packet to send [07:19:50]OFD Sender: No OFD packet to send [07:19:55]OFD Sender: No OFD packet to send [07:20:00]OFD Sender: No OFD packet to send [07:20:05]OFD Sender: No OFD packet to send [07:20:10]OFD Sender: No OFD packet to send [07:20:15]OFD Sender: No OFD packet to send [07:20:20]OFD Sender: No OFD packet to send [07:20:25]OFD Sender: No OFD packet to send [07:20:30]OFD Sender: No OFD packet to send [07:20:35]OFD Sender: No OFD packet to send [07:20:40]OFD Sender: No OFD packet to send [07:20:45]OFD Sender: No OFD packet to send [07:20:50]OFD Sender: No OFD packet to send [07:20:55]OFD Sender: No OFD packet to send [07:21:00]OFD Sender: No OFD packet to send [07:21:05]OFD Sender: No OFD packet to send [07:21:10]OFD Sender: No OFD packet to send [07:21:15]OFD Sender: No OFD packet to send [07:21:20]OFD Sender: No OFD packet to send [07:21:25]OFD Sender: No OFD packet to send [07:21:30]OFD Sender: No OFD packet to send [07:21:35]OFD Sender: No OFD packet to send [07:21:40]OFD Sender: No OFD packet to send [07:21:45]OFD Sender: No OFD packet to send [07:21:50]OFD Sender: No OFD packet to send [07:21:55]OFD Sender: No OFD packet to send [07:22:00]OFD Sender: No OFD packet to send [07:22:05]OFD Sender: No OFD packet to send [07:22:10]OFD Sender: No OFD packet to send [07:22:15]OFD Sender: No OFD packet to send [07:22:20]OFD Sender: No OFD packet to send [07:22:25]OFD Sender: No OFD packet to send [07:22:30]OFD Sender: No OFD packet to send [07:22:35]OFD Sender: No OFD packet to send [07:22:40]OFD Sender: No OFD packet to send [07:22:45]OFD Sender: No OFD packet to send [07:22:50]OFD Sender: No OFD packet to send [07:22:55]OFD Sender: No OFD packet to send [07:23:00]OFD Sender: No OFD packet to send [07:23:05]OFD Sender: No OFD packet to send [07:23:10]OFD Sender: No OFD packet to send [07:23:15]OFD Sender: No OFD packet to send [07:23:20]OFD Sender: No OFD packet to send [07:23:25]OFD Sender: No OFD packet to send [07:23:30]OFD Sender: No OFD packet to send [07:23:35]OFD Sender: No OFD packet to send [07:23:40]OFD Sender: No OFD packet to send [07:23:45]OFD Sender: No OFD packet to send [07:23:50]OFD Sender: No OFD packet to send [07:23:55]OFD Sender: No OFD packet to send [07:24:00]OFD Sender: No OFD packet to send [07:24:05]OFD Sender: No OFD packet to send [07:24:10]OFD Sender: No OFD packet to send [07:24:15]OFD Sender: No OFD packet to send [07:24:20]OFD Sender: No OFD packet to send [07:24:25]OFD Sender: No OFD packet to send [07:24:30]OFD Sender: No OFD packet to send [07:24:35]OFD Sender: No OFD packet to send [07:24:40]OFD Sender: No OFD packet to send [07:24:45]OFD Sender: No OFD packet to send [07:24:50]OFD Sender: No OFD packet to send [07:24:55]OFD Sender: No OFD packet to send [07:25:00]OFD Sender: No OFD packet to send [07:25:05]OFD Sender: No OFD packet to send [07:25:10]OFD Sender: No OFD packet to send [07:25:15]OFD Sender: No OFD packet to send [07:25:20]OFD Sender: No OFD packet to send [07:25:25]OFD Sender: No OFD packet to send [07:25:30]OFD Sender: No OFD packet to send [07:25:35]OFD Sender: No OFD packet to send [07:25:40]OFD Sender: No OFD packet to send [07:25:45]OFD Sender: No OFD packet to send [07:25:50]OFD Sender: No OFD packet to send [07:25:55]OFD Sender: No OFD packet to send [07:26:00]OFD Sender: No OFD packet to send [07:26:05]OFD Sender: No OFD packet to send [07:26:10]OFD Sender: No OFD packet to send [07:26:15]OFD Sender: No OFD packet to send [07:26:20]OFD Sender: No OFD packet to send [07:26:25]OFD Sender: No OFD packet to send [07:26:30]OFD Sender: No OFD packet to send [07:26:35]OFD Sender: No OFD packet to send [07:26:40]OFD Sender: No OFD packet to send [07:26:45]OFD Sender: No OFD packet to send [07:26:50]OFD Sender: No OFD packet to send [07:26:55]OFD Sender: No OFD packet to send [07:27:00]OFD Sender: No OFD packet to send [07:27:05]OFD Sender: No OFD packet to send [07:27:10]OFD Sender: No OFD packet to send [07:27:15]OFD Sender: No OFD packet to send [07:27:20]OFD Sender: No OFD packet to send [07:27:25]OFD Sender: No OFD packet to send [07:27:30]OFD Sender: No OFD packet to send [07:27:35]OFD Sender: No OFD packet to send [07:27:40]OFD Sender: No OFD packet to send [07:27:45]OFD Sender: No OFD packet to send [07:27:50]OFD Sender: No OFD packet to send [07:27:55]OFD Sender: No OFD packet to send [07:28:00]OFD Sender: No OFD packet to send [07:28:05]OFD Sender: No OFD packet to send [07:28:10]OFD Sender: No OFD packet to send [07:28:15]OFD Sender: No OFD packet to send [07:28:20]OFD Sender: No OFD packet to send [07:28:25]OFD Sender: No OFD packet to send [07:28:30]OFD Sender: No OFD packet to send [07:28:35]OFD Sender: No OFD packet to send [07:28:40]OFD Sender: No OFD packet to send [07:28:45]OFD Sender: No OFD packet to send [07:28:50]OFD Sender: No OFD packet to send [07:28:55]OFD Sender: No OFD packet to send [07:29:00]OFD Sender: No OFD packet to send [07:29:05]OFD Sender: No OFD packet to send [07:29:10]OFD Sender: No OFD packet to send [07:29:15]OFD Sender: No OFD packet to send [07:29:20]OFD Sender: No OFD packet to send [07:29:25]OFD Sender: No OFD packet to send [07:29:30]OFD Sender: No OFD packet to send [07:29:35]OFD Sender: No OFD packet to send [07:29:40]OFD Sender: No OFD packet to send [07:29:45]OFD Sender: No OFD packet to send [07:29:50]OFD Sender: No OFD packet to send [07:29:55]OFD Sender: No OFD packet to send [07:30:00]OFD Sender: No OFD packet to send [07:30:05]OFD Sender: No OFD packet to send [07:30:10]OFD Sender: No OFD packet to send [07:30:15]OFD Sender: No OFD packet to send [07:30:20]OFD Sender: No OFD packet to send [07:30:25]OFD Sender: No OFD packet to send [07:30:30]OFD Sender: No OFD packet to send [07:30:35]OFD Sender: No OFD packet to send [07:30:40]OFD Sender: No OFD packet to send [07:30:45]OFD Sender: No OFD packet to send [07:30:50]OFD Sender: No OFD packet to send [07:30:55]OFD Sender: No OFD packet to send [07:31:00]OFD Sender: No OFD packet to send [07:31:05]OFD Sender: No OFD packet to send [07:31:10]OFD Sender: No OFD packet to send [07:31:15]OFD Sender: No OFD packet to send [07:31:20]OFD Sender: No OFD packet to send [07:31:25]OFD Sender: No OFD packet to send [07:31:30]OFD Sender: No OFD packet to send [07:31:35]OFD Sender: No OFD packet to send [07:31:40]OFD Sender: No OFD packet to send [07:31:45]OFD Sender: No OFD packet to send [07:31:50]OFD Sender: No OFD packet to send [07:31:55]OFD Sender: No OFD packet to send [07:32:00]OFD Sender: No OFD packet to send [07:32:05]OFD Sender: No OFD packet to send [07:32:10]OFD Sender: No OFD packet to send [07:32:15]OFD Sender: No OFD packet to send [07:32:20]OFD Sender: No OFD packet to send [07:32:25]OFD Sender: No OFD packet to send [07:32:30]OFD Sender: No OFD packet to send [07:32:35]OFD Sender: No OFD packet to send [07:32:40]OFD Sender: No OFD packet to send [07:32:45]OFD Sender: No OFD packet to send [07:32:50]OFD Sender: No OFD packet to send [07:32:55]OFD Sender: No OFD packet to send [07:33:00]OFD Sender: No OFD packet to send [07:33:05]OFD Sender: No OFD packet to send [07:33:10]OFD Sender: No OFD packet to send [07:33:15]OFD Sender: No OFD packet to send [07:33:20]OFD Sender: No OFD packet to send [07:33:25]OFD Sender: No OFD packet to send [07:33:30]OFD Sender: No OFD packet to send [07:33:35]OFD Sender: No OFD packet to send [07:33:40]OFD Sender: No OFD packet to send [07:33:45]OFD Sender: No OFD packet to send [07:33:50]OFD Sender: No OFD packet to send [07:33:55]OFD Sender: No OFD packet to send [07:34:00]OFD Sender: No OFD packet to send [07:34:05]OFD Sender: No OFD packet to send [07:34:10]OFD Sender: No OFD packet to send [07:34:15]OFD Sender: No OFD packet to send [07:34:20]OFD Sender: No OFD packet to send [07:34:25]OFD Sender: No OFD packet to send [07:34:30]OFD Sender: No OFD packet to send [07:34:35]OFD Sender: No OFD packet to send [07:34:40]OFD Sender: No OFD packet to send [07:34:45]OFD Sender: No OFD packet to send [07:34:50]OFD Sender: No OFD packet to send [07:34:56]OFD Sender: No OFD packet to send [07:35:01]OFD Sender: No OFD packet to send [07:35:06]OFD Sender: No OFD packet to send [07:35:11]OFD Sender: No OFD packet to send [07:35:16]OFD Sender: No OFD packet to send [07:35:21]OFD Sender: No OFD packet to send [07:35:26]OFD Sender: No OFD packet to send [07:35:31]OFD Sender: No OFD packet to send [07:35:36]OFD Sender: No OFD packet to send [07:35:41]OFD Sender: No OFD packet to send [07:35:46]OFD Sender: No OFD packet to send [07:35:51]OFD Sender: No OFD packet to send [07:35:56]OFD Sender: No OFD packet to send [07:36:01]OFD Sender: No OFD packet to send [07:36:06]OFD Sender: No OFD packet to send [07:36:11]OFD Sender: No OFD packet to send [07:36:16]OFD Sender: No OFD packet to send [07:36:21]OFD Sender: No OFD packet to send [07:36:26]OFD Sender: No OFD packet to send [07:36:31]OFD Sender: No OFD packet to send [07:36:36]OFD Sender: No OFD packet to send [07:36:41]OFD Sender: No OFD packet to send [07:36:46]OFD Sender: No OFD packet to send [07:36:51]OFD Sender: No OFD packet to send [07:36:56]OFD Sender: No OFD packet to send [07:37:01]OFD Sender: No OFD packet to send [07:37:06]OFD Sender: No OFD packet to send [07:37:11]OFD Sender: No OFD packet to send [07:37:16]OFD Sender: No OFD packet to send [07:37:21]OFD Sender: No OFD packet to send [07:37:26]OFD Sender: No OFD packet to send [07:37:31]OFD Sender: No OFD packet to send [07:37:36]OFD Sender: No OFD packet to send [07:37:41]OFD Sender: No OFD packet to send [07:37:46]OFD Sender: No OFD packet to send [07:37:51]OFD Sender: No OFD packet to send [07:37:56]OFD Sender: No OFD packet to send [07:38:01]OFD Sender: No OFD packet to send [07:38:06]OFD Sender: No OFD packet to send [07:38:11]OFD Sender: No OFD packet to send [07:38:16]OFD Sender: No OFD packet to send [07:38:21]OFD Sender: No OFD packet to send [07:38:26]OFD Sender: No OFD packet to send [07:38:31]OFD Sender: No OFD packet to send [07:38:36]OFD Sender: No OFD packet to send [07:38:41]OFD Sender: No OFD packet to send [07:38:46]OFD Sender: No OFD packet to send [07:38:51]OFD Sender: No OFD packet to send [07:38:56]OFD Sender: No OFD packet to send [07:39:01]OFD Sender: No OFD packet to send [07:39:06]OFD Sender: No OFD packet to send [07:39:11]OFD Sender: No OFD packet to send [07:39:16]OFD Sender: No OFD packet to send [07:39:21]OFD Sender: No OFD packet to send [07:39:26]OFD Sender: No OFD packet to send [07:39:31]OFD Sender: No OFD packet to send [07:39:36]OFD Sender: No OFD packet to send [07:39:41]OFD Sender: No OFD packet to send [07:39:46]OFD Sender: No OFD packet to send [07:39:51]OFD Sender: No OFD packet to send [07:39:56]OFD Sender: No OFD packet to send [07:40:01]OFD Sender: No OFD packet to send [07:40:06]OFD Sender: No OFD packet to send [07:40:11]OFD Sender: No OFD packet to send [07:40:16]OFD Sender: No OFD packet to send [07:40:21]OFD Sender: No OFD packet to send [07:40:26]OFD Sender: No OFD packet to send [07:40:31]OFD Sender: No OFD packet to send [07:40:36]OFD Sender: No OFD packet to send [07:40:41]OFD Sender: No OFD packet to send [07:40:46]OFD Sender: No OFD packet to send [07:40:51]OFD Sender: No OFD packet to send [07:40:56]OFD Sender: No OFD packet to send [07:41:01]OFD Sender: No OFD packet to send [07:41:06]OFD Sender: No OFD packet to send [07:41:11]OFD Sender: No OFD packet to send [07:41:16]OFD Sender: No OFD packet to send [07:41:21]OFD Sender: No OFD packet to send [07:41:26]OFD Sender: No OFD packet to send [07:41:31]OFD Sender: No OFD packet to send [07:41:36]OFD Sender: No OFD packet to send [07:41:41]OFD Sender: No OFD packet to send [07:41:46]OFD Sender: No OFD packet to send [07:41:51]OFD Sender: No OFD packet to send [07:41:56]OFD Sender: No OFD packet to send [07:42:01]OFD Sender: No OFD packet to send [07:42:06]OFD Sender: No OFD packet to send [07:42:11]OFD Sender: No OFD packet to send [07:42:16]OFD Sender: No OFD packet to send [07:42:21]OFD Sender: No OFD packet to send [07:42:26]OFD Sender: No OFD packet to send [07:42:31]OFD Sender: No OFD packet to send [07:42:36]OFD Sender: No OFD packet to send [07:42:41]OFD Sender: No OFD packet to send [07:42:46]OFD Sender: No OFD packet to send [07:42:51]OFD Sender: No OFD packet to send [07:42:56]OFD Sender: No OFD packet to send [07:43:01]OFD Sender: No OFD packet to send [07:43:06]OFD Sender: No OFD packet to send [07:43:11]OFD Sender: No OFD packet to send [07:43:16]OFD Sender: No OFD packet to send [07:43:21]OFD Sender: No OFD packet to send [07:43:26]OFD Sender: No OFD packet to send [07:43:31]OFD Sender: No OFD packet to send [07:43:36]OFD Sender: No OFD packet to send [07:43:41]OFD Sender: No OFD packet to send [07:43:46]OFD Sender: No OFD packet to send [07:43:51]OFD Sender: No OFD packet to send [07:43:56]OFD Sender: No OFD packet to send [07:44:01]OFD Sender: No OFD packet to send [07:44:06]OFD Sender: No OFD packet to send [07:44:11]OFD Sender: No OFD packet to send [07:44:16]OFD Sender: No OFD packet to send [07:44:21]OFD Sender: No OFD packet to send [07:44:26]OFD Sender: No OFD packet to send [07:44:31]OFD Sender: No OFD packet to send [07:44:36]OFD Sender: No OFD packet to send [07:44:41]OFD Sender: No OFD packet to send [07:44:46]OFD Sender: No OFD packet to send [07:44:51]OFD Sender: No OFD packet to send [07:44:56]OFD Sender: No OFD packet to send [07:45:01]OFD Sender: No OFD packet to send [07:45:06]OFD Sender: No OFD packet to send [07:45:11]OFD Sender: No OFD packet to send [07:45:16]OFD Sender: No OFD packet to send [07:45:21]OFD Sender: No OFD packet to send [07:45:26]OFD Sender: No OFD packet to send [07:45:31]OFD Sender: No OFD packet to send [07:45:36]OFD Sender: No OFD packet to send [07:45:41]OFD Sender: No OFD packet to send [07:45:46]OFD Sender: No OFD packet to send [07:45:51]OFD Sender: No OFD packet to send [07:45:56]OFD Sender: No OFD packet to send [07:46:01]OFD Sender: No OFD packet to send [07:46:06]OFD Sender: No OFD packet to send [07:46:11]OFD Sender: No OFD packet to send [07:46:16]OFD Sender: No OFD packet to send [07:46:21]OFD Sender: No OFD packet to send [07:46:26]OFD Sender: No OFD packet to send [07:46:31]OFD Sender: No OFD packet to send [07:46:36]OFD Sender: No OFD packet to send [07:46:41]OFD Sender: No OFD packet to send [07:46:46]OFD Sender: No OFD packet to send [07:46:51]OFD Sender: No OFD packet to send [07:46:56]OFD Sender: No OFD packet to send [07:47:01]OFD Sender: No OFD packet to send [07:47:06]OFD Sender: No OFD packet to send [07:47:11]OFD Sender: No OFD packet to send [07:47:16]OFD Sender: No OFD packet to send [07:47:21]OFD Sender: No OFD packet to send [07:47:26]OFD Sender: No OFD packet to send [07:47:31]OFD Sender: No OFD packet to send [07:47:36]OFD Sender: No OFD packet to send [07:47:41]OFD Sender: No OFD packet to send [07:47:46]OFD Sender: No OFD packet to send [07:47:51]OFD Sender: No OFD packet to send [07:47:56]OFD Sender: No OFD packet to send [07:48:01]OFD Sender: No OFD packet to send [07:48:06]OFD Sender: No OFD packet to send [07:48:11]OFD Sender: No OFD packet to send [07:48:16]OFD Sender: No OFD packet to send [07:48:21]OFD Sender: No OFD packet to send [07:48:26]OFD Sender: No OFD packet to send [07:48:31]OFD Sender: No OFD packet to send [07:48:36]OFD Sender: No OFD packet to send [07:48:41]OFD Sender: No OFD packet to send [07:48:46]OFD Sender: No OFD packet to send [07:48:51]OFD Sender: No OFD packet to send [07:48:56]OFD Sender: No OFD packet to send [07:49:01]OFD Sender: No OFD packet to send [07:49:06]OFD Sender: No OFD packet to send [07:49:11]OFD Sender: No OFD packet to send [07:49:16]OFD Sender: No OFD packet to send [07:49:21]OFD Sender: No OFD packet to send [07:49:26]OFD Sender: No OFD packet to send [07:49:31]OFD Sender: No OFD packet to send [07:49:36]OFD Sender: No OFD packet to send [07:49:41]OFD Sender: No OFD packet to send [07:49:46]OFD Sender: No OFD packet to send [07:49:51]OFD Sender: No OFD packet to send [07:49:56]OFD Sender: No OFD packet to send [07:50:01]OFD Sender: No OFD packet to send [07:50:06]OFD Sender: No OFD packet to send [07:50:11]OFD Sender: No OFD packet to send [07:50:16]OFD Sender: No OFD packet to send [07:50:21]OFD Sender: No OFD packet to send [07:50:26]OFD Sender: No OFD packet to send [07:50:31]OFD Sender: No OFD packet to send [07:50:36]OFD Sender: No OFD packet to send [07:50:41]OFD Sender: No OFD packet to send [07:50:46]OFD Sender: No OFD packet to send [07:50:51]OFD Sender: No OFD packet to send [07:50:56]OFD Sender: No OFD packet to send [07:51:01]OFD Sender: No OFD packet to send [07:51:06]OFD Sender: No OFD packet to send [07:51:11]OFD Sender: No OFD packet to send [07:51:16]OFD Sender: No OFD packet to send [07:51:21]OFD Sender: No OFD packet to send [07:51:26]OFD Sender: No OFD packet to send [07:51:31]OFD Sender: No OFD packet to send [07:51:36]OFD Sender: No OFD packet to send [07:51:41]OFD Sender: No OFD packet to send [07:51:46]OFD Sender: No OFD packet to send [07:51:51]OFD Sender: No OFD packet to send [07:51:56]OFD Sender: No OFD packet to send [07:52:01]OFD Sender: No OFD packet to send [07:52:06]OFD Sender: No OFD packet to send [07:52:11]OFD Sender: No OFD packet to send [07:52:16]OFD Sender: No OFD packet to send [07:52:21]accept exits with 9 [07:52:21]New connection [07:52:21]New thread 3067047268 created [07:52:21]Thread 3066903908 joined [07:52:21]Waiting for new connection... [07:52:21] Sock 9.Parse request [07:52:21]Sock 9.Check first char [07:52:21]Sock 9.First char is OK [07:52:21]request: POST /json_proto HTTP/1.0 [07:52:21]Method: POST [07:52:21]URL: /json_proto [07:52:21]Method is POST - this is cgi request [07:52:21]url: /json_proto [07:52:21]query_string will be loaded in cgi processing [07:52:21]execute_cgi json_proto POST (null) [07:52:21]execute_cgi path=json_proto method=POST [07:52:21]POST find Content-Length [07:52:21]Host: 172.17.62.196:8080 [07:52:21]Content-Length: 645 [07:52:21]Content-Type: application/json [07:52:21] [07:52:21]POST finish read [07:52:21]Found Content-Length = 645 [07:52:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16847", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:52:21]execute_script... [07:52:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16847", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:52:21]POST & json_proto [07:52:21]process_json_proto [07:52:21]json parsed OK: [07:52:21]protocol is kg_v1.0 [07:52:21]action value=close_receipt [07:52:21]process_action close_receipt [07:52:21]cmd_close_receipt [07:52:21]MH_GetDate [07:52:21]Write to MH i2c: F0 00 00 03 15 07 [07:52:21]Write i2c OK [07:52:21]MH_I2C_Read... [07:52:21]Read from MH i2c: F0 [07:52:21]MH_I2C_Read... [07:52:21]Read from MH i2c: F0 09 00 [07:52:21]MH_I2C_Read... [07:52:21]Read from MH i2c: F0 09 00 03 15 00 3A C1 F3 66 CE CC 0E 66 72 [07:52:21]GetLastDocTimeStamp 1727248717 [07:52:21]current date 1727250746 [07:52:21]FM_GetShiftState [07:52:21]SAM_PROTO_GetShiftState [07:52:21]wFMCommunicate request_size=4 [07:52:21]MH_SAM_APDU [07:52:21]CAPDU: 80 13 01 00 [07:52:21]Write to MH i2c: E2 08 00 04 15 80 13 01 00 00 00 00 00 96 [07:52:21]Write i2c OK [07:52:21]MH_I2C_Read... [07:52:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:52:21]Read from MH i2c: E2 [07:52:21]MH_I2C_Read... [07:52:21]Read from MH i2c: E2 0E 00 [07:52:21]MH_I2C_Read... [07:52:21]Read from MH i2c: E2 0E 00 04 15 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 83 [07:52:21]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [07:52:21]wFMCommunicate OK [07:52:21]SAM_PROTO_GetShiftState done [07:52:21]FM_GetShiftState done [07:52:21]opened in 1727223091 [07:52:21]opened+sec_in_day 1727309491 [07:52:21]quantity*price = 13000 [07:52:21]sum+1 = 13001 [07:52:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 6 25.09.2024 07:52 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18928 ФПД: 130656848588936 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T075226&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18928&fm=130656848588936&tin=02508201610067®Number=0000000000152968&sum=13000 0 [07:52:22]StoreToDocumentArchive [07:52:22]shift 183 fd 18928 [07:52:22]save to /storage/0183/doc_00018928 [07:52:22]save last doc name /storage/0183/doc_00018928 to /storage/kkm_last_doc_name [07:52:22]save OK [07:52:22]Clear old archive folders... [07:52:22]ProcessDocumentItem done err = 0, tmpTLVsize=282 [07:52:22]tlvbuf is B6ED80E0 [07:52:22]SAM_PROTO_ClearQueue [07:52:22]wFMCommunicate request_size=4 [07:52:22]MH_SAM_APDU [07:52:22]CAPDU: 80 09 00 00 [07:52:22]Write to MH i2c: E2 08 00 11 15 80 09 00 00 00 00 00 00 98 [07:52:22]Write i2c OK [07:52:22]MH_I2C_Read... [07:52:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:52:22]Read from MH i2c: E2 [07:52:22]MH_I2C_Read... [07:52:22]Read from MH i2c: E2 03 00 [07:52:22]MH_I2C_Read... [07:52:22]Read from MH i2c: E2 03 00 11 15 00 90 00 9A [07:52:22]RAPDU: 90 00 [07:52:22]wFMCommunicate OK [07:52:22]SAM_PROTO_ClearQueue done [07:52:22]KKMCreateOFDPacket [07:52:22]OFDProtocolAddRootSTLVToBuf [07:52:22]FM_MakeSignedData [07:52:22]FM_MakeSignedData [07:52:22]SAM_PROTO_SignData [07:52:22]wFMCommunicate request_size=4 [07:52:22]MH_SAM_APDU [07:52:22]CAPDU: 80 0D 01 02 [07:52:22]Write to MH i2c: E2 08 00 12 15 80 0D 01 02 00 00 00 00 A0 [07:52:22]Write i2c OK [07:52:22]MH_I2C_Read... [07:52:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:52:22]Read from MH i2c: E2 [07:52:22]MH_I2C_Read... [07:52:22]Read from MH i2c: E2 03 00 [07:52:22]MH_I2C_Read... [07:52:22]Read from MH i2c: E2 03 00 12 15 00 90 00 9B [07:52:22]RAPDU: 90 00 [07:52:22]wFMCommunicate OK [07:52:22]wFMCommunicate request_size=255 [07:52:22]MH_SAM_APDU [07:52:22]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 3A C1 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 [07:52:22]Write to MH i2c: E2 02 01 13 15 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 3A C1 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 00 00 C6 [07:52:22]Write i2c OK [07:52:22]MH_I2C_Read... [07:52:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:52:22]Read from MH i2c: E2 [07:52:22]MH_I2C_Read... [07:52:22]Read from MH i2c: E2 03 00 [07:52:22]MH_I2C_Read... [07:52:22]Read from MH i2c: E2 03 00 13 15 00 90 00 9C [07:52:22]RAPDU: 90 00 [07:52:22]wFMCommunicate OK [07:52:22]wFMCommunicate request_size=41 [07:52:22]MH_SAM_APDU [07:52:22]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F0 49 00 00 35 04 06 00 76 D4 EB 0C 30 88 [07:52:22]Write to MH i2c: E2 2C 00 14 15 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F0 49 00 00 35 04 06 00 76 D4 EB 0C 30 88 00 00 AA [07:52:22]Write i2c OK [07:52:22]MH_I2C_Read... [07:52:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:52:22]Read from MH i2c: E2 [07:52:22]MH_I2C_Read... [07:52:22]Read from MH i2c: E2 03 00 [07:52:22]MH_I2C_Read... [07:52:22]Read from MH i2c: E2 03 00 14 15 00 90 00 9D [07:52:22]RAPDU: 90 00 [07:52:22]wFMCommunicate OK [07:52:22]wFMCommunicate request_size=4 [07:52:22]MH_SAM_APDU [07:52:22]CAPDU: 80 0D 03 02 [07:52:22]Write to MH i2c: E2 08 00 15 15 80 0D 03 02 00 00 00 00 A5 [07:52:22]Write i2c OK [07:52:22]MH_I2C_Read... [07:52:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:52:22]Read from MH i2c: E2 [07:52:22]MH_I2C_Read... [07:52:22]Read from MH i2c: E2 0B 00 [07:52:22]MH_I2C_Read... [07:52:22]Read from MH i2c: E2 0B 00 15 15 00 1B F3 94 22 BC C3 1A 23 90 00 26 [07:52:22]RAPDU: 1B F3 94 22 BC C3 1A 23 90 00 [07:52:22]wFMCommunicate OK [07:52:22]SAM_PROTO_SignData done [07:52:22]FM_MakeSignedData done [07:52:22]CreateOFDProtocolMessage [07:52:22]wFMCommunicate request_size=4 [07:52:22]MH_SAM_APDU [07:52:22]CAPDU: 80 11 00 00 [07:52:22]Write to MH i2c: E2 08 00 16 15 80 11 00 00 00 00 00 00 A5 [07:52:22]Write i2c OK [07:52:22]MH_I2C_Read... [07:52:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:52:22]Read from MH i2c: E2 [07:52:22]MH_I2C_Read... [07:52:22]Read from MH i2c: E2 17 00 [07:52:22]MH_I2C_Read... [07:52:22]Read from MH i2c: E2 17 00 16 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 FE [07:52:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [07:52:22]wFMCommunicate OK [07:52:22]CreateOFDProtocolMessage done [07:52:22]OFDSenderStorePacket 18928 [07:52:22]StoreOFDPacket docnum=18928 [07:52:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 39 A4 26 01 15 EE 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 3A C1 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F0 49 00 00 35 04 06 00 76 D4 EB 0C 30 88 1B F3 94 22 BC C3 1A 23 [07:52:22]CheckFolder [07:52:22]dirname=/storage/ofd_packets [07:52:22]CheckFolder done [07:52:22]ProducePacketName [07:52:22]name=ofd_packets/00018928 [07:52:22]NVStorageSaveData ofd_packets/00018928 [07:52:22]File name is /storage/ofd_packets/00018928 [07:52:22]Write 332 bytes [07:52:22]NVStorageSaveData done [07:52:22]OFDSenderStorePacket done [07:52:22]KKMCreateOFDPacket done [07:52:22]NVStorageSaveData kkm_last_timestamp [07:52:22]File name is /storage/kkm_last_timestamp [07:52:22]Write 4 bytes [07:52:22]NVStorageSaveData done [07:52:22]ExternCall_PrintAddStr [07:52:22]wPrintStart [07:52:22]Write to MH i2c: 01 00 00 17 15 2C [07:52:22]Write i2c OK [07:52:22]MH_I2C_Read... [07:52:22]Read from MH i2c: 01 [07:52:22]MH_I2C_Read... [07:52:22]Read from MH i2c: 01 07 00 [07:52:22]MH_I2C_Read... [07:52:22]Read from MH i2c: 01 07 00 17 15 00 00 00 00 00 FF 0F 41 [07:52:22]RasterBufferAndPrint [07:52:22]line Счет N : (3)16847 [07:52:22]line ИНН: 02508201610067 [07:52:22]line Контрольно-Кассовый Чек [07:52:22]line ПРОДАЖА [07:52:22]line Товар: 2000036220012 [07:52:22]line Кофе Капучино XL(GABB TRADE) [07:52:22]line 1.000 * 130.00 [07:52:22]line = 130.00 [07:52:22]line НДС 12% НСП 1% [07:52:22]line > о реализуемом товаре [07:52:22]line ИТОГО: 130.00 [07:52:22]line НСП 1% : 1.15 [07:52:22]line НДС 12% : 13.80 [07:52:22]line Наличными: 130.00 [07:52:22]line Безнал.: 0.00 [07:52:22]line Место: АЗС № 176 "Партнер Нефть" [07:52:22]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [07:52:22]line СНО: Общий режим [07:52:22]line Чек 6 25.09.2024 07:52 [07:52:22]line Смена: 183 ФФД: 1.0 [07:52:22]line ЗНМ: 0300000010 [07:52:22]line РНМ: 0000000000152968 [07:52:22]line Версия ККМ: v1.0 [07:52:22]line ФМ: 0000000000959456 [07:52:22]line ФД: 18928 [07:52:22]line ФПД: 130656848588936 [07:52:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T075226&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18928&fm=130656848588936&tin=02508201610067®Number=0000000000152968&sum=13000 [07:52:23]line 0 [07:52:23]OFD Sender: Processing packet 18928 [packets to send 7, broken 6] [07:52:23]ProducePacketName [07:52:23]name=ofd_packets/00018928 [07:52:23]OFD Sender: To server: pG, [07:52:23]CommunicateWithHost lk.salyk.kg:30040 [07:52:23]ConnectInit lk.salyk.kg [07:52:23]written 0, free lines is 4095 [07:52:23]Connected sock=10 [07:52:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 39 A4 26 01 15 EE 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 3A C1 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F0 49 00 00 35 04 06 00 76 D4 EB 0C 30 88 1B F3 94 22 BC C3 1A 23 [07:52:23]Write to MH i2c: 01 00 00 40 15 55 [07:52:23]Write i2c OK [07:52:23]MH_I2C_Read... [07:52:23]Read from MH i2c: 01 [07:52:23]MH_I2C_Read... [07:52:23]Read from MH i2c: 01 07 00 [07:52:23]MH_I2C_Read... [07:52:23]Read from MH i2c: 01 07 00 40 15 00 00 00 00 00 07 0D 70 [07:52:23]RasterBufferAndPrint [07:52:23]line [07:52:23]line [07:52:23]line [07:52:23]line [07:52:23]line [07:52:23]written 0, free lines is 3344 [07:52:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 53 86 47 00 BF 33 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F0 49 00 00 F4 03 04 00 98 6A F3 66 B6 04 01 00 00 71 51 61 8B 8C D8 7D D0 [07:52:23]CommunicateWithHost err = 0 [07:52:23]CheckOFDResponse [07:52:23]1017 (14) - 77093643461234 [07:52:23]1041 (16) - 0000000000959456 [07:52:23]1040 (4) - 18928 [07:52:23]1012 (4) - 25.09.2024 01:42 [07:52:23]1206 (1) - 0 [07:52:23]OFD Sender: Remove packet 18928 [07:52:23]ProducePacketName [07:52:23]name=ofd_packets/00018928 [07:52:23]NVStorageDeleteData [07:52:23]MH_Cut [07:52:23]Write to MH i2c: D1 01 00 47 15 01 2E [07:52:23]Write i2c OK [07:52:23]MH_I2C_Read... [07:52:23]Read from MH i2c: D1 [07:52:23]MH_I2C_Read... [07:52:23]Read from MH i2c: D1 01 00 [07:52:23]MH_I2C_Read... [07:52:23]Read from MH i2c: D1 01 00 47 15 00 2D [07:52:23]Write to MH i2c: 01 00 00 48 15 5D [07:52:23]Write i2c OK [07:52:23]MH_I2C_Read... [07:52:24]OFD Sender: No OFD packet to send [07:52:24]*** Cut start [07:52:24]*** Partial cut [07:52:24]*** CUTSNS_PIN = 1 [07:52:24]*** CUTSNS_PIN = 0 [07:52:24]*** Brake cut motor [07:52:24]Read from MH i2c: 01 [07:52:24]MH_I2C_Read... [07:52:24]*** Stop cut motor [07:52:24]*** Cut end [07:52:24]Read from MH i2c: 01 07 00 [07:52:24]MH_I2C_Read... [07:52:24]Read from MH i2c: 01 07 00 48 15 00 00 00 00 00 FF 0F 72 [07:52:24]process_action close_receipt done [07:52:24]requested_data is exist [07:52:24]produce_requested_data [07:52:24]requested_item fm.sn is exist - process it [07:52:24]wFMCommunicate request_size=4 [07:52:24]MH_SAM_APDU [07:52:24]CAPDU: 80 11 00 00 [07:52:24]Write to MH i2c: E2 08 00 49 15 80 11 00 00 00 00 00 00 D8 [07:52:24]Write i2c OK [07:52:24]MH_I2C_Read... [07:52:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:52:24]Read from MH i2c: E2 [07:52:24]MH_I2C_Read... [07:52:24]Read from MH i2c: E2 17 00 [07:52:24]MH_I2C_Read... [07:52:24]Read from MH i2c: E2 17 00 49 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 31 [07:52:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [07:52:24]wFMCommunicate OK [07:52:24]requested_item fd.num is exist - process it [07:52:24]SAM_PROTO_GetFieldsCounters [07:52:24]wFMCommunicate request_size=4 [07:52:24]MH_SAM_APDU [07:52:24]CAPDU: 80 13 00 00 [07:52:24]Write to MH i2c: E2 08 00 4A 15 80 13 00 00 00 00 00 00 DB [07:52:24]Write i2c OK [07:52:24]MH_I2C_Read... [07:52:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:52:25]Read from MH i2c: E2 [07:52:25]MH_I2C_Read... [07:52:25]Read from MH i2c: E2 62 00 [07:52:25]MH_I2C_Read... [07:52:25]Read from MH i2c: E2 62 00 4A 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F0 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 0A [07:52:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F0 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:52:25]wFMCommunicate OK [07:52:25]SAM_PROTO_GetFieldsCounters done [07:52:25]requested_item shift.num is exist - process it [07:52:25]requested_item shift.opened is exist - process it [07:52:25]req_shift_opened [07:52:25]FM_GetShiftState [07:52:25]SAM_PROTO_GetShiftState [07:52:25]wFMCommunicate request_size=4 [07:52:25]MH_SAM_APDU [07:52:25]CAPDU: 80 13 01 00 [07:52:25]Write to MH i2c: E2 08 00 4B 15 80 13 01 00 00 00 00 00 DD [07:52:25]Write i2c OK [07:52:25]MH_I2C_Read... [07:52:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:52:25]Read from MH i2c: E2 [07:52:25]MH_I2C_Read... [07:52:25]Read from MH i2c: E2 0E 00 [07:52:25]MH_I2C_Read... [07:52:25]Read from MH i2c: E2 0E 00 4B 15 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 CA [07:52:25]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [07:52:25]wFMCommunicate OK [07:52:25]SAM_PROTO_GetShiftState done [07:52:25]FM_GetShiftState done [07:52:25]req_shift_opened done [07:52:25]requested_item shift.open_date is exist - process it [07:52:25]req_shift_open_date [07:52:25]req_shift_open_date done [07:52:25]produce_requested_data done [07:52:25]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18928,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [07:52:25]process_action_free close_receipt [07:52:25]json_value_free [07:52:25]json_value_free done [07:52:25]process_json_proto returns [07:52:25]Send response to host [07:52:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18928,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [07:52:25]free response buf [07:52:25]execute_script done [07:52:25]execute_script returns [07:52:25]free content buf [07:52:25]Sock 9.Close socket [07:52:25]Sock 9.Thread stoped [07:52:29]OFD Sender: No OFD packet to send [07:52:34]OFD Sender: No OFD packet to send [07:52:39]OFD Sender: No OFD packet to send [07:52:44]OFD Sender: No OFD packet to send [07:52:49]OFD Sender: No OFD packet to send [07:52:54]OFD Sender: No OFD packet to send [07:52:59]OFD Sender: No OFD packet to send [07:53:04]OFD Sender: No OFD packet to send [07:53:09]OFD Sender: No OFD packet to send [07:53:14]OFD Sender: No OFD packet to send [07:53:19]OFD Sender: No OFD packet to send [07:53:24]OFD Sender: No OFD packet to send [07:53:29]OFD Sender: No OFD packet to send [07:53:34]OFD Sender: No OFD packet to send [07:53:39]OFD Sender: No OFD packet to send [07:53:44]OFD Sender: No OFD packet to send [07:53:49]OFD Sender: No OFD packet to send [07:53:54]OFD Sender: No OFD packet to send [07:53:59]OFD Sender: No OFD packet to send [07:54:04]OFD Sender: No OFD packet to send [07:54:09]OFD Sender: No OFD packet to send [07:54:14]OFD Sender: No OFD packet to send [07:54:19]OFD Sender: No OFD packet to send [07:54:24]OFD Sender: No OFD packet to send [07:54:29]OFD Sender: No OFD packet to send [07:54:34]OFD Sender: No OFD packet to send [07:54:39]OFD Sender: No OFD packet to send [07:54:44]OFD Sender: No OFD packet to send [07:54:49]OFD Sender: No OFD packet to send [07:54:54]OFD Sender: No OFD packet to send [07:54:59]OFD Sender: No OFD packet to send [07:55:04]OFD Sender: No OFD packet to send [07:55:09]OFD Sender: No OFD packet to send [07:55:14]OFD Sender: No OFD packet to send [07:55:19]OFD Sender: No OFD packet to send [07:55:24]OFD Sender: No OFD packet to send [07:55:29]OFD Sender: No OFD packet to send [07:55:34]OFD Sender: No OFD packet to send [07:55:39]OFD Sender: No OFD packet to send [07:55:44]OFD Sender: No OFD packet to send [07:55:49]OFD Sender: No OFD packet to send [07:55:54]OFD Sender: No OFD packet to send [07:55:59]OFD Sender: No OFD packet to send [07:56:04]OFD Sender: No OFD packet to send [07:56:09]OFD Sender: No OFD packet to send [07:56:14]OFD Sender: No OFD packet to send [07:56:19]OFD Sender: No OFD packet to send [07:56:24]OFD Sender: No OFD packet to send [07:56:29]OFD Sender: No OFD packet to send [07:56:34]OFD Sender: No OFD packet to send [07:56:39]OFD Sender: No OFD packet to send [07:56:44]OFD Sender: No OFD packet to send [07:56:49]OFD Sender: No OFD packet to send [07:56:54]OFD Sender: No OFD packet to send [07:56:59]OFD Sender: No OFD packet to send [07:57:04]OFD Sender: No OFD packet to send [07:57:09]OFD Sender: No OFD packet to send [07:57:14]OFD Sender: No OFD packet to send [07:57:19]OFD Sender: No OFD packet to send [07:57:24]OFD Sender: No OFD packet to send [07:57:29]OFD Sender: No OFD packet to send [07:57:34]OFD Sender: No OFD packet to send [07:57:39]OFD Sender: No OFD packet to send [07:57:44]OFD Sender: No OFD packet to send [07:57:49]OFD Sender: No OFD packet to send [07:57:54]OFD Sender: No OFD packet to send [07:57:59]OFD Sender: No OFD packet to send [07:58:04]OFD Sender: No OFD packet to send [07:58:09]OFD Sender: No OFD packet to send [07:58:14]OFD Sender: No OFD packet to send [07:58:19]OFD Sender: No OFD packet to send [07:58:24]OFD Sender: No OFD packet to send [07:58:29]OFD Sender: No OFD packet to send [07:58:34]OFD Sender: No OFD packet to send [07:58:39]OFD Sender: No OFD packet to send [07:58:44]OFD Sender: No OFD packet to send [07:58:49]OFD Sender: No OFD packet to send [07:58:54]OFD Sender: No OFD packet to send [07:58:59]OFD Sender: No OFD packet to send [07:59:04]OFD Sender: No OFD packet to send [07:59:09]OFD Sender: No OFD packet to send [07:59:14]OFD Sender: No OFD packet to send [07:59:19]OFD Sender: No OFD packet to send [07:59:24]OFD Sender: No OFD packet to send [07:59:29]OFD Sender: No OFD packet to send [07:59:34]OFD Sender: No OFD packet to send [07:59:39]OFD Sender: No OFD packet to send [07:59:44]OFD Sender: No OFD packet to send [07:59:49]OFD Sender: No OFD packet to send [07:59:54]OFD Sender: No OFD packet to send [07:59:59]OFD Sender: No OFD packet to send [08:00:04]OFD Sender: No OFD packet to send [08:00:09]OFD Sender: No OFD packet to send [08:00:14]OFD Sender: No OFD packet to send [08:00:19]OFD Sender: No OFD packet to send [08:00:24]OFD Sender: No OFD packet to send [08:00:29]OFD Sender: No OFD packet to send [08:00:34]OFD Sender: No OFD packet to send [08:00:39]OFD Sender: No OFD packet to send [08:00:44]OFD Sender: No OFD packet to send [08:00:49]OFD Sender: No OFD packet to send [08:00:54]OFD Sender: No OFD packet to send [08:00:59]OFD Sender: No OFD packet to send [08:01:04]OFD Sender: No OFD packet to send [08:01:09]OFD Sender: No OFD packet to send [08:01:14]OFD Sender: No OFD packet to send [08:01:19]OFD Sender: No OFD packet to send [08:01:24]OFD Sender: No OFD packet to send [08:01:29]OFD Sender: No OFD packet to send [08:01:34]OFD Sender: No OFD packet to send [08:01:39]OFD Sender: No OFD packet to send [08:01:44]OFD Sender: No OFD packet to send [08:01:49]OFD Sender: No OFD packet to send [08:01:54]OFD Sender: No OFD packet to send [08:01:59]OFD Sender: No OFD packet to send [08:02:04]OFD Sender: No OFD packet to send [08:02:09]OFD Sender: No OFD packet to send [08:02:14]OFD Sender: No OFD packet to send [08:02:19]OFD Sender: No OFD packet to send [08:02:24]OFD Sender: No OFD packet to send [08:02:29]OFD Sender: No OFD packet to send [08:02:34]OFD Sender: No OFD packet to send [08:02:39]OFD Sender: No OFD packet to send [08:02:44]OFD Sender: No OFD packet to send [08:02:49]OFD Sender: No OFD packet to send [08:02:54]OFD Sender: No OFD packet to send [08:02:59]OFD Sender: No OFD packet to send [08:03:04]OFD Sender: No OFD packet to send [08:03:09]OFD Sender: No OFD packet to send [08:03:14]OFD Sender: No OFD packet to send [08:03:19]OFD Sender: No OFD packet to send [08:03:24]OFD Sender: No OFD packet to send [08:03:29]OFD Sender: No OFD packet to send [08:03:34]OFD Sender: No OFD packet to send [08:03:39]OFD Sender: No OFD packet to send [08:03:44]OFD Sender: No OFD packet to send [08:03:49]OFD Sender: No OFD packet to send [08:03:54]OFD Sender: No OFD packet to send [08:03:59]OFD Sender: No OFD packet to send [08:04:04]OFD Sender: No OFD packet to send [08:04:09]OFD Sender: No OFD packet to send [08:04:14]OFD Sender: No OFD packet to send [08:04:19]OFD Sender: No OFD packet to send [08:04:24]OFD Sender: No OFD packet to send [08:04:29]OFD Sender: No OFD packet to send [08:04:34]OFD Sender: No OFD packet to send [08:04:39]OFD Sender: No OFD packet to send [08:04:44]OFD Sender: No OFD packet to send [08:04:49]OFD Sender: No OFD packet to send [08:04:54]OFD Sender: No OFD packet to send [08:04:59]OFD Sender: No OFD packet to send [08:05:04]OFD Sender: No OFD packet to send [08:05:09]OFD Sender: No OFD packet to send [08:05:14]OFD Sender: No OFD packet to send [08:05:19]OFD Sender: No OFD packet to send [08:05:24]OFD Sender: No OFD packet to send [08:05:29]OFD Sender: No OFD packet to send [08:05:34]OFD Sender: No OFD packet to send [08:05:39]OFD Sender: No OFD packet to send [08:05:44]OFD Sender: No OFD packet to send [08:05:49]OFD Sender: No OFD packet to send [08:05:54]OFD Sender: No OFD packet to send [08:05:59]OFD Sender: No OFD packet to send [08:06:04]OFD Sender: No OFD packet to send [08:06:09]OFD Sender: No OFD packet to send [08:06:14]OFD Sender: No OFD packet to send [08:06:19]OFD Sender: No OFD packet to send [08:06:24]OFD Sender: No OFD packet to send [08:06:29]OFD Sender: No OFD packet to send [08:06:34]OFD Sender: No OFD packet to send [08:06:39]OFD Sender: No OFD packet to send [08:06:44]OFD Sender: No OFD packet to send [08:06:49]OFD Sender: No OFD packet to send [08:06:54]OFD Sender: No OFD packet to send [08:06:59]OFD Sender: No OFD packet to send [08:07:04]OFD Sender: No OFD packet to send [08:07:09]OFD Sender: No OFD packet to send [08:07:14]OFD Sender: No OFD packet to send [08:07:19]OFD Sender: No OFD packet to send [08:07:24]OFD Sender: No OFD packet to send [08:07:29]OFD Sender: No OFD packet to send [08:07:34]OFD Sender: No OFD packet to send [08:07:39]OFD Sender: No OFD packet to send [08:07:44]OFD Sender: No OFD packet to send [08:07:49]OFD Sender: No OFD packet to send [08:07:54]OFD Sender: No OFD packet to send [08:07:59]OFD Sender: No OFD packet to send [08:08:04]OFD Sender: No OFD packet to send [08:08:09]OFD Sender: No OFD packet to send [08:08:14]OFD Sender: No OFD packet to send [08:08:19]OFD Sender: No OFD packet to send [08:08:24]OFD Sender: No OFD packet to send [08:08:29]OFD Sender: No OFD packet to send [08:08:34]OFD Sender: No OFD packet to send [08:08:39]OFD Sender: No OFD packet to send [08:08:44]OFD Sender: No OFD packet to send [08:08:49]OFD Sender: No OFD packet to send [08:08:54]OFD Sender: No OFD packet to send [08:08:59]OFD Sender: No OFD packet to send [08:09:04]OFD Sender: No OFD packet to send [08:09:09]OFD Sender: No OFD packet to send [08:09:14]OFD Sender: No OFD packet to send [08:09:19]OFD Sender: No OFD packet to send [08:09:24]OFD Sender: No OFD packet to send [08:09:29]OFD Sender: No OFD packet to send [08:09:34]OFD Sender: No OFD packet to send [08:09:35]accept exits with 8 [08:09:35]New connection [08:09:35]New thread 3066903908 created [08:09:35]Thread 3067047268 joined [08:09:35]Waiting for new connection... [08:09:35] Sock 8.Parse request [08:09:35]Sock 8.Check first char [08:09:35]Sock 8.First char is OK [08:09:35]request: POST /json_proto HTTP/1.0 [08:09:35]Method: POST [08:09:35]URL: /json_proto [08:09:35]Method is POST - this is cgi request [08:09:35]url: /json_proto [08:09:35]query_string will be loaded in cgi processing [08:09:35]execute_cgi json_proto POST (null) [08:09:35]execute_cgi path=json_proto method=POST [08:09:35]POST find Content-Length [08:09:35]Host: 172.17.62.196:8080 [08:09:35]Content-Length: 825 [08:09:35]Content-Type: application/json [08:09:35] [08:09:35]POST finish read [08:09:35]Found Content-Length = 825 [08:09:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16848", "tax_sys" : 0, "items" : [ { "code": "8901086040008", "name": "\u0416\u0438\u0434/\u0441\u0442 \u041F\u041D \u043B\u0435\u0442\u043D\u044F\u044F 4,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:09:35]execute_script... [08:09:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16848", "tax_sys" : 0, "items" : [ { "code": "8901086040008", "name": "\u0416\u0438\u0434/\u0441\u0442 \u041F\u041D \u043B\u0435\u0442\u043D\u044F\u044F 4,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:09:35]POST & json_proto [08:09:35]process_json_proto [08:09:35]json parsed OK: [08:09:35]protocol is kg_v1.0 [08:09:35]action value=close_receipt [08:09:35]process_action close_receipt [08:09:35]cmd_close_receipt [08:09:35]MH_GetDate [08:09:35]Write to MH i2c: F0 00 00 4C 15 50 [08:09:35]Write i2c OK [08:09:35]MH_I2C_Read... [08:09:35]Read from MH i2c: F0 [08:09:35]MH_I2C_Read... [08:09:35]Read from MH i2c: F0 09 00 [08:09:35]MH_I2C_Read... [08:09:35]Read from MH i2c: F0 09 00 4C 15 00 44 C5 F3 66 CE CC 0E 66 C9 [08:09:35]GetLastDocTimeStamp 1727250746 [08:09:35]current date 1727251780 [08:09:35]FM_GetShiftState [08:09:35]SAM_PROTO_GetShiftState [08:09:35]wFMCommunicate request_size=4 [08:09:35]MH_SAM_APDU [08:09:35]CAPDU: 80 13 01 00 [08:09:35]Write to MH i2c: E2 08 00 4D 15 80 13 01 00 00 00 00 00 DF [08:09:35]Write i2c OK [08:09:35]MH_I2C_Read... [08:09:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:09:35]Read from MH i2c: E2 [08:09:35]MH_I2C_Read... [08:09:35]Read from MH i2c: E2 0E 00 [08:09:35]MH_I2C_Read... [08:09:35]Read from MH i2c: E2 0E 00 4D 15 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 CC [08:09:35]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [08:09:35]wFMCommunicate OK [08:09:35]SAM_PROTO_GetShiftState done [08:09:35]FM_GetShiftState done [08:09:35]opened in 1727223091 [08:09:35]opened+sec_in_day 1727309491 [08:09:35]quantity*price = 17000 [08:09:35]sum+1 = 17001 [08:09:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 0.00 Безнал.: 170.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 7 25.09.2024 08:09 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959456 ФД: 18929 ФПД: 3915446133552 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T080940&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18929&fm=3915446133552&tin=02508201610067®Number=0000000000152968&sum=17000 0 [08:09:36]StoreToDocumentArchive [08:09:36]shift 183 fd 18929 [08:09:36]save to /storage/0183/doc_00018929 [08:09:36]save last doc name /storage/0183/doc_00018929 to /storage/kkm_last_doc_name [08:09:36]save OK [08:09:36]Clear old archive folders... [08:09:36]ProcessDocumentItem done err = 0, tmpTLVsize=277 [08:09:36]tlvbuf is B6EBF1E0 [08:09:36]SAM_PROTO_ClearQueue [08:09:36]wFMCommunicate request_size=4 [08:09:36]MH_SAM_APDU [08:09:36]CAPDU: 80 09 00 00 [08:09:36]Write to MH i2c: E2 08 00 5A 15 80 09 00 00 00 00 00 00 E1 [08:09:36]Write i2c OK [08:09:36]MH_I2C_Read... [08:09:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:09:36]Read from MH i2c: E2 [08:09:36]MH_I2C_Read... [08:09:36]Read from MH i2c: E2 03 00 [08:09:36]MH_I2C_Read... [08:09:36]Read from MH i2c: E2 03 00 5A 15 00 90 00 E3 [08:09:36]RAPDU: 90 00 [08:09:36]wFMCommunicate OK [08:09:36]SAM_PROTO_ClearQueue done [08:09:36]KKMCreateOFDPacket [08:09:36]OFDProtocolAddRootSTLVToBuf [08:09:36]FM_MakeSignedData [08:09:36]FM_MakeSignedData [08:09:36]SAM_PROTO_SignData [08:09:36]wFMCommunicate request_size=4 [08:09:36]MH_SAM_APDU [08:09:36]CAPDU: 80 0D 01 02 [08:09:36]Write to MH i2c: E2 08 00 5B 15 80 0D 01 02 00 00 00 00 E9 [08:09:36]Write i2c OK [08:09:36]MH_I2C_Read... [08:09:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:09:36]Read from MH i2c: E2 [08:09:36]MH_I2C_Read... [08:09:36]Read from MH i2c: E2 03 00 [08:09:36]MH_I2C_Read... [08:09:36]Read from MH i2c: E2 03 00 5B 15 00 90 00 E4 [08:09:36]RAPDU: 90 00 [08:09:36]wFMCommunicate OK [08:09:36]wFMCommunicate request_size=255 [08:09:36]MH_SAM_APDU [08:09:36]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 44 C5 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 [08:09:36]Write to MH i2c: E2 02 01 5C 15 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 44 C5 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 00 00 3E [08:09:36]Write i2c OK [08:09:36]MH_I2C_Read... [08:09:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:09:36]Read from MH i2c: E2 [08:09:36]MH_I2C_Read... [08:09:36]Read from MH i2c: E2 03 00 [08:09:36]MH_I2C_Read... [08:09:36]Read from MH i2c: E2 03 00 5C 15 00 90 00 E5 [08:09:36]RAPDU: 90 00 [08:09:36]wFMCommunicate OK [08:09:36]wFMCommunicate request_size=36 [08:09:36]MH_SAM_APDU [08:09:36]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F1 49 00 00 35 04 06 00 03 8F A2 C6 A3 30 [08:09:36]Write to MH i2c: E2 27 00 5D 15 80 0D 02 02 1F 00 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F1 49 00 00 35 04 06 00 03 8F A2 C6 A3 30 00 00 1E [08:09:36]Write i2c OK [08:09:36]MH_I2C_Read... [08:09:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:09:36]Read from MH i2c: E2 [08:09:36]MH_I2C_Read... [08:09:36]Read from MH i2c: E2 03 00 [08:09:36]MH_I2C_Read... [08:09:36]Read from MH i2c: E2 03 00 5D 15 00 90 00 E6 [08:09:36]RAPDU: 90 00 [08:09:36]wFMCommunicate OK [08:09:36]wFMCommunicate request_size=4 [08:09:36]MH_SAM_APDU [08:09:36]CAPDU: 80 0D 03 02 [08:09:36]Write to MH i2c: E2 08 00 5E 15 80 0D 03 02 00 00 00 00 EE [08:09:36]Write i2c OK [08:09:36]MH_I2C_Read... [08:09:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:09:36]Read from MH i2c: E2 [08:09:36]MH_I2C_Read... [08:09:36]Read from MH i2c: E2 0B 00 [08:09:36]MH_I2C_Read... [08:09:36]Read from MH i2c: E2 0B 00 5E 15 00 A7 6F 8C 4B 27 9F 0C 20 90 00 CE [08:09:36]RAPDU: A7 6F 8C 4B 27 9F 0C 20 90 00 [08:09:36]wFMCommunicate OK [08:09:36]SAM_PROTO_SignData done [08:09:36]FM_MakeSignedData done [08:09:36]CreateOFDProtocolMessage [08:09:36]wFMCommunicate request_size=4 [08:09:36]MH_SAM_APDU [08:09:36]CAPDU: 80 11 00 00 [08:09:36]Write to MH i2c: E2 08 00 5F 15 80 11 00 00 00 00 00 00 EE [08:09:36]Write i2c OK [08:09:36]MH_I2C_Read... [08:09:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:09:37]Read from MH i2c: E2 [08:09:37]MH_I2C_Read... [08:09:37]Read from MH i2c: E2 17 00 [08:09:37]MH_I2C_Read... [08:09:37]Read from MH i2c: E2 17 00 5F 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 47 [08:09:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [08:09:37]wFMCommunicate OK [08:09:37]CreateOFDProtocolMessage done [08:09:37]OFDSenderStorePacket 18929 [08:09:37]StoreOFDPacket docnum=18929 [08:09:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 29 01 00 00 DB CC 21 01 97 CE 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 44 C5 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F1 49 00 00 35 04 06 00 03 8F A2 C6 A3 30 A7 6F 8C 4B 27 9F 0C 20 [08:09:37]CheckFolder [08:09:37]dirname=/storage/ofd_packets [08:09:37]CheckFolder done [08:09:37]ProducePacketName [08:09:37]name=ofd_packets/00018929 [08:09:37]NVStorageSaveData ofd_packets/00018929 [08:09:37]File name is /storage/ofd_packets/00018929 [08:09:37]Write 327 bytes [08:09:37]NVStorageSaveData done [08:09:37]OFDSenderStorePacket done [08:09:37]KKMCreateOFDPacket done [08:09:37]NVStorageSaveData kkm_last_timestamp [08:09:37]File name is /storage/kkm_last_timestamp [08:09:37]Write 4 bytes [08:09:37]NVStorageSaveData done [08:09:37]ExternCall_PrintAddStr [08:09:37]wPrintStart [08:09:37]Write to MH i2c: 01 00 00 60 15 75 [08:09:37]Write i2c OK [08:09:37]MH_I2C_Read... [08:09:37]Read from MH i2c: 01 [08:09:37]MH_I2C_Read... [08:09:37]Read from MH i2c: 01 07 00 [08:09:37]MH_I2C_Read... [08:09:37]Read from MH i2c: 01 07 00 60 15 00 00 00 00 00 FF 0F 8A [08:09:37]RasterBufferAndPrint [08:09:37]line Счет N : (3)16848 [08:09:37]line ИНН: 02508201610067 [08:09:37]line Контрольно-Кассовый Чек [08:09:37]line ПРОДАЖА [08:09:37]line Товар: 8901086040008 [08:09:37]line Жид/ст ПН летняя 4,5л [08:09:37]line 1.000 * 170.00 [08:09:37]line = 170.00 [08:09:37]line НДС 12% НСП 1% [08:09:37]line > о реализуемом товаре [08:09:37]line ИТОГО: 170.00 [08:09:37]line НСП 1% : 1.50 [08:09:37]line НДС 12% : 18.05 [08:09:37]line Наличными: 0.00 [08:09:37]line Безнал.: 170.00 [08:09:37]line Место: АЗС № 176 "Партнер Нефть" [08:09:37]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [08:09:37]line СНО: Общий режим [08:09:37]line Чек 7 25.09.2024 08:09 [08:09:37]line Смена: 183 ФФД: 1.0 [08:09:37]line ЗНМ: 0300000010 [08:09:37]line РНМ: 0000000000152968 [08:09:37]line Версия ККМ: v1.0 [08:09:37]line Платежная система: Бакай Банк [08:09:37]line ФМ: 0000000000959456 [08:09:37]line ФД: 18929 [08:09:37]line ФПД: 3915446133552 [08:09:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T080940&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18929&fm=3915446133552&tin=02508201610067®Number=0000000000152968&sum=17000 [08:09:37]line 0 [08:09:37]OFD Sender: Processing packet 18929 [packets to send 7, broken 6] [08:09:37]ProducePacketName [08:09:37]name=ofd_packets/00018929 [08:09:37]OFD Sender: To server: pG, [08:09:37]CommunicateWithHost lk.salyk.kg:30040 [08:09:37]ConnectInit lk.salyk.kg [08:09:37]written 0, free lines is 4095 [08:09:37]Connected sock=10 [08:09:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 29 01 00 00 DB CC 21 01 97 CE 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 44 C5 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F1 49 00 00 35 04 06 00 03 8F A2 C6 A3 30 A7 6F 8C 4B 27 9F 0C 20 [08:09:37]Write to MH i2c: 01 00 00 8A 15 9F [08:09:37]Write i2c OK [08:09:37]MH_I2C_Read... [08:09:37]Read from MH i2c: 01 [08:09:37]MH_I2C_Read... [08:09:37]Read from MH i2c: 01 07 00 [08:09:37]MH_I2C_Read... [08:09:37]Read from MH i2c: 01 07 00 8A 15 00 00 00 00 00 F5 0C A7 [08:09:37]RasterBufferAndPrint [08:09:37]line [08:09:37]line [08:09:37]line [08:09:37]line [08:09:37]line [08:09:37]written 0, free lines is 3323 [08:09:37]MH_Cut [08:09:37]Write to MH i2c: D1 01 00 91 15 01 78 [08:09:37]Write i2c OK [08:09:37]MH_I2C_Read... [08:09:37]Read from MH i2c: D1 [08:09:37]MH_I2C_Read... [08:09:37]Read from MH i2c: D1 01 00 [08:09:37]MH_I2C_Read... [08:09:37]Read from MH i2c: D1 01 00 91 15 00 77 [08:09:37]Write to MH i2c: 01 00 00 92 15 A7 [08:09:37]Write i2c OK [08:09:37]MH_I2C_Read... [08:09:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 89 9F 47 00 EA 80 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F1 49 00 00 F4 03 04 00 A2 6E F3 66 B6 04 01 00 00 38 A0 88 EF 5E B6 7D B3 [08:09:38]CommunicateWithHost err = 0 [08:09:38]CheckOFDResponse [08:09:38]1017 (14) - 77093643461234 [08:09:38]1041 (16) - 0000000000959456 [08:09:38]1040 (4) - 18929 [08:09:38]1012 (4) - 25.09.2024 02:00 [08:09:38]1206 (1) - 0 [08:09:38]OFD Sender: Remove packet 18929 [08:09:38]ProducePacketName [08:09:38]name=ofd_packets/00018929 [08:09:38]NVStorageDeleteData [08:09:38]*** Cut start [08:09:38]*** Partial cut [08:09:38]*** CUTSNS_PIN = 1 [08:09:38]OFD Sender: No OFD packet to send [08:09:38]*** CUTSNS_PIN = 0 [08:09:38]*** Brake cut motor [08:09:39]Read from MH i2c: 01 [08:09:39]MH_I2C_Read... [08:09:39]*** Stop cut motor [08:09:39]*** Cut end [08:09:39]Read from MH i2c: 01 07 00 [08:09:39]MH_I2C_Read... [08:09:39]Read from MH i2c: 01 07 00 92 15 00 00 00 00 00 FF 0F BC [08:09:39]process_action close_receipt done [08:09:39]requested_data is exist [08:09:39]produce_requested_data [08:09:39]requested_item fm.sn is exist - process it [08:09:39]wFMCommunicate request_size=4 [08:09:39]MH_SAM_APDU [08:09:39]CAPDU: 80 11 00 00 [08:09:39]Write to MH i2c: E2 08 00 93 15 80 11 00 00 00 00 00 00 22 [08:09:39]Write i2c OK [08:09:39]MH_I2C_Read... [08:09:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:09:39]Read from MH i2c: E2 [08:09:39]MH_I2C_Read... [08:09:39]Read from MH i2c: E2 17 00 [08:09:39]MH_I2C_Read... [08:09:39]Read from MH i2c: E2 17 00 93 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 7B [08:09:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [08:09:39]wFMCommunicate OK [08:09:39]requested_item fd.num is exist - process it [08:09:39]SAM_PROTO_GetFieldsCounters [08:09:39]wFMCommunicate request_size=4 [08:09:39]MH_SAM_APDU [08:09:39]CAPDU: 80 13 00 00 [08:09:39]Write to MH i2c: E2 08 00 94 15 80 13 00 00 00 00 00 00 25 [08:09:39]Write i2c OK [08:09:39]MH_I2C_Read... [08:09:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:09:39]Read from MH i2c: E2 [08:09:39]MH_I2C_Read... [08:09:39]Read from MH i2c: E2 62 00 [08:09:39]MH_I2C_Read... [08:09:39]Read from MH i2c: E2 62 00 94 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F1 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 58 [08:09:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F1 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:09:39]wFMCommunicate OK [08:09:39]SAM_PROTO_GetFieldsCounters done [08:09:39]requested_item shift.num is exist - process it [08:09:39]requested_item shift.opened is exist - process it [08:09:39]req_shift_opened [08:09:39]FM_GetShiftState [08:09:39]SAM_PROTO_GetShiftState [08:09:39]wFMCommunicate request_size=4 [08:09:39]MH_SAM_APDU [08:09:39]CAPDU: 80 13 01 00 [08:09:39]Write to MH i2c: E2 08 00 95 15 80 13 01 00 00 00 00 00 27 [08:09:39]Write i2c OK [08:09:39]MH_I2C_Read... [08:09:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:09:39]Read from MH i2c: E2 [08:09:39]MH_I2C_Read... [08:09:39]Read from MH i2c: E2 0E 00 [08:09:39]MH_I2C_Read... [08:09:39]Read from MH i2c: E2 0E 00 95 15 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 14 [08:09:39]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [08:09:39]wFMCommunicate OK [08:09:39]SAM_PROTO_GetShiftState done [08:09:39]FM_GetShiftState done [08:09:39]req_shift_opened done [08:09:39]requested_item shift.open_date is exist - process it [08:09:39]req_shift_open_date [08:09:39]req_shift_open_date done [08:09:39]produce_requested_data done [08:09:39]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18929,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [08:09:39]process_action_free close_receipt [08:09:39]json_value_free [08:09:39]json_value_free done [08:09:39]process_json_proto returns [08:09:39]Send response to host [08:09:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18929,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [08:09:39]free response buf [08:09:39]execute_script done [08:09:39]execute_script returns [08:09:39]free content buf [08:09:39]Sock 8.Close socket [08:09:39]Sock 8.Thread stoped [08:09:43]OFD Sender: No OFD packet to send [08:09:48]OFD Sender: No OFD packet to send [08:09:53]OFD Sender: No OFD packet to send [08:09:58]OFD Sender: No OFD packet to send [08:10:03]OFD Sender: No OFD packet to send [08:10:08]OFD Sender: No OFD packet to send [08:10:13]OFD Sender: No OFD packet to send [08:10:18]OFD Sender: No OFD packet to send [08:10:23]OFD Sender: No OFD packet to send [08:10:28]OFD Sender: No OFD packet to send [08:10:33]OFD Sender: No OFD packet to send [08:10:38]OFD Sender: No OFD packet to send [08:10:43]OFD Sender: No OFD packet to send [08:10:48]OFD Sender: No OFD packet to send [08:10:53]OFD Sender: No OFD packet to send [08:10:58]OFD Sender: No OFD packet to send [08:11:03]OFD Sender: No OFD packet to send [08:11:08]OFD Sender: No OFD packet to send [08:11:13]OFD Sender: No OFD packet to send [08:11:18]OFD Sender: No OFD packet to send [08:11:23]OFD Sender: No OFD packet to send [08:11:28]OFD Sender: No OFD packet to send [08:11:33]OFD Sender: No OFD packet to send [08:11:38]OFD Sender: No OFD packet to send [08:11:43]OFD Sender: No OFD packet to send [08:11:48]OFD Sender: No OFD packet to send [08:11:53]OFD Sender: No OFD packet to send [08:11:58]OFD Sender: No OFD packet to send [08:12:03]OFD Sender: No OFD packet to send [08:12:08]OFD Sender: No OFD packet to send [08:12:13]OFD Sender: No OFD packet to send [08:12:18]OFD Sender: No OFD packet to send [08:12:23]OFD Sender: No OFD packet to send [08:12:28]OFD Sender: No OFD packet to send [08:12:33]OFD Sender: No OFD packet to send [08:12:38]OFD Sender: No OFD packet to send [08:12:43]OFD Sender: No OFD packet to send [08:12:48]OFD Sender: No OFD packet to send [08:12:53]OFD Sender: No OFD packet to send [08:12:58]OFD Sender: No OFD packet to send [08:13:03]OFD Sender: No OFD packet to send [08:13:08]OFD Sender: No OFD packet to send [08:13:13]OFD Sender: No OFD packet to send [08:13:18]OFD Sender: No OFD packet to send [08:13:23]OFD Sender: No OFD packet to send [08:13:28]OFD Sender: No OFD packet to send [08:13:33]OFD Sender: No OFD packet to send [08:13:38]OFD Sender: No OFD packet to send [08:13:43]OFD Sender: No OFD packet to send [08:13:48]OFD Sender: No OFD packet to send [08:13:53]OFD Sender: No OFD packet to send [08:13:58]OFD Sender: No OFD packet to send [08:14:03]OFD Sender: No OFD packet to send [08:14:08]OFD Sender: No OFD packet to send [08:14:13]OFD Sender: No OFD packet to send [08:14:18]OFD Sender: No OFD packet to send [08:14:23]OFD Sender: No OFD packet to send [08:14:28]OFD Sender: No OFD packet to send [08:14:33]OFD Sender: No OFD packet to send [08:14:38]OFD Sender: No OFD packet to send [08:14:43]OFD Sender: No OFD packet to send [08:14:48]OFD Sender: No OFD packet to send [08:14:53]OFD Sender: No OFD packet to send [08:14:58]OFD Sender: No OFD packet to send [08:15:03]OFD Sender: No OFD packet to send [08:15:08]OFD Sender: No OFD packet to send [08:15:13]OFD Sender: No OFD packet to send [08:15:18]OFD Sender: No OFD packet to send [08:15:23]OFD Sender: No OFD packet to send [08:15:28]OFD Sender: No OFD packet to send [08:15:33]OFD Sender: No OFD packet to send [08:15:38]OFD Sender: No OFD packet to send [08:15:43]OFD Sender: No OFD packet to send [08:15:48]OFD Sender: No OFD packet to send [08:15:53]OFD Sender: No OFD packet to send [08:15:58]OFD Sender: No OFD packet to send [08:16:03]OFD Sender: No OFD packet to send [08:16:08]OFD Sender: No OFD packet to send [08:16:13]OFD Sender: No OFD packet to send [08:16:18]OFD Sender: No OFD packet to send [08:16:23]OFD Sender: No OFD packet to send [08:16:28]OFD Sender: No OFD packet to send [08:16:33]OFD Sender: No OFD packet to send [08:16:38]OFD Sender: No OFD packet to send [08:16:43]OFD Sender: No OFD packet to send [08:16:48]OFD Sender: No OFD packet to send [08:16:53]OFD Sender: No OFD packet to send [08:16:58]OFD Sender: No OFD packet to send [08:17:03]OFD Sender: No OFD packet to send [08:17:08]OFD Sender: No OFD packet to send [08:17:13]OFD Sender: No OFD packet to send [08:17:18]OFD Sender: No OFD packet to send [08:17:23]OFD Sender: No OFD packet to send [08:17:28]OFD Sender: No OFD packet to send [08:17:33]OFD Sender: No OFD packet to send [08:17:38]OFD Sender: No OFD packet to send [08:17:43]OFD Sender: No OFD packet to send [08:17:48]OFD Sender: No OFD packet to send [08:17:53]OFD Sender: No OFD packet to send [08:17:58]OFD Sender: No OFD packet to send [08:18:03]OFD Sender: No OFD packet to send [08:18:08]OFD Sender: No OFD packet to send [08:18:13]OFD Sender: No OFD packet to send [08:18:18]OFD Sender: No OFD packet to send [08:18:23]OFD Sender: No OFD packet to send [08:18:28]OFD Sender: No OFD packet to send [08:18:33]OFD Sender: No OFD packet to send [08:18:38]OFD Sender: No OFD packet to send [08:18:43]OFD Sender: No OFD packet to send [08:18:48]OFD Sender: No OFD packet to send [08:18:53]OFD Sender: No OFD packet to send [08:18:58]OFD Sender: No OFD packet to send [08:19:03]OFD Sender: No OFD packet to send [08:19:08]OFD Sender: No OFD packet to send [08:19:13]OFD Sender: No OFD packet to send [08:19:18]OFD Sender: No OFD packet to send [08:19:23]OFD Sender: No OFD packet to send [08:19:28]OFD Sender: No OFD packet to send [08:19:33]OFD Sender: No OFD packet to send [08:19:38]OFD Sender: No OFD packet to send [08:19:43]OFD Sender: No OFD packet to send [08:19:48]OFD Sender: No OFD packet to send [08:19:53]OFD Sender: No OFD packet to send [08:19:58]OFD Sender: No OFD packet to send [08:20:03]OFD Sender: No OFD packet to send [08:20:09]OFD Sender: No OFD packet to send [08:20:14]OFD Sender: No OFD packet to send [08:20:19]OFD Sender: No OFD packet to send [08:20:24]OFD Sender: No OFD packet to send [08:20:29]OFD Sender: No OFD packet to send [08:20:34]OFD Sender: No OFD packet to send [08:20:39]OFD Sender: No OFD packet to send [08:20:44]OFD Sender: No OFD packet to send [08:20:49]OFD Sender: No OFD packet to send [08:20:54]OFD Sender: No OFD packet to send [08:20:59]OFD Sender: No OFD packet to send [08:21:04]OFD Sender: No OFD packet to send [08:21:09]OFD Sender: No OFD packet to send [08:21:14]OFD Sender: No OFD packet to send [08:21:19]OFD Sender: No OFD packet to send [08:21:24]OFD Sender: No OFD packet to send [08:21:29]OFD Sender: No OFD packet to send [08:21:34]OFD Sender: No OFD packet to send [08:21:39]OFD Sender: No OFD packet to send [08:21:44]OFD Sender: No OFD packet to send [08:21:49]OFD Sender: No OFD packet to send [08:21:54]OFD Sender: No OFD packet to send [08:21:59]OFD Sender: No OFD packet to send [08:22:04]OFD Sender: No OFD packet to send [08:22:09]OFD Sender: No OFD packet to send [08:22:14]OFD Sender: No OFD packet to send [08:22:19]OFD Sender: No OFD packet to send [08:22:24]OFD Sender: No OFD packet to send [08:22:29]OFD Sender: No OFD packet to send [08:22:34]OFD Sender: No OFD packet to send [08:22:39]OFD Sender: No OFD packet to send [08:22:44]OFD Sender: No OFD packet to send [08:22:49]OFD Sender: No OFD packet to send [08:22:54]OFD Sender: No OFD packet to send [08:22:59]OFD Sender: No OFD packet to send [08:23:04]OFD Sender: No OFD packet to send [08:23:09]OFD Sender: No OFD packet to send [08:23:14]OFD Sender: No OFD packet to send [08:23:19]OFD Sender: No OFD packet to send [08:23:24]OFD Sender: No OFD packet to send [08:23:29]OFD Sender: No OFD packet to send [08:23:34]OFD Sender: No OFD packet to send [08:23:39]OFD Sender: No OFD packet to send [08:23:44]OFD Sender: No OFD packet to send [08:23:49]OFD Sender: No OFD packet to send [08:23:54]OFD Sender: No OFD packet to send [08:23:59]OFD Sender: No OFD packet to send [08:24:04]OFD Sender: No OFD packet to send [08:24:09]OFD Sender: No OFD packet to send [08:24:14]OFD Sender: No OFD packet to send [08:24:19]OFD Sender: No OFD packet to send [08:24:24]OFD Sender: No OFD packet to send [08:24:29]OFD Sender: No OFD packet to send [08:24:34]OFD Sender: No OFD packet to send [08:24:39]OFD Sender: No OFD packet to send [08:24:44]OFD Sender: No OFD packet to send [08:24:49]OFD Sender: No OFD packet to send [08:24:54]OFD Sender: No OFD packet to send [08:24:59]OFD Sender: No OFD packet to send [08:25:04]OFD Sender: No OFD packet to send [08:25:09]OFD Sender: No OFD packet to send [08:25:14]OFD Sender: No OFD packet to send [08:25:19]OFD Sender: No OFD packet to send [08:25:24]OFD Sender: No OFD packet to send [08:25:29]OFD Sender: No OFD packet to send [08:25:34]OFD Sender: No OFD packet to send [08:25:39]OFD Sender: No OFD packet to send [08:25:44]OFD Sender: No OFD packet to send [08:25:49]OFD Sender: No OFD packet to send [08:25:54]OFD Sender: No OFD packet to send [08:25:59]OFD Sender: No OFD packet to send [08:26:04]OFD Sender: No OFD packet to send [08:26:09]OFD Sender: No OFD packet to send [08:26:14]OFD Sender: No OFD packet to send [08:26:19]OFD Sender: No OFD packet to send [08:26:24]OFD Sender: No OFD packet to send [08:26:29]OFD Sender: No OFD packet to send [08:26:34]OFD Sender: No OFD packet to send [08:26:39]OFD Sender: No OFD packet to send [08:26:44]OFD Sender: No OFD packet to send [08:26:49]OFD Sender: No OFD packet to send [08:26:54]OFD Sender: No OFD packet to send [08:26:59]OFD Sender: No OFD packet to send [08:27:04]OFD Sender: No OFD packet to send [08:27:09]OFD Sender: No OFD packet to send [08:27:14]OFD Sender: No OFD packet to send [08:27:19]OFD Sender: No OFD packet to send [08:27:24]OFD Sender: No OFD packet to send [08:27:29]OFD Sender: No OFD packet to send [08:27:34]OFD Sender: No OFD packet to send [08:27:39]OFD Sender: No OFD packet to send [08:27:44]OFD Sender: No OFD packet to send [08:27:49]OFD Sender: No OFD packet to send [08:27:54]OFD Sender: No OFD packet to send [08:27:59]OFD Sender: No OFD packet to send [08:28:04]OFD Sender: No OFD packet to send [08:28:09]OFD Sender: No OFD packet to send [08:28:14]OFD Sender: No OFD packet to send [08:28:19]OFD Sender: No OFD packet to send [08:28:24]OFD Sender: No OFD packet to send [08:28:29]OFD Sender: No OFD packet to send [08:28:34]OFD Sender: No OFD packet to send [08:28:39]OFD Sender: No OFD packet to send [08:28:44]OFD Sender: No OFD packet to send [08:28:49]OFD Sender: No OFD packet to send [08:28:54]OFD Sender: No OFD packet to send [08:28:59]OFD Sender: No OFD packet to send [08:29:04]OFD Sender: No OFD packet to send [08:29:09]OFD Sender: No OFD packet to send [08:29:14]OFD Sender: No OFD packet to send [08:29:19]OFD Sender: No OFD packet to send [08:29:24]OFD Sender: No OFD packet to send [08:29:29]OFD Sender: No OFD packet to send [08:29:34]OFD Sender: No OFD packet to send [08:29:39]OFD Sender: No OFD packet to send [08:29:44]OFD Sender: No OFD packet to send [08:29:49]OFD Sender: No OFD packet to send [08:29:54]OFD Sender: No OFD packet to send [08:29:59]OFD Sender: No OFD packet to send [08:30:04]OFD Sender: No OFD packet to send [08:30:09]OFD Sender: No OFD packet to send [08:30:14]OFD Sender: No OFD packet to send [08:30:19]OFD Sender: No OFD packet to send [08:30:24]OFD Sender: No OFD packet to send [08:30:29]OFD Sender: No OFD packet to send [08:30:34]OFD Sender: No OFD packet to send [08:30:39]OFD Sender: No OFD packet to send [08:30:44]OFD Sender: No OFD packet to send [08:30:49]OFD Sender: No OFD packet to send [08:30:54]OFD Sender: No OFD packet to send [08:30:59]OFD Sender: No OFD packet to send [08:31:04]OFD Sender: No OFD packet to send [08:31:09]OFD Sender: No OFD packet to send [08:31:14]OFD Sender: No OFD packet to send [08:31:19]OFD Sender: No OFD packet to send [08:31:24]OFD Sender: No OFD packet to send [08:31:29]OFD Sender: No OFD packet to send [08:31:34]OFD Sender: No OFD packet to send [08:31:39]OFD Sender: No OFD packet to send [08:31:44]OFD Sender: No OFD packet to send [08:31:49]OFD Sender: No OFD packet to send [08:31:54]OFD Sender: No OFD packet to send [08:31:59]OFD Sender: No OFD packet to send [08:32:04]OFD Sender: No OFD packet to send [08:32:09]OFD Sender: No OFD packet to send [08:32:14]OFD Sender: No OFD packet to send [08:32:19]OFD Sender: No OFD packet to send [08:32:24]OFD Sender: No OFD packet to send [08:32:29]OFD Sender: No OFD packet to send [08:32:34]OFD Sender: No OFD packet to send [08:32:39]OFD Sender: No OFD packet to send [08:32:44]OFD Sender: No OFD packet to send [08:32:49]OFD Sender: No OFD packet to send [08:32:54]OFD Sender: No OFD packet to send [08:32:59]OFD Sender: No OFD packet to send [08:33:04]OFD Sender: No OFD packet to send [08:33:09]OFD Sender: No OFD packet to send [08:33:14]OFD Sender: No OFD packet to send [08:33:19]OFD Sender: No OFD packet to send [08:33:24]OFD Sender: No OFD packet to send [08:33:29]OFD Sender: No OFD packet to send [08:33:34]OFD Sender: No OFD packet to send [08:33:39]OFD Sender: No OFD packet to send [08:33:44]OFD Sender: No OFD packet to send [08:33:49]OFD Sender: No OFD packet to send [08:33:54]OFD Sender: No OFD packet to send [08:33:59]OFD Sender: No OFD packet to send [08:34:04]OFD Sender: No OFD packet to send [08:34:09]OFD Sender: No OFD packet to send [08:34:14]OFD Sender: No OFD packet to send [08:34:19]OFD Sender: No OFD packet to send [08:34:24]OFD Sender: No OFD packet to send [08:34:29]OFD Sender: No OFD packet to send [08:34:34]OFD Sender: No OFD packet to send [08:34:39]OFD Sender: No OFD packet to send [08:34:44]OFD Sender: No OFD packet to send [08:34:49]OFD Sender: No OFD packet to send [08:34:54]OFD Sender: No OFD packet to send [08:34:59]OFD Sender: No OFD packet to send [08:35:04]OFD Sender: No OFD packet to send [08:35:09]OFD Sender: No OFD packet to send [08:35:14]OFD Sender: No OFD packet to send [08:35:19]OFD Sender: No OFD packet to send [08:35:24]OFD Sender: No OFD packet to send [08:35:29]OFD Sender: No OFD packet to send [08:35:34]OFD Sender: No OFD packet to send [08:35:39]OFD Sender: No OFD packet to send [08:35:44]OFD Sender: No OFD packet to send [08:35:49]OFD Sender: No OFD packet to send [08:35:54]OFD Sender: No OFD packet to send [08:35:59]OFD Sender: No OFD packet to send [08:36:04]OFD Sender: No OFD packet to send [08:36:09]OFD Sender: No OFD packet to send [08:36:14]OFD Sender: No OFD packet to send [08:36:19]OFD Sender: No OFD packet to send [08:36:24]OFD Sender: No OFD packet to send [08:36:29]OFD Sender: No OFD packet to send [08:36:34]OFD Sender: No OFD packet to send [08:36:39]OFD Sender: No OFD packet to send [08:36:44]OFD Sender: No OFD packet to send [08:36:49]OFD Sender: No OFD packet to send [08:36:54]OFD Sender: No OFD packet to send [08:36:59]OFD Sender: No OFD packet to send [08:37:04]OFD Sender: No OFD packet to send [08:37:09]OFD Sender: No OFD packet to send [08:37:14]OFD Sender: No OFD packet to send [08:37:19]OFD Sender: No OFD packet to send [08:37:24]OFD Sender: No OFD packet to send [08:37:29]OFD Sender: No OFD packet to send [08:37:34]OFD Sender: No OFD packet to send [08:37:39]OFD Sender: No OFD packet to send [08:37:44]OFD Sender: No OFD packet to send [08:37:49]OFD Sender: No OFD packet to send [08:37:54]OFD Sender: No OFD packet to send [08:37:59]OFD Sender: No OFD packet to send [08:38:04]OFD Sender: No OFD packet to send [08:38:09]OFD Sender: No OFD packet to send [08:38:14]OFD Sender: No OFD packet to send [08:38:19]OFD Sender: No OFD packet to send [08:38:24]OFD Sender: No OFD packet to send [08:38:29]OFD Sender: No OFD packet to send [08:38:34]OFD Sender: No OFD packet to send [08:38:39]OFD Sender: No OFD packet to send [08:38:44]OFD Sender: No OFD packet to send [08:38:49]OFD Sender: No OFD packet to send [08:38:54]OFD Sender: No OFD packet to send [08:38:59]OFD Sender: No OFD packet to send [08:39:04]OFD Sender: No OFD packet to send [08:39:09]OFD Sender: No OFD packet to send [08:39:14]OFD Sender: No OFD packet to send [08:39:19]OFD Sender: No OFD packet to send [08:39:24]OFD Sender: No OFD packet to send [08:39:29]OFD Sender: No OFD packet to send [08:39:34]OFD Sender: No OFD packet to send [08:39:39]OFD Sender: No OFD packet to send [08:39:44]OFD Sender: No OFD packet to send [08:39:49]OFD Sender: No OFD packet to send [08:39:54]OFD Sender: No OFD packet to send [08:39:59]OFD Sender: No OFD packet to send [08:40:04]OFD Sender: No OFD packet to send [08:40:09]OFD Sender: No OFD packet to send [08:40:14]OFD Sender: No OFD packet to send [08:40:19]OFD Sender: No OFD packet to send [08:40:24]OFD Sender: No OFD packet to send [08:40:29]OFD Sender: No OFD packet to send [08:40:34]OFD Sender: No OFD packet to send [08:40:39]OFD Sender: No OFD packet to send [08:40:44]OFD Sender: No OFD packet to send [08:40:49]OFD Sender: No OFD packet to send [08:40:54]OFD Sender: No OFD packet to send [08:40:59]OFD Sender: No OFD packet to send [08:41:04]OFD Sender: No OFD packet to send [08:41:09]OFD Sender: No OFD packet to send [08:41:14]OFD Sender: No OFD packet to send [08:41:19]OFD Sender: No OFD packet to send [08:41:25]OFD Sender: No OFD packet to send [08:41:30]OFD Sender: No OFD packet to send [08:41:35]OFD Sender: No OFD packet to send [08:41:40]OFD Sender: No OFD packet to send [08:41:45]OFD Sender: No OFD packet to send [08:41:50]OFD Sender: No OFD packet to send [08:41:55]OFD Sender: No OFD packet to send [08:42:00]OFD Sender: No OFD packet to send [08:42:05]OFD Sender: No OFD packet to send [08:42:10]OFD Sender: No OFD packet to send [08:42:15]OFD Sender: No OFD packet to send [08:42:20]OFD Sender: No OFD packet to send [08:42:25]OFD Sender: No OFD packet to send [08:42:30]OFD Sender: No OFD packet to send [08:42:35]OFD Sender: No OFD packet to send [08:42:40]OFD Sender: No OFD packet to send [08:42:45]OFD Sender: No OFD packet to send [08:42:50]OFD Sender: No OFD packet to send [08:42:55]OFD Sender: No OFD packet to send [08:43:00]OFD Sender: No OFD packet to send [08:43:05]OFD Sender: No OFD packet to send [08:43:10]OFD Sender: No OFD packet to send [08:43:15]OFD Sender: No OFD packet to send [08:43:20]OFD Sender: No OFD packet to send [08:43:25]OFD Sender: No OFD packet to send [08:43:30]OFD Sender: No OFD packet to send [08:43:35]OFD Sender: No OFD packet to send [08:43:40]OFD Sender: No OFD packet to send [08:43:45]OFD Sender: No OFD packet to send [08:43:50]OFD Sender: No OFD packet to send [08:43:55]OFD Sender: No OFD packet to send [08:44:00]OFD Sender: No OFD packet to send [08:44:05]OFD Sender: No OFD packet to send [08:44:10]OFD Sender: No OFD packet to send [08:44:15]OFD Sender: No OFD packet to send [08:44:20]OFD Sender: No OFD packet to send [08:44:25]OFD Sender: No OFD packet to send [08:44:30]OFD Sender: No OFD packet to send [08:44:35]OFD Sender: No OFD packet to send [08:44:40]OFD Sender: No OFD packet to send [08:44:45]OFD Sender: No OFD packet to send [08:44:50]OFD Sender: No OFD packet to send [08:44:55]OFD Sender: No OFD packet to send [08:45:00]OFD Sender: No OFD packet to send [08:45:05]OFD Sender: No OFD packet to send [08:45:10]OFD Sender: No OFD packet to send [08:45:15]OFD Sender: No OFD packet to send [08:45:20]OFD Sender: No OFD packet to send [08:45:25]OFD Sender: No OFD packet to send [08:45:30]OFD Sender: No OFD packet to send [08:45:35]OFD Sender: No OFD packet to send [08:45:40]OFD Sender: No OFD packet to send [08:45:45]OFD Sender: No OFD packet to send [08:45:50]OFD Sender: No OFD packet to send [08:45:55]OFD Sender: No OFD packet to send [08:46:00]OFD Sender: No OFD packet to send [08:46:05]OFD Sender: No OFD packet to send [08:46:10]OFD Sender: No OFD packet to send [08:46:15]OFD Sender: No OFD packet to send [08:46:20]OFD Sender: No OFD packet to send [08:46:25]OFD Sender: No OFD packet to send [08:46:30]OFD Sender: No OFD packet to send [08:46:35]OFD Sender: No OFD packet to send [08:46:40]OFD Sender: No OFD packet to send [08:46:45]OFD Sender: No OFD packet to send [08:46:50]OFD Sender: No OFD packet to send [08:46:55]OFD Sender: No OFD packet to send [08:47:00]OFD Sender: No OFD packet to send [08:47:05]OFD Sender: No OFD packet to send [08:47:10]OFD Sender: No OFD packet to send [08:47:15]OFD Sender: No OFD packet to send [08:47:20]OFD Sender: No OFD packet to send [08:47:25]OFD Sender: No OFD packet to send [08:47:30]OFD Sender: No OFD packet to send [08:47:35]OFD Sender: No OFD packet to send [08:47:40]OFD Sender: No OFD packet to send [08:47:45]OFD Sender: No OFD packet to send [08:47:50]OFD Sender: No OFD packet to send [08:47:55]OFD Sender: No OFD packet to send [08:48:00]OFD Sender: No OFD packet to send [08:48:05]OFD Sender: No OFD packet to send [08:48:10]OFD Sender: No OFD packet to send [08:48:15]OFD Sender: No OFD packet to send [08:48:20]OFD Sender: No OFD packet to send [08:48:25]OFD Sender: No OFD packet to send [08:48:30]OFD Sender: No OFD packet to send [08:48:35]OFD Sender: No OFD packet to send [08:48:40]OFD Sender: No OFD packet to send [08:48:45]OFD Sender: No OFD packet to send [08:48:50]OFD Sender: No OFD packet to send [08:48:55]OFD Sender: No OFD packet to send [08:49:00]OFD Sender: No OFD packet to send [08:49:05]OFD Sender: No OFD packet to send [08:49:10]OFD Sender: No OFD packet to send [08:49:15]OFD Sender: No OFD packet to send [08:49:20]OFD Sender: No OFD packet to send [08:49:25]OFD Sender: No OFD packet to send [08:49:30]OFD Sender: No OFD packet to send [08:49:35]OFD Sender: No OFD packet to send [08:49:40]OFD Sender: No OFD packet to send [08:49:45]OFD Sender: No OFD packet to send [08:49:50]OFD Sender: No OFD packet to send [08:49:55]OFD Sender: No OFD packet to send [08:50:00]OFD Sender: No OFD packet to send [08:50:05]OFD Sender: No OFD packet to send [08:50:10]OFD Sender: No OFD packet to send [08:50:15]OFD Sender: No OFD packet to send [08:50:20]OFD Sender: No OFD packet to send [08:50:25]OFD Sender: No OFD packet to send [08:50:30]OFD Sender: No OFD packet to send [08:50:35]OFD Sender: No OFD packet to send [08:50:40]OFD Sender: No OFD packet to send [08:50:45]OFD Sender: No OFD packet to send [08:50:50]OFD Sender: No OFD packet to send [08:50:55]OFD Sender: No OFD packet to send [08:51:00]OFD Sender: No OFD packet to send [08:51:05]OFD Sender: No OFD packet to send [08:51:10]OFD Sender: No OFD packet to send [08:51:15]OFD Sender: No OFD packet to send [08:51:20]OFD Sender: No OFD packet to send [08:51:25]OFD Sender: No OFD packet to send [08:51:30]OFD Sender: No OFD packet to send [08:51:35]OFD Sender: No OFD packet to send [08:51:40]OFD Sender: No OFD packet to send [08:51:45]OFD Sender: No OFD packet to send [08:51:50]OFD Sender: No OFD packet to send [08:51:55]OFD Sender: No OFD packet to send [08:52:00]OFD Sender: No OFD packet to send [08:52:05]OFD Sender: No OFD packet to send [08:52:10]OFD Sender: No OFD packet to send [08:52:15]OFD Sender: No OFD packet to send [08:52:20]OFD Sender: No OFD packet to send [08:52:25]OFD Sender: No OFD packet to send [08:52:30]OFD Sender: No OFD packet to send [08:52:35]OFD Sender: No OFD packet to send [08:52:40]OFD Sender: No OFD packet to send [08:52:45]OFD Sender: No OFD packet to send [08:52:50]OFD Sender: No OFD packet to send [08:52:55]OFD Sender: No OFD packet to send [08:53:00]OFD Sender: No OFD packet to send [08:53:05]OFD Sender: No OFD packet to send [08:53:10]OFD Sender: No OFD packet to send [08:53:15]OFD Sender: No OFD packet to send [08:53:20]OFD Sender: No OFD packet to send [08:53:25]OFD Sender: No OFD packet to send [08:53:30]OFD Sender: No OFD packet to send [08:53:35]OFD Sender: No OFD packet to send [08:53:40]OFD Sender: No OFD packet to send [08:53:45]OFD Sender: No OFD packet to send [08:53:50]OFD Sender: No OFD packet to send [08:53:55]OFD Sender: No OFD packet to send [08:54:00]OFD Sender: No OFD packet to send [08:54:05]OFD Sender: No OFD packet to send [08:54:10]OFD Sender: No OFD packet to send [08:54:15]OFD Sender: No OFD packet to send [08:54:20]OFD Sender: No OFD packet to send [08:54:25]OFD Sender: No OFD packet to send [08:54:30]OFD Sender: No OFD packet to send [08:54:35]OFD Sender: No OFD packet to send [08:54:40]OFD Sender: No OFD packet to send [08:54:45]OFD Sender: No OFD packet to send [08:54:50]OFD Sender: No OFD packet to send [08:54:55]OFD Sender: No OFD packet to send [08:55:00]OFD Sender: No OFD packet to send [08:55:05]OFD Sender: No OFD packet to send [08:55:10]OFD Sender: No OFD packet to send [08:55:15]OFD Sender: No OFD packet to send [08:55:20]OFD Sender: No OFD packet to send [08:55:25]OFD Sender: No OFD packet to send [08:55:30]OFD Sender: No OFD packet to send [08:55:35]OFD Sender: No OFD packet to send [08:55:40]OFD Sender: No OFD packet to send [08:55:45]OFD Sender: No OFD packet to send [08:55:50]OFD Sender: No OFD packet to send [08:55:55]OFD Sender: No OFD packet to send [08:56:00]OFD Sender: No OFD packet to send [08:56:05]OFD Sender: No OFD packet to send [08:56:10]OFD Sender: No OFD packet to send [08:56:15]OFD Sender: No OFD packet to send [08:56:20]OFD Sender: No OFD packet to send [08:56:25]OFD Sender: No OFD packet to send [08:56:30]OFD Sender: No OFD packet to send [08:56:35]OFD Sender: No OFD packet to send [08:56:40]OFD Sender: No OFD packet to send [08:56:45]OFD Sender: No OFD packet to send [08:56:50]OFD Sender: No OFD packet to send [08:56:55]OFD Sender: No OFD packet to send [08:57:00]OFD Sender: No OFD packet to send [08:57:05]OFD Sender: No OFD packet to send [08:57:10]OFD Sender: No OFD packet to send [08:57:15]OFD Sender: No OFD packet to send [08:57:20]OFD Sender: No OFD packet to send [08:57:25]OFD Sender: No OFD packet to send [08:57:30]OFD Sender: No OFD packet to send [08:57:35]OFD Sender: No OFD packet to send [08:57:40]OFD Sender: No OFD packet to send [08:57:45]OFD Sender: No OFD packet to send [08:57:50]OFD Sender: No OFD packet to send [08:57:55]OFD Sender: No OFD packet to send [08:58:00]OFD Sender: No OFD packet to send [08:58:05]OFD Sender: No OFD packet to send [08:58:10]OFD Sender: No OFD packet to send [08:58:15]OFD Sender: No OFD packet to send [08:58:20]OFD Sender: No OFD packet to send [08:58:25]OFD Sender: No OFD packet to send [08:58:30]OFD Sender: No OFD packet to send [08:58:35]OFD Sender: No OFD packet to send [08:58:40]OFD Sender: No OFD packet to send [08:58:45]OFD Sender: No OFD packet to send [08:58:50]OFD Sender: No OFD packet to send [08:58:55]OFD Sender: No OFD packet to send [08:59:00]OFD Sender: No OFD packet to send [08:59:05]OFD Sender: No OFD packet to send [08:59:10]OFD Sender: No OFD packet to send [08:59:15]OFD Sender: No OFD packet to send [08:59:20]OFD Sender: No OFD packet to send [08:59:25]OFD Sender: No OFD packet to send [08:59:30]OFD Sender: No OFD packet to send [08:59:35]OFD Sender: No OFD packet to send [08:59:40]OFD Sender: No OFD packet to send [08:59:45]OFD Sender: No OFD packet to send [08:59:50]OFD Sender: No OFD packet to send [08:59:55]OFD Sender: No OFD packet to send [09:00:00]OFD Sender: No OFD packet to send [09:00:05]OFD Sender: No OFD packet to send [09:00:10]OFD Sender: No OFD packet to send [09:00:15]OFD Sender: No OFD packet to send [09:00:20]OFD Sender: No OFD packet to send [09:00:25]OFD Sender: No OFD packet to send [09:00:30]OFD Sender: No OFD packet to send [09:00:35]OFD Sender: No OFD packet to send [09:00:40]OFD Sender: No OFD packet to send [09:00:45]OFD Sender: No OFD packet to send [09:00:50]OFD Sender: No OFD packet to send [09:00:55]OFD Sender: No OFD packet to send [09:01:00]OFD Sender: No OFD packet to send [09:01:05]OFD Sender: No OFD packet to send [09:01:10]OFD Sender: No OFD packet to send [09:01:15]OFD Sender: No OFD packet to send [09:01:20]OFD Sender: No OFD packet to send [09:01:25]OFD Sender: No OFD packet to send [09:01:30]OFD Sender: No OFD packet to send [09:01:35]OFD Sender: No OFD packet to send [09:01:40]OFD Sender: No OFD packet to send [09:01:45]OFD Sender: No OFD packet to send [09:01:50]OFD Sender: No OFD packet to send [09:01:55]OFD Sender: No OFD packet to send [09:02:00]OFD Sender: No OFD packet to send [09:02:05]OFD Sender: No OFD packet to send [09:02:10]OFD Sender: No OFD packet to send [09:02:15]OFD Sender: No OFD packet to send [09:02:20]OFD Sender: No OFD packet to send [09:02:25]OFD Sender: No OFD packet to send [09:02:30]OFD Sender: No OFD packet to send [09:02:35]OFD Sender: No OFD packet to send [09:02:40]OFD Sender: No OFD packet to send [09:02:45]OFD Sender: No OFD packet to send [09:02:51]OFD Sender: No OFD packet to send [09:02:56]OFD Sender: No OFD packet to send [09:03:01]OFD Sender: No OFD packet to send [09:03:06]OFD Sender: No OFD packet to send [09:03:11]OFD Sender: No OFD packet to send [09:03:14]accept exits with 9 [09:03:14]New connection [09:03:14]New thread 3067047268 created [09:03:14]Thread 3066903908 joined [09:03:14]Waiting for new connection... [09:03:14] Sock 9.Parse request [09:03:14]Sock 9.Check first char [09:03:14]Sock 9.First char is OK [09:03:14]request: POST /json_proto HTTP/1.0 [09:03:14]Method: POST [09:03:14]URL: /json_proto [09:03:14]Method is POST - this is cgi request [09:03:14]url: /json_proto [09:03:14]query_string will be loaded in cgi processing [09:03:14]execute_cgi json_proto POST (null) [09:03:14]execute_cgi path=json_proto method=POST [09:03:14]POST find Content-Length [09:03:14]Host: 172.17.62.196:8080 [09:03:14]Content-Length: 657 [09:03:14]Content-Type: application/json [09:03:14] [09:03:14]POST finish read [09:03:14]Found Content-Length = 657 [09:03:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16849", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:03:14]execute_script... [09:03:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16849", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:03:14]POST & json_proto [09:03:14]process_json_proto [09:03:14]json parsed OK: [09:03:14]protocol is kg_v1.0 [09:03:14]action value=close_receipt [09:03:14]process_action close_receipt [09:03:14]cmd_close_receipt [09:03:14]MH_GetDate [09:03:14]Write to MH i2c: F0 00 00 96 15 9A [09:03:14]Write i2c OK [09:03:14]MH_I2C_Read... [09:03:14]Read from MH i2c: F0 [09:03:14]MH_I2C_Read... [09:03:14]Read from MH i2c: F0 09 00 [09:03:14]MH_I2C_Read... [09:03:14]Read from MH i2c: F0 09 00 96 15 00 D7 D1 F3 66 CE CC 0E 66 B2 [09:03:14]GetLastDocTimeStamp 1727251780 [09:03:14]current date 1727254999 [09:03:14]FM_GetShiftState [09:03:14]SAM_PROTO_GetShiftState [09:03:14]wFMCommunicate request_size=4 [09:03:14]MH_SAM_APDU [09:03:14]CAPDU: 80 13 01 00 [09:03:14]Write to MH i2c: E2 08 00 97 15 80 13 01 00 00 00 00 00 29 [09:03:14]Write i2c OK [09:03:14]MH_I2C_Read... [09:03:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:03:14]Read from MH i2c: E2 [09:03:14]MH_I2C_Read... [09:03:14]Read from MH i2c: E2 0E 00 [09:03:14]MH_I2C_Read... [09:03:14]Read from MH i2c: E2 0E 00 97 15 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 16 [09:03:14]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [09:03:14]wFMCommunicate OK [09:03:14]SAM_PROTO_GetShiftState done [09:03:14]FM_GetShiftState done [09:03:14]opened in 1727223091 [09:03:14]opened+sec_in_day 1727309491 [09:03:14]quantity*price = 10500 [09:03:14]sum+1 = 10501 [09:03:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 8 25.09.2024 09:03 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18930 ФПД: 158201361896840 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T090319&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18930&fm=158201361896840&tin=02508201610067®Number=0000000000152968&sum=10500 0 [09:03:15]StoreToDocumentArchive [09:03:15]shift 183 fd 18930 [09:03:15]save to /storage/0183/doc_00018930 [09:03:15]save last doc name /storage/0183/doc_00018930 to /storage/kkm_last_doc_name [09:03:15]save OK [09:03:15]Clear old archive folders... [09:03:15]ProcessDocumentItem done err = 0, tmpTLVsize=278 [09:03:15]tlvbuf is 0186FBF0 [09:03:15]SAM_PROTO_ClearQueue [09:03:15]wFMCommunicate request_size=4 [09:03:15]MH_SAM_APDU [09:03:15]CAPDU: 80 09 00 00 [09:03:15]Write to MH i2c: E2 08 00 A4 15 80 09 00 00 00 00 00 00 2B [09:03:15]Write i2c OK [09:03:15]MH_I2C_Read... [09:03:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:03:15]Read from MH i2c: E2 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: E2 03 00 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: E2 03 00 A4 15 00 90 00 2D [09:03:15]RAPDU: 90 00 [09:03:15]wFMCommunicate OK [09:03:15]SAM_PROTO_ClearQueue done [09:03:15]KKMCreateOFDPacket [09:03:15]OFDProtocolAddRootSTLVToBuf [09:03:15]FM_MakeSignedData [09:03:15]FM_MakeSignedData [09:03:15]SAM_PROTO_SignData [09:03:15]wFMCommunicate request_size=4 [09:03:15]MH_SAM_APDU [09:03:15]CAPDU: 80 0D 01 02 [09:03:15]Write to MH i2c: E2 08 00 A5 15 80 0D 01 02 00 00 00 00 33 [09:03:15]Write i2c OK [09:03:15]MH_I2C_Read... [09:03:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:03:15]Read from MH i2c: E2 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: E2 03 00 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: E2 03 00 A5 15 00 90 00 2E [09:03:15]RAPDU: 90 00 [09:03:15]wFMCommunicate OK [09:03:15]wFMCommunicate request_size=255 [09:03:15]MH_SAM_APDU [09:03:15]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 D7 D1 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 [09:03:15]Write to MH i2c: E2 02 01 A6 15 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 D7 D1 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 00 00 62 [09:03:15]Write i2c OK [09:03:15]MH_I2C_Read... [09:03:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:03:15]Read from MH i2c: E2 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: E2 03 00 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: E2 03 00 A6 15 00 90 00 2F [09:03:15]RAPDU: 90 00 [09:03:15]wFMCommunicate OK [09:03:15]wFMCommunicate request_size=37 [09:03:15]MH_SAM_APDU [09:03:15]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F2 49 00 00 35 04 06 00 8F E2 1F FA 95 88 [09:03:15]Write to MH i2c: E2 28 00 A7 15 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F2 49 00 00 35 04 06 00 8F E2 1F FA 95 88 00 00 75 [09:03:15]Write i2c OK [09:03:15]MH_I2C_Read... [09:03:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:03:15]Read from MH i2c: E2 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: E2 03 00 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: E2 03 00 A7 15 00 90 00 30 [09:03:15]RAPDU: 90 00 [09:03:15]wFMCommunicate OK [09:03:15]wFMCommunicate request_size=4 [09:03:15]MH_SAM_APDU [09:03:15]CAPDU: 80 0D 03 02 [09:03:15]Write to MH i2c: E2 08 00 A8 15 80 0D 03 02 00 00 00 00 38 [09:03:15]Write i2c OK [09:03:15]MH_I2C_Read... [09:03:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:03:15]Read from MH i2c: E2 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: E2 0B 00 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: E2 0B 00 A8 15 00 DD 5D 9B 9C 6F 80 93 7A 90 00 A6 [09:03:15]RAPDU: DD 5D 9B 9C 6F 80 93 7A 90 00 [09:03:15]wFMCommunicate OK [09:03:15]SAM_PROTO_SignData done [09:03:15]FM_MakeSignedData done [09:03:15]CreateOFDProtocolMessage [09:03:15]wFMCommunicate request_size=4 [09:03:15]MH_SAM_APDU [09:03:15]CAPDU: 80 11 00 00 [09:03:15]Write to MH i2c: E2 08 00 A9 15 80 11 00 00 00 00 00 00 38 [09:03:15]Write i2c OK [09:03:15]MH_I2C_Read... [09:03:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:03:15]Read from MH i2c: E2 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: E2 17 00 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: E2 17 00 A9 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 91 [09:03:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [09:03:15]wFMCommunicate OK [09:03:15]CreateOFDProtocolMessage done [09:03:15]OFDSenderStorePacket 18930 [09:03:15]StoreOFDPacket docnum=18930 [09:03:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2A 01 00 00 9C 0F 22 01 B8 59 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 D7 D1 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F2 49 00 00 35 04 06 00 8F E2 1F FA 95 88 DD 5D 9B 9C 6F 80 93 7A [09:03:15]CheckFolder [09:03:15]dirname=/storage/ofd_packets [09:03:15]CheckFolder done [09:03:15]ProducePacketName [09:03:15]name=ofd_packets/00018930 [09:03:15]NVStorageSaveData ofd_packets/00018930 [09:03:15]File name is /storage/ofd_packets/00018930 [09:03:15]Write 328 bytes [09:03:15]NVStorageSaveData done [09:03:15]OFDSenderStorePacket done [09:03:15]KKMCreateOFDPacket done [09:03:15]NVStorageSaveData kkm_last_timestamp [09:03:15]File name is /storage/kkm_last_timestamp [09:03:15]Write 4 bytes [09:03:15]NVStorageSaveData done [09:03:15]ExternCall_PrintAddStr [09:03:15]wPrintStart [09:03:15]Write to MH i2c: 01 00 00 AA 15 BF [09:03:15]Write i2c OK [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: 01 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: 01 07 00 [09:03:15]MH_I2C_Read... [09:03:15]Read from MH i2c: 01 07 00 AA 15 00 00 00 00 00 FF 0F D4 [09:03:15]RasterBufferAndPrint [09:03:15]line Счет N : (3)16849 [09:03:15]line ИНН: 02508201610067 [09:03:15]line Контрольно-Кассовый Чек [09:03:15]line ПРОДАЖА [09:03:15]line Товар: 5449000054227 [09:03:15]line Напиток Кока-Кола 1л [09:03:15]line 1.000 * 105.00 [09:03:15]line = 105.00 [09:03:15]line НДС 12% НСП 1% [09:03:15]line > о реализуемом товаре [09:03:15]line ИТОГО: 105.00 [09:03:15]line НСП 1% : 0.93 [09:03:15]line НДС 12% : 11.15 [09:03:15]line Наличными: 105.00 [09:03:15]line Безнал.: 0.00 [09:03:15]line Место: АЗС № 176 "Партнер Нефть" [09:03:15]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [09:03:15]line СНО: Общий режим [09:03:15]line Чек 8 25.09.2024 09:03 [09:03:15]line Смена: 183 ФФД: 1.0 [09:03:15]line ЗНМ: 0300000010 [09:03:15]line РНМ: 0000000000152968 [09:03:15]line Версия ККМ: v1.0 [09:03:15]line ФМ: 0000000000959456 [09:03:15]line ФД: 18930 [09:03:15]line ФПД: 158201361896840 [09:03:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T090319&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18930&fm=158201361896840&tin=02508201610067®Number=0000000000152968&sum=10500 [09:03:16]OFD Sender: Processing packet 18930 [packets to send 7, broken 6] [09:03:16]ProducePacketName [09:03:16]name=ofd_packets/00018930 [09:03:16]OFD Sender: To server: pG, [09:03:16]CommunicateWithHost lk.salyk.kg:30040 [09:03:16]ConnectInit lk.salyk.kg [09:03:16]line 0 [09:03:16]written 0, free lines is 4095 [09:03:16]Connected sock=10 [09:03:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2A 01 00 00 9C 0F 22 01 B8 59 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 D7 D1 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F2 49 00 00 35 04 06 00 8F E2 1F FA 95 88 DD 5D 9B 9C 6F 80 93 7A [09:03:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 92 65 47 00 ED D8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F2 49 00 00 F4 03 04 00 35 7B F3 66 B6 04 01 00 00 79 1A DD 6E 21 37 54 D7 [09:03:16]CommunicateWithHost err = 0 [09:03:16]CheckOFDResponse [09:03:16]1017 (14) - 77093643461234 [09:03:16]1041 (16) - 0000000000959456 [09:03:16]1040 (4) - 18930 [09:03:16]1012 (4) - 25.09.2024 02:53 [09:03:16]1206 (1) - 0 [09:03:16]OFD Sender: Remove packet 18930 [09:03:16]ProducePacketName [09:03:16]name=ofd_packets/00018930 [09:03:16]NVStorageDeleteData [09:03:16]Write to MH i2c: 01 00 00 D2 15 E7 [09:03:16]Write i2c OK [09:03:16]MH_I2C_Read... [09:03:16]Read from MH i2c: 01 [09:03:16]MH_I2C_Read... [09:03:16]Read from MH i2c: 01 07 00 [09:03:16]MH_I2C_Read... [09:03:16]Read from MH i2c: 01 07 00 D2 15 00 00 00 00 00 26 0D 21 [09:03:16]RasterBufferAndPrint [09:03:16]line [09:03:16]line [09:03:16]line [09:03:16]line [09:03:16]line [09:03:16]written 0, free lines is 3375 [09:03:16]MH_Cut [09:03:16]Write to MH i2c: D1 01 00 D9 15 01 C0 [09:03:16]Write i2c OK [09:03:16]MH_I2C_Read... [09:03:16]Read from MH i2c: D1 [09:03:16]MH_I2C_Read... [09:03:16]Read from MH i2c: D1 01 00 [09:03:16]MH_I2C_Read... [09:03:16]Read from MH i2c: D1 01 00 D9 15 00 BF [09:03:16]Write to MH i2c: 01 00 00 DA 15 EF [09:03:16]Write i2c OK [09:03:16]MH_I2C_Read... [09:03:17]OFD Sender: No OFD packet to send [09:03:17]*** Cut start [09:03:17]*** Partial cut [09:03:17]*** CUTSNS_PIN = 1 [09:03:17]*** CUTSNS_PIN = 0 [09:03:17]*** Brake cut motor [09:03:17]Read from MH i2c: 01 [09:03:17]MH_I2C_Read... [09:03:17]*** Stop cut motor [09:03:17]*** Cut end [09:03:17]Read from MH i2c: 01 07 00 [09:03:17]MH_I2C_Read... [09:03:17]Read from MH i2c: 01 07 00 DA 15 00 00 00 00 00 FF 0F 04 [09:03:17]process_action close_receipt done [09:03:17]requested_data is exist [09:03:17]produce_requested_data [09:03:17]requested_item fm.sn is exist - process it [09:03:17]wFMCommunicate request_size=4 [09:03:17]MH_SAM_APDU [09:03:17]CAPDU: 80 11 00 00 [09:03:17]Write to MH i2c: E2 08 00 DB 15 80 11 00 00 00 00 00 00 6A [09:03:17]Write i2c OK [09:03:17]MH_I2C_Read... [09:03:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:03:18]Read from MH i2c: E2 [09:03:18]MH_I2C_Read... [09:03:18]Read from MH i2c: E2 17 00 [09:03:18]MH_I2C_Read... [09:03:18]Read from MH i2c: E2 17 00 DB 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 C3 [09:03:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [09:03:18]wFMCommunicate OK [09:03:18]requested_item fd.num is exist - process it [09:03:18]SAM_PROTO_GetFieldsCounters [09:03:18]wFMCommunicate request_size=4 [09:03:18]MH_SAM_APDU [09:03:18]CAPDU: 80 13 00 00 [09:03:18]Write to MH i2c: E2 08 00 DC 15 80 13 00 00 00 00 00 00 6D [09:03:18]Write i2c OK [09:03:18]MH_I2C_Read... [09:03:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:03:18]Read from MH i2c: E2 [09:03:18]MH_I2C_Read... [09:03:18]Read from MH i2c: E2 62 00 [09:03:18]MH_I2C_Read... [09:03:18]Read from MH i2c: E2 62 00 DC 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F2 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 A4 [09:03:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F2 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:03:18]wFMCommunicate OK [09:03:18]SAM_PROTO_GetFieldsCounters done [09:03:18]requested_item shift.num is exist - process it [09:03:18]requested_item shift.opened is exist - process it [09:03:18]req_shift_opened [09:03:18]FM_GetShiftState [09:03:18]SAM_PROTO_GetShiftState [09:03:18]wFMCommunicate request_size=4 [09:03:18]MH_SAM_APDU [09:03:18]CAPDU: 80 13 01 00 [09:03:18]Write to MH i2c: E2 08 00 DD 15 80 13 01 00 00 00 00 00 6F [09:03:18]Write i2c OK [09:03:18]MH_I2C_Read... [09:03:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:03:18]Read from MH i2c: E2 [09:03:18]MH_I2C_Read... [09:03:18]Read from MH i2c: E2 0E 00 [09:03:18]MH_I2C_Read... [09:03:18]Read from MH i2c: E2 0E 00 DD 15 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 5C [09:03:18]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [09:03:18]wFMCommunicate OK [09:03:18]SAM_PROTO_GetShiftState done [09:03:18]FM_GetShiftState done [09:03:18]req_shift_opened done [09:03:18]requested_item shift.open_date is exist - process it [09:03:18]req_shift_open_date [09:03:18]req_shift_open_date done [09:03:18]produce_requested_data done [09:03:18]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18930,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [09:03:18]process_action_free close_receipt [09:03:18]json_value_free [09:03:18]json_value_free done [09:03:18]process_json_proto returns [09:03:18]Send response to host [09:03:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18930,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [09:03:18]free response buf [09:03:18]execute_script done [09:03:18]execute_script returns [09:03:18]free content buf [09:03:18]Sock 9.Close socket [09:03:18]Sock 9.Thread stoped [09:03:22]OFD Sender: No OFD packet to send [09:03:27]OFD Sender: No OFD packet to send [09:03:32]OFD Sender: No OFD packet to send [09:03:37]OFD Sender: No OFD packet to send [09:03:42]OFD Sender: No OFD packet to send [09:03:47]OFD Sender: No OFD packet to send [09:03:52]OFD Sender: No OFD packet to send [09:03:57]OFD Sender: No OFD packet to send [09:04:02]OFD Sender: No OFD packet to send [09:04:07]OFD Sender: No OFD packet to send [09:04:12]OFD Sender: No OFD packet to send [09:04:17]OFD Sender: No OFD packet to send [09:04:22]OFD Sender: No OFD packet to send [09:04:27]OFD Sender: No OFD packet to send [09:04:32]OFD Sender: No OFD packet to send [09:04:37]OFD Sender: No OFD packet to send [09:04:42]OFD Sender: No OFD packet to send [09:04:47]OFD Sender: No OFD packet to send [09:04:52]OFD Sender: No OFD packet to send [09:04:57]OFD Sender: No OFD packet to send [09:05:02]OFD Sender: No OFD packet to send [09:05:07]OFD Sender: No OFD packet to send [09:05:12]OFD Sender: No OFD packet to send [09:05:17]OFD Sender: No OFD packet to send [09:05:22]OFD Sender: No OFD packet to send [09:05:27]OFD Sender: No OFD packet to send [09:05:32]OFD Sender: No OFD packet to send [09:05:37]OFD Sender: No OFD packet to send [09:05:42]OFD Sender: No OFD packet to send [09:05:47]OFD Sender: No OFD packet to send [09:05:51]accept exits with 8 [09:05:51]New connection [09:05:51]New thread 3066903908 created [09:05:51]Thread 3067047268 joined [09:05:51]Waiting for new connection... [09:05:51] Sock 8.Parse request [09:05:51]Sock 8.Check first char [09:05:51]Sock 8.First char is OK [09:05:51]request: POST /json_proto HTTP/1.0 [09:05:51]Method: POST [09:05:51]URL: /json_proto [09:05:51]Method is POST - this is cgi request [09:05:51]url: /json_proto [09:05:51]query_string will be loaded in cgi processing [09:05:51]execute_cgi json_proto POST (null) [09:05:51]execute_cgi path=json_proto method=POST [09:05:51]POST find Content-Length [09:05:51]Host: 172.17.62.196:8080 [09:05:51]Content-Length: 685 [09:05:51]Content-Type: application/json [09:05:51] [09:05:51]POST finish read [09:05:51]Found Content-Length = 685 [09:05:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117458", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 71", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-3", "price" : 37.20, "quantity" : 29.440, "sum" : 1095.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1095.00, "total" : 1095.00, "payments": [ { "type": 0, "sum" : 1095.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:05:51]execute_script... [09:05:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117458", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 71", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-3", "price" : 37.20, "quantity" : 29.440, "sum" : 1095.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1095.00, "total" : 1095.00, "payments": [ { "type": 0, "sum" : 1095.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:05:51]POST & json_proto [09:05:51]process_json_proto [09:05:51]json parsed OK: [09:05:51]protocol is kg_v1.0 [09:05:51]action value=close_receipt [09:05:51]process_action close_receipt [09:05:51]cmd_close_receipt [09:05:51]MH_GetDate [09:05:51]Write to MH i2c: F0 00 00 DE 15 E2 [09:05:51]Write i2c OK [09:05:51]MH_I2C_Read... [09:05:51]Read from MH i2c: F0 [09:05:51]MH_I2C_Read... [09:05:51]Read from MH i2c: F0 09 00 [09:05:51]MH_I2C_Read... [09:05:51]Read from MH i2c: F0 09 00 DE 15 00 74 D2 F3 66 CE CC 0E 66 98 [09:05:51]GetLastDocTimeStamp 1727254999 [09:05:51]current date 1727255156 [09:05:51]FM_GetShiftState [09:05:51]SAM_PROTO_GetShiftState [09:05:51]wFMCommunicate request_size=4 [09:05:51]MH_SAM_APDU [09:05:51]CAPDU: 80 13 01 00 [09:05:51]Write to MH i2c: E2 08 00 DF 15 80 13 01 00 00 00 00 00 71 [09:05:51]Write i2c OK [09:05:51]MH_I2C_Read... [09:05:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:05:51]Read from MH i2c: E2 [09:05:51]MH_I2C_Read... [09:05:51]Read from MH i2c: E2 0E 00 [09:05:51]MH_I2C_Read... [09:05:51]Read from MH i2c: E2 0E 00 DF 15 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 5E [09:05:51]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [09:05:51]wFMCommunicate OK [09:05:51]SAM_PROTO_GetShiftState done [09:05:51]FM_GetShiftState done [09:05:51]opened in 1727223091 [09:05:51]opened+sec_in_day 1727309491 [09:05:51]quantity*price = 109516 [09:05:51]sum+1 = 109518 [09:05:51]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.17 ИТОГО: 1095.00 Внесено: 1095.00 СДАЧА: 0.00 НСП 1% : 9.69 НДС 12% : 116.30 Наличными: 1095.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 9 25.09.2024 09:05 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18931 ФПД: 223483325245036 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T090556&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18931&fm=223483325245036&tin=02508201610067®Number=0000000000152968&sum=109500 [09:05:52]StoreToDocumentArchive [09:05:52]shift 183 fd 18931 [09:05:52]save to /storage/0183/doc_00018931 [09:05:52]save last doc name /storage/0183/doc_00018931 to /storage/kkm_last_doc_name [09:05:52]save OK [09:05:52]Clear old archive folders... [09:05:52]ProcessDocumentItem done err = 0, tmpTLVsize=250 [09:05:52]tlvbuf is 0188C630 [09:05:52]SAM_PROTO_ClearQueue [09:05:52]wFMCommunicate request_size=4 [09:05:52]MH_SAM_APDU [09:05:52]CAPDU: 80 09 00 00 [09:05:52]Write to MH i2c: E2 08 00 EC 15 80 09 00 00 00 00 00 00 73 [09:05:52]Write i2c OK [09:05:52]MH_I2C_Read... [09:05:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:05:52]Read from MH i2c: E2 [09:05:52]MH_I2C_Read... [09:05:52]Read from MH i2c: E2 03 00 [09:05:52]MH_I2C_Read... [09:05:52]Read from MH i2c: E2 03 00 EC 15 00 90 00 75 [09:05:52]RAPDU: 90 00 [09:05:52]wFMCommunicate OK [09:05:52]SAM_PROTO_ClearQueue done [09:05:52]KKMCreateOFDPacket [09:05:52]OFDProtocolAddRootSTLVToBuf [09:05:52]FM_MakeSignedData [09:05:52]FM_MakeSignedData [09:05:52]SAM_PROTO_SignData [09:05:52]wFMCommunicate request_size=4 [09:05:52]MH_SAM_APDU [09:05:52]CAPDU: 80 0D 01 02 [09:05:52]Write to MH i2c: E2 08 00 ED 15 80 0D 01 02 00 00 00 00 7B [09:05:52]Write i2c OK [09:05:52]MH_I2C_Read... [09:05:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:05:52]Read from MH i2c: E2 [09:05:52]MH_I2C_Read... [09:05:52]Read from MH i2c: E2 03 00 [09:05:52]MH_I2C_Read... [09:05:52]Read from MH i2c: E2 03 00 ED 15 00 90 00 76 [09:05:52]RAPDU: 90 00 [09:05:52]wFMCommunicate OK [09:05:52]wFMCommunicate request_size=255 [09:05:52]MH_SAM_APDU [09:05:52]CAPDU: 80 0D 02 02 FA 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 33 FF 03 08 00 03 00 73 00 00 00 00 00 37 04 06 00 88 0E 00 00 00 00 13 04 06 00 CD AB 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC AB 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C9 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 2D 00 00 00 00 07 04 06 00 BC AB 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 74 D2 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F3 49 00 00 35 04 06 00 CB 41 [09:05:52]Write to MH i2c: E2 02 01 EE 15 80 0D 02 02 FA 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 33 FF 03 08 00 03 00 73 00 00 00 00 00 37 04 06 00 88 0E 00 00 00 00 13 04 06 00 CD AB 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC AB 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C9 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 2D 00 00 00 00 07 04 06 00 BC AB 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 74 D2 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F3 49 00 00 35 04 06 00 CB 41 00 00 96 [09:05:52]Write i2c OK [09:05:52]MH_I2C_Read... [09:05:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:05:52]Read from MH i2c: E2 [09:05:52]MH_I2C_Read... [09:05:52]Read from MH i2c: E2 03 00 [09:05:52]MH_I2C_Read... [09:05:52]Read from MH i2c: E2 03 00 EE 15 00 90 00 77 [09:05:52]RAPDU: 90 00 [09:05:52]wFMCommunicate OK [09:05:52]wFMCommunicate request_size=9 [09:05:52]MH_SAM_APDU [09:05:52]CAPDU: 80 0D 02 02 04 C4 36 E6 6C [09:05:52]Write to MH i2c: E2 0C 00 EF 15 80 0D 02 02 04 00 C4 36 E6 6C 00 00 D2 [09:05:52]Write i2c OK [09:05:52]MH_I2C_Read... [09:05:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:05:52]Read from MH i2c: E2 [09:05:52]MH_I2C_Read... [09:05:52]Read from MH i2c: E2 03 00 [09:05:52]MH_I2C_Read... [09:05:52]Read from MH i2c: E2 03 00 EF 15 00 90 00 78 [09:05:52]RAPDU: 90 00 [09:05:52]wFMCommunicate OK [09:05:52]wFMCommunicate request_size=4 [09:05:52]MH_SAM_APDU [09:05:52]CAPDU: 80 0D 03 02 [09:05:52]Write to MH i2c: E2 08 00 F0 15 80 0D 03 02 00 00 00 00 80 [09:05:52]Write i2c OK [09:05:52]MH_I2C_Read... [09:05:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:05:52]Read from MH i2c: E2 [09:05:52]MH_I2C_Read... [09:05:52]Read from MH i2c: E2 0B 00 [09:05:52]MH_I2C_Read... [09:05:52]Read from MH i2c: E2 0B 00 F0 15 00 B7 1E 3E ED F4 63 D4 AA 90 00 56 [09:05:52]RAPDU: B7 1E 3E ED F4 63 D4 AA 90 00 [09:05:52]wFMCommunicate OK [09:05:52]SAM_PROTO_SignData done [09:05:52]FM_MakeSignedData done [09:05:52]CreateOFDProtocolMessage [09:05:52]wFMCommunicate request_size=4 [09:05:52]MH_SAM_APDU [09:05:52]CAPDU: 80 11 00 00 [09:05:52]Write to MH i2c: E2 08 00 F1 15 80 11 00 00 00 00 00 00 80 [09:05:52]Write i2c OK [09:05:52]MH_I2C_Read... [09:05:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:05:52]Read from MH i2c: E2 [09:05:52]MH_I2C_Read... [09:05:52]Read from MH i2c: E2 17 00 [09:05:52]MH_I2C_Read... [09:05:52]Read from MH i2c: E2 17 00 F1 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 D9 [09:05:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [09:05:52]wFMCommunicate OK [09:05:52]CreateOFDProtocolMessage done [09:05:52]OFDSenderStorePacket 18931 [09:05:52]StoreOFDPacket docnum=18931 [09:05:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0E 01 00 00 F0 B7 06 01 62 2D 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 33 FF 03 08 00 03 00 73 00 00 00 00 00 37 04 06 00 88 0E 00 00 00 00 13 04 06 00 CD AB 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC AB 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C9 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 2D 00 00 00 00 07 04 06 00 BC AB 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 74 D2 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F3 49 00 00 35 04 06 00 CB 41 C4 36 E6 6C B7 1E 3E ED F4 63 D4 AA [09:05:52]CheckFolder [09:05:52]dirname=/storage/ofd_packets [09:05:52]CheckFolder done [09:05:52]ProducePacketName [09:05:52]name=ofd_packets/00018931 [09:05:52]NVStorageSaveData ofd_packets/00018931 [09:05:52]File name is /storage/ofd_packets/00018931 [09:05:52]Write 300 bytes [09:05:52]NVStorageSaveData done [09:05:52]OFDSenderStorePacket done [09:05:52]KKMCreateOFDPacket done [09:05:52]NVStorageSaveData kkm_last_timestamp [09:05:52]File name is /storage/kkm_last_timestamp [09:05:52]Write 4 bytes [09:05:52]NVStorageSaveData done [09:05:52]ExternCall_PrintAddStr [09:05:52]wPrintStart [09:05:52]Write to MH i2c: 01 00 00 F2 15 07 [09:05:52]Write i2c OK [09:05:52]MH_I2C_Read... [09:05:52]Read from MH i2c: 01 [09:05:52]MH_I2C_Read... [09:05:52]Read from MH i2c: 01 07 00 [09:05:52]MH_I2C_Read... [09:05:52]Read from MH i2c: 01 07 00 F2 15 00 00 00 00 00 FF 0F 1C [09:05:52]RasterBufferAndPrint [09:05:52]line Счет N : (1)117458 [09:05:52]line ИНН: 02508201610067 [09:05:52]line Контрольно-Кассовый Чек [09:05:52]line ПРОДАЖА [09:05:52]line ТРК (МРК, ГНК) : 71 [09:05:52]line Товар: 2711190000 [09:05:52]line ГАЗ-К-3 [09:05:52]line 29.440 * 37.20 [09:05:52]line = 1095.17 [09:05:52]line НДС 12% НСП 1% [09:05:52]line > о реализуемом товаре [09:05:52]line ОКРУГЛЕНИЕ: -0.17 [09:05:52]line ИТОГО: 1095.00 [09:05:52]line Внесено: 1095.00 [09:05:52]line СДАЧА: 0.00 [09:05:52]line НСП 1% : 9.69 [09:05:52]line НДС 12% : 116.30 [09:05:52]line Наличными: 1095.00 [09:05:52]line Безнал.: 0.00 [09:05:52]line Место: АЗС № 176 "Партнер Нефть" [09:05:52]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [09:05:52]line СНО: Общий режим [09:05:52]line Чек 9 25.09.2024 09:05 [09:05:52]line Смена: 183 ФФД: 1.0 [09:05:52]line ЗНМ: 0300000010 [09:05:52]line РНМ: 0000000000152968 [09:05:52]line Версия ККМ: v1.0 [09:05:52]line ФМ: 0000000000959456 [09:05:52]line ФД: 18931 [09:05:52]line ФПД: 223483325245036 [09:05:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T090556&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18931&fm=223483325245036&tin=02508201610067®Number=0000000000152968&sum=109500 [09:05:53]OFD Sender: Processing packet 18931 [packets to send 7, broken 6] [09:05:53]ProducePacketName [09:05:53]name=ofd_packets/00018931 [09:05:53]OFD Sender: To server: pG, [09:05:53]CommunicateWithHost lk.salyk.kg:30040 [09:05:53]ConnectInit lk.salyk.kg [09:05:53]written 0, free lines is 4095 [09:05:53]Connected sock=10 [09:05:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0E 01 00 00 F0 B7 06 01 62 2D 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 33 FF 03 08 00 03 00 73 00 00 00 00 00 37 04 06 00 88 0E 00 00 00 00 13 04 06 00 CD AB 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC AB 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C9 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 2D 00 00 00 00 07 04 06 00 BC AB 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 74 D2 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F3 49 00 00 35 04 06 00 CB 41 C4 36 E6 6C B7 1E 3E ED F4 63 D4 AA [09:05:53]Write to MH i2c: 01 00 00 1D 16 33 [09:05:53]Write i2c OK [09:05:53]MH_I2C_Read... [09:05:53]Read from MH i2c: 01 [09:05:53]MH_I2C_Read... [09:05:53]Read from MH i2c: 01 07 00 [09:05:53]MH_I2C_Read... [09:05:53]Read from MH i2c: 01 07 00 1D 16 00 00 00 00 00 ED 0C 33 [09:05:53]RasterBufferAndPrint [09:05:53]line [09:05:53]line [09:05:53]line [09:05:53]line [09:05:53]line [09:05:53]written 0, free lines is 3315 [09:05:53]MH_Cut [09:05:53]Write to MH i2c: D1 01 00 24 16 01 0C [09:05:53]Write i2c OK [09:05:53]MH_I2C_Read... [09:05:53]Read from MH i2c: D1 [09:05:53]MH_I2C_Read... [09:05:53]Read from MH i2c: D1 01 00 [09:05:53]MH_I2C_Read... [09:05:53]Read from MH i2c: D1 01 00 24 16 00 0B [09:05:53]Write to MH i2c: 01 00 00 25 16 3B [09:05:53]Write i2c OK [09:05:53]MH_I2C_Read... [09:05:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 A8 5C 47 00 47 8A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F3 49 00 00 F4 03 04 00 D2 7B F3 66 B6 04 01 00 00 70 DF 47 49 C7 FA E2 CB [09:05:53]CommunicateWithHost err = 0 [09:05:53]CheckOFDResponse [09:05:53]1017 (14) - 77093643461234 [09:05:53]1041 (16) - 0000000000959456 [09:05:53]1040 (4) - 18931 [09:05:53]1012 (4) - 25.09.2024 02:56 [09:05:53]1206 (1) - 0 [09:05:53]OFD Sender: Remove packet 18931 [09:05:53]ProducePacketName [09:05:53]name=ofd_packets/00018931 [09:05:53]NVStorageDeleteData [09:05:54]OFD Sender: No OFD packet to send [09:05:54]*** Cut start [09:05:54]*** Partial cut [09:05:54]*** CUTSNS_PIN = 1 [09:05:54]*** CUTSNS_PIN = 0 [09:05:54]*** Brake cut motor [09:05:54]Read from MH i2c: 01 [09:05:54]MH_I2C_Read... [09:05:54]*** Stop cut motor [09:05:54]*** Cut end [09:05:54]Read from MH i2c: 01 07 00 [09:05:54]MH_I2C_Read... [09:05:54]Read from MH i2c: 01 07 00 25 16 00 00 00 00 00 FF 0F 50 [09:05:54]process_action close_receipt done [09:05:54]requested_data is exist [09:05:54]produce_requested_data [09:05:54]requested_item fm.sn is exist - process it [09:05:54]wFMCommunicate request_size=4 [09:05:54]MH_SAM_APDU [09:05:54]CAPDU: 80 11 00 00 [09:05:54]Write to MH i2c: E2 08 00 26 16 80 11 00 00 00 00 00 00 B6 [09:05:54]Write i2c OK [09:05:54]MH_I2C_Read... [09:05:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:05:55]Read from MH i2c: E2 [09:05:55]MH_I2C_Read... [09:05:55]Read from MH i2c: E2 17 00 [09:05:55]MH_I2C_Read... [09:05:55]Read from MH i2c: E2 17 00 26 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 0F [09:05:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [09:05:55]wFMCommunicate OK [09:05:55]requested_item fd.num is exist - process it [09:05:55]SAM_PROTO_GetFieldsCounters [09:05:55]wFMCommunicate request_size=4 [09:05:55]MH_SAM_APDU [09:05:55]CAPDU: 80 13 00 00 [09:05:55]Write to MH i2c: E2 08 00 27 16 80 13 00 00 00 00 00 00 B9 [09:05:55]Write i2c OK [09:05:55]MH_I2C_Read... [09:05:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:05:55]Read from MH i2c: E2 [09:05:55]MH_I2C_Read... [09:05:55]Read from MH i2c: E2 62 00 [09:05:55]MH_I2C_Read... [09:05:55]Read from MH i2c: E2 62 00 27 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F3 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 F4 [09:05:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F3 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:05:55]wFMCommunicate OK [09:05:55]SAM_PROTO_GetFieldsCounters done [09:05:55]requested_item shift.num is exist - process it [09:05:55]requested_item shift.opened is exist - process it [09:05:55]req_shift_opened [09:05:55]FM_GetShiftState [09:05:55]SAM_PROTO_GetShiftState [09:05:55]wFMCommunicate request_size=4 [09:05:55]MH_SAM_APDU [09:05:55]CAPDU: 80 13 01 00 [09:05:55]Write to MH i2c: E2 08 00 28 16 80 13 01 00 00 00 00 00 BB [09:05:55]Write i2c OK [09:05:55]MH_I2C_Read... [09:05:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:05:55]Read from MH i2c: E2 [09:05:55]MH_I2C_Read... [09:05:55]Read from MH i2c: E2 0E 00 [09:05:55]MH_I2C_Read... [09:05:55]Read from MH i2c: E2 0E 00 28 16 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 A8 [09:05:55]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [09:05:55]wFMCommunicate OK [09:05:55]SAM_PROTO_GetShiftState done [09:05:55]FM_GetShiftState done [09:05:55]req_shift_opened done [09:05:55]requested_item shift.open_date is exist - process it [09:05:55]req_shift_open_date [09:05:55]req_shift_open_date done [09:05:55]produce_requested_data done [09:05:55]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18931,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [09:05:55]process_action_free close_receipt [09:05:55]json_value_free [09:05:55]json_value_free done [09:05:55]process_json_proto returns [09:05:55]Send response to host [09:05:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18931,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [09:05:55]free response buf [09:05:55]execute_script done [09:05:55]execute_script returns [09:05:55]free content buf [09:05:55]Sock 8.Close socket [09:05:55]Sock 8.Thread stoped [09:05:59]OFD Sender: No OFD packet to send [09:06:04]OFD Sender: No OFD packet to send [09:06:09]OFD Sender: No OFD packet to send [09:06:14]OFD Sender: No OFD packet to send [09:06:19]OFD Sender: No OFD packet to send [09:06:24]OFD Sender: No OFD packet to send [09:06:29]OFD Sender: No OFD packet to send [09:06:34]OFD Sender: No OFD packet to send [09:06:39]OFD Sender: No OFD packet to send [09:06:44]OFD Sender: No OFD packet to send [09:06:49]OFD Sender: No OFD packet to send [09:06:54]OFD Sender: No OFD packet to send [09:06:59]OFD Sender: No OFD packet to send [09:07:04]OFD Sender: No OFD packet to send [09:07:09]OFD Sender: No OFD packet to send [09:07:14]OFD Sender: No OFD packet to send [09:07:19]OFD Sender: No OFD packet to send [09:07:24]OFD Sender: No OFD packet to send [09:07:29]OFD Sender: No OFD packet to send [09:07:34]OFD Sender: No OFD packet to send [09:07:39]OFD Sender: No OFD packet to send [09:07:44]OFD Sender: No OFD packet to send [09:07:49]OFD Sender: No OFD packet to send [09:07:54]OFD Sender: No OFD packet to send [09:07:59]OFD Sender: No OFD packet to send [09:08:04]OFD Sender: No OFD packet to send [09:08:09]OFD Sender: No OFD packet to send [09:08:14]OFD Sender: No OFD packet to send [09:08:19]OFD Sender: No OFD packet to send [09:08:24]OFD Sender: No OFD packet to send [09:08:29]OFD Sender: No OFD packet to send [09:08:34]OFD Sender: No OFD packet to send [09:08:39]OFD Sender: No OFD packet to send [09:08:44]OFD Sender: No OFD packet to send [09:08:49]OFD Sender: No OFD packet to send [09:08:54]OFD Sender: No OFD packet to send [09:08:59]OFD Sender: No OFD packet to send [09:09:04]OFD Sender: No OFD packet to send [09:09:09]OFD Sender: No OFD packet to send [09:09:14]OFD Sender: No OFD packet to send [09:09:19]OFD Sender: No OFD packet to send [09:09:24]OFD Sender: No OFD packet to send [09:09:29]OFD Sender: No OFD packet to send [09:09:34]OFD Sender: No OFD packet to send [09:09:39]OFD Sender: No OFD packet to send [09:09:44]OFD Sender: No OFD packet to send [09:09:49]OFD Sender: No OFD packet to send [09:09:54]OFD Sender: No OFD packet to send [09:09:59]OFD Sender: No OFD packet to send [09:10:04]OFD Sender: No OFD packet to send [09:10:09]OFD Sender: No OFD packet to send [09:10:14]OFD Sender: No OFD packet to send [09:10:19]OFD Sender: No OFD packet to send [09:10:24]OFD Sender: No OFD packet to send [09:10:29]OFD Sender: No OFD packet to send [09:10:34]OFD Sender: No OFD packet to send [09:10:39]OFD Sender: No OFD packet to send [09:10:44]OFD Sender: No OFD packet to send [09:10:49]OFD Sender: No OFD packet to send [09:10:54]OFD Sender: No OFD packet to send [09:10:59]OFD Sender: No OFD packet to send [09:11:04]OFD Sender: No OFD packet to send [09:11:09]OFD Sender: No OFD packet to send [09:11:14]OFD Sender: No OFD packet to send [09:11:19]OFD Sender: No OFD packet to send [09:11:24]OFD Sender: No OFD packet to send [09:11:29]OFD Sender: No OFD packet to send [09:11:34]OFD Sender: No OFD packet to send [09:11:39]OFD Sender: No OFD packet to send [09:11:44]OFD Sender: No OFD packet to send [09:11:49]OFD Sender: No OFD packet to send [09:11:54]OFD Sender: No OFD packet to send [09:11:59]OFD Sender: No OFD packet to send [09:12:04]OFD Sender: No OFD packet to send [09:12:09]OFD Sender: No OFD packet to send [09:12:14]OFD Sender: No OFD packet to send [09:12:19]OFD Sender: No OFD packet to send [09:12:24]OFD Sender: No OFD packet to send [09:12:29]OFD Sender: No OFD packet to send [09:12:34]OFD Sender: No OFD packet to send [09:12:39]OFD Sender: No OFD packet to send [09:12:44]OFD Sender: No OFD packet to send [09:12:49]OFD Sender: No OFD packet to send [09:12:54]OFD Sender: No OFD packet to send [09:12:59]OFD Sender: No OFD packet to send [09:13:04]OFD Sender: No OFD packet to send [09:13:09]OFD Sender: No OFD packet to send [09:13:14]OFD Sender: No OFD packet to send [09:13:19]OFD Sender: No OFD packet to send [09:13:24]OFD Sender: No OFD packet to send [09:13:29]OFD Sender: No OFD packet to send [09:13:34]OFD Sender: No OFD packet to send [09:13:39]OFD Sender: No OFD packet to send [09:13:44]OFD Sender: No OFD packet to send [09:13:49]OFD Sender: No OFD packet to send [09:13:54]OFD Sender: No OFD packet to send [09:13:59]OFD Sender: No OFD packet to send [09:14:04]OFD Sender: No OFD packet to send [09:14:09]OFD Sender: No OFD packet to send [09:14:14]OFD Sender: No OFD packet to send [09:14:19]OFD Sender: No OFD packet to send [09:14:24]OFD Sender: No OFD packet to send [09:14:29]OFD Sender: No OFD packet to send [09:14:34]OFD Sender: No OFD packet to send [09:14:39]OFD Sender: No OFD packet to send [09:14:44]OFD Sender: No OFD packet to send [09:14:49]OFD Sender: No OFD packet to send [09:14:54]OFD Sender: No OFD packet to send [09:14:59]OFD Sender: No OFD packet to send [09:15:04]OFD Sender: No OFD packet to send [09:15:09]OFD Sender: No OFD packet to send [09:15:14]OFD Sender: No OFD packet to send [09:15:19]OFD Sender: No OFD packet to send [09:15:24]OFD Sender: No OFD packet to send [09:15:29]OFD Sender: No OFD packet to send [09:15:34]OFD Sender: No OFD packet to send [09:15:39]OFD Sender: No OFD packet to send [09:15:44]OFD Sender: No OFD packet to send [09:15:49]OFD Sender: No OFD packet to send [09:15:54]OFD Sender: No OFD packet to send [09:15:59]OFD Sender: No OFD packet to send [09:16:04]OFD Sender: No OFD packet to send [09:16:09]OFD Sender: No OFD packet to send [09:16:14]OFD Sender: No OFD packet to send [09:16:19]OFD Sender: No OFD packet to send [09:16:24]OFD Sender: No OFD packet to send [09:16:29]OFD Sender: No OFD packet to send [09:16:34]OFD Sender: No OFD packet to send [09:16:39]OFD Sender: No OFD packet to send [09:16:44]OFD Sender: No OFD packet to send [09:16:49]OFD Sender: No OFD packet to send [09:16:54]OFD Sender: No OFD packet to send [09:16:59]OFD Sender: No OFD packet to send [09:17:04]OFD Sender: No OFD packet to send [09:17:09]OFD Sender: No OFD packet to send [09:17:14]OFD Sender: No OFD packet to send [09:17:19]OFD Sender: No OFD packet to send [09:17:24]OFD Sender: No OFD packet to send [09:17:29]OFD Sender: No OFD packet to send [09:17:34]OFD Sender: No OFD packet to send [09:17:39]OFD Sender: No OFD packet to send [09:17:44]OFD Sender: No OFD packet to send [09:17:49]OFD Sender: No OFD packet to send [09:17:54]OFD Sender: No OFD packet to send [09:17:59]OFD Sender: No OFD packet to send [09:18:04]OFD Sender: No OFD packet to send [09:18:09]OFD Sender: No OFD packet to send [09:18:14]OFD Sender: No OFD packet to send [09:18:19]OFD Sender: No OFD packet to send [09:18:24]OFD Sender: No OFD packet to send [09:18:29]OFD Sender: No OFD packet to send [09:18:34]OFD Sender: No OFD packet to send [09:18:39]OFD Sender: No OFD packet to send [09:18:44]OFD Sender: No OFD packet to send [09:18:49]OFD Sender: No OFD packet to send [09:18:54]OFD Sender: No OFD packet to send [09:18:59]OFD Sender: No OFD packet to send [09:19:04]OFD Sender: No OFD packet to send [09:19:09]OFD Sender: No OFD packet to send [09:19:14]OFD Sender: No OFD packet to send [09:19:19]OFD Sender: No OFD packet to send [09:19:24]OFD Sender: No OFD packet to send [09:19:29]OFD Sender: No OFD packet to send [09:19:34]OFD Sender: No OFD packet to send [09:19:39]OFD Sender: No OFD packet to send [09:19:44]OFD Sender: No OFD packet to send [09:19:49]OFD Sender: No OFD packet to send [09:19:54]OFD Sender: No OFD packet to send [09:19:59]OFD Sender: No OFD packet to send [09:20:04]OFD Sender: No OFD packet to send [09:20:09]OFD Sender: No OFD packet to send [09:20:14]OFD Sender: No OFD packet to send [09:20:19]OFD Sender: No OFD packet to send [09:20:24]OFD Sender: No OFD packet to send [09:20:29]OFD Sender: No OFD packet to send [09:20:34]OFD Sender: No OFD packet to send [09:20:39]OFD Sender: No OFD packet to send [09:20:44]OFD Sender: No OFD packet to send [09:20:49]OFD Sender: No OFD packet to send [09:20:54]OFD Sender: No OFD packet to send [09:20:59]OFD Sender: No OFD packet to send [09:21:04]OFD Sender: No OFD packet to send [09:21:09]OFD Sender: No OFD packet to send [09:21:14]OFD Sender: No OFD packet to send [09:21:19]OFD Sender: No OFD packet to send [09:21:24]OFD Sender: No OFD packet to send [09:21:29]OFD Sender: No OFD packet to send [09:21:34]OFD Sender: No OFD packet to send [09:21:39]OFD Sender: No OFD packet to send [09:21:44]OFD Sender: No OFD packet to send [09:21:49]OFD Sender: No OFD packet to send [09:21:55]OFD Sender: No OFD packet to send [09:22:00]OFD Sender: No OFD packet to send [09:22:05]OFD Sender: No OFD packet to send [09:22:10]OFD Sender: No OFD packet to send [09:22:15]OFD Sender: No OFD packet to send [09:22:20]OFD Sender: No OFD packet to send [09:22:25]OFD Sender: No OFD packet to send [09:22:30]OFD Sender: No OFD packet to send [09:22:35]OFD Sender: No OFD packet to send [09:22:40]OFD Sender: No OFD packet to send [09:22:45]OFD Sender: No OFD packet to send [09:22:50]OFD Sender: No OFD packet to send [09:22:55]OFD Sender: No OFD packet to send [09:23:00]OFD Sender: No OFD packet to send [09:23:05]OFD Sender: No OFD packet to send [09:23:10]OFD Sender: No OFD packet to send [09:23:15]OFD Sender: No OFD packet to send [09:23:20]OFD Sender: No OFD packet to send [09:23:25]OFD Sender: No OFD packet to send [09:23:30]OFD Sender: No OFD packet to send [09:23:35]OFD Sender: No OFD packet to send [09:23:40]OFD Sender: No OFD packet to send [09:23:45]OFD Sender: No OFD packet to send [09:23:50]OFD Sender: No OFD packet to send [09:23:55]OFD Sender: No OFD packet to send [09:24:00]OFD Sender: No OFD packet to send [09:24:05]OFD Sender: No OFD packet to send [09:24:10]OFD Sender: No OFD packet to send [09:24:15]OFD Sender: No OFD packet to send [09:24:20]OFD Sender: No OFD packet to send [09:24:25]OFD Sender: No OFD packet to send [09:24:30]OFD Sender: No OFD packet to send [09:24:35]OFD Sender: No OFD packet to send [09:24:40]OFD Sender: No OFD packet to send [09:24:45]OFD Sender: No OFD packet to send [09:24:50]OFD Sender: No OFD packet to send [09:24:55]OFD Sender: No OFD packet to send [09:25:00]OFD Sender: No OFD packet to send [09:25:05]OFD Sender: No OFD packet to send [09:25:10]OFD Sender: No OFD packet to send [09:25:15]OFD Sender: No OFD packet to send [09:25:20]OFD Sender: No OFD packet to send [09:25:25]OFD Sender: No OFD packet to send [09:25:30]OFD Sender: No OFD packet to send [09:25:35]OFD Sender: No OFD packet to send [09:25:40]OFD Sender: No OFD packet to send [09:25:45]OFD Sender: No OFD packet to send [09:25:50]OFD Sender: No OFD packet to send [09:25:55]OFD Sender: No OFD packet to send [09:26:00]OFD Sender: No OFD packet to send [09:26:05]OFD Sender: No OFD packet to send [09:26:10]OFD Sender: No OFD packet to send [09:26:15]OFD Sender: No OFD packet to send [09:26:20]OFD Sender: No OFD packet to send [09:26:25]OFD Sender: No OFD packet to send [09:26:30]OFD Sender: No OFD packet to send [09:26:35]OFD Sender: No OFD packet to send [09:26:40]OFD Sender: No OFD packet to send [09:26:45]OFD Sender: No OFD packet to send [09:26:50]OFD Sender: No OFD packet to send [09:26:55]OFD Sender: No OFD packet to send [09:27:00]OFD Sender: No OFD packet to send [09:27:05]OFD Sender: No OFD packet to send [09:27:10]OFD Sender: No OFD packet to send [09:27:15]OFD Sender: No OFD packet to send [09:27:20]OFD Sender: No OFD packet to send [09:27:25]OFD Sender: No OFD packet to send [09:27:30]OFD Sender: No OFD packet to send [09:27:35]OFD Sender: No OFD packet to send [09:27:40]OFD Sender: No OFD packet to send [09:27:45]OFD Sender: No OFD packet to send [09:27:50]OFD Sender: No OFD packet to send [09:27:55]OFD Sender: No OFD packet to send [09:28:00]OFD Sender: No OFD packet to send [09:28:05]OFD Sender: No OFD packet to send [09:28:10]OFD Sender: No OFD packet to send [09:28:15]OFD Sender: No OFD packet to send [09:28:20]OFD Sender: No OFD packet to send [09:28:25]OFD Sender: No OFD packet to send [09:28:30]OFD Sender: No OFD packet to send [09:28:35]OFD Sender: No OFD packet to send [09:28:40]OFD Sender: No OFD packet to send [09:28:45]OFD Sender: No OFD packet to send [09:28:50]OFD Sender: No OFD packet to send [09:28:55]OFD Sender: No OFD packet to send [09:28:59]accept exits with 9 [09:28:59]New connection [09:28:59]New thread 3067047268 created [09:28:59]Thread 3066903908 joined [09:28:59]Waiting for new connection... [09:28:59] Sock 9.Parse request [09:28:59]Sock 9.Check first char [09:28:59]Sock 9.First char is OK [09:28:59]request: POST /json_proto HTTP/1.0 [09:28:59]Method: POST [09:28:59]URL: /json_proto [09:28:59]Method is POST - this is cgi request [09:28:59]url: /json_proto [09:28:59]query_string will be loaded in cgi processing [09:28:59]execute_cgi json_proto POST (null) [09:28:59]execute_cgi path=json_proto method=POST [09:28:59]POST find Content-Length [09:28:59]Host: 172.17.62.196:8080 [09:28:59]Content-Length: 786 [09:28:59]Content-Type: application/json [09:28:59] [09:28:59]POST finish read [09:28:59]Found Content-Length = 786 [09:28:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16852", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:28:59]execute_script... [09:28:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16852", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:28:59]POST & json_proto [09:28:59]process_json_proto [09:28:59]json parsed OK: [09:28:59]protocol is kg_v1.0 [09:28:59]action value=close_receipt [09:28:59]process_action close_receipt [09:28:59]cmd_close_receipt [09:28:59]MH_GetDate [09:28:59]Write to MH i2c: F0 00 00 29 16 2E [09:28:59]Write i2c OK [09:28:59]MH_I2C_Read... [09:28:59]Read from MH i2c: F0 [09:28:59]MH_I2C_Read... [09:28:59]Read from MH i2c: F0 09 00 [09:28:59]MH_I2C_Read... [09:28:59]Read from MH i2c: F0 09 00 29 16 00 E0 D7 F3 66 CE CC 0E 66 55 [09:28:59]GetLastDocTimeStamp 1727255156 [09:28:59]current date 1727256544 [09:28:59]FM_GetShiftState [09:28:59]SAM_PROTO_GetShiftState [09:28:59]wFMCommunicate request_size=4 [09:28:59]MH_SAM_APDU [09:28:59]CAPDU: 80 13 01 00 [09:28:59]Write to MH i2c: E2 08 00 2A 16 80 13 01 00 00 00 00 00 BD [09:28:59]Write i2c OK [09:28:59]MH_I2C_Read... [09:28:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:28:59]Read from MH i2c: E2 [09:28:59]MH_I2C_Read... [09:28:59]Read from MH i2c: E2 0E 00 [09:28:59]MH_I2C_Read... [09:28:59]Read from MH i2c: E2 0E 00 2A 16 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 AA [09:28:59]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [09:28:59]wFMCommunicate OK [09:28:59]SAM_PROTO_GetShiftState done [09:28:59]FM_GetShiftState done [09:28:59]opened in 1727223091 [09:28:59]opened+sec_in_day 1727309491 [09:28:59]quantity*price = 11500 [09:28:59]sum+1 = 11501 [09:28:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 0.00 Безнал.: 115.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 10 25.09.2024 09:29 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18932 ФПД: 167603096349706 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T092904&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18932&fm=167603096349706&tin=02508201610067®Number=0000000000152968&sum=11500 0 [09:29:00]StoreToDocumentArchive [09:29:00]shift 183 fd 18932 [09:29:00]save to /storage/0183/doc_00018932 [09:29:00]save last doc name /storage/0183/doc_00018932 to /storage/kkm_last_doc_name [09:29:00]save OK [09:29:00]Clear old archive folders... [09:29:00]ProcessDocumentItem done err = 0, tmpTLVsize=274 [09:29:00]tlvbuf is 01870130 [09:29:00]SAM_PROTO_ClearQueue [09:29:00]wFMCommunicate request_size=4 [09:29:00]MH_SAM_APDU [09:29:00]CAPDU: 80 09 00 00 [09:29:00]Write to MH i2c: E2 08 00 37 16 80 09 00 00 00 00 00 00 BF [09:29:00]Write i2c OK [09:29:00]MH_I2C_Read... [09:29:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:29:00]Read from MH i2c: E2 [09:29:00]MH_I2C_Read... [09:29:00]Read from MH i2c: E2 03 00 [09:29:00]MH_I2C_Read... [09:29:00]Read from MH i2c: E2 03 00 37 16 00 90 00 C1 [09:29:00]RAPDU: 90 00 [09:29:00]wFMCommunicate OK [09:29:00]SAM_PROTO_ClearQueue done [09:29:00]KKMCreateOFDPacket [09:29:00]OFDProtocolAddRootSTLVToBuf [09:29:00]FM_MakeSignedData [09:29:00]FM_MakeSignedData [09:29:00]SAM_PROTO_SignData [09:29:00]wFMCommunicate request_size=4 [09:29:00]MH_SAM_APDU [09:29:00]CAPDU: 80 0D 01 02 [09:29:00]Write to MH i2c: E2 08 00 38 16 80 0D 01 02 00 00 00 00 C7 [09:29:00]Write i2c OK [09:29:00]MH_I2C_Read... [09:29:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:29:00]Read from MH i2c: E2 [09:29:00]MH_I2C_Read... [09:29:00]Read from MH i2c: E2 03 00 [09:29:00]MH_I2C_Read... [09:29:00]Read from MH i2c: E2 03 00 38 16 00 90 00 C2 [09:29:00]RAPDU: 90 00 [09:29:00]wFMCommunicate OK [09:29:00]wFMCommunicate request_size=255 [09:29:00]MH_SAM_APDU [09:29:00]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 E0 D7 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 [09:29:00]Write to MH i2c: E2 02 01 39 16 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 E0 D7 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 00 00 3A [09:29:00]Write i2c OK [09:29:00]MH_I2C_Read... [09:29:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:29:00]Read from MH i2c: E2 [09:29:00]MH_I2C_Read... [09:29:00]Read from MH i2c: E2 03 00 [09:29:00]MH_I2C_Read... [09:29:00]Read from MH i2c: E2 03 00 39 16 00 90 00 C3 [09:29:00]RAPDU: 90 00 [09:29:00]wFMCommunicate OK [09:29:00]wFMCommunicate request_size=33 [09:29:00]MH_SAM_APDU [09:29:00]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F4 49 00 00 35 04 06 00 98 6F 23 05 6C 0A [09:29:00]Write to MH i2c: E2 24 00 3A 16 80 0D 02 02 1C 00 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F4 49 00 00 35 04 06 00 98 6F 23 05 6C 0A 00 00 41 [09:29:00]Write i2c OK [09:29:00]MH_I2C_Read... [09:29:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:29:00]Read from MH i2c: E2 [09:29:00]MH_I2C_Read... [09:29:00]Read from MH i2c: E2 03 00 [09:29:00]MH_I2C_Read... [09:29:00]Read from MH i2c: E2 03 00 3A 16 00 90 00 C4 [09:29:00]RAPDU: 90 00 [09:29:00]wFMCommunicate OK [09:29:00]wFMCommunicate request_size=4 [09:29:00]MH_SAM_APDU [09:29:00]CAPDU: 80 0D 03 02 [09:29:00]Write to MH i2c: E2 08 00 3B 16 80 0D 03 02 00 00 00 00 CC [09:29:00]Write i2c OK [09:29:00]MH_I2C_Read... [09:29:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:29:00]Read from MH i2c: E2 [09:29:00]MH_I2C_Read... [09:29:00]Read from MH i2c: E2 0B 00 [09:29:00]MH_I2C_Read... [09:29:00]Read from MH i2c: E2 0B 00 3B 16 00 26 8E BE A8 03 BB 23 FB 90 00 C3 [09:29:00]RAPDU: 26 8E BE A8 03 BB 23 FB 90 00 [09:29:00]wFMCommunicate OK [09:29:00]SAM_PROTO_SignData done [09:29:00]FM_MakeSignedData done [09:29:00]CreateOFDProtocolMessage [09:29:00]wFMCommunicate request_size=4 [09:29:00]MH_SAM_APDU [09:29:00]CAPDU: 80 11 00 00 [09:29:00]Write to MH i2c: E2 08 00 3C 16 80 11 00 00 00 00 00 00 CC [09:29:00]Write i2c OK [09:29:00]MH_I2C_Read... [09:29:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:29:00]Read from MH i2c: E2 [09:29:00]MH_I2C_Read... [09:29:00]Read from MH i2c: E2 17 00 [09:29:00]MH_I2C_Read... [09:29:00]Read from MH i2c: E2 17 00 3C 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 25 [09:29:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [09:29:00]wFMCommunicate OK [09:29:00]CreateOFDProtocolMessage done [09:29:00]OFDSenderStorePacket 18932 [09:29:00]StoreOFDPacket docnum=18932 [09:29:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 4C E3 1E 01 19 C4 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 E0 D7 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F4 49 00 00 35 04 06 00 98 6F 23 05 6C 0A 26 8E BE A8 03 BB 23 FB [09:29:00]CheckFolder [09:29:00]dirname=/storage/ofd_packets [09:29:00]CheckFolder done [09:29:00]ProducePacketName [09:29:00]name=ofd_packets/00018932 [09:29:00]NVStorageSaveData ofd_packets/00018932 [09:29:00]File name is /storage/ofd_packets/00018932 [09:29:00]Write 324 bytes [09:29:00]NVStorageSaveData done [09:29:00]OFDSenderStorePacket done [09:29:00]KKMCreateOFDPacket done [09:29:00]NVStorageSaveData kkm_last_timestamp [09:29:00]File name is /storage/kkm_last_timestamp [09:29:00]Write 4 bytes [09:29:00]NVStorageSaveData done [09:29:00]ExternCall_PrintAddStr [09:29:00]wPrintStart [09:29:00]Write to MH i2c: 01 00 00 3D 16 53 [09:29:00]Write i2c OK [09:29:00]MH_I2C_Read... [09:29:00]Read from MH i2c: 01 [09:29:00]MH_I2C_Read... [09:29:00]Read from MH i2c: 01 07 00 [09:29:00]MH_I2C_Read... [09:29:00]Read from MH i2c: 01 07 00 3D 16 00 00 00 00 00 FF 0F 68 [09:29:00]RasterBufferAndPrint [09:29:00]line Счет N : (3)16852 [09:29:00]line ИНН: 02508201610067 [09:29:00]line Контрольно-Кассовый Чек [09:29:00]line ПРОДАЖА [09:29:00]line Товар: 2000036240010 [09:29:00]line Кофе Латте (GABB TRADE) [09:29:00]line 1.000 * 115.00 [09:29:00]line = 115.00 [09:29:00]line НДС 12% НСП 1% [09:29:00]line > о реализуемом товаре [09:29:00]line ИТОГО: 115.00 [09:29:00]line НСП 1% : 1.02 [09:29:00]line НДС 12% : 12.21 [09:29:00]line Наличными: 0.00 [09:29:00]line Безнал.: 115.00 [09:29:00]line Место: АЗС № 176 "Партнер Нефть" [09:29:00]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [09:29:00]line СНО: Общий режим [09:29:00]line Чек 10 25.09.2024 09:29 [09:29:00]line Смена: 183 ФФД: 1.0 [09:29:00]line ЗНМ: 0300000010 [09:29:00]line РНМ: 0000000000152968 [09:29:00]line Версия ККМ: v1.0 [09:29:00]line Платежная система: O! деньги [09:29:00]line ФМ: 0000000000959456 [09:29:00]line ФД: 18932 [09:29:00]line ФПД: 167603096349706 [09:29:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T092904&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18932&fm=167603096349706&tin=02508201610067®Number=0000000000152968&sum=11500 [09:29:01]line 0 [09:29:01]OFD Sender: Processing packet 18932 [packets to send 7, broken 6] [09:29:01]ProducePacketName [09:29:01]name=ofd_packets/00018932 [09:29:01]OFD Sender: To server: pG, [09:29:01]CommunicateWithHost lk.salyk.kg:30040 [09:29:01]ConnectInit lk.salyk.kg [09:29:01]written 0, free lines is 4095 [09:29:01]Connected sock=11 [09:29:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 4C E3 1E 01 19 C4 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 E0 D7 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F4 49 00 00 35 04 06 00 98 6F 23 05 6C 0A 26 8E BE A8 03 BB 23 FB [09:29:01]Write to MH i2c: 01 00 00 67 16 7D [09:29:01]Write i2c OK [09:29:01]MH_I2C_Read... [09:29:01]Read from MH i2c: 01 [09:29:01]MH_I2C_Read... [09:29:01]Read from MH i2c: 01 07 00 [09:29:01]MH_I2C_Read... [09:29:01]Read from MH i2c: 01 07 00 67 16 00 00 00 00 00 FA 0C 8A [09:29:01]RasterBufferAndPrint [09:29:01]line [09:29:01]line [09:29:01]line [09:29:01]line [09:29:01]line [09:29:01]written 0, free lines is 3328 [09:29:01]MH_Cut [09:29:01]Write to MH i2c: D1 01 00 6E 16 01 56 [09:29:01]Write i2c OK [09:29:01]MH_I2C_Read... [09:29:01]Read from MH i2c: D1 [09:29:01]MH_I2C_Read... [09:29:01]Read from MH i2c: D1 01 00 [09:29:01]MH_I2C_Read... [09:29:01]Read from MH i2c: D1 01 00 6E 16 00 55 [09:29:01]Write to MH i2c: 01 00 00 6F 16 85 [09:29:01]Write i2c OK [09:29:01]MH_I2C_Read... [09:29:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 DB 64 47 00 D7 1F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F4 49 00 00 F4 03 04 00 3E 81 F3 66 B6 04 01 00 00 35 54 81 77 27 D9 64 82 [09:29:01]CommunicateWithHost err = 0 [09:29:01]CheckOFDResponse [09:29:01]1017 (14) - 77093643461234 [09:29:01]1041 (16) - 0000000000959456 [09:29:01]1040 (4) - 18932 [09:29:01]1012 (4) - 25.09.2024 03:19 [09:29:01]1206 (1) - 0 [09:29:01]OFD Sender: Remove packet 18932 [09:29:01]ProducePacketName [09:29:01]name=ofd_packets/00018932 [09:29:01]NVStorageDeleteData [09:29:02]OFD Sender: No OFD packet to send [09:29:02]*** Cut start [09:29:02]*** Partial cut [09:29:02]*** CUTSNS_PIN = 1 [09:29:02]*** CUTSNS_PIN = 0 [09:29:02]*** Brake cut motor [09:29:02]Read from MH i2c: 01 [09:29:02]MH_I2C_Read... [09:29:02]*** Stop cut motor [09:29:02]*** Cut end [09:29:02]Read from MH i2c: 01 07 00 [09:29:02]MH_I2C_Read... [09:29:02]Read from MH i2c: 01 07 00 6F 16 00 00 00 00 00 FF 0F 9A [09:29:02]process_action close_receipt done [09:29:02]requested_data is exist [09:29:02]produce_requested_data [09:29:02]requested_item fm.sn is exist - process it [09:29:02]wFMCommunicate request_size=4 [09:29:02]MH_SAM_APDU [09:29:02]CAPDU: 80 11 00 00 [09:29:02]Write to MH i2c: E2 08 00 70 16 80 11 00 00 00 00 00 00 00 [09:29:02]Write i2c OK [09:29:02]MH_I2C_Read... [09:29:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:29:03]Read from MH i2c: E2 [09:29:03]MH_I2C_Read... [09:29:03]Read from MH i2c: E2 17 00 [09:29:03]MH_I2C_Read... [09:29:03]Read from MH i2c: E2 17 00 70 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 59 [09:29:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [09:29:03]wFMCommunicate OK [09:29:03]requested_item fd.num is exist - process it [09:29:03]SAM_PROTO_GetFieldsCounters [09:29:03]wFMCommunicate request_size=4 [09:29:03]MH_SAM_APDU [09:29:03]CAPDU: 80 13 00 00 [09:29:03]Write to MH i2c: E2 08 00 71 16 80 13 00 00 00 00 00 00 03 [09:29:03]Write i2c OK [09:29:03]MH_I2C_Read... [09:29:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:29:03]Read from MH i2c: E2 [09:29:03]MH_I2C_Read... [09:29:03]Read from MH i2c: E2 62 00 [09:29:03]MH_I2C_Read... [09:29:03]Read from MH i2c: E2 62 00 71 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F4 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 42 [09:29:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F4 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:29:03]wFMCommunicate OK [09:29:03]SAM_PROTO_GetFieldsCounters done [09:29:03]requested_item shift.num is exist - process it [09:29:03]requested_item shift.opened is exist - process it [09:29:03]req_shift_opened [09:29:03]FM_GetShiftState [09:29:03]SAM_PROTO_GetShiftState [09:29:03]wFMCommunicate request_size=4 [09:29:03]MH_SAM_APDU [09:29:03]CAPDU: 80 13 01 00 [09:29:03]Write to MH i2c: E2 08 00 72 16 80 13 01 00 00 00 00 00 05 [09:29:03]Write i2c OK [09:29:03]MH_I2C_Read... [09:29:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:29:03]Read from MH i2c: E2 [09:29:03]MH_I2C_Read... [09:29:03]Read from MH i2c: E2 0E 00 [09:29:03]MH_I2C_Read... [09:29:03]Read from MH i2c: E2 0E 00 72 16 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 F2 [09:29:03]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [09:29:03]wFMCommunicate OK [09:29:03]SAM_PROTO_GetShiftState done [09:29:03]FM_GetShiftState done [09:29:03]req_shift_opened done [09:29:03]requested_item shift.open_date is exist - process it [09:29:03]req_shift_open_date [09:29:03]req_shift_open_date done [09:29:03]produce_requested_data done [09:29:03]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18932,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [09:29:03]process_action_free close_receipt [09:29:03]json_value_free [09:29:03]json_value_free done [09:29:03]process_json_proto returns [09:29:03]Send response to host [09:29:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18932,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [09:29:03]free response buf [09:29:03]execute_script done [09:29:03]execute_script returns [09:29:03]free content buf [09:29:03]Sock 9.Close socket [09:29:03]Sock 9.Thread stoped [09:29:07]OFD Sender: No OFD packet to send [09:29:12]OFD Sender: No OFD packet to send [09:29:17]OFD Sender: No OFD packet to send [09:29:22]OFD Sender: No OFD packet to send [09:29:27]OFD Sender: No OFD packet to send [09:29:32]OFD Sender: No OFD packet to send [09:29:37]OFD Sender: No OFD packet to send [09:29:42]OFD Sender: No OFD packet to send [09:29:47]OFD Sender: No OFD packet to send [09:29:52]OFD Sender: No OFD packet to send [09:29:57]OFD Sender: No OFD packet to send [09:30:02]OFD Sender: No OFD packet to send [09:30:07]OFD Sender: No OFD packet to send [09:30:12]OFD Sender: No OFD packet to send [09:30:17]OFD Sender: No OFD packet to send [09:30:22]OFD Sender: No OFD packet to send [09:30:27]OFD Sender: No OFD packet to send [09:30:32]OFD Sender: No OFD packet to send [09:30:37]OFD Sender: No OFD packet to send [09:30:42]OFD Sender: No OFD packet to send [09:30:47]OFD Sender: No OFD packet to send [09:30:52]OFD Sender: No OFD packet to send [09:30:57]OFD Sender: No OFD packet to send [09:31:02]OFD Sender: No OFD packet to send [09:31:07]OFD Sender: No OFD packet to send [09:31:12]OFD Sender: No OFD packet to send [09:31:17]OFD Sender: No OFD packet to send [09:31:22]OFD Sender: No OFD packet to send [09:31:27]OFD Sender: No OFD packet to send [09:31:32]OFD Sender: No OFD packet to send [09:31:37]OFD Sender: No OFD packet to send [09:31:42]OFD Sender: No OFD packet to send [09:31:47]OFD Sender: No OFD packet to send [09:31:52]OFD Sender: No OFD packet to send [09:31:57]OFD Sender: No OFD packet to send [09:32:02]OFD Sender: No OFD packet to send [09:32:07]OFD Sender: No OFD packet to send [09:32:12]OFD Sender: No OFD packet to send [09:32:17]OFD Sender: No OFD packet to send [09:32:22]OFD Sender: No OFD packet to send [09:32:27]OFD Sender: No OFD packet to send [09:32:32]OFD Sender: No OFD packet to send [09:32:37]OFD Sender: No OFD packet to send [09:32:42]OFD Sender: No OFD packet to send [09:32:47]OFD Sender: No OFD packet to send [09:32:52]OFD Sender: No OFD packet to send [09:32:57]OFD Sender: No OFD packet to send [09:33:02]OFD Sender: No OFD packet to send [09:33:07]OFD Sender: No OFD packet to send [09:33:12]OFD Sender: No OFD packet to send [09:33:17]OFD Sender: No OFD packet to send [09:33:22]OFD Sender: No OFD packet to send [09:33:27]OFD Sender: No OFD packet to send [09:33:32]OFD Sender: No OFD packet to send [09:33:37]OFD Sender: No OFD packet to send [09:33:42]OFD Sender: No OFD packet to send [09:33:47]OFD Sender: No OFD packet to send [09:33:52]OFD Sender: No OFD packet to send [09:33:57]OFD Sender: No OFD packet to send [09:34:02]OFD Sender: No OFD packet to send [09:34:07]OFD Sender: No OFD packet to send [09:34:12]OFD Sender: No OFD packet to send [09:34:17]OFD Sender: No OFD packet to send [09:34:22]OFD Sender: No OFD packet to send [09:34:27]OFD Sender: No OFD packet to send [09:34:32]OFD Sender: No OFD packet to send [09:34:37]OFD Sender: No OFD packet to send [09:34:42]OFD Sender: No OFD packet to send [09:34:47]OFD Sender: No OFD packet to send [09:34:52]OFD Sender: No OFD packet to send [09:34:57]OFD Sender: No OFD packet to send [09:35:02]OFD Sender: No OFD packet to send [09:35:07]OFD Sender: No OFD packet to send [09:35:12]OFD Sender: No OFD packet to send [09:35:17]OFD Sender: No OFD packet to send [09:35:22]OFD Sender: No OFD packet to send [09:35:27]OFD Sender: No OFD packet to send [09:35:32]OFD Sender: No OFD packet to send [09:35:37]OFD Sender: No OFD packet to send [09:35:42]OFD Sender: No OFD packet to send [09:35:47]OFD Sender: No OFD packet to send [09:35:52]OFD Sender: No OFD packet to send [09:35:57]OFD Sender: No OFD packet to send [09:36:02]OFD Sender: No OFD packet to send [09:36:07]OFD Sender: No OFD packet to send [09:36:12]OFD Sender: No OFD packet to send [09:36:17]OFD Sender: No OFD packet to send [09:36:22]OFD Sender: No OFD packet to send [09:36:27]OFD Sender: No OFD packet to send [09:36:32]OFD Sender: No OFD packet to send [09:36:37]OFD Sender: No OFD packet to send [09:36:42]OFD Sender: No OFD packet to send [09:36:47]OFD Sender: No OFD packet to send [09:36:52]OFD Sender: No OFD packet to send [09:36:57]OFD Sender: No OFD packet to send [09:37:02]OFD Sender: No OFD packet to send [09:37:07]OFD Sender: No OFD packet to send [09:37:12]OFD Sender: No OFD packet to send [09:37:17]OFD Sender: No OFD packet to send [09:37:22]OFD Sender: No OFD packet to send [09:37:27]OFD Sender: No OFD packet to send [09:37:32]OFD Sender: No OFD packet to send [09:37:37]OFD Sender: No OFD packet to send [09:37:42]OFD Sender: No OFD packet to send [09:37:47]OFD Sender: No OFD packet to send [09:37:52]OFD Sender: No OFD packet to send [09:37:57]OFD Sender: No OFD packet to send [09:38:02]OFD Sender: No OFD packet to send [09:38:07]OFD Sender: No OFD packet to send [09:38:12]OFD Sender: No OFD packet to send [09:38:17]OFD Sender: No OFD packet to send [09:38:22]OFD Sender: No OFD packet to send [09:38:27]OFD Sender: No OFD packet to send [09:38:32]OFD Sender: No OFD packet to send [09:38:37]OFD Sender: No OFD packet to send [09:38:42]OFD Sender: No OFD packet to send [09:38:47]OFD Sender: No OFD packet to send [09:38:52]OFD Sender: No OFD packet to send [09:38:57]OFD Sender: No OFD packet to send [09:39:02]OFD Sender: No OFD packet to send [09:39:07]OFD Sender: No OFD packet to send [09:39:12]OFD Sender: No OFD packet to send [09:39:17]OFD Sender: No OFD packet to send [09:39:22]OFD Sender: No OFD packet to send [09:39:27]OFD Sender: No OFD packet to send [09:39:32]OFD Sender: No OFD packet to send [09:39:37]OFD Sender: No OFD packet to send [09:39:42]OFD Sender: No OFD packet to send [09:39:47]OFD Sender: No OFD packet to send [09:39:52]OFD Sender: No OFD packet to send [09:39:57]OFD Sender: No OFD packet to send [09:40:02]OFD Sender: No OFD packet to send [09:40:07]OFD Sender: No OFD packet to send [09:40:12]OFD Sender: No OFD packet to send [09:40:17]OFD Sender: No OFD packet to send [09:40:22]OFD Sender: No OFD packet to send [09:40:27]OFD Sender: No OFD packet to send [09:40:32]OFD Sender: No OFD packet to send [09:40:37]OFD Sender: No OFD packet to send [09:40:42]OFD Sender: No OFD packet to send [09:40:47]OFD Sender: No OFD packet to send [09:40:52]OFD Sender: No OFD packet to send [09:40:57]OFD Sender: No OFD packet to send [09:41:02]OFD Sender: No OFD packet to send [09:41:07]OFD Sender: No OFD packet to send [09:41:12]OFD Sender: No OFD packet to send [09:41:17]OFD Sender: No OFD packet to send [09:41:22]OFD Sender: No OFD packet to send [09:41:27]OFD Sender: No OFD packet to send [09:41:32]OFD Sender: No OFD packet to send [09:41:37]OFD Sender: No OFD packet to send [09:41:42]OFD Sender: No OFD packet to send [09:41:47]OFD Sender: No OFD packet to send [09:41:52]OFD Sender: No OFD packet to send [09:41:57]OFD Sender: No OFD packet to send [09:42:02]OFD Sender: No OFD packet to send [09:42:07]OFD Sender: No OFD packet to send [09:42:12]OFD Sender: No OFD packet to send [09:42:17]OFD Sender: No OFD packet to send [09:42:22]OFD Sender: No OFD packet to send [09:42:27]OFD Sender: No OFD packet to send [09:42:32]OFD Sender: No OFD packet to send [09:42:37]OFD Sender: No OFD packet to send [09:42:42]OFD Sender: No OFD packet to send [09:42:47]OFD Sender: No OFD packet to send [09:42:52]OFD Sender: No OFD packet to send [09:42:57]OFD Sender: No OFD packet to send [09:43:02]OFD Sender: No OFD packet to send [09:43:07]OFD Sender: No OFD packet to send [09:43:12]OFD Sender: No OFD packet to send [09:43:17]OFD Sender: No OFD packet to send [09:43:22]OFD Sender: No OFD packet to send [09:43:27]OFD Sender: No OFD packet to send [09:43:32]OFD Sender: No OFD packet to send [09:43:37]OFD Sender: No OFD packet to send [09:43:42]OFD Sender: No OFD packet to send [09:43:47]OFD Sender: No OFD packet to send [09:43:52]OFD Sender: No OFD packet to send [09:43:57]OFD Sender: No OFD packet to send [09:44:02]OFD Sender: No OFD packet to send [09:44:07]OFD Sender: No OFD packet to send [09:44:12]OFD Sender: No OFD packet to send [09:44:17]OFD Sender: No OFD packet to send [09:44:22]OFD Sender: No OFD packet to send [09:44:27]OFD Sender: No OFD packet to send [09:44:32]OFD Sender: No OFD packet to send [09:44:38]OFD Sender: No OFD packet to send [09:44:43]OFD Sender: No OFD packet to send [09:44:48]OFD Sender: No OFD packet to send [09:44:53]OFD Sender: No OFD packet to send [09:44:58]OFD Sender: No OFD packet to send [09:45:03]OFD Sender: No OFD packet to send [09:45:08]OFD Sender: No OFD packet to send [09:45:13]OFD Sender: No OFD packet to send [09:45:18]OFD Sender: No OFD packet to send [09:45:23]OFD Sender: No OFD packet to send [09:45:28]OFD Sender: No OFD packet to send [09:45:33]OFD Sender: No OFD packet to send [09:45:38]OFD Sender: No OFD packet to send [09:45:43]OFD Sender: No OFD packet to send [09:45:48]OFD Sender: No OFD packet to send [09:45:53]OFD Sender: No OFD packet to send [09:45:58]OFD Sender: No OFD packet to send [09:46:03]OFD Sender: No OFD packet to send [09:46:08]OFD Sender: No OFD packet to send [09:46:13]OFD Sender: No OFD packet to send [09:46:18]OFD Sender: No OFD packet to send [09:46:23]OFD Sender: No OFD packet to send [09:46:28]OFD Sender: No OFD packet to send [09:46:33]OFD Sender: No OFD packet to send [09:46:38]OFD Sender: No OFD packet to send [09:46:43]OFD Sender: No OFD packet to send [09:46:48]OFD Sender: No OFD packet to send [09:46:53]OFD Sender: No OFD packet to send [09:46:58]OFD Sender: No OFD packet to send [09:47:03]OFD Sender: No OFD packet to send [09:47:08]OFD Sender: No OFD packet to send [09:47:13]OFD Sender: No OFD packet to send [09:47:18]OFD Sender: No OFD packet to send [09:47:23]OFD Sender: No OFD packet to send [09:47:28]OFD Sender: No OFD packet to send [09:47:33]OFD Sender: No OFD packet to send [09:47:38]OFD Sender: No OFD packet to send [09:47:43]OFD Sender: No OFD packet to send [09:47:48]OFD Sender: No OFD packet to send [09:47:53]OFD Sender: No OFD packet to send [09:47:58]OFD Sender: No OFD packet to send [09:48:03]OFD Sender: No OFD packet to send [09:48:08]OFD Sender: No OFD packet to send [09:48:13]OFD Sender: No OFD packet to send [09:48:18]OFD Sender: No OFD packet to send [09:48:23]OFD Sender: No OFD packet to send [09:48:28]OFD Sender: No OFD packet to send [09:48:33]OFD Sender: No OFD packet to send [09:48:38]OFD Sender: No OFD packet to send [09:48:43]OFD Sender: No OFD packet to send [09:48:48]OFD Sender: No OFD packet to send [09:48:53]OFD Sender: No OFD packet to send [09:48:58]OFD Sender: No OFD packet to send [09:49:03]OFD Sender: No OFD packet to send [09:49:08]OFD Sender: No OFD packet to send [09:49:13]OFD Sender: No OFD packet to send [09:49:18]OFD Sender: No OFD packet to send [09:49:23]OFD Sender: No OFD packet to send [09:49:28]OFD Sender: No OFD packet to send [09:49:33]OFD Sender: No OFD packet to send [09:49:38]OFD Sender: No OFD packet to send [09:49:43]OFD Sender: No OFD packet to send [09:49:48]OFD Sender: No OFD packet to send [09:49:53]OFD Sender: No OFD packet to send [09:49:58]OFD Sender: No OFD packet to send [09:50:03]OFD Sender: No OFD packet to send [09:50:08]OFD Sender: No OFD packet to send [09:50:13]OFD Sender: No OFD packet to send [09:50:18]OFD Sender: No OFD packet to send [09:50:23]OFD Sender: No OFD packet to send [09:50:28]OFD Sender: No OFD packet to send [09:50:33]OFD Sender: No OFD packet to send [09:50:38]OFD Sender: No OFD packet to send [09:50:43]OFD Sender: No OFD packet to send [09:50:48]OFD Sender: No OFD packet to send [09:50:53]OFD Sender: No OFD packet to send [09:50:58]OFD Sender: No OFD packet to send [09:51:03]OFD Sender: No OFD packet to send [09:51:08]OFD Sender: No OFD packet to send [09:51:13]OFD Sender: No OFD packet to send [09:51:18]OFD Sender: No OFD packet to send [09:51:23]OFD Sender: No OFD packet to send [09:51:28]OFD Sender: No OFD packet to send [09:51:33]OFD Sender: No OFD packet to send [09:51:38]OFD Sender: No OFD packet to send [09:51:43]OFD Sender: No OFD packet to send [09:51:48]OFD Sender: No OFD packet to send [09:51:53]OFD Sender: No OFD packet to send [09:51:58]OFD Sender: No OFD packet to send [09:52:03]OFD Sender: No OFD packet to send [09:52:08]OFD Sender: No OFD packet to send [09:52:13]OFD Sender: No OFD packet to send [09:52:18]OFD Sender: No OFD packet to send [09:52:23]OFD Sender: No OFD packet to send [09:53:26]ConnectInit Can't connect to host [09:53:30]OFD Sender: No OFD packet to send [09:53:40]OFD Sender: No OFD packet to send [09:53:44]recv_with_timeout no data received [09:53:45]OFD Sender: No OFD packet to send [09:53:50]OFD Sender: No OFD packet to send [09:53:55]OFD Sender: No OFD packet to send [09:54:00]OFD Sender: No OFD packet to send [09:54:05]OFD Sender: No OFD packet to send [09:54:10]OFD Sender: No OFD packet to send [09:54:15]OFD Sender: No OFD packet to send [09:54:17]accept exits with 7 [09:54:17]New connection [09:54:17]New thread 3066764644 created [09:54:17]Waiting for new connection... [09:54:17] Sock 7.Parse request [09:54:17]Sock 7.Check first char [09:54:17]Sock 7.First char is OK [09:54:17]request: POST /json_proto HTTP/1.0 [09:54:17]Method: POST [09:54:17]URL: /json_proto [09:54:17]Method is POST - this is cgi request [09:54:17]url: /json_proto [09:54:17]query_string will be loaded in cgi processing [09:54:17]execute_cgi json_proto POST (null) [09:54:17]execute_cgi path=json_proto method=POST [09:54:17]POST find Content-Length [09:54:17]Host: 172.17.62.196:8080 [09:54:17]Content-Length: 215 [09:54:17]Content-Type: application/json [09:54:17] [09:54:17]POST finish read [09:54:17]Found Content-Length = 215 [09:54:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:54:17]execute_script... [09:54:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:54:17]POST & json_proto [09:54:17]process_json_proto [09:54:17]json parsed OK: [09:54:17]protocol is kg_v1.0 [09:54:17]action value=get_value [09:54:17]process_action get_value [09:54:17]cmd_get_value [09:54:17]process_action get_value done [09:54:17]requested_data is exist [09:54:17]produce_requested_data [09:54:17]requested_item kkm.sn is exist - process it [09:54:17]requested_item kkm.ver is exist - process it [09:54:17]requested_item fm.sn is exist - process it [09:54:17]wFMCommunicate request_size=4 [09:54:17]MH_SAM_APDU [09:54:17]CAPDU: 80 11 00 00 [09:54:17]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [09:54:17]Write i2c OK [09:54:17]MH_I2C_Read... [09:54:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:54:17]Read from MH i2c: E2 [09:54:17]MH_I2C_Read... [09:54:17]Read from MH i2c: E2 17 00 [09:54:17]MH_I2C_Read... [09:54:17]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 E3 [09:54:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [09:54:17]wFMCommunicate OK [09:54:17]requested_item fd.num is exist - process it [09:54:17]SAM_PROTO_GetFieldsCounters [09:54:17]wFMCommunicate request_size=4 [09:54:17]MH_SAM_APDU [09:54:17]CAPDU: 80 13 00 00 [09:54:17]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [09:54:17]Write i2c OK [09:54:17]MH_I2C_Read... [09:54:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:54:17]Read from MH i2c: E2 [09:54:17]MH_I2C_Read... [09:54:17]Read from MH i2c: E2 62 00 [09:54:17]MH_I2C_Read... [09:54:17]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F4 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 CC [09:54:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F4 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:54:17]wFMCommunicate OK [09:54:17]SAM_PROTO_GetFieldsCounters done [09:54:17]requested_item shift.num is exist - process it [09:54:17]requested_item shift.opened is exist - process it [09:54:17]req_shift_opened [09:54:17]FM_GetShiftState [09:54:17]SAM_PROTO_GetShiftState [09:54:17]wFMCommunicate request_size=4 [09:54:17]MH_SAM_APDU [09:54:17]CAPDU: 80 13 01 00 [09:54:17]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [09:54:17]Write i2c OK [09:54:17]MH_I2C_Read... [09:54:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:54:17]Read from MH i2c: E2 [09:54:17]MH_I2C_Read... [09:54:17]Read from MH i2c: E2 0E 00 [09:54:17]MH_I2C_Read... [09:54:17]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 7C [09:54:17]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [09:54:17]wFMCommunicate OK [09:54:17]SAM_PROTO_GetShiftState done [09:54:17]FM_GetShiftState done [09:54:17]req_shift_opened done [09:54:17]requested_item shift.open_date is exist - process it [09:54:17]req_shift_open_date [09:54:17]req_shift_open_date done [09:54:17]produce_requested_data done [09:54:17]produce_requested_data return {"kkm.sn":"0300000010","kkm.ver":"v1.0","fm.sn":"0000000000959456","fd.num":18932,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [09:54:17]process_action_free get_value [09:54:17]json_value_free [09:54:17]json_value_free done [09:54:17]process_json_proto returns [09:54:17]Send response to host [09:54:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000010","kkm.ver":"v1.0","fm.sn":"0000000000959456","fd.num":18932,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [09:54:17]free response buf [09:54:17]execute_script done [09:54:17]execute_script returns [09:54:17]free content buf [09:54:17]Sock 7.Close socket [09:54:17]Sock 7.Thread stoped [09:54:17]accept exits with 10 [09:54:17]New connection [09:54:17]New thread 3066621284 created [09:54:17]Thread 3066764644 joined [09:54:17]Waiting for new connection... [09:54:17] Sock 10.Parse request [09:54:17]Sock 10.Check first char [09:54:17]Sock 10.First char is OK [09:54:17]request: POST /json_proto HTTP/1.0 [09:54:17]Method: POST [09:54:17]URL: /json_proto [09:54:17]Method is POST - this is cgi request [09:54:17]url: /json_proto [09:54:17]query_string will be loaded in cgi processing [09:54:17]execute_cgi json_proto POST (null) [09:54:17]execute_cgi path=json_proto method=POST [09:54:17]POST find Content-Length [09:54:17]Host: 172.17.62.196:8080 [09:54:17]Content-Length: 331 [09:54:17]Content-Type: application/json [09:54:17] [09:54:17]POST finish read [09:54:17]Found Content-Length = 331 [09:54:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [09:54:17]execute_script... [09:54:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [09:54:17]POST & json_proto [09:54:17]process_json_proto [09:54:17]json parsed OK: [09:54:17]protocol is kg_v1.0 [09:54:17]action value=get_value [09:54:17]process_action get_value [09:54:17]cmd_get_value [09:54:17]process_action get_value done [09:54:17]requested_data is exist [09:54:17]produce_requested_data [09:54:17]requested_item fm.sale.total is exist - process it [09:54:17]SAM_PROTO_GetFMData [09:54:17]wFMCommunicate request_size=4 [09:54:17]MH_SAM_APDU [09:54:17]CAPDU: 80 13 03 00 [09:54:17]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [09:54:17]Write i2c OK [09:54:17]MH_I2C_Read... [09:54:18]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [09:54:18]Read from MH i2c: E2 [09:54:18]MH_I2C_Read... [09:54:18]Read from MH i2c: E2 FD 00 [09:54:18]MH_I2C_Read... [09:54:18]Read from MH i2c: E2 FD 00 13 00 00 BE 04 85 04 BA 04 6E 04 04 00 86 48 00 00 69 04 A0 00 6F 04 04 00 77 48 00 00 B1 04 04 00 D0 68 C7 31 70 04 04 00 3C 45 50 1F 72 04 04 00 94 23 77 12 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 12 69 49 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 00 C2 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 36 [09:54:18]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 86 48 00 00 69 04 A0 00 6F 04 04 00 77 48 00 00 B1 04 04 00 D0 68 C7 31 70 04 04 00 3C 45 50 1F 72 04 04 00 94 23 77 12 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 12 69 49 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 00 C2 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 [09:54:18]wFMCommunicate OK [09:54:18]wFMCommunicate request_size=4 [09:54:18]MH_SAM_APDU [09:54:18]CAPDU: 80 17 00 00 [09:54:18]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [09:54:18]Write i2c OK [09:54:18]MH_I2C_Read... [09:54:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:54:18]Read from MH i2c: E2 [09:54:18]MH_I2C_Read... [09:54:18]Read from MH i2c: E2 FD 00 [09:54:18]MH_I2C_Read... [09:54:18]Read from MH i2c: E2 FD 00 14 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 C4 [09:54:18]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 [09:54:18]wFMCommunicate OK [09:54:18]wFMCommunicate request_size=4 [09:54:18]MH_SAM_APDU [09:54:18]CAPDU: 80 17 00 00 [09:54:18]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [09:54:18]Write i2c OK [09:54:18]MH_I2C_Read... [09:54:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:54:18]Read from MH i2c: E2 [09:54:18]MH_I2C_Read... [09:54:18]Read from MH i2c: E2 FD 00 [09:54:18]MH_I2C_Read... [09:54:18]Read from MH i2c: E2 FD 00 15 00 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 C7 [09:54:18]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [09:54:18]wFMCommunicate OK [09:54:18]wFMCommunicate request_size=4 [09:54:18]MH_SAM_APDU [09:54:18]CAPDU: 80 17 00 00 [09:54:18]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [09:54:18]Write i2c OK [09:54:18]MH_I2C_Read... [09:54:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:54:19]Read from MH i2c: E2 [09:54:19]MH_I2C_Read... [09:54:19]Read from MH i2c: E2 FD 00 [09:54:19]MH_I2C_Read... [09:54:19]Read from MH i2c: E2 FD 00 16 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 11 [09:54:19]RAPDU: 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [09:54:19]wFMCommunicate OK [09:54:19]wFMCommunicate request_size=4 [09:54:19]MH_SAM_APDU [09:54:19]CAPDU: 80 17 00 00 [09:54:19]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [09:54:19]Write i2c OK [09:54:19]MH_I2C_Read... [09:54:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [09:54:19]Read from MH i2c: E2 [09:54:19]MH_I2C_Read... [09:54:19]Read from MH i2c: E2 DB 00 [09:54:19]MH_I2C_Read... [09:54:19]Read from MH i2c: E2 DB 00 17 00 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 79 [09:54:19]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:54:19]wFMCommunicate OK [09:54:19]SAM_PROTO_GetFMData done [09:54:19]requested_item fm.sale_refund.total is exist - process it [09:54:19]requested_item fm.buy.total is exist - process it [09:54:19]requested_item shift.sale.total is exist - process it [09:54:19]SAM_PROTO_GetShiftData [09:54:19]wFMCommunicate request_size=4 [09:54:19]MH_SAM_APDU [09:54:19]CAPDU: 80 13 02 00 [09:54:19]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [09:54:19]Write i2c OK [09:54:19]MH_I2C_Read... [09:54:19]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:54:19]Read from MH i2c: E2 [09:54:19]MH_I2C_Read... [09:54:19]Read from MH i2c: E2 FD 00 [09:54:19]MH_I2C_Read... [09:54:19]Read from MH i2c: E2 FD 00 18 00 00 AD 04 AA 04 A9 04 6E 04 04 00 0A 00 00 00 69 04 9A 00 6F 04 04 00 0A 00 00 00 B1 04 03 00 EC DC 04 70 04 03 00 64 CF 03 72 04 03 00 88 0D 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 34 84 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 02 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 C5 [09:54:19]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0A 00 00 00 69 04 9A 00 6F 04 04 00 0A 00 00 00 B1 04 03 00 EC DC 04 70 04 03 00 64 CF 03 72 04 03 00 88 0D 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 34 84 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 02 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [09:54:19]wFMCommunicate OK [09:54:19]wFMCommunicate request_size=4 [09:54:19]MH_SAM_APDU [09:54:19]CAPDU: 80 17 00 00 [09:54:19]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [09:54:19]Write i2c OK [09:54:19]MH_I2C_Read... [09:54:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:54:20]Read from MH i2c: E2 [09:54:20]MH_I2C_Read... [09:54:20]Read from MH i2c: E2 FD 00 [09:54:20]MH_I2C_Read... [09:54:20]Read from MH i2c: E2 FD 00 19 00 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 AB [09:54:20]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [09:54:20]wFMCommunicate OK [09:54:20]wFMCommunicate request_size=4 [09:54:20]MH_SAM_APDU [09:54:20]CAPDU: 80 17 00 00 [09:54:20]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [09:54:20]Write i2c OK [09:54:20]MH_I2C_Read... [09:54:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:54:20]Read from MH i2c: E2 [09:54:20]MH_I2C_Read... [09:54:20]Read from MH i2c: E2 FD 00 [09:54:20]MH_I2C_Read... [09:54:20]Read from MH i2c: E2 FD 00 1A 00 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 5E [09:54:20]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [09:54:20]wFMCommunicate OK [09:54:20]wFMCommunicate request_size=4 [09:54:20]MH_SAM_APDU [09:54:20]CAPDU: 80 17 00 00 [09:54:20]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [09:54:20]Write i2c OK [09:54:20]MH_I2C_Read... [09:54:20]OFD Sender: No OFD packet to send [09:54:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:54:20]Read from MH i2c: E2 [09:54:20]MH_I2C_Read... [09:54:20]Read from MH i2c: E2 FD 00 [09:54:20]MH_I2C_Read... [09:54:20]Read from MH i2c: E2 FD 00 1B 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 10 [09:54:20]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [09:54:20]wFMCommunicate OK [09:54:20]wFMCommunicate request_size=4 [09:54:20]MH_SAM_APDU [09:54:20]CAPDU: 80 17 00 00 [09:54:20]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [09:54:20]Write i2c OK [09:54:20]MH_I2C_Read... [09:54:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [09:54:20]Read from MH i2c: E2 [09:54:20]MH_I2C_Read... [09:54:20]Read from MH i2c: E2 CA 00 [09:54:20]MH_I2C_Read... [09:54:20]Read from MH i2c: E2 CA 00 1C 00 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 81 [09:54:20]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:54:20]wFMCommunicate OK [09:54:20]SAM_PROTO_GetShiftData done [09:54:20]requested_item shift.sale.total_cash is exist - process it [09:54:20]requested_item shift.sale_refund.total is exist - process it [09:54:20]requested_item shift.sale_refund.total_cash is exist - process it [09:54:20]requested_item shift.buy.total is exist - process it [09:54:20]requested_item shift.buy.total_cash is exist - process it [09:54:20]produce_requested_data done [09:54:20]produce_requested_data return {"fm.sale.total":8351520.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":3187.00,"shift.sale.total_cash":2497.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [09:54:20]process_action_free get_value [09:54:20]json_value_free [09:54:20]json_value_free done [09:54:20]process_json_proto returns [09:54:20]Send response to host [09:54:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8351520.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":3187.00,"shift.sale.total_cash":2497.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [09:54:20]free response buf [09:54:20]execute_script done [09:54:20]execute_script returns [09:54:20]free content buf [09:54:20]Sock 10.Close socket [09:54:20]Sock 10.Thread stoped [09:54:25]OFD Sender: No OFD packet to send [09:54:30]OFD Sender: No OFD packet to send [09:54:35]OFD Sender: No OFD packet to send [09:54:40]OFD Sender: No OFD packet to send [09:54:45]OFD Sender: No OFD packet to send [09:54:50]OFD Sender: No OFD packet to send [09:54:55]OFD Sender: No OFD packet to send [09:55:00]OFD Sender: No OFD packet to send [09:55:05]OFD Sender: No OFD packet to send [09:55:10]OFD Sender: No OFD packet to send [09:55:15]OFD Sender: No OFD packet to send [09:55:20]OFD Sender: No OFD packet to send [09:55:25]OFD Sender: No OFD packet to send [09:55:30]OFD Sender: No OFD packet to send [09:55:35]OFD Sender: No OFD packet to send [09:55:40]OFD Sender: No OFD packet to send [09:55:45]OFD Sender: No OFD packet to send [09:55:50]OFD Sender: No OFD packet to send [09:55:55]OFD Sender: No OFD packet to send [09:56:00]OFD Sender: No OFD packet to send [09:56:05]OFD Sender: No OFD packet to send [09:56:10]OFD Sender: No OFD packet to send [09:56:15]OFD Sender: No OFD packet to send [09:56:20]OFD Sender: No OFD packet to send [09:56:25]OFD Sender: No OFD packet to send [09:56:30]OFD Sender: No OFD packet to send [09:56:35]OFD Sender: No OFD packet to send [09:56:40]OFD Sender: No OFD packet to send [09:56:45]OFD Sender: No OFD packet to send [09:56:50]OFD Sender: No OFD packet to send [09:56:55]OFD Sender: No OFD packet to send [09:57:00]OFD Sender: No OFD packet to send [09:57:05]OFD Sender: No OFD packet to send [09:57:10]OFD Sender: No OFD packet to send [09:57:15]OFD Sender: No OFD packet to send [09:57:20]OFD Sender: No OFD packet to send [09:57:25]OFD Sender: No OFD packet to send [09:57:30]OFD Sender: No OFD packet to send [09:57:35]OFD Sender: No OFD packet to send [09:57:40]OFD Sender: No OFD packet to send [09:57:45]OFD Sender: No OFD packet to send [09:57:50]OFD Sender: No OFD packet to send [09:57:55]OFD Sender: No OFD packet to send [09:58:00]OFD Sender: No OFD packet to send [09:58:05]OFD Sender: No OFD packet to send [09:58:10]OFD Sender: No OFD packet to send [09:58:15]OFD Sender: No OFD packet to send [09:58:20]OFD Sender: No OFD packet to send [09:58:25]OFD Sender: No OFD packet to send [09:58:30]OFD Sender: No OFD packet to send [09:58:35]OFD Sender: No OFD packet to send [09:58:40]OFD Sender: No OFD packet to send [09:58:45]OFD Sender: No OFD packet to send [09:58:50]OFD Sender: No OFD packet to send [09:58:51]accept exits with 7 [09:58:51]New connection [09:58:51]New thread 3066764644 created [09:58:51]Thread 3066621284 joined [09:58:51]Waiting for new connection... [09:58:51] Sock 7.Parse request [09:58:51]Sock 7.Check first char [09:58:51]Sock 7.First char is OK [09:58:51]request: POST /json_proto HTTP/1.0 [09:58:51]Method: POST [09:58:51]URL: /json_proto [09:58:51]Method is POST - this is cgi request [09:58:51]url: /json_proto [09:58:51]query_string will be loaded in cgi processing [09:58:51]execute_cgi json_proto POST (null) [09:58:51]execute_cgi path=json_proto method=POST [09:58:51]POST find Content-Length [09:58:51]Host: 172.17.62.196:8080 [09:58:51]Content-Length: 215 [09:58:51]Content-Type: application/json [09:58:51] [09:58:51]POST finish read [09:58:51]Found Content-Length = 215 [09:58:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:58:51]execute_script... [09:58:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:58:51]POST & json_proto [09:58:51]process_json_proto [09:58:51]json parsed OK: [09:58:51]protocol is kg_v1.0 [09:58:51]action value=get_value [09:58:51]process_action get_value [09:58:51]cmd_get_value [09:58:51]process_action get_value done [09:58:51]requested_data is exist [09:58:51]produce_requested_data [09:58:51]requested_item kkm.sn is exist - process it [09:58:51]requested_item kkm.ver is exist - process it [09:58:51]requested_item fm.sn is exist - process it [09:58:51]wFMCommunicate request_size=4 [09:58:51]MH_SAM_APDU [09:58:51]CAPDU: 80 11 00 00 [09:58:51]Write to MH i2c: E2 08 00 1D 00 80 11 00 00 00 00 00 00 97 [09:58:51]Write i2c OK [09:58:51]MH_I2C_Read... [09:58:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:58:51]Read from MH i2c: E2 [09:58:51]MH_I2C_Read... [09:58:51]Read from MH i2c: E2 17 00 [09:58:51]MH_I2C_Read... [09:58:51]Read from MH i2c: E2 17 00 1D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 F0 [09:58:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [09:58:51]wFMCommunicate OK [09:58:51]requested_item fd.num is exist - process it [09:58:51]SAM_PROTO_GetFieldsCounters [09:58:51]wFMCommunicate request_size=4 [09:58:51]MH_SAM_APDU [09:58:51]CAPDU: 80 13 00 00 [09:58:51]Write to MH i2c: E2 08 00 1E 00 80 13 00 00 00 00 00 00 9A [09:58:51]Write i2c OK [09:58:51]MH_I2C_Read... [09:58:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:58:52]Read from MH i2c: E2 [09:58:52]MH_I2C_Read... [09:58:52]Read from MH i2c: E2 62 00 [09:58:52]MH_I2C_Read... [09:58:52]Read from MH i2c: E2 62 00 1E 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F4 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 D9 [09:58:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F4 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:58:52]wFMCommunicate OK [09:58:52]SAM_PROTO_GetFieldsCounters done [09:58:52]requested_item shift.num is exist - process it [09:58:52]requested_item shift.opened is exist - process it [09:58:52]req_shift_opened [09:58:52]FM_GetShiftState [09:58:52]SAM_PROTO_GetShiftState [09:58:52]wFMCommunicate request_size=4 [09:58:52]MH_SAM_APDU [09:58:52]CAPDU: 80 13 01 00 [09:58:52]Write to MH i2c: E2 08 00 1F 00 80 13 01 00 00 00 00 00 9C [09:58:52]Write i2c OK [09:58:52]MH_I2C_Read... [09:58:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:58:52]Read from MH i2c: E2 [09:58:52]MH_I2C_Read... [09:58:52]Read from MH i2c: E2 0E 00 [09:58:52]MH_I2C_Read... [09:58:52]Read from MH i2c: E2 0E 00 1F 00 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 89 [09:58:52]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [09:58:52]wFMCommunicate OK [09:58:52]SAM_PROTO_GetShiftState done [09:58:52]FM_GetShiftState done [09:58:52]req_shift_opened done [09:58:52]requested_item shift.open_date is exist - process it [09:58:52]req_shift_open_date [09:58:52]req_shift_open_date done [09:58:52]produce_requested_data done [09:58:52]produce_requested_data return {"kkm.sn":"0300000010","kkm.ver":"v1.0","fm.sn":"0000000000959456","fd.num":18932,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [09:58:52]process_action_free get_value [09:58:52]json_value_free [09:58:52]json_value_free done [09:58:52]process_json_proto returns [09:58:52]Send response to host [09:58:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000010","kkm.ver":"v1.0","fm.sn":"0000000000959456","fd.num":18932,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [09:58:52]free response buf [09:58:52]execute_script done [09:58:52]execute_script returns [09:58:52]free content buf [09:58:52]Sock 7.Close socket [09:58:52]Sock 7.Thread stoped [09:58:52]accept exits with 9 [09:58:52]New connection [09:58:52]New thread 3066621284 created [09:58:52]Thread 3066764644 joined [09:58:52]Waiting for new connection... [09:58:52] Sock 9.Parse request [09:58:52]Sock 9.Check first char [09:58:52]Sock 9.First char is OK [09:58:52]request: POST /json_proto HTTP/1.0 [09:58:52]Method: POST [09:58:52]URL: /json_proto [09:58:52]Method is POST - this is cgi request [09:58:52]url: /json_proto [09:58:52]query_string will be loaded in cgi processing [09:58:52]execute_cgi json_proto POST (null) [09:58:52]execute_cgi path=json_proto method=POST [09:58:52]POST find Content-Length [09:58:52]Host: 172.17.62.196:8080 [09:58:52]Content-Length: 331 [09:58:52]Content-Type: application/json [09:58:52] [09:58:52]POST finish read [09:58:52]Found Content-Length = 331 [09:58:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [09:58:52]execute_script... [09:58:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [09:58:52]POST & json_proto [09:58:52]process_json_proto [09:58:52]json parsed OK: [09:58:52]protocol is kg_v1.0 [09:58:52]action value=get_value [09:58:52]process_action get_value [09:58:52]cmd_get_value [09:58:52]process_action get_value done [09:58:52]requested_data is exist [09:58:52]produce_requested_data [09:58:52]requested_item fm.sale.total is exist - process it [09:58:52]SAM_PROTO_GetFMData [09:58:52]wFMCommunicate request_size=4 [09:58:52]MH_SAM_APDU [09:58:52]CAPDU: 80 13 03 00 [09:58:52]Write to MH i2c: E2 08 00 20 00 80 13 03 00 00 00 00 00 9F [09:58:52]Write i2c OK [09:58:52]MH_I2C_Read... [09:58:52]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [09:58:52]Read from MH i2c: E2 [09:58:52]MH_I2C_Read... [09:58:52]Read from MH i2c: E2 FD 00 [09:58:52]MH_I2C_Read... [09:58:52]Read from MH i2c: E2 FD 00 20 00 00 BE 04 85 04 BA 04 6E 04 04 00 86 48 00 00 69 04 A0 00 6F 04 04 00 77 48 00 00 B1 04 04 00 D0 68 C7 31 70 04 04 00 3C 45 50 1F 72 04 04 00 94 23 77 12 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 12 69 49 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 00 C2 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 43 [09:58:52]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 86 48 00 00 69 04 A0 00 6F 04 04 00 77 48 00 00 B1 04 04 00 D0 68 C7 31 70 04 04 00 3C 45 50 1F 72 04 04 00 94 23 77 12 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 12 69 49 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 00 C2 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 [09:58:52]wFMCommunicate OK [09:58:52]wFMCommunicate request_size=4 [09:58:52]MH_SAM_APDU [09:58:52]CAPDU: 80 17 00 00 [09:58:52]Write to MH i2c: E2 08 00 21 00 80 17 00 00 00 00 00 00 A1 [09:58:52]Write i2c OK [09:58:52]MH_I2C_Read... [09:58:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:58:53]Read from MH i2c: E2 [09:58:53]MH_I2C_Read... [09:58:53]Read from MH i2c: E2 FD 00 [09:58:53]MH_I2C_Read... [09:58:53]Read from MH i2c: E2 FD 00 21 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 D1 [09:58:53]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 [09:58:53]wFMCommunicate OK [09:58:53]wFMCommunicate request_size=4 [09:58:53]MH_SAM_APDU [09:58:53]CAPDU: 80 17 00 00 [09:58:53]Write to MH i2c: E2 08 00 22 00 80 17 00 00 00 00 00 00 A2 [09:58:53]Write i2c OK [09:58:53]MH_I2C_Read... [09:58:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:58:53]Read from MH i2c: E2 [09:58:53]MH_I2C_Read... [09:58:53]Read from MH i2c: E2 FD 00 [09:58:53]MH_I2C_Read... [09:58:53]Read from MH i2c: E2 FD 00 22 00 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 D4 [09:58:53]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [09:58:53]wFMCommunicate OK [09:58:53]wFMCommunicate request_size=4 [09:58:53]MH_SAM_APDU [09:58:53]CAPDU: 80 17 00 00 [09:58:53]Write to MH i2c: E2 08 00 23 00 80 17 00 00 00 00 00 00 A3 [09:58:53]Write i2c OK [09:58:53]MH_I2C_Read... [09:58:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:58:53]Read from MH i2c: E2 [09:58:53]MH_I2C_Read... [09:58:53]Read from MH i2c: E2 FD 00 [09:58:53]MH_I2C_Read... [09:58:53]Read from MH i2c: E2 FD 00 23 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 1E [09:58:53]RAPDU: 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [09:58:53]wFMCommunicate OK [09:58:53]wFMCommunicate request_size=4 [09:58:53]MH_SAM_APDU [09:58:53]CAPDU: 80 17 00 00 [09:58:53]Write to MH i2c: E2 08 00 24 00 80 17 00 00 00 00 00 00 A4 [09:58:53]Write i2c OK [09:58:53]MH_I2C_Read... [09:58:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [09:58:53]Read from MH i2c: E2 [09:58:53]MH_I2C_Read... [09:58:53]Read from MH i2c: E2 DB 00 [09:58:53]MH_I2C_Read... [09:58:53]Read from MH i2c: E2 DB 00 24 00 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 86 [09:58:53]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:58:53]wFMCommunicate OK [09:58:53]SAM_PROTO_GetFMData done [09:58:53]requested_item fm.sale_refund.total is exist - process it [09:58:53]requested_item fm.buy.total is exist - process it [09:58:53]requested_item shift.sale.total is exist - process it [09:58:53]SAM_PROTO_GetShiftData [09:58:53]wFMCommunicate request_size=4 [09:58:53]MH_SAM_APDU [09:58:53]CAPDU: 80 13 02 00 [09:58:53]Write to MH i2c: E2 08 00 25 00 80 13 02 00 00 00 00 00 A3 [09:58:53]Write i2c OK [09:58:53]MH_I2C_Read... [09:58:54]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:58:54]Read from MH i2c: E2 [09:58:54]MH_I2C_Read... [09:58:54]Read from MH i2c: E2 FD 00 [09:58:54]MH_I2C_Read... [09:58:54]Read from MH i2c: E2 FD 00 25 00 00 AD 04 AA 04 A9 04 6E 04 04 00 0A 00 00 00 69 04 9A 00 6F 04 04 00 0A 00 00 00 B1 04 03 00 EC DC 04 70 04 03 00 64 CF 03 72 04 03 00 88 0D 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 34 84 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 02 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 D2 [09:58:54]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0A 00 00 00 69 04 9A 00 6F 04 04 00 0A 00 00 00 B1 04 03 00 EC DC 04 70 04 03 00 64 CF 03 72 04 03 00 88 0D 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 34 84 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 02 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [09:58:54]wFMCommunicate OK [09:58:54]wFMCommunicate request_size=4 [09:58:54]MH_SAM_APDU [09:58:54]CAPDU: 80 17 00 00 [09:58:54]Write to MH i2c: E2 08 00 26 00 80 17 00 00 00 00 00 00 A6 [09:58:54]Write i2c OK [09:58:54]MH_I2C_Read... [09:58:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:58:54]Read from MH i2c: E2 [09:58:54]MH_I2C_Read... [09:58:54]Read from MH i2c: E2 FD 00 [09:58:54]MH_I2C_Read... [09:58:54]Read from MH i2c: E2 FD 00 26 00 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 B8 [09:58:54]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [09:58:54]wFMCommunicate OK [09:58:54]wFMCommunicate request_size=4 [09:58:54]MH_SAM_APDU [09:58:54]CAPDU: 80 17 00 00 [09:58:54]Write to MH i2c: E2 08 00 27 00 80 17 00 00 00 00 00 00 A7 [09:58:54]Write i2c OK [09:58:54]MH_I2C_Read... [09:58:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:58:54]Read from MH i2c: E2 [09:58:54]MH_I2C_Read... [09:58:54]Read from MH i2c: E2 FD 00 [09:58:54]MH_I2C_Read... [09:58:54]Read from MH i2c: E2 FD 00 27 00 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 6B [09:58:54]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [09:58:54]wFMCommunicate OK [09:58:54]wFMCommunicate request_size=4 [09:58:54]MH_SAM_APDU [09:58:54]CAPDU: 80 17 00 00 [09:58:54]Write to MH i2c: E2 08 00 28 00 80 17 00 00 00 00 00 00 A8 [09:58:54]Write i2c OK [09:58:54]MH_I2C_Read... [09:58:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:58:55]Read from MH i2c: E2 [09:58:55]MH_I2C_Read... [09:58:55]Read from MH i2c: E2 FD 00 [09:58:55]MH_I2C_Read... [09:58:55]Read from MH i2c: E2 FD 00 28 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 1D [09:58:55]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [09:58:55]wFMCommunicate OK [09:58:55]wFMCommunicate request_size=4 [09:58:55]MH_SAM_APDU [09:58:55]CAPDU: 80 17 00 00 [09:58:55]Write to MH i2c: E2 08 00 29 00 80 17 00 00 00 00 00 00 A9 [09:58:55]Write i2c OK [09:58:55]MH_I2C_Read... [09:58:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [09:58:55]Read from MH i2c: E2 [09:58:55]MH_I2C_Read... [09:58:55]Read from MH i2c: E2 CA 00 [09:58:55]MH_I2C_Read... [09:58:55]Read from MH i2c: E2 CA 00 29 00 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 8E [09:58:55]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:58:55]wFMCommunicate OK [09:58:55]SAM_PROTO_GetShiftData done [09:58:55]requested_item shift.sale.total_cash is exist - process it [09:58:55]requested_item shift.sale_refund.total is exist - process it [09:58:55]requested_item shift.sale_refund.total_cash is exist - process it [09:58:55]requested_item shift.buy.total is exist - process it [09:58:55]requested_item shift.buy.total_cash is exist - process it [09:58:55]produce_requested_data done [09:58:55]produce_requested_data return {"fm.sale.total":8351520.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":3187.00,"shift.sale.total_cash":2497.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [09:58:55]process_action_free get_value [09:58:55]json_value_free [09:58:55]json_value_free done [09:58:55]process_json_proto returns [09:58:55]Send response to host [09:58:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8351520.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":3187.00,"shift.sale.total_cash":2497.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [09:58:55]free response buf [09:58:55]execute_script done [09:58:55]execute_script returns [09:58:55]free content buf [09:58:55]Sock 9.Close socket [09:58:55]Sock 9.Thread stoped [09:58:55]OFD Sender: No OFD packet to send [09:59:00]OFD Sender: No OFD packet to send [09:59:05]OFD Sender: No OFD packet to send [09:59:10]OFD Sender: No OFD packet to send [09:59:15]OFD Sender: No OFD packet to send [09:59:20]OFD Sender: No OFD packet to send [09:59:25]OFD Sender: No OFD packet to send [09:59:30]OFD Sender: No OFD packet to send [09:59:35]OFD Sender: No OFD packet to send [09:59:40]OFD Sender: No OFD packet to send [09:59:45]OFD Sender: No OFD packet to send [09:59:50]OFD Sender: No OFD packet to send [09:59:55]OFD Sender: No OFD packet to send [10:00:00]OFD Sender: No OFD packet to send [10:00:05]OFD Sender: No OFD packet to send [10:00:10]OFD Sender: No OFD packet to send [10:00:15]OFD Sender: No OFD packet to send [10:00:20]OFD Sender: No OFD packet to send [10:00:25]OFD Sender: No OFD packet to send [10:00:30]OFD Sender: No OFD packet to send [10:00:35]OFD Sender: No OFD packet to send [10:00:40]OFD Sender: No OFD packet to send [10:00:45]OFD Sender: No OFD packet to send [10:00:50]OFD Sender: No OFD packet to send [10:00:55]OFD Sender: No OFD packet to send [10:01:00]OFD Sender: No OFD packet to send [10:01:05]OFD Sender: No OFD packet to send [10:01:10]OFD Sender: No OFD packet to send [10:01:15]OFD Sender: No OFD packet to send [10:01:20]OFD Sender: No OFD packet to send [10:01:25]OFD Sender: No OFD packet to send [10:01:30]OFD Sender: No OFD packet to send [10:01:35]OFD Sender: No OFD packet to send [10:01:40]OFD Sender: No OFD packet to send [10:01:43]accept exits with 7 [10:01:43]New connection [10:01:43]New thread 3066764644 created [10:01:43]Thread 3066621284 joined [10:01:43]Waiting for new connection... [10:01:43] Sock 7.Parse request [10:01:43]Sock 7.Check first char [10:01:43]Sock 7.First char is OK [10:01:43]request: POST /json_proto HTTP/1.0 [10:01:43]Method: POST [10:01:43]URL: /json_proto [10:01:43]Method is POST - this is cgi request [10:01:43]url: /json_proto [10:01:43]query_string will be loaded in cgi processing [10:01:43]execute_cgi json_proto POST (null) [10:01:43]execute_cgi path=json_proto method=POST [10:01:43]POST find Content-Length [10:01:43]Host: 172.17.62.196:8080 [10:01:43]Content-Length: 653 [10:01:43]Content-Type: application/json [10:01:43] [10:01:43]POST finish read [10:01:43]Found Content-Length = 653 [10:01:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16853", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 77.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:01:43]execute_script... [10:01:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16853", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 77.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:01:43]POST & json_proto [10:01:43]process_json_proto [10:01:43]json parsed OK: [10:01:43]protocol is kg_v1.0 [10:01:43]action value=close_receipt [10:01:43]process_action close_receipt [10:01:43]cmd_close_receipt [10:01:43]MH_GetDate [10:01:43]Write to MH i2c: F0 00 00 2A 00 19 [10:01:43]Write i2c OK [10:01:43]MH_I2C_Read... [10:01:43]Read from MH i2c: F0 [10:01:43]MH_I2C_Read... [10:01:43]Read from MH i2c: F0 09 00 [10:01:43]MH_I2C_Read... [10:01:43]Read from MH i2c: F0 09 00 2A 00 00 88 DF F3 66 CE CC 0E 66 F0 [10:01:43]GetLastDocTimeStamp 1727256544 [10:01:43]current date 1727258504 [10:01:43]FM_GetShiftState [10:01:43]SAM_PROTO_GetShiftState [10:01:43]wFMCommunicate request_size=4 [10:01:43]MH_SAM_APDU [10:01:43]CAPDU: 80 13 01 00 [10:01:43]Write to MH i2c: E2 08 00 2B 00 80 13 01 00 00 00 00 00 A8 [10:01:43]Write i2c OK [10:01:43]MH_I2C_Read... [10:01:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:01:43]Read from MH i2c: E2 [10:01:43]MH_I2C_Read... [10:01:43]Read from MH i2c: E2 0E 00 [10:01:43]MH_I2C_Read... [10:01:43]Read from MH i2c: E2 0E 00 2B 00 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 95 [10:01:43]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [10:01:43]wFMCommunicate OK [10:01:43]SAM_PROTO_GetShiftState done [10:01:43]FM_GetShiftState done [10:01:43]opened in 1727223091 [10:01:43]opened+sec_in_day 1727309491 [10:01:43]quantity*price = 7700 [10:01:43]sum+1 = 7701 [10:01:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 77.00 НСП 1% : 0.68 НДС 12% : 8.18 Наличными: 77.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 11 25.09.2024 10:01 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18933 ФПД: 130280155117955 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T100144&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18933&fm=130280155117955&tin=02508201610067®Number=0000000000152968&sum=7700 0 [10:01:44]StoreToDocumentArchive [10:01:44]shift 183 fd 18933 [10:01:44]save to /storage/0183/doc_00018933 [10:01:44]save last doc name /storage/0183/doc_00018933 to /storage/kkm_last_doc_name [10:01:44]save OK [10:01:44]Clear old archive folders... [10:01:44]ProcessDocumentItem done err = 0, tmpTLVsize=293 [10:01:44]tlvbuf is 015D6720 [10:01:44]SAM_PROTO_ClearQueue [10:01:44]wFMCommunicate request_size=4 [10:01:44]MH_SAM_APDU [10:01:44]CAPDU: 80 09 00 00 [10:01:44]Write to MH i2c: E2 08 00 38 00 80 09 00 00 00 00 00 00 AA [10:01:44]Write i2c OK [10:01:44]MH_I2C_Read... [10:01:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:01:44]Read from MH i2c: E2 [10:01:44]MH_I2C_Read... [10:01:44]Read from MH i2c: E2 03 00 [10:01:44]MH_I2C_Read... [10:01:44]Read from MH i2c: E2 03 00 38 00 00 90 00 AC [10:01:44]RAPDU: 90 00 [10:01:44]wFMCommunicate OK [10:01:44]SAM_PROTO_ClearQueue done [10:01:44]KKMCreateOFDPacket [10:01:44]OFDProtocolAddRootSTLVToBuf [10:01:44]FM_MakeSignedData [10:01:44]FM_MakeSignedData [10:01:44]SAM_PROTO_SignData [10:01:44]wFMCommunicate request_size=4 [10:01:44]MH_SAM_APDU [10:01:44]CAPDU: 80 0D 01 02 [10:01:44]Write to MH i2c: E2 08 00 39 00 80 0D 01 02 00 00 00 00 B2 [10:01:44]Write i2c OK [10:01:44]MH_I2C_Read... [10:01:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:01:44]Read from MH i2c: E2 [10:01:44]MH_I2C_Read... [10:01:44]Read from MH i2c: E2 03 00 [10:01:44]MH_I2C_Read... [10:01:44]Read from MH i2c: E2 03 00 39 00 00 90 00 AD [10:01:44]RAPDU: 90 00 [10:01:44]wFMCommunicate OK [10:01:44]wFMCommunicate request_size=255 [10:01:44]MH_SAM_APDU [10:01:44]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 88 DF F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [10:01:44]Write to MH i2c: E2 02 01 3A 00 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 88 DF F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 C9 [10:01:44]Write i2c OK [10:01:44]MH_I2C_Read... [10:01:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:01:45]Read from MH i2c: E2 [10:01:45]MH_I2C_Read... [10:01:45]Read from MH i2c: E2 03 00 [10:01:45]MH_I2C_Read... [10:01:45]Read from MH i2c: E2 03 00 3A 00 00 90 00 AE [10:01:45]RAPDU: 90 00 [10:01:45]wFMCommunicate OK [10:01:45]wFMCommunicate request_size=52 [10:01:45]MH_SAM_APDU [10:01:45]CAPDU: 80 0D 02 02 2F 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F5 49 00 00 35 04 06 00 76 7D 36 5D F9 83 [10:01:45]Write to MH i2c: E2 37 00 3B 00 80 0D 02 02 2F 00 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F5 49 00 00 35 04 06 00 76 7D 36 5D F9 83 00 00 C4 [10:01:45]Write i2c OK [10:01:45]MH_I2C_Read... [10:01:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:01:45]Read from MH i2c: E2 [10:01:45]MH_I2C_Read... [10:01:45]Read from MH i2c: E2 03 00 [10:01:45]MH_I2C_Read... [10:01:45]Read from MH i2c: E2 03 00 3B 00 00 90 00 AF [10:01:45]RAPDU: 90 00 [10:01:45]wFMCommunicate OK [10:01:45]wFMCommunicate request_size=4 [10:01:45]MH_SAM_APDU [10:01:45]CAPDU: 80 0D 03 02 [10:01:45]Write to MH i2c: E2 08 00 3C 00 80 0D 03 02 00 00 00 00 B7 [10:01:45]Write i2c OK [10:01:45]MH_I2C_Read... [10:01:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:01:45]Read from MH i2c: E2 [10:01:45]MH_I2C_Read... [10:01:45]Read from MH i2c: E2 0B 00 [10:01:45]MH_I2C_Read... [10:01:45]Read from MH i2c: E2 0B 00 3C 00 00 C8 25 E5 80 30 E6 02 8D 90 00 AF [10:01:45]RAPDU: C8 25 E5 80 30 E6 02 8D 90 00 [10:01:45]wFMCommunicate OK [10:01:45]SAM_PROTO_SignData done [10:01:45]FM_MakeSignedData done [10:01:45]CreateOFDProtocolMessage [10:01:45]wFMCommunicate request_size=4 [10:01:45]MH_SAM_APDU [10:01:45]CAPDU: 80 11 00 00 [10:01:45]Write to MH i2c: E2 08 00 3D 00 80 11 00 00 00 00 00 00 B7 [10:01:45]Write i2c OK [10:01:45]MH_I2C_Read... [10:01:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:01:45]Read from MH i2c: E2 [10:01:45]MH_I2C_Read... [10:01:45]Read from MH i2c: E2 17 00 [10:01:45]MH_I2C_Read... [10:01:45]Read from MH i2c: E2 17 00 3D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 10 [10:01:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:01:45]wFMCommunicate OK [10:01:45]CreateOFDProtocolMessage done [10:01:45]OFDSenderStorePacket 18933 [10:01:45]StoreOFDPacket docnum=18933 [10:01:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 48 F4 31 01 B5 0E 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 88 DF F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F5 49 00 00 35 04 06 00 76 7D 36 5D F9 83 C8 25 E5 80 30 E6 02 8D [10:01:45]CheckFolder [10:01:45]dirname=/storage/ofd_packets [10:01:45]CheckFolder done [10:01:45]ProducePacketName [10:01:45]name=ofd_packets/00018933 [10:01:45]NVStorageSaveData ofd_packets/00018933 [10:01:45]File name is /storage/ofd_packets/00018933 [10:01:45]Write 343 bytes [10:01:45]NVStorageSaveData done [10:01:45]OFDSenderStorePacket done [10:01:45]KKMCreateOFDPacket done [10:01:45]NVStorageSaveData kkm_last_timestamp [10:01:45]File name is /storage/kkm_last_timestamp [10:01:45]Write 4 bytes [10:01:45]NVStorageSaveData done [10:01:45]ExternCall_PrintAddStr [10:01:45]wPrintStart [10:01:45]Write to MH i2c: 01 00 00 3E 00 3E [10:01:45]Write i2c OK [10:01:45]MH_I2C_Read... [10:01:45]Read from MH i2c: 01 [10:01:45]MH_I2C_Read... [10:01:45]Read from MH i2c: 01 07 00 [10:01:45]MH_I2C_Read... [10:01:45]Read from MH i2c: 01 07 00 3E 00 00 00 00 00 00 FF 0F 53 [10:01:45]RasterBufferAndPrint [10:01:45]line Счет N : (3)16853 [10:01:45]line ИНН: 02508201610067 [10:01:45]line Контрольно-Кассовый Чек [10:01:45]line ПРОДАЖА [10:01:45]line Товар: 4700000480050 [10:01:45]line Напиток Nitro Energy эн green ж/б 0,45л [10:01:45]line 1.000 * 77.00 [10:01:45]line = 77.00 [10:01:45]line НДС 12% НСП 1% [10:01:45]line > о реализуемом товаре [10:01:45]line ИТОГО: 77.00 [10:01:45]line НСП 1% : 0.68 [10:01:45]line НДС 12% : 8.18 [10:01:45]line Наличными: 77.00 [10:01:45]line Безнал.: 0.00 [10:01:45]line Место: АЗС № 176 "Партнер Нефть" [10:01:45]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [10:01:45]line СНО: Общий режим [10:01:45]line Чек 11 25.09.2024 10:01 [10:01:45]line Смена: 183 ФФД: 1.0 [10:01:45]line ЗНМ: 0300000010 [10:01:45]line РНМ: 0000000000152968 [10:01:45]line Версия ККМ: v1.0 [10:01:45]line ФМ: 0000000000959456 [10:01:45]line ФД: 18933 [10:01:45]line ФПД: 130280155117955 [10:01:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T100144&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18933&fm=130280155117955&tin=02508201610067®Number=0000000000152968&sum=7700 [10:01:45]OFD Sender: Processing packet 18933 [packets to send 7, broken 6] [10:01:45]ProducePacketName [10:01:45]name=ofd_packets/00018933 [10:01:45]OFD Sender: To server: pG, [10:01:45]CommunicateWithHost lk.salyk.kg:30040 [10:01:45]ConnectInit lk.salyk.kg [10:01:45]line 0 [10:01:45]written 0, free lines is 4095 [10:01:45]Connected sock=10 [10:01:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 48 F4 31 01 B5 0E 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 88 DF F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F5 49 00 00 35 04 06 00 76 7D 36 5D F9 83 C8 25 E5 80 30 E6 02 8D [10:01:46]Write to MH i2c: 01 00 00 67 00 67 [10:01:46]Write i2c OK [10:01:46]MH_I2C_Read... [10:01:46]Read from MH i2c: 01 [10:01:46]MH_I2C_Read... [10:01:46]Read from MH i2c: 01 07 00 [10:01:46]MH_I2C_Read... [10:01:46]Read from MH i2c: 01 07 00 67 00 00 00 00 00 00 07 0D 82 [10:01:46]RasterBufferAndPrint [10:01:46]line [10:01:46]line [10:01:46]line [10:01:46]line [10:01:46]line [10:01:46]written 0, free lines is 3341 [10:01:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 1A EB 47 00 23 E3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F5 49 00 00 F4 03 04 00 E5 88 F3 66 B6 04 01 00 00 98 AF 69 A2 51 8C C3 1F [10:01:46]CommunicateWithHost err = 0 [10:01:46]CheckOFDResponse [10:01:46]1017 (14) - 77093643461234 [10:01:46]1041 (16) - 0000000000959456 [10:01:46]1040 (4) - 18933 [10:01:46]1012 (4) - 25.09.2024 03:52 [10:01:46]1206 (1) - 0 [10:01:46]OFD Sender: Remove packet 18933 [10:01:46]ProducePacketName [10:01:46]name=ofd_packets/00018933 [10:01:46]NVStorageDeleteData [10:01:46]MH_Cut [10:01:46]Write to MH i2c: D1 01 00 6E 00 01 40 [10:01:46]Write i2c OK [10:01:46]MH_I2C_Read... [10:01:46]Read from MH i2c: D1 [10:01:46]MH_I2C_Read... [10:01:46]Read from MH i2c: D1 01 00 [10:01:46]MH_I2C_Read... [10:01:46]Read from MH i2c: D1 01 00 6E 00 00 3F [10:01:46]Write to MH i2c: 01 00 00 6F 00 6F [10:01:46]Write i2c OK [10:01:46]MH_I2C_Read... [10:01:46]OFD Sender: No OFD packet to send [10:01:46]*** Cut start [10:01:46]*** Partial cut [10:01:46]*** CUTSNS_PIN = 1 [10:01:46]*** CUTSNS_PIN = 0 [10:01:47]*** Brake cut motor [10:01:47]Read from MH i2c: 01 [10:01:47]MH_I2C_Read... [10:01:47]*** Stop cut motor [10:01:47]*** Cut end [10:01:47]Read from MH i2c: 01 07 00 [10:01:47]MH_I2C_Read... [10:01:47]Read from MH i2c: 01 07 00 6F 00 00 00 00 00 00 FF 0F 84 [10:01:47]process_action close_receipt done [10:01:47]requested_data is exist [10:01:47]produce_requested_data [10:01:47]requested_item fm.sn is exist - process it [10:01:47]wFMCommunicate request_size=4 [10:01:47]MH_SAM_APDU [10:01:47]CAPDU: 80 11 00 00 [10:01:47]Write to MH i2c: E2 08 00 70 00 80 11 00 00 00 00 00 00 EA [10:01:47]Write i2c OK [10:01:47]MH_I2C_Read... [10:01:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:01:47]Read from MH i2c: E2 [10:01:47]MH_I2C_Read... [10:01:47]Read from MH i2c: E2 17 00 [10:01:47]MH_I2C_Read... [10:01:47]Read from MH i2c: E2 17 00 70 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 43 [10:01:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:01:47]wFMCommunicate OK [10:01:47]requested_item fd.num is exist - process it [10:01:47]SAM_PROTO_GetFieldsCounters [10:01:47]wFMCommunicate request_size=4 [10:01:47]MH_SAM_APDU [10:01:47]CAPDU: 80 13 00 00 [10:01:47]Write to MH i2c: E2 08 00 71 00 80 13 00 00 00 00 00 00 ED [10:01:47]Write i2c OK [10:01:47]MH_I2C_Read... [10:01:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:01:47]Read from MH i2c: E2 [10:01:47]MH_I2C_Read... [10:01:47]Read from MH i2c: E2 62 00 [10:01:47]MH_I2C_Read... [10:01:47]Read from MH i2c: E2 62 00 71 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F5 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 30 [10:01:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F5 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:01:47]wFMCommunicate OK [10:01:47]SAM_PROTO_GetFieldsCounters done [10:01:47]requested_item shift.num is exist - process it [10:01:47]requested_item shift.opened is exist - process it [10:01:47]req_shift_opened [10:01:47]FM_GetShiftState [10:01:47]SAM_PROTO_GetShiftState [10:01:47]wFMCommunicate request_size=4 [10:01:47]MH_SAM_APDU [10:01:47]CAPDU: 80 13 01 00 [10:01:47]Write to MH i2c: E2 08 00 72 00 80 13 01 00 00 00 00 00 EF [10:01:47]Write i2c OK [10:01:47]MH_I2C_Read... [10:01:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:01:47]Read from MH i2c: E2 [10:01:47]MH_I2C_Read... [10:01:47]Read from MH i2c: E2 0E 00 [10:01:47]MH_I2C_Read... [10:01:47]Read from MH i2c: E2 0E 00 72 00 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 DC [10:01:47]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [10:01:47]wFMCommunicate OK [10:01:47]SAM_PROTO_GetShiftState done [10:01:47]FM_GetShiftState done [10:01:47]req_shift_opened done [10:01:47]requested_item shift.open_date is exist - process it [10:01:47]req_shift_open_date [10:01:47]req_shift_open_date done [10:01:47]produce_requested_data done [10:01:47]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18933,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [10:01:47]process_action_free close_receipt [10:01:47]json_value_free [10:01:47]json_value_free done [10:01:47]process_json_proto returns [10:01:47]Send response to host [10:01:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18933,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [10:01:47]free response buf [10:01:47]execute_script done [10:01:47]execute_script returns [10:01:47]free content buf [10:01:47]Sock 7.Close socket [10:01:47]Sock 7.Thread stoped [10:01:51]OFD Sender: No OFD packet to send [10:01:56]OFD Sender: No OFD packet to send [10:02:01]OFD Sender: No OFD packet to send [10:02:06]OFD Sender: No OFD packet to send [10:02:11]OFD Sender: No OFD packet to send [10:02:16]OFD Sender: No OFD packet to send [10:02:21]OFD Sender: No OFD packet to send [10:02:26]OFD Sender: No OFD packet to send [10:02:31]OFD Sender: No OFD packet to send [10:02:36]OFD Sender: No OFD packet to send [10:02:41]OFD Sender: No OFD packet to send [10:02:46]OFD Sender: No OFD packet to send [10:02:51]OFD Sender: No OFD packet to send [10:02:56]OFD Sender: No OFD packet to send [10:03:01]OFD Sender: No OFD packet to send [10:03:06]OFD Sender: No OFD packet to send [10:03:11]OFD Sender: No OFD packet to send [10:03:16]OFD Sender: No OFD packet to send [10:03:21]OFD Sender: No OFD packet to send [10:03:26]OFD Sender: No OFD packet to send [10:03:31]OFD Sender: No OFD packet to send [10:03:36]OFD Sender: No OFD packet to send [10:03:41]OFD Sender: No OFD packet to send [10:03:46]OFD Sender: No OFD packet to send [10:03:51]OFD Sender: No OFD packet to send [10:03:56]OFD Sender: No OFD packet to send [10:04:01]OFD Sender: No OFD packet to send [10:04:06]OFD Sender: No OFD packet to send [10:04:11]OFD Sender: No OFD packet to send [10:04:16]OFD Sender: No OFD packet to send [10:04:21]OFD Sender: No OFD packet to send [10:04:26]OFD Sender: No OFD packet to send [10:04:31]OFD Sender: No OFD packet to send [10:04:36]OFD Sender: No OFD packet to send [10:04:41]OFD Sender: No OFD packet to send [10:04:46]OFD Sender: No OFD packet to send [10:04:51]OFD Sender: No OFD packet to send [10:04:56]OFD Sender: No OFD packet to send [10:05:01]OFD Sender: No OFD packet to send [10:05:06]OFD Sender: No OFD packet to send [10:05:11]OFD Sender: No OFD packet to send [10:05:16]OFD Sender: No OFD packet to send [10:05:21]OFD Sender: No OFD packet to send [10:05:26]OFD Sender: No OFD packet to send [10:05:31]OFD Sender: No OFD packet to send [10:05:36]OFD Sender: No OFD packet to send [10:05:41]OFD Sender: No OFD packet to send [10:05:46]OFD Sender: No OFD packet to send [10:05:51]OFD Sender: No OFD packet to send [10:05:56]OFD Sender: No OFD packet to send [10:06:01]OFD Sender: No OFD packet to send [10:06:06]OFD Sender: No OFD packet to send [10:06:11]OFD Sender: No OFD packet to send [10:06:16]OFD Sender: No OFD packet to send [10:06:21]OFD Sender: No OFD packet to send [10:06:26]OFD Sender: No OFD packet to send [10:06:31]OFD Sender: No OFD packet to send [10:06:36]OFD Sender: No OFD packet to send [10:06:41]OFD Sender: No OFD packet to send [10:06:46]OFD Sender: No OFD packet to send [10:06:51]OFD Sender: No OFD packet to send [10:06:56]OFD Sender: No OFD packet to send [10:07:01]OFD Sender: No OFD packet to send [10:07:06]OFD Sender: No OFD packet to send [10:07:11]OFD Sender: No OFD packet to send [10:07:16]OFD Sender: No OFD packet to send [10:07:21]OFD Sender: No OFD packet to send [10:07:26]OFD Sender: No OFD packet to send [10:07:31]OFD Sender: No OFD packet to send [10:07:37]OFD Sender: No OFD packet to send [10:07:42]OFD Sender: No OFD packet to send [10:07:47]OFD Sender: No OFD packet to send [10:07:52]OFD Sender: No OFD packet to send [10:07:57]OFD Sender: No OFD packet to send [10:08:02]OFD Sender: No OFD packet to send [10:08:07]OFD Sender: No OFD packet to send [10:08:12]OFD Sender: No OFD packet to send [10:08:17]OFD Sender: No OFD packet to send [10:08:22]OFD Sender: No OFD packet to send [10:08:27]OFD Sender: No OFD packet to send [10:08:32]OFD Sender: No OFD packet to send [10:08:37]OFD Sender: No OFD packet to send [10:08:42]OFD Sender: No OFD packet to send [10:08:47]OFD Sender: No OFD packet to send [10:08:52]OFD Sender: No OFD packet to send [10:08:57]OFD Sender: No OFD packet to send [10:09:02]OFD Sender: No OFD packet to send [10:09:07]OFD Sender: No OFD packet to send [10:09:12]OFD Sender: No OFD packet to send [10:09:17]OFD Sender: No OFD packet to send [10:09:22]OFD Sender: No OFD packet to send [10:09:27]OFD Sender: No OFD packet to send [10:09:32]OFD Sender: No OFD packet to send [10:09:37]OFD Sender: No OFD packet to send [10:09:42]OFD Sender: No OFD packet to send [10:09:47]OFD Sender: No OFD packet to send [10:09:52]OFD Sender: No OFD packet to send [10:09:57]OFD Sender: No OFD packet to send [10:10:02]OFD Sender: No OFD packet to send [10:10:03]accept exits with 9 [10:10:03]New connection [10:10:03]New thread 3066621284 created [10:10:03]Thread 3066764644 joined [10:10:03]Waiting for new connection... [10:10:03] Sock 9.Parse request [10:10:03]Sock 9.Check first char [10:10:03]Sock 9.First char is OK [10:10:03]request: POST /json_proto HTTP/1.0 [10:10:03]Method: POST [10:10:03]URL: /json_proto [10:10:03]Method is POST - this is cgi request [10:10:03]url: /json_proto [10:10:03]query_string will be loaded in cgi processing [10:10:03]execute_cgi json_proto POST (null) [10:10:03]execute_cgi path=json_proto method=POST [10:10:03]POST find Content-Length [10:10:03]Host: 172.17.62.196:8080 [10:10:03]Content-Length: 828 [10:10:03]Content-Type: application/json [10:10:03] [10:10:03]POST finish read [10:10:03]Found Content-Length = 828 [10:10:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16854", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:10:03]execute_script... [10:10:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16854", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:10:03]POST & json_proto [10:10:03]process_json_proto [10:10:03]json parsed OK: [10:10:03]protocol is kg_v1.0 [10:10:03]action value=close_receipt [10:10:03]process_action close_receipt [10:10:03]cmd_close_receipt [10:10:03]MH_GetDate [10:10:03]Write to MH i2c: F0 00 00 73 00 62 [10:10:03]Write i2c OK [10:10:03]MH_I2C_Read... [10:10:03]Read from MH i2c: F0 [10:10:03]MH_I2C_Read... [10:10:03]Read from MH i2c: F0 09 00 [10:10:03]MH_I2C_Read... [10:10:03]Read from MH i2c: F0 09 00 73 00 00 7B E1 F3 66 CE CC 0E 66 2E [10:10:03]GetLastDocTimeStamp 1727258504 [10:10:03]current date 1727259003 [10:10:03]FM_GetShiftState [10:10:03]SAM_PROTO_GetShiftState [10:10:03]wFMCommunicate request_size=4 [10:10:03]MH_SAM_APDU [10:10:03]CAPDU: 80 13 01 00 [10:10:03]Write to MH i2c: E2 08 00 74 00 80 13 01 00 00 00 00 00 F1 [10:10:03]Write i2c OK [10:10:03]MH_I2C_Read... [10:10:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:10:03]Read from MH i2c: E2 [10:10:03]MH_I2C_Read... [10:10:03]Read from MH i2c: E2 0E 00 [10:10:03]MH_I2C_Read... [10:10:03]Read from MH i2c: E2 0E 00 74 00 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 DE [10:10:03]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [10:10:03]wFMCommunicate OK [10:10:03]SAM_PROTO_GetShiftState done [10:10:03]FM_GetShiftState done [10:10:03]opened in 1727223091 [10:10:03]opened+sec_in_day 1727309491 [10:10:03]quantity*price = 12500 [10:10:03]sum+1 = 12501 [10:10:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 0.00 Безнал.: 125.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 12 25.09.2024 10:10 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959456 ФД: 18934 ФПД: 179462164369028 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T101004&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18934&fm=179462164369028&tin=02508201610067®Number=0000000000152968&sum=12500 0 [10:10:04]StoreToDocumentArchive [10:10:04]shift 183 fd 18934 [10:10:04]save to /storage/0183/doc_00018934 [10:10:04]save last doc name /storage/0183/doc_00018934 to /storage/kkm_last_doc_name [10:10:04]save OK [10:10:04]Clear old archive folders... [10:10:04]ProcessDocumentItem done err = 0, tmpTLVsize=284 [10:10:04]tlvbuf is 015C6100 [10:10:04]SAM_PROTO_ClearQueue [10:10:04]wFMCommunicate request_size=4 [10:10:04]MH_SAM_APDU [10:10:04]CAPDU: 80 09 00 00 [10:10:04]Write to MH i2c: E2 08 00 81 00 80 09 00 00 00 00 00 00 F3 [10:10:04]Write i2c OK [10:10:04]MH_I2C_Read... [10:10:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:10:04]Read from MH i2c: E2 [10:10:04]MH_I2C_Read... [10:10:04]Read from MH i2c: E2 03 00 [10:10:04]MH_I2C_Read... [10:10:04]Read from MH i2c: E2 03 00 81 00 00 90 00 F5 [10:10:04]RAPDU: 90 00 [10:10:04]wFMCommunicate OK [10:10:04]SAM_PROTO_ClearQueue done [10:10:04]KKMCreateOFDPacket [10:10:04]OFDProtocolAddRootSTLVToBuf [10:10:04]FM_MakeSignedData [10:10:04]FM_MakeSignedData [10:10:04]SAM_PROTO_SignData [10:10:04]wFMCommunicate request_size=4 [10:10:04]MH_SAM_APDU [10:10:04]CAPDU: 80 0D 01 02 [10:10:04]Write to MH i2c: E2 08 00 82 00 80 0D 01 02 00 00 00 00 FB [10:10:04]Write i2c OK [10:10:04]MH_I2C_Read... [10:10:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:10:04]Read from MH i2c: E2 [10:10:04]MH_I2C_Read... [10:10:04]Read from MH i2c: E2 03 00 [10:10:04]MH_I2C_Read... [10:10:04]Read from MH i2c: E2 03 00 82 00 00 90 00 F6 [10:10:04]RAPDU: 90 00 [10:10:04]wFMCommunicate OK [10:10:04]wFMCommunicate request_size=255 [10:10:04]MH_SAM_APDU [10:10:04]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 7C E1 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 [10:10:04]Write to MH i2c: E2 02 01 83 00 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 7C E1 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 00 00 1C [10:10:04]Write i2c OK [10:10:04]MH_I2C_Read... [10:10:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:10:05]Read from MH i2c: E2 [10:10:05]MH_I2C_Read... [10:10:05]Read from MH i2c: E2 03 00 [10:10:05]MH_I2C_Read... [10:10:05]Read from MH i2c: E2 03 00 83 00 00 90 00 F7 [10:10:05]RAPDU: 90 00 [10:10:05]wFMCommunicate OK [10:10:05]wFMCommunicate request_size=43 [10:10:05]MH_SAM_APDU [10:10:05]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F6 49 00 00 35 04 06 00 A3 38 4A 8E CE 84 [10:10:05]Write to MH i2c: E2 2E 00 84 00 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F6 49 00 00 35 04 06 00 A3 38 4A 8E CE 84 00 00 30 [10:10:05]Write i2c OK [10:10:05]MH_I2C_Read... [10:10:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:10:05]Read from MH i2c: E2 [10:10:05]MH_I2C_Read... [10:10:05]Read from MH i2c: E2 03 00 [10:10:05]MH_I2C_Read... [10:10:05]Read from MH i2c: E2 03 00 84 00 00 90 00 F8 [10:10:05]RAPDU: 90 00 [10:10:05]wFMCommunicate OK [10:10:05]wFMCommunicate request_size=4 [10:10:05]MH_SAM_APDU [10:10:05]CAPDU: 80 0D 03 02 [10:10:05]Write to MH i2c: E2 08 00 85 00 80 0D 03 02 00 00 00 00 00 [10:10:05]Write i2c OK [10:10:05]MH_I2C_Read... [10:10:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:10:05]Read from MH i2c: E2 [10:10:05]MH_I2C_Read... [10:10:05]Read from MH i2c: E2 0B 00 [10:10:05]MH_I2C_Read... [10:10:05]Read from MH i2c: E2 0B 00 85 00 00 75 87 76 7C 40 6D 9F EA 90 00 25 [10:10:05]RAPDU: 75 87 76 7C 40 6D 9F EA 90 00 [10:10:05]wFMCommunicate OK [10:10:05]SAM_PROTO_SignData done [10:10:05]FM_MakeSignedData done [10:10:05]CreateOFDProtocolMessage [10:10:05]wFMCommunicate request_size=4 [10:10:05]MH_SAM_APDU [10:10:05]CAPDU: 80 11 00 00 [10:10:05]Write to MH i2c: E2 08 00 86 00 80 11 00 00 00 00 00 00 00 [10:10:05]Write i2c OK [10:10:05]MH_I2C_Read... [10:10:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:10:05]Read from MH i2c: E2 [10:10:05]MH_I2C_Read... [10:10:05]Read from MH i2c: E2 17 00 [10:10:05]MH_I2C_Read... [10:10:05]Read from MH i2c: E2 17 00 86 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 59 [10:10:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:10:05]wFMCommunicate OK [10:10:05]CreateOFDProtocolMessage done [10:10:05]OFDSenderStorePacket 18934 [10:10:05]StoreOFDPacket docnum=18934 [10:10:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 30 01 00 00 42 BF 28 01 20 45 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 7C E1 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F6 49 00 00 35 04 06 00 A3 38 4A 8E CE 84 75 87 76 7C 40 6D 9F EA [10:10:05]CheckFolder [10:10:05]dirname=/storage/ofd_packets [10:10:05]CheckFolder done [10:10:05]ProducePacketName [10:10:05]name=ofd_packets/00018934 [10:10:05]NVStorageSaveData ofd_packets/00018934 [10:10:05]File name is /storage/ofd_packets/00018934 [10:10:05]Write 334 bytes [10:10:05]NVStorageSaveData done [10:10:05]OFDSenderStorePacket done [10:10:05]KKMCreateOFDPacket done [10:10:05]NVStorageSaveData kkm_last_timestamp [10:10:05]File name is /storage/kkm_last_timestamp [10:10:05]Write 4 bytes [10:10:05]NVStorageSaveData done [10:10:05]ExternCall_PrintAddStr [10:10:05]wPrintStart [10:10:05]Write to MH i2c: 01 00 00 87 00 87 [10:10:05]Write i2c OK [10:10:05]MH_I2C_Read... [10:10:05]Read from MH i2c: 01 [10:10:05]MH_I2C_Read... [10:10:05]Read from MH i2c: 01 07 00 [10:10:05]MH_I2C_Read... [10:10:05]Read from MH i2c: 01 07 00 87 00 00 00 00 00 00 FF 0F 9C [10:10:05]RasterBufferAndPrint [10:10:05]line Счет N : (3)16854 [10:10:05]line ИНН: 02508201610067 [10:10:05]line Контрольно-Кассовый Чек [10:10:05]line ПРОДАЖА [10:10:05]line Товар: 2000036190018 [10:10:05]line Кофе Американо XL(GABB TRADE) [10:10:05]line 1.000 * 125.00 [10:10:05]line = 125.00 [10:10:05]line НДС 12% НСП 1% [10:10:05]line > о реализуемом товаре [10:10:05]line ИТОГО: 125.00 [10:10:05]line НСП 1% : 1.11 [10:10:05]line НДС 12% : 13.27 [10:10:05]line Наличными: 0.00 [10:10:05]line Безнал.: 125.00 [10:10:05]line Место: АЗС № 176 "Партнер Нефть" [10:10:05]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [10:10:05]line СНО: Общий режим [10:10:05]line Чек 12 25.09.2024 10:10 [10:10:05]line Смена: 183 ФФД: 1.0 [10:10:05]line ЗНМ: 0300000010 [10:10:05]line РНМ: 0000000000152968 [10:10:05]line Версия ККМ: v1.0 [10:10:05]line Платежная система: Бакай Банк [10:10:05]line ФМ: 0000000000959456 [10:10:05]line ФД: 18934 [10:10:05]line ФПД: 179462164369028 [10:10:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T101004&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18934&fm=179462164369028&tin=02508201610067®Number=0000000000152968&sum=12500 [10:10:05]line 0 [10:10:05]OFD Sender: Processing packet 18934 [packets to send 7, broken 6] [10:10:05]ProducePacketName [10:10:05]name=ofd_packets/00018934 [10:10:05]OFD Sender: To server: pG, [10:10:05]CommunicateWithHost lk.salyk.kg:30040 [10:10:05]ConnectInit lk.salyk.kg [10:10:05]written 0, free lines is 4095 [10:10:05]Connected sock=10 [10:10:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 30 01 00 00 42 BF 28 01 20 45 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 7C E1 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F6 49 00 00 35 04 06 00 A3 38 4A 8E CE 84 75 87 76 7C 40 6D 9F EA [10:10:06]Write to MH i2c: 01 00 00 B2 00 B2 [10:10:06]Write i2c OK [10:10:06]MH_I2C_Read... [10:10:06]Read from MH i2c: 01 [10:10:06]MH_I2C_Read... [10:10:06]Read from MH i2c: 01 07 00 [10:10:06]MH_I2C_Read... [10:10:06]Read from MH i2c: 01 07 00 B2 00 00 00 00 00 00 F3 0C B8 [10:10:06]RasterBufferAndPrint [10:10:06]line [10:10:06]line [10:10:06]line [10:10:06]line [10:10:06]line [10:10:06]written 0, free lines is 3323 [10:10:06]MH_Cut [10:10:06]Write to MH i2c: D1 01 00 B9 00 01 8B [10:10:06]Write i2c OK [10:10:06]MH_I2C_Read... [10:10:06]Read from MH i2c: D1 [10:10:06]MH_I2C_Read... [10:10:06]Read from MH i2c: D1 01 00 [10:10:06]MH_I2C_Read... [10:10:06]Read from MH i2c: D1 01 00 B9 00 00 8A [10:10:06]Write to MH i2c: 01 00 00 BA 00 BA [10:10:06]Write i2c OK [10:10:06]MH_I2C_Read... [10:10:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 8D 98 47 00 BB 83 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F6 49 00 00 F4 03 04 00 D9 8A F3 66 B6 04 01 00 00 29 20 4F 6F F6 18 A5 9A [10:10:06]CommunicateWithHost err = 0 [10:10:06]CheckOFDResponse [10:10:06]1017 (14) - 77093643461234 [10:10:06]1041 (16) - 0000000000959456 [10:10:06]1040 (4) - 18934 [10:10:06]1012 (4) - 25.09.2024 04:00 [10:10:06]1206 (1) - 0 [10:10:06]OFD Sender: Remove packet 18934 [10:10:06]ProducePacketName [10:10:06]name=ofd_packets/00018934 [10:10:06]NVStorageDeleteData [10:10:06]OFD Sender: No OFD packet to send [10:10:06]*** Cut start [10:10:06]*** Partial cut [10:10:06]*** CUTSNS_PIN = 1 [10:10:06]*** CUTSNS_PIN = 0 [10:10:06]*** Brake cut motor [10:10:07]Read from MH i2c: 01 [10:10:07]MH_I2C_Read... [10:10:07]*** Stop cut motor [10:10:07]*** Cut end [10:10:07]Read from MH i2c: 01 07 00 [10:10:07]MH_I2C_Read... [10:10:07]Read from MH i2c: 01 07 00 BA 00 00 00 00 00 00 FF 0F CF [10:10:07]process_action close_receipt done [10:10:07]requested_data is exist [10:10:07]produce_requested_data [10:10:07]requested_item fm.sn is exist - process it [10:10:07]wFMCommunicate request_size=4 [10:10:07]MH_SAM_APDU [10:10:07]CAPDU: 80 11 00 00 [10:10:07]Write to MH i2c: E2 08 00 BB 00 80 11 00 00 00 00 00 00 35 [10:10:07]Write i2c OK [10:10:07]MH_I2C_Read... [10:10:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:10:07]Read from MH i2c: E2 [10:10:07]MH_I2C_Read... [10:10:07]Read from MH i2c: E2 17 00 [10:10:07]MH_I2C_Read... [10:10:07]Read from MH i2c: E2 17 00 BB 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 8E [10:10:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:10:07]wFMCommunicate OK [10:10:07]requested_item fd.num is exist - process it [10:10:07]SAM_PROTO_GetFieldsCounters [10:10:07]wFMCommunicate request_size=4 [10:10:07]MH_SAM_APDU [10:10:07]CAPDU: 80 13 00 00 [10:10:07]Write to MH i2c: E2 08 00 BC 00 80 13 00 00 00 00 00 00 38 [10:10:07]Write i2c OK [10:10:07]MH_I2C_Read... [10:10:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:10:07]Read from MH i2c: E2 [10:10:07]MH_I2C_Read... [10:10:07]Read from MH i2c: E2 62 00 [10:10:07]MH_I2C_Read... [10:10:07]Read from MH i2c: E2 62 00 BC 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F6 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 7F [10:10:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F6 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:10:07]wFMCommunicate OK [10:10:07]SAM_PROTO_GetFieldsCounters done [10:10:07]requested_item shift.num is exist - process it [10:10:07]requested_item shift.opened is exist - process it [10:10:07]req_shift_opened [10:10:07]FM_GetShiftState [10:10:07]SAM_PROTO_GetShiftState [10:10:07]wFMCommunicate request_size=4 [10:10:07]MH_SAM_APDU [10:10:07]CAPDU: 80 13 01 00 [10:10:07]Write to MH i2c: E2 08 00 BD 00 80 13 01 00 00 00 00 00 3A [10:10:07]Write i2c OK [10:10:07]MH_I2C_Read... [10:10:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:10:07]Read from MH i2c: E2 [10:10:07]MH_I2C_Read... [10:10:07]Read from MH i2c: E2 0E 00 [10:10:07]MH_I2C_Read... [10:10:07]Read from MH i2c: E2 0E 00 BD 00 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 27 [10:10:07]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [10:10:07]wFMCommunicate OK [10:10:07]SAM_PROTO_GetShiftState done [10:10:07]FM_GetShiftState done [10:10:07]req_shift_opened done [10:10:07]requested_item shift.open_date is exist - process it [10:10:07]req_shift_open_date [10:10:07]req_shift_open_date done [10:10:07]produce_requested_data done [10:10:07]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18934,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [10:10:07]process_action_free close_receipt [10:10:07]json_value_free [10:10:07]json_value_free done [10:10:07]process_json_proto returns [10:10:07]Send response to host [10:10:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18934,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [10:10:07]free response buf [10:10:07]execute_script done [10:10:07]execute_script returns [10:10:07]free content buf [10:10:07]Sock 9.Close socket [10:10:07]Sock 9.Thread stoped [10:10:11]OFD Sender: No OFD packet to send [10:10:16]OFD Sender: No OFD packet to send [10:10:21]OFD Sender: No OFD packet to send [10:10:26]OFD Sender: No OFD packet to send [10:10:31]OFD Sender: No OFD packet to send [10:10:36]OFD Sender: No OFD packet to send [10:10:41]OFD Sender: No OFD packet to send [10:10:46]OFD Sender: No OFD packet to send [10:10:51]OFD Sender: No OFD packet to send [10:10:56]OFD Sender: No OFD packet to send [10:11:01]OFD Sender: No OFD packet to send [10:11:06]OFD Sender: No OFD packet to send [10:11:11]OFD Sender: No OFD packet to send [10:11:16]OFD Sender: No OFD packet to send [10:11:21]OFD Sender: No OFD packet to send [10:11:26]OFD Sender: No OFD packet to send [10:11:31]OFD Sender: No OFD packet to send [10:11:36]OFD Sender: No OFD packet to send [10:11:41]OFD Sender: No OFD packet to send [10:11:46]OFD Sender: No OFD packet to send [10:11:51]OFD Sender: No OFD packet to send [10:11:56]OFD Sender: No OFD packet to send [10:12:01]OFD Sender: No OFD packet to send [10:12:06]OFD Sender: No OFD packet to send [10:12:11]OFD Sender: No OFD packet to send [10:12:16]OFD Sender: No OFD packet to send [10:12:21]OFD Sender: No OFD packet to send [10:12:26]OFD Sender: No OFD packet to send [10:12:31]OFD Sender: No OFD packet to send [10:12:36]OFD Sender: No OFD packet to send [10:12:41]OFD Sender: No OFD packet to send [10:12:46]OFD Sender: No OFD packet to send [10:12:51]accept exits with 8 [10:12:51]New connection [10:12:51]New thread 3066764644 created [10:12:51]Thread 3066621284 joined [10:12:51]Waiting for new connection... [10:12:51] Sock 8.Parse request [10:12:51]Sock 8.Check first char [10:12:51]Sock 8.First char is OK [10:12:51]request: POST /json_proto HTTP/1.0 [10:12:51]Method: POST [10:12:51]URL: /json_proto [10:12:51]Method is POST - this is cgi request [10:12:51]url: /json_proto [10:12:51]query_string will be loaded in cgi processing [10:12:51]execute_cgi json_proto POST (null) [10:12:51]execute_cgi path=json_proto method=POST [10:12:51]POST find Content-Length [10:12:51]Host: 172.17.62.196:8080 [10:12:51]Content-Length: 604 [10:12:51]Content-Type: application/json [10:12:51] [10:12:51]POST finish read [10:12:51]Found Content-Length = 604 [10:12:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16855", "tax_sys" : 0, "items" : [ { "code": "50173976", "name": "\u0416\u0435\u0432 Orbit Winterfresh \u043F\u043E\u0434", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:12:51]execute_script... [10:12:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16855", "tax_sys" : 0, "items" : [ { "code": "50173976", "name": "\u0416\u0435\u0432 Orbit Winterfresh \u043F\u043E\u0434", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:12:51]POST & json_proto [10:12:51]process_json_proto [10:12:51]json parsed OK: [10:12:51]protocol is kg_v1.0 [10:12:51]action value=close_receipt [10:12:51]process_action close_receipt [10:12:51]cmd_close_receipt [10:12:51]MH_GetDate [10:12:51]Write to MH i2c: F0 00 00 BE 00 AD [10:12:51]Write i2c OK [10:12:51]MH_I2C_Read... [10:12:51]Read from MH i2c: F0 [10:12:51]MH_I2C_Read... [10:12:51]Read from MH i2c: F0 09 00 [10:12:51]MH_I2C_Read... [10:12:51]Read from MH i2c: F0 09 00 BE 00 00 24 E2 F3 66 CE CC 0E 66 23 [10:12:51]GetLastDocTimeStamp 1727259004 [10:12:51]current date 1727259172 [10:12:51]FM_GetShiftState [10:12:51]SAM_PROTO_GetShiftState [10:12:51]wFMCommunicate request_size=4 [10:12:51]MH_SAM_APDU [10:12:51]CAPDU: 80 13 01 00 [10:12:51]Write to MH i2c: E2 08 00 BF 00 80 13 01 00 00 00 00 00 3C [10:12:51]Write i2c OK [10:12:51]MH_I2C_Read... [10:12:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:12:51]Read from MH i2c: E2 [10:12:51]MH_I2C_Read... [10:12:51]Read from MH i2c: E2 0E 00 [10:12:51]MH_I2C_Read... [10:12:51]Read from MH i2c: E2 0E 00 BF 00 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 29 [10:12:51]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [10:12:51]wFMCommunicate OK [10:12:51]SAM_PROTO_GetShiftState done [10:12:51]FM_GetShiftState done [10:12:51]opened in 1727223091 [10:12:51]opened+sec_in_day 1727309491 [10:12:51]quantity*price = 4500 [10:12:51]sum+1 = 4501 [10:12:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 13 25.09.2024 10:12 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18935 ФПД: 279498129933773 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T101252&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18935&fm=279498129933773&tin=02508201610067®Number=0000000000152968&sum=4500 0 [10:12:52]StoreToDocumentArchive [10:12:52]shift 183 fd 18935 [10:12:52]save to /storage/0183/doc_00018935 [10:12:52]save last doc name /storage/0183/doc_00018935 to /storage/kkm_last_doc_name [10:12:52]save OK [10:12:52]Clear old archive folders... [10:12:52]ProcessDocumentItem done err = 0, tmpTLVsize=268 [10:12:52]tlvbuf is 015C2170 [10:12:52]SAM_PROTO_ClearQueue [10:12:52]wFMCommunicate request_size=4 [10:12:52]MH_SAM_APDU [10:12:52]CAPDU: 80 09 00 00 [10:12:52]Write to MH i2c: E2 08 00 CC 00 80 09 00 00 00 00 00 00 3E [10:12:52]Write i2c OK [10:12:52]MH_I2C_Read... [10:12:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:12:52]Read from MH i2c: E2 [10:12:52]MH_I2C_Read... [10:12:52]Read from MH i2c: E2 03 00 [10:12:52]MH_I2C_Read... [10:12:52]Read from MH i2c: E2 03 00 CC 00 00 90 00 40 [10:12:52]RAPDU: 90 00 [10:12:52]wFMCommunicate OK [10:12:52]SAM_PROTO_ClearQueue done [10:12:52]KKMCreateOFDPacket [10:12:52]OFDProtocolAddRootSTLVToBuf [10:12:52]FM_MakeSignedData [10:12:52]FM_MakeSignedData [10:12:52]SAM_PROTO_SignData [10:12:52]wFMCommunicate request_size=4 [10:12:52]MH_SAM_APDU [10:12:52]CAPDU: 80 0D 01 02 [10:12:52]Write to MH i2c: E2 08 00 CD 00 80 0D 01 02 00 00 00 00 46 [10:12:52]Write i2c OK [10:12:52]MH_I2C_Read... [10:12:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:12:52]Read from MH i2c: E2 [10:12:52]MH_I2C_Read... [10:12:52]Read from MH i2c: E2 03 00 [10:12:52]MH_I2C_Read... [10:12:52]Read from MH i2c: E2 03 00 CD 00 00 90 00 41 [10:12:52]RAPDU: 90 00 [10:12:52]wFMCommunicate OK [10:12:52]wFMCommunicate request_size=255 [10:12:52]MH_SAM_APDU [10:12:52]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 24 E2 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 [10:12:52]Write to MH i2c: E2 02 01 CE 00 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 24 E2 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 00 00 41 [10:12:52]Write i2c OK [10:12:52]MH_I2C_Read... [10:12:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:12:53]Read from MH i2c: E2 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: E2 03 00 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: E2 03 00 CE 00 00 90 00 42 [10:12:53]RAPDU: 90 00 [10:12:53]wFMCommunicate OK [10:12:53]wFMCommunicate request_size=27 [10:12:53]MH_SAM_APDU [10:12:53]CAPDU: 80 0D 02 02 16 39 34 35 36 10 04 04 00 F7 49 00 00 35 04 06 00 FE 33 BA C0 05 CD [10:12:53]Write to MH i2c: E2 1E 00 CF 00 80 0D 02 02 16 00 39 34 35 36 10 04 04 00 F7 49 00 00 35 04 06 00 FE 33 BA C0 05 CD 00 00 61 [10:12:53]Write i2c OK [10:12:53]MH_I2C_Read... [10:12:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:12:53]Read from MH i2c: E2 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: E2 03 00 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: E2 03 00 CF 00 00 90 00 43 [10:12:53]RAPDU: 90 00 [10:12:53]wFMCommunicate OK [10:12:53]wFMCommunicate request_size=4 [10:12:53]MH_SAM_APDU [10:12:53]CAPDU: 80 0D 03 02 [10:12:53]Write to MH i2c: E2 08 00 D0 00 80 0D 03 02 00 00 00 00 4B [10:12:53]Write i2c OK [10:12:53]MH_I2C_Read... [10:12:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:12:53]Read from MH i2c: E2 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: E2 0B 00 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: E2 0B 00 D0 00 00 CC 9E CC 8E 72 2F AC 0B 90 00 68 [10:12:53]RAPDU: CC 9E CC 8E 72 2F AC 0B 90 00 [10:12:53]wFMCommunicate OK [10:12:53]SAM_PROTO_SignData done [10:12:53]FM_MakeSignedData done [10:12:53]CreateOFDProtocolMessage [10:12:53]wFMCommunicate request_size=4 [10:12:53]MH_SAM_APDU [10:12:53]CAPDU: 80 11 00 00 [10:12:53]Write to MH i2c: E2 08 00 D1 00 80 11 00 00 00 00 00 00 4B [10:12:53]Write i2c OK [10:12:53]MH_I2C_Read... [10:12:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:12:53]Read from MH i2c: E2 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: E2 17 00 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: E2 17 00 D1 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 A4 [10:12:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:12:53]wFMCommunicate OK [10:12:53]CreateOFDProtocolMessage done [10:12:53]OFDSenderStorePacket 18935 [10:12:53]StoreOFDPacket docnum=18935 [10:12:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 20 01 00 00 AC 05 18 01 76 B2 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 24 E2 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F7 49 00 00 35 04 06 00 FE 33 BA C0 05 CD CC 9E CC 8E 72 2F AC 0B [10:12:53]CheckFolder [10:12:53]dirname=/storage/ofd_packets [10:12:53]CheckFolder done [10:12:53]ProducePacketName [10:12:53]name=ofd_packets/00018935 [10:12:53]NVStorageSaveData ofd_packets/00018935 [10:12:53]File name is /storage/ofd_packets/00018935 [10:12:53]Write 318 bytes [10:12:53]NVStorageSaveData done [10:12:53]OFDSenderStorePacket done [10:12:53]KKMCreateOFDPacket done [10:12:53]NVStorageSaveData kkm_last_timestamp [10:12:53]File name is /storage/kkm_last_timestamp [10:12:53]Write 4 bytes [10:12:53]NVStorageSaveData done [10:12:53]ExternCall_PrintAddStr [10:12:53]wPrintStart [10:12:53]Write to MH i2c: 01 00 00 D2 00 D2 [10:12:53]Write i2c OK [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: 01 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: 01 07 00 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: 01 07 00 D2 00 00 00 00 00 00 FF 0F E7 [10:12:53]RasterBufferAndPrint [10:12:53]line Счет N : (3)16855 [10:12:53]line ИНН: 02508201610067 [10:12:53]line Контрольно-Кассовый Чек [10:12:53]line ПРОДАЖА [10:12:53]line Товар: 50173976 [10:12:53]line Жев Orbit Winterfresh под [10:12:53]line 1.000 * 45.00 [10:12:53]line = 45.00 [10:12:53]line НДС 12% НСП 1% [10:12:53]line > о реализуемом товаре [10:12:53]line ИТОГО: 45.00 [10:12:53]line НСП 1% : 0.40 [10:12:53]line НДС 12% : 4.78 [10:12:53]line Наличными: 45.00 [10:12:53]line Безнал.: 0.00 [10:12:53]line Место: АЗС № 176 "Партнер Нефть" [10:12:53]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [10:12:53]line СНО: Общий режим [10:12:53]line Чек 13 25.09.2024 10:12 [10:12:53]line Смена: 183 ФФД: 1.0 [10:12:53]line ЗНМ: 0300000010 [10:12:53]line РНМ: 0000000000152968 [10:12:53]line Версия ККМ: v1.0 [10:12:53]line ФМ: 0000000000959456 [10:12:53]line ФД: 18935 [10:12:53]line ФПД: 279498129933773 [10:12:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T101252&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18935&fm=279498129933773&tin=02508201610067®Number=0000000000152968&sum=4500 [10:12:53]line 0 [10:12:53]OFD Sender: Processing packet 18935 [packets to send 7, broken 6] [10:12:53]ProducePacketName [10:12:53]name=ofd_packets/00018935 [10:12:53]OFD Sender: To server: pG, [10:12:53]CommunicateWithHost lk.salyk.kg:30040 [10:12:53]ConnectInit lk.salyk.kg [10:12:53]written 0, free lines is 4095 [10:12:53]Connected sock=10 [10:12:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 20 01 00 00 AC 05 18 01 76 B2 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 24 E2 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F7 49 00 00 35 04 06 00 FE 33 BA C0 05 CD CC 9E CC 8E 72 2F AC 0B [10:12:53]Write to MH i2c: 01 00 00 FA 00 FA [10:12:53]Write i2c OK [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: 01 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: 01 07 00 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: 01 07 00 FA 00 00 00 00 00 00 12 0D 20 [10:12:53]RasterBufferAndPrint [10:12:53]line [10:12:53]line [10:12:53]line [10:12:53]line [10:12:53]line [10:12:53]written 0, free lines is 3352 [10:12:53]MH_Cut [10:12:53]Write to MH i2c: D1 01 00 01 01 01 D4 [10:12:53]Write i2c OK [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: D1 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: D1 01 00 [10:12:53]MH_I2C_Read... [10:12:53]Read from MH i2c: D1 01 00 01 01 00 D3 [10:12:53]Write to MH i2c: 01 00 00 02 01 03 [10:12:53]Write i2c OK [10:12:53]MH_I2C_Read... [10:12:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 AD 65 47 00 C0 F7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F7 49 00 00 F4 03 04 00 81 8B F3 66 B6 04 01 00 00 AA 5D 8B 90 C5 76 90 FC [10:12:54]CommunicateWithHost err = 0 [10:12:54]CheckOFDResponse [10:12:54]1017 (14) - 77093643461234 [10:12:54]1041 (16) - 0000000000959456 [10:12:54]1040 (4) - 18935 [10:12:54]1012 (4) - 25.09.2024 04:03 [10:12:54]1206 (1) - 0 [10:12:54]OFD Sender: Remove packet 18935 [10:12:54]ProducePacketName [10:12:54]name=ofd_packets/00018935 [10:12:54]NVStorageDeleteData [10:12:54]OFD Sender: No OFD packet to send [10:12:54]*** Cut start [10:12:54]*** Partial cut [10:12:54]*** CUTSNS_PIN = 1 [10:12:54]*** CUTSNS_PIN = 0 [10:12:54]*** Brake cut motor [10:12:55]Read from MH i2c: 01 [10:12:55]MH_I2C_Read... [10:12:55]*** Stop cut motor [10:12:55]*** Cut end [10:12:55]Read from MH i2c: 01 07 00 [10:12:55]MH_I2C_Read... [10:12:55]Read from MH i2c: 01 07 00 02 01 00 00 00 00 00 FF 0F 18 [10:12:55]process_action close_receipt done [10:12:55]requested_data is exist [10:12:55]produce_requested_data [10:12:55]requested_item fm.sn is exist - process it [10:12:55]wFMCommunicate request_size=4 [10:12:55]MH_SAM_APDU [10:12:55]CAPDU: 80 11 00 00 [10:12:55]Write to MH i2c: E2 08 00 03 01 80 11 00 00 00 00 00 00 7E [10:12:55]Write i2c OK [10:12:55]MH_I2C_Read... [10:12:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:12:55]Read from MH i2c: E2 [10:12:55]MH_I2C_Read... [10:12:55]Read from MH i2c: E2 17 00 [10:12:55]MH_I2C_Read... [10:12:55]Read from MH i2c: E2 17 00 03 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 D7 [10:12:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:12:55]wFMCommunicate OK [10:12:55]requested_item fd.num is exist - process it [10:12:55]SAM_PROTO_GetFieldsCounters [10:12:55]wFMCommunicate request_size=4 [10:12:55]MH_SAM_APDU [10:12:55]CAPDU: 80 13 00 00 [10:12:55]Write to MH i2c: E2 08 00 04 01 80 13 00 00 00 00 00 00 81 [10:12:55]Write i2c OK [10:12:55]MH_I2C_Read... [10:12:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:12:55]Read from MH i2c: E2 [10:12:55]MH_I2C_Read... [10:12:55]Read from MH i2c: E2 62 00 [10:12:55]MH_I2C_Read... [10:12:55]Read from MH i2c: E2 62 00 04 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F7 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 CC [10:12:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F7 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:12:55]wFMCommunicate OK [10:12:55]SAM_PROTO_GetFieldsCounters done [10:12:55]requested_item shift.num is exist - process it [10:12:55]requested_item shift.opened is exist - process it [10:12:55]req_shift_opened [10:12:55]FM_GetShiftState [10:12:55]SAM_PROTO_GetShiftState [10:12:55]wFMCommunicate request_size=4 [10:12:55]MH_SAM_APDU [10:12:55]CAPDU: 80 13 01 00 [10:12:55]Write to MH i2c: E2 08 00 05 01 80 13 01 00 00 00 00 00 83 [10:12:55]Write i2c OK [10:12:55]MH_I2C_Read... [10:12:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:12:55]Read from MH i2c: E2 [10:12:55]MH_I2C_Read... [10:12:55]Read from MH i2c: E2 0E 00 [10:12:55]MH_I2C_Read... [10:12:55]Read from MH i2c: E2 0E 00 05 01 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 70 [10:12:55]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [10:12:55]wFMCommunicate OK [10:12:55]SAM_PROTO_GetShiftState done [10:12:55]FM_GetShiftState done [10:12:55]req_shift_opened done [10:12:55]requested_item shift.open_date is exist - process it [10:12:55]req_shift_open_date [10:12:55]req_shift_open_date done [10:12:55]produce_requested_data done [10:12:55]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18935,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [10:12:55]process_action_free close_receipt [10:12:55]json_value_free [10:12:55]json_value_free done [10:12:55]process_json_proto returns [10:12:55]Send response to host [10:12:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18935,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [10:12:55]free response buf [10:12:55]execute_script done [10:12:55]execute_script returns [10:12:55]free content buf [10:12:55]Sock 8.Close socket [10:12:55]Sock 8.Thread stoped [10:12:59]OFD Sender: No OFD packet to send [10:13:04]OFD Sender: No OFD packet to send [10:13:09]OFD Sender: No OFD packet to send [10:13:14]OFD Sender: No OFD packet to send [10:13:19]OFD Sender: No OFD packet to send [10:13:24]OFD Sender: No OFD packet to send [10:13:29]OFD Sender: No OFD packet to send [10:13:34]OFD Sender: No OFD packet to send [10:13:39]OFD Sender: No OFD packet to send [10:13:44]OFD Sender: No OFD packet to send [10:13:49]OFD Sender: No OFD packet to send [10:13:54]OFD Sender: No OFD packet to send [10:13:59]OFD Sender: No OFD packet to send [10:14:04]OFD Sender: No OFD packet to send [10:14:09]OFD Sender: No OFD packet to send [10:14:14]OFD Sender: No OFD packet to send [10:14:19]OFD Sender: No OFD packet to send [10:14:24]OFD Sender: No OFD packet to send [10:14:29]OFD Sender: No OFD packet to send [10:14:34]OFD Sender: No OFD packet to send [10:14:39]OFD Sender: No OFD packet to send [10:14:44]OFD Sender: No OFD packet to send [10:14:49]OFD Sender: No OFD packet to send [10:14:54]OFD Sender: No OFD packet to send [10:14:59]OFD Sender: No OFD packet to send [10:15:04]OFD Sender: No OFD packet to send [10:15:09]OFD Sender: No OFD packet to send [10:15:14]OFD Sender: No OFD packet to send [10:15:19]OFD Sender: No OFD packet to send [10:15:24]OFD Sender: No OFD packet to send [10:15:29]OFD Sender: No OFD packet to send [10:15:34]OFD Sender: No OFD packet to send [10:15:39]OFD Sender: No OFD packet to send [10:15:44]OFD Sender: No OFD packet to send [10:15:46]accept exits with 9 [10:15:46]New connection [10:15:46]New thread 3066621284 created [10:15:46]Thread 3066764644 joined [10:15:46]Waiting for new connection... [10:15:46] Sock 9.Parse request [10:15:46]Sock 9.Check first char [10:15:46]Sock 9.First char is OK [10:15:46]request: POST /json_proto HTTP/1.0 [10:15:46]Method: POST [10:15:46]URL: /json_proto [10:15:46]Method is POST - this is cgi request [10:15:46]url: /json_proto [10:15:46]query_string will be loaded in cgi processing [10:15:46]execute_cgi json_proto POST (null) [10:15:46]execute_cgi path=json_proto method=POST [10:15:46]POST find Content-Length [10:15:46]Host: 172.17.62.196:8080 [10:15:46]Content-Length: 956 [10:15:46]Content-Type: application/json [10:15:46] [10:15:46]POST finish read [10:15:46]Found Content-Length = 956 [10:15:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16856", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47803152", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 264.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:15:46]execute_script... [10:15:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16856", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47803152", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 264.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:15:46]POST & json_proto [10:15:46]process_json_proto [10:15:46]json parsed OK: [10:15:46]protocol is kg_v1.0 [10:15:46]action value=close_receipt [10:15:46]process_action close_receipt [10:15:46]cmd_close_receipt [10:15:46]MH_GetDate [10:15:46]Write to MH i2c: F0 00 00 06 01 F6 [10:15:46]Write i2c OK [10:15:46]MH_I2C_Read... [10:15:46]Read from MH i2c: F0 [10:15:46]MH_I2C_Read... [10:15:46]Read from MH i2c: F0 09 00 [10:15:46]MH_I2C_Read... [10:15:46]Read from MH i2c: F0 09 00 06 01 00 D3 E2 F3 66 CE CC 0E 66 1B [10:15:46]GetLastDocTimeStamp 1727259172 [10:15:46]current date 1727259347 [10:15:46]FM_GetShiftState [10:15:46]SAM_PROTO_GetShiftState [10:15:46]wFMCommunicate request_size=4 [10:15:46]MH_SAM_APDU [10:15:46]CAPDU: 80 13 01 00 [10:15:46]Write to MH i2c: E2 08 00 07 01 80 13 01 00 00 00 00 00 85 [10:15:46]Write i2c OK [10:15:46]MH_I2C_Read... [10:15:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:15:46]Read from MH i2c: E2 [10:15:46]MH_I2C_Read... [10:15:46]Read from MH i2c: E2 0E 00 [10:15:46]MH_I2C_Read... [10:15:46]Read from MH i2c: E2 0E 00 07 01 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 72 [10:15:46]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [10:15:46]wFMCommunicate OK [10:15:46]SAM_PROTO_GetShiftState done [10:15:46]FM_GetShiftState done [10:15:46]opened in 1727223091 [10:15:46]opened+sec_in_day 1727309491 [10:15:46]quantity*price = 10500 [10:15:46]sum+1 = 10501 [10:15:46]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 47803152 Сигареты Mevius Revo 1.000 * 159.00 = 159.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 264.00 НСП 1% : 2.34 НДС 12% : 28.03 Наличными: 264.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 14 25.09.2024 10:15 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18936 ФПД: 84836138907630 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T101547&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18936&fm=84836138907630&tin=02508201610067®Number=0000000000152968&sum=26400 0 [10:15:47]StoreToDocumentArchive [10:15:47]shift 183 fd 18936 [10:15:47]save to /storage/0183/doc_00018936 [10:15:47]save last doc name /storage/0183/doc_00018936 to /storage/kkm_last_doc_name [10:15:47]save OK [10:15:47]Clear old archive folders... [10:15:47]ProcessDocumentItem done err = 0, tmpTLVsize=403 [10:15:47]tlvbuf is 01608C10 [10:15:47]SAM_PROTO_ClearQueue [10:15:47]wFMCommunicate request_size=4 [10:15:47]MH_SAM_APDU [10:15:47]CAPDU: 80 09 00 00 [10:15:47]Write to MH i2c: E2 08 00 14 01 80 09 00 00 00 00 00 00 87 [10:15:47]Write i2c OK [10:15:47]MH_I2C_Read... [10:15:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:15:47]Read from MH i2c: E2 [10:15:47]MH_I2C_Read... [10:15:47]Read from MH i2c: E2 03 00 [10:15:47]MH_I2C_Read... [10:15:47]Read from MH i2c: E2 03 00 14 01 00 90 00 89 [10:15:47]RAPDU: 90 00 [10:15:47]wFMCommunicate OK [10:15:47]SAM_PROTO_ClearQueue done [10:15:47]KKMCreateOFDPacket [10:15:47]OFDProtocolAddRootSTLVToBuf [10:15:47]FM_MakeSignedData [10:15:47]FM_MakeSignedData [10:15:47]SAM_PROTO_SignData [10:15:47]wFMCommunicate request_size=4 [10:15:47]MH_SAM_APDU [10:15:47]CAPDU: 80 0D 01 02 [10:15:47]Write to MH i2c: E2 08 00 15 01 80 0D 01 02 00 00 00 00 8F [10:15:47]Write i2c OK [10:15:47]MH_I2C_Read... [10:15:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:15:48]Read from MH i2c: E2 [10:15:48]MH_I2C_Read... [10:15:48]Read from MH i2c: E2 03 00 [10:15:48]MH_I2C_Read... [10:15:48]Read from MH i2c: E2 03 00 15 01 00 90 00 8A [10:15:48]RAPDU: 90 00 [10:15:48]wFMCommunicate OK [10:15:48]wFMCommunicate request_size=255 [10:15:48]MH_SAM_APDU [10:15:48]CAPDU: 80 0D 02 02 FA 03 00 93 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 67 00 00 [10:15:48]Write to MH i2c: E2 02 01 16 01 80 0D 02 02 FA 00 03 00 93 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 67 00 00 00 00 6E [10:15:48]Write i2c OK [10:15:48]MH_I2C_Read... [10:15:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:15:48]Read from MH i2c: E2 [10:15:48]MH_I2C_Read... [10:15:48]Read from MH i2c: E2 03 00 [10:15:48]MH_I2C_Read... [10:15:48]Read from MH i2c: E2 03 00 16 01 00 90 00 8B [10:15:48]RAPDU: 90 00 [10:15:48]wFMCommunicate OK [10:15:48]wFMCommunicate request_size=162 [10:15:48]MH_SAM_APDU [10:15:48]CAPDU: 80 0D 02 02 9D 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 0A 00 00 00 00 07 04 06 00 20 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 D3 E2 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F8 49 00 00 35 04 06 00 4D 28 73 EC 77 EE [10:15:48]Write to MH i2c: E2 A5 00 17 01 80 0D 02 02 9D 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 0A 00 00 00 00 07 04 06 00 20 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 D3 E2 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F8 49 00 00 35 04 06 00 4D 28 73 EC 77 EE 00 00 D0 [10:15:48]Write i2c OK [10:15:48]MH_I2C_Read... [10:15:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:15:48]Read from MH i2c: E2 [10:15:48]MH_I2C_Read... [10:15:48]Read from MH i2c: E2 03 00 [10:15:48]MH_I2C_Read... [10:15:48]Read from MH i2c: E2 03 00 17 01 00 90 00 8C [10:15:48]RAPDU: 90 00 [10:15:48]wFMCommunicate OK [10:15:48]wFMCommunicate request_size=4 [10:15:48]MH_SAM_APDU [10:15:48]CAPDU: 80 0D 03 02 [10:15:48]Write to MH i2c: E2 08 00 18 01 80 0D 03 02 00 00 00 00 94 [10:15:48]Write i2c OK [10:15:48]MH_I2C_Read... [10:15:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:15:48]Read from MH i2c: E2 [10:15:48]MH_I2C_Read... [10:15:48]Read from MH i2c: E2 0B 00 [10:15:48]MH_I2C_Read... [10:15:48]Read from MH i2c: E2 0B 00 18 01 00 D2 7C 31 DC 84 B2 81 C0 90 00 67 [10:15:48]RAPDU: D2 7C 31 DC 84 B2 81 C0 90 00 [10:15:48]wFMCommunicate OK [10:15:48]SAM_PROTO_SignData done [10:15:48]FM_MakeSignedData done [10:15:48]CreateOFDProtocolMessage [10:15:48]wFMCommunicate request_size=4 [10:15:48]MH_SAM_APDU [10:15:48]CAPDU: 80 11 00 00 [10:15:48]Write to MH i2c: E2 08 00 19 01 80 11 00 00 00 00 00 00 94 [10:15:48]Write i2c OK [10:15:48]MH_I2C_Read... [10:15:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:15:48]Read from MH i2c: E2 [10:15:48]MH_I2C_Read... [10:15:48]Read from MH i2c: E2 17 00 [10:15:48]MH_I2C_Read... [10:15:48]Read from MH i2c: E2 17 00 19 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 ED [10:15:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:15:48]wFMCommunicate OK [10:15:48]CreateOFDProtocolMessage done [10:15:48]OFDSenderStorePacket 18936 [10:15:48]StoreOFDPacket docnum=18936 [10:15:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 A7 01 00 00 E2 E7 9F 01 84 2D 5A 03 01 00 03 00 93 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 0A 00 00 00 00 07 04 06 00 20 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 D3 E2 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F8 49 00 00 35 04 06 00 4D 28 73 EC 77 EE D2 7C 31 DC 84 B2 81 C0 [10:15:48]CheckFolder [10:15:48]dirname=/storage/ofd_packets [10:15:48]CheckFolder done [10:15:48]ProducePacketName [10:15:48]name=ofd_packets/00018936 [10:15:48]NVStorageSaveData ofd_packets/00018936 [10:15:48]File name is /storage/ofd_packets/00018936 [10:15:48]Write 453 bytes [10:15:48]NVStorageSaveData done [10:15:48]OFDSenderStorePacket done [10:15:48]KKMCreateOFDPacket done [10:15:48]NVStorageSaveData kkm_last_timestamp [10:15:48]File name is /storage/kkm_last_timestamp [10:15:48]Write 4 bytes [10:15:48]NVStorageSaveData done [10:15:48]ExternCall_PrintAddStr [10:15:48]wPrintStart [10:15:48]Write to MH i2c: 01 00 00 1A 01 1B [10:15:48]Write i2c OK [10:15:48]MH_I2C_Read... [10:15:48]Read from MH i2c: 01 [10:15:48]MH_I2C_Read... [10:15:48]Read from MH i2c: 01 07 00 [10:15:48]MH_I2C_Read... [10:15:48]OFD Sender: Processing packet 18936 [packets to send 7, broken 6] [10:15:48]ProducePacketName [10:15:48]name=ofd_packets/00018936 [10:15:48]OFD Sender: To server: pG, [10:15:48]CommunicateWithHost lk.salyk.kg:30040 [10:15:48]ConnectInit lk.salyk.kg [10:15:48]Read from MH i2c: 01 07 00 1A 01 00 00 00 00 00 FF 0F 30 [10:15:48]RasterBufferAndPrint [10:15:48]line Счет N : (3)16856 [10:15:48]line ИНН: 02508201610067 [10:15:48]line Контрольно-Кассовый Чек [10:15:48]line ПРОДАЖА [10:15:48]line Товар: 5449000027474 [10:15:48]line Напиток FuzeTea зел чай манго,ромашка 1л [10:15:48]line 1.000 * 105.00 [10:15:48]line = 105.00 [10:15:48]line НДС 12% НСП 1% [10:15:48]line > о реализуемом товаре [10:15:48]line Товар: 47803152 [10:15:48]line Сигареты Mevius Revo [10:15:48]line 1.000 * 159.00 [10:15:48]line = 159.00 [10:15:48]line НДС 12% НСП 1% [10:15:48]line > о реализуемом товаре [10:15:48]line ИТОГО: 264.00 [10:15:48]line НСП 1% : 2.34 [10:15:48]line НДС 12% : 28.03 [10:15:48]line Наличными: 264.00 [10:15:48]line Безнал.: 0.00 [10:15:48]line Место: АЗС № 176 "Партнер Нефть" [10:15:48]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [10:15:48]line СНО: Общий режим [10:15:48]line Чек 14 25.09.2024 10:15 [10:15:48]line Смена: 183 ФФД: 1.0 [10:15:48]line ЗНМ: 0300000010 [10:15:48]line РНМ: 0000000000152968 [10:15:48]line Версия ККМ: v1.0 [10:15:48]line ФМ: 0000000000959456 [10:15:48]line ФД: 18936 [10:15:48]line ФПД: 84836138907630 [10:15:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T101547&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18936&fm=84836138907630&tin=02508201610067®Number=0000000000152968&sum=26400 [10:15:48]line 0 [10:15:48]written 0, free lines is 4095 [10:15:48]Connected sock=10 [10:15:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 A7 01 00 00 E2 E7 9F 01 84 2D 5A 03 01 00 03 00 93 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 0A 00 00 00 00 07 04 06 00 20 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 D3 E2 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F8 49 00 00 35 04 06 00 4D 28 73 EC 77 EE D2 7C 31 DC 84 B2 81 C0 [10:15:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 24 D5 47 00 9E 48 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F8 49 00 00 F4 03 04 00 30 8C F3 66 B6 04 01 00 00 65 0E 47 59 2A 11 E2 01 [10:15:49]CommunicateWithHost err = 0 [10:15:49]CheckOFDResponse [10:15:49]1017 (14) - 77093643461234 [10:15:49]1041 (16) - 0000000000959456 [10:15:49]1040 (4) - 18936 [10:15:49]1012 (4) - 25.09.2024 04:06 [10:15:49]1206 (1) - 0 [10:15:49]OFD Sender: Remove packet 18936 [10:15:49]ProducePacketName [10:15:49]name=ofd_packets/00018936 [10:15:49]NVStorageDeleteData [10:15:49]Write to MH i2c: 01 00 00 49 01 4A [10:15:49]Write i2c OK [10:15:49]MH_I2C_Read... [10:15:49]Read from MH i2c: 01 [10:15:49]MH_I2C_Read... [10:15:49]Read from MH i2c: 01 07 00 [10:15:49]MH_I2C_Read... [10:15:49]Read from MH i2c: 01 07 00 49 01 00 00 00 00 00 BA 0C 17 [10:15:49]RasterBufferAndPrint [10:15:49]line [10:15:49]line [10:15:49]line [10:15:49]line [10:15:49]line [10:15:49]written 0, free lines is 3265 [10:15:49]MH_Cut [10:15:49]Write to MH i2c: D1 01 00 50 01 01 23 [10:15:49]Write i2c OK [10:15:49]MH_I2C_Read... [10:15:49]Read from MH i2c: D1 [10:15:49]MH_I2C_Read... [10:15:49]Read from MH i2c: D1 01 00 [10:15:49]MH_I2C_Read... [10:15:49]Read from MH i2c: D1 01 00 50 01 00 22 [10:15:49]Write to MH i2c: 01 00 00 51 01 52 [10:15:49]Write i2c OK [10:15:49]MH_I2C_Read... [10:15:49]OFD Sender: No OFD packet to send [10:15:49]*** Cut start [10:15:49]*** Partial cut [10:15:49]*** CUTSNS_PIN = 1 [10:15:49]*** CUTSNS_PIN = 0 [10:15:50]*** Brake cut motor [10:15:50]Read from MH i2c: 01 [10:15:50]MH_I2C_Read... [10:15:50]*** Stop cut motor [10:15:50]*** Cut end [10:15:50]Read from MH i2c: 01 07 00 [10:15:50]MH_I2C_Read... [10:15:50]Read from MH i2c: 01 07 00 51 01 00 00 00 00 00 FF 0F 67 [10:15:50]process_action close_receipt done [10:15:50]requested_data is exist [10:15:50]produce_requested_data [10:15:50]requested_item fm.sn is exist - process it [10:15:50]wFMCommunicate request_size=4 [10:15:50]MH_SAM_APDU [10:15:50]CAPDU: 80 11 00 00 [10:15:50]Write to MH i2c: E2 08 00 52 01 80 11 00 00 00 00 00 00 CD [10:15:50]Write i2c OK [10:15:50]MH_I2C_Read... [10:15:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:15:50]Read from MH i2c: E2 [10:15:50]MH_I2C_Read... [10:15:50]Read from MH i2c: E2 17 00 [10:15:50]MH_I2C_Read... [10:15:50]Read from MH i2c: E2 17 00 52 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 26 [10:15:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:15:50]wFMCommunicate OK [10:15:50]requested_item fd.num is exist - process it [10:15:50]SAM_PROTO_GetFieldsCounters [10:15:50]wFMCommunicate request_size=4 [10:15:50]MH_SAM_APDU [10:15:50]CAPDU: 80 13 00 00 [10:15:50]Write to MH i2c: E2 08 00 53 01 80 13 00 00 00 00 00 00 D0 [10:15:50]Write i2c OK [10:15:50]MH_I2C_Read... [10:15:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:15:50]Read from MH i2c: E2 [10:15:50]MH_I2C_Read... [10:15:50]Read from MH i2c: E2 62 00 [10:15:50]MH_I2C_Read... [10:15:50]Read from MH i2c: E2 62 00 53 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F8 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 1F [10:15:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F8 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:15:50]wFMCommunicate OK [10:15:50]SAM_PROTO_GetFieldsCounters done [10:15:50]requested_item shift.num is exist - process it [10:15:50]requested_item shift.opened is exist - process it [10:15:50]req_shift_opened [10:15:50]FM_GetShiftState [10:15:50]SAM_PROTO_GetShiftState [10:15:50]wFMCommunicate request_size=4 [10:15:50]MH_SAM_APDU [10:15:50]CAPDU: 80 13 01 00 [10:15:50]Write to MH i2c: E2 08 00 54 01 80 13 01 00 00 00 00 00 D2 [10:15:50]Write i2c OK [10:15:50]MH_I2C_Read... [10:15:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:15:50]Read from MH i2c: E2 [10:15:50]MH_I2C_Read... [10:15:50]Read from MH i2c: E2 0E 00 [10:15:50]MH_I2C_Read... [10:15:50]Read from MH i2c: E2 0E 00 54 01 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 BF [10:15:50]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [10:15:50]wFMCommunicate OK [10:15:50]SAM_PROTO_GetShiftState done [10:15:50]FM_GetShiftState done [10:15:50]req_shift_opened done [10:15:50]requested_item shift.open_date is exist - process it [10:15:50]req_shift_open_date [10:15:50]req_shift_open_date done [10:15:50]produce_requested_data done [10:15:50]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18936,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [10:15:50]process_action_free close_receipt [10:15:50]json_value_free [10:15:50]json_value_free done [10:15:50]process_json_proto returns [10:15:50]Send response to host [10:15:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18936,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [10:15:50]free response buf [10:15:50]execute_script done [10:15:50]execute_script returns [10:15:50]free content buf [10:15:50]Sock 9.Close socket [10:15:50]Sock 9.Thread stoped [10:15:54]OFD Sender: No OFD packet to send [10:15:59]OFD Sender: No OFD packet to send [10:16:04]OFD Sender: No OFD packet to send [10:16:09]OFD Sender: No OFD packet to send [10:16:14]OFD Sender: No OFD packet to send [10:16:19]OFD Sender: No OFD packet to send [10:16:24]OFD Sender: No OFD packet to send [10:16:29]OFD Sender: No OFD packet to send [10:16:34]OFD Sender: No OFD packet to send [10:16:39]OFD Sender: No OFD packet to send [10:16:44]OFD Sender: No OFD packet to send [10:16:49]OFD Sender: No OFD packet to send [10:16:54]OFD Sender: No OFD packet to send [10:16:59]OFD Sender: No OFD packet to send [10:17:04]OFD Sender: No OFD packet to send [10:17:09]OFD Sender: No OFD packet to send [10:17:14]OFD Sender: No OFD packet to send [10:17:19]OFD Sender: No OFD packet to send [10:17:24]OFD Sender: No OFD packet to send [10:17:29]OFD Sender: No OFD packet to send [10:17:34]OFD Sender: No OFD packet to send [10:17:39]OFD Sender: No OFD packet to send [10:17:44]OFD Sender: No OFD packet to send [10:17:49]OFD Sender: No OFD packet to send [10:17:54]OFD Sender: No OFD packet to send [10:17:59]OFD Sender: No OFD packet to send [10:18:04]OFD Sender: No OFD packet to send [10:18:09]OFD Sender: No OFD packet to send [10:18:14]OFD Sender: No OFD packet to send [10:18:19]OFD Sender: No OFD packet to send [10:18:24]OFD Sender: No OFD packet to send [10:18:29]OFD Sender: No OFD packet to send [10:18:34]OFD Sender: No OFD packet to send [10:18:39]OFD Sender: No OFD packet to send [10:18:44]OFD Sender: No OFD packet to send [10:18:49]OFD Sender: No OFD packet to send [10:18:54]OFD Sender: No OFD packet to send [10:18:59]OFD Sender: No OFD packet to send [10:19:04]OFD Sender: No OFD packet to send [10:19:09]OFD Sender: No OFD packet to send [10:19:14]OFD Sender: No OFD packet to send [10:19:19]OFD Sender: No OFD packet to send [10:19:24]OFD Sender: No OFD packet to send [10:19:29]OFD Sender: No OFD packet to send [10:19:34]OFD Sender: No OFD packet to send [10:19:39]OFD Sender: No OFD packet to send [10:19:44]OFD Sender: No OFD packet to send [10:19:49]OFD Sender: No OFD packet to send [10:19:54]OFD Sender: No OFD packet to send [10:19:59]OFD Sender: No OFD packet to send [10:20:04]OFD Sender: No OFD packet to send [10:20:09]OFD Sender: No OFD packet to send [10:20:14]OFD Sender: No OFD packet to send [10:20:19]OFD Sender: No OFD packet to send [10:20:24]OFD Sender: No OFD packet to send [10:20:29]OFD Sender: No OFD packet to send [10:20:34]OFD Sender: No OFD packet to send [10:20:39]OFD Sender: No OFD packet to send [10:20:44]OFD Sender: No OFD packet to send [10:20:49]OFD Sender: No OFD packet to send [10:20:54]OFD Sender: No OFD packet to send [10:20:59]OFD Sender: No OFD packet to send [10:21:04]OFD Sender: No OFD packet to send [10:21:09]OFD Sender: No OFD packet to send [10:21:14]OFD Sender: No OFD packet to send [10:21:19]OFD Sender: No OFD packet to send [10:21:24]OFD Sender: No OFD packet to send [10:21:29]OFD Sender: No OFD packet to send [10:21:34]OFD Sender: No OFD packet to send [10:21:39]OFD Sender: No OFD packet to send [10:21:44]OFD Sender: No OFD packet to send [10:21:49]OFD Sender: No OFD packet to send [10:21:54]OFD Sender: No OFD packet to send [10:21:59]OFD Sender: No OFD packet to send [10:22:04]OFD Sender: No OFD packet to send [10:22:09]OFD Sender: No OFD packet to send [10:22:14]OFD Sender: No OFD packet to send [10:22:19]OFD Sender: No OFD packet to send [10:22:24]OFD Sender: No OFD packet to send [10:22:29]OFD Sender: No OFD packet to send [10:22:34]OFD Sender: No OFD packet to send [10:22:39]OFD Sender: No OFD packet to send [10:22:44]OFD Sender: No OFD packet to send [10:22:49]OFD Sender: No OFD packet to send [10:22:54]OFD Sender: No OFD packet to send [10:22:59]OFD Sender: No OFD packet to send [10:23:04]OFD Sender: No OFD packet to send [10:23:09]OFD Sender: No OFD packet to send [10:23:14]OFD Sender: No OFD packet to send [10:23:19]OFD Sender: No OFD packet to send [10:23:24]OFD Sender: No OFD packet to send [10:23:30]OFD Sender: No OFD packet to send [10:23:35]OFD Sender: No OFD packet to send [10:23:40]OFD Sender: No OFD packet to send [10:23:45]OFD Sender: No OFD packet to send [10:23:50]OFD Sender: No OFD packet to send [10:23:55]OFD Sender: No OFD packet to send [10:24:00]OFD Sender: No OFD packet to send [10:24:05]OFD Sender: No OFD packet to send [10:24:10]OFD Sender: No OFD packet to send [10:24:15]OFD Sender: No OFD packet to send [10:24:20]OFD Sender: No OFD packet to send [10:24:25]OFD Sender: No OFD packet to send [10:24:30]OFD Sender: No OFD packet to send [10:24:35]OFD Sender: No OFD packet to send [10:24:40]OFD Sender: No OFD packet to send [10:24:45]OFD Sender: No OFD packet to send [10:24:50]OFD Sender: No OFD packet to send [10:24:55]OFD Sender: No OFD packet to send [10:25:00]OFD Sender: No OFD packet to send [10:25:05]OFD Sender: No OFD packet to send [10:25:10]OFD Sender: No OFD packet to send [10:25:15]OFD Sender: No OFD packet to send [10:25:20]OFD Sender: No OFD packet to send [10:25:25]OFD Sender: No OFD packet to send [10:25:30]OFD Sender: No OFD packet to send [10:25:35]OFD Sender: No OFD packet to send [10:25:40]OFD Sender: No OFD packet to send [10:25:45]OFD Sender: No OFD packet to send [10:25:50]OFD Sender: No OFD packet to send [10:25:55]OFD Sender: No OFD packet to send [10:26:00]OFD Sender: No OFD packet to send [10:26:05]OFD Sender: No OFD packet to send [10:26:10]OFD Sender: No OFD packet to send [10:26:15]OFD Sender: No OFD packet to send [10:26:20]OFD Sender: No OFD packet to send [10:26:25]OFD Sender: No OFD packet to send [10:26:30]OFD Sender: No OFD packet to send [10:26:35]OFD Sender: No OFD packet to send [10:26:40]OFD Sender: No OFD packet to send [10:26:45]OFD Sender: No OFD packet to send [10:26:50]OFD Sender: No OFD packet to send [10:26:55]OFD Sender: No OFD packet to send [10:27:00]OFD Sender: No OFD packet to send [10:27:05]OFD Sender: No OFD packet to send [10:27:10]OFD Sender: No OFD packet to send [10:27:10]accept exits with 8 [10:27:10]New connection [10:27:10]New thread 3066764644 created [10:27:10]Thread 3066621284 joined [10:27:10]Waiting for new connection... [10:27:10] Sock 8.Parse request [10:27:10]Sock 8.Check first char [10:27:10]Sock 8.First char is OK [10:27:10]request: POST /json_proto HTTP/1.0 [10:27:10]Method: POST [10:27:10]URL: /json_proto [10:27:10]Method is POST - this is cgi request [10:27:10]url: /json_proto [10:27:10]query_string will be loaded in cgi processing [10:27:10]execute_cgi json_proto POST (null) [10:27:10]execute_cgi path=json_proto method=POST [10:27:10]POST find Content-Length [10:27:10]Host: 172.17.62.196:8080 [10:27:10]Content-Length: 646 [10:27:10]Content-Type: application/json [10:27:10] [10:27:10]POST finish read [10:27:10]Found Content-Length = 646 [10:27:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16857", "tax_sys" : 0, "items" : [ { "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 265.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:27:10]execute_script... [10:27:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16857", "tax_sys" : 0, "items" : [ { "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 265.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:27:10]POST & json_proto [10:27:10]process_json_proto [10:27:10]json parsed OK: [10:27:10]protocol is kg_v1.0 [10:27:10]action value=close_receipt [10:27:10]process_action close_receipt [10:27:10]cmd_close_receipt [10:27:10]MH_GetDate [10:27:10]Write to MH i2c: F0 00 00 55 01 45 [10:27:10]Write i2c OK [10:27:10]MH_I2C_Read... [10:27:10]Read from MH i2c: F0 [10:27:10]MH_I2C_Read... [10:27:10]Read from MH i2c: F0 09 00 [10:27:10]MH_I2C_Read... [10:27:10]Read from MH i2c: F0 09 00 55 01 00 7F E5 F3 66 CE CC 0E 66 19 [10:27:10]GetLastDocTimeStamp 1727259347 [10:27:10]current date 1727260031 [10:27:10]FM_GetShiftState [10:27:10]SAM_PROTO_GetShiftState [10:27:10]wFMCommunicate request_size=4 [10:27:10]MH_SAM_APDU [10:27:10]CAPDU: 80 13 01 00 [10:27:10]Write to MH i2c: E2 08 00 56 01 80 13 01 00 00 00 00 00 D4 [10:27:10]Write i2c OK [10:27:10]MH_I2C_Read... [10:27:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:27:10]Read from MH i2c: E2 [10:27:10]MH_I2C_Read... [10:27:10]Read from MH i2c: E2 0E 00 [10:27:10]MH_I2C_Read... [10:27:10]Read from MH i2c: E2 0E 00 56 01 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 C1 [10:27:10]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [10:27:10]wFMCommunicate OK [10:27:10]SAM_PROTO_GetShiftState done [10:27:10]FM_GetShiftState done [10:27:10]opened in 1727223091 [10:27:10]opened+sec_in_day 1727309491 [10:27:10]quantity*price = 26500 [10:27:10]sum+1 = 26501 [10:27:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 265.00 НСП 1% : 2.34 НДС 12% : 28.14 Наличными: 265.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 15 25.09.2024 10:27 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18937 ФПД: 32519092876313 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T102711&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18937&fm=32519092876313&tin=02508201610067®Number=0000000000152968&sum=26500 0 [10:27:11]StoreToDocumentArchive [10:27:11]shift 183 fd 18937 [10:27:11]save to /storage/0183/doc_00018937 [10:27:11]save last doc name /storage/0183/doc_00018937 to /storage/kkm_last_doc_name [10:27:11]save OK [10:27:11]Clear old archive folders... [10:27:11]ProcessDocumentItem done err = 0, tmpTLVsize=279 [10:27:11]tlvbuf is 015FEA70 [10:27:11]SAM_PROTO_ClearQueue [10:27:11]wFMCommunicate request_size=4 [10:27:11]MH_SAM_APDU [10:27:11]CAPDU: 80 09 00 00 [10:27:11]Write to MH i2c: E2 08 00 63 01 80 09 00 00 00 00 00 00 D6 [10:27:11]Write i2c OK [10:27:11]MH_I2C_Read... [10:27:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:27:11]Read from MH i2c: E2 [10:27:11]MH_I2C_Read... [10:27:11]Read from MH i2c: E2 03 00 [10:27:11]MH_I2C_Read... [10:27:11]Read from MH i2c: E2 03 00 63 01 00 90 00 D8 [10:27:11]RAPDU: 90 00 [10:27:11]wFMCommunicate OK [10:27:11]SAM_PROTO_ClearQueue done [10:27:11]KKMCreateOFDPacket [10:27:11]OFDProtocolAddRootSTLVToBuf [10:27:11]FM_MakeSignedData [10:27:11]FM_MakeSignedData [10:27:11]SAM_PROTO_SignData [10:27:11]wFMCommunicate request_size=4 [10:27:11]MH_SAM_APDU [10:27:11]CAPDU: 80 0D 01 02 [10:27:11]Write to MH i2c: E2 08 00 64 01 80 0D 01 02 00 00 00 00 DE [10:27:11]Write i2c OK [10:27:11]MH_I2C_Read... [10:27:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:27:11]Read from MH i2c: E2 [10:27:11]MH_I2C_Read... [10:27:11]Read from MH i2c: E2 03 00 [10:27:11]MH_I2C_Read... [10:27:11]Read from MH i2c: E2 03 00 64 01 00 90 00 D9 [10:27:11]RAPDU: 90 00 [10:27:11]wFMCommunicate OK [10:27:11]wFMCommunicate request_size=255 [10:27:11]MH_SAM_APDU [10:27:11]CAPDU: 80 0D 02 02 FA 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 7F E5 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 [10:27:11]Write to MH i2c: E2 02 01 65 01 80 0D 02 02 FA 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 7F E5 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 00 00 D6 [10:27:11]Write i2c OK [10:27:11]MH_I2C_Read... [10:27:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:27:12]Read from MH i2c: E2 [10:27:12]MH_I2C_Read... [10:27:12]Read from MH i2c: E2 03 00 [10:27:12]MH_I2C_Read... [10:27:12]Read from MH i2c: E2 03 00 65 01 00 90 00 DA [10:27:12]RAPDU: 90 00 [10:27:12]wFMCommunicate OK [10:27:12]wFMCommunicate request_size=38 [10:27:12]MH_SAM_APDU [10:27:12]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F9 49 00 00 35 04 06 00 1D 93 70 FA B4 19 [10:27:12]Write to MH i2c: E2 29 00 66 01 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F9 49 00 00 35 04 06 00 1D 93 70 FA B4 19 00 00 99 [10:27:12]Write i2c OK [10:27:12]MH_I2C_Read... [10:27:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:27:12]Read from MH i2c: E2 [10:27:12]MH_I2C_Read... [10:27:12]Read from MH i2c: E2 03 00 [10:27:12]MH_I2C_Read... [10:27:12]Read from MH i2c: E2 03 00 66 01 00 90 00 DB [10:27:12]RAPDU: 90 00 [10:27:12]wFMCommunicate OK [10:27:12]wFMCommunicate request_size=4 [10:27:12]MH_SAM_APDU [10:27:12]CAPDU: 80 0D 03 02 [10:27:12]Write to MH i2c: E2 08 00 67 01 80 0D 03 02 00 00 00 00 E3 [10:27:12]Write i2c OK [10:27:12]MH_I2C_Read... [10:27:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:27:12]Read from MH i2c: E2 [10:27:12]MH_I2C_Read... [10:27:12]Read from MH i2c: E2 0B 00 [10:27:12]MH_I2C_Read... [10:27:12]Read from MH i2c: E2 0B 00 67 01 00 02 2A 2C 3F 0A 62 E2 3C 90 00 05 [10:27:12]RAPDU: 02 2A 2C 3F 0A 62 E2 3C 90 00 [10:27:12]wFMCommunicate OK [10:27:12]SAM_PROTO_SignData done [10:27:12]FM_MakeSignedData done [10:27:12]CreateOFDProtocolMessage [10:27:12]wFMCommunicate request_size=4 [10:27:12]MH_SAM_APDU [10:27:12]CAPDU: 80 11 00 00 [10:27:12]Write to MH i2c: E2 08 00 68 01 80 11 00 00 00 00 00 00 E3 [10:27:12]Write i2c OK [10:27:12]MH_I2C_Read... [10:27:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:27:12]Read from MH i2c: E2 [10:27:12]MH_I2C_Read... [10:27:12]Read from MH i2c: E2 17 00 [10:27:12]MH_I2C_Read... [10:27:12]Read from MH i2c: E2 17 00 68 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 3C [10:27:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:27:12]wFMCommunicate OK [10:27:12]CreateOFDProtocolMessage done [10:27:12]OFDSenderStorePacket 18937 [10:27:12]StoreOFDPacket docnum=18937 [10:27:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2B 01 00 00 24 45 23 01 FA 46 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 7F E5 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F9 49 00 00 35 04 06 00 1D 93 70 FA B4 19 02 2A 2C 3F 0A 62 E2 3C [10:27:12]CheckFolder [10:27:12]dirname=/storage/ofd_packets [10:27:12]CheckFolder done [10:27:12]ProducePacketName [10:27:12]name=ofd_packets/00018937 [10:27:12]NVStorageSaveData ofd_packets/00018937 [10:27:12]File name is /storage/ofd_packets/00018937 [10:27:12]Write 329 bytes [10:27:12]NVStorageSaveData done [10:27:12]OFDSenderStorePacket done [10:27:12]KKMCreateOFDPacket done [10:27:12]NVStorageSaveData kkm_last_timestamp [10:27:12]File name is /storage/kkm_last_timestamp [10:27:12]Write 4 bytes [10:27:12]NVStorageSaveData done [10:27:12]ExternCall_PrintAddStr [10:27:12]wPrintStart [10:27:12]Write to MH i2c: 01 00 00 69 01 6A [10:27:12]Write i2c OK [10:27:12]MH_I2C_Read... [10:27:12]Read from MH i2c: 01 [10:27:12]MH_I2C_Read... [10:27:12]Read from MH i2c: 01 07 00 [10:27:12]MH_I2C_Read... [10:27:12]Read from MH i2c: 01 07 00 69 01 00 00 00 00 00 FF 0F 7F [10:27:12]RasterBufferAndPrint [10:27:12]line Счет N : (3)16857 [10:27:12]line ИНН: 02508201610067 [10:27:12]line Контрольно-Кассовый Чек [10:27:12]line ПРОДАЖА [10:27:12]line Товар: 90448300 [10:27:12]line Энерг напиток Red Bull 0,355л [10:27:12]line 1.000 * 265.00 [10:27:12]line = 265.00 [10:27:12]line НДС 12% НСП 1% [10:27:12]line > о реализуемом товаре [10:27:12]line ИТОГО: 265.00 [10:27:12]line НСП 1% : 2.34 [10:27:12]line НДС 12% : 28.14 [10:27:12]line Наличными: 265.00 [10:27:12]line Безнал.: 0.00 [10:27:12]line Место: АЗС № 176 "Партнер Нефть" [10:27:12]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [10:27:12]line СНО: Общий режим [10:27:12]line Чек 15 25.09.2024 10:27 [10:27:12]line Смена: 183 ФФД: 1.0 [10:27:12]line ЗНМ: 0300000010 [10:27:12]line РНМ: 0000000000152968 [10:27:12]line Версия ККМ: v1.0 [10:27:12]line ФМ: 0000000000959456 [10:27:12]line ФД: 18937 [10:27:12]line ФПД: 32519092876313 [10:27:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T102711&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18937&fm=32519092876313&tin=02508201610067®Number=0000000000152968&sum=26500 [10:27:12]line 0 [10:27:12]OFD Sender: Processing packet 18937 [packets to send 7, broken 6] [10:27:12]ProducePacketName [10:27:12]name=ofd_packets/00018937 [10:27:12]OFD Sender: To server: pG, [10:27:12]CommunicateWithHost lk.salyk.kg:30040 [10:27:12]ConnectInit lk.salyk.kg [10:27:12]written 0, free lines is 4095 [10:27:12]Connected sock=10 [10:27:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2B 01 00 00 24 45 23 01 FA 46 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 7F E5 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F9 49 00 00 35 04 06 00 1D 93 70 FA B4 19 02 2A 2C 3F 0A 62 E2 3C [10:27:13]Write to MH i2c: 01 00 00 91 01 92 [10:27:13]Write i2c OK [10:27:13]MH_I2C_Read... [10:27:13]Read from MH i2c: 01 [10:27:13]MH_I2C_Read... [10:27:13]Read from MH i2c: 01 07 00 [10:27:13]MH_I2C_Read... [10:27:13]Read from MH i2c: 01 07 00 91 01 00 00 00 00 00 16 0D BC [10:27:13]RasterBufferAndPrint [10:27:13]line [10:27:13]line [10:27:13]line [10:27:13]line [10:27:13]line [10:27:13]written 0, free lines is 3357 [10:27:13]MH_Cut [10:27:13]Write to MH i2c: D1 01 00 98 01 01 6B [10:27:13]Write i2c OK [10:27:13]MH_I2C_Read... [10:27:13]Read from MH i2c: D1 [10:27:13]MH_I2C_Read... [10:27:13]Read from MH i2c: D1 01 00 [10:27:13]MH_I2C_Read... [10:27:13]Read from MH i2c: D1 01 00 98 01 00 6A [10:27:13]Write to MH i2c: 01 00 00 99 01 9A [10:27:13]Write i2c OK [10:27:13]MH_I2C_Read... [10:27:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 CF 5D 47 00 82 53 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 F9 49 00 00 F4 03 04 00 DC 8E F3 66 B6 04 01 00 00 1A 2C DF CE F1 08 D2 A4 [10:27:13]CommunicateWithHost err = 0 [10:27:13]CheckOFDResponse [10:27:13]1017 (14) - 77093643461234 [10:27:13]1041 (16) - 0000000000959456 [10:27:13]1040 (4) - 18937 [10:27:13]1012 (4) - 25.09.2024 04:17 [10:27:13]1206 (1) - 0 [10:27:13]OFD Sender: Remove packet 18937 [10:27:13]ProducePacketName [10:27:13]name=ofd_packets/00018937 [10:27:13]NVStorageDeleteData [10:27:13]OFD Sender: No OFD packet to send [10:27:13]*** Cut start [10:27:13]*** Partial cut [10:27:13]*** CUTSNS_PIN = 1 [10:27:13]*** CUTSNS_PIN = 0 [10:27:13]*** Brake cut motor [10:27:14]Read from MH i2c: 01 [10:27:14]MH_I2C_Read... [10:27:14]*** Stop cut motor [10:27:14]*** Cut end [10:27:14]Read from MH i2c: 01 07 00 [10:27:14]MH_I2C_Read... [10:27:14]Read from MH i2c: 01 07 00 99 01 00 00 00 00 00 FF 0F AF [10:27:14]process_action close_receipt done [10:27:14]requested_data is exist [10:27:14]produce_requested_data [10:27:14]requested_item fm.sn is exist - process it [10:27:14]wFMCommunicate request_size=4 [10:27:14]MH_SAM_APDU [10:27:14]CAPDU: 80 11 00 00 [10:27:14]Write to MH i2c: E2 08 00 9A 01 80 11 00 00 00 00 00 00 15 [10:27:14]Write i2c OK [10:27:14]MH_I2C_Read... [10:27:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:27:14]Read from MH i2c: E2 [10:27:14]MH_I2C_Read... [10:27:14]Read from MH i2c: E2 17 00 [10:27:14]MH_I2C_Read... [10:27:14]Read from MH i2c: E2 17 00 9A 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 6E [10:27:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:27:14]wFMCommunicate OK [10:27:14]requested_item fd.num is exist - process it [10:27:14]SAM_PROTO_GetFieldsCounters [10:27:14]wFMCommunicate request_size=4 [10:27:14]MH_SAM_APDU [10:27:14]CAPDU: 80 13 00 00 [10:27:14]Write to MH i2c: E2 08 00 9B 01 80 13 00 00 00 00 00 00 18 [10:27:14]Write i2c OK [10:27:14]MH_I2C_Read... [10:27:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:27:14]Read from MH i2c: E2 [10:27:14]MH_I2C_Read... [10:27:14]Read from MH i2c: E2 62 00 [10:27:14]MH_I2C_Read... [10:27:14]Read from MH i2c: E2 62 00 9B 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F9 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 6B [10:27:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 F9 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:27:14]wFMCommunicate OK [10:27:14]SAM_PROTO_GetFieldsCounters done [10:27:14]requested_item shift.num is exist - process it [10:27:14]requested_item shift.opened is exist - process it [10:27:14]req_shift_opened [10:27:14]FM_GetShiftState [10:27:14]SAM_PROTO_GetShiftState [10:27:14]wFMCommunicate request_size=4 [10:27:14]MH_SAM_APDU [10:27:14]CAPDU: 80 13 01 00 [10:27:14]Write to MH i2c: E2 08 00 9C 01 80 13 01 00 00 00 00 00 1A [10:27:14]Write i2c OK [10:27:14]MH_I2C_Read... [10:27:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:27:14]Read from MH i2c: E2 [10:27:14]MH_I2C_Read... [10:27:14]Read from MH i2c: E2 0E 00 [10:27:14]MH_I2C_Read... [10:27:14]Read from MH i2c: E2 0E 00 9C 01 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 07 [10:27:14]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [10:27:14]wFMCommunicate OK [10:27:14]SAM_PROTO_GetShiftState done [10:27:14]FM_GetShiftState done [10:27:14]req_shift_opened done [10:27:14]requested_item shift.open_date is exist - process it [10:27:14]req_shift_open_date [10:27:14]req_shift_open_date done [10:27:14]produce_requested_data done [10:27:14]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18937,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [10:27:14]process_action_free close_receipt [10:27:14]json_value_free [10:27:14]json_value_free done [10:27:14]process_json_proto returns [10:27:14]Send response to host [10:27:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18937,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [10:27:14]free response buf [10:27:14]execute_script done [10:27:14]execute_script returns [10:27:14]free content buf [10:27:14]Sock 8.Close socket [10:27:14]Sock 8.Thread stoped [10:27:18]OFD Sender: No OFD packet to send [10:27:23]OFD Sender: No OFD packet to send [10:27:28]OFD Sender: No OFD packet to send [10:27:33]OFD Sender: No OFD packet to send [10:27:38]OFD Sender: No OFD packet to send [10:27:43]OFD Sender: No OFD packet to send [10:27:48]OFD Sender: No OFD packet to send [10:27:53]OFD Sender: No OFD packet to send [10:27:58]OFD Sender: No OFD packet to send [10:28:03]OFD Sender: No OFD packet to send [10:28:08]OFD Sender: No OFD packet to send [10:28:13]OFD Sender: No OFD packet to send [10:28:18]OFD Sender: No OFD packet to send [10:28:23]OFD Sender: No OFD packet to send [10:28:28]OFD Sender: No OFD packet to send [10:28:33]OFD Sender: No OFD packet to send [10:28:38]OFD Sender: No OFD packet to send [10:28:43]OFD Sender: No OFD packet to send [10:28:48]OFD Sender: No OFD packet to send [10:28:53]OFD Sender: No OFD packet to send [10:28:58]OFD Sender: No OFD packet to send [10:29:03]OFD Sender: No OFD packet to send [10:29:08]OFD Sender: No OFD packet to send [10:29:13]OFD Sender: No OFD packet to send [10:29:18]OFD Sender: No OFD packet to send [10:29:23]OFD Sender: No OFD packet to send [10:29:28]OFD Sender: No OFD packet to send [10:29:33]OFD Sender: No OFD packet to send [10:29:38]OFD Sender: No OFD packet to send [10:29:43]OFD Sender: No OFD packet to send [10:29:48]OFD Sender: No OFD packet to send [10:29:53]OFD Sender: No OFD packet to send [10:29:58]OFD Sender: No OFD packet to send [10:30:03]OFD Sender: No OFD packet to send [10:30:08]OFD Sender: No OFD packet to send [10:30:13]OFD Sender: No OFD packet to send [10:30:18]OFD Sender: No OFD packet to send [10:30:23]OFD Sender: No OFD packet to send [10:30:28]OFD Sender: No OFD packet to send [10:30:33]OFD Sender: No OFD packet to send [10:30:38]OFD Sender: No OFD packet to send [10:30:43]OFD Sender: No OFD packet to send [10:30:48]OFD Sender: No OFD packet to send [10:30:53]OFD Sender: No OFD packet to send [10:30:58]OFD Sender: No OFD packet to send [10:31:03]OFD Sender: No OFD packet to send [10:31:08]OFD Sender: No OFD packet to send [10:31:13]OFD Sender: No OFD packet to send [10:31:18]OFD Sender: No OFD packet to send [10:31:23]OFD Sender: No OFD packet to send [10:31:28]OFD Sender: No OFD packet to send [10:31:33]OFD Sender: No OFD packet to send [10:31:38]OFD Sender: No OFD packet to send [10:31:43]OFD Sender: No OFD packet to send [10:31:48]OFD Sender: No OFD packet to send [10:31:53]OFD Sender: No OFD packet to send [10:31:58]OFD Sender: No OFD packet to send [10:32:03]OFD Sender: No OFD packet to send [10:32:08]OFD Sender: No OFD packet to send [10:32:13]OFD Sender: No OFD packet to send [10:32:18]OFD Sender: No OFD packet to send [10:32:23]OFD Sender: No OFD packet to send [10:32:28]OFD Sender: No OFD packet to send [10:32:33]OFD Sender: No OFD packet to send [10:32:38]OFD Sender: No OFD packet to send [10:32:43]OFD Sender: No OFD packet to send [10:32:48]OFD Sender: No OFD packet to send [10:32:53]OFD Sender: No OFD packet to send [10:32:58]OFD Sender: No OFD packet to send [10:33:03]OFD Sender: No OFD packet to send [10:33:08]OFD Sender: No OFD packet to send [10:33:13]OFD Sender: No OFD packet to send [10:33:18]OFD Sender: No OFD packet to send [10:33:23]OFD Sender: No OFD packet to send [10:33:28]OFD Sender: No OFD packet to send [10:33:33]OFD Sender: No OFD packet to send [10:33:38]OFD Sender: No OFD packet to send [10:33:43]OFD Sender: No OFD packet to send [10:33:48]OFD Sender: No OFD packet to send [10:33:53]OFD Sender: No OFD packet to send [10:33:58]OFD Sender: No OFD packet to send [10:34:03]OFD Sender: No OFD packet to send [10:34:08]OFD Sender: No OFD packet to send [10:34:13]OFD Sender: No OFD packet to send [10:34:18]OFD Sender: No OFD packet to send [10:34:23]OFD Sender: No OFD packet to send [10:34:28]OFD Sender: No OFD packet to send [10:34:33]OFD Sender: No OFD packet to send [10:34:38]OFD Sender: No OFD packet to send [10:34:43]OFD Sender: No OFD packet to send [10:34:48]OFD Sender: No OFD packet to send [10:34:53]OFD Sender: No OFD packet to send [10:34:58]OFD Sender: No OFD packet to send [10:35:03]OFD Sender: No OFD packet to send [10:35:08]OFD Sender: No OFD packet to send [10:35:13]OFD Sender: No OFD packet to send [10:35:18]OFD Sender: No OFD packet to send [10:35:23]OFD Sender: No OFD packet to send [10:35:28]OFD Sender: No OFD packet to send [10:35:33]OFD Sender: No OFD packet to send [10:35:38]OFD Sender: No OFD packet to send [10:35:43]OFD Sender: No OFD packet to send [10:35:48]OFD Sender: No OFD packet to send [10:35:53]OFD Sender: No OFD packet to send [10:35:59]OFD Sender: No OFD packet to send [10:36:04]OFD Sender: No OFD packet to send [10:36:09]OFD Sender: No OFD packet to send [10:36:14]OFD Sender: No OFD packet to send [10:36:19]OFD Sender: No OFD packet to send [10:36:24]OFD Sender: No OFD packet to send [10:36:29]OFD Sender: No OFD packet to send [10:36:34]OFD Sender: No OFD packet to send [10:36:39]OFD Sender: No OFD packet to send [10:36:44]OFD Sender: No OFD packet to send [10:36:49]OFD Sender: No OFD packet to send [10:36:54]OFD Sender: No OFD packet to send [10:36:59]OFD Sender: No OFD packet to send [10:37:04]OFD Sender: No OFD packet to send [10:37:09]OFD Sender: No OFD packet to send [10:37:14]OFD Sender: No OFD packet to send [10:37:19]OFD Sender: No OFD packet to send [10:37:24]OFD Sender: No OFD packet to send [10:37:29]OFD Sender: No OFD packet to send [10:37:34]OFD Sender: No OFD packet to send [10:37:39]OFD Sender: No OFD packet to send [10:37:44]OFD Sender: No OFD packet to send [10:37:49]OFD Sender: No OFD packet to send [10:37:54]OFD Sender: No OFD packet to send [10:37:59]OFD Sender: No OFD packet to send [10:38:04]OFD Sender: No OFD packet to send [10:38:09]OFD Sender: No OFD packet to send [10:38:14]OFD Sender: No OFD packet to send [10:38:19]OFD Sender: No OFD packet to send [10:38:24]OFD Sender: No OFD packet to send [10:38:29]OFD Sender: No OFD packet to send [10:38:34]OFD Sender: No OFD packet to send [10:38:39]OFD Sender: No OFD packet to send [10:38:44]OFD Sender: No OFD packet to send [10:38:49]OFD Sender: No OFD packet to send [10:38:54]OFD Sender: No OFD packet to send [10:38:59]OFD Sender: No OFD packet to send [10:39:04]OFD Sender: No OFD packet to send [10:39:09]OFD Sender: No OFD packet to send [10:39:14]OFD Sender: No OFD packet to send [10:39:19]OFD Sender: No OFD packet to send [10:39:24]OFD Sender: No OFD packet to send [10:39:29]OFD Sender: No OFD packet to send [10:39:34]OFD Sender: No OFD packet to send [10:39:39]OFD Sender: No OFD packet to send [10:39:44]OFD Sender: No OFD packet to send [10:39:49]OFD Sender: No OFD packet to send [10:39:54]OFD Sender: No OFD packet to send [10:39:59]OFD Sender: No OFD packet to send [10:40:04]OFD Sender: No OFD packet to send [10:40:09]OFD Sender: No OFD packet to send [10:40:14]OFD Sender: No OFD packet to send [10:40:19]OFD Sender: No OFD packet to send [10:40:24]OFD Sender: No OFD packet to send [10:40:29]OFD Sender: No OFD packet to send [10:40:34]OFD Sender: No OFD packet to send [10:40:39]OFD Sender: No OFD packet to send [10:40:44]OFD Sender: No OFD packet to send [10:40:49]OFD Sender: No OFD packet to send [10:40:54]OFD Sender: No OFD packet to send [10:40:59]OFD Sender: No OFD packet to send [10:41:04]OFD Sender: No OFD packet to send [10:41:09]OFD Sender: No OFD packet to send [10:41:14]OFD Sender: No OFD packet to send [10:41:19]OFD Sender: No OFD packet to send [10:41:24]OFD Sender: No OFD packet to send [10:41:29]OFD Sender: No OFD packet to send [10:41:34]OFD Sender: No OFD packet to send [10:41:39]OFD Sender: No OFD packet to send [10:41:44]OFD Sender: No OFD packet to send [10:41:49]OFD Sender: No OFD packet to send [10:41:54]OFD Sender: No OFD packet to send [10:41:59]OFD Sender: No OFD packet to send [10:42:04]OFD Sender: No OFD packet to send [10:42:09]OFD Sender: No OFD packet to send [10:42:14]OFD Sender: No OFD packet to send [10:42:19]OFD Sender: No OFD packet to send [10:42:24]OFD Sender: No OFD packet to send [10:42:29]OFD Sender: No OFD packet to send [10:42:34]OFD Sender: No OFD packet to send [10:42:39]OFD Sender: No OFD packet to send [10:42:44]OFD Sender: No OFD packet to send [10:42:49]OFD Sender: No OFD packet to send [10:42:54]OFD Sender: No OFD packet to send [10:42:59]OFD Sender: No OFD packet to send [10:43:04]OFD Sender: No OFD packet to send [10:43:09]OFD Sender: No OFD packet to send [10:43:14]OFD Sender: No OFD packet to send [10:43:19]OFD Sender: No OFD packet to send [10:43:24]OFD Sender: No OFD packet to send [10:43:29]OFD Sender: No OFD packet to send [10:43:34]OFD Sender: No OFD packet to send [10:43:39]OFD Sender: No OFD packet to send [10:43:44]OFD Sender: No OFD packet to send [10:43:49]OFD Sender: No OFD packet to send [10:43:54]OFD Sender: No OFD packet to send [10:43:59]OFD Sender: No OFD packet to send [10:44:04]OFD Sender: No OFD packet to send [10:44:09]OFD Sender: No OFD packet to send [10:44:14]OFD Sender: No OFD packet to send [10:44:19]OFD Sender: No OFD packet to send [10:44:24]OFD Sender: No OFD packet to send [10:44:29]OFD Sender: No OFD packet to send [10:44:34]OFD Sender: No OFD packet to send [10:44:39]OFD Sender: No OFD packet to send [10:44:44]OFD Sender: No OFD packet to send [10:44:49]OFD Sender: No OFD packet to send [10:44:54]OFD Sender: No OFD packet to send [10:44:59]OFD Sender: No OFD packet to send [10:45:04]OFD Sender: No OFD packet to send [10:45:09]OFD Sender: No OFD packet to send [10:45:14]OFD Sender: No OFD packet to send [10:45:19]OFD Sender: No OFD packet to send [10:45:24]OFD Sender: No OFD packet to send [10:45:29]OFD Sender: No OFD packet to send [10:45:34]OFD Sender: No OFD packet to send [10:45:39]OFD Sender: No OFD packet to send [10:45:44]OFD Sender: No OFD packet to send [10:45:49]OFD Sender: No OFD packet to send [10:45:54]OFD Sender: No OFD packet to send [10:45:59]OFD Sender: No OFD packet to send [10:46:04]OFD Sender: No OFD packet to send [10:46:09]OFD Sender: No OFD packet to send [10:46:14]OFD Sender: No OFD packet to send [10:46:19]OFD Sender: No OFD packet to send [10:46:24]OFD Sender: No OFD packet to send [10:46:29]OFD Sender: No OFD packet to send [10:46:34]OFD Sender: No OFD packet to send [10:46:39]OFD Sender: No OFD packet to send [10:46:44]OFD Sender: No OFD packet to send [10:46:49]OFD Sender: No OFD packet to send [10:46:54]OFD Sender: No OFD packet to send [10:46:59]OFD Sender: No OFD packet to send [10:47:04]OFD Sender: No OFD packet to send [10:47:09]OFD Sender: No OFD packet to send [10:47:14]OFD Sender: No OFD packet to send [10:47:19]OFD Sender: No OFD packet to send [10:47:24]OFD Sender: No OFD packet to send [10:47:29]OFD Sender: No OFD packet to send [10:47:34]OFD Sender: No OFD packet to send [10:47:39]OFD Sender: No OFD packet to send [10:47:44]OFD Sender: No OFD packet to send [10:47:49]OFD Sender: No OFD packet to send [10:47:54]OFD Sender: No OFD packet to send [10:47:59]OFD Sender: No OFD packet to send [10:48:04]OFD Sender: No OFD packet to send [10:48:09]OFD Sender: No OFD packet to send [10:48:14]OFD Sender: No OFD packet to send [10:48:19]OFD Sender: No OFD packet to send [10:48:24]OFD Sender: No OFD packet to send [10:48:29]OFD Sender: No OFD packet to send [10:48:34]OFD Sender: No OFD packet to send [10:48:39]OFD Sender: No OFD packet to send [10:48:44]OFD Sender: No OFD packet to send [10:48:49]OFD Sender: No OFD packet to send [10:48:54]OFD Sender: No OFD packet to send [10:48:59]OFD Sender: No OFD packet to send [10:49:04]OFD Sender: No OFD packet to send [10:49:09]OFD Sender: No OFD packet to send [10:49:14]OFD Sender: No OFD packet to send [10:49:19]OFD Sender: No OFD packet to send [10:49:24]OFD Sender: No OFD packet to send [10:49:29]OFD Sender: No OFD packet to send [10:49:34]OFD Sender: No OFD packet to send [10:49:39]OFD Sender: No OFD packet to send [10:49:44]OFD Sender: No OFD packet to send [10:49:49]OFD Sender: No OFD packet to send [10:49:54]OFD Sender: No OFD packet to send [10:49:59]OFD Sender: No OFD packet to send [10:50:04]OFD Sender: No OFD packet to send [10:50:09]OFD Sender: No OFD packet to send [10:50:14]OFD Sender: No OFD packet to send [10:50:19]OFD Sender: No OFD packet to send [10:50:24]OFD Sender: No OFD packet to send [10:50:29]OFD Sender: No OFD packet to send [10:50:34]OFD Sender: No OFD packet to send [10:50:39]OFD Sender: No OFD packet to send [10:50:44]OFD Sender: No OFD packet to send [10:50:49]OFD Sender: No OFD packet to send [10:50:54]OFD Sender: No OFD packet to send [10:50:59]OFD Sender: No OFD packet to send [10:51:04]OFD Sender: No OFD packet to send [10:51:09]OFD Sender: No OFD packet to send [10:51:14]OFD Sender: No OFD packet to send [10:51:19]OFD Sender: No OFD packet to send [10:51:24]OFD Sender: No OFD packet to send [10:51:29]OFD Sender: No OFD packet to send [10:51:34]OFD Sender: No OFD packet to send [10:51:39]OFD Sender: No OFD packet to send [10:51:44]OFD Sender: No OFD packet to send [10:51:45]accept exits with 9 [10:51:45]New connection [10:51:45]New thread 3066621284 created [10:51:45]Thread 3066764644 joined [10:51:45]Waiting for new connection... [10:51:45] Sock 9.Parse request [10:51:45]Sock 9.Check first char [10:51:45]Sock 9.First char is OK [10:51:45]request: POST /json_proto HTTP/1.0 [10:51:45]Method: POST [10:51:45]URL: /json_proto [10:51:45]Method is POST - this is cgi request [10:51:45]url: /json_proto [10:51:45]query_string will be loaded in cgi processing [10:51:45]execute_cgi json_proto POST (null) [10:51:45]execute_cgi path=json_proto method=POST [10:51:45]POST find Content-Length [10:51:45]Host: 172.17.62.196:8080 [10:51:45]Content-Length: 863 [10:51:45]Content-Type: application/json [10:51:45] [10:51:45]POST finish read [10:51:45]Found Content-Length = 863 [10:51:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16858", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 156.00, "quantity" : 1.000, "sum" : 156.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 271.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:51:45]execute_script... [10:51:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16858", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 156.00, "quantity" : 1.000, "sum" : 156.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 271.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:51:45]POST & json_proto [10:51:45]process_json_proto [10:51:45]json parsed OK: [10:51:45]protocol is kg_v1.0 [10:51:45]action value=close_receipt [10:51:45]process_action close_receipt [10:51:45]cmd_close_receipt [10:51:45]MH_GetDate [10:51:45]Write to MH i2c: F0 00 00 9D 01 8D [10:51:45]Write i2c OK [10:51:45]MH_I2C_Read... [10:51:45]Read from MH i2c: F0 [10:51:45]MH_I2C_Read... [10:51:45]Read from MH i2c: F0 09 00 [10:51:45]MH_I2C_Read... [10:51:45]Read from MH i2c: F0 09 00 9D 01 00 42 EB F3 66 CE CC 0E 66 2A [10:51:45]GetLastDocTimeStamp 1727260031 [10:51:45]current date 1727261506 [10:51:45]FM_GetShiftState [10:51:45]SAM_PROTO_GetShiftState [10:51:45]wFMCommunicate request_size=4 [10:51:45]MH_SAM_APDU [10:51:45]CAPDU: 80 13 01 00 [10:51:45]Write to MH i2c: E2 08 00 9E 01 80 13 01 00 00 00 00 00 1C [10:51:45]Write i2c OK [10:51:45]MH_I2C_Read... [10:51:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:51:45]Read from MH i2c: E2 [10:51:45]MH_I2C_Read... [10:51:45]Read from MH i2c: E2 0E 00 [10:51:45]MH_I2C_Read... [10:51:45]Read from MH i2c: E2 0E 00 9E 01 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 09 [10:51:45]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [10:51:45]wFMCommunicate OK [10:51:45]SAM_PROTO_GetShiftState done [10:51:45]FM_GetShiftState done [10:51:45]opened in 1727223091 [10:51:45]opened+sec_in_day 1727309491 [10:51:45]quantity*price = 11500 [10:51:45]sum+1 = 11501 [10:51:45]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48741958 Сигареты Parliament Aqua Blue 1.000 * 156.00 = 156.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 271.00 НСП 1% : 2.40 НДС 12% : 28.78 Наличными: 271.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 16 25.09.2024 10:51 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18938 ФПД: 217627459838824 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T105146&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18938&fm=217627459838824&tin=02508201610067®Number=0000000000152968&sum=27100 0 [10:51:46]StoreToDocumentArchive [10:51:46]shift 183 fd 18938 [10:51:46]save to /storage/0183/doc_00018938 [10:51:46]save last doc name /storage/0183/doc_00018938 to /storage/kkm_last_doc_name [10:51:46]save OK [10:51:46]Clear old archive folders... [10:51:46]ProcessDocumentItem done err = 0, tmpTLVsize=378 [10:51:46]tlvbuf is 01603490 [10:51:46]SAM_PROTO_ClearQueue [10:51:46]wFMCommunicate request_size=4 [10:51:46]MH_SAM_APDU [10:51:46]CAPDU: 80 09 00 00 [10:51:46]Write to MH i2c: E2 08 00 AB 01 80 09 00 00 00 00 00 00 1E [10:51:46]Write i2c OK [10:51:46]MH_I2C_Read... [10:51:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:51:46]Read from MH i2c: E2 [10:51:46]MH_I2C_Read... [10:51:46]Read from MH i2c: E2 03 00 [10:51:46]MH_I2C_Read... [10:51:46]Read from MH i2c: E2 03 00 AB 01 00 90 00 20 [10:51:46]RAPDU: 90 00 [10:51:46]wFMCommunicate OK [10:51:46]SAM_PROTO_ClearQueue done [10:51:46]KKMCreateOFDPacket [10:51:46]OFDProtocolAddRootSTLVToBuf [10:51:46]FM_MakeSignedData [10:51:46]FM_MakeSignedData [10:51:46]SAM_PROTO_SignData [10:51:46]wFMCommunicate request_size=4 [10:51:46]MH_SAM_APDU [10:51:46]CAPDU: 80 0D 01 02 [10:51:46]Write to MH i2c: E2 08 00 AC 01 80 0D 01 02 00 00 00 00 26 [10:51:46]Write i2c OK [10:51:46]MH_I2C_Read... [10:51:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:51:46]Read from MH i2c: E2 [10:51:46]MH_I2C_Read... [10:51:46]Read from MH i2c: E2 03 00 [10:51:46]MH_I2C_Read... [10:51:46]Read from MH i2c: E2 03 00 AC 01 00 90 00 21 [10:51:46]RAPDU: 90 00 [10:51:46]wFMCommunicate OK [10:51:46]wFMCommunicate request_size=255 [10:51:46]MH_SAM_APDU [10:51:46]CAPDU: 80 0D 02 02 FA 03 00 7A 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 [10:51:47]Write to MH i2c: E2 02 01 AD 01 80 0D 02 02 FA 00 03 00 7A 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 00 00 88 [10:51:47]Write i2c OK [10:51:47]MH_I2C_Read... [10:51:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:51:47]Read from MH i2c: E2 [10:51:47]MH_I2C_Read... [10:51:47]Read from MH i2c: E2 03 00 [10:51:47]MH_I2C_Read... [10:51:47]Read from MH i2c: E2 03 00 AD 01 00 90 00 22 [10:51:47]RAPDU: 90 00 [10:51:47]wFMCommunicate OK [10:51:47]wFMCommunicate request_size=137 [10:51:47]MH_SAM_APDU [10:51:47]CAPDU: 80 0D 02 02 84 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 0B 00 00 00 00 07 04 06 00 DC 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 42 EB F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FA 49 00 00 35 04 06 00 C5 EE 57 6F E3 68 [10:51:47]Write to MH i2c: E2 8C 00 AE 01 80 0D 02 02 84 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 0B 00 00 00 00 07 04 06 00 DC 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 42 EB F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FA 49 00 00 35 04 06 00 C5 EE 57 6F E3 68 00 00 4C [10:51:47]Write i2c OK [10:51:47]MH_I2C_Read... [10:51:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:51:47]Read from MH i2c: E2 [10:51:47]MH_I2C_Read... [10:51:47]Read from MH i2c: E2 03 00 [10:51:47]MH_I2C_Read... [10:51:47]Read from MH i2c: E2 03 00 AE 01 00 90 00 23 [10:51:47]RAPDU: 90 00 [10:51:47]wFMCommunicate OK [10:51:47]wFMCommunicate request_size=4 [10:51:47]MH_SAM_APDU [10:51:47]CAPDU: 80 0D 03 02 [10:51:47]Write to MH i2c: E2 08 00 AF 01 80 0D 03 02 00 00 00 00 2B [10:51:47]Write i2c OK [10:51:47]MH_I2C_Read... [10:51:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:51:47]Read from MH i2c: E2 [10:51:47]MH_I2C_Read... [10:51:47]Read from MH i2c: E2 0B 00 [10:51:47]MH_I2C_Read... [10:51:47]Read from MH i2c: E2 0B 00 AF 01 00 C6 E8 9C 5C C8 80 AF 06 90 00 CF [10:51:47]RAPDU: C6 E8 9C 5C C8 80 AF 06 90 00 [10:51:47]wFMCommunicate OK [10:51:47]SAM_PROTO_SignData done [10:51:47]FM_MakeSignedData done [10:51:47]CreateOFDProtocolMessage [10:51:47]wFMCommunicate request_size=4 [10:51:47]MH_SAM_APDU [10:51:47]CAPDU: 80 11 00 00 [10:51:47]Write to MH i2c: E2 08 00 B0 01 80 11 00 00 00 00 00 00 2B [10:51:47]Write i2c OK [10:51:47]MH_I2C_Read... [10:51:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:51:47]Read from MH i2c: E2 [10:51:47]MH_I2C_Read... [10:51:47]Read from MH i2c: E2 17 00 [10:51:47]MH_I2C_Read... [10:51:47]Read from MH i2c: E2 17 00 B0 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 84 [10:51:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:51:47]wFMCommunicate OK [10:51:47]CreateOFDProtocolMessage done [10:51:47]OFDSenderStorePacket 18938 [10:51:47]StoreOFDPacket docnum=18938 [10:51:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 8E 01 00 00 79 D8 86 01 94 74 5A 03 01 00 03 00 7A 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 0B 00 00 00 00 07 04 06 00 DC 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 42 EB F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FA 49 00 00 35 04 06 00 C5 EE 57 6F E3 68 C6 E8 9C 5C C8 80 AF 06 [10:51:47]CheckFolder [10:51:47]dirname=/storage/ofd_packets [10:51:47]CheckFolder done [10:51:47]ProducePacketName [10:51:47]name=ofd_packets/00018938 [10:51:47]NVStorageSaveData ofd_packets/00018938 [10:51:47]File name is /storage/ofd_packets/00018938 [10:51:47]Write 428 bytes [10:51:47]NVStorageSaveData done [10:51:47]OFDSenderStorePacket done [10:51:47]KKMCreateOFDPacket done [10:51:47]NVStorageSaveData kkm_last_timestamp [10:51:47]File name is /storage/kkm_last_timestamp [10:51:47]Write 4 bytes [10:51:47]NVStorageSaveData done [10:51:47]ExternCall_PrintAddStr [10:51:47]wPrintStart [10:51:47]Write to MH i2c: 01 00 00 B1 01 B2 [10:51:47]Write i2c OK [10:51:47]MH_I2C_Read... [10:51:47]Read from MH i2c: 01 [10:51:47]MH_I2C_Read... [10:51:47]Read from MH i2c: 01 07 00 [10:51:47]MH_I2C_Read... [10:51:47]Read from MH i2c: 01 07 00 B1 01 00 00 00 00 00 FF 0F C7 [10:51:47]RasterBufferAndPrint [10:51:47]line Счет N : (3)16858 [10:51:47]line ИНН: 02508201610067 [10:51:47]line Контрольно-Кассовый Чек [10:51:47]line ПРОДАЖА [10:51:47]line Товар: 2000036240010 [10:51:47]line Кофе Латте (GABB TRADE) [10:51:47]line 1.000 * 115.00 [10:51:47]line = 115.00 [10:51:47]line НДС 12% НСП 1% [10:51:47]line > о реализуемом товаре [10:51:47]line Товар: 48741958 [10:51:47]line Сигареты Parliament Aqua Blue [10:51:47]line 1.000 * 156.00 [10:51:47]line = 156.00 [10:51:47]line НДС 12% НСП 1% [10:51:47]line > о реализуемом товаре [10:51:47]line ИТОГО: 271.00 [10:51:47]line НСП 1% : 2.40 [10:51:47]line НДС 12% : 28.78 [10:51:47]line Наличными: 271.00 [10:51:47]line Безнал.: 0.00 [10:51:47]line Место: АЗС № 176 "Партнер Нефть" [10:51:47]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [10:51:47]line СНО: Общий режим [10:51:47]line Чек 16 25.09.2024 10:51 [10:51:47]line Смена: 183 ФФД: 1.0 [10:51:47]line ЗНМ: 0300000010 [10:51:47]line РНМ: 0000000000152968 [10:51:47]line Версия ККМ: v1.0 [10:51:47]line ФМ: 0000000000959456 [10:51:47]line ФД: 18938 [10:51:47]line ФПД: 217627459838824 [10:51:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T105146&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18938&fm=217627459838824&tin=02508201610067®Number=0000000000152968&sum=27100 [10:51:47]line 0 [10:51:47]OFD Sender: Processing packet 18938 [packets to send 7, broken 6] [10:51:47]ProducePacketName [10:51:47]name=ofd_packets/00018938 [10:51:47]OFD Sender: To server: pG, [10:51:47]CommunicateWithHost lk.salyk.kg:30040 [10:51:47]ConnectInit lk.salyk.kg [10:51:47]written 0, free lines is 4095 [10:51:48]Connected sock=8 [10:51:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 8E 01 00 00 79 D8 86 01 94 74 5A 03 01 00 03 00 7A 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 0B 00 00 00 00 07 04 06 00 DC 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 42 EB F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FA 49 00 00 35 04 06 00 C5 EE 57 6F E3 68 C6 E8 9C 5C C8 80 AF 06 [10:51:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 FB DE 47 00 87 C1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FA 49 00 00 F4 03 04 00 A0 94 F3 66 B6 04 01 00 00 35 EA 97 E3 01 4E EE 77 [10:51:48]CommunicateWithHost err = 0 [10:51:48]CheckOFDResponse [10:51:48]1017 (14) - 77093643461234 [10:51:48]1041 (16) - 0000000000959456 [10:51:48]1040 (4) - 18938 [10:51:48]1012 (4) - 25.09.2024 04:42 [10:51:48]1206 (1) - 0 [10:51:48]OFD Sender: Remove packet 18938 [10:51:48]ProducePacketName [10:51:48]name=ofd_packets/00018938 [10:51:48]NVStorageDeleteData [10:51:48]Write to MH i2c: 01 00 00 E0 01 E1 [10:51:48]Write i2c OK [10:51:48]MH_I2C_Read... [10:51:48]Read from MH i2c: 01 [10:51:48]MH_I2C_Read... [10:51:48]Read from MH i2c: 01 07 00 [10:51:48]MH_I2C_Read... [10:51:48]Read from MH i2c: 01 07 00 E0 01 00 00 00 00 00 D0 0C C4 [10:51:48]RasterBufferAndPrint [10:51:48]line [10:51:48]line [10:51:48]line [10:51:48]line [10:51:48]line [10:51:48]written 0, free lines is 3289 [10:51:48]MH_Cut [10:51:48]Write to MH i2c: D1 01 00 E7 01 01 BA [10:51:48]Write i2c OK [10:51:48]MH_I2C_Read... [10:51:48]Read from MH i2c: D1 [10:51:48]MH_I2C_Read... [10:51:48]Read from MH i2c: D1 01 00 [10:51:48]MH_I2C_Read... [10:51:48]Read from MH i2c: D1 01 00 E7 01 00 B9 [10:51:48]Write to MH i2c: 01 00 00 E8 01 E9 [10:51:48]Write i2c OK [10:51:48]MH_I2C_Read... [10:51:48]OFD Sender: No OFD packet to send [10:51:49]*** Cut start [10:51:49]*** Partial cut [10:51:49]*** CUTSNS_PIN = 1 [10:51:49]*** CUTSNS_PIN = 0 [10:51:49]*** Brake cut motor [10:51:49]Read from MH i2c: 01 [10:51:49]MH_I2C_Read... [10:51:49]*** Stop cut motor [10:51:49]*** Cut end [10:51:49]Read from MH i2c: 01 07 00 [10:51:49]MH_I2C_Read... [10:51:49]Read from MH i2c: 01 07 00 E8 01 00 00 00 00 00 FF 0F FE [10:51:49]process_action close_receipt done [10:51:49]requested_data is exist [10:51:49]produce_requested_data [10:51:49]requested_item fm.sn is exist - process it [10:51:49]wFMCommunicate request_size=4 [10:51:49]MH_SAM_APDU [10:51:49]CAPDU: 80 11 00 00 [10:51:49]Write to MH i2c: E2 08 00 E9 01 80 11 00 00 00 00 00 00 64 [10:51:49]Write i2c OK [10:51:49]MH_I2C_Read... [10:51:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:51:49]Read from MH i2c: E2 [10:51:49]MH_I2C_Read... [10:51:49]Read from MH i2c: E2 17 00 [10:51:49]MH_I2C_Read... [10:51:49]Read from MH i2c: E2 17 00 E9 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 BD [10:51:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:51:49]wFMCommunicate OK [10:51:49]requested_item fd.num is exist - process it [10:51:49]SAM_PROTO_GetFieldsCounters [10:51:49]wFMCommunicate request_size=4 [10:51:49]MH_SAM_APDU [10:51:49]CAPDU: 80 13 00 00 [10:51:49]Write to MH i2c: E2 08 00 EA 01 80 13 00 00 00 00 00 00 67 [10:51:49]Write i2c OK [10:51:49]MH_I2C_Read... [10:51:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:51:49]Read from MH i2c: E2 [10:51:49]MH_I2C_Read... [10:51:49]Read from MH i2c: E2 62 00 [10:51:49]MH_I2C_Read... [10:51:49]Read from MH i2c: E2 62 00 EA 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 FA 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 BE [10:51:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 FA 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:51:49]wFMCommunicate OK [10:51:49]SAM_PROTO_GetFieldsCounters done [10:51:49]requested_item shift.num is exist - process it [10:51:49]requested_item shift.opened is exist - process it [10:51:49]req_shift_opened [10:51:49]FM_GetShiftState [10:51:49]SAM_PROTO_GetShiftState [10:51:49]wFMCommunicate request_size=4 [10:51:49]MH_SAM_APDU [10:51:49]CAPDU: 80 13 01 00 [10:51:49]Write to MH i2c: E2 08 00 EB 01 80 13 01 00 00 00 00 00 69 [10:51:49]Write i2c OK [10:51:49]MH_I2C_Read... [10:51:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:51:49]Read from MH i2c: E2 [10:51:49]MH_I2C_Read... [10:51:49]Read from MH i2c: E2 0E 00 [10:51:49]MH_I2C_Read... [10:51:49]Read from MH i2c: E2 0E 00 EB 01 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 56 [10:51:49]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [10:51:49]wFMCommunicate OK [10:51:49]SAM_PROTO_GetShiftState done [10:51:49]FM_GetShiftState done [10:51:49]req_shift_opened done [10:51:49]requested_item shift.open_date is exist - process it [10:51:49]req_shift_open_date [10:51:49]req_shift_open_date done [10:51:49]produce_requested_data done [10:51:49]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18938,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [10:51:49]process_action_free close_receipt [10:51:49]json_value_free [10:51:49]json_value_free done [10:51:49]process_json_proto returns [10:51:49]Send response to host [10:51:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18938,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [10:51:49]free response buf [10:51:49]execute_script done [10:51:49]execute_script returns [10:51:49]free content buf [10:51:49]Sock 9.Close socket [10:51:49]Sock 9.Thread stoped [10:51:53]OFD Sender: No OFD packet to send [10:51:58]OFD Sender: No OFD packet to send [10:52:03]OFD Sender: No OFD packet to send [10:52:08]OFD Sender: No OFD packet to send [10:52:13]OFD Sender: No OFD packet to send [10:52:18]OFD Sender: No OFD packet to send [10:52:23]OFD Sender: No OFD packet to send [10:52:24]accept exits with 10 [10:52:24]New connection [10:52:24]New thread 3066764644 created [10:52:24]Thread 3066621284 joined [10:52:24]Waiting for new connection... [10:52:24] Sock 10.Parse request [10:52:24]Sock 10.Check first char [10:52:24]Sock 10.First char is OK [10:52:24]request: POST /json_proto HTTP/1.0 [10:52:24]Method: POST [10:52:24]URL: /json_proto [10:52:24]Method is POST - this is cgi request [10:52:24]url: /json_proto [10:52:24]query_string will be loaded in cgi processing [10:52:24]execute_cgi json_proto POST (null) [10:52:24]execute_cgi path=json_proto method=POST [10:52:24]POST find Content-Length [10:52:24]Host: 172.17.62.196:8080 [10:52:24]Content-Length: 729 [10:52:24]Content-Type: application/json [10:52:24] [10:52:24]POST finish read [10:52:24]Found Content-Length = 729 [10:52:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16859", "tax_sys" : 0, "items" : [ { "code": "4870235681383", "name": "\u0427\u0418\u041F\u0421\u042B SLANG \u0421\u041E \u0412\u041A\u0423\u0421\u041E\u041C \u0421\u041C\u0415\u0422\u0410\u041D\u0410/\u0417\u0415\u041B\u0415\u041D\u042C 60\u0413", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:52:24]execute_script... [10:52:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16859", "tax_sys" : 0, "items" : [ { "code": "4870235681383", "name": "\u0427\u0418\u041F\u0421\u042B SLANG \u0421\u041E \u0412\u041A\u0423\u0421\u041E\u041C \u0421\u041C\u0415\u0422\u0410\u041D\u0410/\u0417\u0415\u041B\u0415\u041D\u042C 60\u0413", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:52:24]POST & json_proto [10:52:24]process_json_proto [10:52:24]json parsed OK: [10:52:24]protocol is kg_v1.0 [10:52:24]action value=close_receipt [10:52:24]process_action close_receipt [10:52:24]cmd_close_receipt [10:52:24]MH_GetDate [10:52:24]Write to MH i2c: F0 00 00 EC 01 DC [10:52:24]Write i2c OK [10:52:24]MH_I2C_Read... [10:52:24]Read from MH i2c: F0 [10:52:24]MH_I2C_Read... [10:52:24]Read from MH i2c: F0 09 00 [10:52:24]MH_I2C_Read... [10:52:24]Read from MH i2c: F0 09 00 EC 01 00 69 EB F3 66 CE CC 0E 66 A0 [10:52:24]GetLastDocTimeStamp 1727261506 [10:52:24]current date 1727261545 [10:52:24]FM_GetShiftState [10:52:24]SAM_PROTO_GetShiftState [10:52:24]wFMCommunicate request_size=4 [10:52:24]MH_SAM_APDU [10:52:24]CAPDU: 80 13 01 00 [10:52:24]Write to MH i2c: E2 08 00 ED 01 80 13 01 00 00 00 00 00 6B [10:52:24]Write i2c OK [10:52:24]MH_I2C_Read... [10:52:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:52:24]Read from MH i2c: E2 [10:52:24]MH_I2C_Read... [10:52:24]Read from MH i2c: E2 0E 00 [10:52:24]MH_I2C_Read... [10:52:24]Read from MH i2c: E2 0E 00 ED 01 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 58 [10:52:24]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [10:52:24]wFMCommunicate OK [10:52:24]SAM_PROTO_GetShiftState done [10:52:24]FM_GetShiftState done [10:52:24]opened in 1727223091 [10:52:24]opened+sec_in_day 1727309491 [10:52:24]quantity*price = 9500 [10:52:24]sum+1 = 9501 [10:52:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 17 25.09.2024 10:52 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18939 ФПД: 95850920762105 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T105225&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18939&fm=95850920762105&tin=02508201610067®Number=0000000000152968&sum=9500 0 [10:52:25]StoreToDocumentArchive [10:52:25]shift 183 fd 18939 [10:52:25]save to /storage/0183/doc_00018939 [10:52:25]save last doc name /storage/0183/doc_00018939 to /storage/kkm_last_doc_name [10:52:25]save OK [10:52:25]Clear old archive folders... [10:52:25]ProcessDocumentItem done err = 0, tmpTLVsize=309 [10:52:25]tlvbuf is 015FEA70 [10:52:25]SAM_PROTO_ClearQueue [10:52:25]wFMCommunicate request_size=4 [10:52:25]MH_SAM_APDU [10:52:25]CAPDU: 80 09 00 00 [10:52:25]Write to MH i2c: E2 08 00 FA 01 80 09 00 00 00 00 00 00 6D [10:52:25]Write i2c OK [10:52:25]MH_I2C_Read... [10:52:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:52:25]Read from MH i2c: E2 [10:52:25]MH_I2C_Read... [10:52:25]Read from MH i2c: E2 03 00 [10:52:25]MH_I2C_Read... [10:52:25]Read from MH i2c: E2 03 00 FA 01 00 90 00 6F [10:52:25]RAPDU: 90 00 [10:52:25]wFMCommunicate OK [10:52:25]SAM_PROTO_ClearQueue done [10:52:25]KKMCreateOFDPacket [10:52:25]OFDProtocolAddRootSTLVToBuf [10:52:25]FM_MakeSignedData [10:52:25]FM_MakeSignedData [10:52:25]SAM_PROTO_SignData [10:52:25]wFMCommunicate request_size=4 [10:52:25]MH_SAM_APDU [10:52:25]CAPDU: 80 0D 01 02 [10:52:25]Write to MH i2c: E2 08 00 FB 01 80 0D 01 02 00 00 00 00 75 [10:52:25]Write i2c OK [10:52:25]MH_I2C_Read... [10:52:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:52:25]Read from MH i2c: E2 [10:52:25]MH_I2C_Read... [10:52:25]Read from MH i2c: E2 03 00 [10:52:25]MH_I2C_Read... [10:52:25]Read from MH i2c: E2 03 00 FB 01 00 90 00 70 [10:52:25]RAPDU: 90 00 [10:52:25]wFMCommunicate OK [10:52:25]wFMCommunicate request_size=255 [10:52:25]MH_SAM_APDU [10:52:25]CAPDU: 80 0D 02 02 FA 03 00 35 01 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 38 33 06 04 43 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 9C D0 95 D0 A2 D0 90 D0 9D D0 90 2F D0 97 D0 95 D0 9B D0 95 D0 9D D0 AC 20 36 30 D0 93 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 69 EB F3 66 0E 04 04 00 B7 00 00 00 [10:52:25]Write to MH i2c: E2 02 01 FC 01 80 0D 02 02 FA 00 03 00 35 01 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 38 33 06 04 43 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 9C D0 95 D0 A2 D0 90 D0 9D D0 90 2F D0 97 D0 95 D0 9B D0 95 D0 9D D0 AC 20 36 30 D0 93 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 69 EB F3 66 0E 04 04 00 B7 00 00 00 00 00 97 [10:52:25]Write i2c OK [10:52:25]MH_I2C_Read... [10:52:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:52:26]Read from MH i2c: E2 [10:52:26]MH_I2C_Read... [10:52:26]Read from MH i2c: E2 03 00 [10:52:26]MH_I2C_Read... [10:52:26]Read from MH i2c: E2 03 00 FC 01 00 90 00 71 [10:52:26]RAPDU: 90 00 [10:52:26]wFMCommunicate OK [10:52:26]wFMCommunicate request_size=68 [10:52:26]MH_SAM_APDU [10:52:26]CAPDU: 80 0D 02 02 3F B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FB 49 00 00 35 04 06 00 57 2D 08 15 5A F9 [10:52:26]Write to MH i2c: E2 47 00 FD 01 80 0D 02 02 3F 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FB 49 00 00 35 04 06 00 57 2D 08 15 5A F9 00 00 CF [10:52:26]Write i2c OK [10:52:26]MH_I2C_Read... [10:52:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:52:26]Read from MH i2c: E2 [10:52:26]MH_I2C_Read... [10:52:26]Read from MH i2c: E2 03 00 [10:52:26]MH_I2C_Read... [10:52:26]Read from MH i2c: E2 03 00 FD 01 00 90 00 72 [10:52:26]RAPDU: 90 00 [10:52:26]wFMCommunicate OK [10:52:26]wFMCommunicate request_size=4 [10:52:26]MH_SAM_APDU [10:52:26]CAPDU: 80 0D 03 02 [10:52:26]Write to MH i2c: E2 08 00 FE 01 80 0D 03 02 00 00 00 00 7A [10:52:26]Write i2c OK [10:52:26]MH_I2C_Read... [10:52:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:52:26]Read from MH i2c: E2 [10:52:26]MH_I2C_Read... [10:52:26]Read from MH i2c: E2 0B 00 [10:52:26]MH_I2C_Read... [10:52:26]Read from MH i2c: E2 0B 00 FE 01 00 C2 8D AE 3A A1 62 5E 83 90 00 96 [10:52:26]RAPDU: C2 8D AE 3A A1 62 5E 83 90 00 [10:52:26]wFMCommunicate OK [10:52:26]SAM_PROTO_SignData done [10:52:26]FM_MakeSignedData done [10:52:26]CreateOFDProtocolMessage [10:52:26]wFMCommunicate request_size=4 [10:52:26]MH_SAM_APDU [10:52:26]CAPDU: 80 11 00 00 [10:52:26]Write to MH i2c: E2 08 00 FF 01 80 11 00 00 00 00 00 00 7A [10:52:26]Write i2c OK [10:52:26]MH_I2C_Read... [10:52:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:52:26]Read from MH i2c: E2 [10:52:26]MH_I2C_Read... [10:52:26]Read from MH i2c: E2 17 00 [10:52:26]MH_I2C_Read... [10:52:26]Read from MH i2c: E2 17 00 FF 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 D3 [10:52:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:52:26]wFMCommunicate OK [10:52:26]CreateOFDProtocolMessage done [10:52:26]OFDSenderStorePacket 18939 [10:52:26]StoreOFDPacket docnum=18939 [10:52:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 49 01 00 00 92 F1 41 01 15 87 5A 03 01 00 03 00 35 01 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 38 33 06 04 43 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 9C D0 95 D0 A2 D0 90 D0 9D D0 90 2F D0 97 D0 95 D0 9B D0 95 D0 9D D0 AC 20 36 30 D0 93 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 69 EB F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FB 49 00 00 35 04 06 00 57 2D 08 15 5A F9 C2 8D AE 3A A1 62 5E 83 [10:52:26]CheckFolder [10:52:26]dirname=/storage/ofd_packets [10:52:26]CheckFolder done [10:52:26]ProducePacketName [10:52:26]name=ofd_packets/00018939 [10:52:26]NVStorageSaveData ofd_packets/00018939 [10:52:26]File name is /storage/ofd_packets/00018939 [10:52:26]Write 359 bytes [10:52:26]NVStorageSaveData done [10:52:26]OFDSenderStorePacket done [10:52:26]KKMCreateOFDPacket done [10:52:26]NVStorageSaveData kkm_last_timestamp [10:52:26]File name is /storage/kkm_last_timestamp [10:52:26]Write 4 bytes [10:52:26]NVStorageSaveData done [10:52:26]ExternCall_PrintAddStr [10:52:26]wPrintStart [10:52:26]Write to MH i2c: 01 00 00 00 02 02 [10:52:26]Write i2c OK [10:52:26]MH_I2C_Read... [10:52:26]Read from MH i2c: 01 [10:52:26]MH_I2C_Read... [10:52:26]Read from MH i2c: 01 07 00 [10:52:26]MH_I2C_Read... [10:52:26]Read from MH i2c: 01 07 00 00 02 00 00 00 00 00 FF 0F 17 [10:52:26]RasterBufferAndPrint [10:52:26]line Счет N : (3)16859 [10:52:26]line ИНН: 02508201610067 [10:52:26]line Контрольно-Кассовый Чек [10:52:26]line ПРОДАЖА [10:52:26]line Товар: 4870235681383 [10:52:26]line ЧИПСЫ SLANG СО ВКУСОМ СМЕТАНА/ЗЕЛЕНЬ 60Г [10:52:26]line 1.000 * 95.00 [10:52:26]line = 95.00 [10:52:26]line НДС 12% НСП 1% [10:52:26]line > о реализуемом товаре [10:52:26]line ИТОГО: 95.00 [10:52:26]line НСП 1% : 0.84 [10:52:26]line НДС 12% : 10.09 [10:52:26]line Наличными: 95.00 [10:52:26]line Безнал.: 0.00 [10:52:26]line Место: АЗС № 176 "Партнер Нефть" [10:52:26]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [10:52:26]line СНО: Общий режим [10:52:26]line Чек 17 25.09.2024 10:52 [10:52:26]line Смена: 183 ФФД: 1.0 [10:52:26]line ЗНМ: 0300000010 [10:52:26]line РНМ: 0000000000152968 [10:52:26]line Версия ККМ: v1.0 [10:52:26]line ФМ: 0000000000959456 [10:52:26]line ФД: 18939 [10:52:26]line ФПД: 95850920762105 [10:52:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T105225&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18939&fm=95850920762105&tin=02508201610067®Number=0000000000152968&sum=9500 [10:52:26]line 0 [10:52:26]OFD Sender: Processing packet 18939 [packets to send 7, broken 6] [10:52:26]ProducePacketName [10:52:26]name=ofd_packets/00018939 [10:52:26]OFD Sender: To server: pG, [10:52:26]CommunicateWithHost lk.salyk.kg:30040 [10:52:26]ConnectInit lk.salyk.kg [10:52:26]written 0, free lines is 4095 [10:52:26]Connected sock=9 [10:52:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 49 01 00 00 92 F1 41 01 15 87 5A 03 01 00 03 00 35 01 1E 04 01 00 01 23 04 87 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 38 33 06 04 43 00 D0 A7 D0 98 D0 9F D0 A1 D0 AB 20 53 4C 41 4E 47 20 D0 A1 D0 9E 20 D0 92 D0 9A D0 A3 D0 A1 D0 9E D0 9C 20 D0 A1 D0 9C D0 95 D0 A2 D0 90 D0 9D D0 90 2F D0 97 D0 95 D0 9B D0 95 D0 9D D0 AC 20 36 30 D0 93 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 69 EB F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FB 49 00 00 35 04 06 00 57 2D 08 15 5A F9 C2 8D AE 3A A1 62 5E 83 [10:52:27]Write to MH i2c: 01 00 00 29 02 2B [10:52:27]Write i2c OK [10:52:27]MH_I2C_Read... [10:52:27]Read from MH i2c: 01 [10:52:27]MH_I2C_Read... [10:52:27]Read from MH i2c: 01 07 00 [10:52:27]MH_I2C_Read... [10:52:27]Read from MH i2c: 01 07 00 29 02 00 00 00 00 00 07 0D 46 [10:52:27]RasterBufferAndPrint [10:52:27]line [10:52:27]line [10:52:27]line [10:52:27]line [10:52:27]line [10:52:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 49 06 47 00 F7 E5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FB 49 00 00 F4 03 04 00 C7 94 F3 66 B6 04 01 00 00 95 37 95 FD EA 6B D2 19 [10:52:27]CommunicateWithHost err = 0 [10:52:27]CheckOFDResponse [10:52:27]1017 (14) - 77093643461234 [10:52:27]1041 (16) - 0000000000959456 [10:52:27]1040 (4) - 18939 [10:52:27]1012 (4) - 25.09.2024 04:42 [10:52:27]1206 (1) - 0 [10:52:27]OFD Sender: Remove packet 18939 [10:52:27]ProducePacketName [10:52:27]name=ofd_packets/00018939 [10:52:27]NVStorageDeleteData [10:52:27]written 0, free lines is 3359 [10:52:27]MH_Cut [10:52:27]Write to MH i2c: D1 01 00 30 02 01 04 [10:52:27]Write i2c OK [10:52:27]MH_I2C_Read... [10:52:27]Read from MH i2c: D1 [10:52:27]MH_I2C_Read... [10:52:27]Read from MH i2c: D1 01 00 [10:52:27]MH_I2C_Read... [10:52:27]Read from MH i2c: D1 01 00 30 02 00 03 [10:52:27]Write to MH i2c: 01 00 00 31 02 33 [10:52:27]Write i2c OK [10:52:27]MH_I2C_Read... [10:52:27]OFD Sender: No OFD packet to send [10:52:27]*** Cut start [10:52:27]*** Partial cut [10:52:27]*** CUTSNS_PIN = 1 [10:52:27]*** CUTSNS_PIN = 0 [10:52:28]*** Brake cut motor [10:52:28]Read from MH i2c: 01 [10:52:28]MH_I2C_Read... [10:52:28]*** Stop cut motor [10:52:28]*** Cut end [10:52:28]Read from MH i2c: 01 07 00 [10:52:28]MH_I2C_Read... [10:52:28]Read from MH i2c: 01 07 00 31 02 00 00 00 00 00 FF 0F 48 [10:52:28]process_action close_receipt done [10:52:28]requested_data is exist [10:52:28]produce_requested_data [10:52:28]requested_item fm.sn is exist - process it [10:52:28]wFMCommunicate request_size=4 [10:52:28]MH_SAM_APDU [10:52:28]CAPDU: 80 11 00 00 [10:52:28]Write to MH i2c: E2 08 00 32 02 80 11 00 00 00 00 00 00 AE [10:52:28]Write i2c OK [10:52:28]MH_I2C_Read... [10:52:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:52:28]Read from MH i2c: E2 [10:52:28]MH_I2C_Read... [10:52:28]Read from MH i2c: E2 17 00 [10:52:28]MH_I2C_Read... [10:52:28]Read from MH i2c: E2 17 00 32 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 07 [10:52:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [10:52:28]wFMCommunicate OK [10:52:28]requested_item fd.num is exist - process it [10:52:28]SAM_PROTO_GetFieldsCounters [10:52:28]wFMCommunicate request_size=4 [10:52:28]MH_SAM_APDU [10:52:28]CAPDU: 80 13 00 00 [10:52:28]Write to MH i2c: E2 08 00 33 02 80 13 00 00 00 00 00 00 B1 [10:52:28]Write i2c OK [10:52:28]MH_I2C_Read... [10:52:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:52:28]Read from MH i2c: E2 [10:52:28]MH_I2C_Read... [10:52:28]Read from MH i2c: E2 62 00 [10:52:28]MH_I2C_Read... [10:52:28]Read from MH i2c: E2 62 00 33 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 FB 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 0C [10:52:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 FB 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:52:28]wFMCommunicate OK [10:52:28]SAM_PROTO_GetFieldsCounters done [10:52:28]requested_item shift.num is exist - process it [10:52:28]requested_item shift.opened is exist - process it [10:52:28]req_shift_opened [10:52:28]FM_GetShiftState [10:52:28]SAM_PROTO_GetShiftState [10:52:28]wFMCommunicate request_size=4 [10:52:28]MH_SAM_APDU [10:52:28]CAPDU: 80 13 01 00 [10:52:28]Write to MH i2c: E2 08 00 34 02 80 13 01 00 00 00 00 00 B3 [10:52:28]Write i2c OK [10:52:28]MH_I2C_Read... [10:52:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:52:28]Read from MH i2c: E2 [10:52:28]MH_I2C_Read... [10:52:28]Read from MH i2c: E2 0E 00 [10:52:28]MH_I2C_Read... [10:52:28]Read from MH i2c: E2 0E 00 34 02 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 A0 [10:52:28]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [10:52:28]wFMCommunicate OK [10:52:28]SAM_PROTO_GetShiftState done [10:52:28]FM_GetShiftState done [10:52:28]req_shift_opened done [10:52:28]requested_item shift.open_date is exist - process it [10:52:28]req_shift_open_date [10:52:28]req_shift_open_date done [10:52:28]produce_requested_data done [10:52:28]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18939,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [10:52:28]process_action_free close_receipt [10:52:28]json_value_free [10:52:28]json_value_free done [10:52:28]process_json_proto returns [10:52:28]Send response to host [10:52:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18939,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [10:52:28]free response buf [10:52:28]execute_script done [10:52:28]execute_script returns [10:52:28]free content buf [10:52:28]Sock 10.Close socket [10:52:28]Sock 10.Thread stoped [10:52:32]OFD Sender: No OFD packet to send [10:52:37]OFD Sender: No OFD packet to send [10:52:42]OFD Sender: No OFD packet to send [10:52:47]OFD Sender: No OFD packet to send [10:52:52]OFD Sender: No OFD packet to send [10:52:57]OFD Sender: No OFD packet to send [10:53:02]OFD Sender: No OFD packet to send [10:53:07]OFD Sender: No OFD packet to send [10:53:12]OFD Sender: No OFD packet to send [10:53:17]OFD Sender: No OFD packet to send [10:53:22]OFD Sender: No OFD packet to send [10:53:27]OFD Sender: No OFD packet to send [10:53:32]OFD Sender: No OFD packet to send [10:53:37]OFD Sender: No OFD packet to send [10:53:42]OFD Sender: No OFD packet to send [10:53:47]OFD Sender: No OFD packet to send [10:53:52]OFD Sender: No OFD packet to send [10:53:57]OFD Sender: No OFD packet to send [10:54:02]OFD Sender: No OFD packet to send [10:54:07]OFD Sender: No OFD packet to send [10:54:12]OFD Sender: No OFD packet to send [10:54:17]OFD Sender: No OFD packet to send [10:54:22]OFD Sender: No OFD packet to send [10:54:27]OFD Sender: No OFD packet to send [10:54:32]OFD Sender: No OFD packet to send [10:54:37]OFD Sender: No OFD packet to send [10:54:42]OFD Sender: No OFD packet to send [10:54:47]OFD Sender: No OFD packet to send [10:54:52]OFD Sender: No OFD packet to send [10:54:57]OFD Sender: No OFD packet to send [10:55:02]OFD Sender: No OFD packet to send [10:55:07]OFD Sender: No OFD packet to send [10:55:12]OFD Sender: No OFD packet to send [10:55:17]OFD Sender: No OFD packet to send [10:55:22]OFD Sender: No OFD packet to send [10:55:27]OFD Sender: No OFD packet to send [10:55:32]OFD Sender: No OFD packet to send [10:55:37]OFD Sender: No OFD packet to send [10:55:42]OFD Sender: No OFD packet to send [10:55:47]OFD Sender: No OFD packet to send [10:55:52]OFD Sender: No OFD packet to send [10:55:57]OFD Sender: No OFD packet to send [10:56:02]OFD Sender: No OFD packet to send [10:56:07]OFD Sender: No OFD packet to send [10:56:12]OFD Sender: No OFD packet to send [10:56:17]OFD Sender: No OFD packet to send [10:56:22]OFD Sender: No OFD packet to send [10:56:27]OFD Sender: No OFD packet to send [10:56:32]OFD Sender: No OFD packet to send [10:56:37]OFD Sender: No OFD packet to send [10:56:42]OFD Sender: No OFD packet to send [10:56:47]OFD Sender: No OFD packet to send [10:56:52]OFD Sender: No OFD packet to send [10:56:57]OFD Sender: No OFD packet to send [10:57:02]OFD Sender: No OFD packet to send [10:57:07]OFD Sender: No OFD packet to send [10:57:12]OFD Sender: No OFD packet to send [10:57:17]OFD Sender: No OFD packet to send [10:57:22]OFD Sender: No OFD packet to send [10:57:27]OFD Sender: No OFD packet to send [10:57:32]OFD Sender: No OFD packet to send [10:57:37]OFD Sender: No OFD packet to send [10:57:42]OFD Sender: No OFD packet to send [10:57:47]OFD Sender: No OFD packet to send [10:57:52]OFD Sender: No OFD packet to send [10:57:57]OFD Sender: No OFD packet to send [10:58:02]OFD Sender: No OFD packet to send [10:58:07]OFD Sender: No OFD packet to send [10:58:12]OFD Sender: No OFD packet to send [10:58:17]OFD Sender: No OFD packet to send [10:58:22]OFD Sender: No OFD packet to send [10:58:27]OFD Sender: No OFD packet to send [10:58:32]OFD Sender: No OFD packet to send [10:58:37]OFD Sender: No OFD packet to send [10:58:42]OFD Sender: No OFD packet to send [10:58:47]OFD Sender: No OFD packet to send [10:58:52]OFD Sender: No OFD packet to send [10:58:57]OFD Sender: No OFD packet to send [10:59:02]OFD Sender: No OFD packet to send [10:59:07]OFD Sender: No OFD packet to send [10:59:12]OFD Sender: No OFD packet to send [10:59:17]OFD Sender: No OFD packet to send [10:59:22]OFD Sender: No OFD packet to send [10:59:28]OFD Sender: No OFD packet to send [10:59:33]OFD Sender: No OFD packet to send [10:59:38]OFD Sender: No OFD packet to send [10:59:43]OFD Sender: No OFD packet to send [10:59:48]OFD Sender: No OFD packet to send [10:59:53]OFD Sender: No OFD packet to send [10:59:58]OFD Sender: No OFD packet to send [11:00:03]OFD Sender: No OFD packet to send [11:00:08]OFD Sender: No OFD packet to send [11:00:13]OFD Sender: No OFD packet to send [11:00:18]OFD Sender: No OFD packet to send [11:00:23]OFD Sender: No OFD packet to send [11:00:28]OFD Sender: No OFD packet to send [11:00:33]OFD Sender: No OFD packet to send [11:00:38]OFD Sender: No OFD packet to send [11:00:43]OFD Sender: No OFD packet to send [11:00:48]OFD Sender: No OFD packet to send [11:00:53]OFD Sender: No OFD packet to send [11:00:58]OFD Sender: No OFD packet to send [11:01:03]OFD Sender: No OFD packet to send [11:01:08]OFD Sender: No OFD packet to send [11:01:13]OFD Sender: No OFD packet to send [11:01:18]OFD Sender: No OFD packet to send [11:01:23]OFD Sender: No OFD packet to send [11:01:28]OFD Sender: No OFD packet to send [11:01:33]OFD Sender: No OFD packet to send [11:01:38]OFD Sender: No OFD packet to send [11:01:43]OFD Sender: No OFD packet to send [11:01:48]OFD Sender: No OFD packet to send [11:01:53]OFD Sender: No OFD packet to send [11:01:58]OFD Sender: No OFD packet to send [11:02:03]OFD Sender: No OFD packet to send [11:02:08]OFD Sender: No OFD packet to send [11:02:13]OFD Sender: No OFD packet to send [11:02:18]OFD Sender: No OFD packet to send [11:02:23]OFD Sender: No OFD packet to send [11:02:28]OFD Sender: No OFD packet to send [11:02:33]OFD Sender: No OFD packet to send [11:02:38]OFD Sender: No OFD packet to send [11:02:43]OFD Sender: No OFD packet to send [11:02:48]OFD Sender: No OFD packet to send [11:02:53]OFD Sender: No OFD packet to send [11:02:58]OFD Sender: No OFD packet to send [11:03:03]OFD Sender: No OFD packet to send [11:03:08]OFD Sender: No OFD packet to send [11:03:13]OFD Sender: No OFD packet to send [11:03:18]OFD Sender: No OFD packet to send [11:03:23]OFD Sender: No OFD packet to send [11:03:28]OFD Sender: No OFD packet to send [11:03:33]OFD Sender: No OFD packet to send [11:03:38]OFD Sender: No OFD packet to send [11:03:43]OFD Sender: No OFD packet to send [11:03:48]OFD Sender: No OFD packet to send [11:03:53]OFD Sender: No OFD packet to send [11:03:58]OFD Sender: No OFD packet to send [11:04:03]OFD Sender: No OFD packet to send [11:04:08]OFD Sender: No OFD packet to send [11:04:13]OFD Sender: No OFD packet to send [11:04:18]OFD Sender: No OFD packet to send [11:04:23]OFD Sender: No OFD packet to send [11:04:28]OFD Sender: No OFD packet to send [11:04:33]OFD Sender: No OFD packet to send [11:04:38]OFD Sender: No OFD packet to send [11:04:43]OFD Sender: No OFD packet to send [11:04:48]OFD Sender: No OFD packet to send [11:04:53]OFD Sender: No OFD packet to send [11:04:58]OFD Sender: No OFD packet to send [11:05:03]OFD Sender: No OFD packet to send [11:05:08]OFD Sender: No OFD packet to send [11:05:13]OFD Sender: No OFD packet to send [11:05:18]OFD Sender: No OFD packet to send [11:05:23]OFD Sender: No OFD packet to send [11:05:28]OFD Sender: No OFD packet to send [11:05:33]OFD Sender: No OFD packet to send [11:05:38]OFD Sender: No OFD packet to send [11:05:43]OFD Sender: No OFD packet to send [11:05:48]OFD Sender: No OFD packet to send [11:05:53]OFD Sender: No OFD packet to send [11:05:58]OFD Sender: No OFD packet to send [11:06:03]OFD Sender: No OFD packet to send [11:06:08]OFD Sender: No OFD packet to send [11:06:13]OFD Sender: No OFD packet to send [11:06:18]OFD Sender: No OFD packet to send [11:06:23]OFD Sender: No OFD packet to send [11:06:28]OFD Sender: No OFD packet to send [11:06:33]OFD Sender: No OFD packet to send [11:06:38]OFD Sender: No OFD packet to send [11:06:43]OFD Sender: No OFD packet to send [11:06:48]OFD Sender: No OFD packet to send [11:06:53]OFD Sender: No OFD packet to send [11:06:58]OFD Sender: No OFD packet to send [11:07:03]OFD Sender: No OFD packet to send [11:07:08]OFD Sender: No OFD packet to send [11:07:13]OFD Sender: No OFD packet to send [11:07:18]OFD Sender: No OFD packet to send [11:07:23]OFD Sender: No OFD packet to send [11:07:28]OFD Sender: No OFD packet to send [11:07:33]OFD Sender: No OFD packet to send [11:07:38]OFD Sender: No OFD packet to send [11:07:43]OFD Sender: No OFD packet to send [11:07:48]OFD Sender: No OFD packet to send [11:07:53]OFD Sender: No OFD packet to send [11:07:58]OFD Sender: No OFD packet to send [11:08:03]OFD Sender: No OFD packet to send [11:08:08]OFD Sender: No OFD packet to send [11:08:13]OFD Sender: No OFD packet to send [11:08:18]OFD Sender: No OFD packet to send [11:08:23]OFD Sender: No OFD packet to send [11:08:28]OFD Sender: No OFD packet to send [11:08:33]OFD Sender: No OFD packet to send [11:08:38]OFD Sender: No OFD packet to send [11:08:43]OFD Sender: No OFD packet to send [11:08:48]OFD Sender: No OFD packet to send [11:08:53]OFD Sender: No OFD packet to send [11:08:58]OFD Sender: No OFD packet to send [11:09:03]OFD Sender: No OFD packet to send [11:09:08]OFD Sender: No OFD packet to send [11:09:13]OFD Sender: No OFD packet to send [11:09:18]OFD Sender: No OFD packet to send [11:09:23]OFD Sender: No OFD packet to send [11:09:28]OFD Sender: No OFD packet to send [11:09:33]OFD Sender: No OFD packet to send [11:09:38]OFD Sender: No OFD packet to send [11:09:43]OFD Sender: No OFD packet to send [11:09:48]OFD Sender: No OFD packet to send [11:09:53]OFD Sender: No OFD packet to send [11:09:58]OFD Sender: No OFD packet to send [11:10:03]OFD Sender: No OFD packet to send [11:10:08]OFD Sender: No OFD packet to send [11:10:13]OFD Sender: No OFD packet to send [11:10:18]OFD Sender: No OFD packet to send [11:10:23]OFD Sender: No OFD packet to send [11:10:28]OFD Sender: No OFD packet to send [11:10:33]OFD Sender: No OFD packet to send [11:10:38]OFD Sender: No OFD packet to send [11:10:43]OFD Sender: No OFD packet to send [11:10:48]OFD Sender: No OFD packet to send [11:10:53]OFD Sender: No OFD packet to send [11:10:58]OFD Sender: No OFD packet to send [11:11:03]OFD Sender: No OFD packet to send [11:11:08]OFD Sender: No OFD packet to send [11:11:13]OFD Sender: No OFD packet to send [11:11:18]OFD Sender: No OFD packet to send [11:11:23]OFD Sender: No OFD packet to send [11:11:28]OFD Sender: No OFD packet to send [11:11:33]OFD Sender: No OFD packet to send [11:11:38]OFD Sender: No OFD packet to send [11:11:43]OFD Sender: No OFD packet to send [11:11:48]OFD Sender: No OFD packet to send [11:11:53]OFD Sender: No OFD packet to send [11:11:58]OFD Sender: No OFD packet to send [11:12:03]OFD Sender: No OFD packet to send [11:12:08]OFD Sender: No OFD packet to send [11:12:13]OFD Sender: No OFD packet to send [11:12:18]OFD Sender: No OFD packet to send [11:12:23]OFD Sender: No OFD packet to send [11:12:28]OFD Sender: No OFD packet to send [11:12:33]OFD Sender: No OFD packet to send [11:12:38]OFD Sender: No OFD packet to send [11:12:43]OFD Sender: No OFD packet to send [11:12:48]OFD Sender: No OFD packet to send [11:12:53]OFD Sender: No OFD packet to send [11:12:58]OFD Sender: No OFD packet to send [11:13:03]OFD Sender: No OFD packet to send [11:13:08]OFD Sender: No OFD packet to send [11:13:13]OFD Sender: No OFD packet to send [11:13:18]OFD Sender: No OFD packet to send [11:13:23]OFD Sender: No OFD packet to send [11:13:28]OFD Sender: No OFD packet to send [11:13:33]OFD Sender: No OFD packet to send [11:13:38]OFD Sender: No OFD packet to send [11:13:43]OFD Sender: No OFD packet to send [11:13:48]OFD Sender: No OFD packet to send [11:13:53]OFD Sender: No OFD packet to send [11:13:58]OFD Sender: No OFD packet to send [11:14:03]OFD Sender: No OFD packet to send [11:14:08]OFD Sender: No OFD packet to send [11:14:13]OFD Sender: No OFD packet to send [11:14:18]OFD Sender: No OFD packet to send [11:14:23]OFD Sender: No OFD packet to send [11:14:28]OFD Sender: No OFD packet to send [11:14:33]OFD Sender: No OFD packet to send [11:14:38]OFD Sender: No OFD packet to send [11:14:43]OFD Sender: No OFD packet to send [11:14:48]OFD Sender: No OFD packet to send [11:14:53]OFD Sender: No OFD packet to send [11:14:58]OFD Sender: No OFD packet to send [11:15:03]OFD Sender: No OFD packet to send [11:15:08]OFD Sender: No OFD packet to send [11:15:13]OFD Sender: No OFD packet to send [11:15:18]OFD Sender: No OFD packet to send [11:15:23]OFD Sender: No OFD packet to send [11:15:28]OFD Sender: No OFD packet to send [11:15:33]OFD Sender: No OFD packet to send [11:15:38]OFD Sender: No OFD packet to send [11:15:43]OFD Sender: No OFD packet to send [11:15:48]OFD Sender: No OFD packet to send [11:15:53]OFD Sender: No OFD packet to send [11:15:58]OFD Sender: No OFD packet to send [11:16:03]OFD Sender: No OFD packet to send [11:16:08]OFD Sender: No OFD packet to send [11:16:13]OFD Sender: No OFD packet to send [11:16:18]OFD Sender: No OFD packet to send [11:16:23]OFD Sender: No OFD packet to send [11:16:28]OFD Sender: No OFD packet to send [11:16:33]OFD Sender: No OFD packet to send [11:16:38]OFD Sender: No OFD packet to send [11:16:43]OFD Sender: No OFD packet to send [11:16:48]OFD Sender: No OFD packet to send [11:16:53]OFD Sender: No OFD packet to send [11:16:58]OFD Sender: No OFD packet to send [11:17:03]OFD Sender: No OFD packet to send [11:17:08]OFD Sender: No OFD packet to send [11:17:13]OFD Sender: No OFD packet to send [11:17:18]OFD Sender: No OFD packet to send [11:17:23]OFD Sender: No OFD packet to send [11:17:28]OFD Sender: No OFD packet to send [11:17:33]OFD Sender: No OFD packet to send [11:17:38]OFD Sender: No OFD packet to send [11:17:43]OFD Sender: No OFD packet to send [11:17:48]OFD Sender: No OFD packet to send [11:17:53]OFD Sender: No OFD packet to send [11:17:58]OFD Sender: No OFD packet to send [11:18:03]OFD Sender: No OFD packet to send [11:18:08]OFD Sender: No OFD packet to send [11:18:13]OFD Sender: No OFD packet to send [11:18:18]OFD Sender: No OFD packet to send [11:18:23]OFD Sender: No OFD packet to send [11:18:28]OFD Sender: No OFD packet to send [11:18:33]OFD Sender: No OFD packet to send [11:18:38]OFD Sender: No OFD packet to send [11:18:43]OFD Sender: No OFD packet to send [11:18:48]OFD Sender: No OFD packet to send [11:18:53]OFD Sender: No OFD packet to send [11:18:58]OFD Sender: No OFD packet to send [11:19:03]OFD Sender: No OFD packet to send [11:19:08]OFD Sender: No OFD packet to send [11:19:13]OFD Sender: No OFD packet to send [11:19:18]OFD Sender: No OFD packet to send [11:19:23]OFD Sender: No OFD packet to send [11:19:28]OFD Sender: No OFD packet to send [11:19:33]OFD Sender: No OFD packet to send [11:19:38]OFD Sender: No OFD packet to send [11:19:43]OFD Sender: No OFD packet to send [11:19:48]OFD Sender: No OFD packet to send [11:19:53]OFD Sender: No OFD packet to send [11:19:58]OFD Sender: No OFD packet to send [11:20:03]OFD Sender: No OFD packet to send [11:20:08]OFD Sender: No OFD packet to send [11:20:13]OFD Sender: No OFD packet to send [11:20:18]OFD Sender: No OFD packet to send [11:20:23]OFD Sender: No OFD packet to send [11:20:28]OFD Sender: No OFD packet to send [11:20:33]OFD Sender: No OFD packet to send [11:20:38]OFD Sender: No OFD packet to send [11:20:44]OFD Sender: No OFD packet to send [11:20:49]OFD Sender: No OFD packet to send [11:20:54]OFD Sender: No OFD packet to send [11:20:59]OFD Sender: No OFD packet to send [11:21:04]OFD Sender: No OFD packet to send [11:21:09]OFD Sender: No OFD packet to send [11:21:14]OFD Sender: No OFD packet to send [11:21:19]OFD Sender: No OFD packet to send [11:21:24]OFD Sender: No OFD packet to send [11:21:29]OFD Sender: No OFD packet to send [11:21:34]OFD Sender: No OFD packet to send [11:21:39]OFD Sender: No OFD packet to send [11:21:44]OFD Sender: No OFD packet to send [11:21:49]OFD Sender: No OFD packet to send [11:21:54]OFD Sender: No OFD packet to send [11:21:59]OFD Sender: No OFD packet to send [11:22:04]OFD Sender: No OFD packet to send [11:22:09]OFD Sender: No OFD packet to send [11:22:14]OFD Sender: No OFD packet to send [11:22:19]OFD Sender: No OFD packet to send [11:22:24]OFD Sender: No OFD packet to send [11:22:29]OFD Sender: No OFD packet to send [11:22:34]OFD Sender: No OFD packet to send [11:22:39]OFD Sender: No OFD packet to send [11:22:44]OFD Sender: No OFD packet to send [11:22:49]OFD Sender: No OFD packet to send [11:22:54]OFD Sender: No OFD packet to send [11:22:59]OFD Sender: No OFD packet to send [11:23:04]OFD Sender: No OFD packet to send [11:23:09]OFD Sender: No OFD packet to send [11:23:14]OFD Sender: No OFD packet to send [11:23:19]OFD Sender: No OFD packet to send [11:23:24]OFD Sender: No OFD packet to send [11:23:29]OFD Sender: No OFD packet to send [11:23:34]OFD Sender: No OFD packet to send [11:23:39]OFD Sender: No OFD packet to send [11:23:44]OFD Sender: No OFD packet to send [11:23:49]OFD Sender: No OFD packet to send [11:23:54]OFD Sender: No OFD packet to send [11:23:59]OFD Sender: No OFD packet to send [11:24:04]OFD Sender: No OFD packet to send [11:24:09]OFD Sender: No OFD packet to send [11:24:14]OFD Sender: No OFD packet to send [11:24:19]OFD Sender: No OFD packet to send [11:24:24]OFD Sender: No OFD packet to send [11:24:29]OFD Sender: No OFD packet to send [11:24:34]OFD Sender: No OFD packet to send [11:24:39]OFD Sender: No OFD packet to send [11:24:44]OFD Sender: No OFD packet to send [11:24:49]OFD Sender: No OFD packet to send [11:24:54]OFD Sender: No OFD packet to send [11:24:59]OFD Sender: No OFD packet to send [11:25:04]OFD Sender: No OFD packet to send [11:25:09]OFD Sender: No OFD packet to send [11:25:14]OFD Sender: No OFD packet to send [11:25:19]OFD Sender: No OFD packet to send [11:25:24]OFD Sender: No OFD packet to send [11:25:29]OFD Sender: No OFD packet to send [11:25:34]OFD Sender: No OFD packet to send [11:25:39]OFD Sender: No OFD packet to send [11:25:44]OFD Sender: No OFD packet to send [11:25:49]OFD Sender: No OFD packet to send [11:25:54]OFD Sender: No OFD packet to send [11:25:59]OFD Sender: No OFD packet to send [11:26:04]OFD Sender: No OFD packet to send [11:26:09]OFD Sender: No OFD packet to send [11:26:14]OFD Sender: No OFD packet to send [11:26:19]OFD Sender: No OFD packet to send [11:26:24]OFD Sender: No OFD packet to send [11:26:29]OFD Sender: No OFD packet to send [11:26:34]OFD Sender: No OFD packet to send [11:26:39]OFD Sender: No OFD packet to send [11:26:44]OFD Sender: No OFD packet to send [11:26:49]OFD Sender: No OFD packet to send [11:26:54]OFD Sender: No OFD packet to send [11:26:59]OFD Sender: No OFD packet to send [11:27:04]OFD Sender: No OFD packet to send [11:27:09]OFD Sender: No OFD packet to send [11:27:14]OFD Sender: No OFD packet to send [11:27:19]OFD Sender: No OFD packet to send [11:27:24]OFD Sender: No OFD packet to send [11:27:29]OFD Sender: No OFD packet to send [11:27:34]OFD Sender: No OFD packet to send [11:27:39]OFD Sender: No OFD packet to send [11:27:44]OFD Sender: No OFD packet to send [11:27:49]OFD Sender: No OFD packet to send [11:27:54]OFD Sender: No OFD packet to send [11:27:59]OFD Sender: No OFD packet to send [11:28:04]OFD Sender: No OFD packet to send [11:28:09]OFD Sender: No OFD packet to send [11:28:14]OFD Sender: No OFD packet to send [11:28:19]OFD Sender: No OFD packet to send [11:28:24]OFD Sender: No OFD packet to send [11:28:29]OFD Sender: No OFD packet to send [11:28:34]OFD Sender: No OFD packet to send [11:28:39]OFD Sender: No OFD packet to send [11:28:44]OFD Sender: No OFD packet to send [11:28:49]OFD Sender: No OFD packet to send [11:28:54]OFD Sender: No OFD packet to send [11:28:59]OFD Sender: No OFD packet to send [11:29:04]OFD Sender: No OFD packet to send [11:29:09]OFD Sender: No OFD packet to send [11:29:14]OFD Sender: No OFD packet to send [11:29:19]OFD Sender: No OFD packet to send [11:29:24]OFD Sender: No OFD packet to send [11:29:29]OFD Sender: No OFD packet to send [11:29:34]OFD Sender: No OFD packet to send [11:29:39]OFD Sender: No OFD packet to send [11:29:41]accept exits with 8 [11:29:41]New connection [11:29:41]New thread 3066621284 created [11:29:41]Thread 3066764644 joined [11:29:41]Waiting for new connection... [11:29:41] Sock 8.Parse request [11:29:41]Sock 8.Check first char [11:29:41]Sock 8.First char is OK [11:29:41]request: POST /json_proto HTTP/1.0 [11:29:41]Method: POST [11:29:41]URL: /json_proto [11:29:41]Method is POST - this is cgi request [11:29:41]url: /json_proto [11:29:41]query_string will be loaded in cgi processing [11:29:41]execute_cgi json_proto POST (null) [11:29:41]execute_cgi path=json_proto method=POST [11:29:41]POST find Content-Length [11:29:41]Host: 172.17.62.196:8080 [11:29:41]Content-Length: 631 [11:29:41]Content-Type: application/json [11:29:41] [11:29:41]POST finish read [11:29:41]Found Content-Length = 631 [11:29:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16860", "tax_sys" : 0, "items" : [ { "code": "48745031", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Superslims Expand Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:29:41]execute_script... [11:29:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16860", "tax_sys" : 0, "items" : [ { "code": "48745031", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Superslims Expand Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:29:41]POST & json_proto [11:29:41]process_json_proto [11:29:41]json parsed OK: [11:29:41]protocol is kg_v1.0 [11:29:41]action value=close_receipt [11:29:41]process_action close_receipt [11:29:41]cmd_close_receipt [11:29:41]MH_GetDate [11:29:41]Write to MH i2c: F0 00 00 35 02 26 [11:29:41]Write i2c OK [11:29:41]MH_I2C_Read... [11:29:41]Read from MH i2c: F0 [11:29:41]MH_I2C_Read... [11:29:41]Read from MH i2c: F0 09 00 [11:29:41]MH_I2C_Read... [11:29:41]Read from MH i2c: F0 09 00 35 02 00 26 F4 F3 66 CE CC 0E 66 B0 [11:29:41]GetLastDocTimeStamp 1727261545 [11:29:41]current date 1727263782 [11:29:41]FM_GetShiftState [11:29:41]SAM_PROTO_GetShiftState [11:29:41]wFMCommunicate request_size=4 [11:29:41]MH_SAM_APDU [11:29:41]CAPDU: 80 13 01 00 [11:29:41]Write to MH i2c: E2 08 00 36 02 80 13 01 00 00 00 00 00 B5 [11:29:41]Write i2c OK [11:29:41]MH_I2C_Read... [11:29:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:29:41]Read from MH i2c: E2 [11:29:41]MH_I2C_Read... [11:29:41]Read from MH i2c: E2 0E 00 [11:29:41]MH_I2C_Read... [11:29:41]Read from MH i2c: E2 0E 00 36 02 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 A2 [11:29:41]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [11:29:41]wFMCommunicate OK [11:29:41]SAM_PROTO_GetShiftState done [11:29:41]FM_GetShiftState done [11:29:41]opened in 1727223091 [11:29:41]opened+sec_in_day 1727309491 [11:29:41]quantity*price = 14400 [11:29:41]sum+1 = 14401 [11:29:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 18 25.09.2024 11:29 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18940 ФПД: 273052777030916 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T112942&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18940&fm=273052777030916&tin=02508201610067®Number=0000000000152968&sum=14400 0 [11:29:42]StoreToDocumentArchive [11:29:42]shift 183 fd 18940 [11:29:42]save to /storage/0183/doc_00018940 [11:29:42]save last doc name /storage/0183/doc_00018940 to /storage/kkm_last_doc_name [11:29:42]save OK [11:29:42]Clear old archive folders... [11:29:42]ProcessDocumentItem done err = 0, tmpTLVsize=284 [11:29:42]tlvbuf is 015CA700 [11:29:42]SAM_PROTO_ClearQueue [11:29:42]wFMCommunicate request_size=4 [11:29:42]MH_SAM_APDU [11:29:42]CAPDU: 80 09 00 00 [11:29:42]Write to MH i2c: E2 08 00 43 02 80 09 00 00 00 00 00 00 B7 [11:29:42]Write i2c OK [11:29:42]MH_I2C_Read... [11:29:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:29:42]Read from MH i2c: E2 [11:29:42]MH_I2C_Read... [11:29:42]Read from MH i2c: E2 03 00 [11:29:42]MH_I2C_Read... [11:29:42]Read from MH i2c: E2 03 00 43 02 00 90 00 B9 [11:29:42]RAPDU: 90 00 [11:29:42]wFMCommunicate OK [11:29:42]SAM_PROTO_ClearQueue done [11:29:42]KKMCreateOFDPacket [11:29:42]OFDProtocolAddRootSTLVToBuf [11:29:42]FM_MakeSignedData [11:29:42]FM_MakeSignedData [11:29:42]SAM_PROTO_SignData [11:29:42]wFMCommunicate request_size=4 [11:29:42]MH_SAM_APDU [11:29:42]CAPDU: 80 0D 01 02 [11:29:42]Write to MH i2c: E2 08 00 44 02 80 0D 01 02 00 00 00 00 BF [11:29:42]Write i2c OK [11:29:42]MH_I2C_Read... [11:29:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:29:42]Read from MH i2c: E2 [11:29:42]MH_I2C_Read... [11:29:42]Read from MH i2c: E2 03 00 [11:29:42]MH_I2C_Read... [11:29:42]Read from MH i2c: E2 03 00 44 02 00 90 00 BA [11:29:42]RAPDU: 90 00 [11:29:42]wFMCommunicate OK [11:29:42]wFMCommunicate request_size=255 [11:29:42]MH_SAM_APDU [11:29:42]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 38 37 34 35 30 33 31 06 04 2F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 26 F4 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 [11:29:42]Write to MH i2c: E2 02 01 45 02 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 38 37 34 35 30 33 31 06 04 2F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 26 F4 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 00 00 5F [11:29:42]Write i2c OK [11:29:42]MH_I2C_Read... [11:29:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:29:43]Read from MH i2c: E2 [11:29:43]MH_I2C_Read... [11:29:43]Read from MH i2c: E2 03 00 [11:29:43]MH_I2C_Read... [11:29:43]Read from MH i2c: E2 03 00 45 02 00 90 00 BB [11:29:43]RAPDU: 90 00 [11:29:43]wFMCommunicate OK [11:29:43]wFMCommunicate request_size=43 [11:29:43]MH_SAM_APDU [11:29:43]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FC 49 00 00 35 04 06 00 F8 57 0D C7 A5 04 [11:29:43]Write to MH i2c: E2 2E 00 46 02 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FC 49 00 00 35 04 06 00 F8 57 0D C7 A5 04 00 00 C1 [11:29:43]Write i2c OK [11:29:43]MH_I2C_Read... [11:29:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:29:43]Read from MH i2c: E2 [11:29:43]MH_I2C_Read... [11:29:43]Read from MH i2c: E2 03 00 [11:29:43]MH_I2C_Read... [11:29:43]Read from MH i2c: E2 03 00 46 02 00 90 00 BC [11:29:43]RAPDU: 90 00 [11:29:43]wFMCommunicate OK [11:29:43]wFMCommunicate request_size=4 [11:29:43]MH_SAM_APDU [11:29:43]CAPDU: 80 0D 03 02 [11:29:43]Write to MH i2c: E2 08 00 47 02 80 0D 03 02 00 00 00 00 C4 [11:29:43]Write i2c OK [11:29:43]MH_I2C_Read... [11:29:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:29:43]Read from MH i2c: E2 [11:29:43]MH_I2C_Read... [11:29:43]Read from MH i2c: E2 0B 00 [11:29:43]MH_I2C_Read... [11:29:43]Read from MH i2c: E2 0B 00 47 02 00 67 1C C7 A8 E2 D7 DD 1F 90 00 6C [11:29:43]RAPDU: 67 1C C7 A8 E2 D7 DD 1F 90 00 [11:29:43]wFMCommunicate OK [11:29:43]SAM_PROTO_SignData done [11:29:43]FM_MakeSignedData done [11:29:43]CreateOFDProtocolMessage [11:29:43]wFMCommunicate request_size=4 [11:29:43]MH_SAM_APDU [11:29:43]CAPDU: 80 11 00 00 [11:29:43]Write to MH i2c: E2 08 00 48 02 80 11 00 00 00 00 00 00 C4 [11:29:43]Write i2c OK [11:29:43]MH_I2C_Read... [11:29:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:29:43]Read from MH i2c: E2 [11:29:43]MH_I2C_Read... [11:29:43]Read from MH i2c: E2 17 00 [11:29:43]MH_I2C_Read... [11:29:43]Read from MH i2c: E2 17 00 48 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 1D [11:29:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [11:29:43]wFMCommunicate OK [11:29:43]CreateOFDProtocolMessage done [11:29:43]OFDSenderStorePacket 18940 [11:29:43]StoreOFDPacket docnum=18940 [11:29:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 30 01 00 00 A0 01 28 01 B2 FC 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 38 37 34 35 30 33 31 06 04 2F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 26 F4 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FC 49 00 00 35 04 06 00 F8 57 0D C7 A5 04 67 1C C7 A8 E2 D7 DD 1F [11:29:43]CheckFolder [11:29:43]dirname=/storage/ofd_packets [11:29:43]CheckFolder done [11:29:43]ProducePacketName [11:29:43]name=ofd_packets/00018940 [11:29:43]NVStorageSaveData ofd_packets/00018940 [11:29:43]File name is /storage/ofd_packets/00018940 [11:29:43]Write 334 bytes [11:29:43]NVStorageSaveData done [11:29:43]OFDSenderStorePacket done [11:29:43]KKMCreateOFDPacket done [11:29:43]NVStorageSaveData kkm_last_timestamp [11:29:43]File name is /storage/kkm_last_timestamp [11:29:43]Write 4 bytes [11:29:43]NVStorageSaveData done [11:29:43]ExternCall_PrintAddStr [11:29:43]wPrintStart [11:29:43]Write to MH i2c: 01 00 00 49 02 4B [11:29:43]Write i2c OK [11:29:43]MH_I2C_Read... [11:29:43]Read from MH i2c: 01 [11:29:43]MH_I2C_Read... [11:29:43]Read from MH i2c: 01 07 00 [11:29:43]MH_I2C_Read... [11:29:43]Read from MH i2c: 01 07 00 49 02 00 00 00 00 00 FF 0F 60 [11:29:43]RasterBufferAndPrint [11:29:43]line Счет N : (3)16860 [11:29:43]line ИНН: 02508201610067 [11:29:43]line Контрольно-Кассовый Чек [11:29:43]line ПРОДАЖА [11:29:43]line Товар: 48745031 [11:29:43]line Сигареты Winston Superslims Expand Blue [11:29:43]line 1.000 * 144.00 [11:29:43]line = 144.00 [11:29:43]line НДС 12% НСП 1% [11:29:43]line > о реализуемом товаре [11:29:43]line ИТОГО: 144.00 [11:29:43]line НСП 1% : 1.27 [11:29:43]line НДС 12% : 15.29 [11:29:43]line Наличными: 144.00 [11:29:43]line Безнал.: 0.00 [11:29:43]line Место: АЗС № 176 "Партнер Нефть" [11:29:43]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [11:29:43]line СНО: Общий режим [11:29:43]line Чек 18 25.09.2024 11:29 [11:29:43]line Смена: 183 ФФД: 1.0 [11:29:43]line ЗНМ: 0300000010 [11:29:43]line РНМ: 0000000000152968 [11:29:43]line Версия ККМ: v1.0 [11:29:43]line ФМ: 0000000000959456 [11:29:43]line ФД: 18940 [11:29:43]line ФПД: 273052777030916 [11:29:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T112942&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18940&fm=273052777030916&tin=02508201610067®Number=0000000000152968&sum=14400 [11:29:43]line 0 [11:29:43]OFD Sender: Processing packet 18940 [packets to send 7, broken 6] [11:29:43]ProducePacketName [11:29:43]name=ofd_packets/00018940 [11:29:43]OFD Sender: To server: pG, [11:29:43]CommunicateWithHost lk.salyk.kg:30040 [11:29:43]ConnectInit lk.salyk.kg [11:29:43]written 0, free lines is 4095 [11:29:43]Connected sock=10 [11:29:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 30 01 00 00 A0 01 28 01 B2 FC 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 38 37 34 35 30 33 31 06 04 2F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 26 F4 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FC 49 00 00 35 04 06 00 F8 57 0D C7 A5 04 67 1C C7 A8 E2 D7 DD 1F [11:29:44]Write to MH i2c: 01 00 00 72 02 74 [11:29:44]Write i2c OK [11:29:44]MH_I2C_Read... [11:29:44]Read from MH i2c: 01 [11:29:44]MH_I2C_Read... [11:29:44]Read from MH i2c: 01 07 00 [11:29:44]MH_I2C_Read... [11:29:44]Read from MH i2c: 01 07 00 72 02 00 00 00 00 00 02 0D 8A [11:29:44]RasterBufferAndPrint [11:29:44]line [11:29:44]line [11:29:44]line [11:29:44]line [11:29:44]line [11:29:44]written 0, free lines is 3336 [11:29:44]MH_Cut [11:29:44]Write to MH i2c: D1 01 00 79 02 01 4D [11:29:44]Write i2c OK [11:29:44]MH_I2C_Read... [11:29:44]Read from MH i2c: D1 [11:29:44]MH_I2C_Read... [11:29:44]Read from MH i2c: D1 01 00 [11:29:44]MH_I2C_Read... [11:29:44]Read from MH i2c: D1 01 00 79 02 00 4C [11:29:44]Write to MH i2c: 01 00 00 7A 02 7C [11:29:44]Write i2c OK [11:29:44]MH_I2C_Read... [11:29:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 21 01 47 00 EF B5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FC 49 00 00 F4 03 04 00 84 9D F3 66 B6 04 01 00 00 C9 06 5A 5F 33 64 2F 3E [11:29:44]CommunicateWithHost err = 0 [11:29:44]CheckOFDResponse [11:29:44]1017 (14) - 77093643461234 [11:29:44]1041 (16) - 0000000000959456 [11:29:44]1040 (4) - 18940 [11:29:44]1012 (4) - 25.09.2024 05:20 [11:29:44]1206 (1) - 0 [11:29:44]OFD Sender: Remove packet 18940 [11:29:44]ProducePacketName [11:29:44]name=ofd_packets/00018940 [11:29:44]NVStorageDeleteData [11:29:44]OFD Sender: No OFD packet to send [11:29:44]*** Cut start [11:29:44]*** Partial cut [11:29:44]*** CUTSNS_PIN = 1 [11:29:44]*** CUTSNS_PIN = 0 [11:29:45]*** Brake cut motor [11:29:45]Read from MH i2c: 01 [11:29:45]MH_I2C_Read... [11:29:45]*** Stop cut motor [11:29:45]*** Cut end [11:29:45]Read from MH i2c: 01 07 00 [11:29:45]MH_I2C_Read... [11:29:45]Read from MH i2c: 01 07 00 7A 02 00 00 00 00 00 FF 0F 91 [11:29:45]process_action close_receipt done [11:29:45]requested_data is exist [11:29:45]produce_requested_data [11:29:45]requested_item fm.sn is exist - process it [11:29:45]wFMCommunicate request_size=4 [11:29:45]MH_SAM_APDU [11:29:45]CAPDU: 80 11 00 00 [11:29:45]Write to MH i2c: E2 08 00 7B 02 80 11 00 00 00 00 00 00 F7 [11:29:45]Write i2c OK [11:29:45]MH_I2C_Read... [11:29:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:29:45]Read from MH i2c: E2 [11:29:45]MH_I2C_Read... [11:29:45]Read from MH i2c: E2 17 00 [11:29:45]MH_I2C_Read... [11:29:45]Read from MH i2c: E2 17 00 7B 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 50 [11:29:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [11:29:45]wFMCommunicate OK [11:29:45]requested_item fd.num is exist - process it [11:29:45]SAM_PROTO_GetFieldsCounters [11:29:45]wFMCommunicate request_size=4 [11:29:45]MH_SAM_APDU [11:29:45]CAPDU: 80 13 00 00 [11:29:45]Write to MH i2c: E2 08 00 7C 02 80 13 00 00 00 00 00 00 FA [11:29:45]Write i2c OK [11:29:45]MH_I2C_Read... [11:29:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:29:45]Read from MH i2c: E2 [11:29:45]MH_I2C_Read... [11:29:45]Read from MH i2c: E2 62 00 [11:29:45]MH_I2C_Read... [11:29:45]Read from MH i2c: E2 62 00 7C 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 FC 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 59 [11:29:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 FC 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:29:45]wFMCommunicate OK [11:29:45]SAM_PROTO_GetFieldsCounters done [11:29:45]requested_item shift.num is exist - process it [11:29:45]requested_item shift.opened is exist - process it [11:29:45]req_shift_opened [11:29:45]FM_GetShiftState [11:29:45]SAM_PROTO_GetShiftState [11:29:45]wFMCommunicate request_size=4 [11:29:45]MH_SAM_APDU [11:29:45]CAPDU: 80 13 01 00 [11:29:45]Write to MH i2c: E2 08 00 7D 02 80 13 01 00 00 00 00 00 FC [11:29:45]Write i2c OK [11:29:45]MH_I2C_Read... [11:29:45]Read from MH i2c: E2 [11:29:45]MH_I2C_Read... [11:29:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:29:45]Read from MH i2c: E2 0E 00 [11:29:45]MH_I2C_Read... [11:29:45]Read from MH i2c: E2 0E 00 7D 02 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 E9 [11:29:45]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [11:29:45]wFMCommunicate OK [11:29:45]SAM_PROTO_GetShiftState done [11:29:45]FM_GetShiftState done [11:29:45]req_shift_opened done [11:29:45]requested_item shift.open_date is exist - process it [11:29:45]req_shift_open_date [11:29:45]req_shift_open_date done [11:29:45]produce_requested_data done [11:29:45]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18940,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [11:29:45]process_action_free close_receipt [11:29:45]json_value_free [11:29:45]json_value_free done [11:29:45]process_json_proto returns [11:29:45]Send response to host [11:29:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18940,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [11:29:45]free response buf [11:29:45]execute_script done [11:29:45]execute_script returns [11:29:45]free content buf [11:29:45]Sock 8.Close socket [11:29:45]Sock 8.Thread stoped [11:29:49]OFD Sender: No OFD packet to send [11:29:54]OFD Sender: No OFD packet to send [11:29:59]OFD Sender: No OFD packet to send [11:30:04]OFD Sender: No OFD packet to send [11:30:09]OFD Sender: No OFD packet to send [11:30:14]OFD Sender: No OFD packet to send [11:30:19]OFD Sender: No OFD packet to send [11:30:24]OFD Sender: No OFD packet to send [11:30:29]OFD Sender: No OFD packet to send [11:30:34]OFD Sender: No OFD packet to send [11:30:39]OFD Sender: No OFD packet to send [11:30:44]OFD Sender: No OFD packet to send [11:30:49]OFD Sender: No OFD packet to send [11:30:54]OFD Sender: No OFD packet to send [11:30:59]OFD Sender: No OFD packet to send [11:31:04]OFD Sender: No OFD packet to send [11:31:09]OFD Sender: No OFD packet to send [11:31:14]OFD Sender: No OFD packet to send [11:31:19]OFD Sender: No OFD packet to send [11:31:24]OFD Sender: No OFD packet to send [11:31:29]OFD Sender: No OFD packet to send [11:31:34]OFD Sender: No OFD packet to send [11:31:39]OFD Sender: No OFD packet to send [11:31:39]accept exits with 9 [11:31:39]New connection [11:31:39]New thread 3066764644 created [11:31:39]Thread 3066621284 joined [11:31:39]Waiting for new connection... [11:31:39] Sock 9.Parse request [11:31:39]Sock 9.Check first char [11:31:39]Sock 9.First char is OK [11:31:39]request: POST /json_proto HTTP/1.0 [11:31:39]Method: POST [11:31:39]URL: /json_proto [11:31:39]Method is POST - this is cgi request [11:31:39]url: /json_proto [11:31:39]query_string will be loaded in cgi processing [11:31:39]execute_cgi json_proto POST (null) [11:31:39]execute_cgi path=json_proto method=POST [11:31:39]POST find Content-Length [11:31:39]Host: 172.17.62.196:8080 [11:31:39]Content-Length: 1159 [11:31:39]Content-Type: application/json [11:31:39] [11:31:39]POST finish read [11:31:39]Found Content-Length = 1159 [11:31:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16861", "tax_sys" : 0, "items" : [ { "code": "4870002328404", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010087", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Lets Go \u0437\u0435\u043B \u0447\u0430\u0439 \u044F\u0431\u043B-\u0433\u0440 \u041F\u042D\u0422 1,2\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:31:39]execute_script... [11:31:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16861", "tax_sys" : 0, "items" : [ { "code": "4870002328404", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010087", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Lets Go \u0437\u0435\u043B \u0447\u0430\u0439 \u044F\u0431\u043B-\u0433\u0440 \u041F\u042D\u0422 1,2\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:31:39]POST & json_proto [11:31:39]process_json_proto [11:31:39]json parsed OK: [11:31:39]protocol is kg_v1.0 [11:31:39]action value=close_receipt [11:31:39]process_action close_receipt [11:31:39]cmd_close_receipt [11:31:39]MH_GetDate [11:31:39]Write to MH i2c: F0 00 00 7E 02 6F [11:31:39]Write i2c OK [11:31:39]MH_I2C_Read... [11:31:39]Read from MH i2c: F0 [11:31:39]MH_I2C_Read... [11:31:39]Read from MH i2c: F0 09 00 [11:31:39]MH_I2C_Read... [11:31:39]Read from MH i2c: F0 09 00 7E 02 00 9C F4 F3 66 CE CC 0E 66 6F [11:31:39]GetLastDocTimeStamp 1727263782 [11:31:39]current date 1727263900 [11:31:39]FM_GetShiftState [11:31:39]SAM_PROTO_GetShiftState [11:31:39]wFMCommunicate request_size=4 [11:31:39]MH_SAM_APDU [11:31:39]CAPDU: 80 13 01 00 [11:31:39]Write to MH i2c: E2 08 00 7F 02 80 13 01 00 00 00 00 00 FE [11:31:39]Write i2c OK [11:31:39]MH_I2C_Read... [11:31:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:31:39]Read from MH i2c: E2 [11:31:39]MH_I2C_Read... [11:31:39]Read from MH i2c: E2 0E 00 [11:31:39]MH_I2C_Read... [11:31:39]Read from MH i2c: E2 0E 00 7F 02 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 EB [11:31:39]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [11:31:39]wFMCommunicate OK [11:31:39]SAM_PROTO_GetShiftState done [11:31:39]FM_GetShiftState done [11:31:39]opened in 1727223091 [11:31:39]opened+sec_in_day 1727309491 [11:31:39]quantity*price = 6500 [11:31:39]sum+1 = 6501 [11:31:39]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700003010087 Чай хол Lets Go зел чай ябл-гр ПЭТ 1,2л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.41 НДС 12% : 16.99 Наличными: 0.00 Безнал.: 160.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 19 25.09.2024 11:31 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18941 ФПД: 59875985506756 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T113140&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18941&fm=59875985506756&tin=02508201610067®Number=0000000000152968&sum=16000 0 [11:31:41]StoreToDocumentArchive [11:31:41]shift 183 fd 18941 [11:31:41]save to /storage/0183/doc_00018941 [11:31:41]save last doc name /storage/0183/doc_00018941 to /storage/kkm_last_doc_name [11:31:41]save OK [11:31:41]Clear old archive folders... [11:31:41]ProcessDocumentItem done err = 0, tmpTLVsize=425 [11:31:41]tlvbuf is 016042A0 [11:31:41]SAM_PROTO_ClearQueue [11:31:41]wFMCommunicate request_size=4 [11:31:41]MH_SAM_APDU [11:31:41]CAPDU: 80 09 00 00 [11:31:41]Write to MH i2c: E2 08 00 8C 02 80 09 00 00 00 00 00 00 00 [11:31:41]Write i2c OK [11:31:41]MH_I2C_Read... [11:31:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:31:41]Read from MH i2c: E2 [11:31:41]MH_I2C_Read... [11:31:41]Read from MH i2c: E2 03 00 [11:31:41]MH_I2C_Read... [11:31:41]Read from MH i2c: E2 03 00 8C 02 00 90 00 02 [11:31:41]RAPDU: 90 00 [11:31:41]wFMCommunicate OK [11:31:41]SAM_PROTO_ClearQueue done [11:31:41]KKMCreateOFDPacket [11:31:41]OFDProtocolAddRootSTLVToBuf [11:31:41]FM_MakeSignedData [11:31:41]FM_MakeSignedData [11:31:41]SAM_PROTO_SignData [11:31:41]wFMCommunicate request_size=4 [11:31:41]MH_SAM_APDU [11:31:41]CAPDU: 80 0D 01 02 [11:31:41]Write to MH i2c: E2 08 00 8D 02 80 0D 01 02 00 00 00 00 08 [11:31:41]Write i2c OK [11:31:41]MH_I2C_Read... [11:31:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:31:41]Read from MH i2c: E2 [11:31:41]MH_I2C_Read... [11:31:41]Read from MH i2c: E2 03 00 [11:31:41]MH_I2C_Read... [11:31:41]Read from MH i2c: E2 03 00 8D 02 00 90 00 03 [11:31:41]RAPDU: 90 00 [11:31:41]wFMCommunicate OK [11:31:41]wFMCommunicate request_size=255 [11:31:41]MH_SAM_APDU [11:31:41]CAPDU: 80 0D 02 02 FA 03 00 A9 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 34 30 34 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 [11:31:41]Write to MH i2c: E2 02 01 8E 02 80 0D 02 02 FA 00 03 00 A9 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 34 30 34 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 00 00 63 [11:31:41]Write i2c OK [11:31:41]MH_I2C_Read... [11:31:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:31:41]Read from MH i2c: E2 [11:31:41]MH_I2C_Read... [11:31:41]Read from MH i2c: E2 03 00 [11:31:41]MH_I2C_Read... [11:31:41]Read from MH i2c: E2 03 00 8E 02 00 90 00 04 [11:31:41]RAPDU: 90 00 [11:31:41]wFMCommunicate OK [11:31:41]wFMCommunicate request_size=184 [11:31:41]MH_SAM_APDU [11:31:41]CAPDU: 80 0D 02 02 B3 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 9C F4 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FD 49 00 00 35 04 06 00 36 74 F6 D8 C1 C4 [11:31:41]Write to MH i2c: E2 BB 00 8F 02 80 0D 02 02 B3 00 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 9C F4 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FD 49 00 00 35 04 06 00 36 74 F6 D8 C1 C4 00 00 29 [11:31:41]Write i2c OK [11:31:41]MH_I2C_Read... [11:31:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:31:41]Read from MH i2c: E2 [11:31:41]MH_I2C_Read... [11:31:41]Read from MH i2c: E2 03 00 [11:31:41]MH_I2C_Read... [11:31:41]Read from MH i2c: E2 03 00 8F 02 00 90 00 05 [11:31:41]RAPDU: 90 00 [11:31:41]wFMCommunicate OK [11:31:41]wFMCommunicate request_size=4 [11:31:41]MH_SAM_APDU [11:31:41]CAPDU: 80 0D 03 02 [11:31:41]Write to MH i2c: E2 08 00 90 02 80 0D 03 02 00 00 00 00 0D [11:31:41]Write i2c OK [11:31:41]MH_I2C_Read... [11:31:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:31:41]Read from MH i2c: E2 [11:31:41]MH_I2C_Read... [11:31:41]Read from MH i2c: E2 0B 00 [11:31:41]MH_I2C_Read... [11:31:41]Read from MH i2c: E2 0B 00 90 02 00 37 33 41 DF F3 D0 62 35 90 00 F2 [11:31:41]RAPDU: 37 33 41 DF F3 D0 62 35 90 00 [11:31:41]wFMCommunicate OK [11:31:41]SAM_PROTO_SignData done [11:31:41]FM_MakeSignedData done [11:31:41]CreateOFDProtocolMessage [11:31:41]wFMCommunicate request_size=4 [11:31:41]MH_SAM_APDU [11:31:41]CAPDU: 80 11 00 00 [11:31:41]Write to MH i2c: E2 08 00 91 02 80 11 00 00 00 00 00 00 0D [11:31:41]Write i2c OK [11:31:41]MH_I2C_Read... [11:31:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:31:41]Read from MH i2c: E2 [11:31:41]MH_I2C_Read... [11:31:41]Read from MH i2c: E2 17 00 [11:31:41]MH_I2C_Read... [11:31:41]Read from MH i2c: E2 17 00 91 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 66 [11:31:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [11:31:41]wFMCommunicate OK [11:31:41]CreateOFDProtocolMessage done [11:31:41]OFDSenderStorePacket 18941 [11:31:41]StoreOFDPacket docnum=18941 [11:31:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 BD 01 00 00 AA 43 B5 01 82 B6 5A 03 01 00 03 00 A9 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 34 30 34 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 9C F4 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FD 49 00 00 35 04 06 00 36 74 F6 D8 C1 C4 37 33 41 DF F3 D0 62 35 [11:31:41]CheckFolder [11:31:41]dirname=/storage/ofd_packets [11:31:41]CheckFolder done [11:31:41]ProducePacketName [11:31:42]name=ofd_packets/00018941 [11:31:42]NVStorageSaveData ofd_packets/00018941 [11:31:42]File name is /storage/ofd_packets/00018941 [11:31:42]Write 475 bytes [11:31:42]NVStorageSaveData done [11:31:42]OFDSenderStorePacket done [11:31:42]KKMCreateOFDPacket done [11:31:42]NVStorageSaveData kkm_last_timestamp [11:31:42]File name is /storage/kkm_last_timestamp [11:31:42]Write 4 bytes [11:31:42]NVStorageSaveData done [11:31:42]ExternCall_PrintAddStr [11:31:42]wPrintStart [11:31:42]Write to MH i2c: 01 00 00 92 02 94 [11:31:42]Write i2c OK [11:31:42]MH_I2C_Read... [11:31:42]Read from MH i2c: 01 [11:31:42]MH_I2C_Read... [11:31:42]Read from MH i2c: 01 07 00 [11:31:42]MH_I2C_Read... [11:31:42]Read from MH i2c: 01 07 00 92 02 00 00 00 00 00 FF 0F A9 [11:31:42]RasterBufferAndPrint [11:31:42]line Счет N : (3)16861 [11:31:42]line ИНН: 02508201610067 [11:31:42]line Контрольно-Кассовый Чек [11:31:42]line ПРОДАЖА [11:31:42]line Товар: 4870002328404 [11:31:42]line Вода ASU пит н.газ мята ПЭТ 0,5л [11:31:42]line 1.000 * 65.00 [11:31:42]line = 65.00 [11:31:42]line НДС 12% НСП 1% [11:31:42]line > о реализуемом товаре [11:31:42]line Товар: 4700003010087 [11:31:42]line Чай хол Lets Go зел чай ябл-гр ПЭТ 1,2л [11:31:42]line 1.000 * 95.00 [11:31:42]line = 95.00 [11:31:42]line НДС 12% НСП 1% [11:31:42]line > о реализуемом товаре [11:31:42]line ИТОГО: 160.00 [11:31:42]line НСП 1% : 1.41 [11:31:42]line НДС 12% : 16.99 [11:31:42]line Наличными: 0.00 [11:31:42]line Безнал.: 160.00 [11:31:42]line Место: АЗС № 176 "Партнер Нефть" [11:31:42]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [11:31:42]line СНО: Общий режим [11:31:42]line Чек 19 25.09.2024 11:31 [11:31:42]line Смена: 183 ФФД: 1.0 [11:31:42]line ЗНМ: 0300000010 [11:31:42]line РНМ: 0000000000152968 [11:31:42]line Версия ККМ: v1.0 [11:31:42]line Платежная система: O! деньги [11:31:42]line ФМ: 0000000000959456 [11:31:42]line ФД: 18941 [11:31:42]line ФПД: 59875985506756 [11:31:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T113140&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18941&fm=59875985506756&tin=02508201610067®Number=0000000000152968&sum=16000 [11:31:42]line 0 [11:31:42]written 0, free lines is 4095 [11:31:42]OFD Sender: Processing packet 18941 [packets to send 7, broken 6] [11:31:42]ProducePacketName [11:31:42]name=ofd_packets/00018941 [11:31:42]OFD Sender: To server: pG, [11:31:42]CommunicateWithHost lk.salyk.kg:30040 [11:31:42]ConnectInit lk.salyk.kg [11:31:42]Connected sock=8 [11:31:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 BD 01 00 00 AA 43 B5 01 82 B6 5A 03 01 00 03 00 A9 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 34 30 34 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 9C F4 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FD 49 00 00 35 04 06 00 36 74 F6 D8 C1 C4 37 33 41 DF F3 D0 62 35 [11:31:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 B3 82 47 00 22 DF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FD 49 00 00 F4 03 04 00 FA 9D F3 66 B6 04 01 00 00 0C 17 2B 9F F4 56 C8 43 [11:31:42]CommunicateWithHost err = 0 [11:31:42]CheckOFDResponse [11:31:42]1017 (14) - 77093643461234 [11:31:42]1041 (16) - 0000000000959456 [11:31:42]1040 (4) - 18941 [11:31:42]1012 (4) - 25.09.2024 05:22 [11:31:42]1206 (1) - 0 [11:31:42]OFD Sender: Remove packet 18941 [11:31:42]ProducePacketName [11:31:42]name=ofd_packets/00018941 [11:31:42]NVStorageDeleteData [11:31:42]Write to MH i2c: 01 00 00 C4 02 C6 [11:31:42]Write i2c OK [11:31:42]MH_I2C_Read... [11:31:42]Read from MH i2c: 01 [11:31:42]MH_I2C_Read... [11:31:42]Read from MH i2c: 01 07 00 [11:31:42]MH_I2C_Read... [11:31:42]Read from MH i2c: 01 07 00 C4 02 00 00 00 00 00 9B 0C 74 [11:31:42]RasterBufferAndPrint [11:31:42]line [11:31:42]line [11:31:42]line [11:31:42]line [11:31:42]line [11:31:42]written 0, free lines is 3233 [11:31:42]MH_Cut [11:31:42]Write to MH i2c: D1 01 00 CB 02 01 9F [11:31:42]Write i2c OK [11:31:42]MH_I2C_Read... [11:31:42]Read from MH i2c: D1 [11:31:42]MH_I2C_Read... [11:31:42]Read from MH i2c: D1 01 00 [11:31:42]MH_I2C_Read... [11:31:42]Read from MH i2c: D1 01 00 CB 02 00 9E [11:31:42]Write to MH i2c: 01 00 00 CC 02 CE [11:31:42]Write i2c OK [11:31:42]MH_I2C_Read... [11:31:43]OFD Sender: No OFD packet to send [11:31:43]*** Cut start [11:31:43]*** Partial cut [11:31:43]*** CUTSNS_PIN = 1 [11:31:43]*** CUTSNS_PIN = 0 [11:31:43]*** Brake cut motor [11:31:43]Read from MH i2c: 01 [11:31:43]MH_I2C_Read... [11:31:43]*** Stop cut motor [11:31:43]*** Cut end [11:31:43]Read from MH i2c: 01 07 00 [11:31:43]MH_I2C_Read... [11:31:43]Read from MH i2c: 01 07 00 CC 02 00 00 00 00 00 FF 0F E3 [11:31:43]process_action close_receipt done [11:31:43]requested_data is exist [11:31:43]produce_requested_data [11:31:43]requested_item fm.sn is exist - process it [11:31:43]wFMCommunicate request_size=4 [11:31:43]MH_SAM_APDU [11:31:43]CAPDU: 80 11 00 00 [11:31:43]Write to MH i2c: E2 08 00 CD 02 80 11 00 00 00 00 00 00 49 [11:31:43]Write i2c OK [11:31:43]MH_I2C_Read... [11:31:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:31:43]Read from MH i2c: E2 [11:31:43]MH_I2C_Read... [11:31:43]Read from MH i2c: E2 17 00 [11:31:43]MH_I2C_Read... [11:31:43]Read from MH i2c: E2 17 00 CD 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 A2 [11:31:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [11:31:43]wFMCommunicate OK [11:31:43]requested_item fd.num is exist - process it [11:31:43]SAM_PROTO_GetFieldsCounters [11:31:43]wFMCommunicate request_size=4 [11:31:43]MH_SAM_APDU [11:31:43]CAPDU: 80 13 00 00 [11:31:43]Write to MH i2c: E2 08 00 CE 02 80 13 00 00 00 00 00 00 4C [11:31:43]Write i2c OK [11:31:43]MH_I2C_Read... [11:31:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:31:44]Read from MH i2c: E2 [11:31:44]MH_I2C_Read... [11:31:44]Read from MH i2c: E2 62 00 [11:31:44]MH_I2C_Read... [11:31:44]Read from MH i2c: E2 62 00 CE 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 FD 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 AF [11:31:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 FD 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:31:44]wFMCommunicate OK [11:31:44]SAM_PROTO_GetFieldsCounters done [11:31:44]requested_item shift.num is exist - process it [11:31:44]requested_item shift.opened is exist - process it [11:31:44]req_shift_opened [11:31:44]FM_GetShiftState [11:31:44]SAM_PROTO_GetShiftState [11:31:44]wFMCommunicate request_size=4 [11:31:44]MH_SAM_APDU [11:31:44]CAPDU: 80 13 01 00 [11:31:44]Write to MH i2c: E2 08 00 CF 02 80 13 01 00 00 00 00 00 4E [11:31:44]Write i2c OK [11:31:44]MH_I2C_Read... [11:31:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:31:44]Read from MH i2c: E2 [11:31:44]MH_I2C_Read... [11:31:44]Read from MH i2c: E2 0E 00 [11:31:44]MH_I2C_Read... [11:31:44]Read from MH i2c: E2 0E 00 CF 02 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 3B [11:31:44]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [11:31:44]wFMCommunicate OK [11:31:44]SAM_PROTO_GetShiftState done [11:31:44]FM_GetShiftState done [11:31:44]req_shift_opened done [11:31:44]requested_item shift.open_date is exist - process it [11:31:44]req_shift_open_date [11:31:44]req_shift_open_date done [11:31:44]produce_requested_data done [11:31:44]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18941,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [11:31:44]process_action_free close_receipt [11:31:44]json_value_free [11:31:44]json_value_free done [11:31:44]process_json_proto returns [11:31:44]Send response to host [11:31:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18941,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [11:31:44]free response buf [11:31:44]execute_script done [11:31:44]execute_script returns [11:31:44]free content buf [11:31:44]Sock 9.Close socket [11:31:44]Sock 9.Thread stoped [11:31:48]OFD Sender: No OFD packet to send [11:31:53]OFD Sender: No OFD packet to send [11:31:58]OFD Sender: No OFD packet to send [11:32:01]accept exits with 10 [11:32:01]New connection [11:32:01]New thread 3066621284 created [11:32:01]Thread 3066764644 joined [11:32:01]Waiting for new connection... [11:32:01] Sock 10.Parse request [11:32:01]Sock 10.Check first char [11:32:01]Sock 10.First char is OK [11:32:01]request: POST /json_proto HTTP/1.0 [11:32:01]Method: POST [11:32:01]URL: /json_proto [11:32:01]Method is POST - this is cgi request [11:32:01]url: /json_proto [11:32:01]query_string will be loaded in cgi processing [11:32:01]execute_cgi json_proto POST (null) [11:32:01]execute_cgi path=json_proto method=POST [11:32:01]POST find Content-Length [11:32:01]Host: 172.17.62.196:8080 [11:32:01]Content-Length: 631 [11:32:01]Content-Type: application/json [11:32:01] [11:32:01]POST finish read [11:32:01]Found Content-Length = 631 [11:32:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16862", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:32:01]execute_script... [11:32:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16862", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:32:01]POST & json_proto [11:32:01]process_json_proto [11:32:01]json parsed OK: [11:32:01]protocol is kg_v1.0 [11:32:01]action value=close_receipt [11:32:01]process_action close_receipt [11:32:01]cmd_close_receipt [11:32:01]MH_GetDate [11:32:01]Write to MH i2c: F0 00 00 D0 02 C1 [11:32:01]Write i2c OK [11:32:01]MH_I2C_Read... [11:32:01]Read from MH i2c: F0 [11:32:01]MH_I2C_Read... [11:32:01]Read from MH i2c: F0 09 00 [11:32:01]MH_I2C_Read... [11:32:01]Read from MH i2c: F0 09 00 D0 02 00 B2 F4 F3 66 CE CC 0E 66 D7 [11:32:01]GetLastDocTimeStamp 1727263900 [11:32:01]current date 1727263922 [11:32:01]FM_GetShiftState [11:32:01]SAM_PROTO_GetShiftState [11:32:01]wFMCommunicate request_size=4 [11:32:01]MH_SAM_APDU [11:32:01]CAPDU: 80 13 01 00 [11:32:01]Write to MH i2c: E2 08 00 D1 02 80 13 01 00 00 00 00 00 50 [11:32:01]Write i2c OK [11:32:01]MH_I2C_Read... [11:32:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:32:01]Read from MH i2c: E2 [11:32:01]MH_I2C_Read... [11:32:01]Read from MH i2c: E2 0E 00 [11:32:01]MH_I2C_Read... [11:32:01]Read from MH i2c: E2 0E 00 D1 02 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 3D [11:32:01]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [11:32:01]wFMCommunicate OK [11:32:01]SAM_PROTO_GetShiftState done [11:32:01]FM_GetShiftState done [11:32:01]opened in 1727223091 [11:32:01]opened+sec_in_day 1727309491 [11:32:01]quantity*price = 6000 [11:32:01]sum+1 = 6001 [11:32:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 20 25.09.2024 11:32 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18942 ФПД: 115759778353846 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T113202&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18942&fm=115759778353846&tin=02508201610067®Number=0000000000152968&sum=6000 0 [11:32:02]StoreToDocumentArchive [11:32:02]shift 183 fd 18942 [11:32:02]save to /storage/0183/doc_00018942 [11:32:02]save last doc name /storage/0183/doc_00018942 to /storage/kkm_last_doc_name [11:32:02]save OK [11:32:02]Clear old archive folders... [11:32:02]ProcessDocumentItem done err = 0, tmpTLVsize=271 [11:32:02]tlvbuf is 015FDA90 [11:32:02]SAM_PROTO_ClearQueue [11:32:02]wFMCommunicate request_size=4 [11:32:02]MH_SAM_APDU [11:32:02]CAPDU: 80 09 00 00 [11:32:02]Write to MH i2c: E2 08 00 DE 02 80 09 00 00 00 00 00 00 52 [11:32:02]Write i2c OK [11:32:02]MH_I2C_Read... [11:32:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:32:02]Read from MH i2c: E2 [11:32:02]MH_I2C_Read... [11:32:02]Read from MH i2c: E2 03 00 [11:32:02]MH_I2C_Read... [11:32:02]Read from MH i2c: E2 03 00 DE 02 00 90 00 54 [11:32:02]RAPDU: 90 00 [11:32:02]wFMCommunicate OK [11:32:02]SAM_PROTO_ClearQueue done [11:32:02]KKMCreateOFDPacket [11:32:02]OFDProtocolAddRootSTLVToBuf [11:32:02]FM_MakeSignedData [11:32:02]FM_MakeSignedData [11:32:02]SAM_PROTO_SignData [11:32:02]wFMCommunicate request_size=4 [11:32:02]MH_SAM_APDU [11:32:02]CAPDU: 80 0D 01 02 [11:32:02]Write to MH i2c: E2 08 00 DF 02 80 0D 01 02 00 00 00 00 5A [11:32:02]Write i2c OK [11:32:02]MH_I2C_Read... [11:32:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:32:02]Read from MH i2c: E2 [11:32:02]MH_I2C_Read... [11:32:02]Read from MH i2c: E2 03 00 [11:32:02]MH_I2C_Read... [11:32:02]Read from MH i2c: E2 03 00 DF 02 00 90 00 55 [11:32:02]RAPDU: 90 00 [11:32:02]wFMCommunicate OK [11:32:02]wFMCommunicate request_size=255 [11:32:02]MH_SAM_APDU [11:32:02]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 B2 F4 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [11:32:02]Write to MH i2c: E2 02 01 E0 02 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 B2 F4 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 59 [11:32:02]Write i2c OK [11:32:02]MH_I2C_Read... [11:32:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:32:03]Read from MH i2c: E2 [11:32:03]MH_I2C_Read... [11:32:03]Read from MH i2c: E2 03 00 [11:32:03]MH_I2C_Read... [11:32:03]Read from MH i2c: E2 03 00 E0 02 00 90 00 56 [11:32:03]RAPDU: 90 00 [11:32:03]wFMCommunicate OK [11:32:03]wFMCommunicate request_size=30 [11:32:03]MH_SAM_APDU [11:32:03]CAPDU: 80 0D 02 02 19 30 39 35 39 34 35 36 10 04 04 00 FE 49 00 00 35 04 06 00 69 48 6C 77 D2 B6 [11:32:03]Write to MH i2c: E2 21 00 E1 02 80 0D 02 02 19 00 30 39 35 39 34 35 36 10 04 04 00 FE 49 00 00 35 04 06 00 69 48 6C 77 D2 B6 00 00 BF [11:32:03]Write i2c OK [11:32:03]MH_I2C_Read... [11:32:03]OFD Sender: No OFD packet to send [11:32:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:32:03]Read from MH i2c: E2 [11:32:03]MH_I2C_Read... [11:32:03]Read from MH i2c: E2 03 00 [11:32:03]MH_I2C_Read... [11:32:03]Read from MH i2c: E2 03 00 E1 02 00 90 00 57 [11:32:03]RAPDU: 90 00 [11:32:03]wFMCommunicate OK [11:32:03]wFMCommunicate request_size=4 [11:32:03]MH_SAM_APDU [11:32:03]CAPDU: 80 0D 03 02 [11:32:03]Write to MH i2c: E2 08 00 E2 02 80 0D 03 02 00 00 00 00 5F [11:32:03]Write i2c OK [11:32:03]MH_I2C_Read... [11:32:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:32:03]Read from MH i2c: E2 [11:32:03]MH_I2C_Read... [11:32:03]Read from MH i2c: E2 0B 00 [11:32:03]MH_I2C_Read... [11:32:03]Read from MH i2c: E2 0B 00 E2 02 00 95 9C FD 64 9A 74 3C D9 90 00 15 [11:32:03]RAPDU: 95 9C FD 64 9A 74 3C D9 90 00 [11:32:03]wFMCommunicate OK [11:32:03]SAM_PROTO_SignData done [11:32:03]FM_MakeSignedData done [11:32:03]CreateOFDProtocolMessage [11:32:03]wFMCommunicate request_size=4 [11:32:03]MH_SAM_APDU [11:32:03]CAPDU: 80 11 00 00 [11:32:03]Write to MH i2c: E2 08 00 E3 02 80 11 00 00 00 00 00 00 5F [11:32:03]Write i2c OK [11:32:03]MH_I2C_Read... [11:32:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:32:03]Read from MH i2c: E2 [11:32:03]MH_I2C_Read... [11:32:03]Read from MH i2c: E2 17 00 [11:32:03]MH_I2C_Read... [11:32:03]Read from MH i2c: E2 17 00 E3 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 B8 [11:32:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [11:32:03]wFMCommunicate OK [11:32:03]CreateOFDProtocolMessage done [11:32:03]OFDSenderStorePacket 18942 [11:32:03]StoreOFDPacket docnum=18942 [11:32:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 23 01 00 00 3C 60 1B 01 A3 41 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 B2 F4 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FE 49 00 00 35 04 06 00 69 48 6C 77 D2 B6 95 9C FD 64 9A 74 3C D9 [11:32:03]CheckFolder [11:32:03]dirname=/storage/ofd_packets [11:32:03]CheckFolder done [11:32:03]ProducePacketName [11:32:03]name=ofd_packets/00018942 [11:32:03]NVStorageSaveData ofd_packets/00018942 [11:32:03]File name is /storage/ofd_packets/00018942 [11:32:03]Write 321 bytes [11:32:03]NVStorageSaveData done [11:32:03]OFDSenderStorePacket done [11:32:03]KKMCreateOFDPacket done [11:32:03]NVStorageSaveData kkm_last_timestamp [11:32:03]File name is /storage/kkm_last_timestamp [11:32:03]Write 4 bytes [11:32:03]NVStorageSaveData done [11:32:03]ExternCall_PrintAddStr [11:32:03]wPrintStart [11:32:03]Write to MH i2c: 01 00 00 E4 02 E6 [11:32:03]Write i2c OK [11:32:03]MH_I2C_Read... [11:32:03]Read from MH i2c: 01 [11:32:03]MH_I2C_Read... [11:32:03]Read from MH i2c: 01 07 00 [11:32:03]MH_I2C_Read... [11:32:03]Read from MH i2c: 01 07 00 E4 02 00 00 00 00 00 FF 0F FB [11:32:03]RasterBufferAndPrint [11:32:03]line Счет N : (3)16862 [11:32:03]line ИНН: 02508201610067 [11:32:03]line Контрольно-Кассовый Чек [11:32:03]line ПРОДАЖА [11:32:03]line Товар: 4700000160204 [11:32:03]line Вода Легенда 1,5л [11:32:03]line 1.000 * 60.00 [11:32:03]line = 60.00 [11:32:03]line НДС 12% НСП 1% [11:32:03]line > о реализуемом товаре [11:32:03]line ИТОГО: 60.00 [11:32:03]line НСП 1% : 0.53 [11:32:03]line НДС 12% : 6.37 [11:32:03]line Наличными: 60.00 [11:32:03]line Безнал.: 0.00 [11:32:03]line Место: АЗС № 176 "Партнер Нефть" [11:32:03]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [11:32:03]line СНО: Общий режим [11:32:03]line Чек 20 25.09.2024 11:32 [11:32:03]line Смена: 183 ФФД: 1.0 [11:32:03]line ЗНМ: 0300000010 [11:32:03]line РНМ: 0000000000152968 [11:32:03]line Версия ККМ: v1.0 [11:32:03]line ФМ: 0000000000959456 [11:32:03]line ФД: 18942 [11:32:03]line ФПД: 115759778353846 [11:32:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T113202&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18942&fm=115759778353846&tin=02508201610067®Number=0000000000152968&sum=6000 [11:32:03]line 0 [11:32:03]OFD Sender: Processing packet 18942 [packets to send 7, broken 6] [11:32:03]ProducePacketName [11:32:03]name=ofd_packets/00018942 [11:32:03]OFD Sender: To server: pG, [11:32:03]CommunicateWithHost lk.salyk.kg:30040 [11:32:03]ConnectInit lk.salyk.kg [11:32:03]written 0, free lines is 4095 [11:32:03]Connected sock=8 [11:32:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 23 01 00 00 3C 60 1B 01 A3 41 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 B2 F4 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FE 49 00 00 35 04 06 00 69 48 6C 77 D2 B6 95 9C FD 64 9A 74 3C D9 [11:32:04]Write to MH i2c: 01 00 00 0C 03 0F [11:32:04]Write i2c OK [11:32:04]MH_I2C_Read... [11:32:04]Read from MH i2c: 01 [11:32:04]MH_I2C_Read... [11:32:04]Read from MH i2c: 01 07 00 [11:32:04]MH_I2C_Read... [11:32:04]Read from MH i2c: 01 07 00 0C 03 00 00 00 00 00 19 0D 3C [11:32:04]RasterBufferAndPrint [11:32:04]line [11:32:04]line [11:32:04]line [11:32:04]line [11:32:04]line [11:32:04]written 0, free lines is 3359 [11:32:04]MH_Cut [11:32:04]Write to MH i2c: D1 01 00 13 03 01 E8 [11:32:04]Write i2c OK [11:32:04]MH_I2C_Read... [11:32:04]Read from MH i2c: D1 [11:32:04]MH_I2C_Read... [11:32:04]Read from MH i2c: D1 01 00 [11:32:04]MH_I2C_Read... [11:32:04]Read from MH i2c: D1 01 00 13 03 00 E7 [11:32:04]Write to MH i2c: 01 00 00 14 03 17 [11:32:04]Write i2c OK [11:32:04]MH_I2C_Read... [11:32:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 F3 A4 47 00 D0 77 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FE 49 00 00 F4 03 04 00 0F 9E F3 66 B6 04 01 00 00 74 8A 32 FA D1 F3 E2 5D [11:32:04]CommunicateWithHost err = 0 [11:32:04]CheckOFDResponse [11:32:04]1017 (14) - 77093643461234 [11:32:04]1041 (16) - 0000000000959456 [11:32:04]1040 (4) - 18942 [11:32:04]1012 (4) - 25.09.2024 05:22 [11:32:04]1206 (1) - 0 [11:32:04]OFD Sender: Remove packet 18942 [11:32:04]ProducePacketName [11:32:04]name=ofd_packets/00018942 [11:32:04]NVStorageDeleteData [11:32:04]OFD Sender: No OFD packet to send [11:32:04]*** Cut start [11:32:04]*** Partial cut [11:32:04]*** CUTSNS_PIN = 1 [11:32:04]*** CUTSNS_PIN = 0 [11:32:04]*** Brake cut motor [11:32:05]Read from MH i2c: 01 [11:32:05]MH_I2C_Read... [11:32:05]*** Stop cut motor [11:32:05]*** Cut end [11:32:05]Read from MH i2c: 01 07 00 [11:32:05]MH_I2C_Read... [11:32:05]Read from MH i2c: 01 07 00 14 03 00 00 00 00 00 FF 0F 2C [11:32:05]process_action close_receipt done [11:32:05]requested_data is exist [11:32:05]produce_requested_data [11:32:05]requested_item fm.sn is exist - process it [11:32:05]wFMCommunicate request_size=4 [11:32:05]MH_SAM_APDU [11:32:05]CAPDU: 80 11 00 00 [11:32:05]Write to MH i2c: E2 08 00 15 03 80 11 00 00 00 00 00 00 92 [11:32:05]Write i2c OK [11:32:05]MH_I2C_Read... [11:32:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:32:05]Read from MH i2c: E2 [11:32:05]MH_I2C_Read... [11:32:05]Read from MH i2c: E2 17 00 [11:32:05]MH_I2C_Read... [11:32:05]Read from MH i2c: E2 17 00 15 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 EB [11:32:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [11:32:05]wFMCommunicate OK [11:32:05]requested_item fd.num is exist - process it [11:32:05]SAM_PROTO_GetFieldsCounters [11:32:05]wFMCommunicate request_size=4 [11:32:05]MH_SAM_APDU [11:32:05]CAPDU: 80 13 00 00 [11:32:05]Write to MH i2c: E2 08 00 16 03 80 13 00 00 00 00 00 00 95 [11:32:05]Write i2c OK [11:32:05]MH_I2C_Read... [11:32:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:32:05]Read from MH i2c: E2 [11:32:05]MH_I2C_Read... [11:32:05]Read from MH i2c: E2 62 00 [11:32:05]MH_I2C_Read... [11:32:05]Read from MH i2c: E2 62 00 16 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 FE 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 FC [11:32:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 FE 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:32:05]wFMCommunicate OK [11:32:05]SAM_PROTO_GetFieldsCounters done [11:32:05]requested_item shift.num is exist - process it [11:32:05]requested_item shift.opened is exist - process it [11:32:05]req_shift_opened [11:32:05]FM_GetShiftState [11:32:05]SAM_PROTO_GetShiftState [11:32:05]wFMCommunicate request_size=4 [11:32:05]MH_SAM_APDU [11:32:05]CAPDU: 80 13 01 00 [11:32:05]Write to MH i2c: E2 08 00 17 03 80 13 01 00 00 00 00 00 97 [11:32:05]Write i2c OK [11:32:05]MH_I2C_Read... [11:32:05]Read from MH i2c: E2 [11:32:05]MH_I2C_Read... [11:32:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:32:05]Read from MH i2c: E2 0E 00 [11:32:05]MH_I2C_Read... [11:32:05]Read from MH i2c: E2 0E 00 17 03 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 84 [11:32:05]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [11:32:05]wFMCommunicate OK [11:32:05]SAM_PROTO_GetShiftState done [11:32:05]FM_GetShiftState done [11:32:05]req_shift_opened done [11:32:05]requested_item shift.open_date is exist - process it [11:32:05]req_shift_open_date [11:32:05]req_shift_open_date done [11:32:05]produce_requested_data done [11:32:05]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18942,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [11:32:05]process_action_free close_receipt [11:32:05]json_value_free [11:32:05]json_value_free done [11:32:05]process_json_proto returns [11:32:05]Send response to host [11:32:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18942,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [11:32:05]free response buf [11:32:05]execute_script done [11:32:05]execute_script returns [11:32:05]free content buf [11:32:05]Sock 10.Close socket [11:32:05]Sock 10.Thread stoped [11:32:09]OFD Sender: No OFD packet to send [11:32:14]OFD Sender: No OFD packet to send [11:32:19]OFD Sender: No OFD packet to send [11:32:24]OFD Sender: No OFD packet to send [11:32:29]OFD Sender: No OFD packet to send [11:32:34]OFD Sender: No OFD packet to send [11:32:39]OFD Sender: No OFD packet to send [11:32:44]OFD Sender: No OFD packet to send [11:32:49]OFD Sender: No OFD packet to send [11:32:54]OFD Sender: No OFD packet to send [11:32:59]OFD Sender: No OFD packet to send [11:33:04]OFD Sender: No OFD packet to send [11:33:09]OFD Sender: No OFD packet to send [11:33:14]OFD Sender: No OFD packet to send [11:33:19]OFD Sender: No OFD packet to send [11:33:24]OFD Sender: No OFD packet to send [11:33:29]OFD Sender: No OFD packet to send [11:33:34]OFD Sender: No OFD packet to send [11:33:39]OFD Sender: No OFD packet to send [11:33:44]OFD Sender: No OFD packet to send [11:33:49]OFD Sender: No OFD packet to send [11:33:54]OFD Sender: No OFD packet to send [11:33:59]OFD Sender: No OFD packet to send [11:34:04]OFD Sender: No OFD packet to send [11:34:09]OFD Sender: No OFD packet to send [11:34:14]OFD Sender: No OFD packet to send [11:34:19]OFD Sender: No OFD packet to send [11:34:24]OFD Sender: No OFD packet to send [11:34:29]OFD Sender: No OFD packet to send [11:34:34]OFD Sender: No OFD packet to send [11:34:39]OFD Sender: No OFD packet to send [11:34:44]OFD Sender: No OFD packet to send [11:34:49]OFD Sender: No OFD packet to send [11:34:54]OFD Sender: No OFD packet to send [11:34:59]OFD Sender: No OFD packet to send [11:35:04]OFD Sender: No OFD packet to send [11:35:09]OFD Sender: No OFD packet to send [11:35:14]OFD Sender: No OFD packet to send [11:35:19]OFD Sender: No OFD packet to send [11:35:24]OFD Sender: No OFD packet to send [11:35:29]OFD Sender: No OFD packet to send [11:35:34]OFD Sender: No OFD packet to send [11:35:39]OFD Sender: No OFD packet to send [11:35:44]OFD Sender: No OFD packet to send [11:35:49]OFD Sender: No OFD packet to send [11:35:54]OFD Sender: No OFD packet to send [11:35:59]OFD Sender: No OFD packet to send [11:36:04]OFD Sender: No OFD packet to send [11:36:09]OFD Sender: No OFD packet to send [11:36:12]accept exits with 9 [11:36:12]New connection [11:36:12]New thread 3066764644 created [11:36:12]Thread 3066621284 joined [11:36:12]Waiting for new connection... [11:36:12] Sock 9.Parse request [11:36:12]Sock 9.Check first char [11:36:12]Sock 9.First char is OK [11:36:12]request: POST /json_proto HTTP/1.0 [11:36:12]Method: POST [11:36:12]URL: /json_proto [11:36:12]Method is POST - this is cgi request [11:36:12]url: /json_proto [11:36:12]query_string will be loaded in cgi processing [11:36:12]execute_cgi json_proto POST (null) [11:36:12]execute_cgi path=json_proto method=POST [11:36:12]POST find Content-Length [11:36:12]Host: 172.17.62.196:8080 [11:36:12]Content-Length: 939 [11:36:12]Content-Type: application/json [11:36:12] [11:36:12]POST finish read [11:36:12]Found Content-Length = 939 [11:36:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16863", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4690329004542", "name": "\u0421\u043D\u0435\u043A \u041E\u0440\u0435\u0445\u0438 BEERKa \u0424\u0438\u0441\u0442\u0430\u0448\u043A\u0430 80\u0433", "price" : 188.00, "quantity" : 1.000, "sum" : 188.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 318.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:36:12]execute_script... [11:36:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16863", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4690329004542", "name": "\u0421\u043D\u0435\u043A \u041E\u0440\u0435\u0445\u0438 BEERKa \u0424\u0438\u0441\u0442\u0430\u0448\u043A\u0430 80\u0433", "price" : 188.00, "quantity" : 1.000, "sum" : 188.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 318.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:36:12]POST & json_proto [11:36:12]process_json_proto [11:36:12]json parsed OK: [11:36:12]protocol is kg_v1.0 [11:36:12]action value=close_receipt [11:36:12]process_action close_receipt [11:36:12]cmd_close_receipt [11:36:12]MH_GetDate [11:36:12]Write to MH i2c: F0 00 00 18 03 0A [11:36:12]Write i2c OK [11:36:12]MH_I2C_Read... [11:36:12]Read from MH i2c: F0 [11:36:12]MH_I2C_Read... [11:36:12]Read from MH i2c: F0 09 00 [11:36:12]MH_I2C_Read... [11:36:12]Read from MH i2c: F0 09 00 18 03 00 AD F5 F3 66 CE CC 0E 66 1C [11:36:12]GetLastDocTimeStamp 1727263922 [11:36:12]current date 1727264173 [11:36:12]FM_GetShiftState [11:36:12]SAM_PROTO_GetShiftState [11:36:12]wFMCommunicate request_size=4 [11:36:12]MH_SAM_APDU [11:36:12]CAPDU: 80 13 01 00 [11:36:12]Write to MH i2c: E2 08 00 19 03 80 13 01 00 00 00 00 00 99 [11:36:12]Write i2c OK [11:36:12]MH_I2C_Read... [11:36:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:36:12]Read from MH i2c: E2 [11:36:12]MH_I2C_Read... [11:36:12]Read from MH i2c: E2 0E 00 [11:36:12]MH_I2C_Read... [11:36:12]Read from MH i2c: E2 0E 00 19 03 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 86 [11:36:12]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [11:36:12]wFMCommunicate OK [11:36:12]SAM_PROTO_GetShiftState done [11:36:12]FM_GetShiftState done [11:36:12]opened in 1727223091 [11:36:12]opened+sec_in_day 1727309491 [11:36:12]quantity*price = 13000 [11:36:12]sum+1 = 13001 [11:36:12]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4690329004542 Снек Орехи BEERKa Фисташка 80г 1.000 * 188.00 = 188.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 318.00 НСП 1% : 2.81 НДС 12% : 33.76 Наличными: 318.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 21 25.09.2024 11:36 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18943 ФПД: 78043827313621 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T113613&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18943&fm=78043827313621&tin=02508201610067®Number=0000000000152968&sum=31800 0 [11:36:13]StoreToDocumentArchive [11:36:13]shift 183 fd 18943 [11:36:13]save to /storage/0183/doc_00018943 [11:36:13]save last doc name /storage/0183/doc_00018943 to /storage/kkm_last_doc_name [11:36:13]save OK [11:36:13]Clear old archive folders... [11:36:13]ProcessDocumentItem done err = 0, tmpTLVsize=402 [11:36:13]tlvbuf is 015FC500 [11:36:13]SAM_PROTO_ClearQueue [11:36:13]wFMCommunicate request_size=4 [11:36:13]MH_SAM_APDU [11:36:13]CAPDU: 80 09 00 00 [11:36:13]Write to MH i2c: E2 08 00 26 03 80 09 00 00 00 00 00 00 9B [11:36:13]Write i2c OK [11:36:13]MH_I2C_Read... [11:36:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:36:13]Read from MH i2c: E2 [11:36:13]MH_I2C_Read... [11:36:13]Read from MH i2c: E2 03 00 [11:36:13]MH_I2C_Read... [11:36:13]Read from MH i2c: E2 03 00 26 03 00 90 00 9D [11:36:13]RAPDU: 90 00 [11:36:13]wFMCommunicate OK [11:36:13]SAM_PROTO_ClearQueue done [11:36:13]KKMCreateOFDPacket [11:36:13]OFDProtocolAddRootSTLVToBuf [11:36:13]FM_MakeSignedData [11:36:13]FM_MakeSignedData [11:36:13]SAM_PROTO_SignData [11:36:13]wFMCommunicate request_size=4 [11:36:13]MH_SAM_APDU [11:36:13]CAPDU: 80 0D 01 02 [11:36:13]Write to MH i2c: E2 08 00 27 03 80 0D 01 02 00 00 00 00 A3 [11:36:13]Write i2c OK [11:36:13]MH_I2C_Read... [11:36:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:36:14]Read from MH i2c: E2 [11:36:14]MH_I2C_Read... [11:36:14]Read from MH i2c: E2 03 00 [11:36:14]MH_I2C_Read... [11:36:14]Read from MH i2c: E2 03 00 27 03 00 90 00 9E [11:36:14]RAPDU: 90 00 [11:36:14]wFMCommunicate OK [11:36:14]wFMCommunicate request_size=255 [11:36:14]MH_SAM_APDU [11:36:14]CAPDU: 80 0D 02 02 FA 03 00 92 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 39 30 33 32 39 30 30 34 35 34 32 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9E D1 80 D0 B5 D1 85 D0 B8 20 42 45 45 52 4B 61 20 D0 A4 D0 B8 D1 81 D1 82 D0 B0 D1 88 D0 BA D0 B0 20 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 49 00 00 00 00 13 04 06 00 70 49 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 7C 00 00 00 [11:36:14]Write to MH i2c: E2 02 01 28 03 80 0D 02 02 FA 00 03 00 92 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 39 30 33 32 39 30 30 34 35 34 32 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9E D1 80 D0 B5 D1 85 D0 B8 20 42 45 45 52 4B 61 20 D0 A4 D0 B8 D1 81 D1 82 D0 B0 D1 88 D0 BA D0 B0 20 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 49 00 00 00 00 13 04 06 00 70 49 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 7C 00 00 00 00 00 CC [11:36:14]Write i2c OK [11:36:14]MH_I2C_Read... [11:36:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:36:14]Read from MH i2c: E2 [11:36:14]MH_I2C_Read... [11:36:14]Read from MH i2c: E2 03 00 [11:36:14]MH_I2C_Read... [11:36:14]Read from MH i2c: E2 03 00 28 03 00 90 00 9F [11:36:14]RAPDU: 90 00 [11:36:14]wFMCommunicate OK [11:36:14]wFMCommunicate request_size=161 [11:36:14]MH_SAM_APDU [11:36:14]CAPDU: 80 0D 02 02 9C 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 0D 00 00 00 00 07 04 06 00 38 7C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 AD F5 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FF 49 00 00 35 04 06 00 46 FA FE 9A 9B D5 [11:36:14]Write to MH i2c: E2 A4 00 29 03 80 0D 02 02 9C 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 0D 00 00 00 00 07 04 06 00 38 7C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 AD F5 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FF 49 00 00 35 04 06 00 46 FA FE 9A 9B D5 00 00 89 [11:36:14]Write i2c OK [11:36:14]MH_I2C_Read... [11:36:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:36:14]Read from MH i2c: E2 [11:36:14]MH_I2C_Read... [11:36:14]Read from MH i2c: E2 03 00 [11:36:14]MH_I2C_Read... [11:36:14]Read from MH i2c: E2 03 00 29 03 00 90 00 A0 [11:36:14]RAPDU: 90 00 [11:36:14]wFMCommunicate OK [11:36:14]wFMCommunicate request_size=4 [11:36:14]MH_SAM_APDU [11:36:14]CAPDU: 80 0D 03 02 [11:36:14]Write to MH i2c: E2 08 00 2A 03 80 0D 03 02 00 00 00 00 A8 [11:36:14]Write i2c OK [11:36:14]MH_I2C_Read... [11:36:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:36:14]Read from MH i2c: E2 [11:36:14]MH_I2C_Read... [11:36:14]Read from MH i2c: E2 0B 00 [11:36:14]MH_I2C_Read... [11:36:14]Read from MH i2c: E2 0B 00 2A 03 00 94 39 39 40 44 3F B4 22 90 00 48 [11:36:14]RAPDU: 94 39 39 40 44 3F B4 22 90 00 [11:36:14]wFMCommunicate OK [11:36:14]SAM_PROTO_SignData done [11:36:14]FM_MakeSignedData done [11:36:14]CreateOFDProtocolMessage [11:36:14]wFMCommunicate request_size=4 [11:36:14]MH_SAM_APDU [11:36:14]CAPDU: 80 11 00 00 [11:36:14]Write to MH i2c: E2 08 00 2B 03 80 11 00 00 00 00 00 00 A8 [11:36:14]Write i2c OK [11:36:14]MH_I2C_Read... [11:36:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:36:14]Read from MH i2c: E2 [11:36:14]MH_I2C_Read... [11:36:14]Read from MH i2c: E2 17 00 [11:36:14]MH_I2C_Read... [11:36:14]Read from MH i2c: E2 17 00 2B 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 01 [11:36:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [11:36:14]wFMCommunicate OK [11:36:14]CreateOFDProtocolMessage done [11:36:14]OFDSenderStorePacket 18943 [11:36:14]StoreOFDPacket docnum=18943 [11:36:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 A6 01 00 00 3C 3D 9E 01 67 FC 5A 03 01 00 03 00 92 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 39 30 33 32 39 30 30 34 35 34 32 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9E D1 80 D0 B5 D1 85 D0 B8 20 42 45 45 52 4B 61 20 D0 A4 D0 B8 D1 81 D1 82 D0 B0 D1 88 D0 BA D0 B0 20 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 49 00 00 00 00 13 04 06 00 70 49 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 7C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 0D 00 00 00 00 07 04 06 00 38 7C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 AD F5 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FF 49 00 00 35 04 06 00 46 FA FE 9A 9B D5 94 39 39 40 44 3F B4 22 [11:36:14]CheckFolder [11:36:14]dirname=/storage/ofd_packets [11:36:14]CheckFolder done [11:36:14]ProducePacketName [11:36:14]name=ofd_packets/00018943 [11:36:14]NVStorageSaveData ofd_packets/00018943 [11:36:14]File name is /storage/ofd_packets/00018943 [11:36:14]Write 452 bytes [11:36:14]NVStorageSaveData done [11:36:14]OFDSenderStorePacket done [11:36:14]KKMCreateOFDPacket done [11:36:14]NVStorageSaveData kkm_last_timestamp [11:36:14]File name is /storage/kkm_last_timestamp [11:36:14]Write 4 bytes [11:36:14]NVStorageSaveData done [11:36:14]ExternCall_PrintAddStr [11:36:14]wPrintStart [11:36:14]Write to MH i2c: 01 00 00 2C 03 2F [11:36:14]Write i2c OK [11:36:14]MH_I2C_Read... [11:36:14]Read from MH i2c: 01 [11:36:14]MH_I2C_Read... [11:36:14]Read from MH i2c: 01 07 00 [11:36:14]MH_I2C_Read... [11:36:14]OFD Sender: Processing packet 18943 [packets to send 7, broken 6] [11:36:14]ProducePacketName [11:36:14]name=ofd_packets/00018943 [11:36:14]Read from MH i2c: 01 OFD Sender: To server: pG, [11:36:14]07 CommunicateWithHost lk.salyk.kg:30040 [11:36:14]00 ConnectInit lk.salyk.kg [11:36:14]2C 03 00 00 00 00 00 FF 0F 44 [11:36:14]RasterBufferAndPrint [11:36:14]line Счет N : (3)16863 [11:36:14]line ИНН: 02508201610067 [11:36:14]line Контрольно-Кассовый Чек [11:36:14]line ПРОДАЖА [11:36:14]line Товар: 2000036220012 [11:36:14]line Кофе Капучино XL(GABB TRADE) [11:36:14]line 1.000 * 130.00 [11:36:14]line = 130.00 [11:36:14]line НДС 12% НСП 1% [11:36:14]line > о реализуемом товаре [11:36:14]line Товар: 4690329004542 [11:36:14]line Снек Орехи BEERKa Фисташка 80г [11:36:14]line 1.000 * 188.00 [11:36:14]line = 188.00 [11:36:14]line НДС 12% НСП 1% [11:36:14]line > о реализуемом товаре [11:36:14]line ИТОГО: 318.00 [11:36:14]line НСП 1% : 2.81 [11:36:14]line НДС 12% : 33.76 [11:36:14]line Наличными: 318.00 [11:36:14]line Безнал.: 0.00 [11:36:14]line Место: АЗС № 176 "Партнер Нефть" [11:36:14]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [11:36:14]line СНО: Общий режим [11:36:14]line Чек 21 25.09.2024 11:36 [11:36:14]line Смена: 183 ФФД: 1.0 [11:36:14]line ЗНМ: 0300000010 [11:36:14]line РНМ: 0000000000152968 [11:36:14]line Версия ККМ: v1.0 [11:36:14]line ФМ: 0000000000959456 [11:36:14]line ФД: 18943 [11:36:14]line ФПД: 78043827313621 [11:36:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T113613&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18943&fm=78043827313621&tin=02508201610067®Number=0000000000152968&sum=31800 [11:36:14]line 0 [11:36:14]written 0, free lines is 4095 [11:36:15]Connected sock=11 [11:36:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 A6 01 00 00 3C 3D 9E 01 67 FC 5A 03 01 00 03 00 92 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 39 30 33 32 39 30 30 34 35 34 32 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9E D1 80 D0 B5 D1 85 D0 B8 20 42 45 45 52 4B 61 20 D0 A4 D0 B8 D1 81 D1 82 D0 B0 D1 88 D0 BA D0 B0 20 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 49 00 00 00 00 13 04 06 00 70 49 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 7C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 0D 00 00 00 00 07 04 06 00 38 7C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 AD F5 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FF 49 00 00 35 04 06 00 46 FA FE 9A 9B D5 94 39 39 40 44 3F B4 22 [11:36:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 0E 8D 47 00 6B 25 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 FF 49 00 00 F4 03 04 00 0B 9F F3 66 B6 04 01 00 00 94 25 74 44 F8 8D F8 A1 [11:36:15]CommunicateWithHost err = 0 [11:36:15]CheckOFDResponse [11:36:15]1017 (14) - 77093643461234 [11:36:15]1041 (16) - 0000000000959456 [11:36:15]1040 (4) - 18943 [11:36:15]1012 (4) - 25.09.2024 05:26 [11:36:15]1206 (1) - 0 [11:36:15]OFD Sender: Remove packet 18943 [11:36:15]ProducePacketName [11:36:15]name=ofd_packets/00018943 [11:36:15]NVStorageDeleteData [11:36:15]Write to MH i2c: 01 00 00 5C 03 5F [11:36:15]Write i2c OK [11:36:15]MH_I2C_Read... [11:36:15]Read from MH i2c: 01 [11:36:15]MH_I2C_Read... [11:36:15]Read from MH i2c: 01 07 00 [11:36:15]MH_I2C_Read... [11:36:15]Read from MH i2c: 01 07 00 5C 03 00 00 00 00 00 C0 0C 32 [11:36:15]RasterBufferAndPrint [11:36:15]line [11:36:15]line [11:36:15]line [11:36:15]line [11:36:15]line [11:36:15]written 0, free lines is 3273 [11:36:15]MH_Cut [11:36:15]Write to MH i2c: D1 01 00 63 03 01 38 [11:36:15]Write i2c OK [11:36:15]MH_I2C_Read... [11:36:15]Read from MH i2c: D1 [11:36:15]MH_I2C_Read... [11:36:15]Read from MH i2c: D1 01 00 [11:36:15]MH_I2C_Read... [11:36:15]Read from MH i2c: D1 01 00 63 03 00 37 [11:36:15]Write to MH i2c: 01 00 00 64 03 67 [11:36:15]Write i2c OK [11:36:15]MH_I2C_Read... [11:36:15]OFD Sender: No OFD packet to send [11:36:16]*** Cut start [11:36:16]*** Partial cut [11:36:16]*** CUTSNS_PIN = 1 [11:36:16]*** CUTSNS_PIN = 0 [11:36:16]*** Brake cut motor [11:36:16]Read from MH i2c: 01 [11:36:16]MH_I2C_Read... [11:36:16]*** Stop cut motor [11:36:16]*** Cut end [11:36:16]Read from MH i2c: 01 07 00 [11:36:16]MH_I2C_Read... [11:36:16]Read from MH i2c: 01 07 00 64 03 00 00 00 00 00 FF 0F 7C [11:36:16]process_action close_receipt done [11:36:16]requested_data is exist [11:36:16]produce_requested_data [11:36:16]requested_item fm.sn is exist - process it [11:36:16]wFMCommunicate request_size=4 [11:36:16]MH_SAM_APDU [11:36:16]CAPDU: 80 11 00 00 [11:36:16]Write to MH i2c: E2 08 00 65 03 80 11 00 00 00 00 00 00 E2 [11:36:16]Write i2c OK [11:36:16]MH_I2C_Read... [11:36:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:36:16]Read from MH i2c: E2 [11:36:16]MH_I2C_Read... [11:36:16]Read from MH i2c: E2 17 00 [11:36:16]MH_I2C_Read... [11:36:16]Read from MH i2c: E2 17 00 65 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 3B [11:36:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [11:36:16]wFMCommunicate OK [11:36:16]requested_item fd.num is exist - process it [11:36:16]SAM_PROTO_GetFieldsCounters [11:36:16]wFMCommunicate request_size=4 [11:36:16]MH_SAM_APDU [11:36:16]CAPDU: 80 13 00 00 [11:36:16]Write to MH i2c: E2 08 00 66 03 80 13 00 00 00 00 00 00 E5 [11:36:16]Write i2c OK [11:36:16]MH_I2C_Read... [11:36:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:36:16]Read from MH i2c: E2 [11:36:16]MH_I2C_Read... [11:36:16]Read from MH i2c: E2 62 00 [11:36:16]MH_I2C_Read... [11:36:16]Read from MH i2c: E2 62 00 66 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 FF 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 50 [11:36:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 FF 49 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:36:16]wFMCommunicate OK [11:36:16]SAM_PROTO_GetFieldsCounters done [11:36:16]requested_item shift.num is exist - process it [11:36:16]requested_item shift.opened is exist - process it [11:36:16]req_shift_opened [11:36:16]FM_GetShiftState [11:36:16]SAM_PROTO_GetShiftState [11:36:16]wFMCommunicate request_size=4 [11:36:16]MH_SAM_APDU [11:36:16]CAPDU: 80 13 01 00 [11:36:16]Write to MH i2c: E2 08 00 67 03 80 13 01 00 00 00 00 00 E7 [11:36:16]Write i2c OK [11:36:16]MH_I2C_Read... [11:36:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:36:17]Read from MH i2c: E2 [11:36:17]MH_I2C_Read... [11:36:17]Read from MH i2c: E2 0E 00 [11:36:17]MH_I2C_Read... [11:36:17]Read from MH i2c: E2 0E 00 67 03 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 D4 [11:36:17]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [11:36:17]wFMCommunicate OK [11:36:17]SAM_PROTO_GetShiftState done [11:36:17]FM_GetShiftState done [11:36:17]req_shift_opened done [11:36:17]requested_item shift.open_date is exist - process it [11:36:17]req_shift_open_date [11:36:17]req_shift_open_date done [11:36:17]produce_requested_data done [11:36:17]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18943,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [11:36:17]process_action_free close_receipt [11:36:17]json_value_free [11:36:17]json_value_free done [11:36:17]process_json_proto returns [11:36:17]Send response to host [11:36:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18943,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [11:36:17]free response buf [11:36:17]execute_script done [11:36:17]execute_script returns [11:36:17]free content buf [11:36:17]Sock 9.Close socket [11:36:17]Sock 9.Thread stoped [11:36:20]OFD Sender: No OFD packet to send [11:36:25]OFD Sender: No OFD packet to send [11:36:30]OFD Sender: No OFD packet to send [11:36:35]OFD Sender: No OFD packet to send [11:36:40]OFD Sender: No OFD packet to send [11:36:45]OFD Sender: No OFD packet to send [11:36:50]OFD Sender: No OFD packet to send [11:36:55]OFD Sender: No OFD packet to send [11:37:01]OFD Sender: No OFD packet to send [11:37:06]OFD Sender: No OFD packet to send [11:37:11]OFD Sender: No OFD packet to send [11:37:16]OFD Sender: No OFD packet to send [11:37:21]OFD Sender: No OFD packet to send [11:37:26]OFD Sender: No OFD packet to send [11:37:31]OFD Sender: No OFD packet to send [11:37:36]OFD Sender: No OFD packet to send [11:37:41]OFD Sender: No OFD packet to send [11:37:46]OFD Sender: No OFD packet to send [11:37:51]OFD Sender: No OFD packet to send [11:37:56]OFD Sender: No OFD packet to send [11:38:01]OFD Sender: No OFD packet to send [11:38:06]OFD Sender: No OFD packet to send [11:38:11]OFD Sender: No OFD packet to send [11:38:16]OFD Sender: No OFD packet to send [11:38:21]OFD Sender: No OFD packet to send [11:38:26]OFD Sender: No OFD packet to send [11:38:31]OFD Sender: No OFD packet to send [11:38:36]OFD Sender: No OFD packet to send [11:38:41]OFD Sender: No OFD packet to send [11:38:46]OFD Sender: No OFD packet to send [11:38:51]OFD Sender: No OFD packet to send [11:38:56]OFD Sender: No OFD packet to send [11:39:01]OFD Sender: No OFD packet to send [11:39:06]OFD Sender: No OFD packet to send [11:39:11]OFD Sender: No OFD packet to send [11:39:16]OFD Sender: No OFD packet to send [11:39:21]OFD Sender: No OFD packet to send [11:39:26]OFD Sender: No OFD packet to send [11:39:31]OFD Sender: No OFD packet to send [11:39:36]OFD Sender: No OFD packet to send [11:39:41]OFD Sender: No OFD packet to send [11:39:46]OFD Sender: No OFD packet to send [11:39:51]OFD Sender: No OFD packet to send [11:39:56]OFD Sender: No OFD packet to send [11:40:01]OFD Sender: No OFD packet to send [11:40:06]OFD Sender: No OFD packet to send [11:40:11]OFD Sender: No OFD packet to send [11:40:16]OFD Sender: No OFD packet to send [11:40:21]OFD Sender: No OFD packet to send [11:40:26]OFD Sender: No OFD packet to send [11:40:31]OFD Sender: No OFD packet to send [11:40:36]OFD Sender: No OFD packet to send [11:40:41]OFD Sender: No OFD packet to send [11:40:46]OFD Sender: No OFD packet to send [11:40:51]OFD Sender: No OFD packet to send [11:40:56]OFD Sender: No OFD packet to send [11:41:01]OFD Sender: No OFD packet to send [11:41:06]OFD Sender: No OFD packet to send [11:41:11]OFD Sender: No OFD packet to send [11:41:16]OFD Sender: No OFD packet to send [11:41:21]OFD Sender: No OFD packet to send [11:41:26]OFD Sender: No OFD packet to send [11:41:31]OFD Sender: No OFD packet to send [11:41:36]OFD Sender: No OFD packet to send [11:41:41]OFD Sender: No OFD packet to send [11:41:46]OFD Sender: No OFD packet to send [11:41:51]OFD Sender: No OFD packet to send [11:41:56]OFD Sender: No OFD packet to send [11:42:01]OFD Sender: No OFD packet to send [11:42:06]OFD Sender: No OFD packet to send [11:42:11]OFD Sender: No OFD packet to send [11:42:16]OFD Sender: No OFD packet to send [11:42:21]OFD Sender: No OFD packet to send [11:42:26]OFD Sender: No OFD packet to send [11:42:31]OFD Sender: No OFD packet to send [11:42:36]OFD Sender: No OFD packet to send [11:42:41]OFD Sender: No OFD packet to send [11:42:46]OFD Sender: No OFD packet to send [11:42:51]OFD Sender: No OFD packet to send [11:42:56]OFD Sender: No OFD packet to send [11:43:01]OFD Sender: No OFD packet to send [11:43:06]OFD Sender: No OFD packet to send [11:43:11]OFD Sender: No OFD packet to send [11:43:16]OFD Sender: No OFD packet to send [11:43:21]OFD Sender: No OFD packet to send [11:43:26]OFD Sender: No OFD packet to send [11:43:31]OFD Sender: No OFD packet to send [11:43:36]OFD Sender: No OFD packet to send [11:43:41]OFD Sender: No OFD packet to send [11:43:46]OFD Sender: No OFD packet to send [11:43:51]OFD Sender: No OFD packet to send [11:43:56]OFD Sender: No OFD packet to send [11:44:01]OFD Sender: No OFD packet to send [11:44:06]OFD Sender: No OFD packet to send [11:44:11]OFD Sender: No OFD packet to send [11:44:16]OFD Sender: No OFD packet to send [11:44:21]OFD Sender: No OFD packet to send [11:44:26]OFD Sender: No OFD packet to send [11:44:31]OFD Sender: No OFD packet to send [11:44:36]OFD Sender: No OFD packet to send [11:44:41]OFD Sender: No OFD packet to send [11:44:46]OFD Sender: No OFD packet to send [11:44:51]OFD Sender: No OFD packet to send [11:44:56]OFD Sender: No OFD packet to send [11:45:01]OFD Sender: No OFD packet to send [11:45:06]OFD Sender: No OFD packet to send [11:45:11]OFD Sender: No OFD packet to send [11:45:16]OFD Sender: No OFD packet to send [11:45:21]OFD Sender: No OFD packet to send [11:45:26]OFD Sender: No OFD packet to send [11:45:31]OFD Sender: No OFD packet to send [11:45:36]OFD Sender: No OFD packet to send [11:45:41]OFD Sender: No OFD packet to send [11:45:46]OFD Sender: No OFD packet to send [11:45:51]OFD Sender: No OFD packet to send [11:45:56]OFD Sender: No OFD packet to send [11:46:01]OFD Sender: No OFD packet to send [11:46:06]OFD Sender: No OFD packet to send [11:46:11]OFD Sender: No OFD packet to send [11:46:16]OFD Sender: No OFD packet to send [11:46:21]OFD Sender: No OFD packet to send [11:46:26]OFD Sender: No OFD packet to send [11:46:31]OFD Sender: No OFD packet to send [11:46:36]OFD Sender: No OFD packet to send [11:46:41]OFD Sender: No OFD packet to send [11:46:46]OFD Sender: No OFD packet to send [11:46:51]OFD Sender: No OFD packet to send [11:46:56]OFD Sender: No OFD packet to send [11:47:01]OFD Sender: No OFD packet to send [11:47:06]OFD Sender: No OFD packet to send [11:47:11]OFD Sender: No OFD packet to send [11:47:16]OFD Sender: No OFD packet to send [11:47:21]OFD Sender: No OFD packet to send [11:47:26]OFD Sender: No OFD packet to send [11:47:31]OFD Sender: No OFD packet to send [11:47:36]OFD Sender: No OFD packet to send [11:47:41]OFD Sender: No OFD packet to send [11:47:46]OFD Sender: No OFD packet to send [11:47:51]OFD Sender: No OFD packet to send [11:47:56]OFD Sender: No OFD packet to send [11:48:01]OFD Sender: No OFD packet to send [11:48:06]OFD Sender: No OFD packet to send [11:48:11]OFD Sender: No OFD packet to send [11:48:16]OFD Sender: No OFD packet to send [11:48:21]OFD Sender: No OFD packet to send [11:48:26]OFD Sender: No OFD packet to send [11:48:31]OFD Sender: No OFD packet to send [11:48:36]OFD Sender: No OFD packet to send [11:48:41]OFD Sender: No OFD packet to send [11:48:46]OFD Sender: No OFD packet to send [11:48:51]OFD Sender: No OFD packet to send [11:48:56]OFD Sender: No OFD packet to send [11:49:01]OFD Sender: No OFD packet to send [11:49:06]OFD Sender: No OFD packet to send [11:49:11]OFD Sender: No OFD packet to send [11:49:16]OFD Sender: No OFD packet to send [11:49:21]OFD Sender: No OFD packet to send [11:49:26]OFD Sender: No OFD packet to send [11:49:31]OFD Sender: No OFD packet to send [11:49:36]OFD Sender: No OFD packet to send [11:49:41]OFD Sender: No OFD packet to send [11:49:46]OFD Sender: No OFD packet to send [11:49:51]OFD Sender: No OFD packet to send [11:49:56]OFD Sender: No OFD packet to send [11:50:01]OFD Sender: No OFD packet to send [11:50:06]OFD Sender: No OFD packet to send [11:50:11]OFD Sender: No OFD packet to send [11:50:16]OFD Sender: No OFD packet to send [11:50:21]OFD Sender: No OFD packet to send [11:50:26]OFD Sender: No OFD packet to send [11:50:31]OFD Sender: No OFD packet to send [11:50:36]OFD Sender: No OFD packet to send [11:50:41]OFD Sender: No OFD packet to send [11:50:46]OFD Sender: No OFD packet to send [11:50:51]OFD Sender: No OFD packet to send [11:50:56]OFD Sender: No OFD packet to send [11:51:01]OFD Sender: No OFD packet to send [11:51:06]OFD Sender: No OFD packet to send [11:51:08]accept exits with 8 [11:51:08]New connection [11:51:08]New thread 3066621284 created [11:51:08]Thread 3066764644 joined [11:51:08]Waiting for new connection... [11:51:08] Sock 8.Parse request [11:51:08]Sock 8.Check first char [11:51:08]Sock 8.First char is OK [11:51:08]request: POST /json_proto HTTP/1.0 [11:51:08]Method: POST [11:51:08]URL: /json_proto [11:51:08]Method is POST - this is cgi request [11:51:08]url: /json_proto [11:51:08]query_string will be loaded in cgi processing [11:51:08]execute_cgi json_proto POST (null) [11:51:08]execute_cgi path=json_proto method=POST [11:51:08]POST find Content-Length [11:51:08]Host: 172.17.62.196:8080 [11:51:08]Content-Length: 645 [11:51:08]Content-Type: application/json [11:51:08] [11:51:08]POST finish read [11:51:08]Found Content-Length = 645 [11:51:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16864", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:51:08]execute_script... [11:51:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16864", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:51:08]POST & json_proto [11:51:08]process_json_proto [11:51:08]json parsed OK: [11:51:08]protocol is kg_v1.0 [11:51:08]action value=close_receipt [11:51:08]process_action close_receipt [11:51:08]cmd_close_receipt [11:51:08]MH_GetDate [11:51:08]Write to MH i2c: F0 00 00 68 03 5A [11:51:08]Write i2c OK [11:51:08]MH_I2C_Read... [11:51:08]Read from MH i2c: F0 [11:51:08]MH_I2C_Read... [11:51:08]Read from MH i2c: F0 09 00 [11:51:08]MH_I2C_Read... [11:51:08]Read from MH i2c: F0 09 00 68 03 00 2D F9 F3 66 CE CC 0E 66 F0 [11:51:08]GetLastDocTimeStamp 1727264173 [11:51:08]current date 1727265069 [11:51:08]FM_GetShiftState [11:51:08]SAM_PROTO_GetShiftState [11:51:08]wFMCommunicate request_size=4 [11:51:08]MH_SAM_APDU [11:51:08]CAPDU: 80 13 01 00 [11:51:08]Write to MH i2c: E2 08 00 69 03 80 13 01 00 00 00 00 00 E9 [11:51:08]Write i2c OK [11:51:08]MH_I2C_Read... [11:51:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:51:08]Read from MH i2c: E2 [11:51:08]MH_I2C_Read... [11:51:08]Read from MH i2c: E2 0E 00 [11:51:08]MH_I2C_Read... [11:51:08]Read from MH i2c: E2 0E 00 69 03 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 D6 [11:51:08]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [11:51:08]wFMCommunicate OK [11:51:08]SAM_PROTO_GetShiftState done [11:51:08]FM_GetShiftState done [11:51:08]opened in 1727223091 [11:51:08]opened+sec_in_day 1727309491 [11:51:08]quantity*price = 13000 [11:51:08]sum+1 = 13001 [11:51:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 22 25.09.2024 11:51 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18944 ФПД: 65260508196692 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T115109&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18944&fm=65260508196692&tin=02508201610067®Number=0000000000152968&sum=13000 0 [11:51:09]StoreToDocumentArchive [11:51:09]shift 183 fd 18944 [11:51:09]save to /storage/0183/doc_00018944 [11:51:09]save last doc name /storage/0183/doc_00018944 to /storage/kkm_last_doc_name [11:51:09]save OK [11:51:09]Clear old archive folders... [11:51:09]ProcessDocumentItem done err = 0, tmpTLVsize=282 [11:51:09]tlvbuf is 015F9050 [11:51:09]SAM_PROTO_ClearQueue [11:51:09]wFMCommunicate request_size=4 [11:51:09]MH_SAM_APDU [11:51:09]CAPDU: 80 09 00 00 [11:51:09]Write to MH i2c: E2 08 00 76 03 80 09 00 00 00 00 00 00 EB [11:51:09]Write i2c OK [11:51:09]MH_I2C_Read... [11:51:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:51:09]Read from MH i2c: E2 [11:51:09]MH_I2C_Read... [11:51:09]Read from MH i2c: E2 03 00 [11:51:09]MH_I2C_Read... [11:51:09]Read from MH i2c: E2 03 00 76 03 00 90 00 ED [11:51:09]RAPDU: 90 00 [11:51:09]wFMCommunicate OK [11:51:09]SAM_PROTO_ClearQueue done [11:51:09]KKMCreateOFDPacket [11:51:09]OFDProtocolAddRootSTLVToBuf [11:51:09]FM_MakeSignedData [11:51:09]FM_MakeSignedData [11:51:09]SAM_PROTO_SignData [11:51:09]wFMCommunicate request_size=4 [11:51:09]MH_SAM_APDU [11:51:09]CAPDU: 80 0D 01 02 [11:51:09]Write to MH i2c: E2 08 00 77 03 80 0D 01 02 00 00 00 00 F3 [11:51:09]Write i2c OK [11:51:09]MH_I2C_Read... [11:51:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:51:09]Read from MH i2c: E2 [11:51:09]MH_I2C_Read... [11:51:09]Read from MH i2c: E2 03 00 [11:51:09]MH_I2C_Read... [11:51:09]Read from MH i2c: E2 03 00 77 03 00 90 00 EE [11:51:09]RAPDU: 90 00 [11:51:09]wFMCommunicate OK [11:51:09]wFMCommunicate request_size=255 [11:51:09]MH_SAM_APDU [11:51:09]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 2D F9 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 [11:51:09]Write to MH i2c: E2 02 01 78 03 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 2D F9 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 00 00 54 [11:51:09]Write i2c OK [11:51:09]MH_I2C_Read... [11:51:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:51:10]Read from MH i2c: E2 [11:51:10]MH_I2C_Read... [11:51:10]Read from MH i2c: E2 03 00 [11:51:10]MH_I2C_Read... [11:51:10]Read from MH i2c: E2 03 00 78 03 00 90 00 EF [11:51:10]RAPDU: 90 00 [11:51:10]wFMCommunicate OK [11:51:10]wFMCommunicate request_size=41 [11:51:10]MH_SAM_APDU [11:51:10]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 00 4A 00 00 35 04 06 00 3B 5A A5 68 AF 54 [11:51:10]Write to MH i2c: E2 2C 00 79 03 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 00 4A 00 00 35 04 06 00 3B 5A A5 68 AF 54 00 00 BA [11:51:10]Write i2c OK [11:51:10]MH_I2C_Read... [11:51:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:51:10]Read from MH i2c: E2 [11:51:10]MH_I2C_Read... [11:51:10]Read from MH i2c: E2 03 00 [11:51:10]MH_I2C_Read... [11:51:10]Read from MH i2c: E2 03 00 79 03 00 90 00 F0 [11:51:10]RAPDU: 90 00 [11:51:10]wFMCommunicate OK [11:51:10]wFMCommunicate request_size=4 [11:51:10]MH_SAM_APDU [11:51:10]CAPDU: 80 0D 03 02 [11:51:10]Write to MH i2c: E2 08 00 7A 03 80 0D 03 02 00 00 00 00 F8 [11:51:10]Write i2c OK [11:51:10]MH_I2C_Read... [11:51:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:51:10]Read from MH i2c: E2 [11:51:10]MH_I2C_Read... [11:51:10]Read from MH i2c: E2 0B 00 [11:51:10]MH_I2C_Read... [11:51:10]Read from MH i2c: E2 0B 00 7A 03 00 4F 74 F7 DC DB 75 38 A9 90 00 C0 [11:51:10]RAPDU: 4F 74 F7 DC DB 75 38 A9 90 00 [11:51:10]wFMCommunicate OK [11:51:10]SAM_PROTO_SignData done [11:51:10]FM_MakeSignedData done [11:51:10]CreateOFDProtocolMessage [11:51:10]wFMCommunicate request_size=4 [11:51:10]MH_SAM_APDU [11:51:10]CAPDU: 80 11 00 00 [11:51:10]Write to MH i2c: E2 08 00 7B 03 80 11 00 00 00 00 00 00 F8 [11:51:10]Write i2c OK [11:51:10]MH_I2C_Read... [11:51:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:51:10]Read from MH i2c: E2 [11:51:10]MH_I2C_Read... [11:51:10]Read from MH i2c: E2 17 00 [11:51:10]MH_I2C_Read... [11:51:10]Read from MH i2c: E2 17 00 7B 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 51 [11:51:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [11:51:10]wFMCommunicate OK [11:51:10]CreateOFDProtocolMessage done [11:51:10]OFDSenderStorePacket 18944 [11:51:10]StoreOFDPacket docnum=18944 [11:51:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 53 91 26 01 EE A6 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 2D F9 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 00 4A 00 00 35 04 06 00 3B 5A A5 68 AF 54 4F 74 F7 DC DB 75 38 A9 [11:51:10]CheckFolder [11:51:10]dirname=/storage/ofd_packets [11:51:10]CheckFolder done [11:51:10]ProducePacketName [11:51:10]name=ofd_packets/00018944 [11:51:10]NVStorageSaveData ofd_packets/00018944 [11:51:10]File name is /storage/ofd_packets/00018944 [11:51:10]Write 332 bytes [11:51:10]NVStorageSaveData done [11:51:10]OFDSenderStorePacket done [11:51:10]KKMCreateOFDPacket done [11:51:10]NVStorageSaveData kkm_last_timestamp [11:51:10]File name is /storage/kkm_last_timestamp [11:51:10]Write 4 bytes [11:51:10]NVStorageSaveData done [11:51:10]ExternCall_PrintAddStr [11:51:10]wPrintStart [11:51:10]Write to MH i2c: 01 00 00 7C 03 7F [11:51:10]Write i2c OK [11:51:10]MH_I2C_Read... [11:51:10]Read from MH i2c: 01 [11:51:10]MH_I2C_Read... [11:51:10]Read from MH i2c: 01 07 00 [11:51:10]MH_I2C_Read... [11:51:10]Read from MH i2c: 01 07 00 7C 03 00 00 00 00 00 FF 0F 94 [11:51:10]RasterBufferAndPrint [11:51:10]line Счет N : (3)16864 [11:51:10]line ИНН: 02508201610067 [11:51:10]line Контрольно-Кассовый Чек [11:51:10]line ПРОДАЖА [11:51:10]line Товар: 2000036220012 [11:51:10]line Кофе Капучино XL(GABB TRADE) [11:51:10]line 1.000 * 130.00 [11:51:10]line = 130.00 [11:51:10]line НДС 12% НСП 1% [11:51:10]line > о реализуемом товаре [11:51:10]line ИТОГО: 130.00 [11:51:10]line НСП 1% : 1.15 [11:51:10]line НДС 12% : 13.80 [11:51:10]line Наличными: 130.00 [11:51:10]line Безнал.: 0.00 [11:51:10]line Место: АЗС № 176 "Партнер Нефть" [11:51:10]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [11:51:10]line СНО: Общий режим [11:51:10]line Чек 22 25.09.2024 11:51 [11:51:10]line Смена: 183 ФФД: 1.0 [11:51:10]line ЗНМ: 0300000010 [11:51:10]line РНМ: 0000000000152968 [11:51:10]line Версия ККМ: v1.0 [11:51:10]line ФМ: 0000000000959456 [11:51:10]line ФД: 18944 [11:51:10]line ФПД: 65260508196692 [11:51:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T115109&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18944&fm=65260508196692&tin=02508201610067®Number=0000000000152968&sum=13000 [11:51:10]line 0 [11:51:10]OFD Sender: Processing packet 18944 [packets to send 7, broken 6] [11:51:10]ProducePacketName [11:51:10]name=ofd_packets/00018944 [11:51:10]OFD Sender: To server: pG, [11:51:10]CommunicateWithHost lk.salyk.kg:30040 [11:51:10]ConnectInit lk.salyk.kg [11:51:10]written 0, free lines is 4095 [11:51:10]Connected sock=10 [11:51:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 53 91 26 01 EE A6 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 2D F9 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 00 4A 00 00 35 04 06 00 3B 5A A5 68 AF 54 4F 74 F7 DC DB 75 38 A9 [11:51:11]Write to MH i2c: 01 00 00 A5 03 A8 [11:51:11]Write i2c OK [11:51:11]MH_I2C_Read... [11:51:11]Read from MH i2c: 01 [11:51:11]MH_I2C_Read... [11:51:11]Read from MH i2c: 01 07 00 [11:51:11]MH_I2C_Read... [11:51:11]Read from MH i2c: 01 07 00 A5 03 00 00 00 00 00 14 0D D0 [11:51:11]RasterBufferAndPrint [11:51:11]line [11:51:11]line [11:51:11]line [11:51:11]line [11:51:11]line [11:51:11]written 0, free lines is 3354 [11:51:11]MH_Cut [11:51:11]Write to MH i2c: D1 01 00 AC 03 01 81 [11:51:11]Write i2c OK [11:51:11]MH_I2C_Read... [11:51:11]Read from MH i2c: D1 [11:51:11]MH_I2C_Read... [11:51:11]Read from MH i2c: D1 01 00 [11:51:11]MH_I2C_Read... [11:51:11]Read from MH i2c: D1 01 00 AC 03 00 80 [11:51:11]Write to MH i2c: 01 00 00 AD 03 B0 [11:51:11]Write i2c OK [11:51:11]MH_I2C_Read... [11:51:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 44 45 47 00 42 A9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 00 4A 00 00 F4 03 04 00 8B A2 F3 66 B6 04 01 00 00 A5 91 C9 4D 4C 38 15 1F [11:51:11]CommunicateWithHost err = 0 [11:51:11]CheckOFDResponse [11:51:11]1017 (14) - 77093643461234 [11:51:11]1041 (16) - 0000000000959456 [11:51:11]1040 (4) - 18944 [11:51:11]1012 (4) - 25.09.2024 05:41 [11:51:11]1206 (1) - 0 [11:51:11]OFD Sender: Remove packet 18944 [11:51:11]ProducePacketName [11:51:11]name=ofd_packets/00018944 [11:51:11]NVStorageDeleteData [11:51:11]OFD Sender: No OFD packet to send [11:51:11]*** Cut start [11:51:11]*** Partial cut [11:51:11]*** CUTSNS_PIN = 1 [11:51:11]*** CUTSNS_PIN = 0 [11:51:11]*** Brake cut motor [11:51:12]Read from MH i2c: 01 [11:51:12]MH_I2C_Read... [11:51:12]*** Stop cut motor [11:51:12]*** Cut end [11:51:12]Read from MH i2c: 01 07 00 [11:51:12]MH_I2C_Read... [11:51:12]Read from MH i2c: 01 07 00 AD 03 00 00 00 00 00 FF 0F C5 [11:51:12]process_action close_receipt done [11:51:12]requested_data is exist [11:51:12]produce_requested_data [11:51:12]requested_item fm.sn is exist - process it [11:51:12]wFMCommunicate request_size=4 [11:51:12]MH_SAM_APDU [11:51:12]CAPDU: 80 11 00 00 [11:51:12]Write to MH i2c: E2 08 00 AE 03 80 11 00 00 00 00 00 00 2B [11:51:12]Write i2c OK [11:51:12]MH_I2C_Read... [11:51:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:51:12]Read from MH i2c: E2 [11:51:12]MH_I2C_Read... [11:51:12]Read from MH i2c: E2 17 00 [11:51:12]MH_I2C_Read... [11:51:12]Read from MH i2c: E2 17 00 AE 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 84 [11:51:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [11:51:12]wFMCommunicate OK [11:51:12]requested_item fd.num is exist - process it [11:51:12]SAM_PROTO_GetFieldsCounters [11:51:12]wFMCommunicate request_size=4 [11:51:12]MH_SAM_APDU [11:51:12]CAPDU: 80 13 00 00 [11:51:12]Write to MH i2c: E2 08 00 AF 03 80 13 00 00 00 00 00 00 2E [11:51:12]Write i2c OK [11:51:12]MH_I2C_Read... [11:51:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:51:12]Read from MH i2c: E2 [11:51:12]MH_I2C_Read... [11:51:12]Read from MH i2c: E2 62 00 [11:51:12]MH_I2C_Read... [11:51:12]Read from MH i2c: E2 62 00 AF 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 00 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 9E [11:51:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 00 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:51:12]wFMCommunicate OK [11:51:12]SAM_PROTO_GetFieldsCounters done [11:51:12]requested_item shift.num is exist - process it [11:51:12]requested_item shift.opened is exist - process it [11:51:12]req_shift_opened [11:51:12]FM_GetShiftState [11:51:12]SAM_PROTO_GetShiftState [11:51:12]wFMCommunicate request_size=4 [11:51:12]MH_SAM_APDU [11:51:12]CAPDU: 80 13 01 00 [11:51:12]Write to MH i2c: E2 08 00 B0 03 80 13 01 00 00 00 00 00 30 [11:51:12]Write i2c OK [11:51:12]MH_I2C_Read... [11:51:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:51:12]Read from MH i2c: E2 [11:51:12]MH_I2C_Read... [11:51:12]Read from MH i2c: E2 0E 00 [11:51:12]MH_I2C_Read... [11:51:12]Read from MH i2c: E2 0E 00 B0 03 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 1D [11:51:12]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [11:51:12]wFMCommunicate OK [11:51:12]SAM_PROTO_GetShiftState done [11:51:12]FM_GetShiftState done [11:51:12]req_shift_opened done [11:51:12]requested_item shift.open_date is exist - process it [11:51:12]req_shift_open_date [11:51:12]req_shift_open_date done [11:51:12]produce_requested_data done [11:51:12]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18944,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [11:51:12]process_action_free close_receipt [11:51:12]json_value_free [11:51:12]json_value_free done [11:51:12]process_json_proto returns [11:51:12]Send response to host [11:51:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18944,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [11:51:12]free response buf [11:51:12]execute_script done [11:51:12]execute_script returns [11:51:12]free content buf [11:51:12]Sock 8.Close socket [11:51:12]Sock 8.Thread stoped [11:51:16]OFD Sender: No OFD packet to send [11:51:21]OFD Sender: No OFD packet to send [11:51:26]OFD Sender: No OFD packet to send [11:51:31]OFD Sender: No OFD packet to send [11:51:36]OFD Sender: No OFD packet to send [11:51:41]OFD Sender: No OFD packet to send [11:51:46]OFD Sender: No OFD packet to send [11:51:51]OFD Sender: No OFD packet to send [11:51:56]OFD Sender: No OFD packet to send [11:52:01]OFD Sender: No OFD packet to send [11:52:06]OFD Sender: No OFD packet to send [11:52:11]OFD Sender: No OFD packet to send [11:52:16]OFD Sender: No OFD packet to send [11:52:21]OFD Sender: No OFD packet to send [11:52:26]OFD Sender: No OFD packet to send [11:52:31]OFD Sender: No OFD packet to send [11:52:36]OFD Sender: No OFD packet to send [11:52:41]OFD Sender: No OFD packet to send [11:52:46]OFD Sender: No OFD packet to send [11:52:51]OFD Sender: No OFD packet to send [11:52:56]OFD Sender: No OFD packet to send [11:53:01]OFD Sender: No OFD packet to send [11:53:06]OFD Sender: No OFD packet to send [11:53:11]OFD Sender: No OFD packet to send [11:53:16]OFD Sender: No OFD packet to send [11:53:20]accept exits with 9 [11:53:20]New connection [11:53:20]New thread 3066764644 created [11:53:20]Thread 3066621284 joined [11:53:20]Waiting for new connection... [11:53:20] Sock 9.Parse request [11:53:20]Sock 9.Check first char [11:53:20]Sock 9.First char is OK [11:53:20]request: POST /json_proto HTTP/1.0 [11:53:20]Method: POST [11:53:20]URL: /json_proto [11:53:20]Method is POST - this is cgi request [11:53:20]url: /json_proto [11:53:20]query_string will be loaded in cgi processing [11:53:20]execute_cgi json_proto POST (null) [11:53:20]execute_cgi path=json_proto method=POST [11:53:20]POST find Content-Length [11:53:20]Host: 172.17.62.196:8080 [11:53:20]Content-Length: 812 [11:53:20]Content-Type: application/json [11:53:20] [11:53:20]POST finish read [11:53:20]Found Content-Length = 812 [11:53:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16865", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:53:20]execute_script... [11:53:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16865", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:53:20]POST & json_proto [11:53:20]process_json_proto [11:53:20]json parsed OK: [11:53:20]protocol is kg_v1.0 [11:53:20]action value=close_receipt [11:53:20]process_action close_receipt [11:53:20]cmd_close_receipt [11:53:20]MH_GetDate [11:53:20]Write to MH i2c: F0 00 00 B1 03 A3 [11:53:20]Write i2c OK [11:53:20]MH_I2C_Read... [11:53:20]Read from MH i2c: F0 [11:53:20]MH_I2C_Read... [11:53:20]Read from MH i2c: F0 09 00 [11:53:20]MH_I2C_Read... [11:53:20]Read from MH i2c: F0 09 00 B1 03 00 B1 F9 F3 66 CE CC 0E 66 BD [11:53:20]GetLastDocTimeStamp 1727265069 [11:53:20]current date 1727265201 [11:53:20]FM_GetShiftState [11:53:20]SAM_PROTO_GetShiftState [11:53:20]wFMCommunicate request_size=4 [11:53:20]MH_SAM_APDU [11:53:20]CAPDU: 80 13 01 00 [11:53:20]Write to MH i2c: E2 08 00 B2 03 80 13 01 00 00 00 00 00 32 [11:53:20]Write i2c OK [11:53:20]MH_I2C_Read... [11:53:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:53:20]Read from MH i2c: E2 [11:53:20]MH_I2C_Read... [11:53:20]Read from MH i2c: E2 0E 00 [11:53:20]MH_I2C_Read... [11:53:20]Read from MH i2c: E2 0E 00 B2 03 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 1F [11:53:20]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [11:53:20]wFMCommunicate OK [11:53:20]SAM_PROTO_GetShiftState done [11:53:20]FM_GetShiftState done [11:53:20]opened in 1727223091 [11:53:20]opened+sec_in_day 1727309491 [11:53:20]quantity*price = 7500 [11:53:20]sum+1 = 7501 [11:53:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 0.00 Безнал.: 75.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 23 25.09.2024 11:53 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18945 ФПД: 96859583685999 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T115321&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18945&fm=96859583685999&tin=02508201610067®Number=0000000000152968&sum=7500 0 [11:53:21]StoreToDocumentArchive [11:53:21]shift 183 fd 18945 [11:53:21]save to /storage/0183/doc_00018945 [11:53:21]save last doc name /storage/0183/doc_00018945 to /storage/kkm_last_doc_name [11:53:21]save OK [11:53:21]Clear old archive folders... [11:53:21]ProcessDocumentItem done err = 0, tmpTLVsize=275 [11:53:21]tlvbuf is 015A80A0 [11:53:21]SAM_PROTO_ClearQueue [11:53:21]wFMCommunicate request_size=4 [11:53:21]MH_SAM_APDU [11:53:21]CAPDU: 80 09 00 00 [11:53:21]Write to MH i2c: E2 08 00 BF 03 80 09 00 00 00 00 00 00 34 [11:53:21]Write i2c OK [11:53:21]MH_I2C_Read... [11:53:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:53:21]Read from MH i2c: E2 [11:53:21]MH_I2C_Read... [11:53:21]Read from MH i2c: E2 03 00 [11:53:21]MH_I2C_Read... [11:53:21]Read from MH i2c: E2 03 00 BF 03 00 90 00 36 [11:53:21]RAPDU: 90 00 [11:53:21]wFMCommunicate OK [11:53:21]SAM_PROTO_ClearQueue done [11:53:21]KKMCreateOFDPacket [11:53:21]OFDProtocolAddRootSTLVToBuf [11:53:21]FM_MakeSignedData [11:53:21]FM_MakeSignedData [11:53:21]SAM_PROTO_SignData [11:53:21]wFMCommunicate request_size=4 [11:53:21]MH_SAM_APDU [11:53:21]CAPDU: 80 0D 01 02 [11:53:21]Write to MH i2c: E2 08 00 C0 03 80 0D 01 02 00 00 00 00 3C [11:53:21]Write i2c OK [11:53:21]MH_I2C_Read... [11:53:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:53:21]Read from MH i2c: E2 [11:53:21]MH_I2C_Read... [11:53:21]Read from MH i2c: E2 03 00 [11:53:21]MH_I2C_Read... [11:53:21]Read from MH i2c: E2 03 00 C0 03 00 90 00 37 [11:53:21]RAPDU: 90 00 [11:53:21]wFMCommunicate OK [11:53:21]wFMCommunicate request_size=255 [11:53:21]MH_SAM_APDU [11:53:21]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 1D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 B1 F9 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 [11:53:21]Write to MH i2c: E2 02 01 C1 03 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 1D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 B1 F9 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 00 00 02 [11:53:21]Write i2c OK [11:53:21]MH_I2C_Read... [11:53:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:53:22]Read from MH i2c: E2 [11:53:22]MH_I2C_Read... [11:53:22]Read from MH i2c: E2 03 00 [11:53:22]MH_I2C_Read... [11:53:22]Read from MH i2c: E2 03 00 C1 03 00 90 00 38 [11:53:22]RAPDU: 90 00 [11:53:22]wFMCommunicate OK [11:53:22]wFMCommunicate request_size=34 [11:53:22]MH_SAM_APDU [11:53:22]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 01 4A 00 00 35 04 06 00 58 17 E1 14 25 6F [11:53:22]Write to MH i2c: E2 25 00 C2 03 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 01 4A 00 00 35 04 06 00 58 17 E1 14 25 6F 00 00 49 [11:53:22]Write i2c OK [11:53:22]MH_I2C_Read... [11:53:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:53:22]Read from MH i2c: E2 [11:53:22]MH_I2C_Read... [11:53:22]Read from MH i2c: E2 03 00 [11:53:22]MH_I2C_Read... [11:53:22]Read from MH i2c: E2 03 00 C2 03 00 90 00 39 [11:53:22]RAPDU: 90 00 [11:53:22]wFMCommunicate OK [11:53:22]wFMCommunicate request_size=4 [11:53:22]MH_SAM_APDU [11:53:22]CAPDU: 80 0D 03 02 [11:53:22]Write to MH i2c: E2 08 00 C3 03 80 0D 03 02 00 00 00 00 41 [11:53:22]Write i2c OK [11:53:22]MH_I2C_Read... [11:53:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:53:22]Read from MH i2c: E2 [11:53:22]MH_I2C_Read... [11:53:22]Read from MH i2c: E2 0B 00 [11:53:22]MH_I2C_Read... [11:53:22]Read from MH i2c: E2 0B 00 C3 03 00 C8 9B 54 36 97 47 C4 90 90 00 61 [11:53:22]RAPDU: C8 9B 54 36 97 47 C4 90 90 00 [11:53:22]wFMCommunicate OK [11:53:22]SAM_PROTO_SignData done [11:53:22]FM_MakeSignedData done [11:53:22]CreateOFDProtocolMessage [11:53:22]wFMCommunicate request_size=4 [11:53:22]MH_SAM_APDU [11:53:22]CAPDU: 80 11 00 00 [11:53:22]Write to MH i2c: E2 08 00 C4 03 80 11 00 00 00 00 00 00 41 [11:53:22]Write i2c OK [11:53:22]MH_I2C_Read... [11:53:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:53:22]Read from MH i2c: E2 [11:53:22]MH_I2C_Read... [11:53:22]Read from MH i2c: E2 17 00 [11:53:22]MH_I2C_Read... [11:53:22]Read from MH i2c: E2 17 00 C4 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 9A [11:53:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [11:53:22]wFMCommunicate OK [11:53:22]CreateOFDProtocolMessage done [11:53:22]OFDSenderStorePacket 18945 [11:53:22]StoreOFDPacket docnum=18945 [11:53:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 01 00 00 26 66 1F 01 0F CD 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 1D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 B1 F9 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 01 4A 00 00 35 04 06 00 58 17 E1 14 25 6F C8 9B 54 36 97 47 C4 90 [11:53:22]CheckFolder [11:53:22]dirname=/storage/ofd_packets [11:53:22]CheckFolder done [11:53:22]ProducePacketName [11:53:22]name=ofd_packets/00018945 [11:53:22]NVStorageSaveData ofd_packets/00018945 [11:53:22]File name is /storage/ofd_packets/00018945 [11:53:22]Write 325 bytes [11:53:22]NVStorageSaveData done [11:53:22]OFDSenderStorePacket done [11:53:22]KKMCreateOFDPacket done [11:53:22]NVStorageSaveData kkm_last_timestamp [11:53:22]File name is /storage/kkm_last_timestamp [11:53:22]Write 4 bytes [11:53:22]NVStorageSaveData done [11:53:22]ExternCall_PrintAddStr [11:53:22]wPrintStart [11:53:22]Write to MH i2c: 01 00 00 C5 03 C8 [11:53:22]Write i2c OK [11:53:22]MH_I2C_Read... [11:53:22]Read from MH i2c: 01 [11:53:22]MH_I2C_Read... [11:53:22]Read from MH i2c: 01 07 00 [11:53:22]MH_I2C_Read... [11:53:22]Read from MH i2c: 01 07 00 C5 03 00 00 00 00 00 FF 0F DD [11:53:22]RasterBufferAndPrint [11:53:22]line Счет N : (3)16865 [11:53:22]line ИНН: 02508201610067 [11:53:22]line Контрольно-Кассовый Чек [11:53:22]line ПРОДАЖА [11:53:22]line Товар: 54491472 [11:53:22]line Напиток Кока-Кола 0,5л [11:53:22]line 1.000 * 75.00 [11:53:22]line = 75.00 [11:53:22]line НДС 12% НСП 1% [11:53:22]line > о реализуемом товаре [11:53:22]line ИТОГО: 75.00 [11:53:22]line НСП 1% : 0.66 [11:53:22]line НДС 12% : 7.96 [11:53:22]line Наличными: 0.00 [11:53:22]line Безнал.: 75.00 [11:53:22]line Место: АЗС № 176 "Партнер Нефть" [11:53:22]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [11:53:22]line СНО: Общий режим [11:53:22]line Чек 23 25.09.2024 11:53 [11:53:22]line Смена: 183 ФФД: 1.0 [11:53:22]line ЗНМ: 0300000010 [11:53:22]line РНМ: 0000000000152968 [11:53:22]line Версия ККМ: v1.0 [11:53:22]line Платежная система: O! деньги [11:53:22]line ФМ: 0000000000959456 [11:53:22]line ФД: 18945 [11:53:22]line ФПД: 96859583685999 [11:53:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T115321&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18945&fm=96859583685999&tin=02508201610067®Number=0000000000152968&sum=7500 [11:53:22]line 0 [11:53:22]OFD Sender: Processing packet 18945 [packets to send 7, broken 6] [11:53:22]ProducePacketName [11:53:22]name=ofd_packets/00018945 [11:53:22]OFD Sender: To server: pG, [11:53:22]CommunicateWithHost lk.salyk.kg:30040 [11:53:22]ConnectInit lk.salyk.kg [11:53:22]written 0, free lines is 4095 [11:53:22]Connected sock=10 [11:53:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 01 00 00 26 66 1F 01 0F CD 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 1D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 B1 F9 F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 01 4A 00 00 35 04 06 00 58 17 E1 14 25 6F C8 9B 54 36 97 47 C4 90 [11:53:23]Write to MH i2c: 01 00 00 EF 03 F2 [11:53:23]Write i2c OK [11:53:23]MH_I2C_Read... [11:53:23]Read from MH i2c: 01 [11:53:23]MH_I2C_Read... [11:53:23]Read from MH i2c: 01 07 00 [11:53:23]MH_I2C_Read... [11:53:23]Read from MH i2c: 01 07 00 EF 03 00 00 00 00 00 F7 0C FC [11:53:23]RasterBufferAndPrint [11:53:23]line [11:53:23]line [11:53:23]line [11:53:23]line [11:53:23]line [11:53:23]written 0, free lines is 3325 [11:53:23]MH_Cut [11:53:23]Write to MH i2c: D1 01 00 F6 03 01 CB [11:53:23]Write i2c OK [11:53:23]MH_I2C_Read... [11:53:23]Read from MH i2c: D1 [11:53:23]MH_I2C_Read... [11:53:23]Read from MH i2c: D1 01 00 [11:53:23]MH_I2C_Read... [11:53:23]Read from MH i2c: D1 01 00 F6 03 00 CA [11:53:23]Write to MH i2c: 01 00 00 F7 03 FA [11:53:23]Write i2c OK [11:53:23]MH_I2C_Read... [11:53:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 5B 4D 47 00 F7 2F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 01 4A 00 00 F4 03 04 00 0F A3 F3 66 B6 04 01 00 00 F2 75 8A 37 B4 22 5C CE [11:53:23]CommunicateWithHost err = 0 [11:53:23]CheckOFDResponse [11:53:23]1017 (14) - 77093643461234 [11:53:23]1041 (16) - 0000000000959456 [11:53:23]1040 (4) - 18945 [11:53:23]1012 (4) - 25.09.2024 05:43 [11:53:23]1206 (1) - 0 [11:53:23]OFD Sender: Remove packet 18945 [11:53:23]ProducePacketName [11:53:23]name=ofd_packets/00018945 [11:53:23]NVStorageDeleteData [11:53:23]OFD Sender: No OFD packet to send [11:53:23]*** Cut start [11:53:23]*** Partial cut [11:53:23]*** CUTSNS_PIN = 1 [11:53:23]*** CUTSNS_PIN = 0 [11:53:24]*** Brake cut motor [11:53:24]Read from MH i2c: 01 [11:53:24]MH_I2C_Read... [11:53:24]*** Stop cut motor [11:53:24]*** Cut end [11:53:24]Read from MH i2c: 01 07 00 [11:53:24]MH_I2C_Read... [11:53:24]Read from MH i2c: 01 07 00 F7 03 00 00 00 00 00 FF 0F 0F [11:53:24]process_action close_receipt done [11:53:24]requested_data is exist [11:53:24]produce_requested_data [11:53:24]requested_item fm.sn is exist - process it [11:53:24]wFMCommunicate request_size=4 [11:53:24]MH_SAM_APDU [11:53:24]CAPDU: 80 11 00 00 [11:53:24]Write to MH i2c: E2 08 00 F8 03 80 11 00 00 00 00 00 00 75 [11:53:24]Write i2c OK [11:53:24]MH_I2C_Read... [11:53:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:53:24]Read from MH i2c: E2 [11:53:24]MH_I2C_Read... [11:53:24]Read from MH i2c: E2 17 00 [11:53:24]MH_I2C_Read... [11:53:24]Read from MH i2c: E2 17 00 F8 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 CE [11:53:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [11:53:24]wFMCommunicate OK [11:53:24]requested_item fd.num is exist - process it [11:53:24]SAM_PROTO_GetFieldsCounters [11:53:24]wFMCommunicate request_size=4 [11:53:24]MH_SAM_APDU [11:53:24]CAPDU: 80 13 00 00 [11:53:24]Write to MH i2c: E2 08 00 F9 03 80 13 00 00 00 00 00 00 78 [11:53:24]Write i2c OK [11:53:24]MH_I2C_Read... [11:53:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:53:24]Read from MH i2c: E2 [11:53:24]MH_I2C_Read... [11:53:24]Read from MH i2c: E2 62 00 [11:53:24]MH_I2C_Read... [11:53:24]Read from MH i2c: E2 62 00 F9 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 01 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 EC [11:53:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 01 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:53:24]wFMCommunicate OK [11:53:24]SAM_PROTO_GetFieldsCounters done [11:53:24]requested_item shift.num is exist - process it [11:53:24]requested_item shift.opened is exist - process it [11:53:24]req_shift_opened [11:53:24]FM_GetShiftState [11:53:24]SAM_PROTO_GetShiftState [11:53:24]wFMCommunicate request_size=4 [11:53:24]MH_SAM_APDU [11:53:24]CAPDU: 80 13 01 00 [11:53:24]Write to MH i2c: E2 08 00 FA 03 80 13 01 00 00 00 00 00 7A [11:53:24]Write i2c OK [11:53:24]MH_I2C_Read... [11:53:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:53:24]Read from MH i2c: E2 [11:53:24]MH_I2C_Read... [11:53:24]Read from MH i2c: E2 0E 00 [11:53:24]MH_I2C_Read... [11:53:24]Read from MH i2c: E2 0E 00 FA 03 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 67 [11:53:24]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [11:53:24]wFMCommunicate OK [11:53:24]SAM_PROTO_GetShiftState done [11:53:24]FM_GetShiftState done [11:53:24]req_shift_opened done [11:53:24]requested_item shift.open_date is exist - process it [11:53:24]req_shift_open_date [11:53:24]req_shift_open_date done [11:53:24]produce_requested_data done [11:53:24]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18945,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [11:53:24]process_action_free close_receipt [11:53:24]json_value_free [11:53:24]json_value_free done [11:53:24]process_json_proto returns [11:53:24]Send response to host [11:53:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18945,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [11:53:24]free response buf [11:53:24]execute_script done [11:53:24]execute_script returns [11:53:24]free content buf [11:53:24]Sock 9.Close socket [11:53:24]Sock 9.Thread stoped [11:53:28]OFD Sender: No OFD packet to send [11:53:33]int [11:53:33]Write to MH i2c: 01 00 00 FB 03 FE [11:53:33]*** FLAG_PRN_PAP1 set [11:53:33]Write i2c OK [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 07 00 [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 07 00 FB 03 00 01 00 00 00 FF 0F 14 [11:53:33]state=0 [11:53:33]No paper [11:53:33]int [11:53:33]Write to MH i2c: 01 00 00 FC 03 FF [11:53:33]*** FLAG_PRN_PAP2 set [11:53:33]Write i2c OK [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 07 00 [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 07 00 FC 03 00 03 00 00 00 FF 0F 17 [11:53:33]state=0 [11:53:33]No paper [11:53:33]Cover opened [11:53:33]int [11:53:33]Write to MH i2c: 01 00 00 FD 03 00 [11:53:33]*** FLAG_PRN_PAP2 reset [11:53:33]Write i2c OK [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 07 00 [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 07 00 FD 03 00 01 00 00 00 FF 0F 16 [11:53:33]state=3 [11:53:33]No paper [11:53:33]Cover closed [11:53:33]int [11:53:33]Write to MH i2c: 01 00 00 FE 03 01 [11:53:33]*** FLAG_PRN_PAP2 set [11:53:33]Write i2c OK [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 07 00 [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 07 00 FE 03 00 03 00 00 00 FF 0F 19 [11:53:33]state=0 [11:53:33]No paper [11:53:33]Cover opened [11:53:33]int [11:53:33]Write to MH i2c: 01 00 00 FF 03 02 [11:53:33]*** FLAG_PRN_PAP2 reset [11:53:33]Write i2c OK [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 07 00 [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 07 00 FF 03 00 01 00 00 00 FF 0F 18 [11:53:33]state=3 [11:53:33]No paper [11:53:33]Cover closed [11:53:33]int [11:53:33]Write to MH i2c: 01 00 00 00 04 04 [11:53:33]*** FLAG_PRN_PAP2 set [11:53:33]Write i2c OK [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 07 00 [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 07 00 00 04 00 03 00 00 00 FF 0F 1C [11:53:33]state=0 [11:53:33]No paper [11:53:33]Cover opened [11:53:33]int [11:53:33]Write to MH i2c: 01 00 00 01 04 05 [11:53:33]*** FLAG_PRN_PAP2 reset [11:53:33]Write i2c OK [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 07 00 [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 07 00 01 04 00 01 00 00 00 FF 0F 1B [11:53:33]state=3 [11:53:33]No paper [11:53:33]Cover closed [11:53:33]int [11:53:33]Write to MH i2c: 01 00 00 02 04 06 [11:53:33]*** FLAG_PRN_PAP2 set [11:53:33]Write i2c OK [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 07 00 [11:53:33]MH_I2C_Read... [11:53:33]Read from MH i2c: 01 07 00 02 04 00 03 00 00 00 FF 0F 1E [11:53:33]state=0 [11:53:33]No paper [11:53:33]Cover opened [11:53:33]OFD Sender: No OFD packet to send [11:53:38]Write to MH i2c: 01 00 00 03 04 07 [11:53:38]Write i2c OK [11:53:38]MH_I2C_Read... [11:53:38]Read from MH i2c: 01 [11:53:38]MH_I2C_Read... [11:53:38]Read from MH i2c: 01 07 00 [11:53:38]MH_I2C_Read... [11:53:38]Read from MH i2c: 01 07 00 03 04 00 03 00 00 00 FF 0F 1F [11:53:38]state=3 [11:53:38]No paper [11:53:38]Cover opened [11:53:38]OFD Sender: No OFD packet to send [11:53:42]int [11:53:42]Write to MH i2c: 01 00 00 04 04 08 [11:53:42]*** FLAG_PRN_PAP2 reset [11:53:42]Write i2c OK [11:53:42]MH_I2C_Read... [11:53:42]Read from MH i2c: 01 [11:53:42]MH_I2C_Read... [11:53:42]Read from MH i2c: 01 07 00 [11:53:42]MH_I2C_Read... [11:53:42]Read from MH i2c: 01 07 00 04 04 00 01 00 00 00 FF 0F 1E [11:53:42]state=3 [11:53:42]No paper [11:53:42]Cover closed [11:53:42]int [11:53:42]Write to MH i2c: 01 00 00 05 04 09 [11:53:42]*** FLAG_PRN_PAP2 set [11:53:42]Write i2c OK [11:53:42]MH_I2C_Read... [11:53:42]Read from MH i2c: 01 [11:53:42]MH_I2C_Read... [11:53:42]Read from MH i2c: 01 07 00 [11:53:42]MH_I2C_Read... [11:53:42]Read from MH i2c: 01 07 00 05 04 00 03 00 00 00 FF 0F 21 [11:53:42]state=0 [11:53:42]No paper [11:53:42]Cover opened [11:53:43]OFD Sender: No OFD packet to send [11:53:44]int [11:53:44]Write to MH i2c: 01 00 00 06 04 0A [11:53:44]*** FLAG_PRN_PAP2 reset [11:53:44]Write i2c OK [11:53:44]MH_I2C_Read... [11:53:44]Read from MH i2c: 01 [11:53:44]MH_I2C_Read... [11:53:44]Read from MH i2c: 01 07 00 [11:53:44]MH_I2C_Read... [11:53:44]Read from MH i2c: 01 07 00 06 04 00 01 00 00 00 FF 0F 20 [11:53:44]state=3 [11:53:44]No paper [11:53:44]Cover closed [11:53:44]int [11:53:44]Write to MH i2c: 01 00 00 07 04 0B [11:53:44]*** FLAG_PRN_PAP1 reset [11:53:44]Write i2c OK [11:53:44]MH_I2C_Read... [11:53:44]Read from MH i2c: 01 [11:53:44]MH_I2C_Read... [11:53:44]Read from MH i2c: 01 07 00 [11:53:44]MH_I2C_Read... [11:53:44]Read from MH i2c: 01 07 00 07 04 00 00 00 00 00 FF 0F 20 [11:53:44]state=0 [11:53:45]int [11:53:45]Write to MH i2c: 01 00 00 08 04 0C [11:53:45]*** FLAG_PRN_PAP1 set [11:53:45]Write i2c OK [11:53:45]MH_I2C_Read... [11:53:45]Read from MH i2c: 01 [11:53:45]MH_I2C_Read... [11:53:45]Read from MH i2c: 01 07 00 [11:53:45]MH_I2C_Read... [11:53:45]Read from MH i2c: 01 07 00 08 04 00 01 00 00 00 FF 0F 22 [11:53:45]state=0 [11:53:45]No paper [11:53:45]int [11:53:45]Write to MH i2c: 01 00 00 09 04 0D [11:53:45]*** FLAG_PRN_PAP2 set [11:53:45]Write i2c OK [11:53:45]MH_I2C_Read... [11:53:45]Read from MH i2c: 01 [11:53:45]MH_I2C_Read... [11:53:45]Read from MH i2c: 01 07 00 [11:53:45]MH_I2C_Read... [11:53:45]Read from MH i2c: 01 07 00 09 04 00 03 00 00 00 FF 0F 25 [11:53:45]state=0 [11:53:45]No paper [11:53:45]Cover opened [11:53:45]int [11:53:45]Write to MH i2c: 01 00 00 0A 04 0E [11:53:45]*** FLAG_PRN_PAP2 reset [11:53:45]Write i2c OK [11:53:45]MH_I2C_Read... [11:53:45]Read from MH i2c: 01 [11:53:45]MH_I2C_Read... [11:53:45]Read from MH i2c: 01 07 00 [11:53:45]MH_I2C_Read... [11:53:45]Read from MH i2c: 01 07 00 0A 04 00 01 00 00 00 FF 0F 24 [11:53:45]state=3 [11:53:45]No paper [11:53:45]Cover closed [11:53:45]int [11:53:45]Write to MH i2c: 01 00 00 0B 04 0F [11:53:45]*** FLAG_PRN_PAP1 reset [11:53:45]Write i2c OK [11:53:45]MH_I2C_Read... [11:53:45]Read from MH i2c: 01 [11:53:45]MH_I2C_Read... [11:53:45]Read from MH i2c: 01 07 00 [11:53:45]MH_I2C_Read... [11:53:45]Read from MH i2c: 01 07 00 0B 04 00 00 00 00 00 FF 0F 24 [11:53:45]state=0 [11:53:48]OFD Sender: No OFD packet to send [11:53:53]OFD Sender: No OFD packet to send [11:53:58]OFD Sender: No OFD packet to send [11:54:03]OFD Sender: No OFD packet to send [11:54:08]OFD Sender: No OFD packet to send [11:54:13]OFD Sender: No OFD packet to send [11:54:18]OFD Sender: No OFD packet to send [11:54:23]OFD Sender: No OFD packet to send [11:54:28]OFD Sender: No OFD packet to send [11:54:33]OFD Sender: No OFD packet to send [11:54:38]OFD Sender: No OFD packet to send [11:54:43]OFD Sender: No OFD packet to send [11:54:48]OFD Sender: No OFD packet to send [11:54:53]OFD Sender: No OFD packet to send [11:54:58]OFD Sender: No OFD packet to send [11:55:03]OFD Sender: No OFD packet to send [11:55:08]OFD Sender: No OFD packet to send [11:55:13]OFD Sender: No OFD packet to send [11:55:18]OFD Sender: No OFD packet to send [11:55:23]OFD Sender: No OFD packet to send [11:55:28]OFD Sender: No OFD packet to send [11:55:33]OFD Sender: No OFD packet to send [11:55:38]OFD Sender: No OFD packet to send [11:55:43]OFD Sender: No OFD packet to send [11:55:48]OFD Sender: No OFD packet to send [11:55:53]OFD Sender: No OFD packet to send [11:55:58]OFD Sender: No OFD packet to send [11:56:03]OFD Sender: No OFD packet to send [11:56:08]OFD Sender: No OFD packet to send [11:56:13]OFD Sender: No OFD packet to send [11:56:18]OFD Sender: No OFD packet to send [11:56:23]OFD Sender: No OFD packet to send [11:56:28]OFD Sender: No OFD packet to send [11:56:33]OFD Sender: No OFD packet to send [11:56:38]OFD Sender: No OFD packet to send [11:56:43]OFD Sender: No OFD packet to send [11:56:48]OFD Sender: No OFD packet to send [11:56:53]OFD Sender: No OFD packet to send [11:56:58]OFD Sender: No OFD packet to send [11:57:03]OFD Sender: No OFD packet to send [11:57:08]OFD Sender: No OFD packet to send [11:57:13]OFD Sender: No OFD packet to send [11:57:18]OFD Sender: No OFD packet to send [11:57:23]OFD Sender: No OFD packet to send [11:57:28]OFD Sender: No OFD packet to send [11:57:33]OFD Sender: No OFD packet to send [11:57:38]OFD Sender: No OFD packet to send [11:57:43]OFD Sender: No OFD packet to send [11:57:48]OFD Sender: No OFD packet to send [11:57:53]OFD Sender: No OFD packet to send [11:57:58]OFD Sender: No OFD packet to send [11:58:03]OFD Sender: No OFD packet to send [11:58:08]OFD Sender: No OFD packet to send [11:58:13]OFD Sender: No OFD packet to send [11:58:18]OFD Sender: No OFD packet to send [11:58:23]OFD Sender: No OFD packet to send [11:58:28]OFD Sender: No OFD packet to send [11:58:33]OFD Sender: No OFD packet to send [11:58:38]OFD Sender: No OFD packet to send [11:58:43]OFD Sender: No OFD packet to send [11:58:48]OFD Sender: No OFD packet to send [11:58:53]OFD Sender: No OFD packet to send [11:58:58]OFD Sender: No OFD packet to send [11:59:03]OFD Sender: No OFD packet to send [11:59:08]OFD Sender: No OFD packet to send [11:59:13]OFD Sender: No OFD packet to send [11:59:18]OFD Sender: No OFD packet to send [11:59:23]OFD Sender: No OFD packet to send [11:59:28]OFD Sender: No OFD packet to send [11:59:31]accept exits with 8 [11:59:31]New connection [11:59:31]New thread 3066621284 created [11:59:31]Thread 3066764644 joined [11:59:31]Waiting for new connection... [11:59:31] Sock 8.Parse request [11:59:31]Sock 8.Check first char [11:59:31]Sock 8.First char is OK [11:59:31]request: POST /json_proto HTTP/1.0 [11:59:31]Method: POST [11:59:31]URL: /json_proto [11:59:31]Method is POST - this is cgi request [11:59:31]url: /json_proto [11:59:31]query_string will be loaded in cgi processing [11:59:31]execute_cgi json_proto POST (null) [11:59:31]execute_cgi path=json_proto method=POST [11:59:31]POST find Content-Length [11:59:31]Host: 172.17.62.196:8080 [11:59:31]Content-Length: 613 [11:59:31]Content-Type: application/json [11:59:31] [11:59:31]POST finish read [11:59:31]Found Content-Length = 613 [11:59:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16866", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:59:31]execute_script... [11:59:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16866", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:59:31]POST & json_proto [11:59:31]process_json_proto [11:59:31]json parsed OK: [11:59:31]protocol is kg_v1.0 [11:59:31]action value=close_receipt [11:59:31]process_action close_receipt [11:59:31]cmd_close_receipt [11:59:31]MH_GetDate [11:59:31]Write to MH i2c: F0 00 00 0C 04 FF [11:59:31]Write i2c OK [11:59:31]MH_I2C_Read... [11:59:31]Read from MH i2c: F0 [11:59:31]MH_I2C_Read... [11:59:31]Read from MH i2c: F0 09 00 [11:59:31]MH_I2C_Read... [11:59:31]Read from MH i2c: F0 09 00 0C 04 00 24 FB F3 66 CE CC 0E 66 8E [11:59:31]GetLastDocTimeStamp 1727265201 [11:59:31]current date 1727265572 [11:59:31]FM_GetShiftState [11:59:31]SAM_PROTO_GetShiftState [11:59:31]wFMCommunicate request_size=4 [11:59:31]MH_SAM_APDU [11:59:31]CAPDU: 80 13 01 00 [11:59:31]Write to MH i2c: E2 08 00 0D 04 80 13 01 00 00 00 00 00 8E [11:59:31]Write i2c OK [11:59:31]MH_I2C_Read... [11:59:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:59:31]Read from MH i2c: E2 [11:59:31]MH_I2C_Read... [11:59:31]Read from MH i2c: E2 0E 00 [11:59:31]MH_I2C_Read... [11:59:31]Read from MH i2c: E2 0E 00 0D 04 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 7B [11:59:31]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [11:59:31]wFMCommunicate OK [11:59:31]SAM_PROTO_GetShiftState done [11:59:31]FM_GetShiftState done [11:59:31]opened in 1727223091 [11:59:31]opened+sec_in_day 1727309491 [11:59:31]quantity*price = 11000 [11:59:31]sum+1 = 11001 [11:59:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 24 25.09.2024 11:59 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18946 ФПД: 182640100687568 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T115932&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18946&fm=182640100687568&tin=02508201610067®Number=0000000000152968&sum=11000 0 [11:59:32]StoreToDocumentArchive [11:59:32]shift 183 fd 18946 [11:59:32]save to /storage/0183/doc_00018946 [11:59:32]save last doc name /storage/0183/doc_00018946 to /storage/kkm_last_doc_name [11:59:32]save OK [11:59:32]Clear old archive folders... [11:59:32]ProcessDocumentItem done err = 0, tmpTLVsize=266 [11:59:32]tlvbuf is 016029D0 [11:59:32]SAM_PROTO_ClearQueue [11:59:32]wFMCommunicate request_size=4 [11:59:32]MH_SAM_APDU [11:59:32]CAPDU: 80 09 00 00 [11:59:32]Write to MH i2c: E2 08 00 1A 04 80 09 00 00 00 00 00 00 90 [11:59:32]Write i2c OK [11:59:32]MH_I2C_Read... [11:59:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:59:32]Read from MH i2c: E2 [11:59:32]MH_I2C_Read... [11:59:32]Read from MH i2c: E2 03 00 [11:59:32]MH_I2C_Read... [11:59:32]Read from MH i2c: E2 03 00 1A 04 00 90 00 92 [11:59:32]RAPDU: 90 00 [11:59:32]wFMCommunicate OK [11:59:32]SAM_PROTO_ClearQueue done [11:59:32]KKMCreateOFDPacket [11:59:32]OFDProtocolAddRootSTLVToBuf [11:59:32]FM_MakeSignedData [11:59:32]FM_MakeSignedData [11:59:32]SAM_PROTO_SignData [11:59:32]wFMCommunicate request_size=4 [11:59:32]MH_SAM_APDU [11:59:32]CAPDU: 80 0D 01 02 [11:59:32]Write to MH i2c: E2 08 00 1B 04 80 0D 01 02 00 00 00 00 98 [11:59:32]Write i2c OK [11:59:32]MH_I2C_Read... [11:59:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:59:32]Read from MH i2c: E2 [11:59:32]MH_I2C_Read... [11:59:32]Read from MH i2c: E2 03 00 [11:59:32]MH_I2C_Read... [11:59:32]Read from MH i2c: E2 03 00 1B 04 00 90 00 93 [11:59:32]RAPDU: 90 00 [11:59:32]wFMCommunicate OK [11:59:32]wFMCommunicate request_size=255 [11:59:32]MH_SAM_APDU [11:59:32]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 24 FB F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 [11:59:32]Write to MH i2c: E2 02 01 1C 04 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 24 FB F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 00 00 5F [11:59:32]Write i2c OK [11:59:32]MH_I2C_Read... [11:59:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:59:33]Read from MH i2c: E2 [11:59:33]MH_I2C_Read... [11:59:33]Read from MH i2c: E2 03 00 [11:59:33]MH_I2C_Read... [11:59:33]Read from MH i2c: E2 03 00 1C 04 00 90 00 94 [11:59:33]RAPDU: 90 00 [11:59:33]wFMCommunicate OK [11:59:33]wFMCommunicate request_size=25 [11:59:33]MH_SAM_APDU [11:59:33]CAPDU: 80 0D 02 02 14 35 36 10 04 04 00 02 4A 00 00 35 04 06 00 A6 1C 36 52 BE D0 [11:59:33]Write to MH i2c: E2 1C 00 1D 04 80 0D 02 02 14 00 35 36 10 04 04 00 02 4A 00 00 35 04 06 00 A6 1C 36 52 BE D0 00 00 A9 [11:59:33]Write i2c OK [11:59:33]MH_I2C_Read... [11:59:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:59:33]Read from MH i2c: E2 [11:59:33]MH_I2C_Read... [11:59:33]Read from MH i2c: E2 03 00 [11:59:33]MH_I2C_Read... [11:59:33]Read from MH i2c: E2 03 00 1D 04 00 90 00 95 [11:59:33]RAPDU: 90 00 [11:59:33]wFMCommunicate OK [11:59:33]wFMCommunicate request_size=4 [11:59:33]MH_SAM_APDU [11:59:33]CAPDU: 80 0D 03 02 [11:59:33]Write to MH i2c: E2 08 00 1E 04 80 0D 03 02 00 00 00 00 9D [11:59:33]Write i2c OK [11:59:33]MH_I2C_Read... [11:59:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:59:33]Read from MH i2c: E2 [11:59:33]MH_I2C_Read... [11:59:33]Read from MH i2c: E2 0B 00 [11:59:33]MH_I2C_Read... [11:59:33]Read from MH i2c: E2 0B 00 1E 04 00 63 62 AA 8C 93 C5 8E 27 90 00 A6 [11:59:33]RAPDU: 63 62 AA 8C 93 C5 8E 27 90 00 [11:59:33]wFMCommunicate OK [11:59:33]SAM_PROTO_SignData done [11:59:33]FM_MakeSignedData done [11:59:33]CreateOFDProtocolMessage [11:59:33]wFMCommunicate request_size=4 [11:59:33]MH_SAM_APDU [11:59:33]CAPDU: 80 11 00 00 [11:59:33]Write to MH i2c: E2 08 00 1F 04 80 11 00 00 00 00 00 00 9D [11:59:33]Write i2c OK [11:59:33]MH_I2C_Read... [11:59:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:59:33]Read from MH i2c: E2 [11:59:33]MH_I2C_Read... [11:59:33]Read from MH i2c: E2 17 00 [11:59:33]MH_I2C_Read... [11:59:33]Read from MH i2c: E2 17 00 1F 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 F6 [11:59:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [11:59:33]wFMCommunicate OK [11:59:33]CreateOFDProtocolMessage done [11:59:33]OFDSenderStorePacket 18946 [11:59:33]StoreOFDPacket docnum=18946 [11:59:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 1E 01 00 00 AF DA 16 01 63 89 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 24 FB F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 02 4A 00 00 35 04 06 00 A6 1C 36 52 BE D0 63 62 AA 8C 93 C5 8E 27 [11:59:33]CheckFolder [11:59:33]dirname=/storage/ofd_packets [11:59:33]CheckFolder done [11:59:33]ProducePacketName [11:59:33]name=ofd_packets/00018946 [11:59:33]NVStorageSaveData ofd_packets/00018946 [11:59:33]File name is /storage/ofd_packets/00018946 [11:59:33]Write 316 bytes [11:59:33]NVStorageSaveData done [11:59:33]OFDSenderStorePacket done [11:59:33]KKMCreateOFDPacket done [11:59:33]NVStorageSaveData kkm_last_timestamp [11:59:33]File name is /storage/kkm_last_timestamp [11:59:33]Write 4 bytes [11:59:33]NVStorageSaveData done [11:59:33]ExternCall_PrintAddStr [11:59:33]wPrintStart [11:59:33]Write to MH i2c: 01 00 00 20 04 24 [11:59:33]Write i2c OK [11:59:33]MH_I2C_Read... [11:59:33]Read from MH i2c: 01 [11:59:33]MH_I2C_Read... [11:59:33]Read from MH i2c: 01 07 00 [11:59:33]MH_I2C_Read... [11:59:33]Read from MH i2c: 01 07 00 20 04 00 00 00 00 00 FF 0F 39 [11:59:33]RasterBufferAndPrint [11:59:33]line Счет N : (3)16866 [11:59:33]line ИНН: 02508201610067 [11:59:33]line Контрольно-Кассовый Чек [11:59:33]line ПРОДАЖА [11:59:33]line Товар: 4870001570071 [11:59:33]line Напиток Pepsi 1л [11:59:33]line 1.000 * 110.00 [11:59:33]line = 110.00 [11:59:33]line НДС 12% НСП 1% [11:59:33]line > о реализуемом товаре [11:59:33]line ИТОГО: 110.00 [11:59:33]line НСП 1% : 0.97 [11:59:33]line НДС 12% : 11.68 [11:59:33]line Наличными: 110.00 [11:59:33]line Безнал.: 0.00 [11:59:33]line Место: АЗС № 176 "Партнер Нефть" [11:59:33]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [11:59:33]line СНО: Общий режим [11:59:33]line Чек 24 25.09.2024 11:59 [11:59:33]line Смена: 183 ФФД: 1.0 [11:59:33]line ЗНМ: 0300000010 [11:59:33]line РНМ: 0000000000152968 [11:59:33]line Версия ККМ: v1.0 [11:59:33]line ФМ: 0000000000959456 [11:59:33]line ФД: 18946 [11:59:33]line ФПД: 182640100687568 [11:59:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T115932&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18946&fm=182640100687568&tin=02508201610067®Number=0000000000152968&sum=11000 [11:59:33]line 0 [11:59:33]OFD Sender: Processing packet 18946 [packets to send 7, broken 6] [11:59:33]ProducePacketName [11:59:33]name=ofd_packets/00018946 [11:59:33]OFD Sender: To server: pG, [11:59:33]CommunicateWithHost lk.salyk.kg:30040 [11:59:33]ConnectInit lk.salyk.kg [11:59:33]written 0, free lines is 4095 [11:59:33]Connected sock=10 [11:59:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 1E 01 00 00 AF DA 16 01 63 89 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 24 FB F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 02 4A 00 00 35 04 06 00 A6 1C 36 52 BE D0 63 62 AA 8C 93 C5 8E 27 [11:59:34]Write to MH i2c: 01 00 00 48 04 4C [11:59:34]Write i2c OK [11:59:34]MH_I2C_Read... [11:59:34]Read from MH i2c: 01 [11:59:34]MH_I2C_Read... [11:59:34]Read from MH i2c: 01 07 00 [11:59:34]MH_I2C_Read... [11:59:34]Read from MH i2c: 01 07 00 48 04 00 00 00 00 00 1F 0D 7F [11:59:34]RasterBufferAndPrint [11:59:34]line [11:59:34]line [11:59:34]line [11:59:34]line [11:59:34]line [11:59:34]written 0, free lines is 3365 [11:59:34]MH_Cut [11:59:34]Write to MH i2c: D1 01 00 4F 04 01 25 [11:59:34]Write i2c OK [11:59:34]MH_I2C_Read... [11:59:34]Read from MH i2c: D1 [11:59:34]MH_I2C_Read... [11:59:34]Read from MH i2c: D1 01 00 [11:59:34]MH_I2C_Read... [11:59:34]Read from MH i2c: D1 01 00 4F 04 00 24 [11:59:34]Write to MH i2c: 01 00 00 50 04 54 [11:59:34]Write i2c OK [11:59:34]MH_I2C_Read... [11:59:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 18 A1 47 00 E2 6C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 02 4A 00 00 F4 03 04 00 82 A4 F3 66 B6 04 01 00 00 4B CD A0 30 15 95 D6 6D [11:59:34]CommunicateWithHost err = 0 [11:59:34]CheckOFDResponse [11:59:34]1017 (14) - 77093643461234 [11:59:34]1041 (16) - 0000000000959456 [11:59:34]1040 (4) - 18946 [11:59:34]1012 (4) - 25.09.2024 05:49 [11:59:34]1206 (1) - 0 [11:59:34]OFD Sender: Remove packet 18946 [11:59:34]ProducePacketName [11:59:34]name=ofd_packets/00018946 [11:59:34]NVStorageDeleteData [11:59:34]OFD Sender: No OFD packet to send [11:59:34]*** Cut start [11:59:34]*** Partial cut [11:59:34]*** CUTSNS_PIN = 1 [11:59:34]*** CUTSNS_PIN = 0 [11:59:34]*** Brake cut motor [11:59:35]Read from MH i2c: 01 [11:59:35]MH_I2C_Read... [11:59:35]*** Stop cut motor [11:59:35]*** Cut end [11:59:35]Read from MH i2c: 01 07 00 [11:59:35]MH_I2C_Read... [11:59:35]Read from MH i2c: 01 07 00 50 04 00 00 00 00 00 FF 0F 69 [11:59:35]process_action close_receipt done [11:59:35]requested_data is exist [11:59:35]produce_requested_data [11:59:35]requested_item fm.sn is exist - process it [11:59:35]wFMCommunicate request_size=4 [11:59:35]MH_SAM_APDU [11:59:35]CAPDU: 80 11 00 00 [11:59:35]Write to MH i2c: E2 08 00 51 04 80 11 00 00 00 00 00 00 CF [11:59:35]Write i2c OK [11:59:35]MH_I2C_Read... [11:59:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:59:35]Read from MH i2c: E2 [11:59:35]MH_I2C_Read... [11:59:35]Read from MH i2c: E2 17 00 [11:59:35]MH_I2C_Read... [11:59:35]Read from MH i2c: E2 17 00 51 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 28 [11:59:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [11:59:35]wFMCommunicate OK [11:59:35]requested_item fd.num is exist - process it [11:59:35]SAM_PROTO_GetFieldsCounters [11:59:35]wFMCommunicate request_size=4 [11:59:35]MH_SAM_APDU [11:59:35]CAPDU: 80 13 00 00 [11:59:35]Write to MH i2c: E2 08 00 52 04 80 13 00 00 00 00 00 00 D2 [11:59:35]Write i2c OK [11:59:35]MH_I2C_Read... [11:59:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:59:35]Read from MH i2c: E2 [11:59:35]MH_I2C_Read... [11:59:35]Read from MH i2c: E2 62 00 [11:59:35]MH_I2C_Read... [11:59:35]Read from MH i2c: E2 62 00 52 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 02 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 4A [11:59:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 02 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:59:35]wFMCommunicate OK [11:59:35]SAM_PROTO_GetFieldsCounters done [11:59:35]requested_item shift.num is exist - process it [11:59:35]requested_item shift.opened is exist - process it [11:59:35]req_shift_opened [11:59:35]FM_GetShiftState [11:59:35]SAM_PROTO_GetShiftState [11:59:35]wFMCommunicate request_size=4 [11:59:35]MH_SAM_APDU [11:59:35]CAPDU: 80 13 01 00 [11:59:35]Write to MH i2c: E2 08 00 53 04 80 13 01 00 00 00 00 00 D4 [11:59:35]Write i2c OK [11:59:35]MH_I2C_Read... [11:59:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:59:35]Read from MH i2c: E2 [11:59:35]MH_I2C_Read... [11:59:35]Read from MH i2c: E2 0E 00 [11:59:35]MH_I2C_Read... [11:59:35]Read from MH i2c: E2 0E 00 53 04 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 C1 [11:59:35]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [11:59:35]wFMCommunicate OK [11:59:35]SAM_PROTO_GetShiftState done [11:59:35]FM_GetShiftState done [11:59:35]req_shift_opened done [11:59:35]requested_item shift.open_date is exist - process it [11:59:35]req_shift_open_date [11:59:35]req_shift_open_date done [11:59:35]produce_requested_data done [11:59:35]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18946,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [11:59:35]process_action_free close_receipt [11:59:35]json_value_free [11:59:35]json_value_free done [11:59:35]process_json_proto returns [11:59:35]Send response to host [11:59:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18946,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [11:59:35]free response buf [11:59:35]execute_script done [11:59:35]execute_script returns [11:59:35]free content buf [11:59:35]Sock 8.Close socket [11:59:35]Sock 8.Thread stoped [11:59:39]OFD Sender: No OFD packet to send [11:59:44]OFD Sender: No OFD packet to send [11:59:49]OFD Sender: No OFD packet to send [11:59:54]OFD Sender: No OFD packet to send [11:59:59]OFD Sender: No OFD packet to send [12:00:04]OFD Sender: No OFD packet to send [12:00:09]OFD Sender: No OFD packet to send [12:00:14]OFD Sender: No OFD packet to send [12:00:19]OFD Sender: No OFD packet to send [12:00:24]OFD Sender: No OFD packet to send [12:00:29]OFD Sender: No OFD packet to send [12:00:34]OFD Sender: No OFD packet to send [12:00:39]OFD Sender: No OFD packet to send [12:00:44]OFD Sender: No OFD packet to send [12:00:49]OFD Sender: No OFD packet to send [12:00:54]OFD Sender: No OFD packet to send [12:00:59]OFD Sender: No OFD packet to send [12:01:04]OFD Sender: No OFD packet to send [12:01:09]OFD Sender: No OFD packet to send [12:01:14]OFD Sender: No OFD packet to send [12:01:19]OFD Sender: No OFD packet to send [12:01:24]OFD Sender: No OFD packet to send [12:01:29]OFD Sender: No OFD packet to send [12:01:34]OFD Sender: No OFD packet to send [12:01:39]OFD Sender: No OFD packet to send [12:01:44]OFD Sender: No OFD packet to send [12:01:49]OFD Sender: No OFD packet to send [12:01:54]OFD Sender: No OFD packet to send [12:01:59]OFD Sender: No OFD packet to send [12:02:04]OFD Sender: No OFD packet to send [12:02:09]OFD Sender: No OFD packet to send [12:02:14]OFD Sender: No OFD packet to send [12:02:19]OFD Sender: No OFD packet to send [12:02:24]OFD Sender: No OFD packet to send [12:02:29]OFD Sender: No OFD packet to send [12:02:34]OFD Sender: No OFD packet to send [12:02:39]OFD Sender: No OFD packet to send [12:02:44]OFD Sender: No OFD packet to send [12:02:49]OFD Sender: No OFD packet to send [12:02:54]OFD Sender: No OFD packet to send [12:02:59]OFD Sender: No OFD packet to send [12:03:04]OFD Sender: No OFD packet to send [12:03:09]OFD Sender: No OFD packet to send [12:03:14]OFD Sender: No OFD packet to send [12:03:19]OFD Sender: No OFD packet to send [12:03:24]OFD Sender: No OFD packet to send [12:03:29]OFD Sender: No OFD packet to send [12:03:34]OFD Sender: No OFD packet to send [12:03:39]OFD Sender: No OFD packet to send [12:03:44]OFD Sender: No OFD packet to send [12:03:49]OFD Sender: No OFD packet to send [12:03:54]OFD Sender: No OFD packet to send [12:03:59]OFD Sender: No OFD packet to send [12:04:04]OFD Sender: No OFD packet to send [12:04:09]OFD Sender: No OFD packet to send [12:04:14]OFD Sender: No OFD packet to send [12:04:19]OFD Sender: No OFD packet to send [12:04:24]OFD Sender: No OFD packet to send [12:04:29]OFD Sender: No OFD packet to send [12:04:34]OFD Sender: No OFD packet to send [12:04:39]OFD Sender: No OFD packet to send [12:04:44]OFD Sender: No OFD packet to send [12:04:49]OFD Sender: No OFD packet to send [12:04:54]OFD Sender: No OFD packet to send [12:04:59]OFD Sender: No OFD packet to send [12:05:04]OFD Sender: No OFD packet to send [12:05:09]OFD Sender: No OFD packet to send [12:05:14]OFD Sender: No OFD packet to send [12:05:19]OFD Sender: No OFD packet to send [12:05:24]OFD Sender: No OFD packet to send [12:05:29]OFD Sender: No OFD packet to send [12:05:34]OFD Sender: No OFD packet to send [12:05:39]OFD Sender: No OFD packet to send [12:05:44]OFD Sender: No OFD packet to send [12:05:49]OFD Sender: No OFD packet to send [12:05:54]OFD Sender: No OFD packet to send [12:05:59]OFD Sender: No OFD packet to send [12:06:04]OFD Sender: No OFD packet to send [12:06:09]OFD Sender: No OFD packet to send [12:06:14]OFD Sender: No OFD packet to send [12:06:19]OFD Sender: No OFD packet to send [12:06:24]OFD Sender: No OFD packet to send [12:06:29]OFD Sender: No OFD packet to send [12:06:34]OFD Sender: No OFD packet to send [12:06:39]OFD Sender: No OFD packet to send [12:06:44]OFD Sender: No OFD packet to send [12:06:49]OFD Sender: No OFD packet to send [12:06:54]OFD Sender: No OFD packet to send [12:06:59]OFD Sender: No OFD packet to send [12:07:04]OFD Sender: No OFD packet to send [12:07:09]OFD Sender: No OFD packet to send [12:07:14]OFD Sender: No OFD packet to send [12:07:19]OFD Sender: No OFD packet to send [12:07:24]OFD Sender: No OFD packet to send [12:07:30]OFD Sender: No OFD packet to send [12:07:35]OFD Sender: No OFD packet to send [12:07:40]OFD Sender: No OFD packet to send [12:07:45]OFD Sender: No OFD packet to send [12:07:50]OFD Sender: No OFD packet to send [12:07:55]OFD Sender: No OFD packet to send [12:08:00]OFD Sender: No OFD packet to send [12:08:05]OFD Sender: No OFD packet to send [12:08:10]OFD Sender: No OFD packet to send [12:08:15]OFD Sender: No OFD packet to send [12:08:20]OFD Sender: No OFD packet to send [12:08:25]OFD Sender: No OFD packet to send [12:08:30]OFD Sender: No OFD packet to send [12:08:35]OFD Sender: No OFD packet to send [12:08:40]OFD Sender: No OFD packet to send [12:08:45]OFD Sender: No OFD packet to send [12:08:50]OFD Sender: No OFD packet to send [12:08:55]OFD Sender: No OFD packet to send [12:09:00]OFD Sender: No OFD packet to send [12:09:05]OFD Sender: No OFD packet to send [12:09:10]OFD Sender: No OFD packet to send [12:09:15]OFD Sender: No OFD packet to send [12:09:20]OFD Sender: No OFD packet to send [12:09:25]OFD Sender: No OFD packet to send [12:09:30]OFD Sender: No OFD packet to send [12:09:35]OFD Sender: No OFD packet to send [12:09:40]OFD Sender: No OFD packet to send [12:09:45]OFD Sender: No OFD packet to send [12:09:50]OFD Sender: No OFD packet to send [12:09:55]OFD Sender: No OFD packet to send [12:10:00]OFD Sender: No OFD packet to send [12:10:05]OFD Sender: No OFD packet to send [12:10:10]OFD Sender: No OFD packet to send [12:10:15]OFD Sender: No OFD packet to send [12:10:20]OFD Sender: No OFD packet to send [12:10:25]OFD Sender: No OFD packet to send [12:10:30]OFD Sender: No OFD packet to send [12:10:35]OFD Sender: No OFD packet to send [12:10:40]OFD Sender: No OFD packet to send [12:10:45]OFD Sender: No OFD packet to send [12:10:50]OFD Sender: No OFD packet to send [12:10:55]OFD Sender: No OFD packet to send [12:11:00]OFD Sender: No OFD packet to send [12:11:05]OFD Sender: No OFD packet to send [12:11:10]OFD Sender: No OFD packet to send [12:11:15]OFD Sender: No OFD packet to send [12:11:20]OFD Sender: No OFD packet to send [12:11:25]OFD Sender: No OFD packet to send [12:11:30]OFD Sender: No OFD packet to send [12:11:35]OFD Sender: No OFD packet to send [12:11:40]OFD Sender: No OFD packet to send [12:11:45]OFD Sender: No OFD packet to send [12:11:50]OFD Sender: No OFD packet to send [12:11:55]OFD Sender: No OFD packet to send [12:12:00]OFD Sender: No OFD packet to send [12:12:05]OFD Sender: No OFD packet to send [12:12:10]OFD Sender: No OFD packet to send [12:12:15]OFD Sender: No OFD packet to send [12:12:20]OFD Sender: No OFD packet to send [12:12:25]OFD Sender: No OFD packet to send [12:12:30]OFD Sender: No OFD packet to send [12:12:35]OFD Sender: No OFD packet to send [12:12:40]OFD Sender: No OFD packet to send [12:12:45]OFD Sender: No OFD packet to send [12:12:50]OFD Sender: No OFD packet to send [12:12:55]OFD Sender: No OFD packet to send [12:13:00]OFD Sender: No OFD packet to send [12:13:05]OFD Sender: No OFD packet to send [12:13:10]OFD Sender: No OFD packet to send [12:13:15]OFD Sender: No OFD packet to send [12:13:20]OFD Sender: No OFD packet to send [12:13:25]OFD Sender: No OFD packet to send [12:13:30]OFD Sender: No OFD packet to send [12:13:35]OFD Sender: No OFD packet to send [12:13:40]OFD Sender: No OFD packet to send [12:13:45]OFD Sender: No OFD packet to send [12:13:50]OFD Sender: No OFD packet to send [12:13:55]OFD Sender: No OFD packet to send [12:14:00]OFD Sender: No OFD packet to send [12:14:05]OFD Sender: No OFD packet to send [12:14:10]OFD Sender: No OFD packet to send [12:14:15]OFD Sender: No OFD packet to send [12:14:20]OFD Sender: No OFD packet to send [12:14:25]OFD Sender: No OFD packet to send [12:14:30]OFD Sender: No OFD packet to send [12:14:35]OFD Sender: No OFD packet to send [12:14:40]OFD Sender: No OFD packet to send [12:14:45]OFD Sender: No OFD packet to send [12:14:50]OFD Sender: No OFD packet to send [12:14:55]OFD Sender: No OFD packet to send [12:15:00]OFD Sender: No OFD packet to send [12:15:05]OFD Sender: No OFD packet to send [12:15:10]OFD Sender: No OFD packet to send [12:15:15]OFD Sender: No OFD packet to send [12:15:20]OFD Sender: No OFD packet to send [12:15:25]OFD Sender: No OFD packet to send [12:15:30]OFD Sender: No OFD packet to send [12:15:35]OFD Sender: No OFD packet to send [12:15:40]OFD Sender: No OFD packet to send [12:15:45]OFD Sender: No OFD packet to send [12:15:50]OFD Sender: No OFD packet to send [12:15:55]OFD Sender: No OFD packet to send [12:16:00]OFD Sender: No OFD packet to send [12:16:05]OFD Sender: No OFD packet to send [12:16:10]OFD Sender: No OFD packet to send [12:16:15]OFD Sender: No OFD packet to send [12:16:20]OFD Sender: No OFD packet to send [12:16:25]OFD Sender: No OFD packet to send [12:16:30]OFD Sender: No OFD packet to send [12:16:35]OFD Sender: No OFD packet to send [12:16:40]OFD Sender: No OFD packet to send [12:16:45]OFD Sender: No OFD packet to send [12:16:50]OFD Sender: No OFD packet to send [12:16:55]OFD Sender: No OFD packet to send [12:16:55]accept exits with 9 [12:16:55]New connection [12:16:55]New thread 3066764644 created [12:16:55]Thread 3066621284 joined [12:16:55]Waiting for new connection... [12:16:55] Sock 9.Parse request [12:16:55]Sock 9.Check first char [12:16:55]Sock 9.First char is OK [12:16:55]request: POST /json_proto HTTP/1.0 [12:16:55]Method: POST [12:16:55]URL: /json_proto [12:16:55]Method is POST - this is cgi request [12:16:55]url: /json_proto [12:16:55]query_string will be loaded in cgi processing [12:16:55]execute_cgi json_proto POST (null) [12:16:55]execute_cgi path=json_proto method=POST [12:16:55]POST find Content-Length [12:16:55]Host: 172.17.62.196:8080 [12:16:55]Content-Length: 620 [12:16:55]Content-Type: application/json [12:16:55] [12:16:55]POST finish read [12:16:55]Found Content-Length = 620 [12:16:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16867", "tax_sys" : 0, "items" : [ { "code": "48742344", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Super Slims Pink", "price" : 134.00, "quantity" : 2.000, "sum" : 268.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 268.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:16:55]execute_script... [12:16:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16867", "tax_sys" : 0, "items" : [ { "code": "48742344", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Super Slims Pink", "price" : 134.00, "quantity" : 2.000, "sum" : 268.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 268.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:16:55]POST & json_proto [12:16:55]process_json_proto [12:16:55]json parsed OK: [12:16:55]protocol is kg_v1.0 [12:16:55]action value=close_receipt [12:16:55]process_action close_receipt [12:16:55]cmd_close_receipt [12:16:55]MH_GetDate [12:16:55]Write to MH i2c: F0 00 00 54 04 47 [12:16:55]Write i2c OK [12:16:55]MH_I2C_Read... [12:16:55]Read from MH i2c: F0 [12:16:55]MH_I2C_Read... [12:16:55]Read from MH i2c: F0 09 00 [12:16:55]MH_I2C_Read... [12:16:55]Read from MH i2c: F0 09 00 54 04 00 38 FF F3 66 CE CC 0E 66 EE [12:16:55]GetLastDocTimeStamp 1727265572 [12:16:55]current date 1727266616 [12:16:55]FM_GetShiftState [12:16:55]SAM_PROTO_GetShiftState [12:16:55]wFMCommunicate request_size=4 [12:16:55]MH_SAM_APDU [12:16:55]CAPDU: 80 13 01 00 [12:16:55]Write to MH i2c: E2 08 00 55 04 80 13 01 00 00 00 00 00 D6 [12:16:55]Write i2c OK [12:16:55]MH_I2C_Read... [12:16:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:16:55]Read from MH i2c: E2 [12:16:55]MH_I2C_Read... [12:16:55]Read from MH i2c: E2 0E 00 [12:16:55]MH_I2C_Read... [12:16:55]Read from MH i2c: E2 0E 00 55 04 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 C3 [12:16:55]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [12:16:55]wFMCommunicate OK [12:16:55]SAM_PROTO_GetShiftState done [12:16:55]FM_GetShiftState done [12:16:55]opened in 1727223091 [12:16:55]opened+sec_in_day 1727309491 [12:16:55]quantity*price = 26800 [12:16:55]sum+1 = 26801 [12:16:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 268.00 НСП 1% : 2.37 НДС 12% : 28.46 Наличными: 268.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 25 25.09.2024 12:16 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18947 ФПД: 78706385488443 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T121656&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18947&fm=78706385488443&tin=02508201610067®Number=0000000000152968&sum=26800 0 [12:16:56]StoreToDocumentArchive [12:16:56]shift 183 fd 18947 [12:16:56]save to /storage/0183/doc_00018947 [12:16:56]save last doc name /storage/0183/doc_00018947 to /storage/kkm_last_doc_name [12:16:56]save OK [12:16:56]Clear old archive folders... [12:16:56]ProcessDocumentItem done err = 0, tmpTLVsize=273 [12:16:56]tlvbuf is 015EF6C0 [12:16:56]SAM_PROTO_ClearQueue [12:16:56]wFMCommunicate request_size=4 [12:16:56]MH_SAM_APDU [12:16:56]CAPDU: 80 09 00 00 [12:16:56]Write to MH i2c: E2 08 00 62 04 80 09 00 00 00 00 00 00 D8 [12:16:56]Write i2c OK [12:16:56]MH_I2C_Read... [12:16:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:16:56]Read from MH i2c: E2 [12:16:56]MH_I2C_Read... [12:16:56]Read from MH i2c: E2 03 00 [12:16:56]MH_I2C_Read... [12:16:56]Read from MH i2c: E2 03 00 62 04 00 90 00 DA [12:16:56]RAPDU: 90 00 [12:16:56]wFMCommunicate OK [12:16:56]SAM_PROTO_ClearQueue done [12:16:56]KKMCreateOFDPacket [12:16:56]OFDProtocolAddRootSTLVToBuf [12:16:56]FM_MakeSignedData [12:16:56]FM_MakeSignedData [12:16:56]SAM_PROTO_SignData [12:16:56]wFMCommunicate request_size=4 [12:16:56]MH_SAM_APDU [12:16:56]CAPDU: 80 0D 01 02 [12:16:56]Write to MH i2c: E2 08 00 63 04 80 0D 01 02 00 00 00 00 E0 [12:16:56]Write i2c OK [12:16:56]MH_I2C_Read... [12:16:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:16:56]Read from MH i2c: E2 [12:16:56]MH_I2C_Read... [12:16:56]Read from MH i2c: E2 03 00 [12:16:56]MH_I2C_Read... [12:16:56]Read from MH i2c: E2 03 00 63 04 00 90 00 DB [12:16:56]RAPDU: 90 00 [12:16:56]wFMCommunicate OK [12:16:56]wFMCommunicate request_size=255 [12:16:56]MH_SAM_APDU [12:16:56]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 38 FF F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 [12:16:56]Write to MH i2c: E2 02 01 64 04 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 38 FF F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 00 00 9D [12:16:56]Write i2c OK [12:16:56]MH_I2C_Read... [12:16:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:16:57]Read from MH i2c: E2 [12:16:57]MH_I2C_Read... [12:16:57]Read from MH i2c: E2 03 00 [12:16:57]MH_I2C_Read... [12:16:57]Read from MH i2c: E2 03 00 64 04 00 90 00 DC [12:16:57]RAPDU: 90 00 [12:16:57]wFMCommunicate OK [12:16:57]wFMCommunicate request_size=32 [12:16:57]MH_SAM_APDU [12:16:57]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 34 35 36 10 04 04 00 03 4A 00 00 35 04 06 00 47 95 42 26 0A 3B [12:16:57]Write to MH i2c: E2 23 00 65 04 80 0D 02 02 1B 00 30 30 30 39 35 39 34 35 36 10 04 04 00 03 4A 00 00 35 04 06 00 47 95 42 26 0A 3B 00 00 1C [12:16:57]Write i2c OK [12:16:57]MH_I2C_Read... [12:16:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:16:57]Read from MH i2c: E2 [12:16:57]MH_I2C_Read... [12:16:57]Read from MH i2c: E2 03 00 [12:16:57]MH_I2C_Read... [12:16:57]Read from MH i2c: E2 03 00 65 04 00 90 00 DD [12:16:57]RAPDU: 90 00 [12:16:57]wFMCommunicate OK [12:16:57]wFMCommunicate request_size=4 [12:16:57]MH_SAM_APDU [12:16:57]CAPDU: 80 0D 03 02 [12:16:57]Write to MH i2c: E2 08 00 66 04 80 0D 03 02 00 00 00 00 E5 [12:16:57]Write i2c OK [12:16:57]MH_I2C_Read... [12:16:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:16:57]Read from MH i2c: E2 [12:16:57]MH_I2C_Read... [12:16:57]Read from MH i2c: E2 0B 00 [12:16:57]MH_I2C_Read... [12:16:57]Read from MH i2c: E2 0B 00 66 04 00 B1 72 9B 7C 12 13 0A EE 90 00 3D [12:16:57]RAPDU: B1 72 9B 7C 12 13 0A EE 90 00 [12:16:57]wFMCommunicate OK [12:16:57]SAM_PROTO_SignData done [12:16:57]FM_MakeSignedData done [12:16:57]CreateOFDProtocolMessage [12:16:57]wFMCommunicate request_size=4 [12:16:57]MH_SAM_APDU [12:16:57]CAPDU: 80 11 00 00 [12:16:57]Write to MH i2c: E2 08 00 67 04 80 11 00 00 00 00 00 00 E5 [12:16:57]Write i2c OK [12:16:57]MH_I2C_Read... [12:16:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:16:57]Read from MH i2c: E2 [12:16:57]MH_I2C_Read... [12:16:57]Read from MH i2c: E2 17 00 [12:16:57]MH_I2C_Read... [12:16:57]Read from MH i2c: E2 17 00 67 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 3E [12:16:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:16:57]wFMCommunicate OK [12:16:57]CreateOFDProtocolMessage done [12:16:57]OFDSenderStorePacket 18947 [12:16:57]StoreOFDPacket docnum=18947 [12:16:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 25 01 00 00 22 66 1D 01 2B 9F 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 38 FF F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 03 4A 00 00 35 04 06 00 47 95 42 26 0A 3B B1 72 9B 7C 12 13 0A EE [12:16:57]CheckFolder [12:16:57]dirname=/storage/ofd_packets [12:16:57]CheckFolder done [12:16:57]ProducePacketName [12:16:57]name=ofd_packets/00018947 [12:16:57]NVStorageSaveData ofd_packets/00018947 [12:16:57]File name is /storage/ofd_packets/00018947 [12:16:57]Write 323 bytes [12:16:57]NVStorageSaveData done [12:16:57]OFDSenderStorePacket done [12:16:57]KKMCreateOFDPacket done [12:16:57]NVStorageSaveData kkm_last_timestamp [12:16:57]File name is /storage/kkm_last_timestamp [12:16:57]Write 4 bytes [12:16:57]NVStorageSaveData done [12:16:57]ExternCall_PrintAddStr [12:16:57]wPrintStart [12:16:57]Write to MH i2c: 01 00 00 68 04 6C [12:16:57]Write i2c OK [12:16:57]MH_I2C_Read... [12:16:57]Read from MH i2c: 01 [12:16:57]MH_I2C_Read... [12:16:57]Read from MH i2c: 01 07 00 [12:16:57]MH_I2C_Read... [12:16:57]Read from MH i2c: 01 07 00 68 04 00 00 00 00 00 FF 0F 81 [12:16:57]RasterBufferAndPrint [12:16:57]line Счет N : (3)16867 [12:16:57]line ИНН: 02508201610067 [12:16:57]line Контрольно-Кассовый Чек [12:16:57]line ПРОДАЖА [12:16:57]line Товар: 48742344 [12:16:57]line Сигареты LD Super Slims Pink [12:16:57]line 2.000 * 134.00 [12:16:57]line = 268.00 [12:16:57]line НДС 12% НСП 1% [12:16:57]line > о реализуемом товаре [12:16:57]line ИТОГО: 268.00 [12:16:57]line НСП 1% : 2.37 [12:16:57]line НДС 12% : 28.46 [12:16:57]line Наличными: 268.00 [12:16:57]line Безнал.: 0.00 [12:16:57]line Место: АЗС № 176 "Партнер Нефть" [12:16:57]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [12:16:57]line СНО: Общий режим [12:16:57]line Чек 25 25.09.2024 12:16 [12:16:57]line Смена: 183 ФФД: 1.0 [12:16:57]line ЗНМ: 0300000010 [12:16:57]line РНМ: 0000000000152968 [12:16:57]line Версия ККМ: v1.0 [12:16:57]line ФМ: 0000000000959456 [12:16:57]line ФД: 18947 [12:16:57]line ФПД: 78706385488443 [12:16:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T121656&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18947&fm=78706385488443&tin=02508201610067®Number=0000000000152968&sum=26800 [12:16:57]line 0 [12:16:57]OFD Sender: Processing packet 18947 [packets to send 7, broken 6] [12:16:57]ProducePacketName [12:16:57]name=ofd_packets/00018947 [12:16:57]OFD Sender: To server: pG, [12:16:57]CommunicateWithHost lk.salyk.kg:30040 [12:16:57]ConnectInit lk.salyk.kg [12:16:57]written 0, free lines is 4095 [12:16:57]Connected sock=11 [12:16:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 25 01 00 00 22 66 1D 01 2B 9F 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 38 FF F3 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 03 4A 00 00 35 04 06 00 47 95 42 26 0A 3B B1 72 9B 7C 12 13 0A EE [12:16:58]Write to MH i2c: 01 00 00 90 04 94 [12:16:58]Write i2c OK [12:16:58]MH_I2C_Read... [12:16:58]Read from MH i2c: 01 [12:16:58]MH_I2C_Read... [12:16:58]Read from MH i2c: 01 07 00 [12:16:58]MH_I2C_Read... [12:16:58]Read from MH i2c: 01 07 00 90 04 00 00 00 00 00 27 0D CF [12:16:58]RasterBufferAndPrint [12:16:58]line [12:16:58]line [12:16:58]line [12:16:58]line [12:16:58]line [12:16:58]written 0, free lines is 3373 [12:16:58]MH_Cut [12:16:58]Write to MH i2c: D1 01 00 97 04 01 6D [12:16:58]Write i2c OK [12:16:58]MH_I2C_Read... [12:16:58]Read from MH i2c: D1 [12:16:58]MH_I2C_Read... [12:16:58]Read from MH i2c: D1 01 00 [12:16:58]MH_I2C_Read... [12:16:58]Read from MH i2c: D1 01 00 97 04 00 6C [12:16:58]Write to MH i2c: 01 00 00 98 04 9C [12:16:58]Write i2c OK [12:16:58]MH_I2C_Read... [12:16:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 83 4E 47 00 B2 54 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 03 4A 00 00 F4 03 04 00 96 A8 F3 66 B6 04 01 00 00 8F 50 6C 02 59 50 2C 91 [12:16:58]CommunicateWithHost err = 0 [12:16:58]CheckOFDResponse [12:16:58]1017 (14) - 77093643461234 [12:16:58]1041 (16) - 0000000000959456 [12:16:58]1040 (4) - 18947 [12:16:58]1012 (4) - 25.09.2024 06:07 [12:16:58]1206 (1) - 0 [12:16:58]OFD Sender: Remove packet 18947 [12:16:58]ProducePacketName [12:16:58]name=ofd_packets/00018947 [12:16:58]NVStorageDeleteData [12:16:58]OFD Sender: No OFD packet to send [12:16:58]*** Cut start [12:16:58]*** Partial cut [12:16:58]*** CUTSNS_PIN = 1 [12:16:58]*** CUTSNS_PIN = 0 [12:16:59]*** Brake cut motor [12:16:59]Read from MH i2c: 01 [12:16:59]MH_I2C_Read... [12:16:59]*** Stop cut motor [12:16:59]*** Cut end [12:16:59]Read from MH i2c: 01 07 00 [12:16:59]MH_I2C_Read... [12:16:59]Read from MH i2c: 01 07 00 98 04 00 00 00 00 00 FF 0F B1 [12:16:59]process_action close_receipt done [12:16:59]requested_data is exist [12:16:59]produce_requested_data [12:16:59]requested_item fm.sn is exist - process it [12:16:59]wFMCommunicate request_size=4 [12:16:59]MH_SAM_APDU [12:16:59]CAPDU: 80 11 00 00 [12:16:59]Write to MH i2c: E2 08 00 99 04 80 11 00 00 00 00 00 00 17 [12:16:59]Write i2c OK [12:16:59]MH_I2C_Read... [12:16:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:16:59]Read from MH i2c: E2 [12:16:59]MH_I2C_Read... [12:16:59]Read from MH i2c: E2 17 00 [12:16:59]MH_I2C_Read... [12:16:59]Read from MH i2c: E2 17 00 99 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 70 [12:16:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:16:59]wFMCommunicate OK [12:16:59]requested_item fd.num is exist - process it [12:16:59]SAM_PROTO_GetFieldsCounters [12:16:59]wFMCommunicate request_size=4 [12:16:59]MH_SAM_APDU [12:16:59]CAPDU: 80 13 00 00 [12:16:59]Write to MH i2c: E2 08 00 9A 04 80 13 00 00 00 00 00 00 1A [12:16:59]Write i2c OK [12:16:59]MH_I2C_Read... [12:16:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:16:59]Read from MH i2c: E2 [12:16:59]MH_I2C_Read... [12:16:59]Read from MH i2c: E2 62 00 [12:16:59]MH_I2C_Read... [12:16:59]Read from MH i2c: E2 62 00 9A 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 03 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 96 [12:16:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 03 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:16:59]wFMCommunicate OK [12:16:59]SAM_PROTO_GetFieldsCounters done [12:16:59]requested_item shift.num is exist - process it [12:16:59]requested_item shift.opened is exist - process it [12:16:59]req_shift_opened [12:16:59]FM_GetShiftState [12:16:59]SAM_PROTO_GetShiftState [12:16:59]wFMCommunicate request_size=4 [12:16:59]MH_SAM_APDU [12:16:59]CAPDU: 80 13 01 00 [12:16:59]Write to MH i2c: E2 08 00 9B 04 80 13 01 00 00 00 00 00 1C [12:16:59]Write i2c OK [12:16:59]MH_I2C_Read... [12:16:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:16:59]Read from MH i2c: E2 [12:16:59]MH_I2C_Read... [12:16:59]Read from MH i2c: E2 0E 00 [12:16:59]MH_I2C_Read... [12:16:59]Read from MH i2c: E2 0E 00 9B 04 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 09 [12:16:59]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [12:16:59]wFMCommunicate OK [12:16:59]SAM_PROTO_GetShiftState done [12:16:59]FM_GetShiftState done [12:16:59]req_shift_opened done [12:16:59]requested_item shift.open_date is exist - process it [12:16:59]req_shift_open_date [12:16:59]req_shift_open_date done [12:16:59]produce_requested_data done [12:16:59]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18947,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [12:16:59]process_action_free close_receipt [12:16:59]json_value_free [12:16:59]json_value_free done [12:16:59]process_json_proto returns [12:16:59]Send response to host [12:16:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18947,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [12:16:59]free response buf [12:16:59]execute_script done [12:16:59]execute_script returns [12:16:59]free content buf [12:16:59]Sock 9.Close socket [12:16:59]Sock 9.Thread stoped [12:17:03]OFD Sender: No OFD packet to send [12:17:08]OFD Sender: No OFD packet to send [12:17:13]OFD Sender: No OFD packet to send [12:17:18]OFD Sender: No OFD packet to send [12:17:23]OFD Sender: No OFD packet to send [12:17:28]OFD Sender: No OFD packet to send [12:17:33]OFD Sender: No OFD packet to send [12:17:38]OFD Sender: No OFD packet to send [12:17:43]OFD Sender: No OFD packet to send [12:17:48]OFD Sender: No OFD packet to send [12:17:53]OFD Sender: No OFD packet to send [12:17:58]OFD Sender: No OFD packet to send [12:18:03]OFD Sender: No OFD packet to send [12:18:08]OFD Sender: No OFD packet to send [12:18:13]OFD Sender: No OFD packet to send [12:18:18]OFD Sender: No OFD packet to send [12:18:23]OFD Sender: No OFD packet to send [12:18:28]OFD Sender: No OFD packet to send [12:18:33]OFD Sender: No OFD packet to send [12:18:38]OFD Sender: No OFD packet to send [12:18:43]OFD Sender: No OFD packet to send [12:18:48]OFD Sender: No OFD packet to send [12:18:53]OFD Sender: No OFD packet to send [12:18:58]OFD Sender: No OFD packet to send [12:19:03]OFD Sender: No OFD packet to send [12:19:08]OFD Sender: No OFD packet to send [12:19:13]OFD Sender: No OFD packet to send [12:19:18]OFD Sender: No OFD packet to send [12:19:23]OFD Sender: No OFD packet to send [12:19:28]OFD Sender: No OFD packet to send [12:19:33]OFD Sender: No OFD packet to send [12:19:38]OFD Sender: No OFD packet to send [12:19:43]OFD Sender: No OFD packet to send [12:19:48]OFD Sender: No OFD packet to send [12:19:53]OFD Sender: No OFD packet to send [12:19:58]OFD Sender: No OFD packet to send [12:20:03]OFD Sender: No OFD packet to send [12:20:08]OFD Sender: No OFD packet to send [12:20:13]OFD Sender: No OFD packet to send [12:20:18]OFD Sender: No OFD packet to send [12:20:23]OFD Sender: No OFD packet to send [12:20:28]OFD Sender: No OFD packet to send [12:20:33]OFD Sender: No OFD packet to send [12:20:38]OFD Sender: No OFD packet to send [12:20:43]OFD Sender: No OFD packet to send [12:20:48]OFD Sender: No OFD packet to send [12:20:53]OFD Sender: No OFD packet to send [12:20:58]OFD Sender: No OFD packet to send [12:21:03]OFD Sender: No OFD packet to send [12:21:08]OFD Sender: No OFD packet to send [12:21:13]OFD Sender: No OFD packet to send [12:21:18]OFD Sender: No OFD packet to send [12:21:23]OFD Sender: No OFD packet to send [12:21:28]OFD Sender: No OFD packet to send [12:21:33]OFD Sender: No OFD packet to send [12:21:38]OFD Sender: No OFD packet to send [12:21:43]OFD Sender: No OFD packet to send [12:21:48]OFD Sender: No OFD packet to send [12:21:53]OFD Sender: No OFD packet to send [12:21:58]OFD Sender: No OFD packet to send [12:22:03]OFD Sender: No OFD packet to send [12:22:08]OFD Sender: No OFD packet to send [12:22:13]OFD Sender: No OFD packet to send [12:22:18]OFD Sender: No OFD packet to send [12:22:23]OFD Sender: No OFD packet to send [12:22:28]OFD Sender: No OFD packet to send [12:22:33]OFD Sender: No OFD packet to send [12:22:38]OFD Sender: No OFD packet to send [12:22:43]OFD Sender: No OFD packet to send [12:22:49]OFD Sender: No OFD packet to send [12:22:54]OFD Sender: No OFD packet to send [12:22:59]OFD Sender: No OFD packet to send [12:23:04]OFD Sender: No OFD packet to send [12:23:09]OFD Sender: No OFD packet to send [12:23:14]OFD Sender: No OFD packet to send [12:23:19]OFD Sender: No OFD packet to send [12:23:24]OFD Sender: No OFD packet to send [12:23:29]OFD Sender: No OFD packet to send [12:23:34]OFD Sender: No OFD packet to send [12:23:39]OFD Sender: No OFD packet to send [12:23:44]OFD Sender: No OFD packet to send [12:23:49]OFD Sender: No OFD packet to send [12:23:54]OFD Sender: No OFD packet to send [12:23:59]OFD Sender: No OFD packet to send [12:24:04]OFD Sender: No OFD packet to send [12:24:09]OFD Sender: No OFD packet to send [12:24:14]OFD Sender: No OFD packet to send [12:24:19]OFD Sender: No OFD packet to send [12:24:24]OFD Sender: No OFD packet to send [12:24:29]OFD Sender: No OFD packet to send [12:24:34]OFD Sender: No OFD packet to send [12:24:39]OFD Sender: No OFD packet to send [12:24:44]OFD Sender: No OFD packet to send [12:24:49]OFD Sender: No OFD packet to send [12:24:54]OFD Sender: No OFD packet to send [12:24:59]OFD Sender: No OFD packet to send [12:25:04]OFD Sender: No OFD packet to send [12:25:09]OFD Sender: No OFD packet to send [12:25:14]OFD Sender: No OFD packet to send [12:25:19]OFD Sender: No OFD packet to send [12:25:24]OFD Sender: No OFD packet to send [12:25:29]OFD Sender: No OFD packet to send [12:25:34]OFD Sender: No OFD packet to send [12:25:39]OFD Sender: No OFD packet to send [12:25:44]OFD Sender: No OFD packet to send [12:25:49]OFD Sender: No OFD packet to send [12:25:54]OFD Sender: No OFD packet to send [12:25:59]OFD Sender: No OFD packet to send [12:26:04]OFD Sender: No OFD packet to send [12:26:09]OFD Sender: No OFD packet to send [12:26:14]OFD Sender: No OFD packet to send [12:26:19]OFD Sender: No OFD packet to send [12:26:24]OFD Sender: No OFD packet to send [12:26:29]OFD Sender: No OFD packet to send [12:26:34]OFD Sender: No OFD packet to send [12:26:39]OFD Sender: No OFD packet to send [12:26:44]OFD Sender: No OFD packet to send [12:26:49]OFD Sender: No OFD packet to send [12:26:54]OFD Sender: No OFD packet to send [12:26:59]OFD Sender: No OFD packet to send [12:27:04]OFD Sender: No OFD packet to send [12:27:09]OFD Sender: No OFD packet to send [12:27:14]OFD Sender: No OFD packet to send [12:27:19]OFD Sender: No OFD packet to send [12:27:24]OFD Sender: No OFD packet to send [12:27:29]OFD Sender: No OFD packet to send [12:27:34]OFD Sender: No OFD packet to send [12:27:39]OFD Sender: No OFD packet to send [12:27:44]OFD Sender: No OFD packet to send [12:27:49]OFD Sender: No OFD packet to send [12:27:54]OFD Sender: No OFD packet to send [12:27:59]OFD Sender: No OFD packet to send [12:28:04]OFD Sender: No OFD packet to send [12:28:09]OFD Sender: No OFD packet to send [12:28:14]OFD Sender: No OFD packet to send [12:28:19]OFD Sender: No OFD packet to send [12:28:24]OFD Sender: No OFD packet to send [12:28:29]OFD Sender: No OFD packet to send [12:28:34]OFD Sender: No OFD packet to send [12:28:39]OFD Sender: No OFD packet to send [12:28:44]OFD Sender: No OFD packet to send [12:28:49]OFD Sender: No OFD packet to send [12:28:54]OFD Sender: No OFD packet to send [12:28:59]OFD Sender: No OFD packet to send [12:29:04]OFD Sender: No OFD packet to send [12:29:09]OFD Sender: No OFD packet to send [12:29:14]OFD Sender: No OFD packet to send [12:29:19]OFD Sender: No OFD packet to send [12:29:24]OFD Sender: No OFD packet to send [12:29:29]OFD Sender: No OFD packet to send [12:29:34]OFD Sender: No OFD packet to send [12:29:39]OFD Sender: No OFD packet to send [12:29:44]OFD Sender: No OFD packet to send [12:29:49]OFD Sender: No OFD packet to send [12:29:54]OFD Sender: No OFD packet to send [12:29:59]OFD Sender: No OFD packet to send [12:30:04]OFD Sender: No OFD packet to send [12:30:09]OFD Sender: No OFD packet to send [12:30:14]OFD Sender: No OFD packet to send [12:30:19]OFD Sender: No OFD packet to send [12:30:24]OFD Sender: No OFD packet to send [12:30:29]OFD Sender: No OFD packet to send [12:30:34]OFD Sender: No OFD packet to send [12:30:39]OFD Sender: No OFD packet to send [12:30:44]OFD Sender: No OFD packet to send [12:30:49]OFD Sender: No OFD packet to send [12:30:54]OFD Sender: No OFD packet to send [12:30:59]OFD Sender: No OFD packet to send [12:31:04]OFD Sender: No OFD packet to send [12:31:09]OFD Sender: No OFD packet to send [12:31:14]OFD Sender: No OFD packet to send [12:31:19]OFD Sender: No OFD packet to send [12:31:24]OFD Sender: No OFD packet to send [12:31:29]OFD Sender: No OFD packet to send [12:31:34]OFD Sender: No OFD packet to send [12:31:39]OFD Sender: No OFD packet to send [12:31:44]OFD Sender: No OFD packet to send [12:31:49]OFD Sender: No OFD packet to send [12:31:54]OFD Sender: No OFD packet to send [12:31:59]OFD Sender: No OFD packet to send [12:32:04]OFD Sender: No OFD packet to send [12:32:09]OFD Sender: No OFD packet to send [12:32:14]OFD Sender: No OFD packet to send [12:32:19]OFD Sender: No OFD packet to send [12:32:24]OFD Sender: No OFD packet to send [12:32:29]OFD Sender: No OFD packet to send [12:32:34]OFD Sender: No OFD packet to send [12:32:39]OFD Sender: No OFD packet to send [12:32:44]OFD Sender: No OFD packet to send [12:32:49]OFD Sender: No OFD packet to send [12:32:54]OFD Sender: No OFD packet to send [12:32:59]OFD Sender: No OFD packet to send [12:33:04]OFD Sender: No OFD packet to send [12:33:09]OFD Sender: No OFD packet to send [12:33:14]OFD Sender: No OFD packet to send [12:33:19]OFD Sender: No OFD packet to send [12:33:24]OFD Sender: No OFD packet to send [12:33:29]OFD Sender: No OFD packet to send [12:33:34]OFD Sender: No OFD packet to send [12:33:39]OFD Sender: No OFD packet to send [12:33:44]OFD Sender: No OFD packet to send [12:33:49]OFD Sender: No OFD packet to send [12:33:54]OFD Sender: No OFD packet to send [12:33:59]OFD Sender: No OFD packet to send [12:34:04]OFD Sender: No OFD packet to send [12:34:09]OFD Sender: No OFD packet to send [12:34:14]OFD Sender: No OFD packet to send [12:34:19]OFD Sender: No OFD packet to send [12:34:24]OFD Sender: No OFD packet to send [12:34:29]OFD Sender: No OFD packet to send [12:34:34]OFD Sender: No OFD packet to send [12:34:39]OFD Sender: No OFD packet to send [12:34:44]OFD Sender: No OFD packet to send [12:34:49]OFD Sender: No OFD packet to send [12:34:54]OFD Sender: No OFD packet to send [12:34:59]OFD Sender: No OFD packet to send [12:35:04]OFD Sender: No OFD packet to send [12:35:09]OFD Sender: No OFD packet to send [12:35:14]OFD Sender: No OFD packet to send [12:35:19]OFD Sender: No OFD packet to send [12:35:24]OFD Sender: No OFD packet to send [12:35:29]OFD Sender: No OFD packet to send [12:35:34]OFD Sender: No OFD packet to send [12:35:39]OFD Sender: No OFD packet to send [12:35:44]OFD Sender: No OFD packet to send [12:35:49]OFD Sender: No OFD packet to send [12:35:54]OFD Sender: No OFD packet to send [12:35:59]OFD Sender: No OFD packet to send [12:36:04]OFD Sender: No OFD packet to send [12:36:09]OFD Sender: No OFD packet to send [12:36:14]OFD Sender: No OFD packet to send [12:36:19]OFD Sender: No OFD packet to send [12:36:24]OFD Sender: No OFD packet to send [12:36:29]OFD Sender: No OFD packet to send [12:36:34]OFD Sender: No OFD packet to send [12:36:39]OFD Sender: No OFD packet to send [12:36:44]OFD Sender: No OFD packet to send [12:36:49]OFD Sender: No OFD packet to send [12:36:54]OFD Sender: No OFD packet to send [12:36:59]OFD Sender: No OFD packet to send [12:37:04]OFD Sender: No OFD packet to send [12:37:09]OFD Sender: No OFD packet to send [12:37:14]OFD Sender: No OFD packet to send [12:37:19]OFD Sender: No OFD packet to send [12:37:24]OFD Sender: No OFD packet to send [12:37:29]OFD Sender: No OFD packet to send [12:37:34]OFD Sender: No OFD packet to send [12:37:39]OFD Sender: No OFD packet to send [12:37:44]OFD Sender: No OFD packet to send [12:37:49]OFD Sender: No OFD packet to send [12:37:54]OFD Sender: No OFD packet to send [12:37:59]OFD Sender: No OFD packet to send [12:38:04]OFD Sender: No OFD packet to send [12:38:09]OFD Sender: No OFD packet to send [12:38:14]OFD Sender: No OFD packet to send [12:38:19]OFD Sender: No OFD packet to send [12:38:24]OFD Sender: No OFD packet to send [12:38:29]OFD Sender: No OFD packet to send [12:38:34]OFD Sender: No OFD packet to send [12:38:39]OFD Sender: No OFD packet to send [12:38:40]accept exits with 8 [12:38:40]New connection [12:38:40]New thread 3066621284 created [12:38:40]Thread 3066764644 joined [12:38:40]Waiting for new connection... [12:38:40] Sock 8.Parse request [12:38:40]Sock 8.Check first char [12:38:40]Sock 8.First char is OK [12:38:40]request: POST /json_proto HTTP/1.0 [12:38:40]Method: POST [12:38:40]URL: /json_proto [12:38:40]Method is POST - this is cgi request [12:38:40]url: /json_proto [12:38:40]query_string will be loaded in cgi processing [12:38:40]execute_cgi json_proto POST (null) [12:38:40]execute_cgi path=json_proto method=POST [12:38:40]POST find Content-Length [12:38:40]Host: 172.17.62.196:8080 [12:38:40]Content-Length: 1405 [12:38:40]Content-Type: application/json [12:38:40] [12:38:40]POST finish read [12:38:40]Found Content-Length = 1405 [12:38:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16868", "tax_sys" : 0, "items" : [ { "code": "4620016303252", "name": "\u0412\u043B\u0430\u0436\u043D\u0430\u044F \u0442\u0443\u0430\u043B\u0435\u0442\u043D\u0430\u044F \u0431\u0443\u043C\u0430\u0433\u0430 20 VOK", "price" : 50.00, "quantity" : 3.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400389", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 140\u0433", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 3.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 645.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:38:40]execute_script... [12:38:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16868", "tax_sys" : 0, "items" : [ { "code": "4620016303252", "name": "\u0412\u043B\u0430\u0436\u043D\u0430\u044F \u0442\u0443\u0430\u043B\u0435\u0442\u043D\u0430\u044F \u0431\u0443\u043C\u0430\u0433\u0430 20 VOK", "price" : 50.00, "quantity" : 3.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400389", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 140\u0433", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 3.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 645.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:38:40]POST & json_proto [12:38:40]process_json_proto [12:38:40]json parsed OK: [12:38:40]protocol is kg_v1.0 [12:38:40]action value=close_receipt [12:38:40]process_action close_receipt [12:38:40]cmd_close_receipt [12:38:40]MH_GetDate [12:38:40]Write to MH i2c: F0 00 00 9C 04 8F [12:38:40]Write i2c OK [12:38:40]MH_I2C_Read... [12:38:40]Read from MH i2c: F0 [12:38:40]MH_I2C_Read... [12:38:40]Read from MH i2c: F0 09 00 [12:38:40]MH_I2C_Read... [12:38:40]Read from MH i2c: F0 09 00 9C 04 00 51 04 F4 66 CE CC 0E 66 55 [12:38:40]GetLastDocTimeStamp 1727266616 [12:38:40]current date 1727267921 [12:38:40]FM_GetShiftState [12:38:40]SAM_PROTO_GetShiftState [12:38:40]wFMCommunicate request_size=4 [12:38:40]MH_SAM_APDU [12:38:40]CAPDU: 80 13 01 00 [12:38:40]Write to MH i2c: E2 08 00 9D 04 80 13 01 00 00 00 00 00 1E [12:38:40]Write i2c OK [12:38:40]MH_I2C_Read... [12:38:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:38:40]Read from MH i2c: E2 [12:38:40]MH_I2C_Read... [12:38:40]Read from MH i2c: E2 0E 00 [12:38:40]MH_I2C_Read... [12:38:40]Read from MH i2c: E2 0E 00 9D 04 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 0B [12:38:40]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [12:38:40]wFMCommunicate OK [12:38:40]SAM_PROTO_GetShiftState done [12:38:40]FM_GetShiftState done [12:38:40]opened in 1727223091 [12:38:40]opened+sec_in_day 1727309491 [12:38:40]quantity*price = 15000 [12:38:40]sum+1 = 15001 [12:38:40]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4630007400389 Семечки ДЖИНН 140г 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036240010 Кофе Латте (GABB TRADE) 2.000 * 115.00 = 230.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 42069942 Жев Orbit White Fresh Mint 3.000 * 45.00 = 135.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 645.00 НСП 1% : 5.70 НДС 12% : 68.49 Наличными: 645.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 26 25.09.2024 12:38 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18948 ФПД: 66093866778823 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T123841&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18948&fm=66093866778823&tin=02508201610067®Number=0000000000152968&sum=64500 0 [12:38:41]StoreToDocumentArchive [12:38:41]shift 183 fd 18948 [12:38:41]save to /storage/0183/doc_00018948 [12:38:41]save last doc name /storage/0183/doc_00018948 to /storage/kkm_last_doc_name [12:38:41]save OK [12:38:41]Clear old archive folders... [12:38:41]ProcessDocumentItem done err = 0, tmpTLVsize=598 [12:38:41]tlvbuf is 015EF610 [12:38:41]SAM_PROTO_ClearQueue [12:38:41]wFMCommunicate request_size=4 [12:38:41]MH_SAM_APDU [12:38:41]CAPDU: 80 09 00 00 [12:38:41]Write to MH i2c: E2 08 00 AA 04 80 09 00 00 00 00 00 00 20 [12:38:41]Write i2c OK [12:38:41]MH_I2C_Read... [12:38:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:38:41]Read from MH i2c: E2 [12:38:41]MH_I2C_Read... [12:38:41]Read from MH i2c: E2 03 00 [12:38:41]MH_I2C_Read... [12:38:41]Read from MH i2c: E2 03 00 AA 04 00 90 00 22 [12:38:41]RAPDU: 90 00 [12:38:41]wFMCommunicate OK [12:38:41]SAM_PROTO_ClearQueue done [12:38:41]KKMCreateOFDPacket [12:38:41]OFDProtocolAddRootSTLVToBuf [12:38:41]FM_MakeSignedData [12:38:41]FM_MakeSignedData [12:38:41]SAM_PROTO_SignData [12:38:41]wFMCommunicate request_size=4 [12:38:41]MH_SAM_APDU [12:38:41]CAPDU: 80 0D 01 02 [12:38:41]Write to MH i2c: E2 08 00 AB 04 80 0D 01 02 00 00 00 00 28 [12:38:41]Write i2c OK [12:38:41]MH_I2C_Read... [12:38:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:38:41]Read from MH i2c: E2 [12:38:41]MH_I2C_Read... [12:38:41]Read from MH i2c: E2 03 00 [12:38:41]MH_I2C_Read... [12:38:41]Read from MH i2c: E2 03 00 AB 04 00 90 00 23 [12:38:41]RAPDU: 90 00 [12:38:41]wFMCommunicate OK [12:38:41]wFMCommunicate request_size=255 [12:38:41]MH_SAM_APDU [12:38:41]CAPDU: 80 0D 02 02 FA 03 00 56 02 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 33 32 35 32 06 04 35 00 D0 92 D0 BB D0 B0 D0 B6 D0 BD D0 B0 D1 8F 20 D1 82 D1 83 D0 B0 D0 BB D0 B5 D1 82 D0 BD D0 B0 D1 8F 20 D0 B1 D1 83 D0 BC D0 B0 D0 B3 D0 B0 20 32 30 20 56 4F 4B FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 [12:38:41]Write to MH i2c: E2 02 01 AC 04 80 0D 02 02 FA 00 03 00 56 02 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 33 32 35 32 06 04 35 00 D0 92 D0 BB D0 B0 D0 B6 D0 BD D0 B0 D1 8F 20 D1 82 D1 83 D0 B0 D0 BB D0 B5 D1 82 D0 BD D0 B0 D1 8F 20 D0 B1 D1 83 D0 BC D0 B0 D0 B3 D0 B0 20 32 30 20 56 4F 4B FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 00 00 DB [12:38:41]Write i2c OK [12:38:41]MH_I2C_Read... [12:38:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:38:42]Read from MH i2c: E2 [12:38:42]MH_I2C_Read... [12:38:42]Read from MH i2c: E2 03 00 [12:38:42]MH_I2C_Read... [12:38:42]Read from MH i2c: E2 03 00 AC 04 00 90 00 24 [12:38:42]RAPDU: 90 00 [12:38:42]wFMCommunicate OK [12:38:42]wFMCommunicate request_size=255 [12:38:42]MH_SAM_APDU [12:38:42]CAPDU: 80 0D 02 02 FA 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 FB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 1A 00 00 00 00 07 04 06 00 F4 FB 00 00 00 00 39 [12:38:42]Write to MH i2c: E2 02 01 AD 04 80 0D 02 02 FA 00 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 FB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 1A 00 00 00 00 07 04 06 00 F4 FB 00 00 00 00 39 00 00 4E [12:38:42]Write i2c OK [12:38:42]MH_I2C_Read... [12:38:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:38:42]Read from MH i2c: E2 [12:38:42]MH_I2C_Read... [12:38:42]Read from MH i2c: E2 03 00 [12:38:42]MH_I2C_Read... [12:38:42]Read from MH i2c: E2 03 00 AD 04 00 90 00 25 [12:38:42]RAPDU: 90 00 [12:38:42]wFMCommunicate OK [12:38:42]wFMCommunicate request_size=107 [12:38:42]MH_SAM_APDU [12:38:42]CAPDU: 80 0D 02 02 66 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 51 04 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 04 4A 00 00 35 04 06 00 3C 1C AD 73 80 C7 [12:38:42]Write to MH i2c: E2 6E 00 AE 04 80 0D 02 02 66 00 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 51 04 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 04 4A 00 00 35 04 06 00 3C 1C AD 73 80 C7 00 00 81 [12:38:42]Write i2c OK [12:38:42]MH_I2C_Read... [12:38:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:38:42]Read from MH i2c: E2 [12:38:42]MH_I2C_Read... [12:38:42]Read from MH i2c: E2 03 00 [12:38:42]MH_I2C_Read... [12:38:42]Read from MH i2c: E2 03 00 AE 04 00 90 00 26 [12:38:42]RAPDU: 90 00 [12:38:42]wFMCommunicate OK [12:38:42]wFMCommunicate request_size=4 [12:38:42]MH_SAM_APDU [12:38:42]CAPDU: 80 0D 03 02 [12:38:42]Write to MH i2c: E2 08 00 AF 04 80 0D 03 02 00 00 00 00 2E [12:38:42]Write i2c OK [12:38:42]MH_I2C_Read... [12:38:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:38:42]Read from MH i2c: E2 [12:38:42]MH_I2C_Read... [12:38:42]Read from MH i2c: E2 0B 00 [12:38:42]MH_I2C_Read... [12:38:42]Read from MH i2c: E2 0B 00 AF 04 00 E4 62 35 FD 64 3B 94 63 90 00 3D [12:38:42]RAPDU: E4 62 35 FD 64 3B 94 63 90 00 [12:38:42]wFMCommunicate OK [12:38:42]SAM_PROTO_SignData done [12:38:42]FM_MakeSignedData done [12:38:42]CreateOFDProtocolMessage [12:38:42]wFMCommunicate request_size=4 [12:38:42]MH_SAM_APDU [12:38:42]CAPDU: 80 11 00 00 [12:38:42]Write to MH i2c: E2 08 00 B0 04 80 11 00 00 00 00 00 00 2E [12:38:42]Write i2c OK [12:38:42]MH_I2C_Read... [12:38:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:38:42]Read from MH i2c: E2 [12:38:42]MH_I2C_Read... [12:38:42]Read from MH i2c: E2 17 00 [12:38:42]MH_I2C_Read... [12:38:42]Read from MH i2c: E2 17 00 B0 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 87 [12:38:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:38:42]wFMCommunicate OK [12:38:42]CreateOFDProtocolMessage done [12:38:42]OFDSenderStorePacket 18948 [12:38:42]StoreOFDPacket docnum=18948 [12:38:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 6A 02 00 00 D5 99 62 02 BF 50 5A 03 01 00 03 00 56 02 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 33 32 35 32 06 04 35 00 D0 92 D0 BB D0 B0 D0 B6 D0 BD D0 B0 D1 8F 20 D1 82 D1 83 D0 B0 D0 BB D0 B5 D1 82 D0 BD D0 B0 D1 8F 20 D0 B1 D1 83 D0 BC D0 B0 D0 B3 D0 B0 20 32 30 20 56 4F 4B FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 FB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 1A 00 00 00 00 07 04 06 00 F4 FB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 51 04 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 04 4A 00 00 35 04 06 00 3C 1C AD 73 80 C7 E4 62 35 FD 64 3B 94 63 [12:38:42]CheckFolder [12:38:42]dirname=/storage/ofd_packets [12:38:42]CheckFolder done [12:38:42]ProducePacketName [12:38:42]name=ofd_packets/00018948 [12:38:42]NVStorageSaveData ofd_packets/00018948 [12:38:42]File name is /storage/ofd_packets/00018948 [12:38:42]Write 648 bytes [12:38:42]NVStorageSaveData done [12:38:42]OFDSenderStorePacket done [12:38:42]KKMCreateOFDPacket done [12:38:42]NVStorageSaveData kkm_last_timestamp [12:38:42]File name is /storage/kkm_last_timestamp [12:38:42]Write 4 bytes [12:38:42]NVStorageSaveData done [12:38:42]ExternCall_PrintAddStr [12:38:42]wPrintStart [12:38:42]Write to MH i2c: 01 00 00 B1 04 B5 [12:38:42]Write i2c OK [12:38:42]MH_I2C_Read... [12:38:42]Read from MH i2c: 01 [12:38:42]MH_I2C_Read... [12:38:42]Read from MH i2c: 01 07 00 [12:38:42]MH_I2C_Read... [12:38:42]Read from MH i2c: 01 07 00 B1 04 00 00 00 00 00 FF 0F CA [12:38:42]RasterBufferAndPrint [12:38:42]line Счет N : (3)16868 [12:38:42]line ИНН: 02508201610067 [12:38:42]line Контрольно-Кассовый Чек [12:38:42]line ПРОДАЖА [12:38:42]line Товар: 4620016303252 [12:38:42]line Влажная туалетная бумага 20 VOK [12:38:42]line 3.000 * 50.00 [12:38:42]line = 150.00 [12:38:42]line НДС 12% НСП 1% [12:38:42]line > о реализуемом товаре [12:38:42]line Товар: 4630007400389 [12:38:42]line Семечки ДЖИНН 140г [12:38:42]line 1.000 * 130.00 [12:38:42]line = 130.00 [12:38:42]line НДС 12% НСП 1% [12:38:43]line > о реализуемом товаре [12:38:43]line Товар: 2000036240010 [12:38:43]line Кофе Латте (GABB TRADE) [12:38:43]line 2.000 * 115.00 [12:38:43]line = 230.00 [12:38:43]line НДС 12% НСП 1% [12:38:43]line > о реализуемом товаре [12:38:43]line Товар: 42069942 [12:38:43]line Жев Orbit White Fresh Mint [12:38:43]line 3.000 * 45.00 [12:38:43]line = 135.00 [12:38:43]line НДС 12% НСП 1% [12:38:43]line > о реализуемом товаре [12:38:43]line ИТОГО: 645.00 [12:38:43]line НСП 1% : 5.70 [12:38:43]line НДС 12% : 68.49 [12:38:43]line Наличными: 645.00 [12:38:43]line Безнал.: 0.00 [12:38:43]line Место: АЗС № 176 "Партнер Нефть" [12:38:43]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [12:38:43]line СНО: Общий режим [12:38:43]line Чек 26 25.09.2024 12:38 [12:38:43]line Смена: 183 ФФД: 1.0 [12:38:43]line ЗНМ: 0300000010 [12:38:43]line РНМ: 0000000000152968 [12:38:43]line Версия ККМ: v1.0 [12:38:43]line ФМ: 0000000000959456 [12:38:43]line ФД: 18948 [12:38:43]line ФПД: 66093866778823 [12:38:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T123841&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18948&fm=66093866778823&tin=02508201610067®Number=0000000000152968&sum=64500 [12:38:43]OFD Sender: Processing packet 18948 [packets to send 7, broken 6] [12:38:43]ProducePacketName [12:38:43]name=ofd_packets/00018948 [12:38:43]OFD Sender: To server: pG, [12:38:43]CommunicateWithHost lk.salyk.kg:30040 [12:38:43]ConnectInit lk.salyk.kg [12:38:43]line 0 [12:38:43]written 0, free lines is 4095 [12:38:43]Connected sock=10 [12:38:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 6A 02 00 00 D5 99 62 02 BF 50 5A 03 01 00 03 00 56 02 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 33 32 35 32 06 04 35 00 D0 92 D0 BB D0 B0 D0 B6 D0 BD D0 B0 D1 8F 20 D1 82 D1 83 D0 B0 D0 BB D0 B5 D1 82 D0 BD D0 B0 D1 8F 20 D0 B1 D1 83 D0 BC D0 B0 D0 B3 D0 B0 20 32 30 20 56 4F 4B FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 FB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 1A 00 00 00 00 07 04 06 00 F4 FB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 51 04 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 04 4A 00 00 35 04 06 00 3C 1C AD 73 80 C7 E4 62 35 FD 64 3B 94 63 [12:38:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 8C 0C 47 00 B0 D7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 04 4A 00 00 F4 03 04 00 AF AD F3 66 B6 04 01 00 00 59 E0 C8 8D 7D 6B 61 10 [12:38:43]CommunicateWithHost err = 0 [12:38:43]CheckOFDResponse [12:38:43]1017 (14) - 77093643461234 [12:38:43]1041 (16) - 0000000000959456 [12:38:43]1040 (4) - 18948 [12:38:43]1012 (4) - 25.09.2024 06:29 [12:38:43]1206 (1) - 0 [12:38:43]OFD Sender: Remove packet 18948 [12:38:43]ProducePacketName [12:38:43]name=ofd_packets/00018948 [12:38:43]NVStorageDeleteData [12:38:43]Write to MH i2c: 01 00 00 EC 04 F0 [12:38:43]Write i2c OK [12:38:43]MH_I2C_Read... [12:38:43]Read from MH i2c: 01 [12:38:43]MH_I2C_Read... [12:38:43]Read from MH i2c: 01 07 00 [12:38:43]MH_I2C_Read... [12:38:43]Read from MH i2c: 01 07 00 EC 04 00 00 00 00 00 2F 0C 32 [12:38:43]RasterBufferAndPrint [12:38:43]line [12:38:43]line [12:38:43]line [12:38:43]line [12:38:43]line [12:38:43]written 0, free lines is 3128 [12:38:43]MH_Cut [12:38:43]Write to MH i2c: D1 01 00 F3 04 01 C9 [12:38:43]Write i2c OK [12:38:43]MH_I2C_Read... [12:38:43]Read from MH i2c: D1 [12:38:43]MH_I2C_Read... [12:38:43]Read from MH i2c: D1 01 00 [12:38:43]MH_I2C_Read... [12:38:43]Read from MH i2c: D1 01 00 F3 04 00 C8 [12:38:43]Write to MH i2c: 01 00 00 F4 04 F8 [12:38:43]Write i2c OK [12:38:43]MH_I2C_Read... [12:38:44]OFD Sender: No OFD packet to send [12:38:44]*** Cut start [12:38:44]*** Partial cut [12:38:44]*** CUTSNS_PIN = 1 [12:38:44]*** CUTSNS_PIN = 0 [12:38:44]*** Brake cut motor [12:38:45]Read from MH i2c: 01 [12:38:45]MH_I2C_Read... [12:38:45]*** Stop cut motor [12:38:45]*** Cut end [12:38:45]Read from MH i2c: 01 07 00 [12:38:45]MH_I2C_Read... [12:38:45]Read from MH i2c: 01 07 00 F4 04 00 00 00 00 00 FF 0F 0D [12:38:45]process_action close_receipt done [12:38:45]requested_data is exist [12:38:45]produce_requested_data [12:38:45]requested_item fm.sn is exist - process it [12:38:45]wFMCommunicate request_size=4 [12:38:45]MH_SAM_APDU [12:38:45]CAPDU: 80 11 00 00 [12:38:45]Write to MH i2c: E2 08 00 F5 04 80 11 00 00 00 00 00 00 73 [12:38:45]Write i2c OK [12:38:45]MH_I2C_Read... [12:38:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:38:45]Read from MH i2c: E2 [12:38:45]MH_I2C_Read... [12:38:45]Read from MH i2c: E2 17 00 [12:38:45]MH_I2C_Read... [12:38:45]Read from MH i2c: E2 17 00 F5 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 CC [12:38:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:38:45]wFMCommunicate OK [12:38:45]requested_item fd.num is exist - process it [12:38:45]SAM_PROTO_GetFieldsCounters [12:38:45]wFMCommunicate request_size=4 [12:38:45]MH_SAM_APDU [12:38:45]CAPDU: 80 13 00 00 [12:38:45]Write to MH i2c: E2 08 00 F6 04 80 13 00 00 00 00 00 00 76 [12:38:45]Write i2c OK [12:38:45]MH_I2C_Read... [12:38:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:38:45]Read from MH i2c: E2 [12:38:45]MH_I2C_Read... [12:38:45]Read from MH i2c: E2 62 00 [12:38:45]MH_I2C_Read... [12:38:45]Read from MH i2c: E2 62 00 F6 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 04 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 F6 [12:38:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 04 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:38:45]wFMCommunicate OK [12:38:45]SAM_PROTO_GetFieldsCounters done [12:38:45]requested_item shift.num is exist - process it [12:38:45]requested_item shift.opened is exist - process it [12:38:45]req_shift_opened [12:38:45]FM_GetShiftState [12:38:45]SAM_PROTO_GetShiftState [12:38:45]wFMCommunicate request_size=4 [12:38:45]MH_SAM_APDU [12:38:45]CAPDU: 80 13 01 00 [12:38:45]Write to MH i2c: E2 08 00 F7 04 80 13 01 00 00 00 00 00 78 [12:38:45]Write i2c OK [12:38:45]MH_I2C_Read... [12:38:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:38:45]Read from MH i2c: E2 [12:38:45]MH_I2C_Read... [12:38:45]Read from MH i2c: E2 0E 00 [12:38:45]MH_I2C_Read... [12:38:45]Read from MH i2c: E2 0E 00 F7 04 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 65 [12:38:45]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [12:38:45]wFMCommunicate OK [12:38:45]SAM_PROTO_GetShiftState done [12:38:45]FM_GetShiftState done [12:38:45]req_shift_opened done [12:38:45]requested_item shift.open_date is exist - process it [12:38:45]req_shift_open_date [12:38:45]req_shift_open_date done [12:38:45]produce_requested_data done [12:38:45]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18948,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [12:38:45]process_action_free close_receipt [12:38:45]json_value_free [12:38:45]json_value_free done [12:38:45]process_json_proto returns [12:38:45]Send response to host [12:38:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18948,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [12:38:45]free response buf [12:38:45]execute_script done [12:38:45]execute_script returns [12:38:45]free content buf [12:38:45]Sock 8.Close socket [12:38:45]Sock 8.Thread stoped [12:38:49]OFD Sender: No OFD packet to send [12:38:54]OFD Sender: No OFD packet to send [12:38:59]OFD Sender: No OFD packet to send [12:39:04]OFD Sender: No OFD packet to send [12:39:09]OFD Sender: No OFD packet to send [12:39:10]accept exits with 9 [12:39:10]New connection [12:39:10]New thread 3066764644 created [12:39:10]Thread 3066621284 joined [12:39:10]Waiting for new connection... [12:39:10] Sock 9.Parse request [12:39:10]Sock 9.Check first char [12:39:10]Sock 9.First char is OK [12:39:10]request: POST /json_proto HTTP/1.0 [12:39:10]Method: POST [12:39:10]URL: /json_proto [12:39:10]Method is POST - this is cgi request [12:39:10]url: /json_proto [12:39:10]query_string will be loaded in cgi processing [12:39:10]execute_cgi json_proto POST (null) [12:39:10]execute_cgi path=json_proto method=POST [12:39:10]POST find Content-Length [12:39:10]Host: 172.17.62.196:8080 [12:39:10]Content-Length: 625 [12:39:10]Content-Type: application/json [12:39:10] [12:39:10]POST finish read [12:39:10]Found Content-Length = 625 [12:39:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16869", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:39:10]execute_script... [12:39:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16869", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:39:10]POST & json_proto [12:39:10]process_json_proto [12:39:10]json parsed OK: [12:39:10]protocol is kg_v1.0 [12:39:10]action value=close_receipt [12:39:10]process_action close_receipt [12:39:10]cmd_close_receipt [12:39:10]MH_GetDate [12:39:10]Write to MH i2c: F0 00 00 F8 04 EB [12:39:10]Write i2c OK [12:39:10]MH_I2C_Read... [12:39:10]Read from MH i2c: F0 [12:39:10]MH_I2C_Read... [12:39:10]Read from MH i2c: F0 09 00 [12:39:10]MH_I2C_Read... [12:39:10]Read from MH i2c: F0 09 00 F8 04 00 6F 04 F4 66 CE CC 0E 66 CF [12:39:10]GetLastDocTimeStamp 1727267921 [12:39:10]current date 1727267951 [12:39:10]FM_GetShiftState [12:39:10]SAM_PROTO_GetShiftState [12:39:10]wFMCommunicate request_size=4 [12:39:10]MH_SAM_APDU [12:39:10]CAPDU: 80 13 01 00 [12:39:10]Write to MH i2c: E2 08 00 F9 04 80 13 01 00 00 00 00 00 7A [12:39:10]Write i2c OK [12:39:10]MH_I2C_Read... [12:39:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:39:10]Read from MH i2c: E2 [12:39:10]MH_I2C_Read... [12:39:10]Read from MH i2c: E2 0E 00 [12:39:10]MH_I2C_Read... [12:39:10]Read from MH i2c: E2 0E 00 F9 04 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 67 [12:39:10]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [12:39:10]wFMCommunicate OK [12:39:10]SAM_PROTO_GetShiftState done [12:39:10]FM_GetShiftState done [12:39:10]opened in 1727223091 [12:39:10]opened+sec_in_day 1727309491 [12:39:10]quantity*price = 11500 [12:39:10]sum+1 = 11501 [12:39:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 27 25.09.2024 12:39 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18949 ФПД: 248163220117494 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T123911&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18949&fm=248163220117494&tin=02508201610067®Number=0000000000152968&sum=11500 0 [12:39:11]StoreToDocumentArchive [12:39:11]shift 183 fd 18949 [12:39:11]save to /storage/0183/doc_00018949 [12:39:11]save last doc name /storage/0183/doc_00018949 to /storage/kkm_last_doc_name [12:39:11]save OK [12:39:11]Clear old archive folders... [12:39:11]ProcessDocumentItem done err = 0, tmpTLVsize=274 [12:39:11]tlvbuf is 015E9920 [12:39:11]SAM_PROTO_ClearQueue [12:39:11]wFMCommunicate request_size=4 [12:39:11]MH_SAM_APDU [12:39:11]CAPDU: 80 09 00 00 [12:39:11]Write to MH i2c: E2 08 00 06 05 80 09 00 00 00 00 00 00 7D [12:39:11]Write i2c OK [12:39:11]MH_I2C_Read... [12:39:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:39:11]Read from MH i2c: E2 [12:39:11]MH_I2C_Read... [12:39:11]Read from MH i2c: E2 03 00 [12:39:11]MH_I2C_Read... [12:39:11]Read from MH i2c: E2 03 00 06 05 00 90 00 7F [12:39:11]RAPDU: 90 00 [12:39:11]wFMCommunicate OK [12:39:11]SAM_PROTO_ClearQueue done [12:39:11]KKMCreateOFDPacket [12:39:11]OFDProtocolAddRootSTLVToBuf [12:39:11]FM_MakeSignedData [12:39:11]FM_MakeSignedData [12:39:11]SAM_PROTO_SignData [12:39:11]wFMCommunicate request_size=4 [12:39:11]MH_SAM_APDU [12:39:11]CAPDU: 80 0D 01 02 [12:39:11]Write to MH i2c: E2 08 00 07 05 80 0D 01 02 00 00 00 00 85 [12:39:11]Write i2c OK [12:39:11]MH_I2C_Read... [12:39:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:39:11]Read from MH i2c: E2 [12:39:11]MH_I2C_Read... [12:39:11]Read from MH i2c: E2 03 00 [12:39:11]MH_I2C_Read... [12:39:11]Read from MH i2c: E2 03 00 07 05 00 90 00 80 [12:39:11]RAPDU: 90 00 [12:39:11]wFMCommunicate OK [12:39:11]wFMCommunicate request_size=255 [12:39:11]MH_SAM_APDU [12:39:11]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 6F 04 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 [12:39:11]Write to MH i2c: E2 02 01 08 05 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 6F 04 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 00 00 C6 [12:39:11]Write i2c OK [12:39:11]MH_I2C_Read... [12:39:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:39:12]Read from MH i2c: E2 [12:39:12]MH_I2C_Read... [12:39:12]Read from MH i2c: E2 03 00 [12:39:12]MH_I2C_Read... [12:39:12]Read from MH i2c: E2 03 00 08 05 00 90 00 81 [12:39:12]RAPDU: 90 00 [12:39:12]wFMCommunicate OK [12:39:12]wFMCommunicate request_size=33 [12:39:12]MH_SAM_APDU [12:39:12]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 34 35 36 10 04 04 00 05 4A 00 00 35 04 06 00 E1 B4 00 94 D7 F6 [12:39:12]Write to MH i2c: E2 24 00 09 05 80 0D 02 02 1C 00 30 30 30 30 39 35 39 34 35 36 10 04 04 00 05 4A 00 00 35 04 06 00 E1 B4 00 94 D7 F6 00 00 62 [12:39:12]Write i2c OK [12:39:12]MH_I2C_Read... [12:39:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:39:12]Read from MH i2c: E2 [12:39:12]MH_I2C_Read... [12:39:12]Read from MH i2c: E2 03 00 [12:39:12]MH_I2C_Read... [12:39:12]Read from MH i2c: E2 03 00 09 05 00 90 00 82 [12:39:12]RAPDU: 90 00 [12:39:12]wFMCommunicate OK [12:39:12]wFMCommunicate request_size=4 [12:39:12]MH_SAM_APDU [12:39:12]CAPDU: 80 0D 03 02 [12:39:12]Write to MH i2c: E2 08 00 0A 05 80 0D 03 02 00 00 00 00 8A [12:39:12]Write i2c OK [12:39:12]MH_I2C_Read... [12:39:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:39:12]Read from MH i2c: E2 [12:39:12]MH_I2C_Read... [12:39:12]Read from MH i2c: E2 0B 00 [12:39:12]MH_I2C_Read... [12:39:12]Read from MH i2c: E2 0B 00 0A 05 00 42 75 C9 A5 96 BE 22 50 90 00 76 [12:39:12]RAPDU: 42 75 C9 A5 96 BE 22 50 90 00 [12:39:12]wFMCommunicate OK [12:39:12]SAM_PROTO_SignData done [12:39:12]FM_MakeSignedData done [12:39:12]CreateOFDProtocolMessage [12:39:12]wFMCommunicate request_size=4 [12:39:12]MH_SAM_APDU [12:39:12]CAPDU: 80 11 00 00 [12:39:12]Write to MH i2c: E2 08 00 0B 05 80 11 00 00 00 00 00 00 8A [12:39:12]Write i2c OK [12:39:12]MH_I2C_Read... [12:39:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:39:12]Read from MH i2c: E2 [12:39:12]MH_I2C_Read... [12:39:12]Read from MH i2c: E2 17 00 [12:39:12]MH_I2C_Read... [12:39:12]Read from MH i2c: E2 17 00 0B 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 E3 [12:39:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:39:12]wFMCommunicate OK [12:39:12]CreateOFDProtocolMessage done [12:39:12]OFDSenderStorePacket 18949 [12:39:12]StoreOFDPacket docnum=18949 [12:39:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 04 61 1E 01 B7 55 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 6F 04 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 05 4A 00 00 35 04 06 00 E1 B4 00 94 D7 F6 42 75 C9 A5 96 BE 22 50 [12:39:12]CheckFolder [12:39:12]dirname=/storage/ofd_packets [12:39:12]CheckFolder done [12:39:12]ProducePacketName [12:39:12]name=ofd_packets/00018949 [12:39:12]NVStorageSaveData ofd_packets/00018949 [12:39:12]File name is /storage/ofd_packets/00018949 [12:39:12]Write 324 bytes [12:39:12]NVStorageSaveData done [12:39:12]OFDSenderStorePacket done [12:39:12]KKMCreateOFDPacket done [12:39:12]NVStorageSaveData kkm_last_timestamp [12:39:12]File name is /storage/kkm_last_timestamp [12:39:12]Write 4 bytes [12:39:12]NVStorageSaveData done [12:39:12]ExternCall_PrintAddStr [12:39:12]wPrintStart [12:39:12]Write to MH i2c: 01 00 00 0C 05 11 [12:39:12]Write i2c OK [12:39:12]MH_I2C_Read... [12:39:12]Read from MH i2c: 01 [12:39:12]MH_I2C_Read... [12:39:12]Read from MH i2c: 01 07 00 [12:39:12]MH_I2C_Read... [12:39:12]Read from MH i2c: 01 07 00 0C 05 00 00 00 00 00 FF 0F 26 [12:39:12]RasterBufferAndPrint [12:39:12]line Счет N : (3)16869 [12:39:12]line ИНН: 02508201610067 [12:39:12]line Контрольно-Кассовый Чек [12:39:12]line ПРОДАЖА [12:39:12]line Товар: 2000036240010 [12:39:12]line Кофе Латте (GABB TRADE) [12:39:12]line 1.000 * 115.00 [12:39:12]line = 115.00 [12:39:12]line НДС 12% НСП 1% [12:39:12]line > о реализуемом товаре [12:39:12]line ИТОГО: 115.00 [12:39:12]line НСП 1% : 1.02 [12:39:12]line НДС 12% : 12.21 [12:39:12]line Наличными: 115.00 [12:39:12]line Безнал.: 0.00 [12:39:12]line Место: АЗС № 176 "Партнер Нефть" [12:39:12]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [12:39:12]line СНО: Общий режим [12:39:12]line Чек 27 25.09.2024 12:39 [12:39:12]line Смена: 183 ФФД: 1.0 [12:39:12]line ЗНМ: 0300000010 [12:39:12]line РНМ: 0000000000152968 [12:39:12]line Версия ККМ: v1.0 [12:39:12]line ФМ: 0000000000959456 [12:39:12]line ФД: 18949 [12:39:12]line ФПД: 248163220117494 [12:39:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T123911&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18949&fm=248163220117494&tin=02508201610067®Number=0000000000152968&sum=11500 [12:39:12]line 0 [12:39:12]OFD Sender: Processing packet 18949 [packets to send 7, broken 6] [12:39:12]ProducePacketName [12:39:12]name=ofd_packets/00018949 [12:39:12]OFD Sender: To server: pG, [12:39:12]CommunicateWithHost lk.salyk.kg:30040 [12:39:12]ConnectInit lk.salyk.kg [12:39:12]written 0, free lines is 4095 [12:39:12]Connected sock=10 [12:39:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 04 61 1E 01 B7 55 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 6F 04 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 05 4A 00 00 35 04 06 00 E1 B4 00 94 D7 F6 42 75 C9 A5 96 BE 22 50 [12:39:13]Write to MH i2c: 01 00 00 34 05 39 [12:39:13]Write i2c OK [12:39:13]MH_I2C_Read... [12:39:13]Read from MH i2c: 01 [12:39:13]MH_I2C_Read... [12:39:13]Read from MH i2c: 01 07 00 [12:39:13]MH_I2C_Read... [12:39:13]Read from MH i2c: 01 07 00 34 05 00 00 00 00 00 1F 0D 6C [12:39:13]RasterBufferAndPrint [12:39:13]line [12:39:13]line [12:39:13]line [12:39:13]line [12:39:13]line [12:39:13]written 0, free lines is 3365 [12:39:13]MH_Cut [12:39:13]Write to MH i2c: D1 01 00 3B 05 01 12 [12:39:13]Write i2c OK [12:39:13]MH_I2C_Read... [12:39:13]Read from MH i2c: D1 [12:39:13]MH_I2C_Read... [12:39:13]Read from MH i2c: D1 01 00 [12:39:13]MH_I2C_Read... [12:39:13]Read from MH i2c: D1 01 00 3B 05 00 11 [12:39:13]Write to MH i2c: 01 00 00 3C 05 41 [12:39:13]Write i2c OK [12:39:13]MH_I2C_Read... [12:39:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 DC F9 47 00 93 CD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 05 4A 00 00 F4 03 04 00 CD AD F3 66 B6 04 01 00 00 76 FC 3B DA AD 12 C0 98 [12:39:13]CommunicateWithHost err = 0 [12:39:13]CheckOFDResponse [12:39:13]1017 (14) - 77093643461234 [12:39:13]1041 (16) - 0000000000959456 [12:39:13]1040 (4) - 18949 [12:39:13]1012 (4) - 25.09.2024 06:29 [12:39:13]1206 (1) - 0 [12:39:13]OFD Sender: Remove packet 18949 [12:39:13]ProducePacketName [12:39:13]name=ofd_packets/00018949 [12:39:13]NVStorageDeleteData [12:39:13]OFD Sender: No OFD packet to send [12:39:13]*** Cut start [12:39:13]*** Partial cut [12:39:13]*** CUTSNS_PIN = 1 [12:39:13]*** CUTSNS_PIN = 0 [12:39:14]*** Brake cut motor [12:39:14]Read from MH i2c: 01 [12:39:14]MH_I2C_Read... [12:39:14]*** Stop cut motor [12:39:14]*** Cut end [12:39:14]Read from MH i2c: 01 07 00 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: 01 07 00 3C 05 00 00 00 00 00 FF 0F 56 [12:39:14]process_action close_receipt done [12:39:14]requested_data is exist [12:39:14]produce_requested_data [12:39:14]requested_item fm.sn is exist - process it [12:39:14]wFMCommunicate request_size=4 [12:39:14]MH_SAM_APDU [12:39:14]CAPDU: 80 11 00 00 [12:39:14]Write to MH i2c: E2 08 00 3D 05 80 11 00 00 00 00 00 00 BC [12:39:14]Write i2c OK [12:39:14]MH_I2C_Read... [12:39:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:39:14]Read from MH i2c: E2 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: E2 17 00 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: E2 17 00 3D 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 15 [12:39:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:39:14]wFMCommunicate OK [12:39:14]requested_item fd.num is exist - process it [12:39:14]SAM_PROTO_GetFieldsCounters [12:39:14]wFMCommunicate request_size=4 [12:39:14]MH_SAM_APDU [12:39:14]CAPDU: 80 13 00 00 [12:39:14]Write to MH i2c: E2 08 00 3E 05 80 13 00 00 00 00 00 00 BF [12:39:14]Write i2c OK [12:39:14]MH_I2C_Read... [12:39:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:39:14]Read from MH i2c: E2 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: E2 62 00 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: E2 62 00 3E 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 05 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 43 [12:39:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 05 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:39:14]wFMCommunicate OK [12:39:14]SAM_PROTO_GetFieldsCounters done [12:39:14]requested_item shift.num is exist - process it [12:39:14]requested_item shift.opened is exist - process it [12:39:14]req_shift_opened [12:39:14]FM_GetShiftState [12:39:14]SAM_PROTO_GetShiftState [12:39:14]wFMCommunicate request_size=4 [12:39:14]MH_SAM_APDU [12:39:14]CAPDU: 80 13 01 00 [12:39:14]Write to MH i2c: E2 08 00 3F 05 80 13 01 00 00 00 00 00 C1 [12:39:14]Write i2c OK [12:39:14]MH_I2C_Read... [12:39:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:39:14]Read from MH i2c: E2 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: E2 0E 00 [12:39:14]MH_I2C_Read... [12:39:14]Read from MH i2c: E2 0E 00 3F 05 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 AE [12:39:14]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [12:39:14]wFMCommunicate OK [12:39:14]SAM_PROTO_GetShiftState done [12:39:14]FM_GetShiftState done [12:39:14]req_shift_opened done [12:39:14]requested_item shift.open_date is exist - process it [12:39:14]req_shift_open_date [12:39:14]req_shift_open_date done [12:39:14]produce_requested_data done [12:39:14]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18949,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [12:39:14]process_action_free close_receipt [12:39:14]json_value_free [12:39:14]json_value_free done [12:39:14]process_json_proto returns [12:39:14]Send response to host [12:39:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18949,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [12:39:14]free response buf [12:39:14]execute_script done [12:39:14]execute_script returns [12:39:14]free content buf [12:39:14]Sock 9.Close socket [12:39:14]Sock 9.Thread stoped [12:39:18]OFD Sender: No OFD packet to send [12:39:23]OFD Sender: No OFD packet to send [12:39:28]OFD Sender: No OFD packet to send [12:39:33]OFD Sender: No OFD packet to send [12:39:38]OFD Sender: No OFD packet to send [12:39:43]OFD Sender: No OFD packet to send [12:39:48]OFD Sender: No OFD packet to send [12:39:53]OFD Sender: No OFD packet to send [12:39:58]OFD Sender: No OFD packet to send [12:40:03]OFD Sender: No OFD packet to send [12:40:08]OFD Sender: No OFD packet to send [12:40:13]OFD Sender: No OFD packet to send [12:40:18]OFD Sender: No OFD packet to send [12:40:23]OFD Sender: No OFD packet to send [12:40:28]OFD Sender: No OFD packet to send [12:40:33]OFD Sender: No OFD packet to send [12:40:38]OFD Sender: No OFD packet to send [12:40:43]OFD Sender: No OFD packet to send [12:40:48]OFD Sender: No OFD packet to send [12:40:53]OFD Sender: No OFD packet to send [12:40:58]OFD Sender: No OFD packet to send [12:41:03]OFD Sender: No OFD packet to send [12:41:08]OFD Sender: No OFD packet to send [12:41:13]OFD Sender: No OFD packet to send [12:41:18]OFD Sender: No OFD packet to send [12:41:23]OFD Sender: No OFD packet to send [12:41:28]OFD Sender: No OFD packet to send [12:41:33]OFD Sender: No OFD packet to send [12:41:38]OFD Sender: No OFD packet to send [12:41:43]OFD Sender: No OFD packet to send [12:41:48]OFD Sender: No OFD packet to send [12:41:53]OFD Sender: No OFD packet to send [12:41:58]OFD Sender: No OFD packet to send [12:42:03]OFD Sender: No OFD packet to send [12:42:08]OFD Sender: No OFD packet to send [12:42:13]OFD Sender: No OFD packet to send [12:42:18]OFD Sender: No OFD packet to send [12:42:23]OFD Sender: No OFD packet to send [12:42:28]OFD Sender: No OFD packet to send [12:42:33]OFD Sender: No OFD packet to send [12:42:38]OFD Sender: No OFD packet to send [12:42:43]OFD Sender: No OFD packet to send [12:42:48]OFD Sender: No OFD packet to send [12:42:53]OFD Sender: No OFD packet to send [12:42:58]OFD Sender: No OFD packet to send [12:43:03]OFD Sender: No OFD packet to send [12:43:08]OFD Sender: No OFD packet to send [12:43:13]OFD Sender: No OFD packet to send [12:43:18]OFD Sender: No OFD packet to send [12:43:23]OFD Sender: No OFD packet to send [12:43:28]OFD Sender: No OFD packet to send [12:43:33]OFD Sender: No OFD packet to send [12:43:38]OFD Sender: No OFD packet to send [12:43:43]OFD Sender: No OFD packet to send [12:43:48]OFD Sender: No OFD packet to send [12:43:53]OFD Sender: No OFD packet to send [12:43:58]OFD Sender: No OFD packet to send [12:44:03]OFD Sender: No OFD packet to send [12:44:08]OFD Sender: No OFD packet to send [12:44:13]OFD Sender: No OFD packet to send [12:44:19]OFD Sender: No OFD packet to send [12:44:24]OFD Sender: No OFD packet to send [12:44:29]OFD Sender: No OFD packet to send [12:44:34]OFD Sender: No OFD packet to send [12:44:39]OFD Sender: No OFD packet to send [12:44:44]OFD Sender: No OFD packet to send [12:44:49]OFD Sender: No OFD packet to send [12:44:54]OFD Sender: No OFD packet to send [12:44:59]OFD Sender: No OFD packet to send [12:45:04]OFD Sender: No OFD packet to send [12:45:09]OFD Sender: No OFD packet to send [12:45:14]OFD Sender: No OFD packet to send [12:45:19]OFD Sender: No OFD packet to send [12:45:24]OFD Sender: No OFD packet to send [12:45:29]OFD Sender: No OFD packet to send [12:45:34]OFD Sender: No OFD packet to send [12:45:39]OFD Sender: No OFD packet to send [12:45:44]OFD Sender: No OFD packet to send [12:45:49]OFD Sender: No OFD packet to send [12:45:54]OFD Sender: No OFD packet to send [12:45:59]OFD Sender: No OFD packet to send [12:46:04]OFD Sender: No OFD packet to send [12:46:09]OFD Sender: No OFD packet to send [12:46:14]OFD Sender: No OFD packet to send [12:46:19]OFD Sender: No OFD packet to send [12:46:24]OFD Sender: No OFD packet to send [12:46:29]OFD Sender: No OFD packet to send [12:46:34]OFD Sender: No OFD packet to send [12:46:39]OFD Sender: No OFD packet to send [12:46:44]OFD Sender: No OFD packet to send [12:46:49]OFD Sender: No OFD packet to send [12:46:54]OFD Sender: No OFD packet to send [12:46:59]OFD Sender: No OFD packet to send [12:47:04]OFD Sender: No OFD packet to send [12:47:09]OFD Sender: No OFD packet to send [12:47:14]OFD Sender: No OFD packet to send [12:47:19]OFD Sender: No OFD packet to send [12:47:24]OFD Sender: No OFD packet to send [12:47:29]OFD Sender: No OFD packet to send [12:47:34]OFD Sender: No OFD packet to send [12:47:39]OFD Sender: No OFD packet to send [12:47:44]OFD Sender: No OFD packet to send [12:47:49]OFD Sender: No OFD packet to send [12:47:54]OFD Sender: No OFD packet to send [12:47:59]OFD Sender: No OFD packet to send [12:48:03]accept exits with 8 [12:48:03]New connection [12:48:03]New thread 3066621284 created [12:48:03]Thread 3066764644 joined [12:48:03]Waiting for new connection... [12:48:03] Sock 8.Parse request [12:48:03]Sock 8.Check first char [12:48:03]Sock 8.First char is OK [12:48:03]request: POST /json_proto HTTP/1.0 [12:48:03]Method: POST [12:48:03]URL: /json_proto [12:48:03]Method is POST - this is cgi request [12:48:03]url: /json_proto [12:48:03]query_string will be loaded in cgi processing [12:48:03]execute_cgi json_proto POST (null) [12:48:03]execute_cgi path=json_proto method=POST [12:48:03]POST find Content-Length [12:48:03]Host: 172.17.62.196:8080 [12:48:03]Content-Length: 907 [12:48:03]Content-Type: application/json [12:48:03] [12:48:03]POST finish read [12:48:03]Found Content-Length = 907 [12:48:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16870", "tax_sys" : 0, "items" : [ { "code": "5449000000996", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,33\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:48:03]execute_script... [12:48:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16870", "tax_sys" : 0, "items" : [ { "code": "5449000000996", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,33\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:48:03]POST & json_proto [12:48:03]process_json_proto [12:48:03]json parsed OK: [12:48:03]protocol is kg_v1.0 [12:48:03]action value=close_receipt [12:48:03]process_action close_receipt [12:48:03]cmd_close_receipt [12:48:03]MH_GetDate [12:48:03]Write to MH i2c: F0 00 00 40 05 34 [12:48:03]Write i2c OK [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: F0 [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: F0 09 00 [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: F0 09 00 40 05 00 85 06 F4 66 CE CC 0E 66 30 [12:48:03]GetLastDocTimeStamp 1727267951 [12:48:03]current date 1727268485 [12:48:03]FM_GetShiftState [12:48:03]SAM_PROTO_GetShiftState [12:48:03]wFMCommunicate request_size=4 [12:48:03]MH_SAM_APDU [12:48:03]CAPDU: 80 13 01 00 [12:48:03]Write to MH i2c: E2 08 00 41 05 80 13 01 00 00 00 00 00 C3 [12:48:03]Write i2c OK [12:48:03]MH_I2C_Read... [12:48:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:48:03]Read from MH i2c: E2 [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: E2 0E 00 [12:48:03]MH_I2C_Read... [12:48:03]Read from MH i2c: E2 0E 00 41 05 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 B0 [12:48:03]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [12:48:03]wFMCommunicate OK [12:48:03]SAM_PROTO_GetShiftState done [12:48:03]FM_GetShiftState done [12:48:03]opened in 1727223091 [12:48:03]opened+sec_in_day 1727309491 [12:48:03]quantity*price = 8500 [12:48:03]sum+1 = 8501 [12:48:03]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.10 НДС 12% : 13.28 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 28 25.09.2024 12:48 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18950 ФПД: 263052555809462 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T124805&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18950&fm=263052555809462&tin=02508201610067®Number=0000000000152968&sum=12500 0 [12:48:05]StoreToDocumentArchive [12:48:05]shift 183 fd 18950 [12:48:05]save to /storage/0183/doc_00018950 [12:48:05]save last doc name /storage/0183/doc_00018950 to /storage/kkm_last_doc_name [12:48:05]save OK [12:48:05]Clear old archive folders... [12:48:05]ProcessDocumentItem done err = 0, tmpTLVsize=382 [12:48:05]tlvbuf is 015C16B0 [12:48:05]SAM_PROTO_ClearQueue [12:48:05]wFMCommunicate request_size=4 [12:48:05]MH_SAM_APDU [12:48:05]CAPDU: 80 09 00 00 [12:48:05]Write to MH i2c: E2 08 00 4E 05 80 09 00 00 00 00 00 00 C5 [12:48:05]Write i2c OK [12:48:05]MH_I2C_Read... [12:48:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:48:05]Read from MH i2c: E2 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: E2 03 00 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: E2 03 00 4E 05 00 90 00 C7 [12:48:05]RAPDU: 90 00 [12:48:05]wFMCommunicate OK [12:48:05]SAM_PROTO_ClearQueue done [12:48:05]KKMCreateOFDPacket [12:48:05]OFDProtocolAddRootSTLVToBuf [12:48:05]FM_MakeSignedData [12:48:05]FM_MakeSignedData [12:48:05]SAM_PROTO_SignData [12:48:05]wFMCommunicate request_size=4 [12:48:05]MH_SAM_APDU [12:48:05]CAPDU: 80 0D 01 02 [12:48:05]Write to MH i2c: E2 08 00 4F 05 80 0D 01 02 00 00 00 00 CD [12:48:05]Write i2c OK [12:48:05]MH_I2C_Read... [12:48:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:48:05]Read from MH i2c: E2 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: E2 03 00 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: E2 03 00 4F 05 00 90 00 C8 [12:48:05]RAPDU: 90 00 [12:48:05]wFMCommunicate OK [12:48:05]wFMCommunicate request_size=255 [12:48:05]MH_SAM_APDU [12:48:05]CAPDU: 80 0D 02 02 FA 03 00 7E 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6E 00 [12:48:05]Write to MH i2c: E2 02 01 50 05 80 0D 02 02 FA 00 03 00 7E 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6E 00 00 00 E0 [12:48:05]Write i2c OK [12:48:05]MH_I2C_Read... [12:48:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:48:05]Read from MH i2c: E2 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: E2 03 00 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: E2 03 00 50 05 00 90 00 C9 [12:48:05]RAPDU: 90 00 [12:48:05]wFMCommunicate OK [12:48:05]wFMCommunicate request_size=141 [12:48:05]MH_SAM_APDU [12:48:05]CAPDU: 80 0D 02 02 88 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 85 06 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 06 4A 00 00 35 04 06 00 EF 3E B2 25 72 B6 [12:48:05]Write to MH i2c: E2 90 00 51 05 80 0D 02 02 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 85 06 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 06 4A 00 00 35 04 06 00 EF 3E B2 25 72 B6 00 00 86 [12:48:05]Write i2c OK [12:48:05]MH_I2C_Read... [12:48:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:48:05]Read from MH i2c: E2 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: E2 03 00 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: E2 03 00 51 05 00 90 00 CA [12:48:05]RAPDU: 90 00 [12:48:05]wFMCommunicate OK [12:48:05]wFMCommunicate request_size=4 [12:48:05]MH_SAM_APDU [12:48:05]CAPDU: 80 0D 03 02 [12:48:05]Write to MH i2c: E2 08 00 52 05 80 0D 03 02 00 00 00 00 D2 [12:48:05]Write i2c OK [12:48:05]MH_I2C_Read... [12:48:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:48:05]Read from MH i2c: E2 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: E2 0B 00 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: E2 0B 00 52 05 00 04 82 61 AC 97 32 35 EA 90 00 4E [12:48:05]RAPDU: 04 82 61 AC 97 32 35 EA 90 00 [12:48:05]wFMCommunicate OK [12:48:05]SAM_PROTO_SignData done [12:48:05]FM_MakeSignedData done [12:48:05]CreateOFDProtocolMessage [12:48:05]wFMCommunicate request_size=4 [12:48:05]MH_SAM_APDU [12:48:05]CAPDU: 80 11 00 00 [12:48:05]Write to MH i2c: E2 08 00 53 05 80 11 00 00 00 00 00 00 D2 [12:48:05]Write i2c OK [12:48:05]MH_I2C_Read... [12:48:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:48:05]Read from MH i2c: E2 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: E2 17 00 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: E2 17 00 53 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 2B [12:48:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:48:05]wFMCommunicate OK [12:48:05]CreateOFDProtocolMessage done [12:48:05]OFDSenderStorePacket 18950 [12:48:05]StoreOFDPacket docnum=18950 [12:48:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 92 01 00 00 4B 22 8A 01 77 67 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 85 06 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 06 4A 00 00 35 04 06 00 EF 3E B2 25 72 B6 04 82 61 AC 97 32 35 EA [12:48:05]CheckFolder [12:48:05]dirname=/storage/ofd_packets [12:48:05]CheckFolder done [12:48:05]ProducePacketName [12:48:05]name=ofd_packets/00018950 [12:48:05]NVStorageSaveData ofd_packets/00018950 [12:48:05]File name is /storage/ofd_packets/00018950 [12:48:05]Write 432 bytes [12:48:05]NVStorageSaveData done [12:48:05]OFDSenderStorePacket done [12:48:05]KKMCreateOFDPacket done [12:48:05]NVStorageSaveData kkm_last_timestamp [12:48:05]File name is /storage/kkm_last_timestamp [12:48:05]Write 4 bytes [12:48:05]NVStorageSaveData done [12:48:05]ExternCall_PrintAddStr [12:48:05]wPrintStart [12:48:05]Write to MH i2c: 01 00 00 54 05 59 [12:48:05]Write i2c OK [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: 01 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: 01 07 00 [12:48:05]MH_I2C_Read... [12:48:05]Read from MH i2c: 01 07 00 54 05 00 00 00 00 00 FF 0F 6E [12:48:05]RasterBufferAndPrint [12:48:06]line Счет N : (3)16870 [12:48:06]line ИНН: 02508201610067 [12:48:06]line Контрольно-Кассовый Чек [12:48:06]line ПРОДАЖА [12:48:06]line Товар: 5449000000996 [12:48:06]line Напиток Кока-Кола 0,33л [12:48:06]line 1.000 * 85.00 [12:48:06]line = 85.00 [12:48:06]line НДС 12% НСП 1% [12:48:06]line > о реализуемом товаре [12:48:06]line Товар: 4700000160211 [12:48:06]line Вода Легенда 0,5л [12:48:06]line 1.000 * 40.00 [12:48:06]line = 40.00 [12:48:06]line НДС 12% НСП 1% [12:48:06]line > о реализуемом товаре [12:48:06]line ИТОГО: 125.00 [12:48:06]line НСП 1% : 1.10 [12:48:06]line НДС 12% : 13.28 [12:48:06]line Наличными: 125.00 [12:48:06]line Безнал.: 0.00 [12:48:06]line Место: АЗС № 176 "Партнер Нефть" [12:48:06]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [12:48:06]line СНО: Общий режим [12:48:06]line Чек 28 25.09.2024 12:48 [12:48:06]line Смена: 183 ФФД: 1.0 [12:48:06]line ЗНМ: 0300000010 [12:48:06]line РНМ: 0000000000152968 [12:48:06]line Версия ККМ: v1.0 [12:48:06]line ФМ: 0000000000959456 [12:48:06]line ФД: 18950 [12:48:06]line ФПД: 263052555809462 [12:48:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T124805&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18950&fm=263052555809462&tin=02508201610067®Number=0000000000152968&sum=12500 [12:48:06]line 0 [12:48:06]OFD Sender: Processing packet 18950 [packets to send 7, broken 6] [12:48:06]ProducePacketName [12:48:06]name=ofd_packets/00018950 [12:48:06]OFD Sender: To server: pG, [12:48:06]CommunicateWithHost lk.salyk.kg:30040 [12:48:06]ConnectInit lk.salyk.kg [12:48:06]written 0, free lines is 4095 [12:48:06]Connected sock=10 [12:48:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 92 01 00 00 4B 22 8A 01 77 67 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 85 06 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 06 4A 00 00 35 04 06 00 EF 3E B2 25 72 B6 04 82 61 AC 97 32 35 EA [12:48:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 1E 52 47 00 82 FA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 06 4A 00 00 F4 03 04 00 E2 AF F3 66 B6 04 01 00 00 50 33 17 0F D1 68 D0 FA [12:48:06]CommunicateWithHost err = 0 [12:48:06]CheckOFDResponse [12:48:06]1017 (14) - 77093643461234 [12:48:06]1041 (16) - 0000000000959456 [12:48:06]1040 (4) - 18950 [12:48:06]1012 (4) - 25.09.2024 06:38 [12:48:06]1206 (1) - 0 [12:48:06]OFD Sender: Remove packet 18950 [12:48:06]ProducePacketName [12:48:06]name=ofd_packets/00018950 [12:48:06]NVStorageDeleteData [12:48:06]Write to MH i2c: 01 00 00 82 05 87 [12:48:06]Write i2c OK [12:48:06]MH_I2C_Read... [12:48:06]Read from MH i2c: 01 [12:48:06]MH_I2C_Read... [12:48:06]Read from MH i2c: 01 07 00 [12:48:06]MH_I2C_Read... [12:48:06]Read from MH i2c: 01 07 00 82 05 00 00 00 00 00 EA 0C 84 [12:48:06]RasterBufferAndPrint [12:48:06]line [12:48:06]line [12:48:06]line [12:48:06]line [12:48:06]line [12:48:06]written 0, free lines is 3315 [12:48:06]MH_Cut [12:48:06]Write to MH i2c: D1 01 00 89 05 01 60 [12:48:06]Write i2c OK [12:48:06]MH_I2C_Read... [12:48:06]Read from MH i2c: D1 [12:48:06]MH_I2C_Read... [12:48:06]Read from MH i2c: D1 01 00 [12:48:06]MH_I2C_Read... [12:48:06]Read from MH i2c: D1 01 00 89 05 00 5F [12:48:06]Write to MH i2c: 01 00 00 8A 05 8F [12:48:06]Write i2c OK [12:48:06]MH_I2C_Read... [12:48:07]OFD Sender: No OFD packet to send [12:48:07]*** Cut start [12:48:07]*** Partial cut [12:48:07]*** CUTSNS_PIN = 1 [12:48:07]*** CUTSNS_PIN = 0 [12:48:07]*** Brake cut motor [12:48:07]Read from MH i2c: 01 [12:48:07]MH_I2C_Read... [12:48:07]*** Stop cut motor [12:48:07]*** Cut end [12:48:07]Read from MH i2c: 01 07 00 [12:48:07]MH_I2C_Read... [12:48:07]Read from MH i2c: 01 07 00 8A 05 00 00 00 00 00 FF 0F A4 [12:48:07]process_action close_receipt done [12:48:07]requested_data is exist [12:48:07]produce_requested_data [12:48:07]requested_item fm.sn is exist - process it [12:48:07]wFMCommunicate request_size=4 [12:48:07]MH_SAM_APDU [12:48:07]CAPDU: 80 11 00 00 [12:48:07]Write to MH i2c: E2 08 00 8B 05 80 11 00 00 00 00 00 00 0A [12:48:07]Write i2c OK [12:48:07]MH_I2C_Read... [12:48:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:48:07]Read from MH i2c: E2 [12:48:07]MH_I2C_Read... [12:48:07]Read from MH i2c: E2 17 00 [12:48:07]MH_I2C_Read... [12:48:07]Read from MH i2c: E2 17 00 8B 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 63 [12:48:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [12:48:07]wFMCommunicate OK [12:48:07]requested_item fd.num is exist - process it [12:48:07]SAM_PROTO_GetFieldsCounters [12:48:07]wFMCommunicate request_size=4 [12:48:07]MH_SAM_APDU [12:48:07]CAPDU: 80 13 00 00 [12:48:07]Write to MH i2c: E2 08 00 8C 05 80 13 00 00 00 00 00 00 0D [12:48:07]Write i2c OK [12:48:07]MH_I2C_Read... [12:48:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:48:08]Read from MH i2c: E2 [12:48:08]MH_I2C_Read... [12:48:08]Read from MH i2c: E2 62 00 [12:48:08]MH_I2C_Read... [12:48:08]Read from MH i2c: E2 62 00 8C 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 06 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 95 [12:48:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 06 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:48:08]wFMCommunicate OK [12:48:08]SAM_PROTO_GetFieldsCounters done [12:48:08]requested_item shift.num is exist - process it [12:48:08]requested_item shift.opened is exist - process it [12:48:08]req_shift_opened [12:48:08]FM_GetShiftState [12:48:08]SAM_PROTO_GetShiftState [12:48:08]wFMCommunicate request_size=4 [12:48:08]MH_SAM_APDU [12:48:08]CAPDU: 80 13 01 00 [12:48:08]Write to MH i2c: E2 08 00 8D 05 80 13 01 00 00 00 00 00 0F [12:48:08]Write i2c OK [12:48:08]MH_I2C_Read... [12:48:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:48:08]Read from MH i2c: E2 [12:48:08]MH_I2C_Read... [12:48:08]Read from MH i2c: E2 0E 00 [12:48:08]MH_I2C_Read... [12:48:08]Read from MH i2c: E2 0E 00 8D 05 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 FC [12:48:08]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [12:48:08]wFMCommunicate OK [12:48:08]SAM_PROTO_GetShiftState done [12:48:08]FM_GetShiftState done [12:48:08]req_shift_opened done [12:48:08]requested_item shift.open_date is exist - process it [12:48:08]req_shift_open_date [12:48:08]req_shift_open_date done [12:48:08]produce_requested_data done [12:48:08]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18950,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [12:48:08]process_action_free close_receipt [12:48:08]json_value_free [12:48:08]json_value_free done [12:48:08]process_json_proto returns [12:48:08]Send response to host [12:48:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18950,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [12:48:08]free response buf [12:48:08]execute_script done [12:48:08]execute_script returns [12:48:08]free content buf [12:48:08]Sock 8.Close socket [12:48:08]Sock 8.Thread stoped [12:48:12]OFD Sender: No OFD packet to send [12:48:17]OFD Sender: No OFD packet to send [12:48:22]OFD Sender: No OFD packet to send [12:48:27]OFD Sender: No OFD packet to send [12:48:32]OFD Sender: No OFD packet to send [12:48:37]OFD Sender: No OFD packet to send [12:48:42]OFD Sender: No OFD packet to send [12:48:47]OFD Sender: No OFD packet to send [12:48:52]OFD Sender: No OFD packet to send [12:48:57]OFD Sender: No OFD packet to send [12:49:02]OFD Sender: No OFD packet to send [12:49:07]OFD Sender: No OFD packet to send [12:49:12]OFD Sender: No OFD packet to send [12:49:17]OFD Sender: No OFD packet to send [12:49:22]OFD Sender: No OFD packet to send [12:49:27]OFD Sender: No OFD packet to send [12:49:32]OFD Sender: No OFD packet to send [12:49:37]OFD Sender: No OFD packet to send [12:49:42]OFD Sender: No OFD packet to send [12:49:47]OFD Sender: No OFD packet to send [12:49:52]OFD Sender: No OFD packet to send [12:49:57]OFD Sender: No OFD packet to send [12:50:02]OFD Sender: No OFD packet to send [12:50:07]OFD Sender: No OFD packet to send [12:50:12]OFD Sender: No OFD packet to send [12:50:17]OFD Sender: No OFD packet to send [12:50:22]OFD Sender: No OFD packet to send [12:50:27]OFD Sender: No OFD packet to send [12:50:32]OFD Sender: No OFD packet to send [12:50:37]OFD Sender: No OFD packet to send [12:50:42]OFD Sender: No OFD packet to send [12:50:47]OFD Sender: No OFD packet to send [12:50:52]OFD Sender: No OFD packet to send [12:50:57]OFD Sender: No OFD packet to send [12:51:02]OFD Sender: No OFD packet to send [12:51:07]OFD Sender: No OFD packet to send [12:51:12]OFD Sender: No OFD packet to send [12:51:17]OFD Sender: No OFD packet to send [12:51:22]OFD Sender: No OFD packet to send [12:51:27]OFD Sender: No OFD packet to send [12:51:32]OFD Sender: No OFD packet to send [12:51:37]OFD Sender: No OFD packet to send [12:51:42]OFD Sender: No OFD packet to send [12:51:47]OFD Sender: No OFD packet to send [12:51:52]OFD Sender: No OFD packet to send [12:51:57]OFD Sender: No OFD packet to send [12:52:02]OFD Sender: No OFD packet to send [12:52:07]OFD Sender: No OFD packet to send [12:52:12]OFD Sender: No OFD packet to send [12:52:17]OFD Sender: No OFD packet to send [12:52:22]OFD Sender: No OFD packet to send [12:52:27]OFD Sender: No OFD packet to send [12:52:32]OFD Sender: No OFD packet to send [12:52:37]OFD Sender: No OFD packet to send [12:52:42]OFD Sender: No OFD packet to send [12:52:47]OFD Sender: No OFD packet to send [12:52:52]OFD Sender: No OFD packet to send [12:52:57]OFD Sender: No OFD packet to send [12:53:02]OFD Sender: No OFD packet to send [12:53:07]OFD Sender: No OFD packet to send [12:53:12]OFD Sender: No OFD packet to send [12:53:17]OFD Sender: No OFD packet to send [12:53:22]OFD Sender: No OFD packet to send [12:53:27]OFD Sender: No OFD packet to send [12:53:32]OFD Sender: No OFD packet to send [12:53:37]OFD Sender: No OFD packet to send [12:53:42]OFD Sender: No OFD packet to send [12:53:47]OFD Sender: No OFD packet to send [12:53:52]OFD Sender: No OFD packet to send [12:53:57]OFD Sender: No OFD packet to send [12:54:02]OFD Sender: No OFD packet to send [12:54:07]OFD Sender: No OFD packet to send [12:54:12]OFD Sender: No OFD packet to send [12:54:17]OFD Sender: No OFD packet to send [12:54:22]OFD Sender: No OFD packet to send [12:54:27]OFD Sender: No OFD packet to send [12:54:32]OFD Sender: No OFD packet to send [12:54:37]OFD Sender: No OFD packet to send [12:54:42]OFD Sender: No OFD packet to send [12:54:47]OFD Sender: No OFD packet to send [12:54:52]OFD Sender: No OFD packet to send [12:54:57]OFD Sender: No OFD packet to send [12:55:02]OFD Sender: No OFD packet to send [12:55:07]OFD Sender: No OFD packet to send [12:55:12]OFD Sender: No OFD packet to send [12:55:17]OFD Sender: No OFD packet to send [12:55:22]OFD Sender: No OFD packet to send [12:55:27]OFD Sender: No OFD packet to send [12:55:32]OFD Sender: No OFD packet to send [12:55:37]OFD Sender: No OFD packet to send [12:55:42]OFD Sender: No OFD packet to send [12:55:47]OFD Sender: No OFD packet to send [12:55:52]OFD Sender: No OFD packet to send [12:55:57]OFD Sender: No OFD packet to send [12:56:02]OFD Sender: No OFD packet to send [12:56:07]OFD Sender: No OFD packet to send [12:56:12]OFD Sender: No OFD packet to send [12:56:17]OFD Sender: No OFD packet to send [12:56:22]OFD Sender: No OFD packet to send [12:56:27]OFD Sender: No OFD packet to send [12:56:32]OFD Sender: No OFD packet to send [12:56:37]OFD Sender: No OFD packet to send [12:56:42]OFD Sender: No OFD packet to send [12:56:47]OFD Sender: No OFD packet to send [12:56:52]OFD Sender: No OFD packet to send [12:56:57]OFD Sender: No OFD packet to send [12:57:02]OFD Sender: No OFD packet to send [12:57:07]OFD Sender: No OFD packet to send [12:57:12]OFD Sender: No OFD packet to send [12:57:17]OFD Sender: No OFD packet to send [12:57:22]OFD Sender: No OFD packet to send [12:57:27]OFD Sender: No OFD packet to send [12:57:32]OFD Sender: No OFD packet to send [12:57:37]OFD Sender: No OFD packet to send [12:57:42]OFD Sender: No OFD packet to send [12:57:47]OFD Sender: No OFD packet to send [12:57:52]OFD Sender: No OFD packet to send [12:57:57]OFD Sender: No OFD packet to send [12:58:02]OFD Sender: No OFD packet to send [12:58:07]OFD Sender: No OFD packet to send [12:58:12]OFD Sender: No OFD packet to send [12:58:17]OFD Sender: No OFD packet to send [12:58:22]OFD Sender: No OFD packet to send [12:58:27]OFD Sender: No OFD packet to send [12:58:32]OFD Sender: No OFD packet to send [12:58:37]OFD Sender: No OFD packet to send [12:58:42]OFD Sender: No OFD packet to send [12:58:47]OFD Sender: No OFD packet to send [12:58:52]OFD Sender: No OFD packet to send [12:58:57]OFD Sender: No OFD packet to send [12:59:02]OFD Sender: No OFD packet to send [12:59:07]OFD Sender: No OFD packet to send [12:59:12]OFD Sender: No OFD packet to send [12:59:17]OFD Sender: No OFD packet to send [12:59:22]OFD Sender: No OFD packet to send [12:59:27]OFD Sender: No OFD packet to send [12:59:32]OFD Sender: No OFD packet to send [12:59:37]OFD Sender: No OFD packet to send [12:59:42]OFD Sender: No OFD packet to send [12:59:47]OFD Sender: No OFD packet to send [12:59:52]OFD Sender: No OFD packet to send [12:59:57]OFD Sender: No OFD packet to send [13:00:02]OFD Sender: No OFD packet to send [13:00:07]OFD Sender: No OFD packet to send [13:00:12]OFD Sender: No OFD packet to send [13:00:17]OFD Sender: No OFD packet to send [13:00:22]OFD Sender: No OFD packet to send [13:00:27]OFD Sender: No OFD packet to send [13:00:32]OFD Sender: No OFD packet to send [13:00:37]OFD Sender: No OFD packet to send [13:00:42]OFD Sender: No OFD packet to send [13:00:47]OFD Sender: No OFD packet to send [13:00:52]OFD Sender: No OFD packet to send [13:00:57]OFD Sender: No OFD packet to send [13:01:02]OFD Sender: No OFD packet to send [13:01:07]OFD Sender: No OFD packet to send [13:01:12]OFD Sender: No OFD packet to send [13:01:17]OFD Sender: No OFD packet to send [13:01:22]OFD Sender: No OFD packet to send [13:01:27]OFD Sender: No OFD packet to send [13:01:32]OFD Sender: No OFD packet to send [13:01:37]OFD Sender: No OFD packet to send [13:01:42]OFD Sender: No OFD packet to send [13:01:47]OFD Sender: No OFD packet to send [13:01:52]OFD Sender: No OFD packet to send [13:01:57]OFD Sender: No OFD packet to send [13:02:02]OFD Sender: No OFD packet to send [13:02:07]OFD Sender: No OFD packet to send [13:02:12]OFD Sender: No OFD packet to send [13:02:17]OFD Sender: No OFD packet to send [13:02:22]OFD Sender: No OFD packet to send [13:02:27]OFD Sender: No OFD packet to send [13:02:32]OFD Sender: No OFD packet to send [13:02:37]OFD Sender: No OFD packet to send [13:02:42]OFD Sender: No OFD packet to send [13:02:47]OFD Sender: No OFD packet to send [13:02:52]OFD Sender: No OFD packet to send [13:02:57]OFD Sender: No OFD packet to send [13:03:02]OFD Sender: No OFD packet to send [13:03:07]OFD Sender: No OFD packet to send [13:03:12]OFD Sender: No OFD packet to send [13:03:17]OFD Sender: No OFD packet to send [13:03:22]OFD Sender: No OFD packet to send [13:03:27]OFD Sender: No OFD packet to send [13:03:32]OFD Sender: No OFD packet to send [13:03:37]OFD Sender: No OFD packet to send [13:03:42]OFD Sender: No OFD packet to send [13:03:47]OFD Sender: No OFD packet to send [13:03:52]OFD Sender: No OFD packet to send [13:03:57]OFD Sender: No OFD packet to send [13:04:02]OFD Sender: No OFD packet to send [13:04:07]OFD Sender: No OFD packet to send [13:04:12]OFD Sender: No OFD packet to send [13:04:17]OFD Sender: No OFD packet to send [13:04:22]OFD Sender: No OFD packet to send [13:04:27]OFD Sender: No OFD packet to send [13:04:32]OFD Sender: No OFD packet to send [13:04:37]OFD Sender: No OFD packet to send [13:04:42]OFD Sender: No OFD packet to send [13:04:47]OFD Sender: No OFD packet to send [13:04:52]OFD Sender: No OFD packet to send [13:04:57]OFD Sender: No OFD packet to send [13:05:02]OFD Sender: No OFD packet to send [13:05:07]OFD Sender: No OFD packet to send [13:05:12]OFD Sender: No OFD packet to send [13:05:17]OFD Sender: No OFD packet to send [13:05:22]OFD Sender: No OFD packet to send [13:05:27]OFD Sender: No OFD packet to send [13:05:32]OFD Sender: No OFD packet to send [13:05:37]OFD Sender: No OFD packet to send [13:05:42]OFD Sender: No OFD packet to send [13:05:47]OFD Sender: No OFD packet to send [13:05:52]OFD Sender: No OFD packet to send [13:05:57]OFD Sender: No OFD packet to send [13:06:02]OFD Sender: No OFD packet to send [13:06:07]OFD Sender: No OFD packet to send [13:06:12]OFD Sender: No OFD packet to send [13:06:17]OFD Sender: No OFD packet to send [13:06:22]OFD Sender: No OFD packet to send [13:06:27]OFD Sender: No OFD packet to send [13:06:32]OFD Sender: No OFD packet to send [13:06:37]OFD Sender: No OFD packet to send [13:06:42]OFD Sender: No OFD packet to send [13:06:47]OFD Sender: No OFD packet to send [13:06:52]OFD Sender: No OFD packet to send [13:06:57]OFD Sender: No OFD packet to send [13:07:02]OFD Sender: No OFD packet to send [13:07:07]OFD Sender: No OFD packet to send [13:07:12]OFD Sender: No OFD packet to send [13:07:17]OFD Sender: No OFD packet to send [13:07:22]OFD Sender: No OFD packet to send [13:07:27]OFD Sender: No OFD packet to send [13:07:32]OFD Sender: No OFD packet to send [13:07:37]OFD Sender: No OFD packet to send [13:07:43]OFD Sender: No OFD packet to send [13:07:48]OFD Sender: No OFD packet to send [13:07:53]OFD Sender: No OFD packet to send [13:07:58]OFD Sender: No OFD packet to send [13:08:03]OFD Sender: No OFD packet to send [13:08:08]OFD Sender: No OFD packet to send [13:08:13]OFD Sender: No OFD packet to send [13:08:18]OFD Sender: No OFD packet to send [13:08:23]OFD Sender: No OFD packet to send [13:08:28]OFD Sender: No OFD packet to send [13:08:33]OFD Sender: No OFD packet to send [13:08:38]OFD Sender: No OFD packet to send [13:08:43]OFD Sender: No OFD packet to send [13:08:48]OFD Sender: No OFD packet to send [13:08:53]OFD Sender: No OFD packet to send [13:08:58]OFD Sender: No OFD packet to send [13:09:03]OFD Sender: No OFD packet to send [13:09:08]OFD Sender: No OFD packet to send [13:09:13]OFD Sender: No OFD packet to send [13:09:18]OFD Sender: No OFD packet to send [13:09:23]OFD Sender: No OFD packet to send [13:09:28]OFD Sender: No OFD packet to send [13:09:33]OFD Sender: No OFD packet to send [13:09:38]OFD Sender: No OFD packet to send [13:09:43]OFD Sender: No OFD packet to send [13:09:48]OFD Sender: No OFD packet to send [13:09:53]OFD Sender: No OFD packet to send [13:09:58]OFD Sender: No OFD packet to send [13:10:03]OFD Sender: No OFD packet to send [13:10:08]OFD Sender: No OFD packet to send [13:10:13]OFD Sender: No OFD packet to send [13:10:18]OFD Sender: No OFD packet to send [13:10:23]OFD Sender: No OFD packet to send [13:10:28]OFD Sender: No OFD packet to send [13:10:33]OFD Sender: No OFD packet to send [13:10:38]OFD Sender: No OFD packet to send [13:10:43]OFD Sender: No OFD packet to send [13:10:48]OFD Sender: No OFD packet to send [13:10:53]OFD Sender: No OFD packet to send [13:10:58]OFD Sender: No OFD packet to send [13:11:03]OFD Sender: No OFD packet to send [13:11:08]OFD Sender: No OFD packet to send [13:11:13]OFD Sender: No OFD packet to send [13:11:18]OFD Sender: No OFD packet to send [13:11:23]OFD Sender: No OFD packet to send [13:11:28]OFD Sender: No OFD packet to send [13:11:33]OFD Sender: No OFD packet to send [13:11:38]OFD Sender: No OFD packet to send [13:11:43]OFD Sender: No OFD packet to send [13:11:48]OFD Sender: No OFD packet to send [13:11:53]OFD Sender: No OFD packet to send [13:11:58]OFD Sender: No OFD packet to send [13:12:03]OFD Sender: No OFD packet to send [13:12:08]OFD Sender: No OFD packet to send [13:12:13]OFD Sender: No OFD packet to send [13:12:18]OFD Sender: No OFD packet to send [13:12:23]OFD Sender: No OFD packet to send [13:12:28]OFD Sender: No OFD packet to send [13:12:33]OFD Sender: No OFD packet to send [13:12:38]OFD Sender: No OFD packet to send [13:12:43]OFD Sender: No OFD packet to send [13:12:48]OFD Sender: No OFD packet to send [13:12:53]OFD Sender: No OFD packet to send [13:12:58]OFD Sender: No OFD packet to send [13:13:03]OFD Sender: No OFD packet to send [13:13:08]OFD Sender: No OFD packet to send [13:13:13]OFD Sender: No OFD packet to send [13:13:18]OFD Sender: No OFD packet to send [13:13:23]OFD Sender: No OFD packet to send [13:13:28]OFD Sender: No OFD packet to send [13:13:33]OFD Sender: No OFD packet to send [13:13:38]OFD Sender: No OFD packet to send [13:13:43]OFD Sender: No OFD packet to send [13:13:48]OFD Sender: No OFD packet to send [13:13:53]OFD Sender: No OFD packet to send [13:13:58]OFD Sender: No OFD packet to send [13:14:03]OFD Sender: No OFD packet to send [13:14:08]OFD Sender: No OFD packet to send [13:14:13]OFD Sender: No OFD packet to send [13:14:18]OFD Sender: No OFD packet to send [13:14:23]OFD Sender: No OFD packet to send [13:14:28]OFD Sender: No OFD packet to send [13:14:33]OFD Sender: No OFD packet to send [13:14:38]OFD Sender: No OFD packet to send [13:14:43]OFD Sender: No OFD packet to send [13:14:48]OFD Sender: No OFD packet to send [13:14:53]OFD Sender: No OFD packet to send [13:14:58]OFD Sender: No OFD packet to send [13:15:03]OFD Sender: No OFD packet to send [13:15:08]OFD Sender: No OFD packet to send [13:15:13]OFD Sender: No OFD packet to send [13:15:18]OFD Sender: No OFD packet to send [13:15:23]OFD Sender: No OFD packet to send [13:15:28]OFD Sender: No OFD packet to send [13:15:33]OFD Sender: No OFD packet to send [13:15:38]OFD Sender: No OFD packet to send [13:15:43]OFD Sender: No OFD packet to send [13:15:48]OFD Sender: No OFD packet to send [13:15:49]accept exits with 9 [13:15:49]New connection [13:15:49]New thread 3066764644 created [13:15:49]Thread 3066621284 joined [13:15:49]Waiting for new connection... [13:15:49] Sock 9.Parse request [13:15:49]Sock 9.Check first char [13:15:49]Sock 9.First char is OK [13:15:49]request: POST /json_proto HTTP/1.0 [13:15:49]Method: POST [13:15:49]URL: /json_proto [13:15:49]Method is POST - this is cgi request [13:15:49]url: /json_proto [13:15:49]query_string will be loaded in cgi processing [13:15:49]execute_cgi json_proto POST (null) [13:15:49]execute_cgi path=json_proto method=POST [13:15:49]POST find Content-Length [13:15:49]Host: 172.17.62.196:8080 [13:15:49]Content-Length: 622 [13:15:49]Content-Type: application/json [13:15:49] [13:15:49]POST finish read [13:15:49]Found Content-Length = 622 [13:15:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16871", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:15:49]execute_script... [13:15:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16871", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:15:49]POST & json_proto [13:15:49]process_json_proto [13:15:49]json parsed OK: [13:15:49]protocol is kg_v1.0 [13:15:49]action value=close_receipt [13:15:49]process_action close_receipt [13:15:49]cmd_close_receipt [13:15:49]MH_GetDate [13:15:49]Write to MH i2c: F0 00 00 8E 05 82 [13:15:49]Write i2c OK [13:15:49]MH_I2C_Read... [13:15:49]Read from MH i2c: F0 [13:15:49]MH_I2C_Read... [13:15:49]Read from MH i2c: F0 09 00 [13:15:49]MH_I2C_Read... [13:15:49]Read from MH i2c: F0 09 00 8E 05 00 06 0D F4 66 CE CC 0E 66 06 [13:15:49]GetLastDocTimeStamp 1727268485 [13:15:49]current date 1727270150 [13:15:49]FM_GetShiftState [13:15:49]SAM_PROTO_GetShiftState [13:15:49]wFMCommunicate request_size=4 [13:15:49]MH_SAM_APDU [13:15:49]CAPDU: 80 13 01 00 [13:15:49]Write to MH i2c: E2 08 00 8F 05 80 13 01 00 00 00 00 00 11 [13:15:49]Write i2c OK [13:15:49]MH_I2C_Read... [13:15:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:15:49]Read from MH i2c: E2 [13:15:49]MH_I2C_Read... [13:15:49]Read from MH i2c: E2 0E 00 [13:15:49]MH_I2C_Read... [13:15:49]Read from MH i2c: E2 0E 00 8F 05 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 FE [13:15:49]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [13:15:49]wFMCommunicate OK [13:15:49]SAM_PROTO_GetShiftState done [13:15:49]FM_GetShiftState done [13:15:49]opened in 1727223091 [13:15:49]opened+sec_in_day 1727309491 [13:15:49]quantity*price = 14400 [13:15:49]sum+1 = 14401 [13:15:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 29 25.09.2024 13:15 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18951 ФПД: 218368875806677 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T131550&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18951&fm=218368875806677&tin=02508201610067®Number=0000000000152968&sum=14400 0 [13:15:50]StoreToDocumentArchive [13:15:50]shift 183 fd 18951 [13:15:50]save to /storage/0183/doc_00018951 [13:15:50]save last doc name /storage/0183/doc_00018951 to /storage/kkm_last_doc_name [13:15:50]save OK [13:15:50]Clear old archive folders... [13:15:50]ProcessDocumentItem done err = 0, tmpTLVsize=275 [13:15:50]tlvbuf is 015C0F90 [13:15:50]SAM_PROTO_ClearQueue [13:15:50]wFMCommunicate request_size=4 [13:15:50]MH_SAM_APDU [13:15:50]CAPDU: 80 09 00 00 [13:15:50]Write to MH i2c: E2 08 00 9C 05 80 09 00 00 00 00 00 00 13 [13:15:50]Write i2c OK [13:15:50]MH_I2C_Read... [13:15:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:15:50]Read from MH i2c: E2 [13:15:50]MH_I2C_Read... [13:15:50]Read from MH i2c: E2 03 00 [13:15:50]MH_I2C_Read... [13:15:50]Read from MH i2c: E2 03 00 9C 05 00 90 00 15 [13:15:50]RAPDU: 90 00 [13:15:50]wFMCommunicate OK [13:15:50]SAM_PROTO_ClearQueue done [13:15:50]KKMCreateOFDPacket [13:15:50]OFDProtocolAddRootSTLVToBuf [13:15:50]FM_MakeSignedData [13:15:50]FM_MakeSignedData [13:15:50]SAM_PROTO_SignData [13:15:50]wFMCommunicate request_size=4 [13:15:50]MH_SAM_APDU [13:15:50]CAPDU: 80 0D 01 02 [13:15:50]Write to MH i2c: E2 08 00 9D 05 80 0D 01 02 00 00 00 00 1B [13:15:50]Write i2c OK [13:15:50]MH_I2C_Read... [13:15:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:15:50]Read from MH i2c: E2 [13:15:50]MH_I2C_Read... [13:15:50]Read from MH i2c: E2 03 00 [13:15:50]MH_I2C_Read... [13:15:50]Read from MH i2c: E2 03 00 9D 05 00 90 00 16 [13:15:50]RAPDU: 90 00 [13:15:50]wFMCommunicate OK [13:15:50]wFMCommunicate request_size=255 [13:15:50]MH_SAM_APDU [13:15:50]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 06 0D F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 [13:15:50]Write to MH i2c: E2 02 01 9E 05 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 06 0D F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 00 00 67 [13:15:50]Write i2c OK [13:15:50]MH_I2C_Read... [13:15:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:15:50]Read from MH i2c: E2 [13:15:50]MH_I2C_Read... [13:15:50]Read from MH i2c: E2 03 00 [13:15:50]MH_I2C_Read... [13:15:50]Read from MH i2c: E2 03 00 9E 05 00 90 00 17 [13:15:50]RAPDU: 90 00 [13:15:50]wFMCommunicate OK [13:15:50]wFMCommunicate request_size=34 [13:15:50]MH_SAM_APDU [13:15:50]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 07 4A 00 00 35 04 06 00 C6 9A F7 45 BF D5 [13:15:50]Write to MH i2c: E2 25 00 9F 05 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 07 4A 00 00 35 04 06 00 C6 9A F7 45 BF D5 00 00 66 [13:15:50]Write i2c OK [13:15:50]MH_I2C_Read... [13:15:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:15:50]Read from MH i2c: E2 [13:15:50]MH_I2C_Read... [13:15:50]Read from MH i2c: E2 03 00 [13:15:50]MH_I2C_Read... [13:15:50]Read from MH i2c: E2 03 00 9F 05 00 90 00 18 [13:15:50]RAPDU: 90 00 [13:15:50]wFMCommunicate OK [13:15:50]wFMCommunicate request_size=4 [13:15:50]MH_SAM_APDU [13:15:50]CAPDU: 80 0D 03 02 [13:15:50]Write to MH i2c: E2 08 00 A0 05 80 0D 03 02 00 00 00 00 20 [13:15:50]Write i2c OK [13:15:50]MH_I2C_Read... [13:15:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:15:50]Read from MH i2c: E2 [13:15:50]MH_I2C_Read... [13:15:50]Read from MH i2c: E2 0B 00 [13:15:50]MH_I2C_Read... [13:15:50]Read from MH i2c: E2 0B 00 A0 05 00 F4 7D B1 83 78 C6 38 47 90 00 83 [13:15:50]RAPDU: F4 7D B1 83 78 C6 38 47 90 00 [13:15:50]wFMCommunicate OK [13:15:50]SAM_PROTO_SignData done [13:15:50]FM_MakeSignedData done [13:15:50]CreateOFDProtocolMessage [13:15:50]wFMCommunicate request_size=4 [13:15:50]MH_SAM_APDU [13:15:50]CAPDU: 80 11 00 00 [13:15:50]Write to MH i2c: E2 08 00 A1 05 80 11 00 00 00 00 00 00 20 [13:15:50]Write i2c OK [13:15:50]MH_I2C_Read... [13:15:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:15:50]Read from MH i2c: E2 [13:15:50]MH_I2C_Read... [13:15:50]Read from MH i2c: E2 17 00 [13:15:50]MH_I2C_Read... [13:15:50]Read from MH i2c: E2 17 00 A1 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 79 [13:15:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [13:15:50]wFMCommunicate OK [13:15:50]CreateOFDProtocolMessage done [13:15:50]OFDSenderStorePacket 18951 [13:15:50]StoreOFDPacket docnum=18951 [13:15:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 01 00 00 8A E8 1F 01 25 3D 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 06 0D F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 07 4A 00 00 35 04 06 00 C6 9A F7 45 BF D5 F4 7D B1 83 78 C6 38 47 [13:15:50]CheckFolder [13:15:50]dirname=/storage/ofd_packets [13:15:50]CheckFolder done [13:15:50]ProducePacketName [13:15:50]name=ofd_packets/00018951 [13:15:50]NVStorageSaveData ofd_packets/00018951 [13:15:50]File name is /storage/ofd_packets/00018951 [13:15:50]Write 325 bytes [13:15:50]NVStorageSaveData done [13:15:50]OFDSenderStorePacket done [13:15:50]KKMCreateOFDPacket done [13:15:50]NVStorageSaveData kkm_last_timestamp [13:15:50]File name is /storage/kkm_last_timestamp [13:15:50]Write 4 bytes [13:15:50]NVStorageSaveData done [13:15:50]ExternCall_PrintAddStr [13:15:50]wPrintStart [13:15:50]Write to MH i2c: 01 00 00 A2 05 A7 [13:15:50]Write i2c OK [13:15:50]MH_I2C_Read... [13:15:50]Read from MH i2c: 01 [13:15:50]MH_I2C_Read... [13:15:50]Read from MH i2c: 01 07 00 [13:15:50]MH_I2C_Read... [13:15:50]Read from MH i2c: 01 07 00 A2 05 00 00 00 00 00 FF 0F BC [13:15:50]RasterBufferAndPrint [13:15:50]line Счет N : (3)16871 [13:15:50]line ИНН: 02508201610067 [13:15:50]line Контрольно-Кассовый Чек [13:15:50]line ПРОДАЖА [13:15:50]line Товар: 48743587 [13:15:50]line Сигареты Winston XStyle Silver [13:15:50]line 1.000 * 144.00 [13:15:50]line = 144.00 [13:15:50]line НДС 12% НСП 1% [13:15:50]line > о реализуемом товаре [13:15:50]line ИТОГО: 144.00 [13:15:50]line НСП 1% : 1.27 [13:15:50]line НДС 12% : 15.29 [13:15:50]line Наличными: 144.00 [13:15:50]line Безнал.: 0.00 [13:15:50]line Место: АЗС № 176 "Партнер Нефть" [13:15:50]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [13:15:50]line СНО: Общий режим [13:15:50]line Чек 29 25.09.2024 13:15 [13:15:50]line Смена: 183 ФФД: 1.0 [13:15:50]line ЗНМ: 0300000010 [13:15:50]line РНМ: 0000000000152968 [13:15:50]line Версия ККМ: v1.0 [13:15:50]line ФМ: 0000000000959456 [13:15:50]line ФД: 18951 [13:15:50]line ФПД: 218368875806677 [13:15:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T131550&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18951&fm=218368875806677&tin=02508201610067®Number=0000000000152968&sum=14400 [13:15:51]line 0 [13:15:51]OFD Sender: Processing packet 18951 [packets to send 7, broken 6] [13:15:51]ProducePacketName [13:15:51]name=ofd_packets/00018951 [13:15:51]OFD Sender: To server: pG, [13:15:51]CommunicateWithHost lk.salyk.kg:30040 [13:15:51]ConnectInit lk.salyk.kg [13:15:51]written 0, free lines is 4095 [13:15:51]Connected sock=10 [13:15:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 01 00 00 8A E8 1F 01 25 3D 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 06 0D F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 07 4A 00 00 35 04 06 00 C6 9A F7 45 BF D5 F4 7D B1 83 78 C6 38 47 [13:15:51]Write to MH i2c: 01 00 00 CB 05 D0 [13:15:51]Write i2c OK [13:15:51]MH_I2C_Read... [13:15:51]Read from MH i2c: 01 [13:15:51]MH_I2C_Read... [13:15:51]Read from MH i2c: 01 07 00 [13:15:51]MH_I2C_Read... [13:15:51]Read from MH i2c: 01 07 00 CB 05 00 00 00 00 00 FB 0C DE [13:15:51]RasterBufferAndPrint [13:15:51]line [13:15:51]line [13:15:51]line [13:15:51]line [13:15:51]line [13:15:51]written 0, free lines is 3329 [13:15:51]MH_Cut [13:15:51]Write to MH i2c: D1 01 00 D2 05 01 A9 [13:15:51]Write i2c OK [13:15:51]MH_I2C_Read... [13:15:51]Read from MH i2c: D1 [13:15:51]MH_I2C_Read... [13:15:51]Read from MH i2c: D1 01 00 [13:15:51]MH_I2C_Read... [13:15:51]Read from MH i2c: D1 01 00 D2 05 00 A8 [13:15:51]Write to MH i2c: 01 00 00 D3 05 D8 [13:15:51]Write i2c OK [13:15:51]MH_I2C_Read... [13:15:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 13 72 47 00 5D 6C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 07 4A 00 00 F4 03 04 00 63 B6 F3 66 B6 04 01 00 00 F1 D5 42 C1 AF C4 A5 7F [13:15:51]CommunicateWithHost err = 0 [13:15:51]CheckOFDResponse [13:15:51]1017 (14) - 77093643461234 [13:15:51]1041 (16) - 0000000000959456 [13:15:51]1040 (4) - 18951 [13:15:51]1012 (4) - 25.09.2024 07:06 [13:15:51]1206 (1) - 0 [13:15:51]OFD Sender: Remove packet 18951 [13:15:51]ProducePacketName [13:15:51]name=ofd_packets/00018951 [13:15:51]NVStorageDeleteData [13:15:52]OFD Sender: No OFD packet to send [13:15:52]*** Cut start [13:15:52]*** Partial cut [13:15:52]*** CUTSNS_PIN = 1 [13:15:52]*** CUTSNS_PIN = 0 [13:15:52]*** Brake cut motor [13:15:52]Read from MH i2c: 01 [13:15:52]MH_I2C_Read... [13:15:52]*** Stop cut motor [13:15:52]*** Cut end [13:15:52]Read from MH i2c: 01 07 00 [13:15:52]MH_I2C_Read... [13:15:52]Read from MH i2c: 01 07 00 D3 05 00 00 00 00 00 FF 0F ED [13:15:52]process_action close_receipt done [13:15:52]requested_data is exist [13:15:52]produce_requested_data [13:15:52]requested_item fm.sn is exist - process it [13:15:52]wFMCommunicate request_size=4 [13:15:52]MH_SAM_APDU [13:15:52]CAPDU: 80 11 00 00 [13:15:52]Write to MH i2c: E2 08 00 D4 05 80 11 00 00 00 00 00 00 53 [13:15:52]Write i2c OK [13:15:52]MH_I2C_Read... [13:15:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:15:53]Read from MH i2c: E2 [13:15:53]MH_I2C_Read... [13:15:53]Read from MH i2c: E2 17 00 [13:15:53]MH_I2C_Read... [13:15:53]Read from MH i2c: E2 17 00 D4 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 AC [13:15:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [13:15:53]wFMCommunicate OK [13:15:53]requested_item fd.num is exist - process it [13:15:53]SAM_PROTO_GetFieldsCounters [13:15:53]wFMCommunicate request_size=4 [13:15:53]MH_SAM_APDU [13:15:53]CAPDU: 80 13 00 00 [13:15:53]Write to MH i2c: E2 08 00 D5 05 80 13 00 00 00 00 00 00 56 [13:15:53]Write i2c OK [13:15:53]MH_I2C_Read... [13:15:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:15:53]Read from MH i2c: E2 [13:15:53]MH_I2C_Read... [13:15:53]Read from MH i2c: E2 62 00 [13:15:53]MH_I2C_Read... [13:15:53]Read from MH i2c: E2 62 00 D5 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 07 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 E2 [13:15:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 07 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:15:53]wFMCommunicate OK [13:15:53]SAM_PROTO_GetFieldsCounters done [13:15:53]requested_item shift.num is exist - process it [13:15:53]requested_item shift.opened is exist - process it [13:15:53]req_shift_opened [13:15:53]FM_GetShiftState [13:15:53]SAM_PROTO_GetShiftState [13:15:53]wFMCommunicate request_size=4 [13:15:53]MH_SAM_APDU [13:15:53]CAPDU: 80 13 01 00 [13:15:53]Write to MH i2c: E2 08 00 D6 05 80 13 01 00 00 00 00 00 58 [13:15:53]Write i2c OK [13:15:53]MH_I2C_Read... [13:15:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:15:53]Read from MH i2c: E2 [13:15:53]MH_I2C_Read... [13:15:53]Read from MH i2c: E2 0E 00 [13:15:53]MH_I2C_Read... [13:15:53]Read from MH i2c: E2 0E 00 D6 05 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 45 [13:15:53]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [13:15:53]wFMCommunicate OK [13:15:53]SAM_PROTO_GetShiftState done [13:15:53]FM_GetShiftState done [13:15:53]req_shift_opened done [13:15:53]requested_item shift.open_date is exist - process it [13:15:53]req_shift_open_date [13:15:53]req_shift_open_date done [13:15:53]produce_requested_data done [13:15:53]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18951,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [13:15:53]process_action_free close_receipt [13:15:53]json_value_free [13:15:53]json_value_free done [13:15:53]process_json_proto returns [13:15:53]Send response to host [13:15:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18951,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [13:15:53]free response buf [13:15:53]execute_script done [13:15:53]execute_script returns [13:15:53]free content buf [13:15:53]Sock 9.Close socket [13:15:53]Sock 9.Thread stoped [13:15:57]OFD Sender: No OFD packet to send [13:16:02]OFD Sender: No OFD packet to send [13:16:07]OFD Sender: No OFD packet to send [13:16:12]OFD Sender: No OFD packet to send [13:16:17]OFD Sender: No OFD packet to send [13:16:22]OFD Sender: No OFD packet to send [13:16:27]OFD Sender: No OFD packet to send [13:16:32]OFD Sender: No OFD packet to send [13:16:37]OFD Sender: No OFD packet to send [13:16:42]OFD Sender: No OFD packet to send [13:16:47]OFD Sender: No OFD packet to send [13:16:52]OFD Sender: No OFD packet to send [13:16:57]OFD Sender: No OFD packet to send [13:17:02]OFD Sender: No OFD packet to send [13:17:07]OFD Sender: No OFD packet to send [13:17:12]OFD Sender: No OFD packet to send [13:17:17]OFD Sender: No OFD packet to send [13:17:22]OFD Sender: No OFD packet to send [13:17:27]OFD Sender: No OFD packet to send [13:17:32]OFD Sender: No OFD packet to send [13:17:37]OFD Sender: No OFD packet to send [13:17:42]OFD Sender: No OFD packet to send [13:17:47]OFD Sender: No OFD packet to send [13:17:52]OFD Sender: No OFD packet to send [13:17:57]OFD Sender: No OFD packet to send [13:18:02]OFD Sender: No OFD packet to send [13:18:07]OFD Sender: No OFD packet to send [13:18:12]OFD Sender: No OFD packet to send [13:18:17]OFD Sender: No OFD packet to send [13:18:22]OFD Sender: No OFD packet to send [13:18:27]OFD Sender: No OFD packet to send [13:18:32]OFD Sender: No OFD packet to send [13:18:37]OFD Sender: No OFD packet to send [13:18:42]OFD Sender: No OFD packet to send [13:18:47]OFD Sender: No OFD packet to send [13:18:52]OFD Sender: No OFD packet to send [13:18:57]OFD Sender: No OFD packet to send [13:19:02]OFD Sender: No OFD packet to send [13:19:07]OFD Sender: No OFD packet to send [13:19:12]OFD Sender: No OFD packet to send [13:19:17]OFD Sender: No OFD packet to send [13:19:22]OFD Sender: No OFD packet to send [13:19:27]OFD Sender: No OFD packet to send [13:19:32]OFD Sender: No OFD packet to send [13:19:37]OFD Sender: No OFD packet to send [13:19:42]OFD Sender: No OFD packet to send [13:19:47]OFD Sender: No OFD packet to send [13:19:52]OFD Sender: No OFD packet to send [13:19:57]OFD Sender: No OFD packet to send [13:20:02]OFD Sender: No OFD packet to send [13:20:07]OFD Sender: No OFD packet to send [13:20:12]OFD Sender: No OFD packet to send [13:20:17]OFD Sender: No OFD packet to send [13:20:22]OFD Sender: No OFD packet to send [13:20:27]OFD Sender: No OFD packet to send [13:20:32]OFD Sender: No OFD packet to send [13:20:37]OFD Sender: No OFD packet to send [13:20:42]OFD Sender: No OFD packet to send [13:20:47]OFD Sender: No OFD packet to send [13:20:52]OFD Sender: No OFD packet to send [13:20:57]OFD Sender: No OFD packet to send [13:21:02]OFD Sender: No OFD packet to send [13:21:07]OFD Sender: No OFD packet to send [13:21:12]OFD Sender: No OFD packet to send [13:21:17]OFD Sender: No OFD packet to send [13:21:22]OFD Sender: No OFD packet to send [13:21:27]OFD Sender: No OFD packet to send [13:21:32]OFD Sender: No OFD packet to send [13:21:37]OFD Sender: No OFD packet to send [13:21:42]OFD Sender: No OFD packet to send [13:21:47]OFD Sender: No OFD packet to send [13:21:52]OFD Sender: No OFD packet to send [13:21:57]OFD Sender: No OFD packet to send [13:22:02]OFD Sender: No OFD packet to send [13:22:07]OFD Sender: No OFD packet to send [13:22:12]OFD Sender: No OFD packet to send [13:22:17]OFD Sender: No OFD packet to send [13:22:22]OFD Sender: No OFD packet to send [13:22:27]OFD Sender: No OFD packet to send [13:22:32]OFD Sender: No OFD packet to send [13:22:37]OFD Sender: No OFD packet to send [13:22:42]OFD Sender: No OFD packet to send [13:22:46]accept exits with 8 [13:22:46]New connection [13:22:46]New thread 3066621284 created [13:22:46]Thread 3066764644 joined [13:22:46]Waiting for new connection... [13:22:46] Sock 8.Parse request [13:22:46]Sock 8.Check first char [13:22:46]Sock 8.First char is OK [13:22:46]request: POST /json_proto HTTP/1.0 [13:22:46]Method: POST [13:22:46]URL: /json_proto [13:22:46]Method is POST - this is cgi request [13:22:46]url: /json_proto [13:22:46]query_string will be loaded in cgi processing [13:22:46]execute_cgi json_proto POST (null) [13:22:46]execute_cgi path=json_proto method=POST [13:22:46]POST find Content-Length [13:22:46]Host: 172.17.62.196:8080 [13:22:46]Content-Length: 792 [13:22:46]Content-Type: application/json [13:22:46] [13:22:46]POST finish read [13:22:46]Found Content-Length = 792 [13:22:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16872", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:22:46]execute_script... [13:22:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16872", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:22:46]POST & json_proto [13:22:46]process_json_proto [13:22:46]json parsed OK: [13:22:46]protocol is kg_v1.0 [13:22:46]action value=close_receipt [13:22:46]process_action close_receipt [13:22:46]cmd_close_receipt [13:22:46]MH_GetDate [13:22:46]Write to MH i2c: F0 00 00 D7 05 CB [13:22:46]Write i2c OK [13:22:46]MH_I2C_Read... [13:22:46]Read from MH i2c: F0 [13:22:46]MH_I2C_Read... [13:22:46]Read from MH i2c: F0 09 00 [13:22:46]MH_I2C_Read... [13:22:46]Read from MH i2c: F0 09 00 D7 05 00 A7 0E F4 66 CE CC 0E 66 F1 [13:22:46]GetLastDocTimeStamp 1727270150 [13:22:46]current date 1727270567 [13:22:46]FM_GetShiftState [13:22:46]SAM_PROTO_GetShiftState [13:22:46]wFMCommunicate request_size=4 [13:22:46]MH_SAM_APDU [13:22:46]CAPDU: 80 13 01 00 [13:22:46]Write to MH i2c: E2 08 00 D8 05 80 13 01 00 00 00 00 00 5A [13:22:46]Write i2c OK [13:22:46]MH_I2C_Read... [13:22:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:22:46]Read from MH i2c: E2 [13:22:46]MH_I2C_Read... [13:22:46]Read from MH i2c: E2 0E 00 [13:22:46]MH_I2C_Read... [13:22:46]Read from MH i2c: E2 0E 00 D8 05 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 47 [13:22:46]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [13:22:46]wFMCommunicate OK [13:22:46]SAM_PROTO_GetShiftState done [13:22:46]FM_GetShiftState done [13:22:46]opened in 1727223091 [13:22:46]opened+sec_in_day 1727309491 [13:22:46]quantity*price = 10000 [13:22:46]sum+1 = 10001 [13:22:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 0.00 Безнал.: 100.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 30 25.09.2024 13:22 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18952 ФПД: 191919795459220 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T132248&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18952&fm=191919795459220&tin=02508201610067®Number=0000000000152968&sum=10000 0 [13:22:47]StoreToDocumentArchive [13:22:47]shift 183 fd 18952 [13:22:47]save to /storage/0183/doc_00018952 [13:22:47]save last doc name /storage/0183/doc_00018952 to /storage/kkm_last_doc_name [13:22:47]save OK [13:22:47]Clear old archive folders... [13:22:47]ProcessDocumentItem done err = 0, tmpTLVsize=269 [13:22:47]tlvbuf is 015EDFE0 [13:22:47]SAM_PROTO_ClearQueue [13:22:47]wFMCommunicate request_size=4 [13:22:47]MH_SAM_APDU [13:22:47]CAPDU: 80 09 00 00 [13:22:47]Write to MH i2c: E2 08 00 E5 05 80 09 00 00 00 00 00 00 5C [13:22:47]Write i2c OK [13:22:47]MH_I2C_Read... [13:22:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:22:47]Read from MH i2c: E2 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 03 00 [13:22:47]MH_I2C_Read... [13:22:47]Read from MH i2c: E2 03 00 E5 05 00 90 00 5E [13:22:47]RAPDU: 90 00 [13:22:47]wFMCommunicate OK [13:22:47]SAM_PROTO_ClearQueue done [13:22:47]KKMCreateOFDPacket [13:22:47]OFDProtocolAddRootSTLVToBuf [13:22:47]FM_MakeSignedData [13:22:47]FM_MakeSignedData [13:22:47]SAM_PROTO_SignData [13:22:47]wFMCommunicate request_size=4 [13:22:47]MH_SAM_APDU [13:22:47]CAPDU: 80 0D 01 02 [13:22:47]Write to MH i2c: E2 08 00 E6 05 80 0D 01 02 00 00 00 00 64 [13:22:47]Write i2c OK [13:22:47]MH_I2C_Read... [13:22:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:22:48]Read from MH i2c: E2 [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: E2 03 00 [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: E2 03 00 E6 05 00 90 00 5F [13:22:48]RAPDU: 90 00 [13:22:48]wFMCommunicate OK [13:22:48]wFMCommunicate request_size=255 [13:22:48]MH_SAM_APDU [13:22:48]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 27 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 A8 0E F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [13:22:48]Write to MH i2c: E2 02 01 E7 05 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 27 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 A8 0E F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 68 [13:22:48]Write i2c OK [13:22:48]MH_I2C_Read... [13:22:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:22:48]Read from MH i2c: E2 [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: E2 03 00 [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: E2 03 00 E7 05 00 90 00 60 [13:22:48]RAPDU: 90 00 [13:22:48]wFMCommunicate OK [13:22:48]wFMCommunicate request_size=28 [13:22:48]MH_SAM_APDU [13:22:48]CAPDU: 80 0D 02 02 17 35 39 34 35 36 10 04 04 00 08 4A 00 00 35 04 06 00 AE 8C CF 3B D4 94 [13:22:48]Write to MH i2c: E2 1F 00 E8 05 80 0D 02 02 17 00 35 39 34 35 36 10 04 04 00 08 4A 00 00 35 04 06 00 AE 8C CF 3B D4 94 00 00 F7 [13:22:48]Write i2c OK [13:22:48]MH_I2C_Read... [13:22:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:22:48]Read from MH i2c: E2 [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: E2 03 00 [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: E2 03 00 E8 05 00 90 00 61 [13:22:48]RAPDU: 90 00 [13:22:48]wFMCommunicate OK [13:22:48]wFMCommunicate request_size=4 [13:22:48]MH_SAM_APDU [13:22:48]CAPDU: 80 0D 03 02 [13:22:48]Write to MH i2c: E2 08 00 E9 05 80 0D 03 02 00 00 00 00 69 [13:22:48]Write i2c OK [13:22:48]MH_I2C_Read... [13:22:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:22:48]Read from MH i2c: E2 [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: E2 0B 00 [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: E2 0B 00 E9 05 00 4A 0F D1 01 3B D5 11 97 90 00 4D [13:22:48]RAPDU: 4A 0F D1 01 3B D5 11 97 90 00 [13:22:48]wFMCommunicate OK [13:22:48]SAM_PROTO_SignData done [13:22:48]FM_MakeSignedData done [13:22:48]CreateOFDProtocolMessage [13:22:48]wFMCommunicate request_size=4 [13:22:48]MH_SAM_APDU [13:22:48]CAPDU: 80 11 00 00 [13:22:48]Write to MH i2c: E2 08 00 EA 05 80 11 00 00 00 00 00 00 69 [13:22:48]Write i2c OK [13:22:48]MH_I2C_Read... [13:22:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:22:48]Read from MH i2c: E2 [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: E2 17 00 [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: E2 17 00 EA 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 C2 [13:22:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [13:22:48]wFMCommunicate OK [13:22:48]CreateOFDProtocolMessage done [13:22:48]OFDSenderStorePacket 18952 [13:22:48]StoreOFDPacket docnum=18952 [13:22:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 21 01 00 00 CB 12 19 01 D1 A6 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 27 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 A8 0E F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 08 4A 00 00 35 04 06 00 AE 8C CF 3B D4 94 4A 0F D1 01 3B D5 11 97 [13:22:48]CheckFolder [13:22:48]dirname=/storage/ofd_packets [13:22:48]CheckFolder done [13:22:48]ProducePacketName [13:22:48]name=ofd_packets/00018952 [13:22:48]NVStorageSaveData ofd_packets/00018952 [13:22:48]File name is /storage/ofd_packets/00018952 [13:22:48]Write 319 bytes [13:22:48]NVStorageSaveData done [13:22:48]OFDSenderStorePacket done [13:22:48]KKMCreateOFDPacket done [13:22:48]NVStorageSaveData kkm_last_timestamp [13:22:48]File name is /storage/kkm_last_timestamp [13:22:48]Write 4 bytes [13:22:48]NVStorageSaveData done [13:22:48]ExternCall_PrintAddStr [13:22:48]wPrintStart [13:22:48]Write to MH i2c: 01 00 00 EB 05 F0 [13:22:48]Write i2c OK [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: 01 [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: 01 07 00 [13:22:48]MH_I2C_Read... [13:22:48]Read from MH i2c: 01 07 00 EB 05 00 00 00 00 00 FF 0F 05 [13:22:48]RasterBufferAndPrint [13:22:48]line Счет N : (3)16872 [13:22:48]line ИНН: 02508201610067 [13:22:48]line Контрольно-Кассовый Чек [13:22:48]line ПРОДАЖА [13:22:48]line Товар: 4700000160358 [13:22:48]line Вода Легенда 1л [13:22:48]line 2.000 * 50.00 [13:22:48]line = 100.00 [13:22:48]line НДС 12% НСП 1% [13:22:48]line > о реализуемом товаре [13:22:48]line ИТОГО: 100.00 [13:22:48]line НСП 1% : 0.88 [13:22:48]line НДС 12% : 10.62 [13:22:48]line Наличными: 0.00 [13:22:48]line Безнал.: 100.00 [13:22:48]line Место: АЗС № 176 "Партнер Нефть" [13:22:48]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [13:22:48]line СНО: Общий режим [13:22:48]line Чек 30 25.09.2024 13:22 [13:22:48]line Смена: 183 ФФД: 1.0 [13:22:48]line ЗНМ: 0300000010 [13:22:48]line РНМ: 0000000000152968 [13:22:48]line Версия ККМ: v1.0 [13:22:48]line Платежная система: O! деньги [13:22:48]line ФМ: 0000000000959456 [13:22:48]line ФД: 18952 [13:22:48]line ФПД: 191919795459220 [13:22:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T132248&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18952&fm=191919795459220&tin=02508201610067®Number=0000000000152968&sum=10000 [13:22:48]line 0 [13:22:48]OFD Sender: Processing packet 18952 [packets to send 7, broken 6] [13:22:48]ProducePacketName [13:22:48]name=ofd_packets/00018952 [13:22:48]OFD Sender: To server: pG, [13:22:48]CommunicateWithHost lk.salyk.kg:30040 [13:22:48]ConnectInit lk.salyk.kg [13:22:48]written 0, free lines is 4095 [13:22:48]Connected sock=10 [13:22:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 21 01 00 00 CB 12 19 01 D1 A6 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 27 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 A8 0E F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 08 4A 00 00 35 04 06 00 AE 8C CF 3B D4 94 4A 0F D1 01 3B D5 11 97 [13:22:49]Write to MH i2c: 01 00 00 15 06 1B [13:22:49]Write i2c OK [13:22:49]MH_I2C_Read... [13:22:49]Read from MH i2c: 01 [13:22:49]MH_I2C_Read... [13:22:49]Read from MH i2c: 01 07 00 [13:22:49]MH_I2C_Read... [13:22:49]Read from MH i2c: 01 07 00 15 06 00 00 00 00 00 00 0D 2F [13:22:49]RasterBufferAndPrint [13:22:49]line [13:22:49]line [13:22:49]line [13:22:49]line [13:22:49]line [13:22:49]written 0, free lines is 3334 [13:22:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 88 B6 47 00 80 E9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 08 4A 00 00 F4 03 04 00 05 B8 F3 66 B6 04 01 00 00 3B 55 5C 35 19 E2 60 75 [13:22:49]CommunicateWithHost err = 0 [13:22:49]CheckOFDResponse [13:22:49]1017 (14) - 77093643461234 [13:22:49]1041 (16) - 0000000000959456 [13:22:49]1040 (4) - 18952 [13:22:49]1012 (4) - 25.09.2024 07:13 [13:22:49]1206 (1) - 0 [13:22:49]OFD Sender: Remove packet 18952 [13:22:49]ProducePacketName [13:22:49]name=ofd_packets/00018952 [13:22:49]NVStorageDeleteData [13:22:49]MH_Cut [13:22:49]Write to MH i2c: D1 01 00 1C 06 01 F4 [13:22:49]Write i2c OK [13:22:49]MH_I2C_Read... [13:22:49]Read from MH i2c: D1 [13:22:49]MH_I2C_Read... [13:22:49]Read from MH i2c: D1 01 00 [13:22:49]MH_I2C_Read... [13:22:49]Read from MH i2c: D1 01 00 1C 06 00 F3 [13:22:49]Write to MH i2c: 01 00 00 1D 06 23 [13:22:49]Write i2c OK [13:22:49]MH_I2C_Read... [13:22:49]OFD Sender: No OFD packet to send [13:22:49]*** Cut start [13:22:49]*** Partial cut [13:22:49]*** CUTSNS_PIN = 1 [13:22:49]*** CUTSNS_PIN = 0 [13:22:50]*** Brake cut motor [13:22:50]Read from MH i2c: 01 [13:22:50]MH_I2C_Read... [13:22:50]*** Stop cut motor [13:22:50]*** Cut end [13:22:50]Read from MH i2c: 01 07 00 [13:22:50]MH_I2C_Read... [13:22:50]Read from MH i2c: 01 07 00 1D 06 00 00 00 00 00 FF 0F 38 [13:22:50]process_action close_receipt done [13:22:50]requested_data is exist [13:22:50]produce_requested_data [13:22:50]requested_item fm.sn is exist - process it [13:22:50]wFMCommunicate request_size=4 [13:22:50]MH_SAM_APDU [13:22:50]CAPDU: 80 11 00 00 [13:22:50]Write to MH i2c: E2 08 00 1E 06 80 11 00 00 00 00 00 00 9E [13:22:50]Write i2c OK [13:22:50]MH_I2C_Read... [13:22:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:22:50]Read from MH i2c: E2 [13:22:50]MH_I2C_Read... [13:22:50]Read from MH i2c: E2 17 00 [13:22:50]MH_I2C_Read... [13:22:50]Read from MH i2c: E2 17 00 1E 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 F7 [13:22:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [13:22:50]wFMCommunicate OK [13:22:50]requested_item fd.num is exist - process it [13:22:50]SAM_PROTO_GetFieldsCounters [13:22:50]wFMCommunicate request_size=4 [13:22:50]MH_SAM_APDU [13:22:50]CAPDU: 80 13 00 00 [13:22:50]Write to MH i2c: E2 08 00 1F 06 80 13 00 00 00 00 00 00 A1 [13:22:50]Write i2c OK [13:22:50]MH_I2C_Read... [13:22:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:22:50]Read from MH i2c: E2 [13:22:50]MH_I2C_Read... [13:22:50]Read from MH i2c: E2 62 00 [13:22:50]MH_I2C_Read... [13:22:50]Read from MH i2c: E2 62 00 1F 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 08 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 31 [13:22:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 08 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:22:50]wFMCommunicate OK [13:22:50]SAM_PROTO_GetFieldsCounters done [13:22:50]requested_item shift.num is exist - process it [13:22:50]requested_item shift.opened is exist - process it [13:22:50]req_shift_opened [13:22:50]FM_GetShiftState [13:22:50]SAM_PROTO_GetShiftState [13:22:50]wFMCommunicate request_size=4 [13:22:50]MH_SAM_APDU [13:22:50]CAPDU: 80 13 01 00 [13:22:50]Write to MH i2c: E2 08 00 20 06 80 13 01 00 00 00 00 00 A3 [13:22:50]Write i2c OK [13:22:50]MH_I2C_Read... [13:22:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:22:50]Read from MH i2c: E2 [13:22:50]MH_I2C_Read... [13:22:50]Read from MH i2c: E2 0E 00 [13:22:50]MH_I2C_Read... [13:22:50]Read from MH i2c: E2 0E 00 20 06 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 90 [13:22:50]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [13:22:50]wFMCommunicate OK [13:22:50]SAM_PROTO_GetShiftState done [13:22:50]FM_GetShiftState done [13:22:50]req_shift_opened done [13:22:50]requested_item shift.open_date is exist - process it [13:22:50]req_shift_open_date [13:22:50]req_shift_open_date done [13:22:50]produce_requested_data done [13:22:50]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18952,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [13:22:50]process_action_free close_receipt [13:22:50]json_value_free [13:22:50]json_value_free done [13:22:50]process_json_proto returns [13:22:50]Send response to host [13:22:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18952,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [13:22:50]free response buf [13:22:50]execute_script done [13:22:50]execute_script returns [13:22:50]free content buf [13:22:50]Sock 8.Close socket [13:22:50]Sock 8.Thread stoped [13:22:54]OFD Sender: No OFD packet to send [13:22:59]OFD Sender: No OFD packet to send [13:23:04]OFD Sender: No OFD packet to send [13:23:09]OFD Sender: No OFD packet to send [13:23:14]OFD Sender: No OFD packet to send [13:23:19]OFD Sender: No OFD packet to send [13:23:24]OFD Sender: No OFD packet to send [13:23:29]OFD Sender: No OFD packet to send [13:23:34]OFD Sender: No OFD packet to send [13:23:39]OFD Sender: No OFD packet to send [13:23:44]OFD Sender: No OFD packet to send [13:23:49]OFD Sender: No OFD packet to send [13:23:54]OFD Sender: No OFD packet to send [13:23:59]OFD Sender: No OFD packet to send [13:24:04]OFD Sender: No OFD packet to send [13:24:09]OFD Sender: No OFD packet to send [13:24:14]OFD Sender: No OFD packet to send [13:24:19]OFD Sender: No OFD packet to send [13:24:24]OFD Sender: No OFD packet to send [13:24:29]OFD Sender: No OFD packet to send [13:24:34]OFD Sender: No OFD packet to send [13:24:39]OFD Sender: No OFD packet to send [13:24:44]OFD Sender: No OFD packet to send [13:24:49]OFD Sender: No OFD packet to send [13:24:54]OFD Sender: No OFD packet to send [13:24:59]OFD Sender: No OFD packet to send [13:25:04]OFD Sender: No OFD packet to send [13:25:09]OFD Sender: No OFD packet to send [13:25:14]OFD Sender: No OFD packet to send [13:25:19]OFD Sender: No OFD packet to send [13:25:24]OFD Sender: No OFD packet to send [13:25:29]OFD Sender: No OFD packet to send [13:25:34]OFD Sender: No OFD packet to send [13:25:39]OFD Sender: No OFD packet to send [13:25:44]OFD Sender: No OFD packet to send [13:25:49]OFD Sender: No OFD packet to send [13:25:54]OFD Sender: No OFD packet to send [13:25:59]OFD Sender: No OFD packet to send [13:26:04]OFD Sender: No OFD packet to send [13:26:09]OFD Sender: No OFD packet to send [13:26:14]OFD Sender: No OFD packet to send [13:26:19]OFD Sender: No OFD packet to send [13:26:24]OFD Sender: No OFD packet to send [13:26:29]OFD Sender: No OFD packet to send [13:26:34]OFD Sender: No OFD packet to send [13:26:39]OFD Sender: No OFD packet to send [13:26:44]OFD Sender: No OFD packet to send [13:26:49]OFD Sender: No OFD packet to send [13:26:54]OFD Sender: No OFD packet to send [13:26:59]OFD Sender: No OFD packet to send [13:27:04]OFD Sender: No OFD packet to send [13:27:09]OFD Sender: No OFD packet to send [13:27:14]OFD Sender: No OFD packet to send [13:27:19]OFD Sender: No OFD packet to send [13:27:24]OFD Sender: No OFD packet to send [13:27:29]OFD Sender: No OFD packet to send [13:27:34]OFD Sender: No OFD packet to send [13:27:39]OFD Sender: No OFD packet to send [13:27:45]OFD Sender: No OFD packet to send [13:27:50]OFD Sender: No OFD packet to send [13:27:55]OFD Sender: No OFD packet to send [13:28:00]OFD Sender: No OFD packet to send [13:28:05]OFD Sender: No OFD packet to send [13:28:10]OFD Sender: No OFD packet to send [13:28:15]OFD Sender: No OFD packet to send [13:28:20]OFD Sender: No OFD packet to send [13:28:25]OFD Sender: No OFD packet to send [13:28:30]OFD Sender: No OFD packet to send [13:28:35]OFD Sender: No OFD packet to send [13:28:40]OFD Sender: No OFD packet to send [13:28:45]OFD Sender: No OFD packet to send [13:28:50]OFD Sender: No OFD packet to send [13:28:55]OFD Sender: No OFD packet to send [13:29:00]OFD Sender: No OFD packet to send [13:29:05]OFD Sender: No OFD packet to send [13:29:10]OFD Sender: No OFD packet to send [13:29:15]OFD Sender: No OFD packet to send [13:29:20]OFD Sender: No OFD packet to send [13:29:25]OFD Sender: No OFD packet to send [13:29:30]OFD Sender: No OFD packet to send [13:29:35]OFD Sender: No OFD packet to send [13:29:40]OFD Sender: No OFD packet to send [13:29:45]OFD Sender: No OFD packet to send [13:29:50]OFD Sender: No OFD packet to send [13:29:55]OFD Sender: No OFD packet to send [13:30:00]OFD Sender: No OFD packet to send [13:30:05]OFD Sender: No OFD packet to send [13:30:10]OFD Sender: No OFD packet to send [13:30:15]OFD Sender: No OFD packet to send [13:30:20]OFD Sender: No OFD packet to send [13:30:25]OFD Sender: No OFD packet to send [13:30:30]OFD Sender: No OFD packet to send [13:30:35]OFD Sender: No OFD packet to send [13:30:40]OFD Sender: No OFD packet to send [13:30:45]OFD Sender: No OFD packet to send [13:30:50]OFD Sender: No OFD packet to send [13:30:55]OFD Sender: No OFD packet to send [13:31:00]OFD Sender: No OFD packet to send [13:31:05]OFD Sender: No OFD packet to send [13:31:10]OFD Sender: No OFD packet to send [13:31:15]OFD Sender: No OFD packet to send [13:31:20]OFD Sender: No OFD packet to send [13:31:25]OFD Sender: No OFD packet to send [13:31:30]OFD Sender: No OFD packet to send [13:31:35]OFD Sender: No OFD packet to send [13:31:40]OFD Sender: No OFD packet to send [13:31:45]OFD Sender: No OFD packet to send [13:31:50]OFD Sender: No OFD packet to send [13:31:55]OFD Sender: No OFD packet to send [13:32:00]OFD Sender: No OFD packet to send [13:32:05]OFD Sender: No OFD packet to send [13:32:10]OFD Sender: No OFD packet to send [13:32:12]accept exits with 9 [13:32:12]New connection [13:32:12]New thread 3066764644 created [13:32:12]Thread 3066621284 joined [13:32:12]Waiting for new connection... [13:32:12] Sock 9.Parse request [13:32:12]Sock 9.Check first char [13:32:12]Sock 9.First char is OK [13:32:12]request: POST /json_proto HTTP/1.0 [13:32:12]Method: POST [13:32:12]URL: /json_proto [13:32:12]Method is POST - this is cgi request [13:32:12]url: /json_proto [13:32:12]query_string will be loaded in cgi processing [13:32:12]execute_cgi json_proto POST (null) [13:32:12]execute_cgi path=json_proto method=POST [13:32:12]POST find Content-Length [13:32:12]Host: 172.17.62.196:8080 [13:32:12]Content-Length: 590 [13:32:12]Content-Type: application/json [13:32:12] [13:32:12]POST finish read [13:32:12]Found Content-Length = 590 [13:32:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16873", "tax_sys" : 0, "items" : [ { "code": "46141538", "name": "\u0420/\u0436 Orbit Bubblemint 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:32:12]execute_script... [13:32:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16873", "tax_sys" : 0, "items" : [ { "code": "46141538", "name": "\u0420/\u0436 Orbit Bubblemint 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:32:12]POST & json_proto [13:32:12]process_json_proto [13:32:12]json parsed OK: [13:32:12]protocol is kg_v1.0 [13:32:12]action value=close_receipt [13:32:12]process_action close_receipt [13:32:12]cmd_close_receipt [13:32:12]MH_GetDate [13:32:12]Write to MH i2c: F0 00 00 21 06 16 [13:32:12]Write i2c OK [13:32:12]MH_I2C_Read... [13:32:12]Read from MH i2c: F0 [13:32:12]MH_I2C_Read... [13:32:12]Read from MH i2c: F0 09 00 [13:32:12]MH_I2C_Read... [13:32:12]Read from MH i2c: F0 09 00 21 06 00 DE 10 F4 66 CE CC 0E 66 75 [13:32:12]GetLastDocTimeStamp 1727270568 [13:32:12]current date 1727271134 [13:32:12]FM_GetShiftState [13:32:12]SAM_PROTO_GetShiftState [13:32:12]wFMCommunicate request_size=4 [13:32:12]MH_SAM_APDU [13:32:12]CAPDU: 80 13 01 00 [13:32:12]Write to MH i2c: E2 08 00 22 06 80 13 01 00 00 00 00 00 A5 [13:32:12]Write i2c OK [13:32:12]MH_I2C_Read... [13:32:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:32:12]Read from MH i2c: E2 [13:32:12]MH_I2C_Read... [13:32:12]Read from MH i2c: E2 0E 00 [13:32:12]MH_I2C_Read... [13:32:12]Read from MH i2c: E2 0E 00 22 06 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 92 [13:32:12]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [13:32:12]wFMCommunicate OK [13:32:12]SAM_PROTO_GetShiftState done [13:32:12]FM_GetShiftState done [13:32:12]opened in 1727223091 [13:32:12]opened+sec_in_day 1727309491 [13:32:12]quantity*price = 4500 [13:32:12]sum+1 = 4501 [13:32:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 31 25.09.2024 13:32 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18953 ФПД: 198920120245019 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T133214&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18953&fm=198920120245019&tin=02508201610067®Number=0000000000152968&sum=4500 0 [13:32:13]StoreToDocumentArchive [13:32:13]shift 183 fd 18953 [13:32:13]save to /storage/0183/doc_00018953 [13:32:13]save last doc name /storage/0183/doc_00018953 to /storage/kkm_last_doc_name [13:32:13]save OK [13:32:13]Clear old archive folders... [13:32:13]ProcessDocumentItem done err = 0, tmpTLVsize=266 [13:32:13]tlvbuf is 01603FC0 [13:32:13]SAM_PROTO_ClearQueue [13:32:13]wFMCommunicate request_size=4 [13:32:13]MH_SAM_APDU [13:32:13]CAPDU: 80 09 00 00 [13:32:13]Write to MH i2c: E2 08 00 2F 06 80 09 00 00 00 00 00 00 A7 [13:32:13]Write i2c OK [13:32:13]MH_I2C_Read... [13:32:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:32:13]Read from MH i2c: E2 [13:32:13]MH_I2C_Read... [13:32:13]Read from MH i2c: E2 03 00 [13:32:13]MH_I2C_Read... [13:32:13]Read from MH i2c: E2 03 00 2F 06 00 90 00 A9 [13:32:13]RAPDU: 90 00 [13:32:13]wFMCommunicate OK [13:32:13]SAM_PROTO_ClearQueue done [13:32:13]KKMCreateOFDPacket [13:32:13]OFDProtocolAddRootSTLVToBuf [13:32:13]FM_MakeSignedData [13:32:13]FM_MakeSignedData [13:32:13]SAM_PROTO_SignData [13:32:13]wFMCommunicate request_size=4 [13:32:13]MH_SAM_APDU [13:32:13]CAPDU: 80 0D 01 02 [13:32:13]Write to MH i2c: E2 08 00 30 06 80 0D 01 02 00 00 00 00 AF [13:32:13]Write i2c OK [13:32:13]MH_I2C_Read... [13:32:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:32:13]Read from MH i2c: E2 [13:32:13]MH_I2C_Read... [13:32:13]Read from MH i2c: E2 03 00 [13:32:13]MH_I2C_Read... [13:32:13]Read from MH i2c: E2 03 00 30 06 00 90 00 AA [13:32:13]RAPDU: 90 00 [13:32:13]wFMCommunicate OK [13:32:13]wFMCommunicate request_size=255 [13:32:13]MH_SAM_APDU [13:32:13]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 DE 10 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 [13:32:13]Write to MH i2c: E2 02 01 31 06 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 DE 10 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 00 00 D9 [13:32:14]Write i2c OK [13:32:14]MH_I2C_Read... [13:32:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:32:14]Read from MH i2c: E2 [13:32:14]MH_I2C_Read... [13:32:14]Read from MH i2c: E2 03 00 [13:32:14]MH_I2C_Read... [13:32:14]Read from MH i2c: E2 03 00 31 06 00 90 00 AB [13:32:14]RAPDU: 90 00 [13:32:14]wFMCommunicate OK [13:32:14]wFMCommunicate request_size=25 [13:32:14]MH_SAM_APDU [13:32:14]CAPDU: 80 0D 02 02 14 35 36 10 04 04 00 09 4A 00 00 35 04 06 00 B4 EA B3 1B 1B 1B [13:32:14]Write to MH i2c: E2 1C 00 32 06 80 0D 02 02 14 00 35 36 10 04 04 00 09 4A 00 00 35 04 06 00 B4 EA B3 1B 1B 1B 00 00 91 [13:32:14]Write i2c OK [13:32:14]MH_I2C_Read... [13:32:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:32:14]Read from MH i2c: E2 [13:32:14]MH_I2C_Read... [13:32:14]Read from MH i2c: E2 03 00 [13:32:14]MH_I2C_Read... [13:32:14]Read from MH i2c: E2 03 00 32 06 00 90 00 AC [13:32:14]RAPDU: 90 00 [13:32:14]wFMCommunicate OK [13:32:14]wFMCommunicate request_size=4 [13:32:14]MH_SAM_APDU [13:32:14]CAPDU: 80 0D 03 02 [13:32:14]Write to MH i2c: E2 08 00 33 06 80 0D 03 02 00 00 00 00 B4 [13:32:14]Write i2c OK [13:32:14]MH_I2C_Read... [13:32:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:32:14]Read from MH i2c: E2 [13:32:14]MH_I2C_Read... [13:32:14]Read from MH i2c: E2 0B 00 [13:32:14]MH_I2C_Read... [13:32:14]Read from MH i2c: E2 0B 00 33 06 00 D6 B4 69 25 60 38 C9 87 90 00 B5 [13:32:14]RAPDU: D6 B4 69 25 60 38 C9 87 90 00 [13:32:14]wFMCommunicate OK [13:32:14]SAM_PROTO_SignData done [13:32:14]FM_MakeSignedData done [13:32:14]CreateOFDProtocolMessage [13:32:14]wFMCommunicate request_size=4 [13:32:14]MH_SAM_APDU [13:32:14]CAPDU: 80 11 00 00 [13:32:14]Write to MH i2c: E2 08 00 34 06 80 11 00 00 00 00 00 00 B4 [13:32:14]Write i2c OK [13:32:14]MH_I2C_Read... [13:32:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:32:14]Read from MH i2c: E2 [13:32:14]MH_I2C_Read... [13:32:14]Read from MH i2c: E2 17 00 [13:32:14]MH_I2C_Read... [13:32:14]Read from MH i2c: E2 17 00 34 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 0D [13:32:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [13:32:14]wFMCommunicate OK [13:32:14]CreateOFDProtocolMessage done [13:32:14]OFDSenderStorePacket 18953 [13:32:14]StoreOFDPacket docnum=18953 [13:32:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 1E 01 00 00 6C 4C 16 01 FD 3F 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 DE 10 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 09 4A 00 00 35 04 06 00 B4 EA B3 1B 1B 1B D6 B4 69 25 60 38 C9 87 [13:32:14]CheckFolder [13:32:14]dirname=/storage/ofd_packets [13:32:14]CheckFolder done [13:32:14]ProducePacketName [13:32:14]name=ofd_packets/00018953 [13:32:14]NVStorageSaveData ofd_packets/00018953 [13:32:14]File name is /storage/ofd_packets/00018953 [13:32:14]Write 316 bytes [13:32:14]NVStorageSaveData done [13:32:14]OFDSenderStorePacket done [13:32:14]KKMCreateOFDPacket done [13:32:14]NVStorageSaveData kkm_last_timestamp [13:32:14]File name is /storage/kkm_last_timestamp [13:32:14]Write 4 bytes [13:32:14]NVStorageSaveData done [13:32:14]ExternCall_PrintAddStr [13:32:14]wPrintStart [13:32:14]Write to MH i2c: 01 00 00 35 06 3B [13:32:14]Write i2c OK [13:32:14]MH_I2C_Read... [13:32:14]Read from MH i2c: 01 [13:32:14]MH_I2C_Read... [13:32:14]Read from MH i2c: 01 07 00 [13:32:14]MH_I2C_Read... [13:32:14]Read from MH i2c: 01 07 00 35 06 00 00 00 00 00 FF 0F 50 [13:32:14]RasterBufferAndPrint [13:32:14]line Счет N : (3)16873 [13:32:14]line ИНН: 02508201610067 [13:32:14]line Контрольно-Кассовый Чек [13:32:14]line ПРОДАЖА [13:32:14]line Товар: 46141538 [13:32:14]line Р/ж Orbit Bubblemint 13,6г [13:32:14]line 1.000 * 45.00 [13:32:14]line = 45.00 [13:32:14]line НДС 12% НСП 1% [13:32:14]line > о реализуемом товаре [13:32:14]line ИТОГО: 45.00 [13:32:14]line НСП 1% : 0.40 [13:32:14]line НДС 12% : 4.78 [13:32:14]line Наличными: 45.00 [13:32:14]line Безнал.: 0.00 [13:32:14]line Место: АЗС № 176 "Партнер Нефть" [13:32:14]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [13:32:14]line СНО: Общий режим [13:32:14]line Чек 31 25.09.2024 13:32 [13:32:14]line Смена: 183 ФФД: 1.0 [13:32:14]line ЗНМ: 0300000010 [13:32:14]line РНМ: 0000000000152968 [13:32:14]line Версия ККМ: v1.0 [13:32:14]line ФМ: 0000000000959456 [13:32:14]line ФД: 18953 [13:32:14]line ФПД: 198920120245019 [13:32:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T133214&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18953&fm=198920120245019&tin=02508201610067®Number=0000000000152968&sum=4500 [13:32:14]line 0 [13:32:14]OFD Sender: Processing packet 18953 [packets to send 7, broken 6] [13:32:14]ProducePacketName [13:32:14]name=ofd_packets/00018953 [13:32:14]OFD Sender: To server: pG, [13:32:14]CommunicateWithHost lk.salyk.kg:30040 [13:32:14]ConnectInit lk.salyk.kg [13:32:14]written 0, free lines is 4095 [13:32:14]Connected sock=10 [13:32:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 1E 01 00 00 6C 4C 16 01 FD 3F 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 DE 10 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 09 4A 00 00 35 04 06 00 B4 EA B3 1B 1B 1B D6 B4 69 25 60 38 C9 87 [13:32:15]Write to MH i2c: 01 00 00 5D 06 63 [13:32:15]Write i2c OK [13:32:15]MH_I2C_Read... [13:32:15]Read from MH i2c: 01 [13:32:15]MH_I2C_Read... [13:32:15]Read from MH i2c: 01 07 00 [13:32:15]MH_I2C_Read... [13:32:15]Read from MH i2c: 01 07 00 5D 06 00 00 00 00 00 10 0D 87 [13:32:15]RasterBufferAndPrint [13:32:15]line [13:32:15]line [13:32:15]line [13:32:15]line [13:32:15]line [13:32:15]written 0, free lines is 3350 [13:32:15]MH_Cut [13:32:15]Write to MH i2c: D1 01 00 64 06 01 3C [13:32:15]Write i2c OK [13:32:15]MH_I2C_Read... [13:32:15]Read from MH i2c: D1 [13:32:15]MH_I2C_Read... [13:32:15]Read from MH i2c: D1 01 00 [13:32:15]MH_I2C_Read... [13:32:15]Read from MH i2c: D1 01 00 64 06 00 3B [13:32:15]Write to MH i2c: 01 00 00 65 06 6B [13:32:15]Write i2c OK [13:32:15]MH_I2C_Read... [13:32:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 A3 29 47 00 1D CD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 09 4A 00 00 F4 03 04 00 3B BA F3 66 B6 04 01 00 00 98 4E A6 AE A0 7A 55 77 [13:32:15]CommunicateWithHost err = 0 [13:32:15]CheckOFDResponse [13:32:15]1017 (14) - 77093643461234 [13:32:15]1041 (16) - 0000000000959456 [13:32:15]1040 (4) - 18953 [13:32:15]1012 (4) - 25.09.2024 07:22 [13:32:15]1206 (1) - 0 [13:32:15]OFD Sender: Remove packet 18953 [13:32:15]ProducePacketName [13:32:15]name=ofd_packets/00018953 [13:32:15]NVStorageDeleteData [13:32:15]OFD Sender: No OFD packet to send [13:32:15]*** Cut start [13:32:15]*** Partial cut [13:32:15]*** CUTSNS_PIN = 1 [13:32:15]*** CUTSNS_PIN = 0 [13:32:16]*** Brake cut motor [13:32:16]Read from MH i2c: 01 [13:32:16]MH_I2C_Read... [13:32:16]*** Stop cut motor [13:32:16]*** Cut end [13:32:16]Read from MH i2c: 01 07 00 [13:32:16]MH_I2C_Read... [13:32:16]Read from MH i2c: 01 07 00 65 06 00 00 00 00 00 FF 0F 80 [13:32:16]process_action close_receipt done [13:32:16]requested_data is exist [13:32:16]produce_requested_data [13:32:16]requested_item fm.sn is exist - process it [13:32:16]wFMCommunicate request_size=4 [13:32:16]MH_SAM_APDU [13:32:16]CAPDU: 80 11 00 00 [13:32:16]Write to MH i2c: E2 08 00 66 06 80 11 00 00 00 00 00 00 E6 [13:32:16]Write i2c OK [13:32:16]MH_I2C_Read... [13:32:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:32:16]Read from MH i2c: E2 [13:32:16]MH_I2C_Read... [13:32:16]Read from MH i2c: E2 17 00 [13:32:16]MH_I2C_Read... [13:32:16]Read from MH i2c: E2 17 00 66 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 3F [13:32:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [13:32:16]wFMCommunicate OK [13:32:16]requested_item fd.num is exist - process it [13:32:16]SAM_PROTO_GetFieldsCounters [13:32:16]wFMCommunicate request_size=4 [13:32:16]MH_SAM_APDU [13:32:16]CAPDU: 80 13 00 00 [13:32:16]Write to MH i2c: E2 08 00 67 06 80 13 00 00 00 00 00 00 E9 [13:32:16]Write i2c OK [13:32:16]MH_I2C_Read... [13:32:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:32:16]Read from MH i2c: E2 [13:32:16]MH_I2C_Read... [13:32:16]Read from MH i2c: E2 62 00 [13:32:16]MH_I2C_Read... [13:32:16]Read from MH i2c: E2 62 00 67 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 09 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 7D [13:32:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 09 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:32:16]wFMCommunicate OK [13:32:16]SAM_PROTO_GetFieldsCounters done [13:32:16]requested_item shift.num is exist - process it [13:32:16]requested_item shift.opened is exist - process it [13:32:16]req_shift_opened [13:32:16]FM_GetShiftState [13:32:16]SAM_PROTO_GetShiftState [13:32:16]wFMCommunicate request_size=4 [13:32:16]MH_SAM_APDU [13:32:16]CAPDU: 80 13 01 00 [13:32:16]Write to MH i2c: E2 08 00 68 06 80 13 01 00 00 00 00 00 EB [13:32:16]Write i2c OK [13:32:16]MH_I2C_Read... [13:32:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:32:16]Read from MH i2c: E2 [13:32:16]MH_I2C_Read... [13:32:16]Read from MH i2c: E2 0E 00 [13:32:16]MH_I2C_Read... [13:32:16]Read from MH i2c: E2 0E 00 68 06 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 D8 [13:32:16]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [13:32:16]wFMCommunicate OK [13:32:16]SAM_PROTO_GetShiftState done [13:32:16]FM_GetShiftState done [13:32:16]req_shift_opened done [13:32:16]requested_item shift.open_date is exist - process it [13:32:16]req_shift_open_date [13:32:16]req_shift_open_date done [13:32:16]produce_requested_data done [13:32:16]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18953,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [13:32:16]process_action_free close_receipt [13:32:16]json_value_free [13:32:16]json_value_free done [13:32:16]process_json_proto returns [13:32:16]Send response to host [13:32:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18953,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [13:32:16]free response buf [13:32:16]execute_script done [13:32:16]execute_script returns [13:32:16]free content buf [13:32:16]Sock 9.Close socket [13:32:16]Sock 9.Thread stoped [13:32:20]OFD Sender: No OFD packet to send [13:32:25]OFD Sender: No OFD packet to send [13:32:30]OFD Sender: No OFD packet to send [13:32:35]OFD Sender: No OFD packet to send [13:32:40]OFD Sender: No OFD packet to send [13:32:45]OFD Sender: No OFD packet to send [13:32:50]OFD Sender: No OFD packet to send [13:32:55]OFD Sender: No OFD packet to send [13:33:00]OFD Sender: No OFD packet to send [13:33:05]OFD Sender: No OFD packet to send [13:33:10]OFD Sender: No OFD packet to send [13:33:15]OFD Sender: No OFD packet to send [13:33:20]OFD Sender: No OFD packet to send [13:33:25]OFD Sender: No OFD packet to send [13:33:30]OFD Sender: No OFD packet to send [13:33:35]OFD Sender: No OFD packet to send [13:33:40]OFD Sender: No OFD packet to send [13:33:45]OFD Sender: No OFD packet to send [13:33:50]OFD Sender: No OFD packet to send [13:33:55]OFD Sender: No OFD packet to send [13:34:00]OFD Sender: No OFD packet to send [13:34:05]OFD Sender: No OFD packet to send [13:34:10]OFD Sender: No OFD packet to send [13:34:15]OFD Sender: No OFD packet to send [13:34:20]OFD Sender: No OFD packet to send [13:34:25]OFD Sender: No OFD packet to send [13:34:30]OFD Sender: No OFD packet to send [13:34:35]OFD Sender: No OFD packet to send [13:34:40]OFD Sender: No OFD packet to send [13:34:45]OFD Sender: No OFD packet to send [13:34:50]OFD Sender: No OFD packet to send [13:34:55]OFD Sender: No OFD packet to send [13:35:00]OFD Sender: No OFD packet to send [13:35:05]OFD Sender: No OFD packet to send [13:35:10]OFD Sender: No OFD packet to send [13:35:15]OFD Sender: No OFD packet to send [13:35:20]OFD Sender: No OFD packet to send [13:35:25]OFD Sender: No OFD packet to send [13:35:30]OFD Sender: No OFD packet to send [13:35:35]OFD Sender: No OFD packet to send [13:35:40]OFD Sender: No OFD packet to send [13:35:45]OFD Sender: No OFD packet to send [13:35:50]OFD Sender: No OFD packet to send [13:35:55]OFD Sender: No OFD packet to send [13:36:00]OFD Sender: No OFD packet to send [13:36:05]OFD Sender: No OFD packet to send [13:36:10]OFD Sender: No OFD packet to send [13:36:15]OFD Sender: No OFD packet to send [13:36:20]OFD Sender: No OFD packet to send [13:36:25]OFD Sender: No OFD packet to send [13:36:30]OFD Sender: No OFD packet to send [13:36:34]accept exits with 8 [13:36:34]New connection [13:36:34]New thread 3066621284 created [13:36:34]Thread 3066764644 joined [13:36:34]Waiting for new connection... [13:36:34] Sock 8.Parse request [13:36:34]Sock 8.Check first char [13:36:34]Sock 8.First char is OK [13:36:34]request: POST /json_proto HTTP/1.0 [13:36:34]Method: POST [13:36:34]URL: /json_proto [13:36:34]Method is POST - this is cgi request [13:36:34]url: /json_proto [13:36:34]query_string will be loaded in cgi processing [13:36:34]execute_cgi json_proto POST (null) [13:36:34]execute_cgi path=json_proto method=POST [13:36:34]POST find Content-Length [13:36:34]Host: 172.17.62.196:8080 [13:36:34]Content-Length: 668 [13:36:34]Content-Type: application/json [13:36:34] [13:36:34]POST finish read [13:36:34]Found Content-Length = 668 [13:36:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16874", "tax_sys" : 0, "items" : [ { "code": "4700040114137", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0437\u0435\u043B \u043B\u0438\u043C\u043E\u043D", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:36:34]execute_script... [13:36:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16874", "tax_sys" : 0, "items" : [ { "code": "4700040114137", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0437\u0435\u043B \u043B\u0438\u043C\u043E\u043D", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:36:34]POST & json_proto [13:36:34]process_json_proto [13:36:34]json parsed OK: [13:36:34]protocol is kg_v1.0 [13:36:34]action value=close_receipt [13:36:34]process_action close_receipt [13:36:34]cmd_close_receipt [13:36:34]MH_GetDate [13:36:34]Write to MH i2c: F0 00 00 69 06 5E [13:36:34]Write i2c OK [13:36:34]MH_I2C_Read... [13:36:34]Read from MH i2c: F0 [13:36:34]MH_I2C_Read... [13:36:34]Read from MH i2c: F0 09 00 [13:36:34]MH_I2C_Read... [13:36:34]Read from MH i2c: F0 09 00 69 06 00 E3 11 F4 66 CE CC 0E 66 C3 [13:36:34]GetLastDocTimeStamp 1727271134 [13:36:34]current date 1727271395 [13:36:34]FM_GetShiftState [13:36:34]SAM_PROTO_GetShiftState [13:36:34]wFMCommunicate request_size=4 [13:36:34]MH_SAM_APDU [13:36:34]CAPDU: 80 13 01 00 [13:36:34]Write to MH i2c: E2 08 00 6A 06 80 13 01 00 00 00 00 00 ED [13:36:34]Write i2c OK [13:36:34]MH_I2C_Read... [13:36:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:36:34]Read from MH i2c: E2 [13:36:34]MH_I2C_Read... [13:36:34]Read from MH i2c: E2 0E 00 [13:36:34]MH_I2C_Read... [13:36:34]Read from MH i2c: E2 0E 00 6A 06 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 DA [13:36:34]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [13:36:34]wFMCommunicate OK [13:36:34]SAM_PROTO_GetShiftState done [13:36:34]FM_GetShiftState done [13:36:34]opened in 1727223091 [13:36:34]opened+sec_in_day 1727309491 [13:36:34]quantity*price = 6500 [13:36:34]sum+1 = 6501 [13:36:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 32 25.09.2024 13:36 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18954 ФПД: 272309547161920 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T133636&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18954&fm=272309547161920&tin=02508201610067®Number=0000000000152968&sum=6500 0 [13:36:35]StoreToDocumentArchive [13:36:35]shift 183 fd 18954 [13:36:35]save to /storage/0183/doc_00018954 [13:36:35]save last doc name /storage/0183/doc_00018954 to /storage/kkm_last_doc_name [13:36:35]save OK [13:36:35]Clear old archive folders... [13:36:35]ProcessDocumentItem done err = 0, tmpTLVsize=284 [13:36:35]tlvbuf is 015E2250 [13:36:35]SAM_PROTO_ClearQueue [13:36:35]wFMCommunicate request_size=4 [13:36:35]MH_SAM_APDU [13:36:35]CAPDU: 80 09 00 00 [13:36:35]Write to MH i2c: E2 08 00 77 06 80 09 00 00 00 00 00 00 EF [13:36:35]Write i2c OK [13:36:35]MH_I2C_Read... [13:36:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:36:35]Read from MH i2c: E2 [13:36:35]MH_I2C_Read... [13:36:35]Read from MH i2c: E2 03 00 [13:36:35]MH_I2C_Read... [13:36:35]Read from MH i2c: E2 03 00 77 06 00 90 00 F1 [13:36:35]RAPDU: 90 00 [13:36:35]wFMCommunicate OK [13:36:35]SAM_PROTO_ClearQueue done [13:36:35]KKMCreateOFDPacket [13:36:35]OFDProtocolAddRootSTLVToBuf [13:36:35]FM_MakeSignedData [13:36:35]FM_MakeSignedData [13:36:35]SAM_PROTO_SignData [13:36:35]wFMCommunicate request_size=4 [13:36:35]MH_SAM_APDU [13:36:35]CAPDU: 80 0D 01 02 [13:36:35]Write to MH i2c: E2 08 00 78 06 80 0D 01 02 00 00 00 00 F7 [13:36:35]Write i2c OK [13:36:35]MH_I2C_Read... [13:36:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:36:35]Read from MH i2c: E2 [13:36:35]MH_I2C_Read... [13:36:35]Read from MH i2c: E2 03 00 [13:36:35]MH_I2C_Read... [13:36:35]Read from MH i2c: E2 03 00 78 06 00 90 00 F2 [13:36:35]RAPDU: 90 00 [13:36:35]wFMCommunicate OK [13:36:35]wFMCommunicate request_size=255 [13:36:35]MH_SAM_APDU [13:36:35]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 E4 11 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 [13:36:35]Write to MH i2c: E2 02 01 79 06 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 E4 11 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 00 00 AF [13:36:35]Write i2c OK [13:36:35]MH_I2C_Read... [13:36:35]OFD Sender: No OFD packet to send [13:36:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:36:36]Read from MH i2c: E2 [13:36:36]MH_I2C_Read... [13:36:36]Read from MH i2c: E2 03 00 [13:36:36]MH_I2C_Read... [13:36:36]Read from MH i2c: E2 03 00 79 06 00 90 00 F3 [13:36:36]RAPDU: 90 00 [13:36:36]wFMCommunicate OK [13:36:36]wFMCommunicate request_size=43 [13:36:36]MH_SAM_APDU [13:36:36]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0A 4A 00 00 35 04 06 00 F7 AA 01 D3 D9 40 [13:36:36]Write to MH i2c: E2 2E 00 7A 06 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0A 4A 00 00 35 04 06 00 F7 AA 01 D3 D9 40 00 00 CA [13:36:36]Write i2c OK [13:36:36]MH_I2C_Read... [13:36:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:36:36]Read from MH i2c: E2 [13:36:36]MH_I2C_Read... [13:36:36]Read from MH i2c: E2 03 00 [13:36:36]MH_I2C_Read... [13:36:36]Read from MH i2c: E2 03 00 7A 06 00 90 00 F4 [13:36:36]RAPDU: 90 00 [13:36:36]wFMCommunicate OK [13:36:36]wFMCommunicate request_size=4 [13:36:36]MH_SAM_APDU [13:36:36]CAPDU: 80 0D 03 02 [13:36:36]Write to MH i2c: E2 08 00 7B 06 80 0D 03 02 00 00 00 00 FC [13:36:36]Write i2c OK [13:36:36]MH_I2C_Read... [13:36:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:36:36]Read from MH i2c: E2 [13:36:36]MH_I2C_Read... [13:36:36]Read from MH i2c: E2 0B 00 [13:36:36]MH_I2C_Read... [13:36:36]Read from MH i2c: E2 0B 00 7B 06 00 09 BD 2A 78 D5 B4 46 E3 90 00 17 [13:36:36]RAPDU: 09 BD 2A 78 D5 B4 46 E3 90 00 [13:36:36]wFMCommunicate OK [13:36:36]SAM_PROTO_SignData done [13:36:36]FM_MakeSignedData done [13:36:36]CreateOFDProtocolMessage [13:36:36]wFMCommunicate request_size=4 [13:36:36]MH_SAM_APDU [13:36:36]CAPDU: 80 11 00 00 [13:36:36]Write to MH i2c: E2 08 00 7C 06 80 11 00 00 00 00 00 00 FC [13:36:36]Write i2c OK [13:36:36]MH_I2C_Read... [13:36:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:36:36]Read from MH i2c: E2 [13:36:36]MH_I2C_Read... [13:36:36]Read from MH i2c: E2 17 00 [13:36:36]MH_I2C_Read... [13:36:36]Read from MH i2c: E2 17 00 7C 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 55 [13:36:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [13:36:36]wFMCommunicate OK [13:36:36]CreateOFDProtocolMessage done [13:36:36]OFDSenderStorePacket 18954 [13:36:36]StoreOFDPacket docnum=18954 [13:36:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 30 01 00 00 FA 0D 28 01 84 F3 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 E4 11 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0A 4A 00 00 35 04 06 00 F7 AA 01 D3 D9 40 09 BD 2A 78 D5 B4 46 E3 [13:36:36]CheckFolder [13:36:36]dirname=/storage/ofd_packets [13:36:36]CheckFolder done [13:36:36]ProducePacketName [13:36:36]name=ofd_packets/00018954 [13:36:36]NVStorageSaveData ofd_packets/00018954 [13:36:36]File name is /storage/ofd_packets/00018954 [13:36:36]Write 334 bytes [13:36:36]NVStorageSaveData done [13:36:36]OFDSenderStorePacket done [13:36:36]KKMCreateOFDPacket done [13:36:36]NVStorageSaveData kkm_last_timestamp [13:36:36]File name is /storage/kkm_last_timestamp [13:36:36]Write 4 bytes [13:36:36]NVStorageSaveData done [13:36:36]ExternCall_PrintAddStr [13:36:36]wPrintStart [13:36:36]Write to MH i2c: 01 00 00 7D 06 83 [13:36:36]Write i2c OK [13:36:36]MH_I2C_Read... [13:36:36]Read from MH i2c: 01 [13:36:36]MH_I2C_Read... [13:36:36]Read from MH i2c: 01 07 00 [13:36:36]MH_I2C_Read... [13:36:36]Read from MH i2c: 01 07 00 7D 06 00 00 00 00 00 FF 0F 98 [13:36:36]RasterBufferAndPrint [13:36:36]line Счет N : (3)16874 [13:36:36]line ИНН: 02508201610067 [13:36:36]line Контрольно-Кассовый Чек [13:36:36]line ПРОДАЖА [13:36:36]line Товар: 4700040114137 [13:36:36]line Султан чай 1л. зел лимон [13:36:36]line 1.000 * 65.00 [13:36:36]line = 65.00 [13:36:36]line НДС 12% НСП 1% [13:36:36]line > о реализуемом товаре [13:36:36]line ИТОГО: 65.00 [13:36:36]line НСП 1% : 0.57 [13:36:36]line НДС 12% : 6.90 [13:36:36]line Наличными: 65.00 [13:36:36]line Безнал.: 0.00 [13:36:36]line Место: АЗС № 176 "Партнер Нефть" [13:36:36]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [13:36:36]line СНО: Общий режим [13:36:36]line Чек 32 25.09.2024 13:36 [13:36:36]line Смена: 183 ФФД: 1.0 [13:36:36]line ЗНМ: 0300000010 [13:36:36]line РНМ: 0000000000152968 [13:36:36]line Версия ККМ: v1.0 [13:36:36]line ФМ: 0000000000959456 [13:36:36]line ФД: 18954 [13:36:36]line ФПД: 272309547161920 [13:36:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T133636&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18954&fm=272309547161920&tin=02508201610067®Number=0000000000152968&sum=6500 [13:36:36]line 0 [13:36:36]OFD Sender: Processing packet 18954 [packets to send 7, broken 6] [13:36:36]ProducePacketName [13:36:36]name=ofd_packets/00018954 [13:36:36]OFD Sender: To server: pG, [13:36:36]CommunicateWithHost lk.salyk.kg:30040 [13:36:36]ConnectInit lk.salyk.kg [13:36:36]written 0, free lines is 4095 [13:36:36]Connected sock=11 [13:36:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 30 01 00 00 FA 0D 28 01 84 F3 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 E4 11 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0A 4A 00 00 35 04 06 00 F7 AA 01 D3 D9 40 09 BD 2A 78 D5 B4 46 E3 [13:36:37]Write to MH i2c: 01 00 00 A5 06 AB [13:36:37]Write i2c OK [13:36:37]MH_I2C_Read... [13:36:37]Read from MH i2c: 01 [13:36:37]MH_I2C_Read... [13:36:37]Read from MH i2c: 01 07 00 [13:36:37]MH_I2C_Read... [13:36:37]Read from MH i2c: 01 07 00 A5 06 00 00 00 00 00 18 0D D7 [13:36:37]RasterBufferAndPrint [13:36:37]line [13:36:37]line [13:36:37]line [13:36:37]line [13:36:37]line [13:36:37]written 0, free lines is 3359 [13:36:37]MH_Cut [13:36:37]Write to MH i2c: D1 01 00 AC 06 01 84 [13:36:37]Write i2c OK [13:36:37]MH_I2C_Read... [13:36:37]Read from MH i2c: D1 [13:36:37]MH_I2C_Read... [13:36:37]Read from MH i2c: D1 01 00 [13:36:37]MH_I2C_Read... [13:36:37]Read from MH i2c: D1 01 00 AC 06 00 83 [13:36:37]Write to MH i2c: 01 00 00 AD 06 B3 [13:36:37]Write i2c OK [13:36:37]MH_I2C_Read... [13:36:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 66 23 47 00 1C 05 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0A 4A 00 00 F4 03 04 00 41 BB F3 66 B6 04 01 00 00 FF 5A E1 EE 76 36 45 38 [13:36:37]CommunicateWithHost err = 0 [13:36:37]CheckOFDResponse [13:36:37]1017 (14) - 77093643461234 [13:36:37]1041 (16) - 0000000000959456 [13:36:37]1040 (4) - 18954 [13:36:37]1012 (4) - 25.09.2024 07:26 [13:36:37]1206 (1) - 0 [13:36:37]OFD Sender: Remove packet 18954 [13:36:37]ProducePacketName [13:36:37]name=ofd_packets/00018954 [13:36:37]NVStorageDeleteData [13:36:37]OFD Sender: No OFD packet to send [13:36:37]*** Cut start [13:36:37]*** Partial cut [13:36:37]*** CUTSNS_PIN = 1 [13:36:37]*** CUTSNS_PIN = 0 [13:36:38]*** Brake cut motor [13:36:38]Read from MH i2c: 01 [13:36:38]MH_I2C_Read... [13:36:38]*** Stop cut motor [13:36:38]*** Cut end [13:36:38]Read from MH i2c: 01 07 00 [13:36:38]MH_I2C_Read... [13:36:38]Read from MH i2c: 01 07 00 AD 06 00 00 00 00 00 FF 0F C8 [13:36:38]process_action close_receipt done [13:36:38]requested_data is exist [13:36:38]produce_requested_data [13:36:38]requested_item fm.sn is exist - process it [13:36:38]wFMCommunicate request_size=4 [13:36:38]MH_SAM_APDU [13:36:38]CAPDU: 80 11 00 00 [13:36:38]Write to MH i2c: E2 08 00 AE 06 80 11 00 00 00 00 00 00 2E [13:36:38]Write i2c OK [13:36:38]MH_I2C_Read... [13:36:38]Read from MH i2c: E2 [13:36:38]MH_I2C_Read... [13:36:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:36:38]Read from MH i2c: E2 17 00 [13:36:38]MH_I2C_Read... [13:36:38]Read from MH i2c: E2 17 00 AE 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 87 [13:36:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [13:36:38]wFMCommunicate OK [13:36:38]requested_item fd.num is exist - process it [13:36:38]SAM_PROTO_GetFieldsCounters [13:36:38]wFMCommunicate request_size=4 [13:36:38]MH_SAM_APDU [13:36:38]CAPDU: 80 13 00 00 [13:36:38]Write to MH i2c: E2 08 00 AF 06 80 13 00 00 00 00 00 00 31 [13:36:38]Write i2c OK [13:36:38]MH_I2C_Read... [13:36:38]Read from MH i2c: E2 [13:36:38]MH_I2C_Read... [13:36:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:36:38]Read from MH i2c: E2 62 00 [13:36:38]MH_I2C_Read... [13:36:38]Read from MH i2c: E2 62 00 AF 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 0A 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 C9 [13:36:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 0A 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:36:38]wFMCommunicate OK [13:36:38]SAM_PROTO_GetFieldsCounters done [13:36:38]requested_item shift.num is exist - process it [13:36:38]requested_item shift.opened is exist - process it [13:36:38]req_shift_opened [13:36:38]FM_GetShiftState [13:36:38]SAM_PROTO_GetShiftState [13:36:38]wFMCommunicate request_size=4 [13:36:38]MH_SAM_APDU [13:36:38]CAPDU: 80 13 01 00 [13:36:38]Write to MH i2c: E2 08 00 B0 06 80 13 01 00 00 00 00 00 33 [13:36:38]Write i2c OK [13:36:38]MH_I2C_Read... [13:36:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:36:38]Read from MH i2c: E2 [13:36:38]MH_I2C_Read... [13:36:38]Read from MH i2c: E2 0E 00 [13:36:38]MH_I2C_Read... [13:36:38]Read from MH i2c: E2 0E 00 B0 06 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 20 [13:36:38]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [13:36:38]wFMCommunicate OK [13:36:38]SAM_PROTO_GetShiftState done [13:36:38]FM_GetShiftState done [13:36:38]req_shift_opened done [13:36:38]requested_item shift.open_date is exist - process it [13:36:38]req_shift_open_date [13:36:38]req_shift_open_date done [13:36:38]produce_requested_data done [13:36:38]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18954,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [13:36:38]process_action_free close_receipt [13:36:38]json_value_free [13:36:38]json_value_free done [13:36:38]process_json_proto returns [13:36:38]Send response to host [13:36:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18954,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [13:36:38]free response buf [13:36:38]execute_script done [13:36:38]execute_script returns [13:36:38]free content buf [13:36:38]Sock 8.Close socket [13:36:38]Sock 8.Thread stoped [13:36:42]OFD Sender: No OFD packet to send [13:36:47]OFD Sender: No OFD packet to send [13:36:52]OFD Sender: No OFD packet to send [13:36:57]OFD Sender: No OFD packet to send [13:37:02]OFD Sender: No OFD packet to send [13:37:07]OFD Sender: No OFD packet to send [13:37:12]OFD Sender: No OFD packet to send [13:37:17]OFD Sender: No OFD packet to send [13:37:22]OFD Sender: No OFD packet to send [13:37:27]OFD Sender: No OFD packet to send [13:37:32]OFD Sender: No OFD packet to send [13:37:37]OFD Sender: No OFD packet to send [13:37:42]OFD Sender: No OFD packet to send [13:37:47]OFD Sender: No OFD packet to send [13:37:52]OFD Sender: No OFD packet to send [13:37:57]OFD Sender: No OFD packet to send [13:38:02]OFD Sender: No OFD packet to send [13:38:07]OFD Sender: No OFD packet to send [13:38:12]OFD Sender: No OFD packet to send [13:38:17]OFD Sender: No OFD packet to send [13:38:22]OFD Sender: No OFD packet to send [13:38:27]OFD Sender: No OFD packet to send [13:38:32]OFD Sender: No OFD packet to send [13:38:37]OFD Sender: No OFD packet to send [13:38:42]OFD Sender: No OFD packet to send [13:38:47]OFD Sender: No OFD packet to send [13:38:52]OFD Sender: No OFD packet to send [13:38:57]OFD Sender: No OFD packet to send [13:39:02]OFD Sender: No OFD packet to send [13:39:07]OFD Sender: No OFD packet to send [13:39:12]OFD Sender: No OFD packet to send [13:39:17]OFD Sender: No OFD packet to send [13:39:22]OFD Sender: No OFD packet to send [13:39:27]OFD Sender: No OFD packet to send [13:39:32]OFD Sender: No OFD packet to send [13:39:37]OFD Sender: No OFD packet to send [13:39:42]OFD Sender: No OFD packet to send [13:39:47]OFD Sender: No OFD packet to send [13:39:52]OFD Sender: No OFD packet to send [13:39:57]OFD Sender: No OFD packet to send [13:40:02]OFD Sender: No OFD packet to send [13:40:07]OFD Sender: No OFD packet to send [13:40:12]OFD Sender: No OFD packet to send [13:40:17]OFD Sender: No OFD packet to send [13:40:22]OFD Sender: No OFD packet to send [13:40:27]OFD Sender: No OFD packet to send [13:40:32]OFD Sender: No OFD packet to send [13:40:37]OFD Sender: No OFD packet to send [13:40:42]OFD Sender: No OFD packet to send [13:40:47]OFD Sender: No OFD packet to send [13:40:52]OFD Sender: No OFD packet to send [13:40:57]OFD Sender: No OFD packet to send [13:41:02]OFD Sender: No OFD packet to send [13:41:07]OFD Sender: No OFD packet to send [13:41:12]OFD Sender: No OFD packet to send [13:41:17]OFD Sender: No OFD packet to send [13:41:22]OFD Sender: No OFD packet to send [13:41:27]OFD Sender: No OFD packet to send [13:41:32]OFD Sender: No OFD packet to send [13:41:37]OFD Sender: No OFD packet to send [13:41:42]OFD Sender: No OFD packet to send [13:41:47]OFD Sender: No OFD packet to send [13:41:52]OFD Sender: No OFD packet to send [13:41:57]OFD Sender: No OFD packet to send [13:42:02]OFD Sender: No OFD packet to send [13:42:07]OFD Sender: No OFD packet to send [13:42:12]OFD Sender: No OFD packet to send [13:42:17]OFD Sender: No OFD packet to send [13:42:22]OFD Sender: No OFD packet to send [13:42:27]OFD Sender: No OFD packet to send [13:42:32]OFD Sender: No OFD packet to send [13:42:37]OFD Sender: No OFD packet to send [13:42:42]OFD Sender: No OFD packet to send [13:42:47]OFD Sender: No OFD packet to send [13:42:52]OFD Sender: No OFD packet to send [13:42:57]OFD Sender: No OFD packet to send [13:43:02]OFD Sender: No OFD packet to send [13:43:07]OFD Sender: No OFD packet to send [13:43:12]OFD Sender: No OFD packet to send [13:43:17]OFD Sender: No OFD packet to send [13:43:22]OFD Sender: No OFD packet to send [13:43:27]OFD Sender: No OFD packet to send [13:43:33]OFD Sender: No OFD packet to send [13:43:38]OFD Sender: No OFD packet to send [13:43:43]OFD Sender: No OFD packet to send [13:43:48]OFD Sender: No OFD packet to send [13:43:53]OFD Sender: No OFD packet to send [13:43:58]OFD Sender: No OFD packet to send [13:44:03]OFD Sender: No OFD packet to send [13:44:08]OFD Sender: No OFD packet to send [13:44:13]OFD Sender: No OFD packet to send [13:44:18]OFD Sender: No OFD packet to send [13:44:23]OFD Sender: No OFD packet to send [13:44:28]OFD Sender: No OFD packet to send [13:44:33]OFD Sender: No OFD packet to send [13:44:38]OFD Sender: No OFD packet to send [13:44:43]OFD Sender: No OFD packet to send [13:44:48]OFD Sender: No OFD packet to send [13:44:53]OFD Sender: No OFD packet to send [13:44:58]OFD Sender: No OFD packet to send [13:44:58]accept exits with 9 [13:44:58]New connection [13:44:58]New thread 3066764644 created [13:44:58]Thread 3066621284 joined [13:44:58]Waiting for new connection... [13:44:58] Sock 9.Parse request [13:44:58]Sock 9.Check first char [13:44:58]Sock 9.First char is OK [13:44:58]request: POST /json_proto HTTP/1.0 [13:44:58]Method: POST [13:44:58]URL: /json_proto [13:44:58]Method is POST - this is cgi request [13:44:58]url: /json_proto [13:44:58]query_string will be loaded in cgi processing [13:44:58]execute_cgi json_proto POST (null) [13:44:58]execute_cgi path=json_proto method=POST [13:44:58]POST find Content-Length [13:44:58]Host: 172.17.62.196:8080 [13:44:58]Content-Length: 704 [13:44:58]Content-Type: application/json [13:44:58] [13:44:58]POST finish read [13:44:58]Found Content-Length = 704 [13:44:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16875", "tax_sys" : 0, "items" : [ { "code": "5449000189349", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:44:58]execute_script... [13:44:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16875", "tax_sys" : 0, "items" : [ { "code": "5449000189349", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:44:58]POST & json_proto [13:44:58]process_json_proto [13:44:58]json parsed OK: [13:44:58]protocol is kg_v1.0 [13:44:58]action value=close_receipt [13:44:58]process_action close_receipt [13:44:58]cmd_close_receipt [13:44:58]MH_GetDate [13:44:58]Write to MH i2c: F0 00 00 B1 06 A6 [13:44:58]Write i2c OK [13:44:58]MH_I2C_Read... [13:44:58]Read from MH i2c: F0 [13:44:58]MH_I2C_Read... [13:44:58]Read from MH i2c: F0 09 00 [13:44:58]MH_I2C_Read... [13:44:58]Read from MH i2c: F0 09 00 B1 06 00 DC 13 F4 66 CE CC 0E 66 06 [13:44:58]GetLastDocTimeStamp 1727271396 [13:44:58]current date 1727271900 [13:44:58]FM_GetShiftState [13:44:58]SAM_PROTO_GetShiftState [13:44:58]wFMCommunicate request_size=4 [13:44:58]MH_SAM_APDU [13:44:58]CAPDU: 80 13 01 00 [13:44:58]Write to MH i2c: E2 08 00 B2 06 80 13 01 00 00 00 00 00 35 [13:44:58]Write i2c OK [13:44:58]MH_I2C_Read... [13:44:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:44:58]Read from MH i2c: E2 [13:44:58]MH_I2C_Read... [13:44:58]Read from MH i2c: E2 0E 00 [13:44:58]MH_I2C_Read... [13:44:58]Read from MH i2c: E2 0E 00 B2 06 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 22 [13:44:58]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [13:44:58]wFMCommunicate OK [13:44:58]SAM_PROTO_GetShiftState done [13:44:58]FM_GetShiftState done [13:44:58]opened in 1727223091 [13:44:58]opened+sec_in_day 1727309491 [13:44:58]quantity*price = 7500 [13:44:58]sum+1 = 7501 [13:44:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 33 25.09.2024 13:45 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18955 ФПД: 182434798862917 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T134500&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18955&fm=182434798862917&tin=02508201610067®Number=0000000000152968&sum=7500 0 [13:44:59]StoreToDocumentArchive [13:44:59]shift 183 fd 18955 [13:44:59]save to /storage/0183/doc_00018955 [13:44:59]save last doc name /storage/0183/doc_00018955 to /storage/kkm_last_doc_name [13:44:59]save OK [13:44:59]Clear old archive folders... [13:44:59]ProcessDocumentItem done err = 0, tmpTLVsize=300 [13:44:59]tlvbuf is 016036A0 [13:44:59]SAM_PROTO_ClearQueue [13:44:59]wFMCommunicate request_size=4 [13:44:59]MH_SAM_APDU [13:44:59]CAPDU: 80 09 00 00 [13:44:59]Write to MH i2c: E2 08 00 BF 06 80 09 00 00 00 00 00 00 37 [13:44:59]Write i2c OK [13:44:59]MH_I2C_Read... [13:44:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:44:59]Read from MH i2c: E2 [13:44:59]MH_I2C_Read... [13:44:59]Read from MH i2c: E2 03 00 [13:44:59]MH_I2C_Read... [13:44:59]Read from MH i2c: E2 03 00 BF 06 00 90 00 39 [13:44:59]RAPDU: 90 00 [13:44:59]wFMCommunicate OK [13:44:59]SAM_PROTO_ClearQueue done [13:44:59]KKMCreateOFDPacket [13:44:59]OFDProtocolAddRootSTLVToBuf [13:44:59]FM_MakeSignedData [13:44:59]FM_MakeSignedData [13:44:59]SAM_PROTO_SignData [13:44:59]wFMCommunicate request_size=4 [13:44:59]MH_SAM_APDU [13:44:59]CAPDU: 80 0D 01 02 [13:44:59]Write to MH i2c: E2 08 00 C0 06 80 0D 01 02 00 00 00 00 3F [13:44:59]Write i2c OK [13:44:59]MH_I2C_Read... [13:44:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:45:00]Read from MH i2c: E2 [13:45:00]MH_I2C_Read... [13:45:00]Read from MH i2c: E2 03 00 [13:45:00]MH_I2C_Read... [13:45:00]Read from MH i2c: E2 03 00 C0 06 00 90 00 3A [13:45:00]RAPDU: 90 00 [13:45:00]wFMCommunicate OK [13:45:00]wFMCommunicate request_size=255 [13:45:00]MH_SAM_APDU [13:45:00]CAPDU: 80 0D 02 02 FA 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 DC 13 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 [13:45:00]Write to MH i2c: E2 02 01 C1 06 80 0D 02 02 FA 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 DC 13 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 00 00 CB [13:45:00]Write i2c OK [13:45:00]MH_I2C_Read... [13:45:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:45:00]Read from MH i2c: E2 [13:45:00]MH_I2C_Read... [13:45:00]Read from MH i2c: E2 03 00 [13:45:00]MH_I2C_Read... [13:45:00]Read from MH i2c: E2 03 00 C1 06 00 90 00 3B [13:45:00]RAPDU: 90 00 [13:45:00]wFMCommunicate OK [13:45:00]wFMCommunicate request_size=59 [13:45:00]MH_SAM_APDU [13:45:00]CAPDU: 80 0D 02 02 36 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0B 4A 00 00 35 04 06 00 A5 EC 69 61 82 45 [13:45:00]Write to MH i2c: E2 3E 00 C2 06 80 0D 02 02 36 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0B 4A 00 00 35 04 06 00 A5 EC 69 61 82 45 00 00 E6 [13:45:00]Write i2c OK [13:45:00]MH_I2C_Read... [13:45:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:45:00]Read from MH i2c: E2 [13:45:00]MH_I2C_Read... [13:45:00]Read from MH i2c: E2 03 00 [13:45:00]MH_I2C_Read... [13:45:00]Read from MH i2c: E2 03 00 C2 06 00 90 00 3C [13:45:00]RAPDU: 90 00 [13:45:00]wFMCommunicate OK [13:45:00]wFMCommunicate request_size=4 [13:45:00]MH_SAM_APDU [13:45:00]CAPDU: 80 0D 03 02 [13:45:00]Write to MH i2c: E2 08 00 C3 06 80 0D 03 02 00 00 00 00 44 [13:45:00]Write i2c OK [13:45:00]MH_I2C_Read... [13:45:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:45:00]Read from MH i2c: E2 [13:45:00]MH_I2C_Read... [13:45:00]Read from MH i2c: E2 0B 00 [13:45:00]MH_I2C_Read... [13:45:00]Read from MH i2c: E2 0B 00 C3 06 00 6E 3A 6D 6A 3E 5A 39 3A 90 00 CF [13:45:00]RAPDU: 6E 3A 6D 6A 3E 5A 39 3A 90 00 [13:45:00]wFMCommunicate OK [13:45:00]SAM_PROTO_SignData done [13:45:00]FM_MakeSignedData done [13:45:00]CreateOFDProtocolMessage [13:45:00]wFMCommunicate request_size=4 [13:45:00]MH_SAM_APDU [13:45:00]CAPDU: 80 11 00 00 [13:45:00]Write to MH i2c: E2 08 00 C4 06 80 11 00 00 00 00 00 00 44 [13:45:00]Write i2c OK [13:45:00]MH_I2C_Read... [13:45:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:45:00]Read from MH i2c: E2 [13:45:00]MH_I2C_Read... [13:45:00]Read from MH i2c: E2 17 00 [13:45:00]MH_I2C_Read... [13:45:00]Read from MH i2c: E2 17 00 C4 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 9D [13:45:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [13:45:00]wFMCommunicate OK [13:45:00]CreateOFDProtocolMessage done [13:45:00]OFDSenderStorePacket 18955 [13:45:00]StoreOFDPacket docnum=18955 [13:45:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 40 01 00 00 80 7C 38 01 81 41 5A 03 01 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 DC 13 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0B 4A 00 00 35 04 06 00 A5 EC 69 61 82 45 6E 3A 6D 6A 3E 5A 39 3A [13:45:00]CheckFolder [13:45:00]dirname=/storage/ofd_packets [13:45:00]CheckFolder done [13:45:00]ProducePacketName [13:45:00]name=ofd_packets/00018955 [13:45:00]NVStorageSaveData ofd_packets/00018955 [13:45:00]File name is /storage/ofd_packets/00018955 [13:45:00]Write 350 bytes [13:45:00]NVStorageSaveData done [13:45:00]OFDSenderStorePacket done [13:45:00]KKMCreateOFDPacket done [13:45:00]NVStorageSaveData kkm_last_timestamp [13:45:00]File name is /storage/kkm_last_timestamp [13:45:00]Write 4 bytes [13:45:00]NVStorageSaveData done [13:45:00]ExternCall_PrintAddStr [13:45:00]wPrintStart [13:45:00]Write to MH i2c: 01 00 00 C5 06 CB [13:45:00]Write i2c OK [13:45:00]MH_I2C_Read... [13:45:00]Read from MH i2c: 01 [13:45:00]MH_I2C_Read... [13:45:00]Read from MH i2c: 01 07 00 [13:45:00]MH_I2C_Read... [13:45:00]Read from MH i2c: 01 07 00 C5 06 00 00 00 00 00 FF 0F E0 [13:45:00]RasterBufferAndPrint [13:45:00]line Счет N : (3)16875 [13:45:00]line ИНН: 02508201610067 [13:45:00]line Контрольно-Кассовый Чек [13:45:00]line ПРОДАЖА [13:45:00]line Товар: 5449000189349 [13:45:00]line Холодный чай Fuse манго ананас 0,5л [13:45:00]line 1.000 * 75.00 [13:45:00]line = 75.00 [13:45:00]line НДС 12% НСП 1% [13:45:00]line > о реализуемом товаре [13:45:00]line ИТОГО: 75.00 [13:45:00]line НСП 1% : 0.66 [13:45:00]line НДС 12% : 7.96 [13:45:00]line Наличными: 75.00 [13:45:00]line Безнал.: 0.00 [13:45:00]line Место: АЗС № 176 "Партнер Нефть" [13:45:00]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [13:45:00]line СНО: Общий режим [13:45:00]line Чек 33 25.09.2024 13:45 [13:45:00]line Смена: 183 ФФД: 1.0 [13:45:00]line ЗНМ: 0300000010 [13:45:00]line РНМ: 0000000000152968 [13:45:00]line Версия ККМ: v1.0 [13:45:00]line ФМ: 0000000000959456 [13:45:00]line ФД: 18955 [13:45:00]line ФПД: 182434798862917 [13:45:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T134500&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18955&fm=182434798862917&tin=02508201610067®Number=0000000000152968&sum=7500 [13:45:00]line 0 [13:45:00]OFD Sender: Processing packet 18955 [packets to send 7, broken 6] [13:45:00]ProducePacketName [13:45:00]name=ofd_packets/00018955 [13:45:00]OFD Sender: To server: pG, [13:45:00]CommunicateWithHost lk.salyk.kg:30040 [13:45:00]ConnectInit lk.salyk.kg [13:45:00]written 0, free lines is 4095 [13:45:01]Connected sock=10 [13:45:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 40 01 00 00 80 7C 38 01 81 41 5A 03 01 00 03 00 2C 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 DC 13 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0B 4A 00 00 35 04 06 00 A5 EC 69 61 82 45 6E 3A 6D 6A 3E 5A 39 3A [13:45:01]Write to MH i2c: 01 00 00 EE 06 F4 [13:45:01]Write i2c OK [13:45:01]MH_I2C_Read... [13:45:01]Read from MH i2c: 01 [13:45:01]MH_I2C_Read... [13:45:01]Read from MH i2c: 01 07 00 [13:45:01]MH_I2C_Read... [13:45:01]Read from MH i2c: 01 07 00 EE 06 00 00 00 00 00 08 0D 10 [13:45:01]RasterBufferAndPrint [13:45:01]line [13:45:01]line [13:45:01]line [13:45:01]line [13:45:01]line [13:45:01]written 0, free lines is 3345 [13:45:01]MH_Cut [13:45:01]Write to MH i2c: D1 01 00 F5 06 01 CD [13:45:01]Write i2c OK [13:45:01]MH_I2C_Read... [13:45:01]Read from MH i2c: D1 [13:45:01]MH_I2C_Read... [13:45:01]Read from MH i2c: D1 01 00 [13:45:01]MH_I2C_Read... [13:45:01]Read from MH i2c: D1 01 00 F5 06 00 CC [13:45:01]Write to MH i2c: 01 00 00 F6 06 FC [13:45:01]Write i2c OK [13:45:01]MH_I2C_Read... [13:45:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 A4 22 47 00 D0 18 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0B 4A 00 00 F4 03 04 00 39 BD F3 66 B6 04 01 00 00 9A 70 48 69 26 FE 07 B7 [13:45:01]CommunicateWithHost err = 0 [13:45:01]CheckOFDResponse [13:45:01]1017 (14) - 77093643461234 [13:45:01]1041 (16) - 0000000000959456 [13:45:01]1040 (4) - 18955 [13:45:01]1012 (4) - 25.09.2024 07:35 [13:45:01]1206 (1) - 0 [13:45:01]OFD Sender: Remove packet 18955 [13:45:01]ProducePacketName [13:45:01]name=ofd_packets/00018955 [13:45:01]NVStorageDeleteData [13:45:01]*** Cut start [13:45:01]*** Partial cut [13:45:01]*** CUTSNS_PIN = 1 [13:45:01]*** CUTSNS_PIN = 0 [13:45:02]OFD Sender: No OFD packet to send [13:45:02]*** Brake cut motor [13:45:02]Read from MH i2c: 01 [13:45:02]MH_I2C_Read... [13:45:02]*** Stop cut motor [13:45:02]Read from MH i2c: 01 *** Cut end [13:45:02]07 00 [13:45:02]MH_I2C_Read... [13:45:02]Read from MH i2c: 01 07 00 F6 06 00 00 00 00 00 FF 0F 11 [13:45:02]process_action close_receipt done [13:45:02]requested_data is exist [13:45:02]produce_requested_data [13:45:02]requested_item fm.sn is exist - process it [13:45:02]wFMCommunicate request_size=4 [13:45:02]MH_SAM_APDU [13:45:02]CAPDU: 80 11 00 00 [13:45:02]Write to MH i2c: E2 08 00 F7 06 80 11 00 00 00 00 00 00 77 [13:45:02]Write i2c OK [13:45:02]MH_I2C_Read... [13:45:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:45:02]Read from MH i2c: E2 [13:45:02]MH_I2C_Read... [13:45:02]Read from MH i2c: E2 17 00 [13:45:02]MH_I2C_Read... [13:45:02]Read from MH i2c: E2 17 00 F7 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 D0 [13:45:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [13:45:02]wFMCommunicate OK [13:45:02]requested_item fd.num is exist - process it [13:45:02]SAM_PROTO_GetFieldsCounters [13:45:02]wFMCommunicate request_size=4 [13:45:02]MH_SAM_APDU [13:45:02]CAPDU: 80 13 00 00 [13:45:02]Write to MH i2c: E2 08 00 F8 06 80 13 00 00 00 00 00 00 7A [13:45:02]Write i2c OK [13:45:02]MH_I2C_Read... [13:45:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:45:02]Read from MH i2c: E2 [13:45:02]MH_I2C_Read... [13:45:02]Read from MH i2c: E2 62 00 [13:45:02]MH_I2C_Read... [13:45:02]Read from MH i2c: E2 62 00 F8 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 0B 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 16 [13:45:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 0B 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:45:02]wFMCommunicate OK [13:45:02]SAM_PROTO_GetFieldsCounters done [13:45:02]requested_item shift.num is exist - process it [13:45:02]requested_item shift.opened is exist - process it [13:45:02]req_shift_opened [13:45:02]FM_GetShiftState [13:45:02]SAM_PROTO_GetShiftState [13:45:02]wFMCommunicate request_size=4 [13:45:02]MH_SAM_APDU [13:45:02]CAPDU: 80 13 01 00 [13:45:02]Write to MH i2c: E2 08 00 F9 06 80 13 01 00 00 00 00 00 7C [13:45:02]Write i2c OK [13:45:02]MH_I2C_Read... [13:45:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:45:02]Read from MH i2c: E2 [13:45:02]MH_I2C_Read... [13:45:02]Read from MH i2c: E2 0E 00 [13:45:02]MH_I2C_Read... [13:45:02]Read from MH i2c: E2 0E 00 F9 06 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 69 [13:45:02]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [13:45:02]wFMCommunicate OK [13:45:02]SAM_PROTO_GetShiftState done [13:45:02]FM_GetShiftState done [13:45:02]req_shift_opened done [13:45:02]requested_item shift.open_date is exist - process it [13:45:02]req_shift_open_date [13:45:02]req_shift_open_date done [13:45:02]produce_requested_data done [13:45:02]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18955,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [13:45:02]process_action_free close_receipt [13:45:02]json_value_free [13:45:02]json_value_free done [13:45:02]process_json_proto returns [13:45:02]Send response to host [13:45:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18955,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [13:45:02]free response buf [13:45:02]execute_script done [13:45:02]execute_script returns [13:45:02]free content buf [13:45:02]Sock 9.Close socket [13:45:02]Sock 9.Thread stoped [13:45:07]OFD Sender: No OFD packet to send [13:45:12]OFD Sender: No OFD packet to send [13:45:17]OFD Sender: No OFD packet to send [13:45:22]OFD Sender: No OFD packet to send [13:45:27]OFD Sender: No OFD packet to send [13:45:32]OFD Sender: No OFD packet to send [13:45:37]OFD Sender: No OFD packet to send [13:45:42]OFD Sender: No OFD packet to send [13:45:47]OFD Sender: No OFD packet to send [13:45:52]OFD Sender: No OFD packet to send [13:45:57]OFD Sender: No OFD packet to send [13:46:02]OFD Sender: No OFD packet to send [13:46:07]OFD Sender: No OFD packet to send [13:46:12]OFD Sender: No OFD packet to send [13:46:17]OFD Sender: No OFD packet to send [13:46:22]OFD Sender: No OFD packet to send [13:46:27]OFD Sender: No OFD packet to send [13:46:32]OFD Sender: No OFD packet to send [13:46:37]OFD Sender: No OFD packet to send [13:46:42]OFD Sender: No OFD packet to send [13:46:47]OFD Sender: No OFD packet to send [13:46:52]OFD Sender: No OFD packet to send [13:46:57]OFD Sender: No OFD packet to send [13:47:02]OFD Sender: No OFD packet to send [13:47:07]OFD Sender: No OFD packet to send [13:47:12]OFD Sender: No OFD packet to send [13:47:17]OFD Sender: No OFD packet to send [13:47:22]OFD Sender: No OFD packet to send [13:47:27]OFD Sender: No OFD packet to send [13:47:32]OFD Sender: No OFD packet to send [13:47:37]OFD Sender: No OFD packet to send [13:47:42]OFD Sender: No OFD packet to send [13:47:47]OFD Sender: No OFD packet to send [13:47:52]OFD Sender: No OFD packet to send [13:47:57]OFD Sender: No OFD packet to send [13:48:02]OFD Sender: No OFD packet to send [13:48:07]OFD Sender: No OFD packet to send [13:48:12]OFD Sender: No OFD packet to send [13:48:17]OFD Sender: No OFD packet to send [13:48:22]OFD Sender: No OFD packet to send [13:48:27]OFD Sender: No OFD packet to send [13:48:32]OFD Sender: No OFD packet to send [13:48:37]OFD Sender: No OFD packet to send [13:48:42]OFD Sender: No OFD packet to send [13:48:47]OFD Sender: No OFD packet to send [13:48:52]OFD Sender: No OFD packet to send [13:48:57]OFD Sender: No OFD packet to send [13:49:02]OFD Sender: No OFD packet to send [13:49:07]OFD Sender: No OFD packet to send [13:49:12]OFD Sender: No OFD packet to send [13:49:17]OFD Sender: No OFD packet to send [13:49:22]OFD Sender: No OFD packet to send [13:49:27]OFD Sender: No OFD packet to send [13:49:29]accept exits with 8 [13:49:29]New connection [13:49:29]New thread 3066621284 created [13:49:29]Thread 3066764644 joined [13:49:29]Waiting for new connection... [13:49:29] Sock 8.Parse request [13:49:29]Sock 8.Check first char [13:49:29]Sock 8.First char is OK [13:49:29]request: POST /json_proto HTTP/1.0 [13:49:29]Method: POST [13:49:29]URL: /json_proto [13:49:29]Method is POST - this is cgi request [13:49:29]url: /json_proto [13:49:29]query_string will be loaded in cgi processing [13:49:29]execute_cgi json_proto POST (null) [13:49:29]execute_cgi path=json_proto method=POST [13:49:29]POST find Content-Length [13:49:29]Host: 172.17.62.196:8080 [13:49:29]Content-Length: 625 [13:49:29]Content-Type: application/json [13:49:29] [13:49:29]POST finish read [13:49:29]Found Content-Length = 625 [13:49:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16876", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:49:29]execute_script... [13:49:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16876", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:49:29]POST & json_proto [13:49:29]process_json_proto [13:49:29]json parsed OK: [13:49:29]protocol is kg_v1.0 [13:49:29]action value=close_receipt [13:49:29]process_action close_receipt [13:49:29]cmd_close_receipt [13:49:29]MH_GetDate [13:49:29]Write to MH i2c: F0 00 00 FA 06 EF [13:49:29]Write i2c OK [13:49:29]MH_I2C_Read... [13:49:29]Read from MH i2c: F0 [13:49:29]MH_I2C_Read... [13:49:29]Read from MH i2c: F0 09 00 [13:49:29]MH_I2C_Read... [13:49:29]Read from MH i2c: F0 09 00 FA 06 00 EA 14 F4 66 CE CC 0E 66 5E [13:49:29]GetLastDocTimeStamp 1727271900 [13:49:29]current date 1727272170 [13:49:29]FM_GetShiftState [13:49:29]SAM_PROTO_GetShiftState [13:49:29]wFMCommunicate request_size=4 [13:49:29]MH_SAM_APDU [13:49:29]CAPDU: 80 13 01 00 [13:49:29]Write to MH i2c: E2 08 00 FB 06 80 13 01 00 00 00 00 00 7E [13:49:29]Write i2c OK [13:49:29]MH_I2C_Read... [13:49:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:49:29]Read from MH i2c: E2 [13:49:29]MH_I2C_Read... [13:49:29]Read from MH i2c: E2 0E 00 [13:49:29]MH_I2C_Read... [13:49:29]Read from MH i2c: E2 0E 00 FB 06 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 6B [13:49:29]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [13:49:29]wFMCommunicate OK [13:49:29]SAM_PROTO_GetShiftState done [13:49:29]FM_GetShiftState done [13:49:29]opened in 1727223091 [13:49:29]opened+sec_in_day 1727309491 [13:49:29]quantity*price = 11500 [13:49:29]sum+1 = 11501 [13:49:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 34 25.09.2024 13:49 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18956 ФПД: 211371802255754 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T134930&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18956&fm=211371802255754&tin=02508201610067®Number=0000000000152968&sum=11500 0 [13:49:30]StoreToDocumentArchive [13:49:30]shift 183 fd 18956 [13:49:30]save to /storage/0183/doc_00018956 [13:49:30]save last doc name /storage/0183/doc_00018956 to /storage/kkm_last_doc_name [13:49:30]save OK [13:49:30]Clear old archive folders... [13:49:30]ProcessDocumentItem done err = 0, tmpTLVsize=274 [13:49:30]tlvbuf is 015DE7C0 [13:49:30]SAM_PROTO_ClearQueue [13:49:30]wFMCommunicate request_size=4 [13:49:30]MH_SAM_APDU [13:49:30]CAPDU: 80 09 00 00 [13:49:30]Write to MH i2c: E2 08 00 08 07 80 09 00 00 00 00 00 00 81 [13:49:30]Write i2c OK [13:49:30]MH_I2C_Read... [13:49:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:49:30]Read from MH i2c: E2 [13:49:30]MH_I2C_Read... [13:49:30]Read from MH i2c: E2 03 00 [13:49:30]MH_I2C_Read... [13:49:30]Read from MH i2c: E2 03 00 08 07 00 90 00 83 [13:49:30]RAPDU: 90 00 [13:49:30]wFMCommunicate OK [13:49:30]SAM_PROTO_ClearQueue done [13:49:30]KKMCreateOFDPacket [13:49:30]OFDProtocolAddRootSTLVToBuf [13:49:30]FM_MakeSignedData [13:49:30]FM_MakeSignedData [13:49:30]SAM_PROTO_SignData [13:49:30]wFMCommunicate request_size=4 [13:49:30]MH_SAM_APDU [13:49:30]CAPDU: 80 0D 01 02 [13:49:30]Write to MH i2c: E2 08 00 09 07 80 0D 01 02 00 00 00 00 89 [13:49:30]Write i2c OK [13:49:30]MH_I2C_Read... [13:49:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:49:30]Read from MH i2c: E2 [13:49:30]MH_I2C_Read... [13:49:30]Read from MH i2c: E2 03 00 [13:49:30]MH_I2C_Read... [13:49:30]Read from MH i2c: E2 03 00 09 07 00 90 00 84 [13:49:30]RAPDU: 90 00 [13:49:30]wFMCommunicate OK [13:49:30]wFMCommunicate request_size=255 [13:49:30]MH_SAM_APDU [13:49:30]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 EA 14 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 [13:49:30]Write to MH i2c: E2 02 01 0A 07 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 EA 14 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 00 00 5C [13:49:30]Write i2c OK [13:49:30]MH_I2C_Read... [13:49:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:49:30]Read from MH i2c: E2 [13:49:30]MH_I2C_Read... [13:49:30]Read from MH i2c: E2 03 00 [13:49:30]MH_I2C_Read... [13:49:30]Read from MH i2c: E2 03 00 0A 07 00 90 00 85 [13:49:30]RAPDU: 90 00 [13:49:30]wFMCommunicate OK [13:49:30]wFMCommunicate request_size=33 [13:49:30]MH_SAM_APDU [13:49:30]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0C 4A 00 00 35 04 06 00 C0 3D D5 30 61 8A [13:49:30]Write to MH i2c: E2 24 00 0B 07 80 0D 02 02 1C 00 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0C 4A 00 00 35 04 06 00 C0 3D D5 30 61 8A 00 00 64 [13:49:30]Write i2c OK [13:49:30]MH_I2C_Read... [13:49:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:49:30]Read from MH i2c: E2 [13:49:30]MH_I2C_Read... [13:49:30]Read from MH i2c: E2 03 00 [13:49:30]MH_I2C_Read... [13:49:30]Read from MH i2c: E2 03 00 0B 07 00 90 00 86 [13:49:30]RAPDU: 90 00 [13:49:30]wFMCommunicate OK [13:49:30]wFMCommunicate request_size=4 [13:49:30]MH_SAM_APDU [13:49:30]CAPDU: 80 0D 03 02 [13:49:30]Write to MH i2c: E2 08 00 0C 07 80 0D 03 02 00 00 00 00 8E [13:49:30]Write i2c OK [13:49:30]MH_I2C_Read... [13:49:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:49:30]Read from MH i2c: E2 [13:49:30]MH_I2C_Read... [13:49:30]Read from MH i2c: E2 0B 00 [13:49:30]MH_I2C_Read... [13:49:30]Read from MH i2c: E2 0B 00 0C 07 00 04 A6 2D 3A 2C A1 DE 82 90 00 CD [13:49:30]RAPDU: 04 A6 2D 3A 2C A1 DE 82 90 00 [13:49:30]wFMCommunicate OK [13:49:30]SAM_PROTO_SignData done [13:49:30]FM_MakeSignedData done [13:49:30]CreateOFDProtocolMessage [13:49:30]wFMCommunicate request_size=4 [13:49:30]MH_SAM_APDU [13:49:30]CAPDU: 80 11 00 00 [13:49:30]Write to MH i2c: E2 08 00 0D 07 80 11 00 00 00 00 00 00 8E [13:49:30]Write i2c OK [13:49:30]MH_I2C_Read... [13:49:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:49:31]Read from MH i2c: E2 [13:49:31]MH_I2C_Read... [13:49:31]Read from MH i2c: E2 17 00 [13:49:31]MH_I2C_Read... [13:49:31]Read from MH i2c: E2 17 00 0D 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 E7 [13:49:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [13:49:31]wFMCommunicate OK [13:49:31]CreateOFDProtocolMessage done [13:49:31]OFDSenderStorePacket 18956 [13:49:31]StoreOFDPacket docnum=18956 [13:49:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 A7 1A 1E 01 22 15 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 EA 14 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0C 4A 00 00 35 04 06 00 C0 3D D5 30 61 8A 04 A6 2D 3A 2C A1 DE 82 [13:49:31]CheckFolder [13:49:31]dirname=/storage/ofd_packets [13:49:31]CheckFolder done [13:49:31]ProducePacketName [13:49:31]name=ofd_packets/00018956 [13:49:31]NVStorageSaveData ofd_packets/00018956 [13:49:31]File name is /storage/ofd_packets/00018956 [13:49:31]Write 324 bytes [13:49:31]NVStorageSaveData done [13:49:31]OFDSenderStorePacket done [13:49:31]KKMCreateOFDPacket done [13:49:31]NVStorageSaveData kkm_last_timestamp [13:49:31]File name is /storage/kkm_last_timestamp [13:49:31]Write 4 bytes [13:49:31]NVStorageSaveData done [13:49:31]ExternCall_PrintAddStr [13:49:31]wPrintStart [13:49:31]Write to MH i2c: 01 00 00 0E 07 15 [13:49:31]Write i2c OK [13:49:31]MH_I2C_Read... [13:49:31]Read from MH i2c: 01 [13:49:31]MH_I2C_Read... [13:49:31]Read from MH i2c: 01 07 00 [13:49:31]MH_I2C_Read... [13:49:31]Read from MH i2c: 01 07 00 0E 07 00 00 00 00 00 FF 0F 2A [13:49:31]RasterBufferAndPrint [13:49:31]line Счет N : (3)16876 [13:49:31]line ИНН: 02508201610067 [13:49:31]line Контрольно-Кассовый Чек [13:49:31]line ПРОДАЖА [13:49:31]line Товар: 2000036240010 [13:49:31]line Кофе Латте (GABB TRADE) [13:49:31]line 1.000 * 115.00 [13:49:31]line = 115.00 [13:49:31]line НДС 12% НСП 1% [13:49:31]line > о реализуемом товаре [13:49:31]line ИТОГО: 115.00 [13:49:31]line НСП 1% : 1.02 [13:49:31]line НДС 12% : 12.21 [13:49:31]line Наличными: 115.00 [13:49:31]line Безнал.: 0.00 [13:49:31]line Место: АЗС № 176 "Партнер Нефть" [13:49:31]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [13:49:31]line СНО: Общий режим [13:49:31]line Чек 34 25.09.2024 13:49 [13:49:31]line Смена: 183 ФФД: 1.0 [13:49:31]line ЗНМ: 0300000010 [13:49:31]line РНМ: 0000000000152968 [13:49:31]line Версия ККМ: v1.0 [13:49:31]line ФМ: 0000000000959456 [13:49:31]line ФД: 18956 [13:49:31]line ФПД: 211371802255754 [13:49:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T134930&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18956&fm=211371802255754&tin=02508201610067®Number=0000000000152968&sum=11500 [13:49:31]line 0 [13:49:31]OFD Sender: Processing packet 18956 [packets to send 7, broken 6] [13:49:31]ProducePacketName [13:49:31]name=ofd_packets/00018956 [13:49:31]OFD Sender: To server: pG, [13:49:31]CommunicateWithHost lk.salyk.kg:30040 [13:49:31]ConnectInit lk.salyk.kg [13:49:31]written 0, free lines is 4095 [13:49:31]Connected sock=10 [13:49:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 A7 1A 1E 01 22 15 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 EA 14 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0C 4A 00 00 35 04 06 00 C0 3D D5 30 61 8A 04 A6 2D 3A 2C A1 DE 82 [13:49:31]Write to MH i2c: 01 00 00 36 07 3D [13:49:31]Write i2c OK [13:49:31]MH_I2C_Read... [13:49:31]Read from MH i2c: 01 [13:49:31]MH_I2C_Read... [13:49:31]Read from MH i2c: 01 07 00 [13:49:31]MH_I2C_Read... [13:49:31]Read from MH i2c: 01 07 00 36 07 00 00 00 00 00 16 0D 67 [13:49:31]RasterBufferAndPrint [13:49:31]line [13:49:31]line [13:49:31]line [13:49:31]line [13:49:31]line [13:49:31]written 0, free lines is 3357 [13:49:31]MH_Cut [13:49:31]Write to MH i2c: D1 01 00 3D 07 01 16 [13:49:31]Write i2c OK [13:49:31]MH_I2C_Read... [13:49:31]Read from MH i2c: D1 [13:49:31]MH_I2C_Read... [13:49:31]Read from MH i2c: D1 01 00 [13:49:31]MH_I2C_Read... [13:49:31]Read from MH i2c: D1 01 00 3D 07 00 15 [13:49:31]Write to MH i2c: 01 00 00 3E 07 45 [13:49:31]Write i2c OK [13:49:31]MH_I2C_Read... [13:49:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 A2 5C 47 00 9E 8E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0C 4A 00 00 F4 03 04 00 48 BE F3 66 B6 04 01 00 00 11 4C 5C 85 FC BB 0F 45 [13:49:31]CommunicateWithHost err = 0 [13:49:31]CheckOFDResponse [13:49:31]1017 (14) - 77093643461234 [13:49:31]1041 (16) - 0000000000959456 [13:49:31]1040 (4) - 18956 [13:49:31]1012 (4) - 25.09.2024 07:39 [13:49:31]1206 (1) - 0 [13:49:31]OFD Sender: Remove packet 18956 [13:49:31]ProducePacketName [13:49:31]name=ofd_packets/00018956 [13:49:31]NVStorageDeleteData [13:49:32]*** Cut start [13:49:32]*** Partial cut [13:49:32]*** CUTSNS_PIN = 1 [13:49:32]OFD Sender: No OFD packet to send [13:49:32]*** CUTSNS_PIN = 0 [13:49:32]*** Brake cut motor [13:49:32]Read from MH i2c: 01 [13:49:32]MH_I2C_Read... [13:49:32]*** Stop cut motor [13:49:33]*** Cut end [13:49:33]Read from MH i2c: 01 07 00 [13:49:33]MH_I2C_Read... [13:49:33]Read from MH i2c: 01 07 00 3E 07 00 00 00 00 00 FF 0F 5A [13:49:33]process_action close_receipt done [13:49:33]requested_data is exist [13:49:33]produce_requested_data [13:49:33]requested_item fm.sn is exist - process it [13:49:33]wFMCommunicate request_size=4 [13:49:33]MH_SAM_APDU [13:49:33]CAPDU: 80 11 00 00 [13:49:33]Write to MH i2c: E2 08 00 3F 07 80 11 00 00 00 00 00 00 C0 [13:49:33]Write i2c OK [13:49:33]MH_I2C_Read... [13:49:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:49:33]Read from MH i2c: E2 [13:49:33]MH_I2C_Read... [13:49:33]Read from MH i2c: E2 17 00 [13:49:33]MH_I2C_Read... [13:49:33]Read from MH i2c: E2 17 00 3F 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 19 [13:49:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [13:49:33]wFMCommunicate OK [13:49:33]requested_item fd.num is exist - process it [13:49:33]SAM_PROTO_GetFieldsCounters [13:49:33]wFMCommunicate request_size=4 [13:49:33]MH_SAM_APDU [13:49:33]CAPDU: 80 13 00 00 [13:49:33]Write to MH i2c: E2 08 00 40 07 80 13 00 00 00 00 00 00 C3 [13:49:33]Write i2c OK [13:49:33]MH_I2C_Read... [13:49:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:49:33]Read from MH i2c: E2 [13:49:33]MH_I2C_Read... [13:49:33]Read from MH i2c: E2 62 00 [13:49:33]MH_I2C_Read... [13:49:33]Read from MH i2c: E2 62 00 40 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 0C 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 63 [13:49:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 0C 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:49:33]wFMCommunicate OK [13:49:33]SAM_PROTO_GetFieldsCounters done [13:49:33]requested_item shift.num is exist - process it [13:49:33]requested_item shift.opened is exist - process it [13:49:33]req_shift_opened [13:49:33]FM_GetShiftState [13:49:33]SAM_PROTO_GetShiftState [13:49:33]wFMCommunicate request_size=4 [13:49:33]MH_SAM_APDU [13:49:33]CAPDU: 80 13 01 00 [13:49:33]Write to MH i2c: E2 08 00 41 07 80 13 01 00 00 00 00 00 C5 [13:49:33]Write i2c OK [13:49:33]MH_I2C_Read... [13:49:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:49:33]Read from MH i2c: E2 [13:49:33]MH_I2C_Read... [13:49:33]Read from MH i2c: E2 0E 00 [13:49:33]MH_I2C_Read... [13:49:33]Read from MH i2c: E2 0E 00 41 07 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 B2 [13:49:33]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [13:49:33]wFMCommunicate OK [13:49:33]SAM_PROTO_GetShiftState done [13:49:33]FM_GetShiftState done [13:49:33]req_shift_opened done [13:49:33]requested_item shift.open_date is exist - process it [13:49:33]req_shift_open_date [13:49:33]req_shift_open_date done [13:49:33]produce_requested_data done [13:49:33]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18956,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [13:49:33]process_action_free close_receipt [13:49:33]json_value_free [13:49:33]json_value_free done [13:49:33]process_json_proto returns [13:49:33]Send response to host [13:49:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18956,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [13:49:33]free response buf [13:49:33]execute_script done [13:49:33]execute_script returns [13:49:33]free content buf [13:49:33]Sock 8.Close socket [13:49:33]Sock 8.Thread stoped [13:49:37]OFD Sender: No OFD packet to send [13:49:42]OFD Sender: No OFD packet to send [13:49:47]OFD Sender: No OFD packet to send [13:49:52]OFD Sender: No OFD packet to send [13:49:57]OFD Sender: No OFD packet to send [13:50:02]OFD Sender: No OFD packet to send [13:50:07]OFD Sender: No OFD packet to send [13:50:12]OFD Sender: No OFD packet to send [13:50:17]OFD Sender: No OFD packet to send [13:50:22]OFD Sender: No OFD packet to send [13:50:27]OFD Sender: No OFD packet to send [13:50:30]recv_with_timeout no data received [13:50:32]OFD Sender: No OFD packet to send [13:50:37]OFD Sender: No OFD packet to send [13:50:42]OFD Sender: No OFD packet to send [13:50:47]OFD Sender: No OFD packet to send [13:50:52]OFD Sender: No OFD packet to send [13:50:57]OFD Sender: No OFD packet to send [13:51:02]OFD Sender: No OFD packet to send [13:51:07]OFD Sender: No OFD packet to send [13:51:12]OFD Sender: No OFD packet to send [13:51:17]OFD Sender: No OFD packet to send [13:51:22]OFD Sender: No OFD packet to send [13:51:27]OFD Sender: No OFD packet to send [13:51:32]OFD Sender: No OFD packet to send [13:51:37]OFD Sender: No OFD packet to send [13:51:42]OFD Sender: No OFD packet to send [13:51:47]OFD Sender: No OFD packet to send [13:51:52]OFD Sender: No OFD packet to send [13:51:57]OFD Sender: No OFD packet to send [13:52:02]OFD Sender: No OFD packet to send [13:52:07]OFD Sender: No OFD packet to send [13:52:12]OFD Sender: No OFD packet to send [13:52:17]OFD Sender: No OFD packet to send [13:52:22]OFD Sender: No OFD packet to send [13:52:27]OFD Sender: No OFD packet to send [13:52:32]OFD Sender: No OFD packet to send [13:52:37]OFD Sender: No OFD packet to send [13:52:42]OFD Sender: No OFD packet to send [13:52:47]OFD Sender: No OFD packet to send [13:52:52]OFD Sender: No OFD packet to send [13:52:57]OFD Sender: No OFD packet to send [13:53:02]OFD Sender: No OFD packet to send [13:53:07]OFD Sender: No OFD packet to send [13:53:12]OFD Sender: No OFD packet to send [13:53:17]OFD Sender: No OFD packet to send [13:53:22]OFD Sender: No OFD packet to send [13:53:27]OFD Sender: No OFD packet to send [13:53:32]OFD Sender: No OFD packet to send [13:53:37]OFD Sender: No OFD packet to send [13:53:42]OFD Sender: No OFD packet to send [13:53:47]OFD Sender: No OFD packet to send [13:53:52]OFD Sender: No OFD packet to send [13:53:57]OFD Sender: No OFD packet to send [13:54:02]OFD Sender: No OFD packet to send [13:54:07]OFD Sender: No OFD packet to send [13:54:12]OFD Sender: No OFD packet to send [13:54:17]OFD Sender: No OFD packet to send [13:54:22]OFD Sender: No OFD packet to send [13:54:27]OFD Sender: No OFD packet to send [13:54:32]OFD Sender: No OFD packet to send [13:54:37]OFD Sender: No OFD packet to send [13:54:42]OFD Sender: No OFD packet to send [13:54:47]OFD Sender: No OFD packet to send [13:54:52]OFD Sender: No OFD packet to send [13:54:57]OFD Sender: No OFD packet to send [13:55:02]OFD Sender: No OFD packet to send [13:55:07]OFD Sender: No OFD packet to send [13:55:12]OFD Sender: No OFD packet to send [13:55:17]OFD Sender: No OFD packet to send [13:55:22]OFD Sender: No OFD packet to send [13:55:27]OFD Sender: No OFD packet to send [13:55:32]OFD Sender: No OFD packet to send [13:55:37]OFD Sender: No OFD packet to send [13:55:42]OFD Sender: No OFD packet to send [13:55:47]OFD Sender: No OFD packet to send [13:55:52]OFD Sender: No OFD packet to send [13:55:57]OFD Sender: No OFD packet to send [13:56:02]OFD Sender: No OFD packet to send [13:56:07]OFD Sender: No OFD packet to send [13:56:12]OFD Sender: No OFD packet to send [13:56:17]OFD Sender: No OFD packet to send [13:56:22]OFD Sender: No OFD packet to send [13:56:27]accept exits with 9 [13:56:27]New connection [13:56:27]New thread 3066764644 created [13:56:27]Thread 3066621284 joined [13:56:27]Waiting for new connection... [13:56:27] Sock 9.Parse request [13:56:27]Sock 9.Check first char [13:56:27]Sock 9.First char is OK [13:56:27]request: POST /json_proto HTTP/1.0 [13:56:27]Method: POST [13:56:27]URL: /json_proto [13:56:27]Method is POST - this is cgi request [13:56:27]url: /json_proto [13:56:27]query_string will be loaded in cgi processing [13:56:27]execute_cgi json_proto POST (null) [13:56:27]execute_cgi path=json_proto method=POST [13:56:27]POST find Content-Length [13:56:27]Host: 172.17.62.196:8080 [13:56:27]Content-Length: 682 [13:56:27]Content-Type: application/json [13:56:27] [13:56:27]POST finish read [13:56:27]Found Content-Length = 682 [13:56:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16877", "tax_sys" : 0, "items" : [ { "code": "4870002328398", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:56:27]execute_script... [13:56:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16877", "tax_sys" : 0, "items" : [ { "code": "4870002328398", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:56:27]POST & json_proto [13:56:27]process_json_proto [13:56:27]json parsed OK: [13:56:27]protocol is kg_v1.0 [13:56:27]action value=close_receipt [13:56:27]process_action close_receipt [13:56:27]cmd_close_receipt [13:56:27]MH_GetDate [13:56:27]Write to MH i2c: F0 00 00 42 07 38 [13:56:27]Write i2c OK [13:56:27]MH_I2C_Read... [13:56:27]Read from MH i2c: F0 [13:56:27]MH_I2C_Read... [13:56:27]Read from MH i2c: F0 09 00 [13:56:27]MH_I2C_Read... [13:56:27]Read from MH i2c: F0 09 00 42 07 00 8D 16 F4 66 CE CC 0E 66 4C [13:56:27]GetLastDocTimeStamp 1727272170 [13:56:27]current date 1727272589 [13:56:27]FM_GetShiftState [13:56:27]SAM_PROTO_GetShiftState [13:56:27]wFMCommunicate request_size=4 [13:56:27]MH_SAM_APDU [13:56:27]CAPDU: 80 13 01 00 [13:56:27]Write to MH i2c: E2 08 00 43 07 80 13 01 00 00 00 00 00 C7 [13:56:27]Write i2c OK [13:56:27]MH_I2C_Read... [13:56:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:56:27]Read from MH i2c: E2 [13:56:27]MH_I2C_Read... [13:56:27]Read from MH i2c: E2 0E 00 [13:56:27]MH_I2C_Read... [13:56:27]Read from MH i2c: E2 0E 00 43 07 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 B4 [13:56:27]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [13:56:27]wFMCommunicate OK [13:56:27]SAM_PROTO_GetShiftState done [13:56:27]FM_GetShiftState done [13:56:27]opened in 1727223091 [13:56:27]opened+sec_in_day 1727309491 [13:56:27]quantity*price = 10000 [13:56:27]sum+1 = 10001 [13:56:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 35 25.09.2024 13:56 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18957 ФПД: 239844809512463 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T135629&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18957&fm=239844809512463&tin=02508201610067®Number=0000000000152968&sum=10000 0 [13:56:28]StoreToDocumentArchive [13:56:28]shift 183 fd 18957 [13:56:28]save to /storage/0183/doc_00018957 [13:56:28]save last doc name /storage/0183/doc_00018957 to /storage/kkm_last_doc_name [13:56:28]save OK [13:56:28]Clear old archive folders... [13:56:28]ProcessDocumentItem done err = 0, tmpTLVsize=291 [13:56:28]tlvbuf is 01604070 [13:56:28]SAM_PROTO_ClearQueue [13:56:28]wFMCommunicate request_size=4 [13:56:28]MH_SAM_APDU [13:56:28]CAPDU: 80 09 00 00 [13:56:28]Write to MH i2c: E2 08 00 50 07 80 09 00 00 00 00 00 00 C9 [13:56:28]Write i2c OK [13:56:28]MH_I2C_Read... [13:56:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:56:28]Read from MH i2c: E2 [13:56:28]MH_I2C_Read... [13:56:28]Read from MH i2c: E2 03 00 [13:56:28]MH_I2C_Read... [13:56:28]Read from MH i2c: E2 03 00 50 07 00 90 00 CB [13:56:28]RAPDU: 90 00 [13:56:28]wFMCommunicate OK [13:56:28]SAM_PROTO_ClearQueue done [13:56:28]KKMCreateOFDPacket [13:56:28]OFDProtocolAddRootSTLVToBuf [13:56:28]FM_MakeSignedData [13:56:28]FM_MakeSignedData [13:56:28]SAM_PROTO_SignData [13:56:28]wFMCommunicate request_size=4 [13:56:28]MH_SAM_APDU [13:56:28]CAPDU: 80 0D 01 02 [13:56:28]Write to MH i2c: E2 08 00 51 07 80 0D 01 02 00 00 00 00 D1 [13:56:28]Write i2c OK [13:56:28]MH_I2C_Read... [13:56:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:56:28]Read from MH i2c: E2 [13:56:28]MH_I2C_Read... [13:56:28]Read from MH i2c: E2 03 00 [13:56:28]MH_I2C_Read... [13:56:28]Read from MH i2c: E2 03 00 51 07 00 90 00 CC [13:56:28]RAPDU: 90 00 [13:56:28]wFMCommunicate OK [13:56:28]wFMCommunicate request_size=255 [13:56:28]MH_SAM_APDU [13:56:28]CAPDU: 80 0D 02 02 FA 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 8D 16 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 [13:56:28]Write to MH i2c: E2 02 01 52 07 80 0D 02 02 FA 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 8D 16 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 00 00 CC [13:56:28]Write i2c OK [13:56:28]MH_I2C_Read... [13:56:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:56:29]Read from MH i2c: E2 [13:56:29]MH_I2C_Read... [13:56:29]Read from MH i2c: E2 03 00 [13:56:29]MH_I2C_Read... [13:56:29]Read from MH i2c: E2 03 00 52 07 00 90 00 CD [13:56:29]RAPDU: 90 00 [13:56:29]wFMCommunicate OK [13:56:29]wFMCommunicate request_size=50 [13:56:29]MH_SAM_APDU [13:56:29]CAPDU: 80 0D 02 02 2D 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0D 4A 00 00 35 04 06 00 DA 23 38 AC 16 0F [13:56:29]Write to MH i2c: E2 35 00 53 07 80 0D 02 02 2D 00 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0D 4A 00 00 35 04 06 00 DA 23 38 AC 16 0F 00 00 9C [13:56:29]Write i2c OK [13:56:29]MH_I2C_Read... [13:56:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:56:29]Read from MH i2c: E2 [13:56:29]MH_I2C_Read... [13:56:29]Read from MH i2c: E2 03 00 [13:56:29]MH_I2C_Read... [13:56:29]Read from MH i2c: E2 03 00 53 07 00 90 00 CE [13:56:29]RAPDU: 90 00 [13:56:29]wFMCommunicate OK [13:56:29]wFMCommunicate request_size=4 [13:56:29]MH_SAM_APDU [13:56:29]CAPDU: 80 0D 03 02 [13:56:29]Write to MH i2c: E2 08 00 54 07 80 0D 03 02 00 00 00 00 D6 [13:56:29]Write i2c OK [13:56:29]MH_I2C_Read... [13:56:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:56:29]Read from MH i2c: E2 [13:56:29]MH_I2C_Read... [13:56:29]Read from MH i2c: E2 0B 00 [13:56:29]MH_I2C_Read... [13:56:29]Read from MH i2c: E2 0B 00 54 07 00 B0 F5 B0 A7 6E 8C D6 9F 90 00 42 [13:56:29]RAPDU: B0 F5 B0 A7 6E 8C D6 9F 90 00 [13:56:29]wFMCommunicate OK [13:56:29]SAM_PROTO_SignData done [13:56:29]FM_MakeSignedData done [13:56:29]CreateOFDProtocolMessage [13:56:29]wFMCommunicate request_size=4 [13:56:29]MH_SAM_APDU [13:56:29]CAPDU: 80 11 00 00 [13:56:29]Write to MH i2c: E2 08 00 55 07 80 11 00 00 00 00 00 00 D6 [13:56:29]Write i2c OK [13:56:29]MH_I2C_Read... [13:56:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:56:29]Read from MH i2c: E2 [13:56:29]MH_I2C_Read... [13:56:29]Read from MH i2c: E2 17 00 [13:56:29]MH_I2C_Read... [13:56:29]Read from MH i2c: E2 17 00 55 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 2F [13:56:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [13:56:29]wFMCommunicate OK [13:56:29]CreateOFDProtocolMessage done [13:56:29]OFDSenderStorePacket 18957 [13:56:29]StoreOFDPacket docnum=18957 [13:56:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 37 01 00 00 74 60 2F 01 A5 D6 5A 03 01 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 8D 16 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0D 4A 00 00 35 04 06 00 DA 23 38 AC 16 0F B0 F5 B0 A7 6E 8C D6 9F [13:56:29]CheckFolder [13:56:29]dirname=/storage/ofd_packets [13:56:29]CheckFolder done [13:56:29]ProducePacketName [13:56:29]name=ofd_packets/00018957 [13:56:29]NVStorageSaveData ofd_packets/00018957 [13:56:29]File name is /storage/ofd_packets/00018957 [13:56:29]Write 341 bytes [13:56:29]NVStorageSaveData done [13:56:29]OFDSenderStorePacket done [13:56:29]KKMCreateOFDPacket done [13:56:29]NVStorageSaveData kkm_last_timestamp [13:56:29]File name is /storage/kkm_last_timestamp [13:56:29]Write 4 bytes [13:56:29]NVStorageSaveData done [13:56:29]ExternCall_PrintAddStr [13:56:29]wPrintStart [13:56:29]Write to MH i2c: 01 00 00 56 07 5D [13:56:29]Write i2c OK [13:56:29]MH_I2C_Read... [13:56:29]Read from MH i2c: 01 [13:56:29]MH_I2C_Read... [13:56:29]Read from MH i2c: 01 07 00 [13:56:29]MH_I2C_Read... [13:56:29]Read from MH i2c: 01 07 00 56 07 00 00 00 00 00 FF 0F 72 [13:56:29]RasterBufferAndPrint [13:56:29]line Счет N : (3)16877 [13:56:29]line ИНН: 02508201610067 [13:56:29]line Контрольно-Кассовый Чек [13:56:29]line ПРОДАЖА [13:56:29]line Товар: 4870002328398 [13:56:29]line Вода ASU пит н.газ мята ПЭТ 1л [13:56:29]line 1.000 * 100.00 [13:56:29]line = 100.00 [13:56:29]line НДС 12% НСП 1% [13:56:29]line > о реализуемом товаре [13:56:29]line ИТОГО: 100.00 [13:56:29]line НСП 1% : 0.88 [13:56:29]line НДС 12% : 10.62 [13:56:29]line Наличными: 100.00 [13:56:29]line Безнал.: 0.00 [13:56:29]line Место: АЗС № 176 "Партнер Нефть" [13:56:29]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [13:56:29]line СНО: Общий режим [13:56:29]line Чек 35 25.09.2024 13:56 [13:56:29]line Смена: 183 ФФД: 1.0 [13:56:29]line ЗНМ: 0300000010 [13:56:29]line РНМ: 0000000000152968 [13:56:29]line Версия ККМ: v1.0 [13:56:29]line ФМ: 0000000000959456 [13:56:29]line ФД: 18957 [13:56:29]line ФПД: 239844809512463 [13:56:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T135629&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18957&fm=239844809512463&tin=02508201610067®Number=0000000000152968&sum=10000 [13:56:29]line 0 [13:56:29]OFD Sender: Processing packet 18957 [packets to send 7, broken 6] [13:56:29]ProducePacketName [13:56:29]name=ofd_packets/00018957 [13:56:29]OFD Sender: To server: pG, [13:56:29]CommunicateWithHost lk.salyk.kg:30040 [13:56:29]ConnectInit lk.salyk.kg [13:56:29]written 0, free lines is 4095 [13:56:29]Connected sock=10 [13:56:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 37 01 00 00 74 60 2F 01 A5 D6 5A 03 01 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 8D 16 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0D 4A 00 00 35 04 06 00 DA 23 38 AC 16 0F B0 F5 B0 A7 6E 8C D6 9F [13:56:30]Write to MH i2c: 01 00 00 7F 07 86 [13:56:30]Write i2c OK [13:56:30]MH_I2C_Read... [13:56:30]Read from MH i2c: 01 [13:56:30]MH_I2C_Read... [13:56:30]Read from MH i2c: 01 07 00 [13:56:30]MH_I2C_Read... [13:56:30]Read from MH i2c: 01 07 00 7F 07 00 00 00 00 00 04 0D 9E [13:56:30]RasterBufferAndPrint [13:56:30]line [13:56:30]line [13:56:30]line [13:56:30]line [13:56:30]line [13:56:30]written 0, free lines is 3338 [13:56:30]MH_Cut [13:56:30]Write to MH i2c: D1 01 00 86 07 01 5F [13:56:30]Write i2c OK [13:56:30]MH_I2C_Read... [13:56:30]Read from MH i2c: D1 [13:56:30]MH_I2C_Read... [13:56:30]Read from MH i2c: D1 01 00 [13:56:30]MH_I2C_Read... [13:56:30]Read from MH i2c: D1 01 00 86 07 00 5E [13:56:30]Write to MH i2c: 01 00 00 87 07 8E [13:56:30]Write i2c OK [13:56:30]MH_I2C_Read... [13:56:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 A1 60 47 00 4D 65 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0D 4A 00 00 F4 03 04 00 EA BF F3 66 B6 04 01 00 00 E5 3A 0B FA F3 89 6F 8B [13:56:30]CommunicateWithHost err = 0 [13:56:30]CheckOFDResponse [13:56:30]1017 (14) - 77093643461234 [13:56:30]1041 (16) - 0000000000959456 [13:56:30]1040 (4) - 18957 [13:56:30]1012 (4) - 25.09.2024 07:46 [13:56:30]1206 (1) - 0 [13:56:30]OFD Sender: Remove packet 18957 [13:56:30]ProducePacketName [13:56:30]name=ofd_packets/00018957 [13:56:30]NVStorageDeleteData [13:56:30]OFD Sender: No OFD packet to send [13:56:30]*** Cut start [13:56:30]*** Partial cut [13:56:30]*** CUTSNS_PIN = 1 [13:56:30]*** CUTSNS_PIN = 0 [13:56:30]*** Brake cut motor [13:56:31]Read from MH i2c: 01 [13:56:31]MH_I2C_Read... [13:56:31]*** Stop cut motor [13:56:31]*** Cut end [13:56:31]Read from MH i2c: 01 07 00 [13:56:31]MH_I2C_Read... [13:56:31]Read from MH i2c: 01 07 00 87 07 00 00 00 00 00 FF 0F A3 [13:56:31]process_action close_receipt done [13:56:31]requested_data is exist [13:56:31]produce_requested_data [13:56:31]requested_item fm.sn is exist - process it [13:56:31]wFMCommunicate request_size=4 [13:56:31]MH_SAM_APDU [13:56:31]CAPDU: 80 11 00 00 [13:56:31]Write to MH i2c: E2 08 00 88 07 80 11 00 00 00 00 00 00 09 [13:56:31]Write i2c OK [13:56:31]MH_I2C_Read... [13:56:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:56:31]Read from MH i2c: E2 [13:56:31]MH_I2C_Read... [13:56:31]Read from MH i2c: E2 17 00 [13:56:31]MH_I2C_Read... [13:56:31]Read from MH i2c: E2 17 00 88 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 62 [13:56:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [13:56:31]wFMCommunicate OK [13:56:31]requested_item fd.num is exist - process it [13:56:31]SAM_PROTO_GetFieldsCounters [13:56:31]wFMCommunicate request_size=4 [13:56:31]MH_SAM_APDU [13:56:31]CAPDU: 80 13 00 00 [13:56:31]Write to MH i2c: E2 08 00 89 07 80 13 00 00 00 00 00 00 0C [13:56:31]Write i2c OK [13:56:31]MH_I2C_Read... [13:56:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:56:31]Read from MH i2c: E2 [13:56:31]MH_I2C_Read... [13:56:31]Read from MH i2c: E2 62 00 [13:56:31]MH_I2C_Read... [13:56:31]Read from MH i2c: E2 62 00 89 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 0D 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 B0 [13:56:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 0D 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:56:31]wFMCommunicate OK [13:56:31]SAM_PROTO_GetFieldsCounters done [13:56:31]requested_item shift.num is exist - process it [13:56:31]requested_item shift.opened is exist - process it [13:56:31]req_shift_opened [13:56:31]FM_GetShiftState [13:56:31]SAM_PROTO_GetShiftState [13:56:31]wFMCommunicate request_size=4 [13:56:31]MH_SAM_APDU [13:56:31]CAPDU: 80 13 01 00 [13:56:31]Write to MH i2c: E2 08 00 8A 07 80 13 01 00 00 00 00 00 0E [13:56:31]Write i2c OK [13:56:31]MH_I2C_Read... [13:56:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:56:31]Read from MH i2c: E2 [13:56:31]MH_I2C_Read... [13:56:31]Read from MH i2c: E2 0E 00 [13:56:31]MH_I2C_Read... [13:56:31]Read from MH i2c: E2 0E 00 8A 07 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 FB [13:56:31]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [13:56:31]wFMCommunicate OK [13:56:31]SAM_PROTO_GetShiftState done [13:56:31]FM_GetShiftState done [13:56:31]req_shift_opened done [13:56:31]requested_item shift.open_date is exist - process it [13:56:31]req_shift_open_date [13:56:31]req_shift_open_date done [13:56:31]produce_requested_data done [13:56:31]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18957,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [13:56:31]process_action_free close_receipt [13:56:31]json_value_free [13:56:31]json_value_free done [13:56:31]process_json_proto returns [13:56:31]Send response to host [13:56:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18957,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [13:56:31]free response buf [13:56:31]execute_script done [13:56:31]execute_script returns [13:56:31]free content buf [13:56:31]Sock 9.Close socket [13:56:31]Sock 9.Thread stoped [13:56:35]OFD Sender: No OFD packet to send [13:56:40]OFD Sender: No OFD packet to send [13:56:45]OFD Sender: No OFD packet to send [13:56:50]OFD Sender: No OFD packet to send [13:56:55]OFD Sender: No OFD packet to send [13:57:00]OFD Sender: No OFD packet to send [13:57:05]OFD Sender: No OFD packet to send [13:57:10]OFD Sender: No OFD packet to send [13:57:15]OFD Sender: No OFD packet to send [13:57:20]OFD Sender: No OFD packet to send [13:57:25]OFD Sender: No OFD packet to send [13:57:30]OFD Sender: No OFD packet to send [13:57:35]OFD Sender: No OFD packet to send [13:57:40]OFD Sender: No OFD packet to send [13:57:45]OFD Sender: No OFD packet to send [13:57:50]OFD Sender: No OFD packet to send [13:57:55]OFD Sender: No OFD packet to send [13:58:00]OFD Sender: No OFD packet to send [13:58:05]OFD Sender: No OFD packet to send [13:58:10]OFD Sender: No OFD packet to send [13:58:15]OFD Sender: No OFD packet to send [13:58:20]OFD Sender: No OFD packet to send [13:58:25]OFD Sender: No OFD packet to send [13:58:30]OFD Sender: No OFD packet to send [13:58:35]OFD Sender: No OFD packet to send [13:58:40]OFD Sender: No OFD packet to send [13:58:45]OFD Sender: No OFD packet to send [13:58:50]OFD Sender: No OFD packet to send [13:58:55]OFD Sender: No OFD packet to send [13:59:00]OFD Sender: No OFD packet to send [13:59:05]OFD Sender: No OFD packet to send [13:59:10]OFD Sender: No OFD packet to send [13:59:15]OFD Sender: No OFD packet to send [13:59:20]OFD Sender: No OFD packet to send [13:59:25]OFD Sender: No OFD packet to send [13:59:30]OFD Sender: No OFD packet to send [13:59:35]OFD Sender: No OFD packet to send [13:59:40]OFD Sender: No OFD packet to send [13:59:45]OFD Sender: No OFD packet to send [13:59:50]OFD Sender: No OFD packet to send [13:59:55]OFD Sender: No OFD packet to send [14:00:00]OFD Sender: No OFD packet to send [14:00:05]OFD Sender: No OFD packet to send [14:00:10]OFD Sender: No OFD packet to send [14:00:15]OFD Sender: No OFD packet to send [14:00:20]OFD Sender: No OFD packet to send [14:00:25]OFD Sender: No OFD packet to send [14:00:30]OFD Sender: No OFD packet to send [14:00:35]OFD Sender: No OFD packet to send [14:00:40]OFD Sender: No OFD packet to send [14:00:45]OFD Sender: No OFD packet to send [14:00:50]OFD Sender: No OFD packet to send [14:00:55]OFD Sender: No OFD packet to send [14:01:00]OFD Sender: No OFD packet to send [14:01:05]OFD Sender: No OFD packet to send [14:01:10]OFD Sender: No OFD packet to send [14:01:15]OFD Sender: No OFD packet to send [14:01:20]OFD Sender: No OFD packet to send [14:01:25]OFD Sender: No OFD packet to send [14:01:30]OFD Sender: No OFD packet to send [14:01:35]OFD Sender: No OFD packet to send [14:01:40]OFD Sender: No OFD packet to send [14:01:45]OFD Sender: No OFD packet to send [14:01:50]OFD Sender: No OFD packet to send [14:01:55]OFD Sender: No OFD packet to send [14:02:00]OFD Sender: No OFD packet to send [14:02:05]OFD Sender: No OFD packet to send [14:02:10]OFD Sender: No OFD packet to send [14:02:11]accept exits with 8 [14:02:11]New connection [14:02:11]New thread 3066621284 created [14:02:11]Thread 3066764644 joined [14:02:11]Waiting for new connection... [14:02:11] Sock 8.Parse request [14:02:11]Sock 8.Check first char [14:02:11]Sock 8.First char is OK [14:02:11]request: POST /json_proto HTTP/1.0 [14:02:11]Method: POST [14:02:11]URL: /json_proto [14:02:11]Method is POST - this is cgi request [14:02:11]url: /json_proto [14:02:11]query_string will be loaded in cgi processing [14:02:11]execute_cgi json_proto POST (null) [14:02:11]execute_cgi path=json_proto method=POST [14:02:11]POST find Content-Length [14:02:11]Host: 172.17.62.196:8080 [14:02:11]Content-Length: 651 [14:02:11]Content-Type: application/json [14:02:11] [14:02:11]POST finish read [14:02:11]Found Content-Length = 651 [14:02:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16878", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:02:11]execute_script... [14:02:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16878", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:02:11]POST & json_proto [14:02:11]process_json_proto [14:02:11]json parsed OK: [14:02:11]protocol is kg_v1.0 [14:02:11]action value=close_receipt [14:02:11]process_action close_receipt [14:02:11]cmd_close_receipt [14:02:11]MH_GetDate [14:02:11]Write to MH i2c: F0 00 00 8B 07 81 [14:02:11]Write i2c OK [14:02:11]MH_I2C_Read... [14:02:11]Read from MH i2c: F0 [14:02:11]MH_I2C_Read... [14:02:11]Read from MH i2c: F0 09 00 [14:02:11]MH_I2C_Read... [14:02:11]Read from MH i2c: F0 09 00 8B 07 00 E5 17 F4 66 CE CC 0E 66 EE [14:02:11]GetLastDocTimeStamp 1727272589 [14:02:11]current date 1727272933 [14:02:11]FM_GetShiftState [14:02:11]SAM_PROTO_GetShiftState [14:02:11]wFMCommunicate request_size=4 [14:02:11]MH_SAM_APDU [14:02:11]CAPDU: 80 13 01 00 [14:02:11]Write to MH i2c: E2 08 00 8C 07 80 13 01 00 00 00 00 00 10 [14:02:11]Write i2c OK [14:02:11]MH_I2C_Read... [14:02:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:02:11]Read from MH i2c: E2 [14:02:11]MH_I2C_Read... [14:02:11]Read from MH i2c: E2 0E 00 [14:02:11]MH_I2C_Read... [14:02:11]Read from MH i2c: E2 0E 00 8C 07 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 FD [14:02:11]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [14:02:11]wFMCommunicate OK [14:02:11]SAM_PROTO_GetShiftState done [14:02:11]FM_GetShiftState done [14:02:11]opened in 1727223091 [14:02:11]opened+sec_in_day 1727309491 [14:02:11]quantity*price = 12500 [14:02:11]sum+1 = 12501 [14:02:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 36 25.09.2024 14:02 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18958 ФПД: 38003724292757 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T140213&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18958&fm=38003724292757&tin=02508201610067®Number=0000000000152968&sum=12500 0 [14:02:12]StoreToDocumentArchive [14:02:12]shift 183 fd 18958 [14:02:12]save to /storage/0183/doc_00018958 [14:02:12]save last doc name /storage/0183/doc_00018958 to /storage/kkm_last_doc_name [14:02:12]save OK [14:02:12]Clear old archive folders... [14:02:12]ProcessDocumentItem done err = 0, tmpTLVsize=284 [14:02:12]tlvbuf is 015A7EA0 [14:02:12]SAM_PROTO_ClearQueue [14:02:12]wFMCommunicate request_size=4 [14:02:12]MH_SAM_APDU [14:02:12]CAPDU: 80 09 00 00 [14:02:12]Write to MH i2c: E2 08 00 99 07 80 09 00 00 00 00 00 00 12 [14:02:12]Write i2c OK [14:02:12]MH_I2C_Read... [14:02:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:02:12]Read from MH i2c: E2 [14:02:12]MH_I2C_Read... [14:02:12]Read from MH i2c: E2 03 00 [14:02:12]MH_I2C_Read... [14:02:12]Read from MH i2c: E2 03 00 99 07 00 90 00 14 [14:02:12]RAPDU: 90 00 [14:02:12]wFMCommunicate OK [14:02:12]SAM_PROTO_ClearQueue done [14:02:12]KKMCreateOFDPacket [14:02:12]OFDProtocolAddRootSTLVToBuf [14:02:12]FM_MakeSignedData [14:02:12]FM_MakeSignedData [14:02:12]SAM_PROTO_SignData [14:02:12]wFMCommunicate request_size=4 [14:02:12]MH_SAM_APDU [14:02:12]CAPDU: 80 0D 01 02 [14:02:12]Write to MH i2c: E2 08 00 9A 07 80 0D 01 02 00 00 00 00 1A [14:02:12]Write i2c OK [14:02:12]MH_I2C_Read... [14:02:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:02:12]Read from MH i2c: E2 [14:02:12]MH_I2C_Read... [14:02:12]Read from MH i2c: E2 03 00 [14:02:12]MH_I2C_Read... [14:02:12]Read from MH i2c: E2 03 00 9A 07 00 90 00 15 [14:02:12]RAPDU: 90 00 [14:02:12]wFMCommunicate OK [14:02:12]wFMCommunicate request_size=255 [14:02:12]MH_SAM_APDU [14:02:12]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 E5 17 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 [14:02:12]Write to MH i2c: E2 02 01 9B 07 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 E5 17 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 00 00 F3 [14:02:12]Write i2c OK [14:02:12]MH_I2C_Read... [14:02:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:02:13]Read from MH i2c: E2 [14:02:13]MH_I2C_Read... [14:02:13]Read from MH i2c: E2 03 00 [14:02:13]MH_I2C_Read... [14:02:13]Read from MH i2c: E2 03 00 9B 07 00 90 00 16 [14:02:13]RAPDU: 90 00 [14:02:13]wFMCommunicate OK [14:02:13]wFMCommunicate request_size=43 [14:02:13]MH_SAM_APDU [14:02:13]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0E 4A 00 00 35 04 06 00 22 90 6E 7C 92 95 [14:02:13]Write to MH i2c: E2 2E 00 9C 07 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0E 4A 00 00 35 04 06 00 22 90 6E 7C 92 95 00 00 26 [14:02:13]Write i2c OK [14:02:13]MH_I2C_Read... [14:02:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:02:13]Read from MH i2c: E2 [14:02:13]MH_I2C_Read... [14:02:13]Read from MH i2c: E2 03 00 [14:02:13]MH_I2C_Read... [14:02:13]Read from MH i2c: E2 03 00 9C 07 00 90 00 17 [14:02:13]RAPDU: 90 00 [14:02:13]wFMCommunicate OK [14:02:13]wFMCommunicate request_size=4 [14:02:13]MH_SAM_APDU [14:02:13]CAPDU: 80 0D 03 02 [14:02:13]Write to MH i2c: E2 08 00 9D 07 80 0D 03 02 00 00 00 00 1F [14:02:13]Write i2c OK [14:02:13]MH_I2C_Read... [14:02:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:02:13]Read from MH i2c: E2 [14:02:13]MH_I2C_Read... [14:02:13]Read from MH i2c: E2 0B 00 [14:02:13]MH_I2C_Read... [14:02:13]Read from MH i2c: E2 0B 00 9D 07 00 43 E8 68 FB DD 51 89 DE 90 00 43 [14:02:13]RAPDU: 43 E8 68 FB DD 51 89 DE 90 00 [14:02:13]wFMCommunicate OK [14:02:13]SAM_PROTO_SignData done [14:02:13]FM_MakeSignedData done [14:02:13]CreateOFDProtocolMessage [14:02:13]wFMCommunicate request_size=4 [14:02:13]MH_SAM_APDU [14:02:13]CAPDU: 80 11 00 00 [14:02:13]Write to MH i2c: E2 08 00 9E 07 80 11 00 00 00 00 00 00 1F [14:02:13]Write i2c OK [14:02:13]MH_I2C_Read... [14:02:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:02:13]Read from MH i2c: E2 [14:02:13]MH_I2C_Read... [14:02:13]Read from MH i2c: E2 17 00 [14:02:13]MH_I2C_Read... [14:02:13]Read from MH i2c: E2 17 00 9E 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 78 [14:02:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [14:02:13]wFMCommunicate OK [14:02:13]CreateOFDProtocolMessage done [14:02:13]OFDSenderStorePacket 18958 [14:02:13]StoreOFDPacket docnum=18958 [14:02:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 30 01 00 00 99 02 28 01 C1 93 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 E5 17 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0E 4A 00 00 35 04 06 00 22 90 6E 7C 92 95 43 E8 68 FB DD 51 89 DE [14:02:13]CheckFolder [14:02:13]dirname=/storage/ofd_packets [14:02:13]CheckFolder done [14:02:13]ProducePacketName [14:02:13]name=ofd_packets/00018958 [14:02:13]NVStorageSaveData ofd_packets/00018958 [14:02:13]File name is /storage/ofd_packets/00018958 [14:02:13]Write 334 bytes [14:02:13]NVStorageSaveData done [14:02:13]OFDSenderStorePacket done [14:02:13]KKMCreateOFDPacket done [14:02:13]NVStorageSaveData kkm_last_timestamp [14:02:13]File name is /storage/kkm_last_timestamp [14:02:13]Write 4 bytes [14:02:13]NVStorageSaveData done [14:02:13]ExternCall_PrintAddStr [14:02:13]wPrintStart [14:02:13]Write to MH i2c: 01 00 00 9F 07 A6 [14:02:13]Write i2c OK [14:02:13]MH_I2C_Read... [14:02:13]Read from MH i2c: 01 [14:02:13]MH_I2C_Read... [14:02:13]Read from MH i2c: 01 07 00 [14:02:13]MH_I2C_Read... [14:02:13]Read from MH i2c: 01 07 00 9F 07 00 00 00 00 00 FF 0F BB [14:02:13]RasterBufferAndPrint [14:02:13]line Счет N : (3)16878 [14:02:13]line ИНН: 02508201610067 [14:02:13]line Контрольно-Кассовый Чек [14:02:13]line ПРОДАЖА [14:02:13]line Товар: 2000036190018 [14:02:13]line Кофе Американо XL(GABB TRADE) [14:02:13]line 1.000 * 125.00 [14:02:13]line = 125.00 [14:02:13]line НДС 12% НСП 1% [14:02:13]line > о реализуемом товаре [14:02:13]line ИТОГО: 125.00 [14:02:13]line НСП 1% : 1.11 [14:02:13]line НДС 12% : 13.27 [14:02:13]line Наличными: 125.00 [14:02:13]line Безнал.: 0.00 [14:02:13]line Место: АЗС № 176 "Партнер Нефть" [14:02:13]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [14:02:13]line СНО: Общий режим [14:02:13]line Чек 36 25.09.2024 14:02 [14:02:13]line Смена: 183 ФФД: 1.0 [14:02:13]line ЗНМ: 0300000010 [14:02:13]line РНМ: 0000000000152968 [14:02:13]line Версия ККМ: v1.0 [14:02:13]line ФМ: 0000000000959456 [14:02:13]line ФД: 18958 [14:02:13]line ФПД: 38003724292757 [14:02:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T140213&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18958&fm=38003724292757&tin=02508201610067®Number=0000000000152968&sum=12500 [14:02:13]line 0 [14:02:13]OFD Sender: Processing packet 18958 [packets to send 7, broken 6] [14:02:13]ProducePacketName [14:02:13]name=ofd_packets/00018958 [14:02:13]OFD Sender: To server: pG, [14:02:13]CommunicateWithHost lk.salyk.kg:30040 [14:02:13]ConnectInit lk.salyk.kg [14:02:13]written 0, free lines is 4095 [14:02:13]Connected sock=10 [14:02:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 30 01 00 00 99 02 28 01 C1 93 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 E5 17 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0E 4A 00 00 35 04 06 00 22 90 6E 7C 92 95 43 E8 68 FB DD 51 89 DE [14:02:14]Write to MH i2c: 01 00 00 C8 07 CF [14:02:14]Write i2c OK [14:02:14]MH_I2C_Read... [14:02:14]Read from MH i2c: 01 [14:02:14]MH_I2C_Read... [14:02:14]Read from MH i2c: 01 07 00 [14:02:14]MH_I2C_Read... [14:02:14]Read from MH i2c: 01 07 00 C8 07 00 00 00 00 00 10 0D F3 [14:02:14]RasterBufferAndPrint [14:02:14]line [14:02:14]line [14:02:14]line [14:02:14]line [14:02:14]line [14:02:14]written 0, free lines is 3350 [14:02:14]MH_Cut [14:02:14]Write to MH i2c: D1 01 00 CF 07 01 A8 [14:02:14]Write i2c OK [14:02:14]MH_I2C_Read... [14:02:14]Read from MH i2c: D1 [14:02:14]MH_I2C_Read... [14:02:14]Read from MH i2c: D1 01 00 [14:02:14]MH_I2C_Read... [14:02:14]Read from MH i2c: D1 01 00 CF 07 00 A7 [14:02:14]Write to MH i2c: 01 00 00 D0 07 D7 [14:02:14]Write i2c OK [14:02:14]MH_I2C_Read... [14:02:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 59 F1 47 00 02 A0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0E 4A 00 00 F4 03 04 00 42 C1 F3 66 B6 04 01 00 00 49 E4 DB DD 99 05 91 CE [14:02:14]CommunicateWithHost err = 0 [14:02:14]CheckOFDResponse [14:02:14]1017 (14) - 77093643461234 [14:02:14]1041 (16) - 0000000000959456 [14:02:14]1040 (4) - 18958 [14:02:14]1012 (4) - 25.09.2024 07:52 [14:02:14]1206 (1) - 0 [14:02:14]OFD Sender: Remove packet 18958 [14:02:14]ProducePacketName [14:02:14]name=ofd_packets/00018958 [14:02:14]NVStorageDeleteData [14:02:14]OFD Sender: No OFD packet to send [14:02:14]*** Cut start [14:02:14]*** Partial cut [14:02:14]*** CUTSNS_PIN = 1 [14:02:14]*** CUTSNS_PIN = 0 [14:02:14]*** Brake cut motor [14:02:15]Read from MH i2c: 01 [14:02:15]MH_I2C_Read... [14:02:15]*** Stop cut motor [14:02:15]*** Cut end [14:02:15]Read from MH i2c: 01 07 00 [14:02:15]MH_I2C_Read... [14:02:15]Read from MH i2c: 01 07 00 D0 07 00 00 00 00 00 FF 0F EC [14:02:15]process_action close_receipt done [14:02:15]requested_data is exist [14:02:15]produce_requested_data [14:02:15]requested_item fm.sn is exist - process it [14:02:15]wFMCommunicate request_size=4 [14:02:15]MH_SAM_APDU [14:02:15]CAPDU: 80 11 00 00 [14:02:15]Write to MH i2c: E2 08 00 D1 07 80 11 00 00 00 00 00 00 52 [14:02:15]Write i2c OK [14:02:15]MH_I2C_Read... [14:02:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:02:15]Read from MH i2c: E2 [14:02:15]MH_I2C_Read... [14:02:15]Read from MH i2c: E2 17 00 [14:02:15]MH_I2C_Read... [14:02:15]Read from MH i2c: E2 17 00 D1 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 AB [14:02:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [14:02:15]wFMCommunicate OK [14:02:15]requested_item fd.num is exist - process it [14:02:15]SAM_PROTO_GetFieldsCounters [14:02:15]wFMCommunicate request_size=4 [14:02:15]MH_SAM_APDU [14:02:15]CAPDU: 80 13 00 00 [14:02:15]Write to MH i2c: E2 08 00 D2 07 80 13 00 00 00 00 00 00 55 [14:02:15]Write i2c OK [14:02:15]MH_I2C_Read... [14:02:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:02:15]Read from MH i2c: E2 [14:02:15]MH_I2C_Read... [14:02:15]Read from MH i2c: E2 62 00 [14:02:15]MH_I2C_Read... [14:02:15]Read from MH i2c: E2 62 00 D2 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 0E 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 FD [14:02:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 0E 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:02:15]wFMCommunicate OK [14:02:15]SAM_PROTO_GetFieldsCounters done [14:02:15]requested_item shift.num is exist - process it [14:02:15]requested_item shift.opened is exist - process it [14:02:15]req_shift_opened [14:02:15]FM_GetShiftState [14:02:15]SAM_PROTO_GetShiftState [14:02:15]wFMCommunicate request_size=4 [14:02:15]MH_SAM_APDU [14:02:15]CAPDU: 80 13 01 00 [14:02:15]Write to MH i2c: E2 08 00 D3 07 80 13 01 00 00 00 00 00 57 [14:02:15]Write i2c OK [14:02:15]MH_I2C_Read... [14:02:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:02:15]Read from MH i2c: E2 [14:02:15]MH_I2C_Read... [14:02:15]Read from MH i2c: E2 0E 00 [14:02:15]MH_I2C_Read... [14:02:15]Read from MH i2c: E2 0E 00 D3 07 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 44 [14:02:15]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [14:02:15]wFMCommunicate OK [14:02:15]SAM_PROTO_GetShiftState done [14:02:15]FM_GetShiftState done [14:02:15]req_shift_opened done [14:02:15]requested_item shift.open_date is exist - process it [14:02:15]req_shift_open_date [14:02:15]req_shift_open_date done [14:02:15]produce_requested_data done [14:02:15]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18958,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [14:02:15]process_action_free close_receipt [14:02:15]json_value_free [14:02:15]json_value_free done [14:02:15]process_json_proto returns [14:02:15]Send response to host [14:02:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18958,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [14:02:15]free response buf [14:02:15]execute_script done [14:02:15]execute_script returns [14:02:15]free content buf [14:02:15]Sock 8.Close socket [14:02:15]Sock 8.Thread stoped [14:02:19]OFD Sender: No OFD packet to send [14:02:24]OFD Sender: No OFD packet to send [14:02:29]OFD Sender: No OFD packet to send [14:02:34]OFD Sender: No OFD packet to send [14:02:39]OFD Sender: No OFD packet to send [14:02:44]OFD Sender: No OFD packet to send [14:02:49]OFD Sender: No OFD packet to send [14:02:54]OFD Sender: No OFD packet to send [14:02:59]OFD Sender: No OFD packet to send [14:03:04]OFD Sender: No OFD packet to send [14:03:09]OFD Sender: No OFD packet to send [14:03:14]OFD Sender: No OFD packet to send [14:03:19]OFD Sender: No OFD packet to send [14:03:24]OFD Sender: No OFD packet to send [14:03:29]OFD Sender: No OFD packet to send [14:03:34]OFD Sender: No OFD packet to send [14:03:39]OFD Sender: No OFD packet to send [14:03:44]OFD Sender: No OFD packet to send [14:03:49]OFD Sender: No OFD packet to send [14:03:54]OFD Sender: No OFD packet to send [14:03:59]OFD Sender: No OFD packet to send [14:04:04]OFD Sender: No OFD packet to send [14:04:09]OFD Sender: No OFD packet to send [14:04:14]OFD Sender: No OFD packet to send [14:04:19]OFD Sender: No OFD packet to send [14:04:24]OFD Sender: No OFD packet to send [14:04:29]OFD Sender: No OFD packet to send [14:04:34]OFD Sender: No OFD packet to send [14:04:39]OFD Sender: No OFD packet to send [14:04:44]OFD Sender: No OFD packet to send [14:04:49]OFD Sender: No OFD packet to send [14:04:54]OFD Sender: No OFD packet to send [14:04:59]OFD Sender: No OFD packet to send [14:05:04]OFD Sender: No OFD packet to send [14:05:09]OFD Sender: No OFD packet to send [14:05:14]OFD Sender: No OFD packet to send [14:05:19]OFD Sender: No OFD packet to send [14:05:24]OFD Sender: No OFD packet to send [14:05:29]OFD Sender: No OFD packet to send [14:05:34]OFD Sender: No OFD packet to send [14:05:39]OFD Sender: No OFD packet to send [14:05:44]OFD Sender: No OFD packet to send [14:05:49]OFD Sender: No OFD packet to send [14:05:54]OFD Sender: No OFD packet to send [14:05:59]OFD Sender: No OFD packet to send [14:06:04]OFD Sender: No OFD packet to send [14:06:09]OFD Sender: No OFD packet to send [14:06:14]OFD Sender: No OFD packet to send [14:06:19]OFD Sender: No OFD packet to send [14:06:24]OFD Sender: No OFD packet to send [14:06:29]OFD Sender: No OFD packet to send [14:06:31]accept exits with 9 [14:06:31]New connection [14:06:31]New thread 3066764644 created [14:06:31]Thread 3066621284 joined [14:06:31]Waiting for new connection... [14:06:31] Sock 9.Parse request [14:06:31]Sock 9.Check first char [14:06:31]Sock 9.First char is OK [14:06:31]request: POST /json_proto HTTP/1.0 [14:06:31]Method: POST [14:06:31]URL: /json_proto [14:06:31]Method is POST - this is cgi request [14:06:31]url: /json_proto [14:06:31]query_string will be loaded in cgi processing [14:06:31]execute_cgi json_proto POST (null) [14:06:31]execute_cgi path=json_proto method=POST [14:06:31]POST find Content-Length [14:06:31]Host: 172.17.62.196:8080 [14:06:31]Content-Length: 629 [14:06:31]Content-Type: application/json [14:06:31] [14:06:31]POST finish read [14:06:31]Found Content-Length = 629 [14:06:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16879", "tax_sys" : 0, "items" : [ { "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B", "price" : 42.00, "quantity" : 1.000, "sum" : 42.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 42.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:06:31]execute_script... [14:06:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16879", "tax_sys" : 0, "items" : [ { "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B", "price" : 42.00, "quantity" : 1.000, "sum" : 42.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 42.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:06:31]POST & json_proto [14:06:31]process_json_proto [14:06:31]json parsed OK: [14:06:31]protocol is kg_v1.0 [14:06:31]action value=close_receipt [14:06:31]process_action close_receipt [14:06:31]cmd_close_receipt [14:06:31]MH_GetDate [14:06:31]Write to MH i2c: F0 00 00 D4 07 CA [14:06:31]Write i2c OK [14:06:31]MH_I2C_Read... [14:06:31]Read from MH i2c: F0 [14:06:31]MH_I2C_Read... [14:06:31]Read from MH i2c: F0 09 00 [14:06:31]MH_I2C_Read... [14:06:31]Read from MH i2c: F0 09 00 D4 07 00 E9 18 F4 66 CE CC 0E 66 3C [14:06:31]GetLastDocTimeStamp 1727272933 [14:06:31]current date 1727273193 [14:06:31]FM_GetShiftState [14:06:31]SAM_PROTO_GetShiftState [14:06:31]wFMCommunicate request_size=4 [14:06:31]MH_SAM_APDU [14:06:31]CAPDU: 80 13 01 00 [14:06:31]Write to MH i2c: E2 08 00 D5 07 80 13 01 00 00 00 00 00 59 [14:06:31]Write i2c OK [14:06:31]MH_I2C_Read... [14:06:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:06:31]Read from MH i2c: E2 [14:06:31]MH_I2C_Read... [14:06:31]Read from MH i2c: E2 0E 00 [14:06:31]MH_I2C_Read... [14:06:31]Read from MH i2c: E2 0E 00 D5 07 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 46 [14:06:31]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [14:06:31]wFMCommunicate OK [14:06:31]SAM_PROTO_GetShiftState done [14:06:31]FM_GetShiftState done [14:06:31]opened in 1727223091 [14:06:31]opened+sec_in_day 1727309491 [14:06:31]quantity*price = 4200 [14:06:31]sum+1 = 4201 [14:06:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 42.00 НСП 1% : 0.37 НДС 12% : 4.46 Наличными: 42.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 37 25.09.2024 14:06 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18959 ФПД: 15297290281135 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T140633&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18959&fm=15297290281135&tin=02508201610067®Number=0000000000152968&sum=4200 0 [14:06:32]StoreToDocumentArchive [14:06:32]shift 183 fd 18959 [14:06:32]save to /storage/0183/doc_00018959 [14:06:32]save last doc name /storage/0183/doc_00018959 to /storage/kkm_last_doc_name [14:06:32]save OK [14:06:32]Clear old archive folders... [14:06:32]ProcessDocumentItem done err = 0, tmpTLVsize=269 [14:06:32]tlvbuf is 015A7C60 [14:06:32]SAM_PROTO_ClearQueue [14:06:32]wFMCommunicate request_size=4 [14:06:32]MH_SAM_APDU [14:06:32]CAPDU: 80 09 00 00 [14:06:32]Write to MH i2c: E2 08 00 E2 07 80 09 00 00 00 00 00 00 5B [14:06:32]Write i2c OK [14:06:32]MH_I2C_Read... [14:06:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:06:32]Read from MH i2c: E2 [14:06:32]MH_I2C_Read... [14:06:32]Read from MH i2c: E2 03 00 [14:06:32]MH_I2C_Read... [14:06:32]Read from MH i2c: E2 03 00 E2 07 00 90 00 5D [14:06:32]RAPDU: 90 00 [14:06:32]wFMCommunicate OK [14:06:32]SAM_PROTO_ClearQueue done [14:06:32]KKMCreateOFDPacket [14:06:32]OFDProtocolAddRootSTLVToBuf [14:06:32]FM_MakeSignedData [14:06:32]FM_MakeSignedData [14:06:32]SAM_PROTO_SignData [14:06:32]wFMCommunicate request_size=4 [14:06:32]MH_SAM_APDU [14:06:32]CAPDU: 80 0D 01 02 [14:06:32]Write to MH i2c: E2 08 00 E3 07 80 0D 01 02 00 00 00 00 63 [14:06:32]Write i2c OK [14:06:32]MH_I2C_Read... [14:06:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:06:32]Read from MH i2c: E2 [14:06:32]MH_I2C_Read... [14:06:32]Read from MH i2c: E2 03 00 [14:06:32]MH_I2C_Read... [14:06:32]Read from MH i2c: E2 03 00 E3 07 00 90 00 5E [14:06:32]RAPDU: 90 00 [14:06:32]wFMCommunicate OK [14:06:32]wFMCommunicate request_size=255 [14:06:32]MH_SAM_APDU [14:06:32]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 01 00 00 00 00 07 04 06 00 68 10 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 E9 18 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [14:06:32]Write to MH i2c: E2 02 01 E4 07 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 01 00 00 00 00 07 04 06 00 68 10 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 E9 18 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 DC [14:06:33]Write i2c OK [14:06:33]MH_I2C_Read... [14:06:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:06:33]Read from MH i2c: E2 [14:06:33]MH_I2C_Read... [14:06:33]Read from MH i2c: E2 03 00 [14:06:33]MH_I2C_Read... [14:06:33]Read from MH i2c: E2 03 00 E4 07 00 90 00 5F [14:06:33]RAPDU: 90 00 [14:06:33]wFMCommunicate OK [14:06:33]wFMCommunicate request_size=28 [14:06:33]MH_SAM_APDU [14:06:33]CAPDU: 80 0D 02 02 17 35 39 34 35 36 10 04 04 00 0F 4A 00 00 35 04 06 00 0D E9 AD 8D A0 AF [14:06:33]Write to MH i2c: E2 1F 00 E5 07 80 0D 02 02 17 00 35 39 34 35 36 10 04 04 00 0F 4A 00 00 35 04 06 00 0D E9 AD 8D A0 AF 00 00 D0 [14:06:33]Write i2c OK [14:06:33]MH_I2C_Read... [14:06:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:06:33]Read from MH i2c: E2 [14:06:33]MH_I2C_Read... [14:06:33]Read from MH i2c: E2 03 00 [14:06:33]MH_I2C_Read... [14:06:33]Read from MH i2c: E2 03 00 E5 07 00 90 00 60 [14:06:33]RAPDU: 90 00 [14:06:33]wFMCommunicate OK [14:06:33]wFMCommunicate request_size=4 [14:06:33]MH_SAM_APDU [14:06:33]CAPDU: 80 0D 03 02 [14:06:33]Write to MH i2c: E2 08 00 E6 07 80 0D 03 02 00 00 00 00 68 [14:06:33]Write i2c OK [14:06:33]MH_I2C_Read... [14:06:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:06:33]Read from MH i2c: E2 [14:06:33]MH_I2C_Read... [14:06:33]Read from MH i2c: E2 0B 00 [14:06:33]MH_I2C_Read... [14:06:33]Read from MH i2c: E2 0B 00 E6 07 00 32 82 93 0E 52 1B 22 78 90 00 C5 [14:06:33]RAPDU: 32 82 93 0E 52 1B 22 78 90 00 [14:06:33]wFMCommunicate OK [14:06:33]SAM_PROTO_SignData done [14:06:33]FM_MakeSignedData done [14:06:33]CreateOFDProtocolMessage [14:06:33]wFMCommunicate request_size=4 [14:06:33]MH_SAM_APDU [14:06:33]CAPDU: 80 11 00 00 [14:06:33]Write to MH i2c: E2 08 00 E7 07 80 11 00 00 00 00 00 00 68 [14:06:33]Write i2c OK [14:06:33]MH_I2C_Read... [14:06:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:06:33]Read from MH i2c: E2 [14:06:33]MH_I2C_Read... [14:06:33]Read from MH i2c: E2 17 00 [14:06:33]MH_I2C_Read... [14:06:33]Read from MH i2c: E2 17 00 E7 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 C1 [14:06:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [14:06:33]wFMCommunicate OK [14:06:33]CreateOFDProtocolMessage done [14:06:33]OFDSenderStorePacket 18959 [14:06:33]StoreOFDPacket docnum=18959 [14:06:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 21 01 00 00 6F AD 19 01 14 39 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 01 00 00 00 00 07 04 06 00 68 10 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 E9 18 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0F 4A 00 00 35 04 06 00 0D E9 AD 8D A0 AF 32 82 93 0E 52 1B 22 78 [14:06:33]CheckFolder [14:06:33]dirname=/storage/ofd_packets [14:06:33]CheckFolder done [14:06:33]ProducePacketName [14:06:33]name=ofd_packets/00018959 [14:06:33]NVStorageSaveData ofd_packets/00018959 [14:06:33]File name is /storage/ofd_packets/00018959 [14:06:33]Write 319 bytes [14:06:33]NVStorageSaveData done [14:06:33]OFDSenderStorePacket done [14:06:33]KKMCreateOFDPacket done [14:06:33]NVStorageSaveData kkm_last_timestamp [14:06:33]File name is /storage/kkm_last_timestamp [14:06:33]Write 4 bytes [14:06:33]NVStorageSaveData done [14:06:33]ExternCall_PrintAddStr [14:06:33]wPrintStart [14:06:33]Write to MH i2c: 01 00 00 E8 07 EF [14:06:33]Write i2c OK [14:06:33]MH_I2C_Read... [14:06:33]Read from MH i2c: 01 [14:06:33]MH_I2C_Read... [14:06:33]Read from MH i2c: 01 07 00 [14:06:33]MH_I2C_Read... [14:06:33]Read from MH i2c: 01 07 00 E8 07 00 00 00 00 00 FF 0F 04 [14:06:33]RasterBufferAndPrint [14:06:33]line Счет N : (3)16879 [14:06:33]line ИНН: 02508201610067 [14:06:33]line Контрольно-Кассовый Чек [14:06:33]line ПРОДАЖА [14:06:33]line Товар: 5449000066473 [14:06:33]line Вода Бонаква 1л [14:06:33]line 1.000 * 42.00 [14:06:33]line = 42.00 [14:06:33]line НДС 12% НСП 1% [14:06:33]line > о реализуемом товаре [14:06:33]line ИТОГО: 42.00 [14:06:33]line НСП 1% : 0.37 [14:06:33]line НДС 12% : 4.46 [14:06:33]line Наличными: 42.00 [14:06:33]line Безнал.: 0.00 [14:06:33]line Место: АЗС № 176 "Партнер Нефть" [14:06:33]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [14:06:33]line СНО: Общий режим [14:06:33]line Чек 37 25.09.2024 14:06 [14:06:33]line Смена: 183 ФФД: 1.0 [14:06:33]line ЗНМ: 0300000010 [14:06:33]line РНМ: 0000000000152968 [14:06:33]line Версия ККМ: v1.0 [14:06:33]line ФМ: 0000000000959456 [14:06:33]line ФД: 18959 [14:06:33]line ФПД: 15297290281135 [14:06:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T140633&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18959&fm=15297290281135&tin=02508201610067®Number=0000000000152968&sum=4200 [14:06:33]line 0 [14:06:33]OFD Sender: Processing packet 18959 [packets to send 7, broken 6] [14:06:33]ProducePacketName [14:06:33]name=ofd_packets/00018959 [14:06:33]OFD Sender: To server: pG, [14:06:33]CommunicateWithHost lk.salyk.kg:30040 [14:06:33]ConnectInit lk.salyk.kg [14:06:33]written 0, free lines is 4095 [14:06:33]Connected sock=10 [14:06:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 21 01 00 00 6F AD 19 01 14 39 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 01 00 00 00 00 07 04 06 00 68 10 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 E9 18 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0F 4A 00 00 35 04 06 00 0D E9 AD 8D A0 AF 32 82 93 0E 52 1B 22 78 [14:06:34]Write to MH i2c: 01 00 00 10 08 18 [14:06:34]Write i2c OK [14:06:34]MH_I2C_Read... [14:06:34]Read from MH i2c: 01 [14:06:34]MH_I2C_Read... [14:06:34]Read from MH i2c: 01 07 00 [14:06:34]MH_I2C_Read... [14:06:34]Read from MH i2c: 01 07 00 10 08 00 00 00 00 00 19 0D 45 [14:06:34]RasterBufferAndPrint [14:06:34]line [14:06:34]line [14:06:34]line [14:06:34]line [14:06:34]line [14:06:34]written 0, free lines is 3359 [14:06:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 06 98 47 00 6E 24 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 0F 4A 00 00 F4 03 04 00 46 C2 F3 66 B6 04 01 00 00 15 C3 FB 1A 3B DB 4D 38 [14:06:34]CommunicateWithHost err = 0 [14:06:34]CheckOFDResponse [14:06:34]1017 (14) - 77093643461234 [14:06:34]1041 (16) - 0000000000959456 [14:06:34]1040 (4) - 18959 [14:06:34]1012 (4) - 25.09.2024 07:56 [14:06:34]1206 (1) - 0 [14:06:34]OFD Sender: Remove packet 18959 [14:06:34]ProducePacketName [14:06:34]name=ofd_packets/00018959 [14:06:34]NVStorageDeleteData [14:06:34]MH_Cut [14:06:34]Write to MH i2c: D1 01 00 17 08 01 F1 [14:06:34]Write i2c OK [14:06:34]MH_I2C_Read... [14:06:34]Read from MH i2c: D1 [14:06:34]MH_I2C_Read... [14:06:34]Read from MH i2c: D1 01 00 [14:06:34]MH_I2C_Read... [14:06:34]Read from MH i2c: D1 01 00 17 08 00 F0 [14:06:34]Write to MH i2c: 01 00 00 18 08 20 [14:06:34]Write i2c OK [14:06:34]MH_I2C_Read... [14:06:34]OFD Sender: No OFD packet to send [14:06:34]*** Cut start [14:06:34]*** Partial cut [14:06:34]*** CUTSNS_PIN = 1 [14:06:34]*** CUTSNS_PIN = 0 [14:06:35]*** Brake cut motor [14:06:35]Read from MH i2c: 01 [14:06:35]MH_I2C_Read... [14:06:35]*** Stop cut motor [14:06:35]*** Cut end [14:06:35]Read from MH i2c: 01 07 00 [14:06:35]MH_I2C_Read... [14:06:35]Read from MH i2c: 01 07 00 18 08 00 00 00 00 00 FF 0F 35 [14:06:35]process_action close_receipt done [14:06:35]requested_data is exist [14:06:35]produce_requested_data [14:06:35]requested_item fm.sn is exist - process it [14:06:35]wFMCommunicate request_size=4 [14:06:35]MH_SAM_APDU [14:06:35]CAPDU: 80 11 00 00 [14:06:35]Write to MH i2c: E2 08 00 19 08 80 11 00 00 00 00 00 00 9B [14:06:35]Write i2c OK [14:06:35]MH_I2C_Read... [14:06:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:06:35]Read from MH i2c: E2 [14:06:35]MH_I2C_Read... [14:06:35]Read from MH i2c: E2 17 00 [14:06:35]MH_I2C_Read... [14:06:35]Read from MH i2c: E2 17 00 19 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 F4 [14:06:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [14:06:35]wFMCommunicate OK [14:06:35]requested_item fd.num is exist - process it [14:06:35]SAM_PROTO_GetFieldsCounters [14:06:35]wFMCommunicate request_size=4 [14:06:35]MH_SAM_APDU [14:06:35]CAPDU: 80 13 00 00 [14:06:35]Write to MH i2c: E2 08 00 1A 08 80 13 00 00 00 00 00 00 9E [14:06:35]Write i2c OK [14:06:35]MH_I2C_Read... [14:06:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:06:35]Read from MH i2c: E2 [14:06:35]MH_I2C_Read... [14:06:35]Read from MH i2c: E2 62 00 [14:06:35]MH_I2C_Read... [14:06:35]Read from MH i2c: E2 62 00 1A 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 0F 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 4A [14:06:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 0F 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:06:35]wFMCommunicate OK [14:06:35]SAM_PROTO_GetFieldsCounters done [14:06:35]requested_item shift.num is exist - process it [14:06:35]requested_item shift.opened is exist - process it [14:06:35]req_shift_opened [14:06:35]FM_GetShiftState [14:06:35]SAM_PROTO_GetShiftState [14:06:35]wFMCommunicate request_size=4 [14:06:35]MH_SAM_APDU [14:06:35]CAPDU: 80 13 01 00 [14:06:35]Write to MH i2c: E2 08 00 1B 08 80 13 01 00 00 00 00 00 A0 [14:06:35]Write i2c OK [14:06:35]MH_I2C_Read... [14:06:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:06:35]Read from MH i2c: E2 [14:06:35]MH_I2C_Read... [14:06:35]Read from MH i2c: E2 0E 00 [14:06:35]MH_I2C_Read... [14:06:35]Read from MH i2c: E2 0E 00 1B 08 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 8D [14:06:35]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [14:06:35]wFMCommunicate OK [14:06:35]SAM_PROTO_GetShiftState done [14:06:35]FM_GetShiftState done [14:06:35]req_shift_opened done [14:06:35]requested_item shift.open_date is exist - process it [14:06:35]req_shift_open_date [14:06:35]req_shift_open_date done [14:06:35]produce_requested_data done [14:06:35]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18959,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [14:06:35]process_action_free close_receipt [14:06:35]json_value_free [14:06:35]json_value_free done [14:06:35]process_json_proto returns [14:06:35]Send response to host [14:06:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18959,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [14:06:35]free response buf [14:06:35]execute_script done [14:06:35]execute_script returns [14:06:35]free content buf [14:06:35]Sock 9.Close socket [14:06:35]Sock 9.Thread stoped [14:06:39]OFD Sender: No OFD packet to send [14:06:44]OFD Sender: No OFD packet to send [14:06:49]OFD Sender: No OFD packet to send [14:06:54]OFD Sender: No OFD packet to send [14:06:59]OFD Sender: No OFD packet to send [14:07:04]OFD Sender: No OFD packet to send [14:07:09]OFD Sender: No OFD packet to send [14:07:14]OFD Sender: No OFD packet to send [14:07:19]OFD Sender: No OFD packet to send [14:07:24]OFD Sender: No OFD packet to send [14:07:29]OFD Sender: No OFD packet to send [14:07:34]OFD Sender: No OFD packet to send [14:07:39]OFD Sender: No OFD packet to send [14:07:44]OFD Sender: No OFD packet to send [14:07:49]OFD Sender: No OFD packet to send [14:07:54]OFD Sender: No OFD packet to send [14:07:59]OFD Sender: No OFD packet to send [14:08:04]OFD Sender: No OFD packet to send [14:08:09]OFD Sender: No OFD packet to send [14:08:14]OFD Sender: No OFD packet to send [14:08:19]OFD Sender: No OFD packet to send [14:08:24]OFD Sender: No OFD packet to send [14:08:29]OFD Sender: No OFD packet to send [14:08:34]OFD Sender: No OFD packet to send [14:08:39]OFD Sender: No OFD packet to send [14:08:44]OFD Sender: No OFD packet to send [14:08:49]OFD Sender: No OFD packet to send [14:08:54]OFD Sender: No OFD packet to send [14:08:59]OFD Sender: No OFD packet to send [14:09:04]OFD Sender: No OFD packet to send [14:09:09]OFD Sender: No OFD packet to send [14:09:14]OFD Sender: No OFD packet to send [14:09:19]OFD Sender: No OFD packet to send [14:09:24]OFD Sender: No OFD packet to send [14:09:29]OFD Sender: No OFD packet to send [14:09:34]OFD Sender: No OFD packet to send [14:09:39]OFD Sender: No OFD packet to send [14:09:44]OFD Sender: No OFD packet to send [14:09:49]OFD Sender: No OFD packet to send [14:09:54]OFD Sender: No OFD packet to send [14:09:59]OFD Sender: No OFD packet to send [14:10:04]OFD Sender: No OFD packet to send [14:10:09]OFD Sender: No OFD packet to send [14:10:14]OFD Sender: No OFD packet to send [14:10:19]OFD Sender: No OFD packet to send [14:10:24]OFD Sender: No OFD packet to send [14:10:29]OFD Sender: No OFD packet to send [14:10:34]OFD Sender: No OFD packet to send [14:10:39]OFD Sender: No OFD packet to send [14:10:44]OFD Sender: No OFD packet to send [14:10:49]OFD Sender: No OFD packet to send [14:10:54]OFD Sender: No OFD packet to send [14:10:59]OFD Sender: No OFD packet to send [14:11:04]OFD Sender: No OFD packet to send [14:11:09]OFD Sender: No OFD packet to send [14:11:14]OFD Sender: No OFD packet to send [14:11:19]OFD Sender: No OFD packet to send [14:11:24]OFD Sender: No OFD packet to send [14:11:29]OFD Sender: No OFD packet to send [14:11:34]OFD Sender: No OFD packet to send [14:11:39]OFD Sender: No OFD packet to send [14:11:44]OFD Sender: No OFD packet to send [14:11:49]OFD Sender: No OFD packet to send [14:11:54]OFD Sender: No OFD packet to send [14:11:59]OFD Sender: No OFD packet to send [14:12:04]OFD Sender: No OFD packet to send [14:12:09]OFD Sender: No OFD packet to send [14:12:14]OFD Sender: No OFD packet to send [14:12:19]OFD Sender: No OFD packet to send [14:12:24]OFD Sender: No OFD packet to send [14:12:29]OFD Sender: No OFD packet to send [14:12:34]OFD Sender: No OFD packet to send [14:12:40]OFD Sender: No OFD packet to send [14:12:45]OFD Sender: No OFD packet to send [14:12:50]OFD Sender: No OFD packet to send [14:12:55]OFD Sender: No OFD packet to send [14:13:00]OFD Sender: No OFD packet to send [14:13:05]OFD Sender: No OFD packet to send [14:13:10]OFD Sender: No OFD packet to send [14:13:15]OFD Sender: No OFD packet to send [14:13:20]OFD Sender: No OFD packet to send [14:13:25]OFD Sender: No OFD packet to send [14:13:30]OFD Sender: No OFD packet to send [14:13:35]OFD Sender: No OFD packet to send [14:13:40]OFD Sender: No OFD packet to send [14:13:45]OFD Sender: No OFD packet to send [14:13:50]OFD Sender: No OFD packet to send [14:13:55]OFD Sender: No OFD packet to send [14:14:00]OFD Sender: No OFD packet to send [14:14:05]OFD Sender: No OFD packet to send [14:14:10]OFD Sender: No OFD packet to send [14:14:15]OFD Sender: No OFD packet to send [14:14:20]OFD Sender: No OFD packet to send [14:14:25]OFD Sender: No OFD packet to send [14:14:30]OFD Sender: No OFD packet to send [14:14:35]OFD Sender: No OFD packet to send [14:14:40]OFD Sender: No OFD packet to send [14:14:45]OFD Sender: No OFD packet to send [14:14:50]OFD Sender: No OFD packet to send [14:14:55]OFD Sender: No OFD packet to send [14:15:00]OFD Sender: No OFD packet to send [14:15:05]OFD Sender: No OFD packet to send [14:15:10]OFD Sender: No OFD packet to send [14:15:15]OFD Sender: No OFD packet to send [14:15:20]OFD Sender: No OFD packet to send [14:15:25]OFD Sender: No OFD packet to send [14:15:30]OFD Sender: No OFD packet to send [14:15:35]OFD Sender: No OFD packet to send [14:15:40]OFD Sender: No OFD packet to send [14:15:45]OFD Sender: No OFD packet to send [14:15:50]OFD Sender: No OFD packet to send [14:15:55]OFD Sender: No OFD packet to send [14:16:00]OFD Sender: No OFD packet to send [14:16:05]OFD Sender: No OFD packet to send [14:16:10]OFD Sender: No OFD packet to send [14:16:15]OFD Sender: No OFD packet to send [14:16:20]OFD Sender: No OFD packet to send [14:16:25]OFD Sender: No OFD packet to send [14:16:30]OFD Sender: No OFD packet to send [14:16:35]OFD Sender: No OFD packet to send [14:16:40]OFD Sender: No OFD packet to send [14:16:45]OFD Sender: No OFD packet to send [14:16:50]OFD Sender: No OFD packet to send [14:16:55]OFD Sender: No OFD packet to send [14:17:00]OFD Sender: No OFD packet to send [14:17:05]OFD Sender: No OFD packet to send [14:17:10]OFD Sender: No OFD packet to send [14:17:15]OFD Sender: No OFD packet to send [14:17:20]OFD Sender: No OFD packet to send [14:17:25]OFD Sender: No OFD packet to send [14:17:30]OFD Sender: No OFD packet to send [14:17:35]OFD Sender: No OFD packet to send [14:17:40]OFD Sender: No OFD packet to send [14:17:45]OFD Sender: No OFD packet to send [14:17:50]OFD Sender: No OFD packet to send [14:17:55]OFD Sender: No OFD packet to send [14:18:00]OFD Sender: No OFD packet to send [14:18:05]OFD Sender: No OFD packet to send [14:18:10]OFD Sender: No OFD packet to send [14:18:15]OFD Sender: No OFD packet to send [14:18:20]OFD Sender: No OFD packet to send [14:18:25]OFD Sender: No OFD packet to send [14:18:30]OFD Sender: No OFD packet to send [14:18:35]OFD Sender: No OFD packet to send [14:18:40]OFD Sender: No OFD packet to send [14:18:45]OFD Sender: No OFD packet to send [14:18:50]OFD Sender: No OFD packet to send [14:18:55]OFD Sender: No OFD packet to send [14:19:00]OFD Sender: No OFD packet to send [14:19:05]OFD Sender: No OFD packet to send [14:19:10]OFD Sender: No OFD packet to send [14:19:15]OFD Sender: No OFD packet to send [14:19:20]OFD Sender: No OFD packet to send [14:19:25]OFD Sender: No OFD packet to send [14:19:30]OFD Sender: No OFD packet to send [14:19:35]OFD Sender: No OFD packet to send [14:19:40]OFD Sender: No OFD packet to send [14:19:45]OFD Sender: No OFD packet to send [14:19:50]OFD Sender: No OFD packet to send [14:19:55]OFD Sender: No OFD packet to send [14:20:00]OFD Sender: No OFD packet to send [14:20:05]OFD Sender: No OFD packet to send [14:20:10]OFD Sender: No OFD packet to send [14:20:15]OFD Sender: No OFD packet to send [14:20:20]OFD Sender: No OFD packet to send [14:20:25]OFD Sender: No OFD packet to send [14:20:30]OFD Sender: No OFD packet to send [14:20:31]accept exits with 8 [14:20:31]New connection [14:20:31]New thread 3066621284 created [14:20:31]Thread 3066764644 joined [14:20:31]Waiting for new connection... [14:20:31] Sock 8.Parse request [14:20:31]Sock 8.Check first char [14:20:31]Sock 8.First char is OK [14:20:31]request: POST /json_proto HTTP/1.0 [14:20:31]Method: POST [14:20:31]URL: /json_proto [14:20:31]Method is POST - this is cgi request [14:20:31]url: /json_proto [14:20:31]query_string will be loaded in cgi processing [14:20:31]execute_cgi json_proto POST (null) [14:20:31]execute_cgi path=json_proto method=POST [14:20:31]POST find Content-Length [14:20:31]Host: 172.17.62.196:8080 [14:20:31]Content-Length: 710 [14:20:31]Content-Type: application/json [14:20:31] [14:20:31]POST finish read [14:20:31]Found Content-Length = 710 [14:20:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16880", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:20:31]execute_script... [14:20:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16880", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:20:31]POST & json_proto [14:20:31]process_json_proto [14:20:31]json parsed OK: [14:20:31]protocol is kg_v1.0 [14:20:31]action value=close_receipt [14:20:31]process_action close_receipt [14:20:31]cmd_close_receipt [14:20:31]MH_GetDate [14:20:31]Write to MH i2c: F0 00 00 1C 08 13 [14:20:31]Write i2c OK [14:20:31]MH_I2C_Read... [14:20:31]Read from MH i2c: F0 [14:20:31]MH_I2C_Read... [14:20:31]Read from MH i2c: F0 09 00 [14:20:31]MH_I2C_Read... [14:20:31]Read from MH i2c: F0 09 00 1C 08 00 31 1C F4 66 CE CC 0E 66 D1 [14:20:31]GetLastDocTimeStamp 1727273193 [14:20:31]current date 1727274033 [14:20:31]FM_GetShiftState [14:20:31]SAM_PROTO_GetShiftState [14:20:31]wFMCommunicate request_size=4 [14:20:31]MH_SAM_APDU [14:20:31]CAPDU: 80 13 01 00 [14:20:31]Write to MH i2c: E2 08 00 1D 08 80 13 01 00 00 00 00 00 A2 [14:20:31]Write i2c OK [14:20:31]MH_I2C_Read... [14:20:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:20:31]Read from MH i2c: E2 [14:20:31]MH_I2C_Read... [14:20:31]Read from MH i2c: E2 0E 00 [14:20:31]MH_I2C_Read... [14:20:31]Read from MH i2c: E2 0E 00 1D 08 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 8F [14:20:31]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [14:20:31]wFMCommunicate OK [14:20:31]SAM_PROTO_GetShiftState done [14:20:31]FM_GetShiftState done [14:20:31]opened in 1727223091 [14:20:31]opened+sec_in_day 1727309491 [14:20:31]quantity*price = 7000 [14:20:31]sum+1 = 7001 [14:20:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 38 25.09.2024 14:20 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18960 ФПД: 137420754388210 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T142033&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18960&fm=137420754388210&tin=02508201610067®Number=0000000000152968&sum=7000 0 [14:20:32]StoreToDocumentArchive [14:20:32]shift 183 fd 18960 [14:20:32]save to /storage/0183/doc_00018960 [14:20:32]save last doc name /storage/0183/doc_00018960 to /storage/kkm_last_doc_name [14:20:32]save OK [14:20:32]Clear old archive folders... [14:20:32]ProcessDocumentItem done err = 0, tmpTLVsize=302 [14:20:32]tlvbuf is 015F1B30 [14:20:32]SAM_PROTO_ClearQueue [14:20:32]wFMCommunicate request_size=4 [14:20:32]MH_SAM_APDU [14:20:32]CAPDU: 80 09 00 00 [14:20:32]Write to MH i2c: E2 08 00 2A 08 80 09 00 00 00 00 00 00 A4 [14:20:32]Write i2c OK [14:20:32]MH_I2C_Read... [14:20:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:20:32]Read from MH i2c: E2 [14:20:32]MH_I2C_Read... [14:20:32]Read from MH i2c: E2 03 00 [14:20:32]MH_I2C_Read... [14:20:32]Read from MH i2c: E2 03 00 2A 08 00 90 00 A6 [14:20:32]RAPDU: 90 00 [14:20:32]wFMCommunicate OK [14:20:32]SAM_PROTO_ClearQueue done [14:20:32]KKMCreateOFDPacket [14:20:32]OFDProtocolAddRootSTLVToBuf [14:20:32]FM_MakeSignedData [14:20:32]FM_MakeSignedData [14:20:32]SAM_PROTO_SignData [14:20:32]wFMCommunicate request_size=4 [14:20:32]MH_SAM_APDU [14:20:32]CAPDU: 80 0D 01 02 [14:20:32]Write to MH i2c: E2 08 00 2B 08 80 0D 01 02 00 00 00 00 AC [14:20:32]Write i2c OK [14:20:32]MH_I2C_Read... [14:20:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:20:33]Read from MH i2c: E2 [14:20:33]MH_I2C_Read... [14:20:33]Read from MH i2c: E2 03 00 [14:20:33]MH_I2C_Read... [14:20:33]Read from MH i2c: E2 03 00 2B 08 00 90 00 A7 [14:20:33]RAPDU: 90 00 [14:20:33]wFMCommunicate OK [14:20:33]wFMCommunicate request_size=255 [14:20:33]MH_SAM_APDU [14:20:33]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 31 1C F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 [14:20:33]Write to MH i2c: E2 02 01 2C 08 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 31 1C F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 00 00 38 [14:20:33]Write i2c OK [14:20:33]MH_I2C_Read... [14:20:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:20:33]Read from MH i2c: E2 [14:20:33]MH_I2C_Read... [14:20:33]Read from MH i2c: E2 03 00 [14:20:33]MH_I2C_Read... [14:20:33]Read from MH i2c: E2 03 00 2C 08 00 90 00 A8 [14:20:33]RAPDU: 90 00 [14:20:33]wFMCommunicate OK [14:20:33]wFMCommunicate request_size=61 [14:20:33]MH_SAM_APDU [14:20:33]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 10 4A 00 00 35 04 06 00 7C FB C3 40 04 F2 [14:20:33]Write to MH i2c: E2 40 00 2D 08 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 10 4A 00 00 35 04 06 00 7C FB C3 40 04 F2 00 00 BA [14:20:33]Write i2c OK [14:20:33]MH_I2C_Read... [14:20:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:20:33]Read from MH i2c: E2 [14:20:33]MH_I2C_Read... [14:20:33]Read from MH i2c: E2 03 00 [14:20:33]MH_I2C_Read... [14:20:33]Read from MH i2c: E2 03 00 2D 08 00 90 00 A9 [14:20:33]RAPDU: 90 00 [14:20:33]wFMCommunicate OK [14:20:33]wFMCommunicate request_size=4 [14:20:33]MH_SAM_APDU [14:20:33]CAPDU: 80 0D 03 02 [14:20:33]Write to MH i2c: E2 08 00 2E 08 80 0D 03 02 00 00 00 00 B1 [14:20:33]Write i2c OK [14:20:33]MH_I2C_Read... [14:20:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:20:33]Read from MH i2c: E2 [14:20:33]MH_I2C_Read... [14:20:33]Read from MH i2c: E2 0B 00 [14:20:33]MH_I2C_Read... [14:20:33]Read from MH i2c: E2 0B 00 2E 08 00 CD 6B 1B 00 C4 6B ED A1 90 00 C2 [14:20:33]RAPDU: CD 6B 1B 00 C4 6B ED A1 90 00 [14:20:33]wFMCommunicate OK [14:20:33]SAM_PROTO_SignData done [14:20:33]FM_MakeSignedData done [14:20:33]CreateOFDProtocolMessage [14:20:33]wFMCommunicate request_size=4 [14:20:33]MH_SAM_APDU [14:20:33]CAPDU: 80 11 00 00 [14:20:33]Write to MH i2c: E2 08 00 2F 08 80 11 00 00 00 00 00 00 B1 [14:20:33]Write i2c OK [14:20:33]MH_I2C_Read... [14:20:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:20:33]Read from MH i2c: E2 [14:20:33]MH_I2C_Read... [14:20:33]Read from MH i2c: E2 17 00 [14:20:33]MH_I2C_Read... [14:20:33]Read from MH i2c: E2 17 00 2F 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 0A [14:20:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [14:20:33]wFMCommunicate OK [14:20:33]CreateOFDProtocolMessage done [14:20:33]OFDSenderStorePacket 18960 [14:20:33]StoreOFDPacket docnum=18960 [14:20:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 42 01 00 00 C1 42 3A 01 5D 75 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 31 1C F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 10 4A 00 00 35 04 06 00 7C FB C3 40 04 F2 CD 6B 1B 00 C4 6B ED A1 [14:20:33]CheckFolder [14:20:33]dirname=/storage/ofd_packets [14:20:33]CheckFolder done [14:20:33]ProducePacketName [14:20:33]name=ofd_packets/00018960 [14:20:33]NVStorageSaveData ofd_packets/00018960 [14:20:33]File name is /storage/ofd_packets/00018960 [14:20:33]Write 352 bytes [14:20:33]NVStorageSaveData done [14:20:33]OFDSenderStorePacket done [14:20:33]KKMCreateOFDPacket done [14:20:33]NVStorageSaveData kkm_last_timestamp [14:20:33]File name is /storage/kkm_last_timestamp [14:20:33]Write 4 bytes [14:20:33]NVStorageSaveData done [14:20:33]ExternCall_PrintAddStr [14:20:33]wPrintStart [14:20:33]Write to MH i2c: 01 00 00 30 08 38 [14:20:33]Write i2c OK [14:20:33]MH_I2C_Read... [14:20:33]Read from MH i2c: 01 [14:20:33]MH_I2C_Read... [14:20:33]Read from MH i2c: 01 07 00 [14:20:33]MH_I2C_Read... [14:20:33]Read from MH i2c: 01 07 00 30 08 00 00 00 00 00 FF 0F 4D [14:20:33]RasterBufferAndPrint [14:20:33]line Счет N : (3)16880 [14:20:33]line ИНН: 02508201610067 [14:20:33]line Контрольно-Кассовый Чек [14:20:33]line ПРОДАЖА [14:20:33]line Товар: 4870001571030 [14:20:33]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [14:20:33]line 1.000 * 70.00 [14:20:33]line = 70.00 [14:20:33]line НДС 12% НСП 1% [14:20:33]line > о реализуемом товаре [14:20:33]line ИТОГО: 70.00 [14:20:33]line НСП 1% : 0.62 [14:20:33]line НДС 12% : 7.43 [14:20:33]line Наличными: 70.00 [14:20:33]line Безнал.: 0.00 [14:20:33]line Место: АЗС № 176 "Партнер Нефть" [14:20:33]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [14:20:33]line СНО: Общий режим [14:20:33]line Чек 38 25.09.2024 14:20 [14:20:33]line Смена: 183 ФФД: 1.0 [14:20:33]line ЗНМ: 0300000010 [14:20:33]line РНМ: 0000000000152968 [14:20:33]line Версия ККМ: v1.0 [14:20:33]line ФМ: 0000000000959456 [14:20:33]line ФД: 18960 [14:20:33]line ФПД: 137420754388210 [14:20:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T142033&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18960&fm=137420754388210&tin=02508201610067®Number=0000000000152968&sum=7000 [14:20:33]line 0 [14:20:33]OFD Sender: Processing packet 18960 [packets to send 7, broken 6] [14:20:33]ProducePacketName [14:20:33]name=ofd_packets/00018960 [14:20:33]OFD Sender: To server: pG, [14:20:33]CommunicateWithHost lk.salyk.kg:30040 [14:20:33]ConnectInit lk.salyk.kg [14:20:33]written 0, free lines is 4095 [14:20:34]Connected sock=10 [14:20:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 42 01 00 00 C1 42 3A 01 5D 75 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 31 1C F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 10 4A 00 00 35 04 06 00 7C FB C3 40 04 F2 CD 6B 1B 00 C4 6B ED A1 [14:20:34]Write to MH i2c: 01 00 00 59 08 61 [14:20:34]Write i2c OK [14:20:34]MH_I2C_Read... [14:20:34]Read from MH i2c: 01 [14:20:34]MH_I2C_Read... [14:20:34]Read from MH i2c: 01 07 00 [14:20:34]MH_I2C_Read... [14:20:34]Read from MH i2c: 01 07 00 59 08 00 00 00 00 00 09 0D 7E [14:20:34]RasterBufferAndPrint [14:20:34]line [14:20:34]line [14:20:34]line [14:20:34]line [14:20:34]line [14:20:34]written 0, free lines is 3346 [14:20:34]MH_Cut [14:20:34]Write to MH i2c: D1 01 00 60 08 01 3A [14:20:34]Write i2c OK [14:20:34]MH_I2C_Read... [14:20:34]Read from MH i2c: D1 [14:20:34]MH_I2C_Read... [14:20:34]Read from MH i2c: D1 01 00 [14:20:34]MH_I2C_Read... [14:20:34]Read from MH i2c: D1 01 00 60 08 00 39 [14:20:34]Write to MH i2c: 01 00 00 61 08 69 [14:20:34]Write i2c OK [14:20:34]MH_I2C_Read... [14:20:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 AF 6B 47 00 98 88 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 10 4A 00 00 F4 03 04 00 8E C5 F3 66 B6 04 01 00 00 7B F5 BB 1A 70 10 2C E4 [14:20:34]CommunicateWithHost err = 0 [14:20:34]CheckOFDResponse [14:20:34]1017 (14) - 77093643461234 [14:20:34]1041 (16) - 0000000000959456 [14:20:34]1040 (4) - 18960 [14:20:34]1012 (4) - 25.09.2024 08:10 [14:20:34]1206 (1) - 0 [14:20:34]OFD Sender: Remove packet 18960 [14:20:34]ProducePacketName [14:20:34]name=ofd_packets/00018960 [14:20:34]NVStorageDeleteData [14:20:34]OFD Sender: No OFD packet to send [14:20:34]*** Cut start [14:20:34]*** Partial cut [14:20:34]*** CUTSNS_PIN = 1 [14:20:34]*** CUTSNS_PIN = 0 [14:20:35]*** Brake cut motor [14:20:35]Read from MH i2c: 01 [14:20:35]MH_I2C_Read... [14:20:35]*** Stop cut motor [14:20:35]*** Cut end [14:20:35]Read from MH i2c: 01 07 00 [14:20:35]MH_I2C_Read... [14:20:35]Read from MH i2c: 01 07 00 61 08 00 00 00 00 00 FF 0F 7E [14:20:35]process_action close_receipt done [14:20:35]requested_data is exist [14:20:35]produce_requested_data [14:20:35]requested_item fm.sn is exist - process it [14:20:35]wFMCommunicate request_size=4 [14:20:35]MH_SAM_APDU [14:20:35]CAPDU: 80 11 00 00 [14:20:35]Write to MH i2c: E2 08 00 62 08 80 11 00 00 00 00 00 00 E4 [14:20:35]Write i2c OK [14:20:35]MH_I2C_Read... [14:20:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:20:35]Read from MH i2c: E2 [14:20:35]MH_I2C_Read... [14:20:35]Read from MH i2c: E2 17 00 [14:20:35]MH_I2C_Read... [14:20:35]Read from MH i2c: E2 17 00 62 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 3D [14:20:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [14:20:35]wFMCommunicate OK [14:20:35]requested_item fd.num is exist - process it [14:20:35]SAM_PROTO_GetFieldsCounters [14:20:35]wFMCommunicate request_size=4 [14:20:35]MH_SAM_APDU [14:20:35]CAPDU: 80 13 00 00 [14:20:35]Write to MH i2c: E2 08 00 63 08 80 13 00 00 00 00 00 00 E7 [14:20:35]Write i2c OK [14:20:35]MH_I2C_Read... [14:20:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:20:35]Read from MH i2c: E2 [14:20:35]MH_I2C_Read... [14:20:35]Read from MH i2c: E2 62 00 [14:20:35]MH_I2C_Read... [14:20:35]Read from MH i2c: E2 62 00 63 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 10 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 97 [14:20:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 10 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:20:35]wFMCommunicate OK [14:20:35]SAM_PROTO_GetFieldsCounters done [14:20:35]requested_item shift.num is exist - process it [14:20:35]requested_item shift.opened is exist - process it [14:20:35]req_shift_opened [14:20:35]FM_GetShiftState [14:20:35]SAM_PROTO_GetShiftState [14:20:35]wFMCommunicate request_size=4 [14:20:35]MH_SAM_APDU [14:20:35]CAPDU: 80 13 01 00 [14:20:35]Write to MH i2c: E2 08 00 64 08 80 13 01 00 00 00 00 00 E9 [14:20:35]Write i2c OK [14:20:35]MH_I2C_Read... [14:20:35]Read from MH i2c: E2 [14:20:35]MH_I2C_Read... [14:20:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:20:35]Read from MH i2c: E2 0E 00 [14:20:35]MH_I2C_Read... [14:20:35]Read from MH i2c: E2 0E 00 64 08 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 D6 [14:20:35]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [14:20:35]wFMCommunicate OK [14:20:35]SAM_PROTO_GetShiftState done [14:20:35]FM_GetShiftState done [14:20:35]req_shift_opened done [14:20:35]requested_item shift.open_date is exist - process it [14:20:35]req_shift_open_date [14:20:35]req_shift_open_date done [14:20:35]produce_requested_data done [14:20:35]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18960,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [14:20:35]process_action_free close_receipt [14:20:35]json_value_free [14:20:35]json_value_free done [14:20:35]process_json_proto returns [14:20:35]Send response to host [14:20:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18960,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [14:20:35]free response buf [14:20:35]execute_script done [14:20:35]execute_script returns [14:20:35]free content buf [14:20:35]Sock 8.Close socket [14:20:35]Sock 8.Thread stoped [14:20:39]OFD Sender: No OFD packet to send [14:20:44]OFD Sender: No OFD packet to send [14:20:49]OFD Sender: No OFD packet to send [14:20:54]OFD Sender: No OFD packet to send [14:20:59]OFD Sender: No OFD packet to send [14:21:04]OFD Sender: No OFD packet to send [14:21:09]OFD Sender: No OFD packet to send [14:21:14]OFD Sender: No OFD packet to send [14:21:19]OFD Sender: No OFD packet to send [14:21:24]OFD Sender: No OFD packet to send [14:21:29]OFD Sender: No OFD packet to send [14:21:34]OFD Sender: No OFD packet to send [14:21:39]OFD Sender: No OFD packet to send [14:21:44]OFD Sender: No OFD packet to send [14:21:49]OFD Sender: No OFD packet to send [14:21:54]OFD Sender: No OFD packet to send [14:21:59]OFD Sender: No OFD packet to send [14:22:04]OFD Sender: No OFD packet to send [14:22:09]OFD Sender: No OFD packet to send [14:22:14]OFD Sender: No OFD packet to send [14:22:19]OFD Sender: No OFD packet to send [14:22:24]OFD Sender: No OFD packet to send [14:22:29]OFD Sender: No OFD packet to send [14:22:34]OFD Sender: No OFD packet to send [14:22:39]OFD Sender: No OFD packet to send [14:22:44]OFD Sender: No OFD packet to send [14:22:49]OFD Sender: No OFD packet to send [14:22:54]OFD Sender: No OFD packet to send [14:22:59]OFD Sender: No OFD packet to send [14:23:04]OFD Sender: No OFD packet to send [14:23:09]OFD Sender: No OFD packet to send [14:23:14]OFD Sender: No OFD packet to send [14:23:19]OFD Sender: No OFD packet to send [14:23:25]OFD Sender: No OFD packet to send [14:23:30]OFD Sender: No OFD packet to send [14:23:35]OFD Sender: No OFD packet to send [14:23:40]OFD Sender: No OFD packet to send [14:23:45]OFD Sender: No OFD packet to send [14:23:50]OFD Sender: No OFD packet to send [14:23:55]OFD Sender: No OFD packet to send [14:24:00]OFD Sender: No OFD packet to send [14:24:05]OFD Sender: No OFD packet to send [14:24:10]OFD Sender: No OFD packet to send [14:24:15]OFD Sender: No OFD packet to send [14:24:20]OFD Sender: No OFD packet to send [14:24:25]OFD Sender: No OFD packet to send [14:24:30]OFD Sender: No OFD packet to send [14:24:35]OFD Sender: No OFD packet to send [14:24:40]OFD Sender: No OFD packet to send [14:24:45]OFD Sender: No OFD packet to send [14:24:50]OFD Sender: No OFD packet to send [14:24:55]OFD Sender: No OFD packet to send [14:25:00]OFD Sender: No OFD packet to send [14:25:05]OFD Sender: No OFD packet to send [14:25:10]OFD Sender: No OFD packet to send [14:25:15]OFD Sender: No OFD packet to send [14:25:20]OFD Sender: No OFD packet to send [14:25:25]OFD Sender: No OFD packet to send [14:25:30]OFD Sender: No OFD packet to send [14:25:35]OFD Sender: No OFD packet to send [14:25:40]OFD Sender: No OFD packet to send [14:25:45]OFD Sender: No OFD packet to send [14:25:50]OFD Sender: No OFD packet to send [14:25:55]OFD Sender: No OFD packet to send [14:26:00]OFD Sender: No OFD packet to send [14:26:05]OFD Sender: No OFD packet to send [14:26:10]OFD Sender: No OFD packet to send [14:26:15]OFD Sender: No OFD packet to send [14:26:20]OFD Sender: No OFD packet to send [14:26:25]OFD Sender: No OFD packet to send [14:26:30]OFD Sender: No OFD packet to send [14:26:35]OFD Sender: No OFD packet to send [14:26:40]OFD Sender: No OFD packet to send [14:26:45]OFD Sender: No OFD packet to send [14:26:50]OFD Sender: No OFD packet to send [14:26:55]OFD Sender: No OFD packet to send [14:27:00]OFD Sender: No OFD packet to send [14:27:05]OFD Sender: No OFD packet to send [14:27:10]OFD Sender: No OFD packet to send [14:27:15]OFD Sender: No OFD packet to send [14:27:20]OFD Sender: No OFD packet to send [14:27:25]OFD Sender: No OFD packet to send [14:27:30]OFD Sender: No OFD packet to send [14:27:35]OFD Sender: No OFD packet to send [14:27:40]OFD Sender: No OFD packet to send [14:27:45]OFD Sender: No OFD packet to send [14:27:50]OFD Sender: No OFD packet to send [14:27:55]OFD Sender: No OFD packet to send [14:28:00]OFD Sender: No OFD packet to send [14:28:05]OFD Sender: No OFD packet to send [14:28:10]OFD Sender: No OFD packet to send [14:28:15]OFD Sender: No OFD packet to send [14:28:20]OFD Sender: No OFD packet to send [14:28:25]OFD Sender: No OFD packet to send [14:28:30]OFD Sender: No OFD packet to send [14:28:35]OFD Sender: No OFD packet to send [14:28:40]OFD Sender: No OFD packet to send [14:28:45]OFD Sender: No OFD packet to send [14:28:50]OFD Sender: No OFD packet to send [14:28:55]OFD Sender: No OFD packet to send [14:29:00]OFD Sender: No OFD packet to send [14:29:05]OFD Sender: No OFD packet to send [14:29:10]OFD Sender: No OFD packet to send [14:29:15]OFD Sender: No OFD packet to send [14:29:20]OFD Sender: No OFD packet to send [14:29:25]OFD Sender: No OFD packet to send [14:29:30]OFD Sender: No OFD packet to send [14:29:35]OFD Sender: No OFD packet to send [14:29:40]OFD Sender: No OFD packet to send [14:29:45]OFD Sender: No OFD packet to send [14:29:50]OFD Sender: No OFD packet to send [14:29:55]OFD Sender: No OFD packet to send [14:30:00]OFD Sender: No OFD packet to send [14:30:05]OFD Sender: No OFD packet to send [14:30:10]OFD Sender: No OFD packet to send [14:30:15]OFD Sender: No OFD packet to send [14:30:20]OFD Sender: No OFD packet to send [14:30:25]OFD Sender: No OFD packet to send [14:30:30]OFD Sender: No OFD packet to send [14:30:35]OFD Sender: No OFD packet to send [14:30:40]OFD Sender: No OFD packet to send [14:30:45]OFD Sender: No OFD packet to send [14:30:50]OFD Sender: No OFD packet to send [14:30:55]OFD Sender: No OFD packet to send [14:31:00]OFD Sender: No OFD packet to send [14:31:05]OFD Sender: No OFD packet to send [14:31:10]OFD Sender: No OFD packet to send [14:31:15]OFD Sender: No OFD packet to send [14:31:20]OFD Sender: No OFD packet to send [14:31:25]OFD Sender: No OFD packet to send [14:31:30]OFD Sender: No OFD packet to send [14:31:35]OFD Sender: No OFD packet to send [14:31:40]OFD Sender: No OFD packet to send [14:31:45]OFD Sender: No OFD packet to send [14:31:50]OFD Sender: No OFD packet to send [14:31:55]OFD Sender: No OFD packet to send [14:32:00]OFD Sender: No OFD packet to send [14:32:05]OFD Sender: No OFD packet to send [14:32:10]OFD Sender: No OFD packet to send [14:32:15]OFD Sender: No OFD packet to send [14:32:20]OFD Sender: No OFD packet to send [14:32:25]OFD Sender: No OFD packet to send [14:32:30]OFD Sender: No OFD packet to send [14:32:35]OFD Sender: No OFD packet to send [14:32:40]OFD Sender: No OFD packet to send [14:32:45]OFD Sender: No OFD packet to send [14:32:50]OFD Sender: No OFD packet to send [14:32:55]OFD Sender: No OFD packet to send [14:33:00]OFD Sender: No OFD packet to send [14:33:05]OFD Sender: No OFD packet to send [14:33:10]OFD Sender: No OFD packet to send [14:33:15]OFD Sender: No OFD packet to send [14:33:20]OFD Sender: No OFD packet to send [14:33:25]OFD Sender: No OFD packet to send [14:33:30]OFD Sender: No OFD packet to send [14:33:35]OFD Sender: No OFD packet to send [14:33:40]OFD Sender: No OFD packet to send [14:33:45]OFD Sender: No OFD packet to send [14:33:50]OFD Sender: No OFD packet to send [14:33:55]OFD Sender: No OFD packet to send [14:34:00]OFD Sender: No OFD packet to send [14:34:05]OFD Sender: No OFD packet to send [14:34:10]OFD Sender: No OFD packet to send [14:34:15]OFD Sender: No OFD packet to send [14:34:20]OFD Sender: No OFD packet to send [14:34:25]OFD Sender: No OFD packet to send [14:34:30]OFD Sender: No OFD packet to send [14:34:35]OFD Sender: No OFD packet to send [14:34:40]OFD Sender: No OFD packet to send [14:34:45]OFD Sender: No OFD packet to send [14:34:50]OFD Sender: No OFD packet to send [14:34:55]OFD Sender: No OFD packet to send [14:35:00]OFD Sender: No OFD packet to send [14:35:05]OFD Sender: No OFD packet to send [14:35:10]OFD Sender: No OFD packet to send [14:35:15]OFD Sender: No OFD packet to send [14:35:20]OFD Sender: No OFD packet to send [14:35:25]OFD Sender: No OFD packet to send [14:35:30]OFD Sender: No OFD packet to send [14:35:35]OFD Sender: No OFD packet to send [14:35:40]OFD Sender: No OFD packet to send [14:35:45]OFD Sender: No OFD packet to send [14:35:50]OFD Sender: No OFD packet to send [14:35:55]OFD Sender: No OFD packet to send [14:36:00]OFD Sender: No OFD packet to send [14:36:05]OFD Sender: No OFD packet to send [14:36:10]OFD Sender: No OFD packet to send [14:36:15]OFD Sender: No OFD packet to send [14:36:20]OFD Sender: No OFD packet to send [14:36:25]OFD Sender: No OFD packet to send [14:36:30]OFD Sender: No OFD packet to send [14:36:35]OFD Sender: No OFD packet to send [14:36:40]OFD Sender: No OFD packet to send [14:36:45]OFD Sender: No OFD packet to send [14:36:50]OFD Sender: No OFD packet to send [14:36:55]OFD Sender: No OFD packet to send [14:37:00]OFD Sender: No OFD packet to send [14:37:05]OFD Sender: No OFD packet to send [14:37:10]OFD Sender: No OFD packet to send [14:37:15]OFD Sender: No OFD packet to send [14:37:20]OFD Sender: No OFD packet to send [14:37:25]OFD Sender: No OFD packet to send [14:37:30]OFD Sender: No OFD packet to send [14:37:35]OFD Sender: No OFD packet to send [14:37:40]OFD Sender: No OFD packet to send [14:37:45]OFD Sender: No OFD packet to send [14:37:50]OFD Sender: No OFD packet to send [14:37:55]OFD Sender: No OFD packet to send [14:38:00]OFD Sender: No OFD packet to send [14:38:05]OFD Sender: No OFD packet to send [14:38:10]OFD Sender: No OFD packet to send [14:38:15]OFD Sender: No OFD packet to send [14:38:20]OFD Sender: No OFD packet to send [14:38:25]OFD Sender: No OFD packet to send [14:38:30]OFD Sender: No OFD packet to send [14:38:35]OFD Sender: No OFD packet to send [14:38:40]OFD Sender: No OFD packet to send [14:38:45]OFD Sender: No OFD packet to send [14:38:50]OFD Sender: No OFD packet to send [14:38:55]OFD Sender: No OFD packet to send [14:39:00]OFD Sender: No OFD packet to send [14:39:05]OFD Sender: No OFD packet to send [14:39:10]OFD Sender: No OFD packet to send [14:39:15]OFD Sender: No OFD packet to send [14:39:20]OFD Sender: No OFD packet to send [14:39:25]OFD Sender: No OFD packet to send [14:39:30]OFD Sender: No OFD packet to send [14:39:35]OFD Sender: No OFD packet to send [14:39:40]OFD Sender: No OFD packet to send [14:39:45]OFD Sender: No OFD packet to send [14:39:50]OFD Sender: No OFD packet to send [14:39:55]OFD Sender: No OFD packet to send [14:40:00]OFD Sender: No OFD packet to send [14:40:02]accept exits with 9 [14:40:02]New connection [14:40:02]New thread 3066764644 created [14:40:02]Thread 3066621284 joined [14:40:02]Waiting for new connection... [14:40:02] Sock 9.Parse request [14:40:02]Sock 9.Check first char [14:40:02]Sock 9.First char is OK [14:40:02]request: POST /json_proto HTTP/1.0 [14:40:02]Method: POST [14:40:02]URL: /json_proto [14:40:02]Method is POST - this is cgi request [14:40:02]url: /json_proto [14:40:02]query_string will be loaded in cgi processing [14:40:02]execute_cgi json_proto POST (null) [14:40:02]execute_cgi path=json_proto method=POST [14:40:02]POST find Content-Length [14:40:02]Host: 172.17.62.196:8080 [14:40:02]Content-Length: 889 [14:40:02]Content-Type: application/json [14:40:02] [14:40:02]POST finish read [14:40:02]Found Content-Length = 889 [14:40:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16881", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 4.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160044", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 0,5\u043B", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 240.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:40:02]execute_script... [14:40:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16881", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 4.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160044", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 0,5\u043B", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 240.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:40:02]POST & json_proto [14:40:02]process_json_proto [14:40:02]json parsed OK: [14:40:02]protocol is kg_v1.0 [14:40:02]action value=close_receipt [14:40:02]process_action close_receipt [14:40:02]cmd_close_receipt [14:40:02]MH_GetDate [14:40:02]Write to MH i2c: F0 00 00 65 08 5C [14:40:02]Write i2c OK [14:40:02]MH_I2C_Read... [14:40:02]Read from MH i2c: F0 [14:40:02]MH_I2C_Read... [14:40:02]Read from MH i2c: F0 09 00 [14:40:02]MH_I2C_Read... [14:40:02]Read from MH i2c: F0 09 00 65 08 00 C4 20 F4 66 CE CC 0E 66 B1 [14:40:02]GetLastDocTimeStamp 1727274033 [14:40:02]current date 1727275204 [14:40:02]FM_GetShiftState [14:40:02]SAM_PROTO_GetShiftState [14:40:02]wFMCommunicate request_size=4 [14:40:02]MH_SAM_APDU [14:40:02]CAPDU: 80 13 01 00 [14:40:02]Write to MH i2c: E2 08 00 66 08 80 13 01 00 00 00 00 00 EB [14:40:02]Write i2c OK [14:40:02]MH_I2C_Read... [14:40:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:40:02]Read from MH i2c: E2 [14:40:02]MH_I2C_Read... [14:40:02]Read from MH i2c: E2 0E 00 [14:40:02]MH_I2C_Read... [14:40:02]Read from MH i2c: E2 0E 00 66 08 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 D8 [14:40:02]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [14:40:02]wFMCommunicate OK [14:40:02]SAM_PROTO_GetShiftState done [14:40:02]FM_GetShiftState done [14:40:02]opened in 1727223091 [14:40:02]opened+sec_in_day 1727309491 [14:40:02]quantity*price = 16000 [14:40:02]sum+1 = 16001 [14:40:02]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160044 Вода Ыссык Ата 0,5л 2.000 * 40.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 240.00 НСП 1% : 2.13 НДС 12% : 25.49 Наличными: 240.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 39 25.09.2024 14:40 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18961 ФПД: 142109890805147 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T144004&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18961&fm=142109890805147&tin=02508201610067®Number=0000000000152968&sum=24000 0 [14:40:04]StoreToDocumentArchive [14:40:04]shift 183 fd 18961 [14:40:04]save to /storage/0183/doc_00018961 [14:40:04]save last doc name /storage/0183/doc_00018961 to /storage/kkm_last_doc_name [14:40:04]save OK [14:40:04]Clear old archive folders... [14:40:04]ProcessDocumentItem done err = 0, tmpTLVsize=375 [14:40:04]tlvbuf is 015C5930 [14:40:04]SAM_PROTO_ClearQueue [14:40:04]wFMCommunicate request_size=4 [14:40:04]MH_SAM_APDU [14:40:04]CAPDU: 80 09 00 00 [14:40:04]Write to MH i2c: E2 08 00 73 08 80 09 00 00 00 00 00 00 ED [14:40:04]Write i2c OK [14:40:04]MH_I2C_Read... [14:40:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:40:04]Read from MH i2c: E2 [14:40:04]MH_I2C_Read... [14:40:04]Read from MH i2c: E2 03 00 [14:40:04]MH_I2C_Read... [14:40:04]Read from MH i2c: E2 03 00 73 08 00 90 00 EF [14:40:04]RAPDU: 90 00 [14:40:04]wFMCommunicate OK [14:40:04]SAM_PROTO_ClearQueue done [14:40:04]KKMCreateOFDPacket [14:40:04]OFDProtocolAddRootSTLVToBuf [14:40:04]FM_MakeSignedData [14:40:04]FM_MakeSignedData [14:40:04]SAM_PROTO_SignData [14:40:04]wFMCommunicate request_size=4 [14:40:04]MH_SAM_APDU [14:40:04]CAPDU: 80 0D 01 02 [14:40:04]Write to MH i2c: E2 08 00 74 08 80 0D 01 02 00 00 00 00 F5 [14:40:04]Write i2c OK [14:40:04]MH_I2C_Read... [14:40:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:40:04]Read from MH i2c: E2 [14:40:04]MH_I2C_Read... [14:40:04]Read from MH i2c: E2 03 00 [14:40:04]MH_I2C_Read... [14:40:04]Read from MH i2c: E2 03 00 74 08 00 90 00 F0 [14:40:04]RAPDU: 90 00 [14:40:04]wFMCommunicate OK [14:40:04]wFMCommunicate request_size=255 [14:40:04]MH_SAM_APDU [14:40:04]CAPDU: 80 0D 02 02 FA 03 00 77 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 34 34 06 04 20 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 00 00 00 00 00 EE 03 0F [14:40:04]Write to MH i2c: E2 02 01 75 08 80 0D 02 02 FA 00 03 00 77 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 34 34 06 04 20 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 00 00 00 00 00 EE 03 0F 00 00 FC [14:40:04]Write i2c OK [14:40:04]MH_I2C_Read... [14:40:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:40:04]Read from MH i2c: E2 [14:40:04]MH_I2C_Read... [14:40:04]Read from MH i2c: E2 03 00 [14:40:04]MH_I2C_Read... [14:40:04]Read from MH i2c: E2 03 00 75 08 00 90 00 F1 [14:40:04]RAPDU: 90 00 [14:40:04]wFMCommunicate OK [14:40:04]wFMCommunicate request_size=134 [14:40:04]MH_SAM_APDU [14:40:04]CAPDU: 80 0D 02 02 81 00 F2 03 01 00 01 F3 03 06 00 F5 09 00 00 00 00 07 04 06 00 C0 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 C4 20 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 11 4A 00 00 35 04 06 00 81 3F 89 8F 7D 9B [14:40:04]Write to MH i2c: E2 89 00 76 08 80 0D 02 02 81 00 00 F2 03 01 00 01 F3 03 06 00 F5 09 00 00 00 00 07 04 06 00 C0 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 C4 20 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 11 4A 00 00 35 04 06 00 81 3F 89 8F 7D 9B 00 00 B5 [14:40:04]Write i2c OK [14:40:04]MH_I2C_Read... [14:40:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:40:04]Read from MH i2c: E2 [14:40:04]MH_I2C_Read... [14:40:04]Read from MH i2c: E2 03 00 [14:40:04]MH_I2C_Read... [14:40:04]Read from MH i2c: E2 03 00 76 08 00 90 00 F2 [14:40:04]RAPDU: 90 00 [14:40:04]wFMCommunicate OK [14:40:04]wFMCommunicate request_size=4 [14:40:04]MH_SAM_APDU [14:40:04]CAPDU: 80 0D 03 02 [14:40:04]Write to MH i2c: E2 08 00 77 08 80 0D 03 02 00 00 00 00 FA [14:40:04]Write i2c OK [14:40:04]MH_I2C_Read... [14:40:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:40:04]Read from MH i2c: E2 [14:40:04]MH_I2C_Read... [14:40:04]Read from MH i2c: E2 0B 00 [14:40:04]MH_I2C_Read... [14:40:04]Read from MH i2c: E2 0B 00 77 08 00 3D EC A3 E6 D2 ED 28 83 90 00 17 [14:40:04]RAPDU: 3D EC A3 E6 D2 ED 28 83 90 00 [14:40:04]wFMCommunicate OK [14:40:04]SAM_PROTO_SignData done [14:40:04]FM_MakeSignedData done [14:40:04]CreateOFDProtocolMessage [14:40:04]wFMCommunicate request_size=4 [14:40:04]MH_SAM_APDU [14:40:04]CAPDU: 80 11 00 00 [14:40:04]Write to MH i2c: E2 08 00 78 08 80 11 00 00 00 00 00 00 FA [14:40:04]Write i2c OK [14:40:04]MH_I2C_Read... [14:40:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:40:04]Read from MH i2c: E2 [14:40:04]MH_I2C_Read... [14:40:04]Read from MH i2c: E2 17 00 [14:40:04]MH_I2C_Read... [14:40:04]Read from MH i2c: E2 17 00 78 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 53 [14:40:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [14:40:04]wFMCommunicate OK [14:40:04]CreateOFDProtocolMessage done [14:40:04]OFDSenderStorePacket 18961 [14:40:04]StoreOFDPacket docnum=18961 [14:40:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 8B 01 00 00 6B 30 83 01 58 6B 5A 03 01 00 03 00 77 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 34 34 06 04 20 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 09 00 00 00 00 07 04 06 00 C0 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 C4 20 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 11 4A 00 00 35 04 06 00 81 3F 89 8F 7D 9B 3D EC A3 E6 D2 ED 28 83 [14:40:04]CheckFolder [14:40:04]dirname=/storage/ofd_packets [14:40:04]CheckFolder done [14:40:04]ProducePacketName [14:40:04]name=ofd_packets/00018961 [14:40:04]NVStorageSaveData ofd_packets/00018961 [14:40:04]File name is /storage/ofd_packets/00018961 [14:40:04]Write 425 bytes [14:40:04]NVStorageSaveData done [14:40:04]OFDSenderStorePacket done [14:40:04]KKMCreateOFDPacket done [14:40:04]NVStorageSaveData kkm_last_timestamp [14:40:04]File name is /storage/kkm_last_timestamp [14:40:04]Write 4 bytes [14:40:04]NVStorageSaveData done [14:40:04]ExternCall_PrintAddStr [14:40:04]wPrintStart [14:40:04]Write to MH i2c: 01 00 00 79 08 81 [14:40:04]Write i2c OK [14:40:04]MH_I2C_Read... [14:40:04]Read from MH i2c: 01 [14:40:04]MH_I2C_Read... [14:40:04]Read from MH i2c: 01 07 00 [14:40:05]MH_I2C_Read... [14:40:05]OFD Sender: Processing packet 18961 [packets to send 7, broken 6] [14:40:05]ProducePacketName [14:40:05]name=ofd_packets/00018961 [14:40:05]OFD Sender: To server: pG, [14:40:05]CommunicateWithHost lk.salyk.kg:30040 [14:40:05]ConnectInit lk.salyk.kg [14:40:05]Read from MH i2c: 01 07 00 79 08 00 00 00 00 00 FF 0F 96 [14:40:05]RasterBufferAndPrint [14:40:05]line Счет N : (3)16881 [14:40:05]line ИНН: 02508201610067 [14:40:05]line Контрольно-Кассовый Чек [14:40:05]line ПРОДАЖА [14:40:05]line Товар: 4700000160211 [14:40:05]line Вода Легенда 0,5л [14:40:05]line 4.000 * 40.00 [14:40:05]line = 160.00 [14:40:05]line НДС 12% НСП 1% [14:40:05]line > о реализуемом товаре [14:40:05]line Товар: 4700000160044 [14:40:05]line Вода Ыссык Ата 0,5л [14:40:05]line 2.000 * 40.00 [14:40:05]line = 80.00 [14:40:05]line НДС 12% НСП 1% [14:40:05]line > о реализуемом товаре [14:40:05]line ИТОГО: 240.00 [14:40:05]line НСП 1% : 2.13 [14:40:05]line НДС 12% : 25.49 [14:40:05]line Наличными: 240.00 [14:40:05]line Безнал.: 0.00 [14:40:05]line Место: АЗС № 176 "Партнер Нефть" [14:40:05]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [14:40:05]line СНО: Общий режим [14:40:05]line Чек 39 25.09.2024 14:40 [14:40:05]line Смена: 183 ФФД: 1.0 [14:40:05]line ЗНМ: 0300000010 [14:40:05]line РНМ: 0000000000152968 [14:40:05]line Версия ККМ: v1.0 [14:40:05]line ФМ: 0000000000959456 [14:40:05]line ФД: 18961 [14:40:05]line ФПД: 142109890805147 [14:40:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T144004&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18961&fm=142109890805147&tin=02508201610067®Number=0000000000152968&sum=24000 [14:40:05]line 0 [14:40:05]written 0, free lines is 4095 [14:40:05]Connected sock=10 [14:40:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 8B 01 00 00 6B 30 83 01 58 6B 5A 03 01 00 03 00 77 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 34 34 06 04 20 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 09 00 00 00 00 07 04 06 00 C0 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 C4 20 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 11 4A 00 00 35 04 06 00 81 3F 89 8F 7D 9B 3D EC A3 E6 D2 ED 28 83 [14:40:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 BD 73 47 00 D8 22 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 11 4A 00 00 F4 03 04 00 21 CA F3 66 B6 04 01 00 00 43 DD 74 05 D0 00 87 2E [14:40:05]CommunicateWithHost err = 0 [14:40:05]CheckOFDResponse [14:40:05]1017 (14) - 77093643461234 [14:40:05]1041 (16) - 0000000000959456 [14:40:05]1040 (4) - 18961 [14:40:05]1012 (4) - 25.09.2024 08:30 [14:40:05]1206 (1) - 0 [14:40:05]OFD Sender: Remove packet 18961 [14:40:05]ProducePacketName [14:40:05]name=ofd_packets/00018961 [14:40:05]NVStorageDeleteData [14:40:05]Write to MH i2c: 01 00 00 A7 08 AF [14:40:05]Write i2c OK [14:40:05]MH_I2C_Read... [14:40:05]Read from MH i2c: 01 [14:40:05]MH_I2C_Read... [14:40:05]Read from MH i2c: 01 07 00 [14:40:05]MH_I2C_Read... [14:40:05]Read from MH i2c: 01 07 00 A7 08 00 00 00 00 00 D6 0C 98 [14:40:05]RasterBufferAndPrint [14:40:05]line [14:40:05]line [14:40:05]line [14:40:05]line [14:40:05]line [14:40:05]written 0, free lines is 3293 [14:40:05]MH_Cut [14:40:05]Write to MH i2c: D1 01 00 AE 08 01 88 [14:40:05]Write i2c OK [14:40:05]MH_I2C_Read... [14:40:05]Read from MH i2c: D1 [14:40:05]MH_I2C_Read... [14:40:05]Read from MH i2c: D1 01 00 [14:40:05]MH_I2C_Read... [14:40:05]Read from MH i2c: D1 01 00 AE 08 00 87 [14:40:05]Write to MH i2c: 01 00 00 AF 08 B7 [14:40:05]Write i2c OK [14:40:05]MH_I2C_Read... [14:40:06]OFD Sender: No OFD packet to send [14:40:06]*** Cut start [14:40:06]*** Partial cut [14:40:06]*** CUTSNS_PIN = 1 [14:40:06]*** CUTSNS_PIN = 0 [14:40:06]*** Brake cut motor [14:40:06]Read from MH i2c: 01 [14:40:06]MH_I2C_Read... [14:40:06]*** Stop cut motor [14:40:06]*** Cut end [14:40:06]Read from MH i2c: 01 07 00 [14:40:06]MH_I2C_Read... [14:40:06]Read from MH i2c: 01 07 00 AF 08 00 00 00 00 00 FF 0F CC [14:40:06]process_action close_receipt done [14:40:06]requested_data is exist [14:40:06]produce_requested_data [14:40:06]requested_item fm.sn is exist - process it [14:40:06]wFMCommunicate request_size=4 [14:40:06]MH_SAM_APDU [14:40:06]CAPDU: 80 11 00 00 [14:40:06]Write to MH i2c: E2 08 00 B0 08 80 11 00 00 00 00 00 00 32 [14:40:06]Write i2c OK [14:40:06]MH_I2C_Read... [14:40:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:40:06]Read from MH i2c: E2 [14:40:06]MH_I2C_Read... [14:40:06]Read from MH i2c: E2 17 00 [14:40:06]MH_I2C_Read... [14:40:06]Read from MH i2c: E2 17 00 B0 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 8B [14:40:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [14:40:06]wFMCommunicate OK [14:40:06]requested_item fd.num is exist - process it [14:40:06]SAM_PROTO_GetFieldsCounters [14:40:06]wFMCommunicate request_size=4 [14:40:06]MH_SAM_APDU [14:40:06]CAPDU: 80 13 00 00 [14:40:06]Write to MH i2c: E2 08 00 B1 08 80 13 00 00 00 00 00 00 35 [14:40:06]Write i2c OK [14:40:06]MH_I2C_Read... [14:40:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:40:07]Read from MH i2c: E2 [14:40:07]MH_I2C_Read... [14:40:07]Read from MH i2c: E2 62 00 [14:40:07]MH_I2C_Read... [14:40:07]Read from MH i2c: E2 62 00 B1 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 11 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 E9 [14:40:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 11 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:40:07]wFMCommunicate OK [14:40:07]SAM_PROTO_GetFieldsCounters done [14:40:07]requested_item shift.num is exist - process it [14:40:07]requested_item shift.opened is exist - process it [14:40:07]req_shift_opened [14:40:07]FM_GetShiftState [14:40:07]SAM_PROTO_GetShiftState [14:40:07]wFMCommunicate request_size=4 [14:40:07]MH_SAM_APDU [14:40:07]CAPDU: 80 13 01 00 [14:40:07]Write to MH i2c: E2 08 00 B2 08 80 13 01 00 00 00 00 00 37 [14:40:07]Write i2c OK [14:40:07]MH_I2C_Read... [14:40:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:40:07]Read from MH i2c: E2 [14:40:07]MH_I2C_Read... [14:40:07]Read from MH i2c: E2 0E 00 [14:40:07]MH_I2C_Read... [14:40:07]Read from MH i2c: E2 0E 00 B2 08 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 24 [14:40:07]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [14:40:07]wFMCommunicate OK [14:40:07]SAM_PROTO_GetShiftState done [14:40:07]FM_GetShiftState done [14:40:07]req_shift_opened done [14:40:07]requested_item shift.open_date is exist - process it [14:40:07]req_shift_open_date [14:40:07]req_shift_open_date done [14:40:07]produce_requested_data done [14:40:07]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18961,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [14:40:07]process_action_free close_receipt [14:40:07]json_value_free [14:40:07]json_value_free done [14:40:07]process_json_proto returns [14:40:07]Send response to host [14:40:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18961,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [14:40:07]free response buf [14:40:07]execute_script done [14:40:07]execute_script returns [14:40:07]free content buf [14:40:07]Sock 9.Close socket [14:40:07]Sock 9.Thread stoped [14:40:11]OFD Sender: No OFD packet to send [14:40:16]OFD Sender: No OFD packet to send [14:40:21]OFD Sender: No OFD packet to send [14:40:26]OFD Sender: No OFD packet to send [14:40:31]OFD Sender: No OFD packet to send [14:40:36]OFD Sender: No OFD packet to send [14:40:41]OFD Sender: No OFD packet to send [14:40:46]OFD Sender: No OFD packet to send [14:40:51]OFD Sender: No OFD packet to send [14:40:56]OFD Sender: No OFD packet to send [14:41:01]OFD Sender: No OFD packet to send [14:41:06]OFD Sender: No OFD packet to send [14:41:11]OFD Sender: No OFD packet to send [14:41:16]OFD Sender: No OFD packet to send [14:41:21]OFD Sender: No OFD packet to send [14:41:26]OFD Sender: No OFD packet to send [14:41:31]OFD Sender: No OFD packet to send [14:41:36]OFD Sender: No OFD packet to send [14:41:41]OFD Sender: No OFD packet to send [14:41:46]OFD Sender: No OFD packet to send [14:41:48]accept exits with 8 [14:41:48]New connection [14:41:48]New thread 3066621284 created [14:41:48]Thread 3066764644 joined [14:41:48]Waiting for new connection... [14:41:48] Sock 8.Parse request [14:41:48]Sock 8.Check first char [14:41:48]Sock 8.First char is OK [14:41:48]request: POST /json_proto HTTP/1.0 [14:41:48]Method: POST [14:41:48]URL: /json_proto [14:41:48]Method is POST - this is cgi request [14:41:48]url: /json_proto [14:41:48]query_string will be loaded in cgi processing [14:41:48]execute_cgi json_proto POST (null) [14:41:48]execute_cgi path=json_proto method=POST [14:41:48]POST find Content-Length [14:41:48]Host: 172.17.62.196:8080 [14:41:48]Content-Length: 643 [14:41:48]Content-Type: application/json [14:41:48] [14:41:48]POST finish read [14:41:48]Found Content-Length = 643 [14:41:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16882", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 5.000, "sum" : 295.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 295.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:41:48]execute_script... [14:41:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16882", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 5.000, "sum" : 295.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 295.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:41:48]POST & json_proto [14:41:48]process_json_proto [14:41:48]json parsed OK: [14:41:48]protocol is kg_v1.0 [14:41:48]action value=close_receipt [14:41:48]process_action close_receipt [14:41:48]cmd_close_receipt [14:41:48]MH_GetDate [14:41:48]Write to MH i2c: F0 00 00 B3 08 AA [14:41:48]Write i2c OK [14:41:48]MH_I2C_Read... [14:41:48]Read from MH i2c: F0 [14:41:48]MH_I2C_Read... [14:41:48]Read from MH i2c: F0 09 00 [14:41:48]MH_I2C_Read... [14:41:48]Read from MH i2c: F0 09 00 B3 08 00 2E 21 F4 66 CE CC 0E 66 6A [14:41:48]GetLastDocTimeStamp 1727275204 [14:41:48]current date 1727275310 [14:41:48]FM_GetShiftState [14:41:48]SAM_PROTO_GetShiftState [14:41:48]wFMCommunicate request_size=4 [14:41:48]MH_SAM_APDU [14:41:48]CAPDU: 80 13 01 00 [14:41:48]Write to MH i2c: E2 08 00 B4 08 80 13 01 00 00 00 00 00 39 [14:41:48]Write i2c OK [14:41:48]MH_I2C_Read... [14:41:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:41:48]Read from MH i2c: E2 [14:41:48]MH_I2C_Read... [14:41:48]Read from MH i2c: E2 0E 00 [14:41:48]MH_I2C_Read... [14:41:48]Read from MH i2c: E2 0E 00 B4 08 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 26 [14:41:48]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [14:41:48]wFMCommunicate OK [14:41:48]SAM_PROTO_GetShiftState done [14:41:48]FM_GetShiftState done [14:41:48]opened in 1727223091 [14:41:48]opened+sec_in_day 1727309491 [14:41:48]quantity*price = 29500 [14:41:48]sum+1 = 29501 [14:41:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 295.00 НСП 1% : 2.61 НДС 12% : 31.33 Наличными: 295.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 40 25.09.2024 14:41 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18962 ФПД: 26009490480457 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T144150&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18962&fm=26009490480457&tin=02508201610067®Number=0000000000152968&sum=29500 0 [14:41:49]StoreToDocumentArchive [14:41:49]shift 183 fd 18962 [14:41:49]save to /storage/0183/doc_00018962 [14:41:49]save last doc name /storage/0183/doc_00018962 to /storage/kkm_last_doc_name [14:41:49]save OK [14:41:49]Clear old archive folders... [14:41:49]ProcessDocumentItem done err = 0, tmpTLVsize=281 [14:41:49]tlvbuf is 015A87E0 [14:41:49]SAM_PROTO_ClearQueue [14:41:49]wFMCommunicate request_size=4 [14:41:49]MH_SAM_APDU [14:41:49]CAPDU: 80 09 00 00 [14:41:49]Write to MH i2c: E2 08 00 C1 08 80 09 00 00 00 00 00 00 3B [14:41:49]Write i2c OK [14:41:49]MH_I2C_Read... [14:41:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:41:49]Read from MH i2c: E2 [14:41:49]MH_I2C_Read... [14:41:49]Read from MH i2c: E2 03 00 [14:41:49]MH_I2C_Read... [14:41:49]Read from MH i2c: E2 03 00 C1 08 00 90 00 3D [14:41:49]RAPDU: 90 00 [14:41:49]wFMCommunicate OK [14:41:49]SAM_PROTO_ClearQueue done [14:41:49]KKMCreateOFDPacket [14:41:49]OFDProtocolAddRootSTLVToBuf [14:41:49]FM_MakeSignedData [14:41:49]FM_MakeSignedData [14:41:49]SAM_PROTO_SignData [14:41:49]wFMCommunicate request_size=4 [14:41:49]MH_SAM_APDU [14:41:49]CAPDU: 80 0D 01 02 [14:41:49]Write to MH i2c: E2 08 00 C2 08 80 0D 01 02 00 00 00 00 43 [14:41:49]Write i2c OK [14:41:49]MH_I2C_Read... [14:41:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:41:49]Read from MH i2c: E2 [14:41:49]MH_I2C_Read... [14:41:49]Read from MH i2c: E2 03 00 [14:41:49]MH_I2C_Read... [14:41:49]Read from MH i2c: E2 03 00 C2 08 00 90 00 3E [14:41:49]RAPDU: 90 00 [14:41:49]wFMCommunicate OK [14:41:49]wFMCommunicate request_size=255 [14:41:49]MH_SAM_APDU [14:41:49]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 3C 73 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 0C 00 00 00 00 07 04 06 00 3C 73 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 2E 21 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 [14:41:49]Write to MH i2c: E2 02 01 C3 08 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 3C 73 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 0C 00 00 00 00 07 04 06 00 3C 73 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 2E 21 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 00 59 [14:41:50]Write i2c OK [14:41:50]MH_I2C_Read... [14:41:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:41:50]Read from MH i2c: E2 [14:41:50]MH_I2C_Read... [14:41:50]Read from MH i2c: E2 03 00 [14:41:50]MH_I2C_Read... [14:41:50]Read from MH i2c: E2 03 00 C3 08 00 90 00 3F [14:41:50]RAPDU: 90 00 [14:41:50]wFMCommunicate OK [14:41:50]wFMCommunicate request_size=40 [14:41:50]MH_SAM_APDU [14:41:50]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 12 4A 00 00 35 04 06 00 17 A7 CE 70 DD 49 [14:41:50]Write to MH i2c: E2 2B 00 C4 08 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 12 4A 00 00 35 04 06 00 17 A7 CE 70 DD 49 00 00 87 [14:41:50]Write i2c OK [14:41:50]MH_I2C_Read... [14:41:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:41:50]Read from MH i2c: E2 [14:41:50]MH_I2C_Read... [14:41:50]Read from MH i2c: E2 03 00 [14:41:50]MH_I2C_Read... [14:41:50]Read from MH i2c: E2 03 00 C4 08 00 90 00 40 [14:41:50]RAPDU: 90 00 [14:41:50]wFMCommunicate OK [14:41:50]wFMCommunicate request_size=4 [14:41:50]MH_SAM_APDU [14:41:50]CAPDU: 80 0D 03 02 [14:41:50]Write to MH i2c: E2 08 00 C5 08 80 0D 03 02 00 00 00 00 48 [14:41:50]Write i2c OK [14:41:50]MH_I2C_Read... [14:41:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:41:50]Read from MH i2c: E2 [14:41:50]MH_I2C_Read... [14:41:50]Read from MH i2c: E2 0B 00 [14:41:50]MH_I2C_Read... [14:41:50]Read from MH i2c: E2 0B 00 C5 08 00 7D 54 EE 57 3D E6 9C DA 90 00 F8 [14:41:50]RAPDU: 7D 54 EE 57 3D E6 9C DA 90 00 [14:41:50]wFMCommunicate OK [14:41:50]SAM_PROTO_SignData done [14:41:50]FM_MakeSignedData done [14:41:50]CreateOFDProtocolMessage [14:41:50]wFMCommunicate request_size=4 [14:41:50]MH_SAM_APDU [14:41:50]CAPDU: 80 11 00 00 [14:41:50]Write to MH i2c: E2 08 00 C6 08 80 11 00 00 00 00 00 00 48 [14:41:50]Write i2c OK [14:41:50]MH_I2C_Read... [14:41:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:41:50]Read from MH i2c: E2 [14:41:50]MH_I2C_Read... [14:41:50]Read from MH i2c: E2 17 00 [14:41:50]MH_I2C_Read... [14:41:50]Read from MH i2c: E2 17 00 C6 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 A1 [14:41:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [14:41:50]wFMCommunicate OK [14:41:50]CreateOFDProtocolMessage done [14:41:50]OFDSenderStorePacket 18962 [14:41:50]StoreOFDPacket docnum=18962 [14:41:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2D 01 00 00 99 CE 25 01 0F 71 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 3C 73 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 0C 00 00 00 00 07 04 06 00 3C 73 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 2E 21 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 12 4A 00 00 35 04 06 00 17 A7 CE 70 DD 49 7D 54 EE 57 3D E6 9C DA [14:41:50]CheckFolder [14:41:50]dirname=/storage/ofd_packets [14:41:50]CheckFolder done [14:41:50]ProducePacketName [14:41:50]name=ofd_packets/00018962 [14:41:50]NVStorageSaveData ofd_packets/00018962 [14:41:50]File name is /storage/ofd_packets/00018962 [14:41:50]Write 331 bytes [14:41:50]NVStorageSaveData done [14:41:50]OFDSenderStorePacket done [14:41:50]KKMCreateOFDPacket done [14:41:50]NVStorageSaveData kkm_last_timestamp [14:41:50]File name is /storage/kkm_last_timestamp [14:41:50]Write 4 bytes [14:41:50]NVStorageSaveData done [14:41:50]ExternCall_PrintAddStr [14:41:50]wPrintStart [14:41:50]Write to MH i2c: 01 00 00 C7 08 CF [14:41:50]Write i2c OK [14:41:50]MH_I2C_Read... [14:41:50]Read from MH i2c: 01 [14:41:50]MH_I2C_Read... [14:41:50]Read from MH i2c: 01 07 00 [14:41:50]MH_I2C_Read... [14:41:50]Read from MH i2c: 01 07 00 C7 08 00 00 00 00 00 FF 0F E4 [14:41:50]RasterBufferAndPrint [14:41:50]line Счет N : (3)16882 [14:41:50]line ИНН: 02508201610067 [14:41:50]line Контрольно-Кассовый Чек [14:41:50]line ПРОДАЖА [14:41:50]line Товар: 4607065001445 [14:41:50]line Шок батончик Snickers 50,5г [14:41:50]line 5.000 * 59.00 [14:41:50]line = 295.00 [14:41:50]line НДС 12% НСП 1% [14:41:50]line > о реализуемом товаре [14:41:50]line ИТОГО: 295.00 [14:41:50]line НСП 1% : 2.61 [14:41:50]line НДС 12% : 31.33 [14:41:50]line Наличными: 295.00 [14:41:50]line Безнал.: 0.00 [14:41:50]line Место: АЗС № 176 "Партнер Нефть" [14:41:50]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [14:41:50]line СНО: Общий режим [14:41:50]line Чек 40 25.09.2024 14:41 [14:41:50]line Смена: 183 ФФД: 1.0 [14:41:50]line ЗНМ: 0300000010 [14:41:50]line РНМ: 0000000000152968 [14:41:50]line Версия ККМ: v1.0 [14:41:50]line ФМ: 0000000000959456 [14:41:50]line ФД: 18962 [14:41:50]line ФПД: 26009490480457 [14:41:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T144150&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18962&fm=26009490480457&tin=02508201610067®Number=0000000000152968&sum=29500 [14:41:50]line 0 [14:41:50]OFD Sender: Processing packet 18962 [packets to send 7, broken 6] [14:41:50]ProducePacketName [14:41:50]name=ofd_packets/00018962 [14:41:50]OFD Sender: To server: pG, [14:41:50]CommunicateWithHost lk.salyk.kg:30040 [14:41:50]ConnectInit lk.salyk.kg [14:41:50]written 0, free lines is 4095 [14:41:50]Connected sock=10 [14:41:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2D 01 00 00 99 CE 25 01 0F 71 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 3C 73 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 0C 00 00 00 00 07 04 06 00 3C 73 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 2E 21 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 12 4A 00 00 35 04 06 00 17 A7 CE 70 DD 49 7D 54 EE 57 3D E6 9C DA [14:41:51]Write to MH i2c: 01 00 00 EF 08 F7 [14:41:51]Write i2c OK [14:41:51]MH_I2C_Read... [14:41:51]Read from MH i2c: 01 [14:41:51]MH_I2C_Read... [14:41:51]Read from MH i2c: 01 07 00 [14:41:51]MH_I2C_Read... [14:41:51]Read from MH i2c: 01 07 00 EF 08 00 00 00 00 00 26 0D 31 [14:41:51]RasterBufferAndPrint [14:41:51]line [14:41:51]line [14:41:51]line [14:41:51]line [14:41:51]line [14:41:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 97 17 47 00 5A 1F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 12 4A 00 00 F4 03 04 00 8B CA F3 66 B6 04 01 00 00 39 B4 77 A8 78 64 8A F9 [14:41:51]CommunicateWithHost err = 0 [14:41:51]CheckOFDResponse [14:41:51]1017 (14) - 77093643461234 [14:41:51]1041 (16) - 0000000000959456 [14:41:51]1040 (4) - 18962 [14:41:51]1012 (4) - 25.09.2024 08:32 [14:41:51]1206 (1) - 0 [14:41:51]OFD Sender: Remove packet 18962 [14:41:51]ProducePacketName [14:41:51]name=ofd_packets/00018962 [14:41:51]NVStorageDeleteData [14:41:51]written 0, free lines is 3387 [14:41:51]MH_Cut [14:41:51]Write to MH i2c: D1 01 00 F6 08 01 D0 [14:41:51]Write i2c OK [14:41:51]MH_I2C_Read... [14:41:51]Read from MH i2c: D1 [14:41:51]MH_I2C_Read... [14:41:51]Read from MH i2c: D1 01 00 [14:41:51]MH_I2C_Read... [14:41:51]Read from MH i2c: D1 01 00 F6 08 00 CF [14:41:51]Write to MH i2c: 01 00 00 F7 08 FF [14:41:51]Write i2c OK [14:41:51]MH_I2C_Read... [14:41:51]OFD Sender: No OFD packet to send [14:41:51]*** Cut start [14:41:51]*** Partial cut [14:41:51]*** CUTSNS_PIN = 1 [14:41:51]*** CUTSNS_PIN = 0 [14:41:52]*** Brake cut motor [14:41:52]Read from MH i2c: 01 [14:41:52]MH_I2C_Read... [14:41:52]*** Stop cut motor [14:41:52]*** Cut end [14:41:52]Read from MH i2c: 01 07 00 [14:41:52]MH_I2C_Read... [14:41:52]Read from MH i2c: 01 07 00 F7 08 00 00 00 00 00 FF 0F 14 [14:41:52]process_action close_receipt done [14:41:52]requested_data is exist [14:41:52]produce_requested_data [14:41:52]requested_item fm.sn is exist - process it [14:41:52]wFMCommunicate request_size=4 [14:41:52]MH_SAM_APDU [14:41:52]CAPDU: 80 11 00 00 [14:41:52]Write to MH i2c: E2 08 00 F8 08 80 11 00 00 00 00 00 00 7A [14:41:52]Write i2c OK [14:41:52]MH_I2C_Read... [14:41:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:41:52]Read from MH i2c: E2 [14:41:52]MH_I2C_Read... [14:41:52]Read from MH i2c: E2 17 00 [14:41:52]MH_I2C_Read... [14:41:52]Read from MH i2c: E2 17 00 F8 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 D3 [14:41:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [14:41:52]wFMCommunicate OK [14:41:52]requested_item fd.num is exist - process it [14:41:52]SAM_PROTO_GetFieldsCounters [14:41:52]wFMCommunicate request_size=4 [14:41:52]MH_SAM_APDU [14:41:52]CAPDU: 80 13 00 00 [14:41:52]Write to MH i2c: E2 08 00 F9 08 80 13 00 00 00 00 00 00 7D [14:41:52]Write i2c OK [14:41:52]MH_I2C_Read... [14:41:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:41:52]Read from MH i2c: E2 [14:41:52]MH_I2C_Read... [14:41:52]Read from MH i2c: E2 62 00 [14:41:52]MH_I2C_Read... [14:41:52]Read from MH i2c: E2 62 00 F9 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 12 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 35 [14:41:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 12 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:41:52]wFMCommunicate OK [14:41:52]SAM_PROTO_GetFieldsCounters done [14:41:52]requested_item shift.num is exist - process it [14:41:52]requested_item shift.opened is exist - process it [14:41:52]req_shift_opened [14:41:52]FM_GetShiftState [14:41:52]SAM_PROTO_GetShiftState [14:41:52]wFMCommunicate request_size=4 [14:41:52]MH_SAM_APDU [14:41:52]CAPDU: 80 13 01 00 [14:41:52]Write to MH i2c: E2 08 00 FA 08 80 13 01 00 00 00 00 00 7F [14:41:52]Write i2c OK [14:41:52]MH_I2C_Read... [14:41:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:41:52]Read from MH i2c: E2 [14:41:52]MH_I2C_Read... [14:41:52]Read from MH i2c: E2 0E 00 [14:41:52]MH_I2C_Read... [14:41:52]Read from MH i2c: E2 0E 00 FA 08 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 6C [14:41:52]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [14:41:52]wFMCommunicate OK [14:41:52]SAM_PROTO_GetShiftState done [14:41:52]FM_GetShiftState done [14:41:52]req_shift_opened done [14:41:52]requested_item shift.open_date is exist - process it [14:41:52]req_shift_open_date [14:41:52]req_shift_open_date done [14:41:52]produce_requested_data done [14:41:52]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18962,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [14:41:52]process_action_free close_receipt [14:41:52]json_value_free [14:41:52]json_value_free done [14:41:52]process_json_proto returns [14:41:52]Send response to host [14:41:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18962,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [14:41:52]free response buf [14:41:52]execute_script done [14:41:52]execute_script returns [14:41:52]free content buf [14:41:52]Sock 8.Close socket [14:41:52]Sock 8.Thread stoped [14:41:56]OFD Sender: No OFD packet to send [14:42:01]OFD Sender: No OFD packet to send [14:42:06]OFD Sender: No OFD packet to send [14:42:11]OFD Sender: No OFD packet to send [14:42:16]OFD Sender: No OFD packet to send [14:42:21]OFD Sender: No OFD packet to send [14:42:26]OFD Sender: No OFD packet to send [14:42:31]OFD Sender: No OFD packet to send [14:42:36]OFD Sender: No OFD packet to send [14:42:41]OFD Sender: No OFD packet to send [14:42:46]OFD Sender: No OFD packet to send [14:42:51]OFD Sender: No OFD packet to send [14:42:56]OFD Sender: No OFD packet to send [14:43:01]OFD Sender: No OFD packet to send [14:43:06]OFD Sender: No OFD packet to send [14:43:11]OFD Sender: No OFD packet to send [14:43:16]OFD Sender: No OFD packet to send [14:43:21]OFD Sender: No OFD packet to send [14:43:26]OFD Sender: No OFD packet to send [14:43:31]OFD Sender: No OFD packet to send [14:43:36]OFD Sender: No OFD packet to send [14:43:41]OFD Sender: No OFD packet to send [14:43:46]OFD Sender: No OFD packet to send [14:43:51]OFD Sender: No OFD packet to send [14:43:56]OFD Sender: No OFD packet to send [14:44:01]OFD Sender: No OFD packet to send [14:44:06]OFD Sender: No OFD packet to send [14:44:11]OFD Sender: No OFD packet to send [14:44:16]OFD Sender: No OFD packet to send [14:44:21]OFD Sender: No OFD packet to send [14:44:26]OFD Sender: No OFD packet to send [14:44:31]OFD Sender: No OFD packet to send [14:44:36]OFD Sender: No OFD packet to send [14:44:41]OFD Sender: No OFD packet to send [14:44:46]OFD Sender: No OFD packet to send [14:44:51]OFD Sender: No OFD packet to send [14:44:56]OFD Sender: No OFD packet to send [14:45:01]OFD Sender: No OFD packet to send [14:45:06]OFD Sender: No OFD packet to send [14:45:11]OFD Sender: No OFD packet to send [14:45:16]OFD Sender: No OFD packet to send [14:45:21]OFD Sender: No OFD packet to send [14:45:26]OFD Sender: No OFD packet to send [14:45:31]OFD Sender: No OFD packet to send [14:45:36]OFD Sender: No OFD packet to send [14:45:41]OFD Sender: No OFD packet to send [14:45:46]OFD Sender: No OFD packet to send [14:45:51]OFD Sender: No OFD packet to send [14:45:56]OFD Sender: No OFD packet to send [14:46:01]OFD Sender: No OFD packet to send [14:46:06]OFD Sender: No OFD packet to send [14:46:11]OFD Sender: No OFD packet to send [14:46:16]OFD Sender: No OFD packet to send [14:46:20]accept exits with 9 [14:46:20]New connection [14:46:20]New thread 3066764644 created [14:46:20]Thread 3066621284 joined [14:46:20]Waiting for new connection... [14:46:20] Sock 9.Parse request [14:46:20]Sock 9.Check first char [14:46:20]Sock 9.First char is OK [14:46:20]request: POST /json_proto HTTP/1.0 [14:46:20]Method: POST [14:46:20]URL: /json_proto [14:46:20]Method is POST - this is cgi request [14:46:20]url: /json_proto [14:46:20]query_string will be loaded in cgi processing [14:46:20]execute_cgi json_proto POST (null) [14:46:20]execute_cgi path=json_proto method=POST [14:46:20]POST find Content-Length [14:46:20]Host: 172.17.62.196:8080 [14:46:20]Content-Length: 834 [14:46:20]Content-Type: application/json [14:46:20] [14:46:20]POST finish read [14:46:20]Found Content-Length = 834 [14:46:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16883", "tax_sys" : 0, "items" : [ { "code": "5449000000996", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,33\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:46:20]execute_script... [14:46:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16883", "tax_sys" : 0, "items" : [ { "code": "5449000000996", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,33\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:46:20]POST & json_proto [14:46:20]process_json_proto [14:46:20]json parsed OK: [14:46:20]protocol is kg_v1.0 [14:46:20]action value=close_receipt [14:46:20]process_action close_receipt [14:46:20]cmd_close_receipt [14:46:20]MH_GetDate [14:46:20]Write to MH i2c: F0 00 00 FB 08 F2 [14:46:20]Write i2c OK [14:46:20]MH_I2C_Read... [14:46:20]Read from MH i2c: F0 [14:46:20]MH_I2C_Read... [14:46:20]Read from MH i2c: F0 09 00 [14:46:20]MH_I2C_Read... [14:46:20]Read from MH i2c: F0 09 00 FB 08 00 3E 22 F4 66 CE CC 0E 66 C3 [14:46:20]GetLastDocTimeStamp 1727275310 [14:46:20]current date 1727275582 [14:46:20]FM_GetShiftState [14:46:20]SAM_PROTO_GetShiftState [14:46:20]wFMCommunicate request_size=4 [14:46:20]MH_SAM_APDU [14:46:20]CAPDU: 80 13 01 00 [14:46:20]Write to MH i2c: E2 08 00 FC 08 80 13 01 00 00 00 00 00 81 [14:46:20]Write i2c OK [14:46:20]MH_I2C_Read... [14:46:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:46:20]Read from MH i2c: E2 [14:46:20]MH_I2C_Read... [14:46:20]Read from MH i2c: E2 0E 00 [14:46:20]MH_I2C_Read... [14:46:20]Read from MH i2c: E2 0E 00 FC 08 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 6E [14:46:20]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [14:46:20]wFMCommunicate OK [14:46:20]SAM_PROTO_GetShiftState done [14:46:20]FM_GetShiftState done [14:46:20]opened in 1727223091 [14:46:20]opened+sec_in_day 1727309491 [14:46:20]quantity*price = 8500 [14:46:20]sum+1 = 8501 [14:46:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 0.00 Безнал.: 85.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 41 25.09.2024 14:46 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959456 ФД: 18963 ФПД: 210424415070822 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T144622&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18963&fm=210424415070822&tin=02508201610067®Number=0000000000152968&sum=8500 0 [14:46:21]StoreToDocumentArchive [14:46:21]shift 183 fd 18963 [14:46:21]save to /storage/0183/doc_00018963 [14:46:21]save last doc name /storage/0183/doc_00018963 to /storage/kkm_last_doc_name [14:46:21]save OK [14:46:21]Clear old archive folders... [14:46:21]ProcessDocumentItem done err = 0, tmpTLVsize=281 [14:46:21]tlvbuf is 015E2CD0 [14:46:21]SAM_PROTO_ClearQueue [14:46:21]wFMCommunicate request_size=4 [14:46:21]MH_SAM_APDU [14:46:21]CAPDU: 80 09 00 00 [14:46:21]Write to MH i2c: E2 08 00 09 09 80 09 00 00 00 00 00 00 84 [14:46:21]Write i2c OK [14:46:21]MH_I2C_Read... [14:46:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:46:21]Read from MH i2c: E2 [14:46:21]MH_I2C_Read... [14:46:21]Read from MH i2c: E2 03 00 [14:46:21]MH_I2C_Read... [14:46:21]Read from MH i2c: E2 03 00 09 09 00 90 00 86 [14:46:21]RAPDU: 90 00 [14:46:21]wFMCommunicate OK [14:46:21]SAM_PROTO_ClearQueue done [14:46:21]KKMCreateOFDPacket [14:46:21]OFDProtocolAddRootSTLVToBuf [14:46:21]FM_MakeSignedData [14:46:21]FM_MakeSignedData [14:46:21]SAM_PROTO_SignData [14:46:21]wFMCommunicate request_size=4 [14:46:21]MH_SAM_APDU [14:46:21]CAPDU: 80 0D 01 02 [14:46:21]Write to MH i2c: E2 08 00 0A 09 80 0D 01 02 00 00 00 00 8C [14:46:21]Write i2c OK [14:46:21]MH_I2C_Read... [14:46:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:46:21]Read from MH i2c: E2 [14:46:21]MH_I2C_Read... [14:46:21]Read from MH i2c: E2 03 00 [14:46:21]MH_I2C_Read... [14:46:21]Read from MH i2c: E2 03 00 0A 09 00 90 00 87 [14:46:21]RAPDU: 90 00 [14:46:21]wFMCommunicate OK [14:46:21]wFMCommunicate request_size=255 [14:46:21]MH_SAM_APDU [14:46:21]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 3E 22 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 [14:46:21]Write to MH i2c: E2 02 01 0B 09 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 3E 22 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 00 8C [14:46:21]OFD Sender: No OFD packet to send [14:46:21]Write i2c OK [14:46:21]MH_I2C_Read... [14:46:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:46:22]Read from MH i2c: E2 [14:46:22]MH_I2C_Read... [14:46:22]Read from MH i2c: E2 03 00 [14:46:22]MH_I2C_Read... [14:46:22]Read from MH i2c: E2 03 00 0B 09 00 90 00 88 [14:46:22]RAPDU: 90 00 [14:46:22]wFMCommunicate OK [14:46:22]wFMCommunicate request_size=40 [14:46:22]MH_SAM_APDU [14:46:22]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 13 4A 00 00 35 04 06 00 BF 61 40 83 2A 66 [14:46:22]Write to MH i2c: E2 2B 00 0C 09 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 13 4A 00 00 35 04 06 00 BF 61 40 83 2A 66 00 00 22 [14:46:22]Write i2c OK [14:46:22]MH_I2C_Read... [14:46:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:46:22]Read from MH i2c: E2 [14:46:22]MH_I2C_Read... [14:46:22]Read from MH i2c: E2 03 00 [14:46:22]MH_I2C_Read... [14:46:22]Read from MH i2c: E2 03 00 0C 09 00 90 00 89 [14:46:22]RAPDU: 90 00 [14:46:22]wFMCommunicate OK [14:46:22]wFMCommunicate request_size=4 [14:46:22]MH_SAM_APDU [14:46:22]CAPDU: 80 0D 03 02 [14:46:22]Write to MH i2c: E2 08 00 0D 09 80 0D 03 02 00 00 00 00 91 [14:46:22]Write i2c OK [14:46:22]MH_I2C_Read... [14:46:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:46:22]Read from MH i2c: E2 [14:46:22]MH_I2C_Read... [14:46:22]Read from MH i2c: E2 0B 00 [14:46:22]MH_I2C_Read... [14:46:22]Read from MH i2c: E2 0B 00 0D 09 00 07 73 01 71 A6 D0 05 6C 90 00 65 [14:46:22]RAPDU: 07 73 01 71 A6 D0 05 6C 90 00 [14:46:22]wFMCommunicate OK [14:46:22]SAM_PROTO_SignData done [14:46:22]FM_MakeSignedData done [14:46:22]CreateOFDProtocolMessage [14:46:22]wFMCommunicate request_size=4 [14:46:22]MH_SAM_APDU [14:46:22]CAPDU: 80 11 00 00 [14:46:22]Write to MH i2c: E2 08 00 0E 09 80 11 00 00 00 00 00 00 91 [14:46:22]Write i2c OK [14:46:22]MH_I2C_Read... [14:46:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:46:22]Read from MH i2c: E2 [14:46:22]MH_I2C_Read... [14:46:22]Read from MH i2c: E2 17 00 [14:46:22]MH_I2C_Read... [14:46:22]Read from MH i2c: E2 17 00 0E 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 EA [14:46:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [14:46:22]wFMCommunicate OK [14:46:22]CreateOFDProtocolMessage done [14:46:22]OFDSenderStorePacket 18963 [14:46:22]StoreOFDPacket docnum=18963 [14:46:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2D 01 00 00 D6 72 25 01 A1 D2 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 3E 22 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 13 4A 00 00 35 04 06 00 BF 61 40 83 2A 66 07 73 01 71 A6 D0 05 6C [14:46:22]CheckFolder [14:46:22]dirname=/storage/ofd_packets [14:46:22]CheckFolder done [14:46:22]ProducePacketName [14:46:22]name=ofd_packets/00018963 [14:46:22]NVStorageSaveData ofd_packets/00018963 [14:46:22]File name is /storage/ofd_packets/00018963 [14:46:22]Write 331 bytes [14:46:22]NVStorageSaveData done [14:46:22]OFDSenderStorePacket done [14:46:22]KKMCreateOFDPacket done [14:46:22]NVStorageSaveData kkm_last_timestamp [14:46:22]File name is /storage/kkm_last_timestamp [14:46:22]Write 4 bytes [14:46:22]NVStorageSaveData done [14:46:22]ExternCall_PrintAddStr [14:46:22]wPrintStart [14:46:22]Write to MH i2c: 01 00 00 0F 09 18 [14:46:22]Write i2c OK [14:46:22]MH_I2C_Read... [14:46:22]Read from MH i2c: 01 [14:46:22]MH_I2C_Read... [14:46:22]Read from MH i2c: 01 07 00 [14:46:22]MH_I2C_Read... [14:46:22]Read from MH i2c: 01 07 00 0F 09 00 00 00 00 00 FF 0F 2D [14:46:22]RasterBufferAndPrint [14:46:22]line Счет N : (3)16883 [14:46:22]line ИНН: 02508201610067 [14:46:22]line Контрольно-Кассовый Чек [14:46:22]line ПРОДАЖА [14:46:22]line Товар: 5449000000996 [14:46:22]line Напиток Кока-Кола 0,33л [14:46:22]line 1.000 * 85.00 [14:46:22]line = 85.00 [14:46:22]line НДС 12% НСП 1% [14:46:22]line > о реализуемом товаре [14:46:22]line ИТОГО: 85.00 [14:46:22]line НСП 1% : 0.75 [14:46:22]line НДС 12% : 9.03 [14:46:22]line Наличными: 0.00 [14:46:22]line Безнал.: 85.00 [14:46:22]line Место: АЗС № 176 "Партнер Нефть" [14:46:22]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [14:46:22]line СНО: Общий режим [14:46:22]line Чек 41 25.09.2024 14:46 [14:46:22]line Смена: 183 ФФД: 1.0 [14:46:22]line ЗНМ: 0300000010 [14:46:22]line РНМ: 0000000000152968 [14:46:22]line Версия ККМ: v1.0 [14:46:22]line Платежная система: Бакай Банк [14:46:22]line ФМ: 0000000000959456 [14:46:22]line ФД: 18963 [14:46:22]line ФПД: 210424415070822 [14:46:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T144622&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18963&fm=210424415070822&tin=02508201610067®Number=0000000000152968&sum=8500 [14:46:22]line 0 [14:46:22]OFD Sender: Processing packet 18963 [packets to send 7, broken 6] [14:46:22]ProducePacketName [14:46:22]name=ofd_packets/00018963 [14:46:22]OFD Sender: To server: pG, [14:46:22]CommunicateWithHost lk.salyk.kg:30040 [14:46:22]ConnectInit lk.salyk.kg [14:46:22]written 0, free lines is 4095 [14:46:22]Connected sock=10 [14:46:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2D 01 00 00 D6 72 25 01 A1 D2 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 3E 22 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 13 4A 00 00 35 04 06 00 BF 61 40 83 2A 66 07 73 01 71 A6 D0 05 6C [14:46:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 C7 0C 47 00 1E A2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 13 4A 00 00 F4 03 04 00 9B CB F3 66 B6 04 01 00 00 AA 87 53 96 AE 76 D7 18 [14:46:23]CommunicateWithHost err = 0 [14:46:23]CheckOFDResponse [14:46:23]1017 (14) - 77093643461234 [14:46:23]1041 (16) - 0000000000959456 [14:46:23]1040 (4) - 18963 [14:46:23]1012 (4) - 25.09.2024 08:36 [14:46:23]1206 (1) - 0 [14:46:23]OFD Sender: Remove packet 18963 [14:46:23]ProducePacketName [14:46:23]name=ofd_packets/00018963 [14:46:23]NVStorageDeleteData [14:46:23]Write to MH i2c: 01 00 00 39 09 42 [14:46:23]Write i2c OK [14:46:23]MH_I2C_Read... [14:46:23]Read from MH i2c: 01 [14:46:23]MH_I2C_Read... [14:46:23]Read from MH i2c: 01 07 00 [14:46:23]MH_I2C_Read... [14:46:23]Read from MH i2c: 01 07 00 39 09 00 00 00 00 00 F5 0C 4A [14:46:23]RasterBufferAndPrint [14:46:23]line [14:46:23]line [14:46:23]line [14:46:23]line [14:46:23]line [14:46:23]written 0, free lines is 3323 [14:46:23]MH_Cut [14:46:23]Write to MH i2c: D1 01 00 40 09 01 1B [14:46:23]Write i2c OK [14:46:23]MH_I2C_Read... [14:46:23]Read from MH i2c: D1 [14:46:23]MH_I2C_Read... [14:46:23]Read from MH i2c: D1 01 00 [14:46:23]MH_I2C_Read... [14:46:23]Read from MH i2c: D1 01 00 40 09 00 1A [14:46:23]Write to MH i2c: 01 00 00 41 09 4A [14:46:23]Write i2c OK [14:46:23]MH_I2C_Read... [14:46:23]OFD Sender: No OFD packet to send [14:46:23]*** Cut start [14:46:23]*** Partial cut [14:46:23]*** CUTSNS_PIN = 1 [14:46:23]*** CUTSNS_PIN = 0 [14:46:24]*** Brake cut motor [14:46:24]Read from MH i2c: 01 [14:46:24]MH_I2C_Read... [14:46:24]*** Stop cut motor [14:46:24]*** Cut end [14:46:24]Read from MH i2c: 01 07 00 [14:46:24]MH_I2C_Read... [14:46:24]Read from MH i2c: 01 07 00 41 09 00 00 00 00 00 FF 0F 5F [14:46:24]process_action close_receipt done [14:46:24]requested_data is exist [14:46:24]produce_requested_data [14:46:24]requested_item fm.sn is exist - process it [14:46:24]wFMCommunicate request_size=4 [14:46:24]MH_SAM_APDU [14:46:24]CAPDU: 80 11 00 00 [14:46:24]Write to MH i2c: E2 08 00 42 09 80 11 00 00 00 00 00 00 C5 [14:46:24]Write i2c OK [14:46:24]MH_I2C_Read... [14:46:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:46:24]Read from MH i2c: E2 [14:46:24]MH_I2C_Read... [14:46:24]Read from MH i2c: E2 17 00 [14:46:24]MH_I2C_Read... [14:46:24]Read from MH i2c: E2 17 00 42 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 1E [14:46:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [14:46:24]wFMCommunicate OK [14:46:24]requested_item fd.num is exist - process it [14:46:24]SAM_PROTO_GetFieldsCounters [14:46:24]wFMCommunicate request_size=4 [14:46:24]MH_SAM_APDU [14:46:24]CAPDU: 80 13 00 00 [14:46:24]Write to MH i2c: E2 08 00 43 09 80 13 00 00 00 00 00 00 C8 [14:46:24]Write i2c OK [14:46:24]MH_I2C_Read... [14:46:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:46:24]Read from MH i2c: E2 [14:46:24]MH_I2C_Read... [14:46:24]Read from MH i2c: E2 62 00 [14:46:24]MH_I2C_Read... [14:46:24]Read from MH i2c: E2 62 00 43 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 13 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 84 [14:46:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 13 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:46:24]wFMCommunicate OK [14:46:24]SAM_PROTO_GetFieldsCounters done [14:46:24]requested_item shift.num is exist - process it [14:46:24]requested_item shift.opened is exist - process it [14:46:24]req_shift_opened [14:46:24]FM_GetShiftState [14:46:24]SAM_PROTO_GetShiftState [14:46:24]wFMCommunicate request_size=4 [14:46:24]MH_SAM_APDU [14:46:24]CAPDU: 80 13 01 00 [14:46:24]Write to MH i2c: E2 08 00 44 09 80 13 01 00 00 00 00 00 CA [14:46:24]Write i2c OK [14:46:24]MH_I2C_Read... [14:46:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:46:24]Read from MH i2c: E2 [14:46:24]MH_I2C_Read... [14:46:24]Read from MH i2c: E2 0E 00 [14:46:24]MH_I2C_Read... [14:46:24]Read from MH i2c: E2 0E 00 44 09 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 B7 [14:46:24]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [14:46:24]wFMCommunicate OK [14:46:24]SAM_PROTO_GetShiftState done [14:46:24]FM_GetShiftState done [14:46:24]req_shift_opened done [14:46:24]requested_item shift.open_date is exist - process it [14:46:24]req_shift_open_date [14:46:24]req_shift_open_date done [14:46:24]produce_requested_data done [14:46:24]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18963,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [14:46:24]process_action_free close_receipt [14:46:24]json_value_free [14:46:24]json_value_free done [14:46:24]process_json_proto returns [14:46:24]Send response to host [14:46:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18963,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [14:46:24]free response buf [14:46:24]execute_script done [14:46:24]execute_script returns [14:46:24]free content buf [14:46:24]Sock 9.Close socket [14:46:24]Sock 9.Thread stoped [14:46:28]OFD Sender: No OFD packet to send [14:46:33]OFD Sender: No OFD packet to send [14:46:38]OFD Sender: No OFD packet to send [14:46:43]OFD Sender: No OFD packet to send [14:46:48]OFD Sender: No OFD packet to send [14:46:53]OFD Sender: No OFD packet to send [14:46:58]OFD Sender: No OFD packet to send [14:47:03]OFD Sender: No OFD packet to send [14:47:08]OFD Sender: No OFD packet to send [14:47:13]OFD Sender: No OFD packet to send [14:47:18]OFD Sender: No OFD packet to send [14:47:23]OFD Sender: No OFD packet to send [14:47:28]OFD Sender: No OFD packet to send [14:47:33]OFD Sender: No OFD packet to send [14:47:38]OFD Sender: No OFD packet to send [14:47:43]OFD Sender: No OFD packet to send [14:47:48]OFD Sender: No OFD packet to send [14:47:53]OFD Sender: No OFD packet to send [14:47:58]OFD Sender: No OFD packet to send [14:48:03]OFD Sender: No OFD packet to send [14:48:08]OFD Sender: No OFD packet to send [14:48:13]OFD Sender: No OFD packet to send [14:48:18]OFD Sender: No OFD packet to send [14:48:23]OFD Sender: No OFD packet to send [14:48:28]OFD Sender: No OFD packet to send [14:48:33]OFD Sender: No OFD packet to send [14:48:38]OFD Sender: No OFD packet to send [14:48:43]OFD Sender: No OFD packet to send [14:48:48]OFD Sender: No OFD packet to send [14:48:53]OFD Sender: No OFD packet to send [14:48:58]OFD Sender: No OFD packet to send [14:49:03]OFD Sender: No OFD packet to send [14:49:08]OFD Sender: No OFD packet to send [14:49:13]OFD Sender: No OFD packet to send [14:49:18]OFD Sender: No OFD packet to send [14:49:23]OFD Sender: No OFD packet to send [14:49:28]OFD Sender: No OFD packet to send [14:49:33]OFD Sender: No OFD packet to send [14:49:38]OFD Sender: No OFD packet to send [14:49:43]OFD Sender: No OFD packet to send [14:49:48]OFD Sender: No OFD packet to send [14:49:53]OFD Sender: No OFD packet to send [14:49:58]OFD Sender: No OFD packet to send [14:50:03]OFD Sender: No OFD packet to send [14:50:08]OFD Sender: No OFD packet to send [14:50:13]OFD Sender: No OFD packet to send [14:50:18]OFD Sender: No OFD packet to send [14:50:23]OFD Sender: No OFD packet to send [14:50:28]OFD Sender: No OFD packet to send [14:50:33]OFD Sender: No OFD packet to send [14:50:38]OFD Sender: No OFD packet to send [14:50:43]OFD Sender: No OFD packet to send [14:50:48]OFD Sender: No OFD packet to send [14:50:53]OFD Sender: No OFD packet to send [14:50:58]OFD Sender: No OFD packet to send [14:51:03]OFD Sender: No OFD packet to send [14:51:08]OFD Sender: No OFD packet to send [14:51:13]OFD Sender: No OFD packet to send [14:51:18]OFD Sender: No OFD packet to send [14:51:23]OFD Sender: No OFD packet to send [14:51:28]OFD Sender: No OFD packet to send [14:51:33]OFD Sender: No OFD packet to send [14:51:38]OFD Sender: No OFD packet to send [14:51:43]OFD Sender: No OFD packet to send [14:51:48]OFD Sender: No OFD packet to send [14:51:53]OFD Sender: No OFD packet to send [14:51:58]OFD Sender: No OFD packet to send [14:52:03]OFD Sender: No OFD packet to send [14:52:08]OFD Sender: No OFD packet to send [14:52:13]OFD Sender: No OFD packet to send [14:52:18]OFD Sender: No OFD packet to send [14:52:23]OFD Sender: No OFD packet to send [14:52:28]OFD Sender: No OFD packet to send [14:52:33]OFD Sender: No OFD packet to send [14:52:38]OFD Sender: No OFD packet to send [14:52:43]OFD Sender: No OFD packet to send [14:52:48]OFD Sender: No OFD packet to send [14:52:53]OFD Sender: No OFD packet to send [14:52:58]OFD Sender: No OFD packet to send [14:53:03]OFD Sender: No OFD packet to send [14:53:08]OFD Sender: No OFD packet to send [14:53:13]OFD Sender: No OFD packet to send [14:53:18]OFD Sender: No OFD packet to send [14:53:23]OFD Sender: No OFD packet to send [14:53:28]OFD Sender: No OFD packet to send [14:53:33]OFD Sender: No OFD packet to send [14:53:39]OFD Sender: No OFD packet to send [14:53:44]OFD Sender: No OFD packet to send [14:53:49]OFD Sender: No OFD packet to send [14:53:54]OFD Sender: No OFD packet to send [14:53:59]OFD Sender: No OFD packet to send [14:54:04]OFD Sender: No OFD packet to send [14:54:09]OFD Sender: No OFD packet to send [14:54:14]OFD Sender: No OFD packet to send [14:54:19]OFD Sender: No OFD packet to send [14:54:24]OFD Sender: No OFD packet to send [14:54:29]OFD Sender: No OFD packet to send [14:54:34]OFD Sender: No OFD packet to send [14:54:39]OFD Sender: No OFD packet to send [14:54:44]OFD Sender: No OFD packet to send [14:54:49]OFD Sender: No OFD packet to send [14:54:54]OFD Sender: No OFD packet to send [14:54:59]OFD Sender: No OFD packet to send [14:55:04]OFD Sender: No OFD packet to send [14:55:09]OFD Sender: No OFD packet to send [14:55:14]OFD Sender: No OFD packet to send [14:55:19]OFD Sender: No OFD packet to send [14:55:24]OFD Sender: No OFD packet to send [14:55:29]OFD Sender: No OFD packet to send [14:55:34]OFD Sender: No OFD packet to send [14:55:39]OFD Sender: No OFD packet to send [14:55:44]OFD Sender: No OFD packet to send [14:55:49]OFD Sender: No OFD packet to send [14:55:54]OFD Sender: No OFD packet to send [14:55:59]OFD Sender: No OFD packet to send [14:56:04]OFD Sender: No OFD packet to send [14:56:09]OFD Sender: No OFD packet to send [14:56:14]OFD Sender: No OFD packet to send [14:56:19]OFD Sender: No OFD packet to send [14:56:24]OFD Sender: No OFD packet to send [14:56:29]OFD Sender: No OFD packet to send [14:56:34]OFD Sender: No OFD packet to send [14:56:39]OFD Sender: No OFD packet to send [14:56:44]OFD Sender: No OFD packet to send [14:56:49]OFD Sender: No OFD packet to send [14:56:54]OFD Sender: No OFD packet to send [14:56:59]OFD Sender: No OFD packet to send [14:57:04]OFD Sender: No OFD packet to send [14:57:09]OFD Sender: No OFD packet to send [14:57:14]OFD Sender: No OFD packet to send [14:57:19]OFD Sender: No OFD packet to send [14:57:24]OFD Sender: No OFD packet to send [14:57:29]OFD Sender: No OFD packet to send [14:57:34]OFD Sender: No OFD packet to send [14:57:39]OFD Sender: No OFD packet to send [14:57:44]OFD Sender: No OFD packet to send [14:57:49]OFD Sender: No OFD packet to send [14:57:54]OFD Sender: No OFD packet to send [14:57:59]OFD Sender: No OFD packet to send [14:58:04]OFD Sender: No OFD packet to send [14:58:09]OFD Sender: No OFD packet to send [14:58:14]OFD Sender: No OFD packet to send [14:58:19]OFD Sender: No OFD packet to send [14:58:24]OFD Sender: No OFD packet to send [14:58:29]OFD Sender: No OFD packet to send [14:58:34]OFD Sender: No OFD packet to send [14:58:39]OFD Sender: No OFD packet to send [14:58:44]OFD Sender: No OFD packet to send [14:58:49]OFD Sender: No OFD packet to send [14:58:54]OFD Sender: No OFD packet to send [14:58:59]OFD Sender: No OFD packet to send [14:59:04]OFD Sender: No OFD packet to send [14:59:09]OFD Sender: No OFD packet to send [14:59:14]OFD Sender: No OFD packet to send [14:59:19]OFD Sender: No OFD packet to send [14:59:24]OFD Sender: No OFD packet to send [14:59:29]OFD Sender: No OFD packet to send [14:59:34]OFD Sender: No OFD packet to send [14:59:39]OFD Sender: No OFD packet to send [14:59:44]OFD Sender: No OFD packet to send [14:59:49]OFD Sender: No OFD packet to send [14:59:54]OFD Sender: No OFD packet to send [14:59:59]OFD Sender: No OFD packet to send [15:00:04]OFD Sender: No OFD packet to send [15:00:09]OFD Sender: No OFD packet to send [15:00:14]OFD Sender: No OFD packet to send [15:00:19]OFD Sender: No OFD packet to send [15:00:24]OFD Sender: No OFD packet to send [15:00:29]OFD Sender: No OFD packet to send [15:00:34]OFD Sender: No OFD packet to send [15:00:39]OFD Sender: No OFD packet to send [15:00:44]OFD Sender: No OFD packet to send [15:00:49]OFD Sender: No OFD packet to send [15:00:54]OFD Sender: No OFD packet to send [15:00:59]OFD Sender: No OFD packet to send [15:01:04]OFD Sender: No OFD packet to send [15:01:09]OFD Sender: No OFD packet to send [15:01:14]OFD Sender: No OFD packet to send [15:01:19]OFD Sender: No OFD packet to send [15:01:24]OFD Sender: No OFD packet to send [15:01:29]OFD Sender: No OFD packet to send [15:01:34]OFD Sender: No OFD packet to send [15:01:39]OFD Sender: No OFD packet to send [15:01:44]OFD Sender: No OFD packet to send [15:01:49]OFD Sender: No OFD packet to send [15:01:54]OFD Sender: No OFD packet to send [15:01:59]OFD Sender: No OFD packet to send [15:02:04]OFD Sender: No OFD packet to send [15:02:09]OFD Sender: No OFD packet to send [15:02:14]OFD Sender: No OFD packet to send [15:02:19]OFD Sender: No OFD packet to send [15:02:24]OFD Sender: No OFD packet to send [15:02:29]OFD Sender: No OFD packet to send [15:02:34]OFD Sender: No OFD packet to send [15:02:39]OFD Sender: No OFD packet to send [15:02:44]OFD Sender: No OFD packet to send [15:02:49]OFD Sender: No OFD packet to send [15:02:54]OFD Sender: No OFD packet to send [15:02:59]OFD Sender: No OFD packet to send [15:03:04]OFD Sender: No OFD packet to send [15:03:09]OFD Sender: No OFD packet to send [15:03:14]OFD Sender: No OFD packet to send [15:03:19]OFD Sender: No OFD packet to send [15:03:24]OFD Sender: No OFD packet to send [15:03:29]OFD Sender: No OFD packet to send [15:03:34]OFD Sender: No OFD packet to send [15:03:39]OFD Sender: No OFD packet to send [15:03:44]OFD Sender: No OFD packet to send [15:03:49]OFD Sender: No OFD packet to send [15:03:54]OFD Sender: No OFD packet to send [15:03:59]OFD Sender: No OFD packet to send [15:04:04]OFD Sender: No OFD packet to send [15:04:09]OFD Sender: No OFD packet to send [15:04:14]OFD Sender: No OFD packet to send [15:04:19]OFD Sender: No OFD packet to send [15:04:24]OFD Sender: No OFD packet to send [15:04:29]OFD Sender: No OFD packet to send [15:04:34]OFD Sender: No OFD packet to send [15:04:39]OFD Sender: No OFD packet to send [15:04:44]OFD Sender: No OFD packet to send [15:04:49]OFD Sender: No OFD packet to send [15:04:54]OFD Sender: No OFD packet to send [15:04:59]OFD Sender: No OFD packet to send [15:05:04]OFD Sender: No OFD packet to send [15:05:09]OFD Sender: No OFD packet to send [15:05:14]OFD Sender: No OFD packet to send [15:05:19]OFD Sender: No OFD packet to send [15:05:24]OFD Sender: No OFD packet to send [15:05:29]OFD Sender: No OFD packet to send [15:05:34]OFD Sender: No OFD packet to send [15:05:39]OFD Sender: No OFD packet to send [15:05:44]OFD Sender: No OFD packet to send [15:05:49]OFD Sender: No OFD packet to send [15:05:54]OFD Sender: No OFD packet to send [15:05:59]OFD Sender: No OFD packet to send [15:06:04]OFD Sender: No OFD packet to send [15:06:09]OFD Sender: No OFD packet to send [15:06:14]OFD Sender: No OFD packet to send [15:06:19]OFD Sender: No OFD packet to send [15:06:24]OFD Sender: No OFD packet to send [15:06:29]OFD Sender: No OFD packet to send [15:06:34]OFD Sender: No OFD packet to send [15:06:39]OFD Sender: No OFD packet to send [15:06:44]OFD Sender: No OFD packet to send [15:06:49]OFD Sender: No OFD packet to send [15:06:54]OFD Sender: No OFD packet to send [15:06:59]OFD Sender: No OFD packet to send [15:07:04]OFD Sender: No OFD packet to send [15:07:09]OFD Sender: No OFD packet to send [15:07:14]OFD Sender: No OFD packet to send [15:07:19]OFD Sender: No OFD packet to send [15:07:24]OFD Sender: No OFD packet to send [15:07:29]OFD Sender: No OFD packet to send [15:07:34]OFD Sender: No OFD packet to send [15:07:39]OFD Sender: No OFD packet to send [15:07:44]OFD Sender: No OFD packet to send [15:07:49]OFD Sender: No OFD packet to send [15:07:54]OFD Sender: No OFD packet to send [15:07:59]OFD Sender: No OFD packet to send [15:08:04]OFD Sender: No OFD packet to send [15:08:09]OFD Sender: No OFD packet to send [15:08:14]OFD Sender: No OFD packet to send [15:08:19]OFD Sender: No OFD packet to send [15:08:24]OFD Sender: No OFD packet to send [15:08:29]OFD Sender: No OFD packet to send [15:08:34]OFD Sender: No OFD packet to send [15:08:39]OFD Sender: No OFD packet to send [15:08:44]OFD Sender: No OFD packet to send [15:08:49]OFD Sender: No OFD packet to send [15:08:54]OFD Sender: No OFD packet to send [15:08:59]OFD Sender: No OFD packet to send [15:09:04]OFD Sender: No OFD packet to send [15:09:09]OFD Sender: No OFD packet to send [15:09:14]OFD Sender: No OFD packet to send [15:09:19]OFD Sender: No OFD packet to send [15:09:24]OFD Sender: No OFD packet to send [15:09:29]OFD Sender: No OFD packet to send [15:09:34]OFD Sender: No OFD packet to send [15:09:39]OFD Sender: No OFD packet to send [15:09:44]OFD Sender: No OFD packet to send [15:09:49]OFD Sender: No OFD packet to send [15:09:54]OFD Sender: No OFD packet to send [15:09:59]OFD Sender: No OFD packet to send [15:10:04]OFD Sender: No OFD packet to send [15:10:09]OFD Sender: No OFD packet to send [15:10:14]OFD Sender: No OFD packet to send [15:10:19]OFD Sender: No OFD packet to send [15:10:24]OFD Sender: No OFD packet to send [15:10:29]OFD Sender: No OFD packet to send [15:10:34]OFD Sender: No OFD packet to send [15:10:39]OFD Sender: No OFD packet to send [15:10:44]OFD Sender: No OFD packet to send [15:10:49]OFD Sender: No OFD packet to send [15:10:54]OFD Sender: No OFD packet to send [15:10:59]OFD Sender: No OFD packet to send [15:10:59]accept exits with 8 [15:10:59]New connection [15:10:59]New thread 3066621284 created [15:10:59] Sock 8.Parse request [15:10:59]Thread 3066764644 joined [15:10:59]Sock 8.Check first char [15:10:59]Waiting for new connection... [15:10:59]Sock 8.First char is OK [15:10:59]request: POST /json_proto HTTP/1.0 [15:10:59]Method: POST [15:10:59]URL: /json_proto [15:10:59]Method is POST - this is cgi request [15:10:59]url: /json_proto [15:10:59]query_string will be loaded in cgi processing [15:10:59]execute_cgi json_proto POST (null) [15:10:59]execute_cgi path=json_proto method=POST [15:10:59]POST find Content-Length [15:10:59]Host: 172.17.62.196:8080 [15:10:59]Content-Length: 935 [15:10:59]Content-Type: application/json [15:10:59] [15:10:59]POST finish read [15:10:59]Found Content-Length = 935 [15:10:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16884", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521292", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0421\u043E\u043A \u0431\u0435\u0440\u0435\u0437\u044B 1,2\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 275.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:10:59]execute_script... [15:10:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16884", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521292", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0421\u043E\u043A \u0431\u0435\u0440\u0435\u0437\u044B 1,2\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 275.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:10:59]POST & json_proto [15:10:59]process_json_proto [15:10:59]json parsed OK: [15:10:59]protocol is kg_v1.0 [15:10:59]action value=close_receipt [15:10:59]process_action close_receipt [15:10:59]cmd_close_receipt [15:10:59]MH_GetDate [15:10:59]Write to MH i2c: F0 00 00 45 09 3D [15:10:59]Write i2c OK [15:10:59]MH_I2C_Read... [15:10:59]Read from MH i2c: F0 [15:10:59]MH_I2C_Read... [15:10:59]Read from MH i2c: F0 09 00 [15:10:59]MH_I2C_Read... [15:10:59]Read from MH i2c: F0 09 00 45 09 00 05 28 F4 66 CE CC 0E 66 DB [15:10:59]GetLastDocTimeStamp 1727275582 [15:10:59]current date 1727277061 [15:10:59]FM_GetShiftState [15:10:59]SAM_PROTO_GetShiftState [15:10:59]wFMCommunicate request_size=4 [15:10:59]MH_SAM_APDU [15:10:59]CAPDU: 80 13 01 00 [15:10:59]Write to MH i2c: E2 08 00 46 09 80 13 01 00 00 00 00 00 CC [15:10:59]Write i2c OK [15:10:59]MH_I2C_Read... [15:10:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:10:59]Read from MH i2c: E2 [15:10:59]MH_I2C_Read... [15:10:59]Read from MH i2c: E2 0E 00 [15:10:59]MH_I2C_Read... [15:10:59]Read from MH i2c: E2 0E 00 46 09 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 B9 [15:10:59]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [15:10:59]wFMCommunicate OK [15:10:59]SAM_PROTO_GetShiftState done [15:10:59]FM_GetShiftState done [15:10:59]opened in 1727223091 [15:10:59]opened+sec_in_day 1727309491 [15:10:59]quantity*price = 15000 [15:10:59]sum+1 = 15001 [15:10:59]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870202521292 Напиток Сок березы 1,2л 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 275.00 НСП 1% : 2.44 НДС 12% : 29.20 Наличными: 275.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 42 25.09.2024 15:11 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18964 ФПД: 213566657051236 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T151101&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18964&fm=213566657051236&tin=02508201610067®Number=0000000000152968&sum=27500 0 [15:11:01]StoreToDocumentArchive [15:11:01]shift 183 fd 18964 [15:11:01]save to /storage/0183/doc_00018964 [15:11:01]save last doc name /storage/0183/doc_00018964 to /storage/kkm_last_doc_name [15:11:01]save OK [15:11:01]Clear old archive folders... [15:11:01]ProcessDocumentItem done err = 0, tmpTLVsize=387 [15:11:01]tlvbuf is 015A8CE0 [15:11:01]SAM_PROTO_ClearQueue [15:11:01]wFMCommunicate request_size=4 [15:11:01]MH_SAM_APDU [15:11:01]CAPDU: 80 09 00 00 [15:11:01]Write to MH i2c: E2 08 00 53 09 80 09 00 00 00 00 00 00 CE [15:11:01]Write i2c OK [15:11:01]MH_I2C_Read... [15:11:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:11:01]Read from MH i2c: E2 [15:11:01]MH_I2C_Read... [15:11:01]Read from MH i2c: E2 03 00 [15:11:01]MH_I2C_Read... [15:11:01]Read from MH i2c: E2 03 00 53 09 00 90 00 D0 [15:11:01]RAPDU: 90 00 [15:11:01]wFMCommunicate OK [15:11:01]SAM_PROTO_ClearQueue done [15:11:01]KKMCreateOFDPacket [15:11:01]OFDProtocolAddRootSTLVToBuf [15:11:01]FM_MakeSignedData [15:11:01]FM_MakeSignedData [15:11:01]SAM_PROTO_SignData [15:11:01]wFMCommunicate request_size=4 [15:11:01]MH_SAM_APDU [15:11:01]CAPDU: 80 0D 01 02 [15:11:01]Write to MH i2c: E2 08 00 54 09 80 0D 01 02 00 00 00 00 D6 [15:11:01]Write i2c OK [15:11:01]MH_I2C_Read... [15:11:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:11:01]Read from MH i2c: E2 [15:11:01]MH_I2C_Read... [15:11:01]Read from MH i2c: E2 03 00 [15:11:01]MH_I2C_Read... [15:11:01]Read from MH i2c: E2 03 00 54 09 00 90 00 D1 [15:11:01]RAPDU: 90 00 [15:11:01]wFMCommunicate OK [15:11:01]wFMCommunicate request_size=255 [15:11:01]MH_SAM_APDU [15:11:01]CAPDU: 80 0D 02 02 FA 03 00 83 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 [15:11:01]Write to MH i2c: E2 02 01 55 09 80 0D 02 02 FA 00 03 00 83 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 00 00 BE [15:11:01]Write i2c OK [15:11:01]MH_I2C_Read... [15:11:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:11:01]Read from MH i2c: E2 [15:11:01]MH_I2C_Read... [15:11:01]Read from MH i2c: E2 03 00 [15:11:01]MH_I2C_Read... [15:11:01]Read from MH i2c: E2 03 00 55 09 00 90 00 D2 [15:11:01]RAPDU: 90 00 [15:11:01]wFMCommunicate OK [15:11:01]wFMCommunicate request_size=146 [15:11:01]MH_SAM_APDU [15:11:01]CAPDU: 80 0D 02 02 8D 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 68 0B 00 00 00 00 07 04 06 00 6C 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 05 28 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 14 4A 00 00 35 04 06 00 C2 3C DC BA BA 64 [15:11:01]Write to MH i2c: E2 95 00 56 09 80 0D 02 02 8D 00 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 68 0B 00 00 00 00 07 04 06 00 6C 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 05 28 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 14 4A 00 00 35 04 06 00 C2 3C DC BA BA 64 00 00 EB [15:11:01]Write i2c OK [15:11:01]MH_I2C_Read... [15:11:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:11:01]Read from MH i2c: E2 [15:11:01]MH_I2C_Read... [15:11:01]Read from MH i2c: E2 03 00 [15:11:01]MH_I2C_Read... [15:11:01]Read from MH i2c: E2 03 00 56 09 00 90 00 D3 [15:11:01]RAPDU: 90 00 [15:11:01]wFMCommunicate OK [15:11:01]wFMCommunicate request_size=4 [15:11:01]MH_SAM_APDU [15:11:01]CAPDU: 80 0D 03 02 [15:11:01]Write to MH i2c: E2 08 00 57 09 80 0D 03 02 00 00 00 00 DB [15:11:01]Write i2c OK [15:11:01]MH_I2C_Read... [15:11:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:11:01]Read from MH i2c: E2 [15:11:01]MH_I2C_Read... [15:11:01]Read from MH i2c: E2 0B 00 [15:11:01]MH_I2C_Read... [15:11:01]Read from MH i2c: E2 0B 00 57 09 00 AF 65 4A E9 A0 B2 6C 15 90 00 F6 [15:11:01]RAPDU: AF 65 4A E9 A0 B2 6C 15 90 00 [15:11:01]wFMCommunicate OK [15:11:01]SAM_PROTO_SignData done [15:11:01]FM_MakeSignedData done [15:11:01]CreateOFDProtocolMessage [15:11:01]wFMCommunicate request_size=4 [15:11:01]MH_SAM_APDU [15:11:01]CAPDU: 80 11 00 00 [15:11:01]Write to MH i2c: E2 08 00 58 09 80 11 00 00 00 00 00 00 DB [15:11:01]Write i2c OK [15:11:01]MH_I2C_Read... [15:11:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:11:01]Read from MH i2c: E2 [15:11:01]MH_I2C_Read... [15:11:01]Read from MH i2c: E2 17 00 [15:11:01]MH_I2C_Read... [15:11:01]Read from MH i2c: E2 17 00 58 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 34 [15:11:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [15:11:01]wFMCommunicate OK [15:11:01]CreateOFDProtocolMessage done [15:11:01]OFDSenderStorePacket 18964 [15:11:01]StoreOFDPacket docnum=18964 [15:11:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 97 01 00 00 C2 15 8F 01 83 D4 5A 03 01 00 03 00 83 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 68 0B 00 00 00 00 07 04 06 00 6C 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 05 28 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 14 4A 00 00 35 04 06 00 C2 3C DC BA BA 64 AF 65 4A E9 A0 B2 6C 15 [15:11:01]CheckFolder [15:11:01]dirname=/storage/ofd_packets [15:11:01]CheckFolder done [15:11:01]ProducePacketName [15:11:01]name=ofd_packets/00018964 [15:11:01]NVStorageSaveData ofd_packets/00018964 [15:11:01]File name is /storage/ofd_packets/00018964 [15:11:01]Write 437 bytes [15:11:01]NVStorageSaveData done [15:11:01]OFDSenderStorePacket done [15:11:01]KKMCreateOFDPacket done [15:11:01]NVStorageSaveData kkm_last_timestamp [15:11:01]File name is /storage/kkm_last_timestamp [15:11:01]Write 4 bytes [15:11:01]NVStorageSaveData done [15:11:01]ExternCall_PrintAddStr [15:11:01]wPrintStart [15:11:01]Write to MH i2c: 01 00 00 59 09 62 [15:11:01]Write i2c OK [15:11:01]MH_I2C_Read... [15:11:01]Read from MH i2c: 01 [15:11:01]MH_I2C_Read... [15:11:01]Read from MH i2c: 01 07 00 [15:11:01]MH_I2C_Read... [15:11:01]Read from MH i2c: 01 07 00 59 09 00 00 00 00 00 FF 0F 77 [15:11:01]RasterBufferAndPrint [15:11:01]line Счет N : (3)16884 [15:11:02]line ИНН: 02508201610067 [15:11:02]line Контрольно-Кассовый Чек [15:11:02]line ПРОДАЖА [15:11:02]line Товар: 54491472 [15:11:02]line Напиток Кока-Кола 0,5л [15:11:02]line 2.000 * 75.00 [15:11:02]line = 150.00 [15:11:02]line НДС 12% НСП 1% [15:11:02]line > о реализуемом товаре [15:11:02]line Товар: 4870202521292 [15:11:02]line Напиток Сок березы 1,2л [15:11:02]line 1.000 * 125.00 [15:11:02]line = 125.00 [15:11:02]line НДС 12% НСП 1% [15:11:02]line > о реализуемом товаре [15:11:02]line ИТОГО: 275.00 [15:11:02]line НСП 1% : 2.44 [15:11:02]line НДС 12% : 29.20 [15:11:02]line Наличными: 275.00 [15:11:02]line Безнал.: 0.00 [15:11:02]line Место: АЗС № 176 "Партнер Нефть" [15:11:02]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [15:11:02]line СНО: Общий режим [15:11:02]line Чек 42 25.09.2024 15:11 [15:11:02]line Смена: 183 ФФД: 1.0 [15:11:02]line ЗНМ: 0300000010 [15:11:02]line РНМ: 0000000000152968 [15:11:02]line Версия ККМ: v1.0 [15:11:02]line ФМ: 0000000000959456 [15:11:02]line ФД: 18964 [15:11:02]line ФПД: 213566657051236 [15:11:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T151101&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18964&fm=213566657051236&tin=02508201610067®Number=0000000000152968&sum=27500 [15:11:02]line 0 [15:11:02]OFD Sender: Processing packet 18964 [packets to send 7, broken 6] [15:11:02]ProducePacketName [15:11:02]name=ofd_packets/00018964 [15:11:02]OFD Sender: To server: pG, [15:11:02]CommunicateWithHost lk.salyk.kg:30040 [15:11:02]ConnectInit lk.salyk.kg [15:11:02]written 0, free lines is 4095 [15:11:02]Connected sock=10 [15:11:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 97 01 00 00 C2 15 8F 01 83 D4 5A 03 01 00 03 00 83 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 68 0B 00 00 00 00 07 04 06 00 6C 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 05 28 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 14 4A 00 00 35 04 06 00 C2 3C DC BA BA 64 AF 65 4A E9 A0 B2 6C 15 [15:11:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 09 40 47 00 9B 37 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 14 4A 00 00 F4 03 04 00 62 D1 F3 66 B6 04 01 00 00 EF 97 18 84 2A 8A 65 45 [15:11:02]CommunicateWithHost err = 0 [15:11:02]CheckOFDResponse [15:11:02]1017 (14) - 77093643461234 [15:11:02]1041 (16) - 0000000000959456 [15:11:02]1040 (4) - 18964 [15:11:02]1012 (4) - 25.09.2024 09:01 [15:11:02]1206 (1) - 0 [15:11:02]OFD Sender: Remove packet 18964 [15:11:02]ProducePacketName [15:11:02]name=ofd_packets/00018964 [15:11:02]NVStorageDeleteData [15:11:02]Write to MH i2c: 01 00 00 87 09 90 [15:11:02]Write i2c OK [15:11:02]MH_I2C_Read... [15:11:02]Read from MH i2c: 01 [15:11:02]MH_I2C_Read... [15:11:02]Read from MH i2c: 01 07 00 [15:11:02]MH_I2C_Read... [15:11:02]Read from MH i2c: 01 07 00 87 09 00 00 00 00 00 DB 0C 7E [15:11:02]RasterBufferAndPrint [15:11:02]line [15:11:02]line [15:11:02]line [15:11:02]line [15:11:02]line [15:11:02]written 0, free lines is 3300 [15:11:02]MH_Cut [15:11:02]Write to MH i2c: D1 01 00 8E 09 01 69 [15:11:02]Write i2c OK [15:11:02]MH_I2C_Read... [15:11:02]Read from MH i2c: D1 [15:11:02]MH_I2C_Read... [15:11:02]Read from MH i2c: D1 01 00 [15:11:02]MH_I2C_Read... [15:11:02]Read from MH i2c: D1 01 00 8E 09 00 68 [15:11:02]Write to MH i2c: 01 00 00 8F 09 98 [15:11:02]Write i2c OK [15:11:02]MH_I2C_Read... [15:11:03]OFD Sender: No OFD packet to send [15:11:03]*** Cut start [15:11:03]*** Partial cut [15:11:03]*** CUTSNS_PIN = 1 [15:11:03]*** CUTSNS_PIN = 0 [15:11:03]*** Brake cut motor [15:11:03]Read from MH i2c: 01 [15:11:03]MH_I2C_Read... [15:11:03]*** Stop cut motor [15:11:03]*** Cut end [15:11:03]Read from MH i2c: 01 07 00 [15:11:03]MH_I2C_Read... [15:11:03]Read from MH i2c: 01 07 00 8F 09 00 00 00 00 00 FF 0F AD [15:11:03]process_action close_receipt done [15:11:03]requested_data is exist [15:11:03]produce_requested_data [15:11:03]requested_item fm.sn is exist - process it [15:11:03]wFMCommunicate request_size=4 [15:11:03]MH_SAM_APDU [15:11:03]CAPDU: 80 11 00 00 [15:11:03]Write to MH i2c: E2 08 00 90 09 80 11 00 00 00 00 00 00 13 [15:11:03]Write i2c OK [15:11:03]MH_I2C_Read... [15:11:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:11:03]Read from MH i2c: E2 [15:11:03]MH_I2C_Read... [15:11:03]Read from MH i2c: E2 17 00 [15:11:03]MH_I2C_Read... [15:11:03]Read from MH i2c: E2 17 00 90 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 6C [15:11:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [15:11:03]wFMCommunicate OK [15:11:03]requested_item fd.num is exist - process it [15:11:03]SAM_PROTO_GetFieldsCounters [15:11:03]wFMCommunicate request_size=4 [15:11:03]MH_SAM_APDU [15:11:03]CAPDU: 80 13 00 00 [15:11:03]Write to MH i2c: E2 08 00 91 09 80 13 00 00 00 00 00 00 16 [15:11:03]Write i2c OK [15:11:03]MH_I2C_Read... [15:11:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:11:04]Read from MH i2c: E2 [15:11:04]MH_I2C_Read... [15:11:04]Read from MH i2c: E2 62 00 [15:11:04]MH_I2C_Read... [15:11:04]Read from MH i2c: E2 62 00 91 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 14 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 D6 [15:11:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 14 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:11:04]wFMCommunicate OK [15:11:04]SAM_PROTO_GetFieldsCounters done [15:11:04]requested_item shift.num is exist - process it [15:11:04]requested_item shift.opened is exist - process it [15:11:04]req_shift_opened [15:11:04]FM_GetShiftState [15:11:04]SAM_PROTO_GetShiftState [15:11:04]wFMCommunicate request_size=4 [15:11:04]MH_SAM_APDU [15:11:04]CAPDU: 80 13 01 00 [15:11:04]Write to MH i2c: E2 08 00 92 09 80 13 01 00 00 00 00 00 18 [15:11:04]Write i2c OK [15:11:04]MH_I2C_Read... [15:11:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:11:04]Read from MH i2c: E2 [15:11:04]MH_I2C_Read... [15:11:04]Read from MH i2c: E2 0E 00 [15:11:04]MH_I2C_Read... [15:11:04]Read from MH i2c: E2 0E 00 92 09 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 05 [15:11:04]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [15:11:04]wFMCommunicate OK [15:11:04]SAM_PROTO_GetShiftState done [15:11:04]FM_GetShiftState done [15:11:04]req_shift_opened done [15:11:04]requested_item shift.open_date is exist - process it [15:11:04]req_shift_open_date [15:11:04]req_shift_open_date done [15:11:04]produce_requested_data done [15:11:04]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18964,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [15:11:04]process_action_free close_receipt [15:11:04]json_value_free [15:11:04]json_value_free done [15:11:04]process_json_proto returns [15:11:04]Send response to host [15:11:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18964,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [15:11:04]free response buf [15:11:04]execute_script done [15:11:04]execute_script returns [15:11:04]free content buf [15:11:04]Sock 8.Close socket [15:11:04]Sock 8.Thread stoped [15:11:08]OFD Sender: No OFD packet to send [15:11:13]OFD Sender: No OFD packet to send [15:11:18]OFD Sender: No OFD packet to send [15:11:23]OFD Sender: No OFD packet to send [15:11:28]OFD Sender: No OFD packet to send [15:11:33]OFD Sender: No OFD packet to send [15:11:38]OFD Sender: No OFD packet to send [15:11:43]OFD Sender: No OFD packet to send [15:11:48]OFD Sender: No OFD packet to send [15:11:53]OFD Sender: No OFD packet to send [15:11:58]OFD Sender: No OFD packet to send [15:12:03]OFD Sender: No OFD packet to send [15:12:08]OFD Sender: No OFD packet to send [15:12:13]OFD Sender: No OFD packet to send [15:12:18]OFD Sender: No OFD packet to send [15:12:23]OFD Sender: No OFD packet to send [15:12:28]OFD Sender: No OFD packet to send [15:12:33]OFD Sender: No OFD packet to send [15:12:38]OFD Sender: No OFD packet to send [15:12:43]OFD Sender: No OFD packet to send [15:12:48]OFD Sender: No OFD packet to send [15:12:53]OFD Sender: No OFD packet to send [15:12:58]OFD Sender: No OFD packet to send [15:13:03]OFD Sender: No OFD packet to send [15:13:08]OFD Sender: No OFD packet to send [15:13:13]OFD Sender: No OFD packet to send [15:13:18]OFD Sender: No OFD packet to send [15:13:23]OFD Sender: No OFD packet to send [15:13:28]OFD Sender: No OFD packet to send [15:13:33]OFD Sender: No OFD packet to send [15:13:38]OFD Sender: No OFD packet to send [15:13:43]OFD Sender: No OFD packet to send [15:13:48]OFD Sender: No OFD packet to send [15:13:53]OFD Sender: No OFD packet to send [15:13:58]OFD Sender: No OFD packet to send [15:14:03]OFD Sender: No OFD packet to send [15:14:08]OFD Sender: No OFD packet to send [15:14:13]OFD Sender: No OFD packet to send [15:14:18]OFD Sender: No OFD packet to send [15:14:23]OFD Sender: No OFD packet to send [15:14:28]OFD Sender: No OFD packet to send [15:14:33]OFD Sender: No OFD packet to send [15:14:38]OFD Sender: No OFD packet to send [15:14:43]OFD Sender: No OFD packet to send [15:14:48]OFD Sender: No OFD packet to send [15:14:53]OFD Sender: No OFD packet to send [15:14:58]OFD Sender: No OFD packet to send [15:15:03]OFD Sender: No OFD packet to send [15:15:08]OFD Sender: No OFD packet to send [15:15:13]OFD Sender: No OFD packet to send [15:15:18]OFD Sender: No OFD packet to send [15:15:23]OFD Sender: No OFD packet to send [15:15:28]OFD Sender: No OFD packet to send [15:15:33]OFD Sender: No OFD packet to send [15:15:38]OFD Sender: No OFD packet to send [15:15:43]OFD Sender: No OFD packet to send [15:15:48]OFD Sender: No OFD packet to send [15:15:53]OFD Sender: No OFD packet to send [15:15:58]OFD Sender: No OFD packet to send [15:16:03]OFD Sender: No OFD packet to send [15:16:08]OFD Sender: No OFD packet to send [15:16:13]OFD Sender: No OFD packet to send [15:16:18]OFD Sender: No OFD packet to send [15:16:23]OFD Sender: No OFD packet to send [15:16:28]OFD Sender: No OFD packet to send [15:16:33]OFD Sender: No OFD packet to send [15:16:38]OFD Sender: No OFD packet to send [15:16:43]OFD Sender: No OFD packet to send [15:16:48]OFD Sender: No OFD packet to send [15:16:53]OFD Sender: No OFD packet to send [15:16:58]OFD Sender: No OFD packet to send [15:17:03]OFD Sender: No OFD packet to send [15:17:08]OFD Sender: No OFD packet to send [15:17:13]OFD Sender: No OFD packet to send [15:17:18]OFD Sender: No OFD packet to send [15:17:23]OFD Sender: No OFD packet to send [15:17:28]OFD Sender: No OFD packet to send [15:17:33]OFD Sender: No OFD packet to send [15:17:38]OFD Sender: No OFD packet to send [15:17:43]OFD Sender: No OFD packet to send [15:17:48]OFD Sender: No OFD packet to send [15:17:53]OFD Sender: No OFD packet to send [15:17:58]OFD Sender: No OFD packet to send [15:18:03]OFD Sender: No OFD packet to send [15:18:08]OFD Sender: No OFD packet to send [15:18:13]OFD Sender: No OFD packet to send [15:18:18]OFD Sender: No OFD packet to send [15:18:23]OFD Sender: No OFD packet to send [15:18:28]OFD Sender: No OFD packet to send [15:18:33]OFD Sender: No OFD packet to send [15:18:38]OFD Sender: No OFD packet to send [15:18:43]OFD Sender: No OFD packet to send [15:18:45]accept exits with 9 [15:18:45]New connection [15:18:45]New thread 3066764644 created [15:18:45]Thread 3066621284 joined [15:18:45]Waiting for new connection... [15:18:45] Sock 9.Parse request [15:18:45]Sock 9.Check first char [15:18:45]Sock 9.First char is OK [15:18:45]request: POST /json_proto HTTP/1.0 [15:18:45]Method: POST [15:18:45]URL: /json_proto [15:18:45]Method is POST - this is cgi request [15:18:45]url: /json_proto [15:18:45]query_string will be loaded in cgi processing [15:18:45]execute_cgi json_proto POST (null) [15:18:45]execute_cgi path=json_proto method=POST [15:18:45]POST find Content-Length [15:18:45]Host: 172.17.62.196:8080 [15:18:45]Content-Length: 958 [15:18:45]Content-Type: application/json [15:18:45] [15:18:45]POST finish read [15:18:45]Found Content-Length = 958 [15:18:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16885", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:18:45]execute_script... [15:18:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16885", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:18:45]POST & json_proto [15:18:45]process_json_proto [15:18:45]json parsed OK: [15:18:45]protocol is kg_v1.0 [15:18:45]action value=close_receipt [15:18:45]process_action close_receipt [15:18:45]cmd_close_receipt [15:18:45]MH_GetDate [15:18:45]Write to MH i2c: F0 00 00 93 09 8B [15:18:45]Write i2c OK [15:18:45]MH_I2C_Read... [15:18:45]Read from MH i2c: F0 [15:18:45]MH_I2C_Read... [15:18:45]Read from MH i2c: F0 09 00 [15:18:45]MH_I2C_Read... [15:18:45]Read from MH i2c: F0 09 00 93 09 00 D7 29 F4 66 CE CC 0E 66 FC [15:18:45]GetLastDocTimeStamp 1727277061 [15:18:45]current date 1727277527 [15:18:45]FM_GetShiftState [15:18:45]SAM_PROTO_GetShiftState [15:18:45]wFMCommunicate request_size=4 [15:18:45]MH_SAM_APDU [15:18:45]CAPDU: 80 13 01 00 [15:18:45]Write to MH i2c: E2 08 00 94 09 80 13 01 00 00 00 00 00 1A [15:18:45]Write i2c OK [15:18:45]MH_I2C_Read... [15:18:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:18:45]Read from MH i2c: E2 [15:18:45]MH_I2C_Read... [15:18:45]Read from MH i2c: E2 0E 00 [15:18:45]MH_I2C_Read... [15:18:45]Read from MH i2c: E2 0E 00 94 09 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 07 [15:18:45]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [15:18:45]wFMCommunicate OK [15:18:45]SAM_PROTO_GetShiftState done [15:18:45]FM_GetShiftState done [15:18:45]opened in 1727223091 [15:18:45]opened+sec_in_day 1727309491 [15:18:45]quantity*price = 5000 [15:18:45]sum+1 = 5001 [15:18:45]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001571030 Вода ASU пит н.газ клубн,киви ПЭТ 1л 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 43 25.09.2024 15:18 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18965 ФПД: 247995798000995 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T151847&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18965&fm=247995798000995&tin=02508201610067®Number=0000000000152968&sum=12000 0 [15:18:46]StoreToDocumentArchive [15:18:46]shift 183 fd 18965 [15:18:46]save to /storage/0183/doc_00018965 [15:18:46]save last doc name /storage/0183/doc_00018965 to /storage/kkm_last_doc_name [15:18:46]save OK [15:18:46]Clear old archive folders... [15:18:46]ProcessDocumentItem done err = 0, tmpTLVsize=401 [15:18:46]tlvbuf is 015E2800 [15:18:46]SAM_PROTO_ClearQueue [15:18:46]wFMCommunicate request_size=4 [15:18:46]MH_SAM_APDU [15:18:46]CAPDU: 80 09 00 00 [15:18:46]Write to MH i2c: E2 08 00 A1 09 80 09 00 00 00 00 00 00 1C [15:18:46]Write i2c OK [15:18:46]MH_I2C_Read... [15:18:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:18:47]Read from MH i2c: E2 [15:18:47]MH_I2C_Read... [15:18:47]Read from MH i2c: E2 03 00 [15:18:47]MH_I2C_Read... [15:18:47]Read from MH i2c: E2 03 00 A1 09 00 90 00 1E [15:18:47]RAPDU: 90 00 [15:18:47]wFMCommunicate OK [15:18:47]SAM_PROTO_ClearQueue done [15:18:47]KKMCreateOFDPacket [15:18:47]OFDProtocolAddRootSTLVToBuf [15:18:47]FM_MakeSignedData [15:18:47]FM_MakeSignedData [15:18:47]SAM_PROTO_SignData [15:18:47]wFMCommunicate request_size=4 [15:18:47]MH_SAM_APDU [15:18:47]CAPDU: 80 0D 01 02 [15:18:47]Write to MH i2c: E2 08 00 A2 09 80 0D 01 02 00 00 00 00 24 [15:18:47]Write i2c OK [15:18:47]MH_I2C_Read... [15:18:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:18:47]Read from MH i2c: E2 [15:18:47]MH_I2C_Read... [15:18:47]Read from MH i2c: E2 03 00 [15:18:47]MH_I2C_Read... [15:18:47]Read from MH i2c: E2 03 00 A2 09 00 90 00 1F [15:18:47]RAPDU: 90 00 [15:18:47]wFMCommunicate OK [15:18:47]wFMCommunicate request_size=255 [15:18:47]MH_SAM_APDU [15:18:47]CAPDU: 80 0D 02 02 FA 03 00 91 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 [15:18:47]Write to MH i2c: E2 02 01 A3 09 80 0D 02 02 FA 00 03 00 91 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 00 00 A9 [15:18:47]Write i2c OK [15:18:47]MH_I2C_Read... [15:18:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:18:47]Read from MH i2c: E2 [15:18:47]MH_I2C_Read... [15:18:47]Read from MH i2c: E2 03 00 [15:18:47]MH_I2C_Read... [15:18:47]Read from MH i2c: E2 03 00 A3 09 00 90 00 20 [15:18:47]RAPDU: 90 00 [15:18:47]wFMCommunicate OK [15:18:47]wFMCommunicate request_size=160 [15:18:47]MH_SAM_APDU [15:18:47]CAPDU: 80 0D 02 02 9B EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 D7 29 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 15 4A 00 00 35 04 06 00 E1 8D 05 72 15 63 [15:18:47]Write to MH i2c: E2 A3 00 A4 09 80 0D 02 02 9B 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 D7 29 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 15 4A 00 00 35 04 06 00 E1 8D 05 72 15 63 00 00 14 [15:18:47]Write i2c OK [15:18:47]MH_I2C_Read... [15:18:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:18:47]Read from MH i2c: E2 [15:18:47]MH_I2C_Read... [15:18:47]Read from MH i2c: E2 03 00 [15:18:47]MH_I2C_Read... [15:18:47]Read from MH i2c: E2 03 00 A4 09 00 90 00 21 [15:18:47]RAPDU: 90 00 [15:18:47]wFMCommunicate OK [15:18:47]wFMCommunicate request_size=4 [15:18:47]MH_SAM_APDU [15:18:47]CAPDU: 80 0D 03 02 [15:18:47]Write to MH i2c: E2 08 00 A5 09 80 0D 03 02 00 00 00 00 29 [15:18:47]Write i2c OK [15:18:47]MH_I2C_Read... [15:18:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:18:47]Read from MH i2c: E2 [15:18:47]MH_I2C_Read... [15:18:47]Read from MH i2c: E2 0B 00 [15:18:47]MH_I2C_Read... [15:18:47]Read from MH i2c: E2 0B 00 A5 09 00 4C D8 47 5B CA 74 C5 3E 90 00 31 [15:18:47]RAPDU: 4C D8 47 5B CA 74 C5 3E 90 00 [15:18:47]wFMCommunicate OK [15:18:47]SAM_PROTO_SignData done [15:18:47]FM_MakeSignedData done [15:18:47]CreateOFDProtocolMessage [15:18:47]wFMCommunicate request_size=4 [15:18:47]MH_SAM_APDU [15:18:47]CAPDU: 80 11 00 00 [15:18:47]Write to MH i2c: E2 08 00 A6 09 80 11 00 00 00 00 00 00 29 [15:18:47]Write i2c OK [15:18:47]MH_I2C_Read... [15:18:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:18:47]Read from MH i2c: E2 [15:18:47]MH_I2C_Read... [15:18:47]Read from MH i2c: E2 17 00 [15:18:47]MH_I2C_Read... [15:18:47]Read from MH i2c: E2 17 00 A6 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 82 [15:18:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [15:18:47]wFMCommunicate OK [15:18:47]CreateOFDProtocolMessage done [15:18:47]OFDSenderStorePacket 18965 [15:18:47]StoreOFDPacket docnum=18965 [15:18:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 A5 01 00 00 DB DA 9D 01 62 8D 5A 03 01 00 03 00 91 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 D7 29 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 15 4A 00 00 35 04 06 00 E1 8D 05 72 15 63 4C D8 47 5B CA 74 C5 3E [15:18:47]CheckFolder [15:18:47]dirname=/storage/ofd_packets [15:18:47]CheckFolder done [15:18:47]ProducePacketName [15:18:47]name=ofd_packets/00018965 [15:18:47]NVStorageSaveData ofd_packets/00018965 [15:18:47]File name is /storage/ofd_packets/00018965 [15:18:47]Write 451 bytes [15:18:47]NVStorageSaveData done [15:18:47]OFDSenderStorePacket done [15:18:47]KKMCreateOFDPacket done [15:18:47]NVStorageSaveData kkm_last_timestamp [15:18:47]File name is /storage/kkm_last_timestamp [15:18:47]Write 4 bytes [15:18:47]NVStorageSaveData done [15:18:47]ExternCall_PrintAddStr [15:18:47]wPrintStart [15:18:47]Write to MH i2c: 01 00 00 A7 09 B0 [15:18:47]Write i2c OK [15:18:47]MH_I2C_Read... [15:18:47]Read from MH i2c: 01 [15:18:47]MH_I2C_Read... [15:18:47]Read from MH i2c: 01 07 00 [15:18:47]MH_I2C_Read... [15:18:47]OFD Sender: Processing packet 18965 [packets to send 7, broken 6] [15:18:47]ProducePacketName [15:18:47]name=ofd_packets/00018965 [15:18:48]OFD Sender: To server: pG, [15:18:48]CommunicateWithHost lk.salyk.kg:30040 [15:18:48]ConnectInit lk.salyk.kg [15:18:48]Read from MH i2c: 01 07 00 A7 09 00 00 00 00 00 FF 0F C5 [15:18:48]RasterBufferAndPrint [15:18:48]line Счет N : (3)16885 [15:18:48]line ИНН: 02508201610067 [15:18:48]line Контрольно-Кассовый Чек [15:18:48]line ПРОДАЖА [15:18:48]line Товар: 4700000160358 [15:18:48]line Вода Легенда 1л [15:18:48]line 1.000 * 50.00 [15:18:48]line = 50.00 [15:18:48]line НДС 12% НСП 1% [15:18:48]line > о реализуемом товаре [15:18:48]line Товар: 4870001571030 [15:18:48]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [15:18:48]line 1.000 * 70.00 [15:18:48]line = 70.00 [15:18:48]line НДС 12% НСП 1% [15:18:48]line > о реализуемом товаре [15:18:48]line ИТОГО: 120.00 [15:18:48]line НСП 1% : 1.06 [15:18:48]line НДС 12% : 12.74 [15:18:48]line Наличными: 120.00 [15:18:48]line Безнал.: 0.00 [15:18:48]line Место: АЗС № 176 "Партнер Нефть" [15:18:48]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [15:18:48]line СНО: Общий режим [15:18:48]line Чек 43 25.09.2024 15:18 [15:18:48]line Смена: 183 ФФД: 1.0 [15:18:48]line ЗНМ: 0300000010 [15:18:48]line РНМ: 0000000000152968 [15:18:48]line Версия ККМ: v1.0 [15:18:48]line ФМ: 0000000000959456 [15:18:48]line ФД: 18965 [15:18:48]line ФПД: 247995798000995 [15:18:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T151847&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18965&fm=247995798000995&tin=02508201610067®Number=0000000000152968&sum=12000 [15:18:48]line 0 [15:18:48]written 0, free lines is 4095 [15:18:48]Connected sock=10 [15:18:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 A5 01 00 00 DB DA 9D 01 62 8D 5A 03 01 00 03 00 91 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 D7 29 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 15 4A 00 00 35 04 06 00 E1 8D 05 72 15 63 4C D8 47 5B CA 74 C5 3E [15:18:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 05 5D 47 00 03 F8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 15 4A 00 00 F4 03 04 00 34 D3 F3 66 B6 04 01 00 00 3D 05 EC 0D CB 4B C2 4A [15:18:48]CommunicateWithHost err = 0 [15:18:48]CheckOFDResponse [15:18:48]1017 (14) - 77093643461234 [15:18:48]1041 (16) - 0000000000959456 [15:18:48]1040 (4) - 18965 [15:18:48]1012 (4) - 25.09.2024 09:09 [15:18:48]1206 (1) - 0 [15:18:48]OFD Sender: Remove packet 18965 [15:18:48]ProducePacketName [15:18:48]name=ofd_packets/00018965 [15:18:48]NVStorageDeleteData [15:18:48]Write to MH i2c: 01 00 00 D6 09 DF [15:18:48]Write i2c OK [15:18:48]MH_I2C_Read... [15:18:48]Read from MH i2c: 01 [15:18:48]MH_I2C_Read... [15:18:48]Read from MH i2c: 01 07 00 [15:18:48]MH_I2C_Read... [15:18:48]Read from MH i2c: 01 07 00 D6 09 00 00 00 00 00 B5 0C A7 [15:18:48]RasterBufferAndPrint [15:18:48]line [15:18:48]line [15:18:48]line [15:18:48]line [15:18:48]line [15:18:48]written 0, free lines is 3262 [15:18:48]MH_Cut [15:18:48]Write to MH i2c: D1 01 00 DD 09 01 B8 [15:18:48]Write i2c OK [15:18:48]MH_I2C_Read... [15:18:48]Read from MH i2c: D1 [15:18:48]MH_I2C_Read... [15:18:48]Read from MH i2c: D1 01 00 [15:18:48]MH_I2C_Read... [15:18:48]Read from MH i2c: D1 01 00 DD 09 00 B7 [15:18:48]Write to MH i2c: 01 00 00 DE 09 E7 [15:18:48]Write i2c OK [15:18:48]MH_I2C_Read... [15:18:48]OFD Sender: No OFD packet to send [15:18:49]*** Cut start [15:18:49]*** Partial cut [15:18:49]*** CUTSNS_PIN = 1 [15:18:49]*** CUTSNS_PIN = 0 [15:18:49]*** Brake cut motor [15:18:49]Read from MH i2c: 01 [15:18:49]MH_I2C_Read... [15:18:49]*** Stop cut motor [15:18:49]*** Cut end [15:18:49]Read from MH i2c: 01 07 00 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: 01 07 00 DE 09 00 00 00 00 00 FF 0F FC [15:18:49]process_action close_receipt done [15:18:49]requested_data is exist [15:18:49]produce_requested_data [15:18:49]requested_item fm.sn is exist - process it [15:18:49]wFMCommunicate request_size=4 [15:18:49]MH_SAM_APDU [15:18:49]CAPDU: 80 11 00 00 [15:18:49]Write to MH i2c: E2 08 00 DF 09 80 11 00 00 00 00 00 00 62 [15:18:49]Write i2c OK [15:18:49]MH_I2C_Read... [15:18:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:18:49]Read from MH i2c: E2 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: E2 17 00 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: E2 17 00 DF 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 BB [15:18:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [15:18:49]wFMCommunicate OK [15:18:49]requested_item fd.num is exist - process it [15:18:49]SAM_PROTO_GetFieldsCounters [15:18:49]wFMCommunicate request_size=4 [15:18:49]MH_SAM_APDU [15:18:49]CAPDU: 80 13 00 00 [15:18:49]Write to MH i2c: E2 08 00 E0 09 80 13 00 00 00 00 00 00 65 [15:18:49]Write i2c OK [15:18:49]MH_I2C_Read... [15:18:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:18:49]Read from MH i2c: E2 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: E2 62 00 [15:18:49]MH_I2C_Read... [15:18:49]Read from MH i2c: E2 62 00 E0 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 15 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 29 [15:18:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 15 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:18:49]wFMCommunicate OK [15:18:49]SAM_PROTO_GetFieldsCounters done [15:18:49]requested_item shift.num is exist - process it [15:18:49]requested_item shift.opened is exist - process it [15:18:49]req_shift_opened [15:18:49]FM_GetShiftState [15:18:49]SAM_PROTO_GetShiftState [15:18:49]wFMCommunicate request_size=4 [15:18:49]MH_SAM_APDU [15:18:49]CAPDU: 80 13 01 00 [15:18:49]Write to MH i2c: E2 08 00 E1 09 80 13 01 00 00 00 00 00 67 [15:18:49]Write i2c OK [15:18:49]MH_I2C_Read... [15:18:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:18:50]Read from MH i2c: E2 [15:18:50]MH_I2C_Read... [15:18:50]Read from MH i2c: E2 0E 00 [15:18:50]MH_I2C_Read... [15:18:50]Read from MH i2c: E2 0E 00 E1 09 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 54 [15:18:50]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [15:18:50]wFMCommunicate OK [15:18:50]SAM_PROTO_GetShiftState done [15:18:50]FM_GetShiftState done [15:18:50]req_shift_opened done [15:18:50]requested_item shift.open_date is exist - process it [15:18:50]req_shift_open_date [15:18:50]req_shift_open_date done [15:18:50]produce_requested_data done [15:18:50]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18965,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [15:18:50]process_action_free close_receipt [15:18:50]json_value_free [15:18:50]json_value_free done [15:18:50]process_json_proto returns [15:18:50]Send response to host [15:18:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18965,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [15:18:50]free response buf [15:18:50]execute_script done [15:18:50]execute_script returns [15:18:50]free content buf [15:18:50]Sock 9.Close socket [15:18:50]Sock 9.Thread stoped [15:18:53]OFD Sender: No OFD packet to send [15:18:58]OFD Sender: No OFD packet to send [15:19:03]OFD Sender: No OFD packet to send [15:19:08]OFD Sender: No OFD packet to send [15:19:13]OFD Sender: No OFD packet to send [15:19:18]OFD Sender: No OFD packet to send [15:19:23]OFD Sender: No OFD packet to send [15:19:28]OFD Sender: No OFD packet to send [15:19:33]OFD Sender: No OFD packet to send [15:19:39]OFD Sender: No OFD packet to send [15:19:44]OFD Sender: No OFD packet to send [15:19:49]OFD Sender: No OFD packet to send [15:19:54]OFD Sender: No OFD packet to send [15:19:59]OFD Sender: No OFD packet to send [15:20:04]OFD Sender: No OFD packet to send [15:20:09]OFD Sender: No OFD packet to send [15:20:14]OFD Sender: No OFD packet to send [15:20:19]OFD Sender: No OFD packet to send [15:20:24]OFD Sender: No OFD packet to send [15:20:28]accept exits with 8 [15:20:28]New connection [15:20:28]New thread 3066621284 created [15:20:28]Thread 3066764644 joined [15:20:28]Waiting for new connection... [15:20:28] Sock 8.Parse request [15:20:28]Sock 8.Check first char [15:20:28]Sock 8.First char is OK [15:20:28]request: POST /json_proto HTTP/1.0 [15:20:28]Method: POST [15:20:28]URL: /json_proto [15:20:28]Method is POST - this is cgi request [15:20:28]url: /json_proto [15:20:28]query_string will be loaded in cgi processing [15:20:28]execute_cgi json_proto POST (null) [15:20:28]execute_cgi path=json_proto method=POST [15:20:28]POST find Content-Length [15:20:28]Host: 172.17.62.196:8080 [15:20:28]Content-Length: 695 [15:20:28]Content-Type: application/json [15:20:28] [15:20:28]POST finish read [15:20:28]Found Content-Length = 695 [15:20:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16886", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:20:28]execute_script... [15:20:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16886", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:20:28]POST & json_proto [15:20:28]process_json_proto [15:20:28]json parsed OK: [15:20:28]protocol is kg_v1.0 [15:20:28]action value=close_receipt [15:20:28]process_action close_receipt [15:20:28]cmd_close_receipt [15:20:28]MH_GetDate [15:20:28]Write to MH i2c: F0 00 00 E2 09 DA [15:20:28]Write i2c OK [15:20:28]MH_I2C_Read... [15:20:28]Read from MH i2c: F0 [15:20:28]MH_I2C_Read... [15:20:28]Read from MH i2c: F0 09 00 [15:20:28]MH_I2C_Read... [15:20:28]Read from MH i2c: F0 09 00 E2 09 00 3E 2A F4 66 CE CC 0E 66 B3 [15:20:28]GetLastDocTimeStamp 1727277527 [15:20:28]current date 1727277630 [15:20:28]FM_GetShiftState [15:20:28]SAM_PROTO_GetShiftState [15:20:28]wFMCommunicate request_size=4 [15:20:28]MH_SAM_APDU [15:20:28]CAPDU: 80 13 01 00 [15:20:28]Write to MH i2c: E2 08 00 E3 09 80 13 01 00 00 00 00 00 69 [15:20:28]Write i2c OK [15:20:28]MH_I2C_Read... [15:20:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:20:28]Read from MH i2c: E2 [15:20:28]MH_I2C_Read... [15:20:28]Read from MH i2c: E2 0E 00 [15:20:28]MH_I2C_Read... [15:20:28]Read from MH i2c: E2 0E 00 E3 09 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 56 [15:20:28]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [15:20:28]wFMCommunicate OK [15:20:28]SAM_PROTO_GetShiftState done [15:20:28]FM_GetShiftState done [15:20:28]opened in 1727223091 [15:20:28]opened+sec_in_day 1727309491 [15:20:28]quantity*price = 9500 [15:20:28]sum+1 = 9501 [15:20:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 44 25.09.2024 15:20 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18966 ФПД: 128988416393705 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T152030&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18966&fm=128988416393705&tin=02508201610067®Number=0000000000152968&sum=9500 0 [15:20:29]StoreToDocumentArchive [15:20:29]shift 183 fd 18966 [15:20:29]save to /storage/0183/doc_00018966 [15:20:29]save last doc name /storage/0183/doc_00018966 to /storage/kkm_last_doc_name [15:20:29]save OK [15:20:29]Clear old archive folders... [15:20:29]ProcessDocumentItem done err = 0, tmpTLVsize=299 [15:20:29]tlvbuf is 015DEDF0 [15:20:29]SAM_PROTO_ClearQueue [15:20:29]wFMCommunicate request_size=4 [15:20:29]MH_SAM_APDU [15:20:29]CAPDU: 80 09 00 00 [15:20:29]Write to MH i2c: E2 08 00 F0 09 80 09 00 00 00 00 00 00 6B [15:20:29]Write i2c OK [15:20:29]MH_I2C_Read... [15:20:30]Read from MH i2c: E2 [15:20:30]MH_I2C_Read... [15:20:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:20:30]Read from MH i2c: E2 03 00 [15:20:30]MH_I2C_Read... [15:20:30]Read from MH i2c: E2 03 00 F0 09 00 90 00 6D [15:20:30]RAPDU: 90 00 [15:20:30]wFMCommunicate OK [15:20:30]SAM_PROTO_ClearQueue done [15:20:30]KKMCreateOFDPacket [15:20:30]OFDProtocolAddRootSTLVToBuf [15:20:30]FM_MakeSignedData [15:20:30]FM_MakeSignedData [15:20:30]SAM_PROTO_SignData [15:20:30]wFMCommunicate request_size=4 [15:20:30]MH_SAM_APDU [15:20:30]CAPDU: 80 0D 01 02 [15:20:30]Write to MH i2c: E2 08 00 F1 09 80 0D 01 02 00 00 00 00 73 [15:20:30]Write i2c OK [15:20:30]MH_I2C_Read... [15:20:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:20:30]Read from MH i2c: E2 [15:20:30]MH_I2C_Read... [15:20:30]Read from MH i2c: E2 03 00 [15:20:30]MH_I2C_Read... [15:20:30]Read from MH i2c: E2 03 00 F1 09 00 90 00 6E [15:20:30]RAPDU: 90 00 [15:20:30]wFMCommunicate OK [15:20:30]wFMCommunicate request_size=255 [15:20:30]MH_SAM_APDU [15:20:30]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 3E 2A F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 [15:20:30]Write to MH i2c: E2 02 01 F2 09 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 3E 2A F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 49 [15:20:30]Write i2c OK [15:20:30]MH_I2C_Read... [15:20:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:20:30]Read from MH i2c: E2 [15:20:30]MH_I2C_Read... [15:20:30]Read from MH i2c: E2 03 00 [15:20:30]MH_I2C_Read... [15:20:30]Read from MH i2c: E2 03 00 F2 09 00 90 00 6F [15:20:30]RAPDU: 90 00 [15:20:30]wFMCommunicate OK [15:20:30]wFMCommunicate request_size=58 [15:20:30]MH_SAM_APDU [15:20:30]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 16 4A 00 00 35 04 06 00 75 50 74 BD 41 E9 [15:20:30]Write to MH i2c: E2 3D 00 F3 09 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 16 4A 00 00 35 04 06 00 75 50 74 BD 41 E9 00 00 F1 [15:20:30]Write i2c OK [15:20:30]MH_I2C_Read... [15:20:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:20:30]Read from MH i2c: E2 [15:20:30]MH_I2C_Read... [15:20:30]Read from MH i2c: E2 03 00 [15:20:30]MH_I2C_Read... [15:20:30]Read from MH i2c: E2 03 00 F3 09 00 90 00 70 [15:20:30]RAPDU: 90 00 [15:20:30]wFMCommunicate OK [15:20:30]wFMCommunicate request_size=4 [15:20:30]MH_SAM_APDU [15:20:30]CAPDU: 80 0D 03 02 [15:20:30]Write to MH i2c: E2 08 00 F4 09 80 0D 03 02 00 00 00 00 78 [15:20:30]Write i2c OK [15:20:30]MH_I2C_Read... [15:20:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:20:30]Read from MH i2c: E2 [15:20:30]MH_I2C_Read... [15:20:30]Read from MH i2c: E2 0B 00 [15:20:30]MH_I2C_Read... [15:20:30]Read from MH i2c: E2 0B 00 F4 09 00 FC 80 C6 2A 29 ED 10 EC 90 00 F7 [15:20:30]RAPDU: FC 80 C6 2A 29 ED 10 EC 90 00 [15:20:30]wFMCommunicate OK [15:20:30]SAM_PROTO_SignData done [15:20:30]FM_MakeSignedData done [15:20:30]CreateOFDProtocolMessage [15:20:30]wFMCommunicate request_size=4 [15:20:30]MH_SAM_APDU [15:20:30]CAPDU: 80 11 00 00 [15:20:30]Write to MH i2c: E2 08 00 F5 09 80 11 00 00 00 00 00 00 78 [15:20:30]Write i2c OK [15:20:30]MH_I2C_Read... [15:20:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:20:30]Read from MH i2c: E2 [15:20:30]MH_I2C_Read... [15:20:30]Read from MH i2c: E2 17 00 [15:20:30]MH_I2C_Read... [15:20:30]Read from MH i2c: E2 17 00 F5 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 D1 [15:20:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [15:20:30]wFMCommunicate OK [15:20:30]CreateOFDProtocolMessage done [15:20:30]OFDSenderStorePacket 18966 [15:20:30]StoreOFDPacket docnum=18966 [15:20:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 3F 01 00 00 B4 57 37 01 09 34 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 3E 2A F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 16 4A 00 00 35 04 06 00 75 50 74 BD 41 E9 FC 80 C6 2A 29 ED 10 EC [15:20:30]CheckFolder [15:20:30]dirname=/storage/ofd_packets [15:20:30]CheckFolder done [15:20:30]ProducePacketName [15:20:30]name=ofd_packets/00018966 [15:20:30]NVStorageSaveData ofd_packets/00018966 [15:20:30]File name is /storage/ofd_packets/00018966 [15:20:30]Write 349 bytes [15:20:30]NVStorageSaveData done [15:20:30]OFDSenderStorePacket done [15:20:30]KKMCreateOFDPacket done [15:20:30]NVStorageSaveData kkm_last_timestamp [15:20:30]File name is /storage/kkm_last_timestamp [15:20:30]Write 4 bytes [15:20:30]NVStorageSaveData done [15:20:30]ExternCall_PrintAddStr [15:20:30]wPrintStart [15:20:30]Write to MH i2c: 01 00 00 F6 09 FF [15:20:30]Write i2c OK [15:20:30]MH_I2C_Read... [15:20:30]Read from MH i2c: 01 [15:20:30]MH_I2C_Read... [15:20:30]Read from MH i2c: 01 07 00 [15:20:30]MH_I2C_Read... [15:20:30]Read from MH i2c: 01 07 00 F6 09 00 00 00 00 00 FF 0F 14 [15:20:30]RasterBufferAndPrint [15:20:30]line Счет N : (3)16886 [15:20:30]line ИНН: 02508201610067 [15:20:30]line Контрольно-Кассовый Чек [15:20:30]line ПРОДАЖА [15:20:30]line Товар: 4700000480364 [15:20:30]line Напиток энерг Nitro экзотик 0.45 ж/б [15:20:30]line 1.000 * 95.00 [15:20:30]line = 95.00 [15:20:30]line НДС 12% НСП 1% [15:20:30]line > о реализуемом товаре [15:20:30]line ИТОГО: 95.00 [15:20:30]line НСП 1% : 0.84 [15:20:30]line НДС 12% : 10.09 [15:20:30]line Наличными: 95.00 [15:20:30]line Безнал.: 0.00 [15:20:30]line Место: АЗС № 176 "Партнер Нефть" [15:20:30]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [15:20:30]line СНО: Общий режим [15:20:30]line Чек 44 25.09.2024 15:20 [15:20:30]line Смена: 183 ФФД: 1.0 [15:20:30]line ЗНМ: 0300000010 [15:20:30]line РНМ: 0000000000152968 [15:20:30]line Версия ККМ: v1.0 [15:20:30]line ФМ: 0000000000959456 [15:20:30]line ФД: 18966 [15:20:30]line ФПД: 128988416393705 [15:20:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T152030&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18966&fm=128988416393705&tin=02508201610067®Number=0000000000152968&sum=9500 [15:20:30]line 0 [15:20:30]OFD Sender: Processing packet 18966 [packets to send 7, broken 6] [15:20:30]ProducePacketName [15:20:30]name=ofd_packets/00018966 [15:20:30]OFD Sender: To server: pG, [15:20:30]CommunicateWithHost lk.salyk.kg:30040 [15:20:30]ConnectInit lk.salyk.kg [15:20:30]written 0, free lines is 4095 [15:20:31]Connected sock=10 [15:20:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 3F 01 00 00 B4 57 37 01 09 34 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 3E 2A F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 16 4A 00 00 35 04 06 00 75 50 74 BD 41 E9 FC 80 C6 2A 29 ED 10 EC [15:20:31]Write to MH i2c: 01 00 00 1F 0A 29 [15:20:31]Write i2c OK [15:20:31]MH_I2C_Read... [15:20:31]Read from MH i2c: 01 [15:20:31]MH_I2C_Read... [15:20:31]Read from MH i2c: 01 07 00 [15:20:31]MH_I2C_Read... [15:20:31]Read from MH i2c: 01 07 00 1F 0A 00 00 00 00 00 09 0D 46 [15:20:31]RasterBufferAndPrint [15:20:31]line [15:20:31]line [15:20:31]line [15:20:31]line [15:20:31]line [15:20:31]written 0, free lines is 3346 [15:20:31]MH_Cut [15:20:31]Write to MH i2c: D1 01 00 26 0A 01 02 [15:20:31]Write i2c OK [15:20:31]MH_I2C_Read... [15:20:31]Read from MH i2c: D1 [15:20:31]MH_I2C_Read... [15:20:31]Read from MH i2c: D1 01 00 [15:20:31]MH_I2C_Read... [15:20:31]Read from MH i2c: D1 01 00 26 0A 00 01 [15:20:31]Write to MH i2c: 01 00 00 27 0A 31 [15:20:31]Write i2c OK [15:20:31]MH_I2C_Read... [15:20:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 B5 1D 47 00 C7 23 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 16 4A 00 00 F4 03 04 00 9B D3 F3 66 B6 04 01 00 00 57 CF DA AE 0A FC B6 04 [15:20:31]CommunicateWithHost err = 0 [15:20:31]CheckOFDResponse [15:20:31]1017 (14) - 77093643461234 [15:20:31]1041 (16) - 0000000000959456 [15:20:31]1040 (4) - 18966 [15:20:31]1012 (4) - 25.09.2024 09:10 [15:20:31]1206 (1) - 0 [15:20:31]OFD Sender: Remove packet 18966 [15:20:31]ProducePacketName [15:20:31]name=ofd_packets/00018966 [15:20:31]NVStorageDeleteData [15:20:31]OFD Sender: No OFD packet to send [15:20:31]*** Cut start [15:20:31]*** Partial cut [15:20:31]*** CUTSNS_PIN = 1 [15:20:32]*** CUTSNS_PIN = 0 [15:20:32]*** Brake cut motor [15:20:32]Read from MH i2c: 01 [15:20:32]MH_I2C_Read... [15:20:32]*** Stop cut motor [15:20:32]*** Cut end [15:20:32]Read from MH i2c: 01 07 00 [15:20:32]MH_I2C_Read... [15:20:32]Read from MH i2c: 01 07 00 27 0A 00 00 00 00 00 FF 0F 46 [15:20:32]process_action close_receipt done [15:20:32]requested_data is exist [15:20:32]produce_requested_data [15:20:32]requested_item fm.sn is exist - process it [15:20:32]wFMCommunicate request_size=4 [15:20:32]MH_SAM_APDU [15:20:32]CAPDU: 80 11 00 00 [15:20:32]Write to MH i2c: E2 08 00 28 0A 80 11 00 00 00 00 00 00 AC [15:20:32]Write i2c OK [15:20:32]MH_I2C_Read... [15:20:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:20:32]Read from MH i2c: E2 [15:20:32]MH_I2C_Read... [15:20:32]Read from MH i2c: E2 17 00 [15:20:32]MH_I2C_Read... [15:20:32]Read from MH i2c: E2 17 00 28 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 05 [15:20:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [15:20:32]wFMCommunicate OK [15:20:32]requested_item fd.num is exist - process it [15:20:32]SAM_PROTO_GetFieldsCounters [15:20:32]wFMCommunicate request_size=4 [15:20:32]MH_SAM_APDU [15:20:32]CAPDU: 80 13 00 00 [15:20:32]Write to MH i2c: E2 08 00 29 0A 80 13 00 00 00 00 00 00 AF [15:20:32]Write i2c OK [15:20:32]MH_I2C_Read... [15:20:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:20:32]Read from MH i2c: E2 [15:20:32]MH_I2C_Read... [15:20:32]Read from MH i2c: E2 62 00 [15:20:32]MH_I2C_Read... [15:20:32]Read from MH i2c: E2 62 00 29 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 16 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 77 [15:20:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 16 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:20:32]wFMCommunicate OK [15:20:32]SAM_PROTO_GetFieldsCounters done [15:20:32]requested_item shift.num is exist - process it [15:20:32]requested_item shift.opened is exist - process it [15:20:32]req_shift_opened [15:20:32]FM_GetShiftState [15:20:32]SAM_PROTO_GetShiftState [15:20:32]wFMCommunicate request_size=4 [15:20:32]MH_SAM_APDU [15:20:32]CAPDU: 80 13 01 00 [15:20:32]Write to MH i2c: E2 08 00 2A 0A 80 13 01 00 00 00 00 00 B1 [15:20:32]Write i2c OK [15:20:32]MH_I2C_Read... [15:20:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:20:32]Read from MH i2c: E2 [15:20:32]MH_I2C_Read... [15:20:32]Read from MH i2c: E2 0E 00 [15:20:32]MH_I2C_Read... [15:20:32]Read from MH i2c: E2 0E 00 2A 0A 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 9E [15:20:32]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [15:20:32]wFMCommunicate OK [15:20:32]SAM_PROTO_GetShiftState done [15:20:32]FM_GetShiftState done [15:20:32]req_shift_opened done [15:20:32]requested_item shift.open_date is exist - process it [15:20:32]req_shift_open_date [15:20:32]req_shift_open_date done [15:20:32]produce_requested_data done [15:20:32]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18966,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [15:20:32]process_action_free close_receipt [15:20:32]json_value_free [15:20:32]json_value_free done [15:20:32]process_json_proto returns [15:20:32]Send response to host [15:20:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18966,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [15:20:32]free response buf [15:20:32]execute_script done [15:20:32]execute_script returns [15:20:32]free content buf [15:20:32]Sock 8.Close socket [15:20:32]Sock 8.Thread stoped [15:20:36]OFD Sender: No OFD packet to send [15:20:41]OFD Sender: No OFD packet to send [15:20:46]OFD Sender: No OFD packet to send [15:20:51]OFD Sender: No OFD packet to send [15:20:56]OFD Sender: No OFD packet to send [15:21:01]OFD Sender: No OFD packet to send [15:21:06]OFD Sender: No OFD packet to send [15:21:11]OFD Sender: No OFD packet to send [15:21:16]OFD Sender: No OFD packet to send [15:21:21]OFD Sender: No OFD packet to send [15:21:26]OFD Sender: No OFD packet to send [15:21:31]OFD Sender: No OFD packet to send [15:21:36]OFD Sender: No OFD packet to send [15:21:41]OFD Sender: No OFD packet to send [15:21:46]OFD Sender: No OFD packet to send [15:21:51]OFD Sender: No OFD packet to send [15:21:56]OFD Sender: No OFD packet to send [15:22:01]OFD Sender: No OFD packet to send [15:22:06]OFD Sender: No OFD packet to send [15:22:11]OFD Sender: No OFD packet to send [15:22:16]OFD Sender: No OFD packet to send [15:22:21]OFD Sender: No OFD packet to send [15:22:26]OFD Sender: No OFD packet to send [15:22:31]OFD Sender: No OFD packet to send [15:22:36]OFD Sender: No OFD packet to send [15:22:41]OFD Sender: No OFD packet to send [15:22:46]OFD Sender: No OFD packet to send [15:22:51]OFD Sender: No OFD packet to send [15:22:56]OFD Sender: No OFD packet to send [15:23:01]OFD Sender: No OFD packet to send [15:23:06]OFD Sender: No OFD packet to send [15:23:12]OFD Sender: No OFD packet to send [15:23:17]OFD Sender: No OFD packet to send [15:23:22]OFD Sender: No OFD packet to send [15:23:27]OFD Sender: No OFD packet to send [15:23:32]OFD Sender: No OFD packet to send [15:23:37]OFD Sender: No OFD packet to send [15:23:42]OFD Sender: No OFD packet to send [15:23:47]OFD Sender: No OFD packet to send [15:23:52]OFD Sender: No OFD packet to send [15:23:57]OFD Sender: No OFD packet to send [15:24:02]OFD Sender: No OFD packet to send [15:24:07]OFD Sender: No OFD packet to send [15:24:12]OFD Sender: No OFD packet to send [15:24:17]OFD Sender: No OFD packet to send [15:24:22]OFD Sender: No OFD packet to send [15:24:27]OFD Sender: No OFD packet to send [15:24:32]OFD Sender: No OFD packet to send [15:24:37]OFD Sender: No OFD packet to send [15:24:42]OFD Sender: No OFD packet to send [15:24:47]OFD Sender: No OFD packet to send [15:24:52]OFD Sender: No OFD packet to send [15:24:57]OFD Sender: No OFD packet to send [15:25:02]OFD Sender: No OFD packet to send [15:25:07]OFD Sender: No OFD packet to send [15:25:12]OFD Sender: No OFD packet to send [15:25:17]OFD Sender: No OFD packet to send [15:25:22]OFD Sender: No OFD packet to send [15:25:27]OFD Sender: No OFD packet to send [15:25:32]OFD Sender: No OFD packet to send [15:25:37]OFD Sender: No OFD packet to send [15:25:42]OFD Sender: No OFD packet to send [15:25:47]OFD Sender: No OFD packet to send [15:25:52]OFD Sender: No OFD packet to send [15:25:57]OFD Sender: No OFD packet to send [15:26:02]OFD Sender: No OFD packet to send [15:26:07]OFD Sender: No OFD packet to send [15:26:12]OFD Sender: No OFD packet to send [15:26:17]OFD Sender: No OFD packet to send [15:26:22]OFD Sender: No OFD packet to send [15:26:27]OFD Sender: No OFD packet to send [15:26:32]OFD Sender: No OFD packet to send [15:26:37]OFD Sender: No OFD packet to send [15:26:42]OFD Sender: No OFD packet to send [15:26:47]OFD Sender: No OFD packet to send [15:26:52]OFD Sender: No OFD packet to send [15:26:57]OFD Sender: No OFD packet to send [15:27:02]OFD Sender: No OFD packet to send [15:27:07]OFD Sender: No OFD packet to send [15:27:12]OFD Sender: No OFD packet to send [15:27:17]OFD Sender: No OFD packet to send [15:27:22]OFD Sender: No OFD packet to send [15:27:27]OFD Sender: No OFD packet to send [15:27:32]OFD Sender: No OFD packet to send [15:27:37]OFD Sender: No OFD packet to send [15:27:42]OFD Sender: No OFD packet to send [15:27:47]OFD Sender: No OFD packet to send [15:27:52]OFD Sender: No OFD packet to send [15:27:57]OFD Sender: No OFD packet to send [15:28:02]OFD Sender: No OFD packet to send [15:28:07]OFD Sender: No OFD packet to send [15:28:12]OFD Sender: No OFD packet to send [15:28:17]OFD Sender: No OFD packet to send [15:28:22]OFD Sender: No OFD packet to send [15:28:27]OFD Sender: No OFD packet to send [15:28:32]OFD Sender: No OFD packet to send [15:28:37]OFD Sender: No OFD packet to send [15:28:42]OFD Sender: No OFD packet to send [15:28:47]OFD Sender: No OFD packet to send [15:28:52]OFD Sender: No OFD packet to send [15:28:57]OFD Sender: No OFD packet to send [15:29:02]OFD Sender: No OFD packet to send [15:29:07]OFD Sender: No OFD packet to send [15:29:12]OFD Sender: No OFD packet to send [15:29:17]OFD Sender: No OFD packet to send [15:29:22]OFD Sender: No OFD packet to send [15:29:27]OFD Sender: No OFD packet to send [15:29:32]OFD Sender: No OFD packet to send [15:29:37]OFD Sender: No OFD packet to send [15:29:42]OFD Sender: No OFD packet to send [15:29:47]OFD Sender: No OFD packet to send [15:29:52]OFD Sender: No OFD packet to send [15:29:57]OFD Sender: No OFD packet to send [15:30:02]OFD Sender: No OFD packet to send [15:30:07]OFD Sender: No OFD packet to send [15:30:12]OFD Sender: No OFD packet to send [15:30:17]OFD Sender: No OFD packet to send [15:30:22]OFD Sender: No OFD packet to send [15:30:27]OFD Sender: No OFD packet to send [15:30:32]OFD Sender: No OFD packet to send [15:30:37]OFD Sender: No OFD packet to send [15:30:42]OFD Sender: No OFD packet to send [15:30:47]OFD Sender: No OFD packet to send [15:30:52]OFD Sender: No OFD packet to send [15:30:57]OFD Sender: No OFD packet to send [15:31:02]OFD Sender: No OFD packet to send [15:31:07]OFD Sender: No OFD packet to send [15:31:12]OFD Sender: No OFD packet to send [15:31:17]OFD Sender: No OFD packet to send [15:31:22]OFD Sender: No OFD packet to send [15:31:27]OFD Sender: No OFD packet to send [15:31:32]OFD Sender: No OFD packet to send [15:31:37]OFD Sender: No OFD packet to send [15:31:42]OFD Sender: No OFD packet to send [15:31:47]OFD Sender: No OFD packet to send [15:31:52]OFD Sender: No OFD packet to send [15:31:57]OFD Sender: No OFD packet to send [15:32:02]OFD Sender: No OFD packet to send [15:32:07]OFD Sender: No OFD packet to send [15:32:12]OFD Sender: No OFD packet to send [15:32:17]OFD Sender: No OFD packet to send [15:32:22]OFD Sender: No OFD packet to send [15:32:27]OFD Sender: No OFD packet to send [15:32:32]OFD Sender: No OFD packet to send [15:32:37]OFD Sender: No OFD packet to send [15:32:42]OFD Sender: No OFD packet to send [15:32:47]OFD Sender: No OFD packet to send [15:32:52]OFD Sender: No OFD packet to send [15:32:57]OFD Sender: No OFD packet to send [15:33:02]OFD Sender: No OFD packet to send [15:33:07]OFD Sender: No OFD packet to send [15:33:12]OFD Sender: No OFD packet to send [15:33:17]OFD Sender: No OFD packet to send [15:33:22]OFD Sender: No OFD packet to send [15:33:27]OFD Sender: No OFD packet to send [15:33:32]OFD Sender: No OFD packet to send [15:33:37]OFD Sender: No OFD packet to send [15:33:42]OFD Sender: No OFD packet to send [15:33:47]OFD Sender: No OFD packet to send [15:33:52]OFD Sender: No OFD packet to send [15:33:57]OFD Sender: No OFD packet to send [15:34:02]OFD Sender: No OFD packet to send [15:34:07]OFD Sender: No OFD packet to send [15:34:12]OFD Sender: No OFD packet to send [15:34:17]OFD Sender: No OFD packet to send [15:34:22]OFD Sender: No OFD packet to send [15:34:27]OFD Sender: No OFD packet to send [15:34:32]OFD Sender: No OFD packet to send [15:34:37]OFD Sender: No OFD packet to send [15:34:42]OFD Sender: No OFD packet to send [15:34:47]OFD Sender: No OFD packet to send [15:34:52]OFD Sender: No OFD packet to send [15:34:57]OFD Sender: No OFD packet to send [15:35:02]OFD Sender: No OFD packet to send [15:35:07]OFD Sender: No OFD packet to send [15:35:12]OFD Sender: No OFD packet to send [15:35:17]OFD Sender: No OFD packet to send [15:35:22]OFD Sender: No OFD packet to send [15:35:27]OFD Sender: No OFD packet to send [15:35:32]OFD Sender: No OFD packet to send [15:35:37]OFD Sender: No OFD packet to send [15:35:42]OFD Sender: No OFD packet to send [15:35:47]OFD Sender: No OFD packet to send [15:35:52]OFD Sender: No OFD packet to send [15:35:57]OFD Sender: No OFD packet to send [15:36:02]OFD Sender: No OFD packet to send [15:36:07]OFD Sender: No OFD packet to send [15:36:12]OFD Sender: No OFD packet to send [15:36:17]OFD Sender: No OFD packet to send [15:36:22]OFD Sender: No OFD packet to send [15:36:27]OFD Sender: No OFD packet to send [15:36:32]OFD Sender: No OFD packet to send [15:36:37]OFD Sender: No OFD packet to send [15:36:42]OFD Sender: No OFD packet to send [15:36:47]OFD Sender: No OFD packet to send [15:36:52]OFD Sender: No OFD packet to send [15:36:57]OFD Sender: No OFD packet to send [15:37:02]OFD Sender: No OFD packet to send [15:37:07]OFD Sender: No OFD packet to send [15:37:12]OFD Sender: No OFD packet to send [15:37:17]OFD Sender: No OFD packet to send [15:37:22]OFD Sender: No OFD packet to send [15:37:27]OFD Sender: No OFD packet to send [15:37:32]OFD Sender: No OFD packet to send [15:37:37]OFD Sender: No OFD packet to send [15:37:42]OFD Sender: No OFD packet to send [15:37:47]OFD Sender: No OFD packet to send [15:37:52]OFD Sender: No OFD packet to send [15:37:57]OFD Sender: No OFD packet to send [15:38:02]OFD Sender: No OFD packet to send [15:38:07]OFD Sender: No OFD packet to send [15:38:12]OFD Sender: No OFD packet to send [15:38:17]OFD Sender: No OFD packet to send [15:38:22]OFD Sender: No OFD packet to send [15:38:27]OFD Sender: No OFD packet to send [15:38:32]OFD Sender: No OFD packet to send [15:38:37]OFD Sender: No OFD packet to send [15:38:42]OFD Sender: No OFD packet to send [15:38:47]OFD Sender: No OFD packet to send [15:38:52]OFD Sender: No OFD packet to send [15:38:57]OFD Sender: No OFD packet to send [15:39:02]OFD Sender: No OFD packet to send [15:39:07]OFD Sender: No OFD packet to send [15:39:12]OFD Sender: No OFD packet to send [15:39:17]OFD Sender: No OFD packet to send [15:39:22]OFD Sender: No OFD packet to send [15:39:27]OFD Sender: No OFD packet to send [15:39:32]OFD Sender: No OFD packet to send [15:39:37]OFD Sender: No OFD packet to send [15:39:42]OFD Sender: No OFD packet to send [15:39:47]OFD Sender: No OFD packet to send [15:39:52]OFD Sender: No OFD packet to send [15:39:57]OFD Sender: No OFD packet to send [15:40:02]OFD Sender: No OFD packet to send [15:40:07]OFD Sender: No OFD packet to send [15:40:12]OFD Sender: No OFD packet to send [15:40:17]OFD Sender: No OFD packet to send [15:40:22]OFD Sender: No OFD packet to send [15:40:27]OFD Sender: No OFD packet to send [15:40:32]OFD Sender: No OFD packet to send [15:40:37]OFD Sender: No OFD packet to send [15:40:42]OFD Sender: No OFD packet to send [15:40:47]OFD Sender: No OFD packet to send [15:40:52]OFD Sender: No OFD packet to send [15:40:57]OFD Sender: No OFD packet to send [15:41:02]OFD Sender: No OFD packet to send [15:41:07]OFD Sender: No OFD packet to send [15:41:12]OFD Sender: No OFD packet to send [15:41:17]OFD Sender: No OFD packet to send [15:41:22]OFD Sender: No OFD packet to send [15:41:27]OFD Sender: No OFD packet to send [15:41:32]OFD Sender: No OFD packet to send [15:41:37]OFD Sender: No OFD packet to send [15:41:42]OFD Sender: No OFD packet to send [15:41:47]OFD Sender: No OFD packet to send [15:41:52]OFD Sender: No OFD packet to send [15:41:57]OFD Sender: No OFD packet to send [15:42:02]OFD Sender: No OFD packet to send [15:42:07]OFD Sender: No OFD packet to send [15:42:12]OFD Sender: No OFD packet to send [15:42:17]OFD Sender: No OFD packet to send [15:42:22]OFD Sender: No OFD packet to send [15:42:27]OFD Sender: No OFD packet to send [15:42:32]OFD Sender: No OFD packet to send [15:42:37]OFD Sender: No OFD packet to send [15:42:42]OFD Sender: No OFD packet to send [15:42:47]OFD Sender: No OFD packet to send [15:42:52]OFD Sender: No OFD packet to send [15:42:57]OFD Sender: No OFD packet to send [15:43:02]OFD Sender: No OFD packet to send [15:43:07]OFD Sender: No OFD packet to send [15:43:12]OFD Sender: No OFD packet to send [15:43:17]OFD Sender: No OFD packet to send [15:43:22]OFD Sender: No OFD packet to send [15:43:27]OFD Sender: No OFD packet to send [15:43:32]OFD Sender: No OFD packet to send [15:43:37]OFD Sender: No OFD packet to send [15:43:42]OFD Sender: No OFD packet to send [15:43:47]OFD Sender: No OFD packet to send [15:43:52]OFD Sender: No OFD packet to send [15:43:57]OFD Sender: No OFD packet to send [15:44:02]OFD Sender: No OFD packet to send [15:44:07]OFD Sender: No OFD packet to send [15:44:12]OFD Sender: No OFD packet to send [15:44:17]OFD Sender: No OFD packet to send [15:44:22]OFD Sender: No OFD packet to send [15:44:27]OFD Sender: No OFD packet to send [15:44:32]OFD Sender: No OFD packet to send [15:44:38]OFD Sender: No OFD packet to send [15:44:43]OFD Sender: No OFD packet to send [15:44:48]OFD Sender: No OFD packet to send [15:44:53]OFD Sender: No OFD packet to send [15:44:58]OFD Sender: No OFD packet to send [15:45:03]OFD Sender: No OFD packet to send [15:45:08]OFD Sender: No OFD packet to send [15:45:13]OFD Sender: No OFD packet to send [15:45:18]OFD Sender: No OFD packet to send [15:45:23]OFD Sender: No OFD packet to send [15:45:28]OFD Sender: No OFD packet to send [15:45:33]OFD Sender: No OFD packet to send [15:45:38]OFD Sender: No OFD packet to send [15:45:43]OFD Sender: No OFD packet to send [15:45:48]OFD Sender: No OFD packet to send [15:45:53]OFD Sender: No OFD packet to send [15:45:58]OFD Sender: No OFD packet to send [15:46:03]OFD Sender: No OFD packet to send [15:46:08]OFD Sender: No OFD packet to send [15:46:13]OFD Sender: No OFD packet to send [15:46:18]OFD Sender: No OFD packet to send [15:46:23]OFD Sender: No OFD packet to send [15:46:28]OFD Sender: No OFD packet to send [15:46:33]OFD Sender: No OFD packet to send [15:46:36]accept exits with 9 [15:46:36]New connection [15:46:36]New thread 3066764644 created [15:46:36]Thread 3066621284 joined [15:46:36]Waiting for new connection... [15:46:36] Sock 9.Parse request [15:46:36]Sock 9.Check first char [15:46:36]Sock 9.First char is OK [15:46:36]request: POST /json_proto HTTP/1.0 [15:46:36]Method: POST [15:46:36]URL: /json_proto [15:46:36]Method is POST - this is cgi request [15:46:36]url: /json_proto [15:46:36]query_string will be loaded in cgi processing [15:46:36]execute_cgi json_proto POST (null) [15:46:36]execute_cgi path=json_proto method=POST [15:46:36]POST find Content-Length [15:46:36]Host: 172.17.62.196:8080 [15:46:36]Content-Length: 925 [15:46:36]Content-Type: application/json [15:46:36] [15:46:36]POST finish read [15:46:36]Found Content-Length = 925 [15:46:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16887", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:46:36]execute_script... [15:46:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16887", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:46:36]POST & json_proto [15:46:36]process_json_proto [15:46:36]json parsed OK: [15:46:36]protocol is kg_v1.0 [15:46:36]action value=close_receipt [15:46:36]process_action close_receipt [15:46:36]cmd_close_receipt [15:46:36]MH_GetDate [15:46:36]Write to MH i2c: F0 00 00 2B 0A 24 [15:46:36]Write i2c OK [15:46:36]MH_I2C_Read... [15:46:36]Read from MH i2c: F0 [15:46:36]MH_I2C_Read... [15:46:36]Read from MH i2c: F0 09 00 [15:46:36]MH_I2C_Read... [15:46:36]Read from MH i2c: F0 09 00 2B 0A 00 5D 30 F4 66 CE CC 0E 66 22 [15:46:36]GetLastDocTimeStamp 1727277630 [15:46:36]current date 1727279197 [15:46:36]FM_GetShiftState [15:46:36]SAM_PROTO_GetShiftState [15:46:36]wFMCommunicate request_size=4 [15:46:36]MH_SAM_APDU [15:46:36]CAPDU: 80 13 01 00 [15:46:36]Write to MH i2c: E2 08 00 2C 0A 80 13 01 00 00 00 00 00 B3 [15:46:36]Write i2c OK [15:46:36]MH_I2C_Read... [15:46:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:46:36]Read from MH i2c: E2 [15:46:36]MH_I2C_Read... [15:46:36]Read from MH i2c: E2 0E 00 [15:46:36]MH_I2C_Read... [15:46:36]Read from MH i2c: E2 0E 00 2C 0A 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 A0 [15:46:36]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [15:46:36]wFMCommunicate OK [15:46:36]SAM_PROTO_GetShiftState done [15:46:36]FM_GetShiftState done [15:46:36]opened in 1727223091 [15:46:36]opened+sec_in_day 1727309491 [15:46:36]quantity*price = 9000 [15:46:36]sum+1 = 9001 [15:46:36]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607065001445 Шок батончик Snickers 50,5г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 149.00 НСП 1% : 1.32 НДС 12% : 15.82 Наличными: 149.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 45 25.09.2024 15:46 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18967 ФПД: 244490294982760 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T154637&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18967&fm=244490294982760&tin=02508201610067®Number=0000000000152968&sum=14900 0 [15:46:37]StoreToDocumentArchive [15:46:37]shift 183 fd 18967 [15:46:37]save to /storage/0183/doc_00018967 [15:46:37]save last doc name /storage/0183/doc_00018967 to /storage/kkm_last_doc_name [15:46:37]save OK [15:46:37]Clear old archive folders... [15:46:37]ProcessDocumentItem done err = 0, tmpTLVsize=404 [15:46:37]tlvbuf is 015DFAC0 [15:46:37]SAM_PROTO_ClearQueue [15:46:37]wFMCommunicate request_size=4 [15:46:37]MH_SAM_APDU [15:46:37]CAPDU: 80 09 00 00 [15:46:37]Write to MH i2c: E2 08 00 39 0A 80 09 00 00 00 00 00 00 B5 [15:46:37]Write i2c OK [15:46:37]MH_I2C_Read... [15:46:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:46:37]Read from MH i2c: E2 [15:46:37]MH_I2C_Read... [15:46:37]Read from MH i2c: E2 03 00 [15:46:37]MH_I2C_Read... [15:46:37]Read from MH i2c: E2 03 00 39 0A 00 90 00 B7 [15:46:37]RAPDU: 90 00 [15:46:37]wFMCommunicate OK [15:46:37]SAM_PROTO_ClearQueue done [15:46:37]KKMCreateOFDPacket [15:46:37]OFDProtocolAddRootSTLVToBuf [15:46:37]FM_MakeSignedData [15:46:37]FM_MakeSignedData [15:46:37]SAM_PROTO_SignData [15:46:37]wFMCommunicate request_size=4 [15:46:37]MH_SAM_APDU [15:46:37]CAPDU: 80 0D 01 02 [15:46:37]Write to MH i2c: E2 08 00 3A 0A 80 0D 01 02 00 00 00 00 BD [15:46:37]Write i2c OK [15:46:37]MH_I2C_Read... [15:46:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:46:37]Read from MH i2c: E2 [15:46:37]MH_I2C_Read... [15:46:37]Read from MH i2c: E2 03 00 [15:46:37]MH_I2C_Read... [15:46:37]Read from MH i2c: E2 03 00 3A 0A 00 90 00 B8 [15:46:37]RAPDU: 90 00 [15:46:37]wFMCommunicate OK [15:46:37]wFMCommunicate request_size=255 [15:46:37]MH_SAM_APDU [15:46:37]CAPDU: 80 0D 02 02 FA 03 00 94 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 [15:46:37]Write to MH i2c: E2 02 01 3B 0A 80 0D 02 02 FA 00 03 00 94 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 91 [15:46:37]Write i2c OK [15:46:37]MH_I2C_Read... [15:46:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:46:37]Read from MH i2c: E2 [15:46:37]MH_I2C_Read... [15:46:37]Read from MH i2c: E2 03 00 [15:46:37]MH_I2C_Read... [15:46:37]Read from MH i2c: E2 03 00 3B 0A 00 90 00 B9 [15:46:37]RAPDU: 90 00 [15:46:37]wFMCommunicate OK [15:46:37]wFMCommunicate request_size=163 [15:46:37]MH_SAM_APDU [15:46:37]CAPDU: 80 0D 02 02 9E 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 5D 30 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 17 4A 00 00 35 04 06 00 DE 5C D5 2E F8 68 [15:46:37]Write to MH i2c: E2 A6 00 3C 0A 80 0D 02 02 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 5D 30 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 17 4A 00 00 35 04 06 00 DE 5C D5 2E F8 68 00 00 34 [15:46:37]Write i2c OK [15:46:37]MH_I2C_Read... [15:46:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:46:37]Read from MH i2c: E2 [15:46:37]MH_I2C_Read... [15:46:37]Read from MH i2c: E2 03 00 [15:46:37]MH_I2C_Read... [15:46:37]Read from MH i2c: E2 03 00 3C 0A 00 90 00 BA [15:46:37]RAPDU: 90 00 [15:46:37]wFMCommunicate OK [15:46:37]wFMCommunicate request_size=4 [15:46:37]MH_SAM_APDU [15:46:37]CAPDU: 80 0D 03 02 [15:46:37]Write to MH i2c: E2 08 00 3D 0A 80 0D 03 02 00 00 00 00 C2 [15:46:37]Write i2c OK [15:46:37]MH_I2C_Read... [15:46:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:46:37]Read from MH i2c: E2 [15:46:37]MH_I2C_Read... [15:46:37]Read from MH i2c: E2 0B 00 [15:46:37]MH_I2C_Read... [15:46:37]Read from MH i2c: E2 0B 00 3D 0A 00 7C 36 81 68 6D 3F 6C 5E 90 00 D4 [15:46:37]RAPDU: 7C 36 81 68 6D 3F 6C 5E 90 00 [15:46:37]wFMCommunicate OK [15:46:37]SAM_PROTO_SignData done [15:46:37]FM_MakeSignedData done [15:46:37]CreateOFDProtocolMessage [15:46:37]wFMCommunicate request_size=4 [15:46:37]MH_SAM_APDU [15:46:37]CAPDU: 80 11 00 00 [15:46:37]Write to MH i2c: E2 08 00 3E 0A 80 11 00 00 00 00 00 00 C2 [15:46:37]Write i2c OK [15:46:37]MH_I2C_Read... [15:46:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:46:37]Read from MH i2c: E2 [15:46:37]MH_I2C_Read... [15:46:37]Read from MH i2c: E2 17 00 [15:46:37]MH_I2C_Read... [15:46:37]Read from MH i2c: E2 17 00 3E 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 1B [15:46:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [15:46:37]wFMCommunicate OK [15:46:37]CreateOFDProtocolMessage done [15:46:37]OFDSenderStorePacket 18967 [15:46:37]StoreOFDPacket docnum=18967 [15:46:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 A8 01 00 00 DC 62 A0 01 FF D8 5A 03 01 00 03 00 94 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 5D 30 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 17 4A 00 00 35 04 06 00 DE 5C D5 2E F8 68 7C 36 81 68 6D 3F 6C 5E [15:46:37]CheckFolder [15:46:37]dirname=/storage/ofd_packets [15:46:37]CheckFolder done [15:46:37]ProducePacketName [15:46:37]name=ofd_packets/00018967 [15:46:37]NVStorageSaveData ofd_packets/00018967 [15:46:37]File name is /storage/ofd_packets/00018967 [15:46:37]Write 454 bytes [15:46:37]NVStorageSaveData done [15:46:37]OFDSenderStorePacket done [15:46:37]KKMCreateOFDPacket done [15:46:37]NVStorageSaveData kkm_last_timestamp [15:46:37]File name is /storage/kkm_last_timestamp [15:46:37]Write 4 bytes [15:46:37]NVStorageSaveData done [15:46:37]ExternCall_PrintAddStr [15:46:37]wPrintStart [15:46:37]Write to MH i2c: 01 00 00 3F 0A 49 [15:46:37]Write i2c OK [15:46:37]MH_I2C_Read... [15:46:37]Read from MH i2c: 01 [15:46:37]MH_I2C_Read... [15:46:37]Read from MH i2c: 01 07 00 [15:46:37]MH_I2C_Read... [15:46:37]Read from MH i2c: 01 07 00 3F 0A 00 00 00 00 00 FF 0F 5E [15:46:37]RasterBufferAndPrint [15:46:37]line Счет N : (3)16887 [15:46:37]line ИНН: 02508201610067 [15:46:38]line Контрольно-Кассовый Чек [15:46:38]line ПРОДАЖА [15:46:38]line Товар: 4870022003305 [15:46:38]line Напиток Gorilla эн нат ж/б 0,5/0,45л [15:46:38]line 1.000 * 90.00 [15:46:38]line = 90.00 [15:46:38]line НДС 12% НСП 1% [15:46:38]line > о реализуемом товаре [15:46:38]line Товар: 4607065001445 [15:46:38]line Шок батончик Snickers 50,5г [15:46:38]line 1.000 * 59.00 [15:46:38]line = 59.00 [15:46:38]line НДС 12% НСП 1% [15:46:38]line > о реализуемом товаре [15:46:38]line ИТОГО: 149.00 [15:46:38]line НСП 1% : 1.32 [15:46:38]line НДС 12% : 15.82 [15:46:38]line Наличными: 149.00 [15:46:38]line Безнал.: 0.00 [15:46:38]line Место: АЗС № 176 "Партнер Нефть" [15:46:38]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [15:46:38]line СНО: Общий режим [15:46:38]line Чек 45 25.09.2024 15:46 [15:46:38]line Смена: 183 ФФД: 1.0 [15:46:38]line ЗНМ: 0300000010 [15:46:38]line РНМ: 0000000000152968 [15:46:38]line Версия ККМ: v1.0 [15:46:38]line ФМ: 0000000000959456 [15:46:38]line ФД: 18967 [15:46:38]line ФПД: 244490294982760 [15:46:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T154637&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18967&fm=244490294982760&tin=02508201610067®Number=0000000000152968&sum=14900 [15:46:38]line 0 [15:46:38]OFD Sender: Processing packet 18967 [packets to send 7, broken 6] [15:46:38]ProducePacketName [15:46:38]name=ofd_packets/00018967 [15:46:38]OFD Sender: To server: pG, [15:46:38]CommunicateWithHost lk.salyk.kg:30040 [15:46:38]ConnectInit lk.salyk.kg [15:46:38]written 0, free lines is 4095 [15:46:38]Connected sock=10 [15:46:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 A8 01 00 00 DC 62 A0 01 FF D8 5A 03 01 00 03 00 94 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 5D 30 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 17 4A 00 00 35 04 06 00 DE 5C D5 2E F8 68 7C 36 81 68 6D 3F 6C 5E [15:46:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 DC 5F 47 00 30 70 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 17 4A 00 00 F4 03 04 00 BA D9 F3 66 B6 04 01 00 00 A6 C3 60 D0 91 EB 5F CB [15:46:38]CommunicateWithHost err = 0 [15:46:38]CheckOFDResponse [15:46:38]1017 (14) - 77093643461234 [15:46:38]1041 (16) - 0000000000959456 [15:46:38]1040 (4) - 18967 [15:46:38]1012 (4) - 25.09.2024 09:36 [15:46:38]1206 (1) - 0 [15:46:38]OFD Sender: Remove packet 18967 [15:46:38]ProducePacketName [15:46:38]name=ofd_packets/00018967 [15:46:38]NVStorageDeleteData [15:46:38]Write to MH i2c: 01 00 00 6E 0A 78 [15:46:38]Write i2c OK [15:46:38]MH_I2C_Read... [15:46:38]Read from MH i2c: 01 [15:46:38]MH_I2C_Read... [15:46:38]Read from MH i2c: 01 07 00 [15:46:38]MH_I2C_Read... [15:46:38]Read from MH i2c: 01 07 00 6E 0A 00 00 00 00 00 CF 0C 5A [15:46:38]RasterBufferAndPrint [15:46:38]line [15:46:38]line [15:46:38]line [15:46:38]line [15:46:38]line [15:46:38]written 0, free lines is 3288 [15:46:38]MH_Cut [15:46:38]Write to MH i2c: D1 01 00 75 0A 01 51 [15:46:38]Write i2c OK [15:46:38]MH_I2C_Read... [15:46:38]Read from MH i2c: D1 [15:46:38]MH_I2C_Read... [15:46:38]Read from MH i2c: D1 01 00 [15:46:38]MH_I2C_Read... [15:46:38]Read from MH i2c: D1 01 00 75 0A 00 50 [15:46:38]Write to MH i2c: 01 00 00 76 0A 80 [15:46:38]Write i2c OK [15:46:38]MH_I2C_Read... [15:46:39]OFD Sender: No OFD packet to send [15:46:39]*** Cut start [15:46:39]*** Partial cut [15:46:39]*** CUTSNS_PIN = 1 [15:46:39]*** CUTSNS_PIN = 0 [15:46:39]*** Brake cut motor [15:46:39]Read from MH i2c: 01 [15:46:39]MH_I2C_Read... [15:46:39]*** Stop cut motor [15:46:39]*** Cut end [15:46:39]Read from MH i2c: 01 07 00 [15:46:39]MH_I2C_Read... [15:46:39]Read from MH i2c: 01 07 00 76 0A 00 00 00 00 00 FF 0F 95 [15:46:39]process_action close_receipt done [15:46:39]requested_data is exist [15:46:39]produce_requested_data [15:46:39]requested_item fm.sn is exist - process it [15:46:39]wFMCommunicate request_size=4 [15:46:39]MH_SAM_APDU [15:46:39]CAPDU: 80 11 00 00 [15:46:39]Write to MH i2c: E2 08 00 77 0A 80 11 00 00 00 00 00 00 FB [15:46:39]Write i2c OK [15:46:39]MH_I2C_Read... [15:46:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:46:40]Read from MH i2c: E2 [15:46:40]MH_I2C_Read... [15:46:40]Read from MH i2c: E2 17 00 [15:46:40]MH_I2C_Read... [15:46:40]Read from MH i2c: E2 17 00 77 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 54 [15:46:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [15:46:40]wFMCommunicate OK [15:46:40]requested_item fd.num is exist - process it [15:46:40]SAM_PROTO_GetFieldsCounters [15:46:40]wFMCommunicate request_size=4 [15:46:40]MH_SAM_APDU [15:46:40]CAPDU: 80 13 00 00 [15:46:40]Write to MH i2c: E2 08 00 78 0A 80 13 00 00 00 00 00 00 FE [15:46:40]Write i2c OK [15:46:40]MH_I2C_Read... [15:46:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:46:40]Read from MH i2c: E2 [15:46:40]MH_I2C_Read... [15:46:40]Read from MH i2c: E2 62 00 [15:46:40]MH_I2C_Read... [15:46:40]Read from MH i2c: E2 62 00 78 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 17 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 CA [15:46:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 17 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:46:40]wFMCommunicate OK [15:46:40]SAM_PROTO_GetFieldsCounters done [15:46:40]requested_item shift.num is exist - process it [15:46:40]requested_item shift.opened is exist - process it [15:46:40]req_shift_opened [15:46:40]FM_GetShiftState [15:46:40]SAM_PROTO_GetShiftState [15:46:40]wFMCommunicate request_size=4 [15:46:40]MH_SAM_APDU [15:46:40]CAPDU: 80 13 01 00 [15:46:40]Write to MH i2c: E2 08 00 79 0A 80 13 01 00 00 00 00 00 00 [15:46:40]Write i2c OK [15:46:40]MH_I2C_Read... [15:46:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:46:40]Read from MH i2c: E2 [15:46:40]MH_I2C_Read... [15:46:40]Read from MH i2c: E2 0E 00 [15:46:40]MH_I2C_Read... [15:46:40]Read from MH i2c: E2 0E 00 79 0A 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 ED [15:46:40]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [15:46:40]wFMCommunicate OK [15:46:40]SAM_PROTO_GetShiftState done [15:46:40]FM_GetShiftState done [15:46:40]req_shift_opened done [15:46:40]requested_item shift.open_date is exist - process it [15:46:40]req_shift_open_date [15:46:40]req_shift_open_date done [15:46:40]produce_requested_data done [15:46:40]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18967,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [15:46:40]process_action_free close_receipt [15:46:40]json_value_free [15:46:40]json_value_free done [15:46:40]process_json_proto returns [15:46:40]Send response to host [15:46:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18967,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [15:46:40]free response buf [15:46:40]execute_script done [15:46:40]execute_script returns [15:46:40]free content buf [15:46:40]Sock 9.Close socket [15:46:40]Sock 9.Thread stoped [15:46:44]OFD Sender: No OFD packet to send [15:46:49]OFD Sender: No OFD packet to send [15:46:54]OFD Sender: No OFD packet to send [15:46:59]OFD Sender: No OFD packet to send [15:47:04]OFD Sender: No OFD packet to send [15:47:09]OFD Sender: No OFD packet to send [15:47:14]OFD Sender: No OFD packet to send [15:47:19]OFD Sender: No OFD packet to send [15:47:24]OFD Sender: No OFD packet to send [15:47:29]OFD Sender: No OFD packet to send [15:47:34]OFD Sender: No OFD packet to send [15:47:39]OFD Sender: No OFD packet to send [15:47:44]OFD Sender: No OFD packet to send [15:47:49]OFD Sender: No OFD packet to send [15:47:54]OFD Sender: No OFD packet to send [15:47:59]OFD Sender: No OFD packet to send [15:48:04]OFD Sender: No OFD packet to send [15:48:09]OFD Sender: No OFD packet to send [15:48:14]OFD Sender: No OFD packet to send [15:48:19]OFD Sender: No OFD packet to send [15:48:24]OFD Sender: No OFD packet to send [15:48:29]OFD Sender: No OFD packet to send [15:48:34]OFD Sender: No OFD packet to send [15:48:39]OFD Sender: No OFD packet to send [15:48:44]OFD Sender: No OFD packet to send [15:48:49]OFD Sender: No OFD packet to send [15:48:54]OFD Sender: No OFD packet to send [15:48:59]OFD Sender: No OFD packet to send [15:49:04]OFD Sender: No OFD packet to send [15:49:09]OFD Sender: No OFD packet to send [15:49:14]OFD Sender: No OFD packet to send [15:49:19]OFD Sender: No OFD packet to send [15:49:24]OFD Sender: No OFD packet to send [15:49:29]OFD Sender: No OFD packet to send [15:49:34]OFD Sender: No OFD packet to send [15:49:39]OFD Sender: No OFD packet to send [15:49:44]OFD Sender: No OFD packet to send [15:49:49]OFD Sender: No OFD packet to send [15:49:54]OFD Sender: No OFD packet to send [15:49:59]OFD Sender: No OFD packet to send [15:50:04]OFD Sender: No OFD packet to send [15:50:09]OFD Sender: No OFD packet to send [15:50:14]OFD Sender: No OFD packet to send [15:50:19]OFD Sender: No OFD packet to send [15:50:24]OFD Sender: No OFD packet to send [15:50:29]OFD Sender: No OFD packet to send [15:50:34]OFD Sender: No OFD packet to send [15:50:39]OFD Sender: No OFD packet to send [15:50:44]OFD Sender: No OFD packet to send [15:50:49]OFD Sender: No OFD packet to send [15:50:54]OFD Sender: No OFD packet to send [15:50:59]OFD Sender: No OFD packet to send [15:51:04]OFD Sender: No OFD packet to send [15:51:09]OFD Sender: No OFD packet to send [15:51:14]OFD Sender: No OFD packet to send [15:51:19]OFD Sender: No OFD packet to send [15:51:24]OFD Sender: No OFD packet to send [15:51:29]OFD Sender: No OFD packet to send [15:51:34]OFD Sender: No OFD packet to send [15:51:39]OFD Sender: No OFD packet to send [15:51:44]OFD Sender: No OFD packet to send [15:51:49]OFD Sender: No OFD packet to send [15:51:54]OFD Sender: No OFD packet to send [15:51:59]OFD Sender: No OFD packet to send [15:52:04]OFD Sender: No OFD packet to send [15:52:09]OFD Sender: No OFD packet to send [15:52:14]OFD Sender: No OFD packet to send [15:52:19]OFD Sender: No OFD packet to send [15:52:24]OFD Sender: No OFD packet to send [15:52:29]OFD Sender: No OFD packet to send [15:52:30]accept exits with 8 [15:52:30]New connection [15:52:30]New thread 3066621284 created [15:52:30]Thread 3066764644 joined [15:52:30]Waiting for new connection... [15:52:30] Sock 8.Parse request [15:52:30]Sock 8.Check first char [15:52:30]Sock 8.First char is OK [15:52:30]request: POST /json_proto HTTP/1.0 [15:52:30]Method: POST [15:52:30]URL: /json_proto [15:52:30]Method is POST - this is cgi request [15:52:30]url: /json_proto [15:52:30]query_string will be loaded in cgi processing [15:52:30]execute_cgi json_proto POST (null) [15:52:30]execute_cgi path=json_proto method=POST [15:52:30]POST find Content-Length [15:52:30]Host: 172.17.62.196:8080 [15:52:30]Content-Length: 682 [15:52:30]Content-Type: application/json [15:52:30] [15:52:30]POST finish read [15:52:30]Found Content-Length = 682 [15:52:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117742", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 75.70, "quantity" : 6.610, "sum" : 500.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:52:30]execute_script... [15:52:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)117742", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 75.70, "quantity" : 6.610, "sum" : 500.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:52:30]POST & json_proto [15:52:30]process_json_proto [15:52:30]json parsed OK: [15:52:30]protocol is kg_v1.0 [15:52:30]action value=close_receipt [15:52:30]process_action close_receipt [15:52:30]cmd_close_receipt [15:52:30]MH_GetDate [15:52:30]Write to MH i2c: F0 00 00 7A 0A 73 [15:52:30]Write i2c OK [15:52:30]MH_I2C_Read... [15:52:30]Read from MH i2c: F0 [15:52:30]MH_I2C_Read... [15:52:30]Read from MH i2c: F0 09 00 [15:52:30]MH_I2C_Read... [15:52:30]Read from MH i2c: F0 09 00 7A 0A 00 C0 31 F4 66 CE CC 0E 66 D5 [15:52:30]GetLastDocTimeStamp 1727279197 [15:52:30]current date 1727279552 [15:52:30]FM_GetShiftState [15:52:30]SAM_PROTO_GetShiftState [15:52:30]wFMCommunicate request_size=4 [15:52:30]MH_SAM_APDU [15:52:30]CAPDU: 80 13 01 00 [15:52:30]Write to MH i2c: E2 08 00 7B 0A 80 13 01 00 00 00 00 00 02 [15:52:30]Write i2c OK [15:52:30]MH_I2C_Read... [15:52:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:52:30]Read from MH i2c: E2 [15:52:30]MH_I2C_Read... [15:52:30]Read from MH i2c: E2 0E 00 [15:52:30]MH_I2C_Read... [15:52:30]Read from MH i2c: E2 0E 00 7B 0A 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 EF [15:52:30]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [15:52:30]wFMCommunicate OK [15:52:30]SAM_PROTO_GetShiftState done [15:52:30]FM_GetShiftState done [15:52:30]opened in 1727223091 [15:52:30]opened+sec_in_day 1727309491 [15:52:30]quantity*price = 50037 [15:52:30]sum+1 = 50039 [15:52:30]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.38 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.14 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 46 25.09.2024 15:52 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18968 ФПД: 201697498231965 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T155232&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18968&fm=201697498231965&tin=02508201610067®Number=0000000000152968&sum=50000 [15:52:31]StoreToDocumentArchive [15:52:31]shift 183 fd 18968 [15:52:31]save to /storage/0183/doc_00018968 [15:52:31]save last doc name /storage/0183/doc_00018968 to /storage/kkm_last_doc_name [15:52:31]save OK [15:52:31]Clear old archive folders... [15:52:31]ProcessDocumentItem done err = 0, tmpTLVsize=252 [15:52:31]tlvbuf is 015E18C0 [15:52:31]SAM_PROTO_ClearQueue [15:52:31]wFMCommunicate request_size=4 [15:52:31]MH_SAM_APDU [15:52:31]CAPDU: 80 09 00 00 [15:52:31]Write to MH i2c: E2 08 00 88 0A 80 09 00 00 00 00 00 00 04 [15:52:31]Write i2c OK [15:52:31]MH_I2C_Read... [15:52:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:52:31]Read from MH i2c: E2 [15:52:31]MH_I2C_Read... [15:52:31]Read from MH i2c: E2 03 00 [15:52:31]MH_I2C_Read... [15:52:31]Read from MH i2c: E2 03 00 88 0A 00 90 00 06 [15:52:31]RAPDU: 90 00 [15:52:31]wFMCommunicate OK [15:52:31]SAM_PROTO_ClearQueue done [15:52:31]KKMCreateOFDPacket [15:52:31]OFDProtocolAddRootSTLVToBuf [15:52:31]FM_MakeSignedData [15:52:31]FM_MakeSignedData [15:52:31]SAM_PROTO_SignData [15:52:31]wFMCommunicate request_size=4 [15:52:31]MH_SAM_APDU [15:52:31]CAPDU: 80 0D 01 02 [15:52:31]Write to MH i2c: E2 08 00 89 0A 80 0D 01 02 00 00 00 00 0C [15:52:31]Write i2c OK [15:52:31]MH_I2C_Read... [15:52:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:52:31]Read from MH i2c: E2 [15:52:31]MH_I2C_Read... [15:52:31]Read from MH i2c: E2 03 00 [15:52:31]MH_I2C_Read... [15:52:31]Read from MH i2c: E2 03 00 89 0A 00 90 00 07 [15:52:31]RAPDU: 90 00 [15:52:31]wFMCommunicate OK [15:52:31]wFMCommunicate request_size=255 [15:52:31]MH_SAM_APDU [15:52:31]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D2 19 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 76 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 C0 31 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 18 4A 00 00 35 04 06 00 [15:52:31]Write to MH i2c: E2 02 01 8A 0A 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D2 19 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 76 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 C0 31 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 18 4A 00 00 35 04 06 00 00 00 7A [15:52:31]Write i2c OK [15:52:31]MH_I2C_Read... [15:52:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:52:31]Read from MH i2c: E2 [15:52:31]MH_I2C_Read... [15:52:31]Read from MH i2c: E2 03 00 [15:52:31]MH_I2C_Read... [15:52:31]Read from MH i2c: E2 03 00 8A 0A 00 90 00 08 [15:52:31]RAPDU: 90 00 [15:52:31]wFMCommunicate OK [15:52:31]wFMCommunicate request_size=11 [15:52:31]MH_SAM_APDU [15:52:31]CAPDU: 80 0D 02 02 06 B7 71 5B BB F4 9D [15:52:31]Write to MH i2c: E2 0E 00 8B 0A 80 0D 02 02 06 00 B7 71 5B BB F4 9D 00 00 EA [15:52:31]Write i2c OK [15:52:31]MH_I2C_Read... [15:52:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:52:31]Read from MH i2c: E2 [15:52:31]MH_I2C_Read... [15:52:31]Read from MH i2c: E2 03 00 [15:52:31]MH_I2C_Read... [15:52:31]Read from MH i2c: E2 03 00 8B 0A 00 90 00 09 [15:52:31]RAPDU: 90 00 [15:52:31]wFMCommunicate OK [15:52:31]wFMCommunicate request_size=4 [15:52:31]MH_SAM_APDU [15:52:31]CAPDU: 80 0D 03 02 [15:52:31]Write to MH i2c: E2 08 00 8C 0A 80 0D 03 02 00 00 00 00 11 [15:52:31]Write i2c OK [15:52:31]MH_I2C_Read... [15:52:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:52:31]Read from MH i2c: E2 [15:52:31]MH_I2C_Read... [15:52:31]Read from MH i2c: E2 0B 00 [15:52:31]MH_I2C_Read... [15:52:31]Read from MH i2c: E2 0B 00 8C 0A 00 88 F3 26 B8 2E 39 2D A7 90 00 A6 [15:52:31]RAPDU: 88 F3 26 B8 2E 39 2D A7 90 00 [15:52:31]wFMCommunicate OK [15:52:31]SAM_PROTO_SignData done [15:52:31]FM_MakeSignedData done [15:52:31]CreateOFDProtocolMessage [15:52:31]wFMCommunicate request_size=4 [15:52:31]MH_SAM_APDU [15:52:31]CAPDU: 80 11 00 00 [15:52:31]Write to MH i2c: E2 08 00 8D 0A 80 11 00 00 00 00 00 00 11 [15:52:31]Write i2c OK [15:52:31]MH_I2C_Read... [15:52:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:52:31]Read from MH i2c: E2 [15:52:31]MH_I2C_Read... [15:52:31]Read from MH i2c: E2 17 00 [15:52:31]MH_I2C_Read... [15:52:31]Read from MH i2c: E2 17 00 8D 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 6A [15:52:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [15:52:31]wFMCommunicate OK [15:52:31]CreateOFDProtocolMessage done [15:52:31]OFDSenderStorePacket 18968 [15:52:31]StoreOFDPacket docnum=18968 [15:52:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 01 00 00 C1 32 08 01 74 B8 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D2 19 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 76 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 C0 31 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 18 4A 00 00 35 04 06 00 B7 71 5B BB F4 9D 88 F3 26 B8 2E 39 2D A7 [15:52:31]CheckFolder [15:52:31]dirname=/storage/ofd_packets [15:52:31]CheckFolder done [15:52:31]ProducePacketName [15:52:31]name=ofd_packets/00018968 [15:52:31]NVStorageSaveData ofd_packets/00018968 [15:52:31]File name is /storage/ofd_packets/00018968 [15:52:31]Write 302 bytes [15:52:31]NVStorageSaveData done [15:52:31]OFDSenderStorePacket done [15:52:31]KKMCreateOFDPacket done [15:52:31]NVStorageSaveData kkm_last_timestamp [15:52:31]File name is /storage/kkm_last_timestamp [15:52:31]Write 4 bytes [15:52:31]NVStorageSaveData done [15:52:31]ExternCall_PrintAddStr [15:52:31]wPrintStart [15:52:31]Write to MH i2c: 01 00 00 8E 0A 98 [15:52:31]OFD Sender: Processing packet 18968 [packets to send 7, broken 6] [15:52:31]ProducePacketName [15:52:31]name=ofd_packets/00018968 [15:52:31]OFD Sender: To server: pG, [15:52:31]CommunicateWithHost lk.salyk.kg:30040 [15:52:31]ConnectInit lk.salyk.kg [15:52:31]Write i2c OK [15:52:31]MH_I2C_Read... [15:52:31]Read from MH i2c: 01 [15:52:31]MH_I2C_Read... [15:52:31]Read from MH i2c: 01 07 00 [15:52:31]MH_I2C_Read... [15:52:31]Read from MH i2c: 01 07 00 8E 0A 00 00 00 00 00 FF 0F AD [15:52:31]RasterBufferAndPrint [15:52:31]line Счет N : (1)117742 [15:52:31]line ИНН: 02508201610067 [15:52:31]line Контрольно-Кассовый Чек [15:52:31]line ПРОДАЖА [15:52:31]line ТРК (МРК, ГНК) : 11 [15:52:31]line Товар: 2710194210 [15:52:31]line ДТ(л)-К-5 [15:52:31]line 6.610 * 75.70 [15:52:31]line = 500.38 [15:52:31]line НДС 12% НСП 1% [15:52:31]line > о реализуемом товаре [15:52:31]line ОКРУГЛЕНИЕ: -0.38 [15:52:31]line ИТОГО: 500.00 [15:52:31]line Внесено: 500.00 [15:52:31]line СДАЧА: 0.00 [15:52:31]line НСП 1% : 4.43 [15:52:31]line НДС 12% : 53.14 [15:52:31]line Наличными: 500.00 [15:52:31]line Безнал.: 0.00 [15:52:31]line Место: АЗС № 176 "Партнер Нефть" [15:52:31]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [15:52:31]line СНО: Общий режим [15:52:31]line Чек 46 25.09.2024 15:52 [15:52:31]line Смена: 183 ФФД: 1.0 [15:52:31]line ЗНМ: 0300000010 [15:52:31]line РНМ: 0000000000152968 [15:52:31]line Версия ККМ: v1.0 [15:52:31]line ФМ: 0000000000959456 [15:52:31]line ФД: 18968 [15:52:31]line ФПД: 201697498231965 [15:52:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T155232&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18968&fm=201697498231965&tin=02508201610067®Number=0000000000152968&sum=50000 [15:52:32]Connected sock=10 [15:52:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 01 00 00 C1 32 08 01 74 B8 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 D2 19 00 00 00 00 00 37 04 06 00 92 1D 00 00 00 00 13 04 06 00 76 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 C0 31 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 18 4A 00 00 35 04 06 00 B7 71 5B BB F4 9D 88 F3 26 B8 2E 39 2D A7 [15:52:32]written 0, free lines is 4095 [15:52:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 73 99 47 00 FE 0A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 18 4A 00 00 F4 03 04 00 1C DB F3 66 B6 04 01 00 00 D5 56 B6 B4 44 F2 5E B4 [15:52:32]CommunicateWithHost err = 0 [15:52:32]CheckOFDResponse [15:52:32]1017 (14) - 77093643461234 [15:52:32]1041 (16) - 0000000000959456 [15:52:32]1040 (4) - 18968 [15:52:32]1012 (4) - 25.09.2024 09:42 [15:52:32]1206 (1) - 0 [15:52:32]OFD Sender: Remove packet 18968 [15:52:32]ProducePacketName [15:52:32]name=ofd_packets/00018968 [15:52:32]NVStorageDeleteData [15:52:32]Write to MH i2c: 01 00 00 B9 0A C3 [15:52:32]Write i2c OK [15:52:32]MH_I2C_Read... [15:52:32]Read from MH i2c: 01 [15:52:32]MH_I2C_Read... [15:52:32]Read from MH i2c: 01 07 00 [15:52:32]MH_I2C_Read... [15:52:32]Read from MH i2c: 01 07 00 B9 0A 00 00 00 00 00 E9 0C BF [15:52:32]RasterBufferAndPrint [15:52:32]line [15:52:32]line [15:52:32]line [15:52:32]line [15:52:32]line [15:52:32]written 0, free lines is 3311 [15:52:32]MH_Cut [15:52:32]Write to MH i2c: D1 01 00 C0 0A 01 9C [15:52:32]Write i2c OK [15:52:32]MH_I2C_Read... [15:52:32]Read from MH i2c: D1 [15:52:32]MH_I2C_Read... [15:52:32]Read from MH i2c: D1 01 00 [15:52:32]MH_I2C_Read... [15:52:32]Read from MH i2c: D1 01 00 C0 0A 00 9B [15:52:32]Write to MH i2c: 01 00 00 C1 0A CB [15:52:32]Write i2c OK [15:52:32]MH_I2C_Read... [15:52:32]OFD Sender: No OFD packet to send [15:52:33]*** Cut start [15:52:33]*** Partial cut [15:52:33]*** CUTSNS_PIN = 1 [15:52:33]*** CUTSNS_PIN = 0 [15:52:33]*** Brake cut motor [15:52:33]Read from MH i2c: 01 [15:52:33]MH_I2C_Read... [15:52:33]*** Stop cut motor [15:52:33]*** Cut end [15:52:33]Read from MH i2c: 01 07 00 [15:52:33]MH_I2C_Read... [15:52:33]Read from MH i2c: 01 07 00 C1 0A 00 00 00 00 00 FF 0F E0 [15:52:33]process_action close_receipt done [15:52:33]requested_data is exist [15:52:33]produce_requested_data [15:52:33]requested_item fm.sn is exist - process it [15:52:33]wFMCommunicate request_size=4 [15:52:33]MH_SAM_APDU [15:52:33]CAPDU: 80 11 00 00 [15:52:33]Write to MH i2c: E2 08 00 C2 0A 80 11 00 00 00 00 00 00 46 [15:52:33]Write i2c OK [15:52:33]MH_I2C_Read... [15:52:34]Read from MH i2c: E2 [15:52:34]MH_I2C_Read... [15:52:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:52:34]Read from MH i2c: E2 17 00 [15:52:34]MH_I2C_Read... [15:52:34]Read from MH i2c: E2 17 00 C2 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 9F [15:52:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [15:52:34]wFMCommunicate OK [15:52:34]requested_item fd.num is exist - process it [15:52:34]SAM_PROTO_GetFieldsCounters [15:52:34]wFMCommunicate request_size=4 [15:52:34]MH_SAM_APDU [15:52:34]CAPDU: 80 13 00 00 [15:52:34]Write to MH i2c: E2 08 00 C3 0A 80 13 00 00 00 00 00 00 49 [15:52:34]Write i2c OK [15:52:34]MH_I2C_Read... [15:52:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:52:34]Read from MH i2c: E2 [15:52:34]MH_I2C_Read... [15:52:34]Read from MH i2c: E2 62 00 [15:52:34]MH_I2C_Read... [15:52:34]Read from MH i2c: E2 62 00 C3 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 18 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 19 [15:52:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 18 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:52:34]wFMCommunicate OK [15:52:34]SAM_PROTO_GetFieldsCounters done [15:52:34]requested_item shift.num is exist - process it [15:52:34]requested_item shift.opened is exist - process it [15:52:34]req_shift_opened [15:52:34]FM_GetShiftState [15:52:34]SAM_PROTO_GetShiftState [15:52:34]wFMCommunicate request_size=4 [15:52:34]MH_SAM_APDU [15:52:34]CAPDU: 80 13 01 00 [15:52:34]Write to MH i2c: E2 08 00 C4 0A 80 13 01 00 00 00 00 00 4B [15:52:34]Write i2c OK [15:52:34]MH_I2C_Read... [15:52:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:52:34]Read from MH i2c: E2 [15:52:34]MH_I2C_Read... [15:52:34]Read from MH i2c: E2 0E 00 [15:52:34]MH_I2C_Read... [15:52:34]Read from MH i2c: E2 0E 00 C4 0A 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 38 [15:52:34]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [15:52:34]wFMCommunicate OK [15:52:34]SAM_PROTO_GetShiftState done [15:52:34]FM_GetShiftState done [15:52:34]req_shift_opened done [15:52:34]requested_item shift.open_date is exist - process it [15:52:34]req_shift_open_date [15:52:34]req_shift_open_date done [15:52:34]produce_requested_data done [15:52:34]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18968,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [15:52:34]process_action_free close_receipt [15:52:34]json_value_free [15:52:34]json_value_free done [15:52:34]process_json_proto returns [15:52:34]Send response to host [15:52:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18968,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [15:52:34]free response buf [15:52:34]execute_script done [15:52:34]execute_script returns [15:52:34]free content buf [15:52:34]Sock 8.Close socket [15:52:34]Sock 8.Thread stoped [15:52:37]OFD Sender: No OFD packet to send [15:52:43]OFD Sender: No OFD packet to send [15:52:48]OFD Sender: No OFD packet to send [15:52:53]OFD Sender: No OFD packet to send [15:52:58]OFD Sender: No OFD packet to send [15:53:03]OFD Sender: No OFD packet to send [15:53:08]OFD Sender: No OFD packet to send [15:53:13]OFD Sender: No OFD packet to send [15:53:23]OFD Sender: No OFD packet to send [15:53:28]OFD Sender: No OFD packet to send [15:53:33]OFD Sender: No OFD packet to send [15:53:38]OFD Sender: No OFD packet to send [15:53:43]OFD Sender: No OFD packet to send [15:53:48]OFD Sender: No OFD packet to send [15:53:53]OFD Sender: No OFD packet to send [15:53:58]OFD Sender: No OFD packet to send [15:54:03]OFD Sender: No OFD packet to send [15:54:08]OFD Sender: No OFD packet to send [15:54:13]OFD Sender: No OFD packet to send [15:54:18]OFD Sender: No OFD packet to send [15:54:23]OFD Sender: No OFD packet to send [15:54:28]OFD Sender: No OFD packet to send [15:54:33]OFD Sender: No OFD packet to send [15:54:38]OFD Sender: No OFD packet to send [15:54:43]OFD Sender: No OFD packet to send [15:54:48]OFD Sender: No OFD packet to send [15:54:53]OFD Sender: No OFD packet to send [15:54:58]OFD Sender: No OFD packet to send [15:55:03]OFD Sender: No OFD packet to send [15:55:08]OFD Sender: No OFD packet to send [15:55:13]OFD Sender: No OFD packet to send [15:55:18]OFD Sender: No OFD packet to send [15:55:23]OFD Sender: No OFD packet to send [15:55:28]OFD Sender: No OFD packet to send [15:55:30]ConnectInit Can't connect to host [15:55:33]OFD Sender: No OFD packet to send [15:55:38]OFD Sender: No OFD packet to send [15:55:43]OFD Sender: No OFD packet to send [15:55:48]OFD Sender: No OFD packet to send [15:55:53]OFD Sender: No OFD packet to send [15:55:58]OFD Sender: No OFD packet to send [15:56:03]OFD Sender: No OFD packet to send [15:56:08]OFD Sender: No OFD packet to send [15:56:13]OFD Sender: No OFD packet to send [15:56:18]OFD Sender: No OFD packet to send [15:56:23]OFD Sender: No OFD packet to send [15:56:28]OFD Sender: No OFD packet to send [15:56:33]OFD Sender: No OFD packet to send [15:56:38]OFD Sender: No OFD packet to send [15:56:43]OFD Sender: No OFD packet to send [15:56:48]OFD Sender: No OFD packet to send [15:56:53]OFD Sender: No OFD packet to send [15:56:58]OFD Sender: No OFD packet to send [15:57:03]OFD Sender: No OFD packet to send [15:57:08]OFD Sender: No OFD packet to send [15:57:13]OFD Sender: No OFD packet to send [15:57:18]OFD Sender: No OFD packet to send [15:57:23]OFD Sender: No OFD packet to send [15:57:28]OFD Sender: No OFD packet to send [15:57:33]OFD Sender: No OFD packet to send [15:57:38]OFD Sender: No OFD packet to send [15:57:43]OFD Sender: No OFD packet to send [15:57:48]OFD Sender: No OFD packet to send [15:57:53]OFD Sender: No OFD packet to send [15:57:58]OFD Sender: No OFD packet to send [15:58:03]OFD Sender: No OFD packet to send [15:58:08]OFD Sender: No OFD packet to send [15:58:13]OFD Sender: No OFD packet to send [15:58:18]OFD Sender: No OFD packet to send [15:58:23]OFD Sender: No OFD packet to send [15:58:28]OFD Sender: No OFD packet to send [15:58:33]OFD Sender: No OFD packet to send [15:58:38]OFD Sender: No OFD packet to send [15:58:43]OFD Sender: No OFD packet to send [15:58:48]OFD Sender: No OFD packet to send [15:58:53]OFD Sender: No OFD packet to send [15:58:58]OFD Sender: No OFD packet to send [15:59:03]OFD Sender: No OFD packet to send [15:59:08]OFD Sender: No OFD packet to send [15:59:13]OFD Sender: No OFD packet to send [15:59:18]OFD Sender: No OFD packet to send [15:59:23]OFD Sender: No OFD packet to send [15:59:28]OFD Sender: No OFD packet to send [15:59:33]OFD Sender: No OFD packet to send [15:59:38]OFD Sender: No OFD packet to send [15:59:43]OFD Sender: No OFD packet to send [15:59:48]OFD Sender: No OFD packet to send [15:59:53]OFD Sender: No OFD packet to send [15:59:58]OFD Sender: No OFD packet to send [16:00:03]OFD Sender: No OFD packet to send [16:00:08]OFD Sender: No OFD packet to send [16:00:13]OFD Sender: No OFD packet to send [16:00:18]OFD Sender: No OFD packet to send [16:00:23]OFD Sender: No OFD packet to send [16:00:28]OFD Sender: No OFD packet to send [16:00:33]OFD Sender: No OFD packet to send [16:00:38]OFD Sender: No OFD packet to send [16:00:43]OFD Sender: No OFD packet to send [16:00:48]OFD Sender: No OFD packet to send [16:00:53]OFD Sender: No OFD packet to send [16:00:58]OFD Sender: No OFD packet to send [16:01:03]OFD Sender: No OFD packet to send [16:01:08]OFD Sender: No OFD packet to send [16:01:13]OFD Sender: No OFD packet to send [16:01:18]OFD Sender: No OFD packet to send [16:01:23]OFD Sender: No OFD packet to send [16:01:28]OFD Sender: No OFD packet to send [16:01:33]OFD Sender: No OFD packet to send [16:01:38]OFD Sender: No OFD packet to send [16:01:43]OFD Sender: No OFD packet to send [16:01:48]OFD Sender: No OFD packet to send [16:01:53]OFD Sender: No OFD packet to send [16:01:58]OFD Sender: No OFD packet to send [16:02:03]OFD Sender: No OFD packet to send [16:02:08]OFD Sender: No OFD packet to send [16:02:13]OFD Sender: No OFD packet to send [16:02:18]OFD Sender: No OFD packet to send [16:02:23]OFD Sender: No OFD packet to send [16:02:28]OFD Sender: No OFD packet to send [16:02:33]OFD Sender: No OFD packet to send [16:02:38]OFD Sender: No OFD packet to send [16:02:43]OFD Sender: No OFD packet to send [16:02:48]OFD Sender: No OFD packet to send [16:02:53]OFD Sender: No OFD packet to send [16:02:58]OFD Sender: No OFD packet to send [16:03:03]OFD Sender: No OFD packet to send [16:03:08]OFD Sender: No OFD packet to send [16:03:13]OFD Sender: No OFD packet to send [16:03:18]OFD Sender: No OFD packet to send [16:03:23]OFD Sender: No OFD packet to send [16:03:28]OFD Sender: No OFD packet to send [16:03:33]OFD Sender: No OFD packet to send [16:03:38]OFD Sender: No OFD packet to send [16:03:43]OFD Sender: No OFD packet to send [16:03:48]OFD Sender: No OFD packet to send [16:03:53]OFD Sender: No OFD packet to send [16:03:58]OFD Sender: No OFD packet to send [16:04:03]OFD Sender: No OFD packet to send [16:04:08]OFD Sender: No OFD packet to send [16:04:13]OFD Sender: No OFD packet to send [16:04:18]OFD Sender: No OFD packet to send [16:04:23]OFD Sender: No OFD packet to send [16:04:28]OFD Sender: No OFD packet to send [16:04:33]OFD Sender: No OFD packet to send [16:04:38]OFD Sender: No OFD packet to send [16:04:43]OFD Sender: No OFD packet to send [16:04:48]OFD Sender: No OFD packet to send [16:04:53]OFD Sender: No OFD packet to send [16:04:58]OFD Sender: No OFD packet to send [16:05:03]OFD Sender: No OFD packet to send [16:05:08]OFD Sender: No OFD packet to send [16:05:13]OFD Sender: No OFD packet to send [16:05:18]OFD Sender: No OFD packet to send [16:05:23]OFD Sender: No OFD packet to send [16:05:28]OFD Sender: No OFD packet to send [16:05:33]OFD Sender: No OFD packet to send [16:05:38]OFD Sender: No OFD packet to send [16:05:43]OFD Sender: No OFD packet to send [16:05:48]OFD Sender: No OFD packet to send [16:05:53]OFD Sender: No OFD packet to send [16:05:58]OFD Sender: No OFD packet to send [16:06:03]OFD Sender: No OFD packet to send [16:06:08]OFD Sender: No OFD packet to send [16:06:13]OFD Sender: No OFD packet to send [16:06:18]OFD Sender: No OFD packet to send [16:06:23]OFD Sender: No OFD packet to send [16:06:28]OFD Sender: No OFD packet to send [16:06:33]OFD Sender: No OFD packet to send [16:06:38]OFD Sender: No OFD packet to send [16:06:43]OFD Sender: No OFD packet to send [16:06:48]OFD Sender: No OFD packet to send [16:06:53]OFD Sender: No OFD packet to send [16:06:58]OFD Sender: No OFD packet to send [16:07:03]OFD Sender: No OFD packet to send [16:07:08]OFD Sender: No OFD packet to send [16:07:13]OFD Sender: No OFD packet to send [16:07:18]OFD Sender: No OFD packet to send [16:07:23]OFD Sender: No OFD packet to send [16:07:28]OFD Sender: No OFD packet to send [16:07:33]OFD Sender: No OFD packet to send [16:07:38]OFD Sender: No OFD packet to send [16:07:43]OFD Sender: No OFD packet to send [16:07:48]OFD Sender: No OFD packet to send [16:07:53]OFD Sender: No OFD packet to send [16:07:58]OFD Sender: No OFD packet to send [16:08:03]OFD Sender: No OFD packet to send [16:08:08]OFD Sender: No OFD packet to send [16:08:13]OFD Sender: No OFD packet to send [16:08:18]OFD Sender: No OFD packet to send [16:08:23]OFD Sender: No OFD packet to send [16:08:28]OFD Sender: No OFD packet to send [16:08:33]OFD Sender: No OFD packet to send [16:08:38]OFD Sender: No OFD packet to send [16:08:43]OFD Sender: No OFD packet to send [16:08:48]OFD Sender: No OFD packet to send [16:08:53]OFD Sender: No OFD packet to send [16:08:58]OFD Sender: No OFD packet to send [16:09:03]OFD Sender: No OFD packet to send [16:09:08]OFD Sender: No OFD packet to send [16:09:13]OFD Sender: No OFD packet to send [16:09:18]OFD Sender: No OFD packet to send [16:09:23]OFD Sender: No OFD packet to send [16:09:28]OFD Sender: No OFD packet to send [16:09:33]OFD Sender: No OFD packet to send [16:09:38]OFD Sender: No OFD packet to send [16:09:43]OFD Sender: No OFD packet to send [16:09:48]OFD Sender: No OFD packet to send [16:09:53]OFD Sender: No OFD packet to send [16:09:58]OFD Sender: No OFD packet to send [16:10:03]OFD Sender: No OFD packet to send [16:10:08]OFD Sender: No OFD packet to send [16:10:13]OFD Sender: No OFD packet to send [16:10:18]OFD Sender: No OFD packet to send [16:10:23]OFD Sender: No OFD packet to send [16:10:28]OFD Sender: No OFD packet to send [16:10:33]OFD Sender: No OFD packet to send [16:10:38]OFD Sender: No OFD packet to send [16:10:43]OFD Sender: No OFD packet to send [16:10:48]OFD Sender: No OFD packet to send [16:10:53]OFD Sender: No OFD packet to send [16:10:58]OFD Sender: No OFD packet to send [16:11:03]OFD Sender: No OFD packet to send [16:11:08]OFD Sender: No OFD packet to send [16:11:13]OFD Sender: No OFD packet to send [16:11:18]OFD Sender: No OFD packet to send [16:11:23]OFD Sender: No OFD packet to send [16:11:28]OFD Sender: No OFD packet to send [16:11:33]OFD Sender: No OFD packet to send [16:11:38]OFD Sender: No OFD packet to send [16:11:43]OFD Sender: No OFD packet to send [16:11:48]OFD Sender: No OFD packet to send [16:11:53]OFD Sender: No OFD packet to send [16:11:58]OFD Sender: No OFD packet to send [16:12:03]OFD Sender: No OFD packet to send [16:12:08]OFD Sender: No OFD packet to send [16:12:13]OFD Sender: No OFD packet to send [16:12:18]OFD Sender: No OFD packet to send [16:12:23]OFD Sender: No OFD packet to send [16:12:28]OFD Sender: No OFD packet to send [16:12:33]OFD Sender: No OFD packet to send [16:12:38]OFD Sender: No OFD packet to send [16:12:43]OFD Sender: No OFD packet to send [16:12:48]OFD Sender: No OFD packet to send [16:12:53]OFD Sender: No OFD packet to send [16:12:58]OFD Sender: No OFD packet to send [16:13:03]OFD Sender: No OFD packet to send [16:13:08]OFD Sender: No OFD packet to send [16:13:13]OFD Sender: No OFD packet to send [16:13:18]OFD Sender: No OFD packet to send [16:13:23]OFD Sender: No OFD packet to send [16:13:28]OFD Sender: No OFD packet to send [16:13:33]OFD Sender: No OFD packet to send [16:13:38]OFD Sender: No OFD packet to send [16:13:43]OFD Sender: No OFD packet to send [16:13:48]OFD Sender: No OFD packet to send [16:13:53]OFD Sender: No OFD packet to send [16:13:58]OFD Sender: No OFD packet to send [16:14:04]OFD Sender: No OFD packet to send [16:14:09]OFD Sender: No OFD packet to send [16:14:14]OFD Sender: No OFD packet to send [16:14:19]OFD Sender: No OFD packet to send [16:14:24]OFD Sender: No OFD packet to send [16:14:29]OFD Sender: No OFD packet to send [16:14:34]OFD Sender: No OFD packet to send [16:14:39]OFD Sender: No OFD packet to send [16:14:44]OFD Sender: No OFD packet to send [16:14:49]OFD Sender: No OFD packet to send [16:14:54]OFD Sender: No OFD packet to send [16:14:59]OFD Sender: No OFD packet to send [16:15:04]OFD Sender: No OFD packet to send [16:15:09]OFD Sender: No OFD packet to send [16:15:14]OFD Sender: No OFD packet to send [16:15:19]OFD Sender: No OFD packet to send [16:15:24]OFD Sender: No OFD packet to send [16:15:29]OFD Sender: No OFD packet to send [16:15:34]OFD Sender: No OFD packet to send [16:15:39]OFD Sender: No OFD packet to send [16:15:44]OFD Sender: No OFD packet to send [16:15:49]OFD Sender: No OFD packet to send [16:15:54]OFD Sender: No OFD packet to send [16:15:59]OFD Sender: No OFD packet to send [16:16:04]OFD Sender: No OFD packet to send [16:16:09]OFD Sender: No OFD packet to send [16:16:14]OFD Sender: No OFD packet to send [16:16:19]OFD Sender: No OFD packet to send [16:16:24]OFD Sender: No OFD packet to send [16:16:29]OFD Sender: No OFD packet to send [16:16:34]OFD Sender: No OFD packet to send [16:16:39]OFD Sender: No OFD packet to send [16:16:44]OFD Sender: No OFD packet to send [16:16:49]OFD Sender: No OFD packet to send [16:16:54]OFD Sender: No OFD packet to send [16:16:59]OFD Sender: No OFD packet to send [16:17:04]OFD Sender: No OFD packet to send [16:17:09]OFD Sender: No OFD packet to send [16:17:14]OFD Sender: No OFD packet to send [16:17:19]OFD Sender: No OFD packet to send [16:17:24]OFD Sender: No OFD packet to send [16:17:29]OFD Sender: No OFD packet to send [16:17:34]OFD Sender: No OFD packet to send [16:17:39]OFD Sender: No OFD packet to send [16:17:44]OFD Sender: No OFD packet to send [16:17:49]OFD Sender: No OFD packet to send [16:17:54]OFD Sender: No OFD packet to send [16:17:59]OFD Sender: No OFD packet to send [16:18:04]OFD Sender: No OFD packet to send [16:18:09]OFD Sender: No OFD packet to send [16:18:14]OFD Sender: No OFD packet to send [16:18:19]OFD Sender: No OFD packet to send [16:18:24]OFD Sender: No OFD packet to send [16:18:29]OFD Sender: No OFD packet to send [16:18:34]OFD Sender: No OFD packet to send [16:18:39]OFD Sender: No OFD packet to send [16:18:44]OFD Sender: No OFD packet to send [16:18:49]OFD Sender: No OFD packet to send [16:18:54]OFD Sender: No OFD packet to send [16:18:59]OFD Sender: No OFD packet to send [16:19:04]OFD Sender: No OFD packet to send [16:19:09]OFD Sender: No OFD packet to send [16:19:14]OFD Sender: No OFD packet to send [16:19:19]OFD Sender: No OFD packet to send [16:19:24]OFD Sender: No OFD packet to send [16:19:29]OFD Sender: No OFD packet to send [16:19:34]OFD Sender: No OFD packet to send [16:19:39]OFD Sender: No OFD packet to send [16:19:44]OFD Sender: No OFD packet to send [16:19:49]OFD Sender: No OFD packet to send [16:19:54]OFD Sender: No OFD packet to send [16:19:59]OFD Sender: No OFD packet to send [16:20:04]OFD Sender: No OFD packet to send [16:20:09]OFD Sender: No OFD packet to send [16:20:14]OFD Sender: No OFD packet to send [16:20:19]OFD Sender: No OFD packet to send [16:20:24]OFD Sender: No OFD packet to send [16:20:29]OFD Sender: No OFD packet to send [16:20:34]OFD Sender: No OFD packet to send [16:20:39]OFD Sender: No OFD packet to send [16:20:44]OFD Sender: No OFD packet to send [16:20:49]OFD Sender: No OFD packet to send [16:20:54]OFD Sender: No OFD packet to send [16:20:59]OFD Sender: No OFD packet to send [16:21:04]OFD Sender: No OFD packet to send [16:21:09]OFD Sender: No OFD packet to send [16:21:14]OFD Sender: No OFD packet to send [16:21:19]OFD Sender: No OFD packet to send [16:21:24]OFD Sender: No OFD packet to send [16:21:29]OFD Sender: No OFD packet to send [16:21:34]OFD Sender: No OFD packet to send [16:21:39]OFD Sender: No OFD packet to send [16:21:44]OFD Sender: No OFD packet to send [16:21:49]OFD Sender: No OFD packet to send [16:21:54]OFD Sender: No OFD packet to send [16:21:59]OFD Sender: No OFD packet to send [16:22:04]OFD Sender: No OFD packet to send [16:22:09]OFD Sender: No OFD packet to send [16:22:14]OFD Sender: No OFD packet to send [16:22:19]OFD Sender: No OFD packet to send [16:22:24]OFD Sender: No OFD packet to send [16:22:29]OFD Sender: No OFD packet to send [16:22:34]OFD Sender: No OFD packet to send [16:22:39]OFD Sender: No OFD packet to send [16:22:44]OFD Sender: No OFD packet to send [16:22:49]OFD Sender: No OFD packet to send [16:22:54]OFD Sender: No OFD packet to send [16:22:59]OFD Sender: No OFD packet to send [16:23:04]OFD Sender: No OFD packet to send [16:23:09]OFD Sender: No OFD packet to send [16:23:14]OFD Sender: No OFD packet to send [16:23:19]OFD Sender: No OFD packet to send [16:23:24]OFD Sender: No OFD packet to send [16:23:29]OFD Sender: No OFD packet to send [16:23:34]OFD Sender: No OFD packet to send [16:23:39]OFD Sender: No OFD packet to send [16:23:44]OFD Sender: No OFD packet to send [16:23:49]OFD Sender: No OFD packet to send [16:23:54]OFD Sender: No OFD packet to send [16:23:59]OFD Sender: No OFD packet to send [16:24:04]OFD Sender: No OFD packet to send [16:24:04]accept exits with 9 [16:24:04]New connection [16:24:04]New thread 3066764644 created [16:24:04]Thread 3066621284 joined [16:24:04]Waiting for new connection... [16:24:04] Sock 9.Parse request [16:24:04]Sock 9.Check first char [16:24:04]Sock 9.First char is OK [16:24:04]request: POST /json_proto HTTP/1.0 [16:24:04]Method: POST [16:24:04]URL: /json_proto [16:24:04]Method is POST - this is cgi request [16:24:04]url: /json_proto [16:24:04]query_string will be loaded in cgi processing [16:24:04]execute_cgi json_proto POST (null) [16:24:04]execute_cgi path=json_proto method=POST [16:24:04]POST find Content-Length [16:24:04]Host: 172.17.62.196:8080 [16:24:04]Content-Length: 629 [16:24:04]Content-Type: application/json [16:24:04] [16:24:04]POST finish read [16:24:04]Found Content-Length = 629 [16:24:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16888", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:24:04]execute_script... [16:24:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16888", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:24:04]POST & json_proto [16:24:04]process_json_proto [16:24:04]json parsed OK: [16:24:04]protocol is kg_v1.0 [16:24:04]action value=close_receipt [16:24:04]process_action close_receipt [16:24:04]cmd_close_receipt [16:24:04]MH_GetDate [16:24:04]Write to MH i2c: F0 00 00 C5 0A BE [16:24:04]Write i2c OK [16:24:04]MH_I2C_Read... [16:24:04]Read from MH i2c: F0 [16:24:04]MH_I2C_Read... [16:24:04]Read from MH i2c: F0 09 00 [16:24:04]MH_I2C_Read... [16:24:04]Read from MH i2c: F0 09 00 C5 0A 00 26 39 F4 66 CE CC 0E 66 8E [16:24:04]GetLastDocTimeStamp 1727279552 [16:24:04]current date 1727281446 [16:24:04]FM_GetShiftState [16:24:04]SAM_PROTO_GetShiftState [16:24:04]wFMCommunicate request_size=4 [16:24:04]MH_SAM_APDU [16:24:04]CAPDU: 80 13 01 00 [16:24:04]Write to MH i2c: E2 08 00 C6 0A 80 13 01 00 00 00 00 00 4D [16:24:04]Write i2c OK [16:24:04]MH_I2C_Read... [16:24:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:24:04]Read from MH i2c: E2 [16:24:04]MH_I2C_Read... [16:24:04]Read from MH i2c: E2 0E 00 [16:24:04]MH_I2C_Read... [16:24:04]Read from MH i2c: E2 0E 00 C6 0A 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 3A [16:24:04]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [16:24:04]wFMCommunicate OK [16:24:04]SAM_PROTO_GetShiftState done [16:24:04]FM_GetShiftState done [16:24:04]opened in 1727223091 [16:24:04]opened+sec_in_day 1727309491 [16:24:04]quantity*price = 5000 [16:24:04]sum+1 = 5001 [16:24:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 47 25.09.2024 16:24 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18969 ФПД: 102195775857463 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T162406&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18969&fm=102195775857463&tin=02508201610067®Number=0000000000152968&sum=5000 0 [16:24:05]StoreToDocumentArchive [16:24:05]shift 183 fd 18969 [16:24:05]save to /storage/0183/doc_00018969 [16:24:05]save last doc name /storage/0183/doc_00018969 to /storage/kkm_last_doc_name [16:24:05]save OK [16:24:05]Clear old archive folders... [16:24:06]ProcessDocumentItem done err = 0, tmpTLVsize=269 [16:24:06]tlvbuf is 015DEC50 [16:24:06]SAM_PROTO_ClearQueue [16:24:06]wFMCommunicate request_size=4 [16:24:06]MH_SAM_APDU [16:24:06]CAPDU: 80 09 00 00 [16:24:06]Write to MH i2c: E2 08 00 D3 0A 80 09 00 00 00 00 00 00 4F [16:24:06]Write i2c OK [16:24:06]MH_I2C_Read... [16:24:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:24:06]Read from MH i2c: E2 [16:24:06]MH_I2C_Read... [16:24:06]Read from MH i2c: E2 03 00 [16:24:06]MH_I2C_Read... [16:24:06]Read from MH i2c: E2 03 00 D3 0A 00 90 00 51 [16:24:06]RAPDU: 90 00 [16:24:06]wFMCommunicate OK [16:24:06]SAM_PROTO_ClearQueue done [16:24:06]KKMCreateOFDPacket [16:24:06]OFDProtocolAddRootSTLVToBuf [16:24:06]FM_MakeSignedData [16:24:06]FM_MakeSignedData [16:24:06]SAM_PROTO_SignData [16:24:06]wFMCommunicate request_size=4 [16:24:06]MH_SAM_APDU [16:24:06]CAPDU: 80 0D 01 02 [16:24:06]Write to MH i2c: E2 08 00 D4 0A 80 0D 01 02 00 00 00 00 57 [16:24:06]Write i2c OK [16:24:06]MH_I2C_Read... [16:24:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:24:06]Read from MH i2c: E2 [16:24:06]MH_I2C_Read... [16:24:06]Read from MH i2c: E2 03 00 [16:24:06]MH_I2C_Read... [16:24:06]Read from MH i2c: E2 03 00 D4 0A 00 90 00 52 [16:24:06]RAPDU: 90 00 [16:24:06]wFMCommunicate OK [16:24:06]wFMCommunicate request_size=255 [16:24:06]MH_SAM_APDU [16:24:06]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 26 39 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [16:24:06]Write to MH i2c: E2 02 01 D5 0A 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 26 39 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 14 [16:24:06]Write i2c OK [16:24:06]MH_I2C_Read... [16:24:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:24:06]Read from MH i2c: E2 [16:24:06]MH_I2C_Read... [16:24:06]Read from MH i2c: E2 03 00 [16:24:06]MH_I2C_Read... [16:24:06]Read from MH i2c: E2 03 00 D5 0A 00 90 00 53 [16:24:06]RAPDU: 90 00 [16:24:06]wFMCommunicate OK [16:24:06]wFMCommunicate request_size=28 [16:24:06]MH_SAM_APDU [16:24:06]CAPDU: 80 0D 02 02 17 35 39 34 35 36 10 04 04 00 19 4A 00 00 35 04 06 00 5C F2 4E EA E3 37 [16:24:06]Write to MH i2c: E2 1F 00 D6 0A 80 0D 02 02 17 00 35 39 34 35 36 10 04 04 00 19 4A 00 00 35 04 06 00 5C F2 4E EA E3 37 00 00 EF [16:24:06]Write i2c OK [16:24:06]MH_I2C_Read... [16:24:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:24:06]Read from MH i2c: E2 [16:24:06]MH_I2C_Read... [16:24:06]Read from MH i2c: E2 03 00 [16:24:06]MH_I2C_Read... [16:24:06]Read from MH i2c: E2 03 00 D6 0A 00 90 00 54 [16:24:06]RAPDU: 90 00 [16:24:06]wFMCommunicate OK [16:24:06]wFMCommunicate request_size=4 [16:24:06]MH_SAM_APDU [16:24:06]CAPDU: 80 0D 03 02 [16:24:06]Write to MH i2c: E2 08 00 D7 0A 80 0D 03 02 00 00 00 00 5C [16:24:06]Write i2c OK [16:24:06]MH_I2C_Read... [16:24:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:24:06]Read from MH i2c: E2 [16:24:06]MH_I2C_Read... [16:24:06]Read from MH i2c: E2 0B 00 [16:24:06]MH_I2C_Read... [16:24:06]Read from MH i2c: E2 0B 00 D7 0A 00 C1 40 5E 0C 65 21 65 D6 90 00 89 [16:24:06]RAPDU: C1 40 5E 0C 65 21 65 D6 90 00 [16:24:06]wFMCommunicate OK [16:24:06]SAM_PROTO_SignData done [16:24:06]FM_MakeSignedData done [16:24:06]CreateOFDProtocolMessage [16:24:06]wFMCommunicate request_size=4 [16:24:06]MH_SAM_APDU [16:24:06]CAPDU: 80 11 00 00 [16:24:06]Write to MH i2c: E2 08 00 D8 0A 80 11 00 00 00 00 00 00 5C [16:24:06]Write i2c OK [16:24:06]MH_I2C_Read... [16:24:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:24:06]Read from MH i2c: E2 [16:24:06]MH_I2C_Read... [16:24:06]Read from MH i2c: E2 17 00 [16:24:06]MH_I2C_Read... [16:24:06]Read from MH i2c: E2 17 00 D8 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 B5 [16:24:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [16:24:06]wFMCommunicate OK [16:24:06]CreateOFDProtocolMessage done [16:24:06]OFDSenderStorePacket 18969 [16:24:06]StoreOFDPacket docnum=18969 [16:24:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 21 01 00 00 A3 0B 19 01 E9 48 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 26 39 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 19 4A 00 00 35 04 06 00 5C F2 4E EA E3 37 C1 40 5E 0C 65 21 65 D6 [16:24:06]CheckFolder [16:24:06]dirname=/storage/ofd_packets [16:24:06]CheckFolder done [16:24:06]ProducePacketName [16:24:06]name=ofd_packets/00018969 [16:24:06]NVStorageSaveData ofd_packets/00018969 [16:24:06]File name is /storage/ofd_packets/00018969 [16:24:06]Write 319 bytes [16:24:06]NVStorageSaveData done [16:24:06]OFDSenderStorePacket done [16:24:06]KKMCreateOFDPacket done [16:24:06]NVStorageSaveData kkm_last_timestamp [16:24:06]File name is /storage/kkm_last_timestamp [16:24:06]Write 4 bytes [16:24:06]NVStorageSaveData done [16:24:06]ExternCall_PrintAddStr [16:24:06]wPrintStart [16:24:06]Write to MH i2c: 01 00 00 D9 0A E3 [16:24:06]Write i2c OK [16:24:06]MH_I2C_Read... [16:24:06]Read from MH i2c: 01 [16:24:06]MH_I2C_Read... [16:24:06]Read from MH i2c: 01 07 00 [16:24:06]MH_I2C_Read... [16:24:06]Read from MH i2c: 01 07 00 D9 0A 00 00 00 00 00 FF 0F F8 [16:24:06]RasterBufferAndPrint [16:24:06]line Счет N : (3)16888 [16:24:06]line ИНН: 02508201610067 [16:24:06]line Контрольно-Кассовый Чек [16:24:06]line ПРОДАЖА [16:24:06]line Товар: 4700000160358 [16:24:06]line Вода Легенда 1л [16:24:06]line 1.000 * 50.00 [16:24:06]line = 50.00 [16:24:06]line НДС 12% НСП 1% [16:24:06]line > о реализуемом товаре [16:24:06]line ИТОГО: 50.00 [16:24:06]line НСП 1% : 0.44 [16:24:06]line НДС 12% : 5.31 [16:24:06]line Наличными: 50.00 [16:24:06]line Безнал.: 0.00 [16:24:06]line Место: АЗС № 176 "Партнер Нефть" [16:24:06]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [16:24:06]line СНО: Общий режим [16:24:06]line Чек 47 25.09.2024 16:24 [16:24:06]line Смена: 183 ФФД: 1.0 [16:24:06]line ЗНМ: 0300000010 [16:24:06]line РНМ: 0000000000152968 [16:24:06]line Версия ККМ: v1.0 [16:24:06]line ФМ: 0000000000959456 [16:24:06]line ФД: 18969 [16:24:06]line ФПД: 102195775857463 [16:24:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T162406&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18969&fm=102195775857463&tin=02508201610067®Number=0000000000152968&sum=5000 [16:24:06]line 0 [16:24:06]OFD Sender: Processing packet 18969 [packets to send 7, broken 6] [16:24:06]ProducePacketName [16:24:06]name=ofd_packets/00018969 [16:24:06]OFD Sender: To server: pG, [16:24:06]CommunicateWithHost lk.salyk.kg:30040 [16:24:06]ConnectInit lk.salyk.kg [16:24:06]written 0, free lines is 4095 [16:24:07]Connected sock=10 [16:24:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 21 01 00 00 A3 0B 19 01 E9 48 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 26 39 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 19 4A 00 00 35 04 06 00 5C F2 4E EA E3 37 C1 40 5E 0C 65 21 65 D6 [16:24:07]Write to MH i2c: 01 00 00 01 0B 0C [16:24:07]Write i2c OK [16:24:07]MH_I2C_Read... [16:24:07]Read from MH i2c: 01 [16:24:07]MH_I2C_Read... [16:24:07]Read from MH i2c: 01 07 00 [16:24:07]MH_I2C_Read... [16:24:07]Read from MH i2c: 01 07 00 01 0B 00 00 00 00 00 17 0D 37 [16:24:07]RasterBufferAndPrint [16:24:07]line [16:24:07]line [16:24:07]line [16:24:07]line [16:24:07]line [16:24:07]written 0, free lines is 3357 [16:24:07]MH_Cut [16:24:07]Write to MH i2c: D1 01 00 08 0B 01 E5 [16:24:07]Write i2c OK [16:24:07]MH_I2C_Read... [16:24:07]Read from MH i2c: D1 [16:24:07]MH_I2C_Read... [16:24:07]Read from MH i2c: D1 01 00 [16:24:07]MH_I2C_Read... [16:24:07]Read from MH i2c: D1 01 00 08 0B 00 E4 [16:24:07]Write to MH i2c: 01 00 00 09 0B 14 [16:24:07]Write i2c OK [16:24:07]MH_I2C_Read... [16:24:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 28 1A 47 00 16 70 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 19 4A 00 00 F4 03 04 00 83 E2 F3 66 B6 04 01 00 00 D9 62 8E B6 47 D8 2B 6B [16:24:07]CommunicateWithHost err = 0 [16:24:07]CheckOFDResponse [16:24:07]1017 (14) - 77093643461234 [16:24:07]1041 (16) - 0000000000959456 [16:24:07]1040 (4) - 18969 [16:24:07]1012 (4) - 25.09.2024 10:14 [16:24:07]1206 (1) - 0 [16:24:07]OFD Sender: Remove packet 18969 [16:24:07]ProducePacketName [16:24:07]name=ofd_packets/00018969 [16:24:07]NVStorageDeleteData [16:24:07]*** Cut start [16:24:07]*** Partial cut [16:24:07]*** CUTSNS_PIN = 1 [16:24:07]OFD Sender: No OFD packet to send [16:24:07]*** CUTSNS_PIN = 0 [16:24:08]*** Brake cut motor [16:24:08]Read from MH i2c: 01 [16:24:08]MH_I2C_Read... [16:24:08]*** Stop cut motor [16:24:08]*** Cut end [16:24:08]Read from MH i2c: 01 07 00 [16:24:08]MH_I2C_Read... [16:24:08]Read from MH i2c: 01 07 00 09 0B 00 00 00 00 00 FF 0F 29 [16:24:08]process_action close_receipt done [16:24:08]requested_data is exist [16:24:08]produce_requested_data [16:24:08]requested_item fm.sn is exist - process it [16:24:08]wFMCommunicate request_size=4 [16:24:08]MH_SAM_APDU [16:24:08]CAPDU: 80 11 00 00 [16:24:08]Write to MH i2c: E2 08 00 0A 0B 80 11 00 00 00 00 00 00 8F [16:24:08]Write i2c OK [16:24:08]MH_I2C_Read... [16:24:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:24:08]Read from MH i2c: E2 [16:24:08]MH_I2C_Read... [16:24:08]Read from MH i2c: E2 17 00 [16:24:08]MH_I2C_Read... [16:24:08]Read from MH i2c: E2 17 00 0A 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 E8 [16:24:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [16:24:08]wFMCommunicate OK [16:24:08]requested_item fd.num is exist - process it [16:24:08]SAM_PROTO_GetFieldsCounters [16:24:08]wFMCommunicate request_size=4 [16:24:08]MH_SAM_APDU [16:24:08]CAPDU: 80 13 00 00 [16:24:08]Write to MH i2c: E2 08 00 0B 0B 80 13 00 00 00 00 00 00 92 [16:24:08]Write i2c OK [16:24:08]MH_I2C_Read... [16:24:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:24:08]Read from MH i2c: E2 [16:24:08]MH_I2C_Read... [16:24:08]Read from MH i2c: E2 62 00 [16:24:08]MH_I2C_Read... [16:24:08]Read from MH i2c: E2 62 00 0B 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 19 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 66 [16:24:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 19 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:24:08]wFMCommunicate OK [16:24:08]SAM_PROTO_GetFieldsCounters done [16:24:08]requested_item shift.num is exist - process it [16:24:08]requested_item shift.opened is exist - process it [16:24:08]req_shift_opened [16:24:08]FM_GetShiftState [16:24:08]SAM_PROTO_GetShiftState [16:24:08]wFMCommunicate request_size=4 [16:24:08]MH_SAM_APDU [16:24:08]CAPDU: 80 13 01 00 [16:24:08]Write to MH i2c: E2 08 00 0C 0B 80 13 01 00 00 00 00 00 94 [16:24:08]Write i2c OK [16:24:08]MH_I2C_Read... [16:24:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:24:08]Read from MH i2c: E2 [16:24:08]MH_I2C_Read... [16:24:08]Read from MH i2c: E2 0E 00 [16:24:08]MH_I2C_Read... [16:24:08]Read from MH i2c: E2 0E 00 0C 0B 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 81 [16:24:08]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [16:24:08]wFMCommunicate OK [16:24:08]SAM_PROTO_GetShiftState done [16:24:08]FM_GetShiftState done [16:24:08]req_shift_opened done [16:24:08]requested_item shift.open_date is exist - process it [16:24:08]req_shift_open_date [16:24:08]req_shift_open_date done [16:24:08]produce_requested_data done [16:24:08]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18969,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [16:24:08]process_action_free close_receipt [16:24:08]json_value_free [16:24:08]json_value_free done [16:24:08]process_json_proto returns [16:24:08]Send response to host [16:24:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18969,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [16:24:08]free response buf [16:24:08]execute_script done [16:24:08]execute_script returns [16:24:08]free content buf [16:24:08]Sock 9.Close socket [16:24:08]Sock 9.Thread stoped [16:24:12]OFD Sender: No OFD packet to send [16:24:17]OFD Sender: No OFD packet to send [16:24:23]OFD Sender: No OFD packet to send [16:24:28]OFD Sender: No OFD packet to send [16:24:33]OFD Sender: No OFD packet to send [16:24:38]OFD Sender: No OFD packet to send [16:24:43]OFD Sender: No OFD packet to send [16:24:48]OFD Sender: No OFD packet to send [16:24:53]OFD Sender: No OFD packet to send [16:24:58]OFD Sender: No OFD packet to send [16:24:58]accept exits with 8 [16:24:58]New connection [16:24:58]New thread 3066621284 created [16:24:58]Thread 3066764644 joined [16:24:58]Waiting for new connection... [16:24:58] Sock 8.Parse request [16:24:58]Sock 8.Check first char [16:24:58]Sock 8.First char is OK [16:24:58]request: POST /json_proto HTTP/1.0 [16:24:58]Method: POST [16:24:58]URL: /json_proto [16:24:58]Method is POST - this is cgi request [16:24:58]url: /json_proto [16:24:58]query_string will be loaded in cgi processing [16:24:58]execute_cgi json_proto POST (null) [16:24:58]execute_cgi path=json_proto method=POST [16:24:58]POST find Content-Length [16:24:58]Host: 172.17.62.196:8080 [16:24:58]Content-Length: 645 [16:24:58]Content-Type: application/json [16:24:58] [16:24:58]POST finish read [16:24:58]Found Content-Length = 645 [16:24:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16889", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:24:58]execute_script... [16:24:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16889", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:24:58]POST & json_proto [16:24:58]process_json_proto [16:24:58]json parsed OK: [16:24:58]protocol is kg_v1.0 [16:24:58]action value=close_receipt [16:24:58]process_action close_receipt [16:24:58]cmd_close_receipt [16:24:58]MH_GetDate [16:24:58]Write to MH i2c: F0 00 00 0D 0B 07 [16:24:58]Write i2c OK [16:24:58]MH_I2C_Read... [16:24:58]Read from MH i2c: F0 [16:24:58]MH_I2C_Read... [16:24:58]Read from MH i2c: F0 09 00 [16:24:58]MH_I2C_Read... [16:24:58]Read from MH i2c: F0 09 00 0D 0B 00 5C 39 F4 66 CE CC 0E 66 0D [16:24:58]GetLastDocTimeStamp 1727281446 [16:24:58]current date 1727281500 [16:24:58]FM_GetShiftState [16:24:58]SAM_PROTO_GetShiftState [16:24:58]wFMCommunicate request_size=4 [16:24:58]MH_SAM_APDU [16:24:58]CAPDU: 80 13 01 00 [16:24:58]Write to MH i2c: E2 08 00 0E 0B 80 13 01 00 00 00 00 00 96 [16:24:58]Write i2c OK [16:24:58]MH_I2C_Read... [16:24:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:24:58]Read from MH i2c: E2 [16:24:58]MH_I2C_Read... [16:24:58]Read from MH i2c: E2 0E 00 [16:24:58]MH_I2C_Read... [16:24:58]Read from MH i2c: E2 0E 00 0E 0B 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 83 [16:24:58]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [16:24:58]wFMCommunicate OK [16:24:58]SAM_PROTO_GetShiftState done [16:24:58]FM_GetShiftState done [16:24:58]opened in 1727223091 [16:24:58]opened+sec_in_day 1727309491 [16:24:58]quantity*price = 13000 [16:24:58]sum+1 = 13001 [16:24:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 48 25.09.2024 16:25 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18970 ФПД: 126918943854469 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T162500&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18970&fm=126918943854469&tin=02508201610067®Number=0000000000152968&sum=13000 0 [16:25:00]StoreToDocumentArchive [16:25:00]shift 183 fd 18970 [16:25:00]save to /storage/0183/doc_00018970 [16:25:00]save last doc name /storage/0183/doc_00018970 to /storage/kkm_last_doc_name [16:25:00]save OK [16:25:00]Clear old archive folders... [16:25:00]ProcessDocumentItem done err = 0, tmpTLVsize=282 [16:25:00]tlvbuf is 015A8110 [16:25:00]SAM_PROTO_ClearQueue [16:25:00]wFMCommunicate request_size=4 [16:25:00]MH_SAM_APDU [16:25:00]CAPDU: 80 09 00 00 [16:25:00]Write to MH i2c: E2 08 00 1B 0B 80 09 00 00 00 00 00 00 98 [16:25:00]Write i2c OK [16:25:00]MH_I2C_Read... [16:25:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:25:00]Read from MH i2c: E2 [16:25:00]MH_I2C_Read... [16:25:00]Read from MH i2c: E2 03 00 [16:25:00]MH_I2C_Read... [16:25:00]Read from MH i2c: E2 03 00 1B 0B 00 90 00 9A [16:25:00]RAPDU: 90 00 [16:25:00]wFMCommunicate OK [16:25:00]SAM_PROTO_ClearQueue done [16:25:00]KKMCreateOFDPacket [16:25:00]OFDProtocolAddRootSTLVToBuf [16:25:00]FM_MakeSignedData [16:25:00]FM_MakeSignedData [16:25:00]SAM_PROTO_SignData [16:25:00]wFMCommunicate request_size=4 [16:25:00]MH_SAM_APDU [16:25:00]CAPDU: 80 0D 01 02 [16:25:00]Write to MH i2c: E2 08 00 1C 0B 80 0D 01 02 00 00 00 00 A0 [16:25:00]Write i2c OK [16:25:00]MH_I2C_Read... [16:25:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:25:00]Read from MH i2c: E2 [16:25:00]MH_I2C_Read... [16:25:00]Read from MH i2c: E2 03 00 [16:25:00]MH_I2C_Read... [16:25:00]Read from MH i2c: E2 03 00 1C 0B 00 90 00 9B [16:25:00]RAPDU: 90 00 [16:25:00]wFMCommunicate OK [16:25:00]wFMCommunicate request_size=255 [16:25:00]MH_SAM_APDU [16:25:00]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 5C 39 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 [16:25:00]Write to MH i2c: E2 02 01 1D 0B 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 5C 39 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 00 00 8B [16:25:00]Write i2c OK [16:25:00]MH_I2C_Read... [16:25:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:00]Read from MH i2c: E2 [16:25:00]MH_I2C_Read... [16:25:00]Read from MH i2c: E2 03 00 [16:25:00]MH_I2C_Read... [16:25:00]Read from MH i2c: E2 03 00 1D 0B 00 90 00 9C [16:25:00]RAPDU: 90 00 [16:25:00]wFMCommunicate OK [16:25:00]wFMCommunicate request_size=41 [16:25:00]MH_SAM_APDU [16:25:00]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1A 4A 00 00 35 04 06 00 73 6E 9E 90 4F 85 [16:25:00]Write to MH i2c: E2 2C 00 1E 0B 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1A 4A 00 00 35 04 06 00 73 6E 9E 90 4F 85 00 00 BF [16:25:00]Write i2c OK [16:25:00]MH_I2C_Read... [16:25:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:00]Read from MH i2c: E2 [16:25:00]MH_I2C_Read... [16:25:00]Read from MH i2c: E2 03 00 [16:25:00]MH_I2C_Read... [16:25:00]Read from MH i2c: E2 03 00 1E 0B 00 90 00 9D [16:25:00]RAPDU: 90 00 [16:25:00]wFMCommunicate OK [16:25:00]wFMCommunicate request_size=4 [16:25:00]MH_SAM_APDU [16:25:00]CAPDU: 80 0D 03 02 [16:25:00]Write to MH i2c: E2 08 00 1F 0B 80 0D 03 02 00 00 00 00 A5 [16:25:00]Write i2c OK [16:25:00]MH_I2C_Read... [16:25:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:25:00]Read from MH i2c: E2 [16:25:00]MH_I2C_Read... [16:25:00]Read from MH i2c: E2 0B 00 [16:25:00]MH_I2C_Read... [16:25:00]Read from MH i2c: E2 0B 00 1F 0B 00 9F 03 4C 6C 2A 84 55 B3 90 00 B6 [16:25:00]RAPDU: 9F 03 4C 6C 2A 84 55 B3 90 00 [16:25:00]wFMCommunicate OK [16:25:00]SAM_PROTO_SignData done [16:25:00]FM_MakeSignedData done [16:25:00]CreateOFDProtocolMessage [16:25:00]wFMCommunicate request_size=4 [16:25:00]MH_SAM_APDU [16:25:00]CAPDU: 80 11 00 00 [16:25:00]Write to MH i2c: E2 08 00 20 0B 80 11 00 00 00 00 00 00 A5 [16:25:00]Write i2c OK [16:25:00]MH_I2C_Read... [16:25:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:00]Read from MH i2c: E2 [16:25:00]MH_I2C_Read... [16:25:00]Read from MH i2c: E2 17 00 [16:25:00]MH_I2C_Read... [16:25:00]Read from MH i2c: E2 17 00 20 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 FE [16:25:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [16:25:00]wFMCommunicate OK [16:25:00]CreateOFDProtocolMessage done [16:25:00]OFDSenderStorePacket 18970 [16:25:00]StoreOFDPacket docnum=18970 [16:25:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 04 BD 26 01 BE 70 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 5C 39 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1A 4A 00 00 35 04 06 00 73 6E 9E 90 4F 85 9F 03 4C 6C 2A 84 55 B3 [16:25:00]CheckFolder [16:25:00]dirname=/storage/ofd_packets [16:25:00]CheckFolder done [16:25:00]ProducePacketName [16:25:00]name=ofd_packets/00018970 [16:25:00]NVStorageSaveData ofd_packets/00018970 [16:25:00]File name is /storage/ofd_packets/00018970 [16:25:00]Write 332 bytes [16:25:00]NVStorageSaveData done [16:25:00]OFDSenderStorePacket done [16:25:00]KKMCreateOFDPacket done [16:25:00]NVStorageSaveData kkm_last_timestamp [16:25:00]File name is /storage/kkm_last_timestamp [16:25:00]Write 4 bytes [16:25:00]NVStorageSaveData done [16:25:00]ExternCall_PrintAddStr [16:25:00]wPrintStart [16:25:00]Write to MH i2c: 01 00 00 21 0B 2C [16:25:00]Write i2c OK [16:25:00]MH_I2C_Read... [16:25:00]Read from MH i2c: 01 [16:25:00]MH_I2C_Read... [16:25:00]Read from MH i2c: 01 07 00 [16:25:00]MH_I2C_Read... [16:25:00]Read from MH i2c: 01 07 00 21 0B 00 00 00 00 00 FF 0F 41 [16:25:00]RasterBufferAndPrint [16:25:00]line Счет N : (3)16889 [16:25:00]line ИНН: 02508201610067 [16:25:00]line Контрольно-Кассовый Чек [16:25:00]line ПРОДАЖА [16:25:00]line Товар: 2000036220012 [16:25:00]line Кофе Капучино XL(GABB TRADE) [16:25:00]line 1.000 * 130.00 [16:25:00]line = 130.00 [16:25:00]line НДС 12% НСП 1% [16:25:00]line > о реализуемом товаре [16:25:00]line ИТОГО: 130.00 [16:25:00]line НСП 1% : 1.15 [16:25:00]line НДС 12% : 13.80 [16:25:00]line Наличными: 130.00 [16:25:00]line Безнал.: 0.00 [16:25:00]line Место: АЗС № 176 "Партнер Нефть" [16:25:00]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [16:25:00]line СНО: Общий режим [16:25:00]line Чек 48 25.09.2024 16:25 [16:25:00]line Смена: 183 ФФД: 1.0 [16:25:00]line ЗНМ: 0300000010 [16:25:00]line РНМ: 0000000000152968 [16:25:00]line Версия ККМ: v1.0 [16:25:00]line ФМ: 0000000000959456 [16:25:00]line ФД: 18970 [16:25:00]line ФПД: 126918943854469 [16:25:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T162500&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18970&fm=126918943854469&tin=02508201610067®Number=0000000000152968&sum=13000 [16:25:00]line 0 [16:25:00]OFD Sender: Processing packet 18970 [packets to send 7, broken 6] [16:25:00]ProducePacketName [16:25:00]name=ofd_packets/00018970 [16:25:00]OFD Sender: To server: pG, [16:25:00]CommunicateWithHost lk.salyk.kg:30040 [16:25:00]ConnectInit lk.salyk.kg [16:25:00]written 0, free lines is 4095 [16:25:01]Connected sock=10 [16:25:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 04 BD 26 01 BE 70 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 5C 39 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1A 4A 00 00 35 04 06 00 73 6E 9E 90 4F 85 9F 03 4C 6C 2A 84 55 B3 [16:25:01]Write to MH i2c: 01 00 00 4A 0B 55 [16:25:01]Write i2c OK [16:25:01]MH_I2C_Read... [16:25:01]Read from MH i2c: 01 [16:25:01]MH_I2C_Read... [16:25:01]Read from MH i2c: 01 07 00 [16:25:01]MH_I2C_Read... [16:25:01]Read from MH i2c: 01 07 00 4A 0B 00 00 00 00 00 04 0D 6D [16:25:01]RasterBufferAndPrint [16:25:01]line [16:25:01]line [16:25:01]line [16:25:01]line [16:25:01]line [16:25:01]written 0, free lines is 3341 [16:25:01]MH_Cut [16:25:01]Write to MH i2c: D1 01 00 51 0B 01 2E [16:25:01]Write i2c OK [16:25:01]MH_I2C_Read... [16:25:01]Read from MH i2c: D1 [16:25:01]MH_I2C_Read... [16:25:01]Read from MH i2c: D1 01 00 [16:25:01]MH_I2C_Read... [16:25:01]Read from MH i2c: D1 01 00 51 0B 00 2D [16:25:01]Write to MH i2c: 01 00 00 52 0B 5D [16:25:01]Write i2c OK [16:25:01]MH_I2C_Read... [16:25:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 D3 72 47 00 26 BE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1A 4A 00 00 F4 03 04 00 B9 E2 F3 66 B6 04 01 00 00 FC 84 2C 74 DF 00 ED E0 [16:25:01]CommunicateWithHost err = 0 [16:25:01]CheckOFDResponse [16:25:01]1017 (14) - 77093643461234 [16:25:01]1041 (16) - 0000000000959456 [16:25:01]1040 (4) - 18970 [16:25:01]1012 (4) - 25.09.2024 10:15 [16:25:01]1206 (1) - 0 [16:25:01]OFD Sender: Remove packet 18970 [16:25:01]ProducePacketName [16:25:01]name=ofd_packets/00018970 [16:25:01]NVStorageDeleteData [16:25:01]OFD Sender: No OFD packet to send [16:25:01]*** Cut start [16:25:01]*** Partial cut [16:25:01]*** CUTSNS_PIN = 1 [16:25:02]*** CUTSNS_PIN = 0 [16:25:02]*** Brake cut motor [16:25:02]Read from MH i2c: 01 [16:25:02]MH_I2C_Read... [16:25:02]*** Stop cut motor [16:25:02]*** Cut end [16:25:02]Read from MH i2c: 01 07 00 [16:25:02]MH_I2C_Read... [16:25:02]Read from MH i2c: 01 07 00 52 0B 00 00 00 00 00 FF 0F 72 [16:25:02]process_action close_receipt done [16:25:02]requested_data is exist [16:25:02]produce_requested_data [16:25:02]requested_item fm.sn is exist - process it [16:25:02]wFMCommunicate request_size=4 [16:25:02]MH_SAM_APDU [16:25:02]CAPDU: 80 11 00 00 [16:25:02]Write to MH i2c: E2 08 00 53 0B 80 11 00 00 00 00 00 00 D8 [16:25:02]Write i2c OK [16:25:02]MH_I2C_Read... [16:25:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:02]Read from MH i2c: E2 [16:25:02]MH_I2C_Read... [16:25:02]Read from MH i2c: E2 17 00 [16:25:02]MH_I2C_Read... [16:25:02]Read from MH i2c: E2 17 00 53 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 31 [16:25:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [16:25:02]wFMCommunicate OK [16:25:02]requested_item fd.num is exist - process it [16:25:02]SAM_PROTO_GetFieldsCounters [16:25:02]wFMCommunicate request_size=4 [16:25:02]MH_SAM_APDU [16:25:02]CAPDU: 80 13 00 00 [16:25:02]Write to MH i2c: E2 08 00 54 0B 80 13 00 00 00 00 00 00 DB [16:25:02]Write i2c OK [16:25:02]MH_I2C_Read... [16:25:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:25:02]Read from MH i2c: E2 [16:25:02]MH_I2C_Read... [16:25:02]Read from MH i2c: E2 62 00 [16:25:02]MH_I2C_Read... [16:25:02]Read from MH i2c: E2 62 00 54 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 1A 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 B3 [16:25:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 1A 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:25:02]wFMCommunicate OK [16:25:02]SAM_PROTO_GetFieldsCounters done [16:25:02]requested_item shift.num is exist - process it [16:25:02]requested_item shift.opened is exist - process it [16:25:02]req_shift_opened [16:25:02]FM_GetShiftState [16:25:02]SAM_PROTO_GetShiftState [16:25:02]wFMCommunicate request_size=4 [16:25:02]MH_SAM_APDU [16:25:02]CAPDU: 80 13 01 00 [16:25:02]Write to MH i2c: E2 08 00 55 0B 80 13 01 00 00 00 00 00 DD [16:25:02]Write i2c OK [16:25:02]MH_I2C_Read... [16:25:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:02]Read from MH i2c: E2 [16:25:02]MH_I2C_Read... [16:25:02]Read from MH i2c: E2 0E 00 [16:25:02]MH_I2C_Read... [16:25:02]Read from MH i2c: E2 0E 00 55 0B 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 CA [16:25:02]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [16:25:02]wFMCommunicate OK [16:25:02]SAM_PROTO_GetShiftState done [16:25:02]FM_GetShiftState done [16:25:02]req_shift_opened done [16:25:02]requested_item shift.open_date is exist - process it [16:25:02]req_shift_open_date [16:25:02]req_shift_open_date done [16:25:02]produce_requested_data done [16:25:02]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18970,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [16:25:02]process_action_free close_receipt [16:25:02]json_value_free [16:25:02]json_value_free done [16:25:02]process_json_proto returns [16:25:02]Send response to host [16:25:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18970,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [16:25:02]free response buf [16:25:02]execute_script done [16:25:02]execute_script returns [16:25:02]free content buf [16:25:02]Sock 8.Close socket [16:25:02]Sock 8.Thread stoped [16:25:06]OFD Sender: No OFD packet to send [16:25:12]OFD Sender: No OFD packet to send [16:25:17]OFD Sender: No OFD packet to send [16:25:22]OFD Sender: No OFD packet to send [16:25:27]OFD Sender: No OFD packet to send [16:25:32]OFD Sender: No OFD packet to send [16:25:37]OFD Sender: No OFD packet to send [16:25:42]OFD Sender: No OFD packet to send [16:25:47]OFD Sender: No OFD packet to send [16:25:52]OFD Sender: No OFD packet to send [16:25:57]OFD Sender: No OFD packet to send [16:26:02]OFD Sender: No OFD packet to send [16:26:07]OFD Sender: No OFD packet to send [16:26:12]OFD Sender: No OFD packet to send [16:26:17]OFD Sender: No OFD packet to send [16:26:22]OFD Sender: No OFD packet to send [16:26:27]OFD Sender: No OFD packet to send [16:26:32]OFD Sender: No OFD packet to send [16:26:37]OFD Sender: No OFD packet to send [16:26:42]OFD Sender: No OFD packet to send [16:26:47]OFD Sender: No OFD packet to send [16:26:52]OFD Sender: No OFD packet to send [16:26:57]OFD Sender: No OFD packet to send [16:27:02]OFD Sender: No OFD packet to send [16:27:07]OFD Sender: No OFD packet to send [16:27:12]OFD Sender: No OFD packet to send [16:27:17]OFD Sender: No OFD packet to send [16:27:22]OFD Sender: No OFD packet to send [16:27:27]OFD Sender: No OFD packet to send [16:27:32]OFD Sender: No OFD packet to send [16:27:37]OFD Sender: No OFD packet to send [16:27:42]OFD Sender: No OFD packet to send [16:27:47]OFD Sender: No OFD packet to send [16:27:52]OFD Sender: No OFD packet to send [16:27:57]OFD Sender: No OFD packet to send [16:28:02]OFD Sender: No OFD packet to send [16:28:07]OFD Sender: No OFD packet to send [16:28:12]OFD Sender: No OFD packet to send [16:28:17]OFD Sender: No OFD packet to send [16:28:22]OFD Sender: No OFD packet to send [16:28:27]OFD Sender: No OFD packet to send [16:28:32]OFD Sender: No OFD packet to send [16:28:37]OFD Sender: No OFD packet to send [16:28:42]OFD Sender: No OFD packet to send [16:28:47]OFD Sender: No OFD packet to send [16:28:52]OFD Sender: No OFD packet to send [16:28:57]OFD Sender: No OFD packet to send [16:29:02]OFD Sender: No OFD packet to send [16:29:07]OFD Sender: No OFD packet to send [16:29:12]OFD Sender: No OFD packet to send [16:29:17]OFD Sender: No OFD packet to send [16:29:22]OFD Sender: No OFD packet to send [16:29:27]OFD Sender: No OFD packet to send [16:29:32]OFD Sender: No OFD packet to send [16:29:37]OFD Sender: No OFD packet to send [16:29:42]OFD Sender: No OFD packet to send [16:29:47]OFD Sender: No OFD packet to send [16:29:52]OFD Sender: No OFD packet to send [16:29:57]OFD Sender: No OFD packet to send [16:30:02]OFD Sender: No OFD packet to send [16:30:07]OFD Sender: No OFD packet to send [16:30:12]OFD Sender: No OFD packet to send [16:30:17]OFD Sender: No OFD packet to send [16:30:22]OFD Sender: No OFD packet to send [16:30:27]OFD Sender: No OFD packet to send [16:30:32]OFD Sender: No OFD packet to send [16:30:42]OFD Sender: No OFD packet to send [16:30:47]OFD Sender: No OFD packet to send [16:30:52]OFD Sender: No OFD packet to send [16:30:57]OFD Sender: No OFD packet to send [16:31:02]OFD Sender: No OFD packet to send [16:31:07]OFD Sender: No OFD packet to send [16:31:12]OFD Sender: No OFD packet to send [16:31:17]OFD Sender: No OFD packet to send [16:31:18]recv_with_timeout no data received [16:31:22]OFD Sender: No OFD packet to send [16:31:27]OFD Sender: No OFD packet to send [16:31:32]OFD Sender: No OFD packet to send [16:31:37]OFD Sender: No OFD packet to send [16:31:42]OFD Sender: No OFD packet to send [16:31:47]OFD Sender: No OFD packet to send [16:31:52]OFD Sender: No OFD packet to send [16:31:52]accept exits with 9 [16:31:52]New connection [16:31:52]New thread 3066764644 created [16:31:52]Thread 3066621284 joined [16:31:52]Waiting for new connection... [16:31:52] Sock 9.Parse request [16:31:52]Sock 9.Check first char [16:31:52]Sock 9.First char is OK [16:31:52]request: POST /json_proto HTTP/1.0 [16:31:52]Method: POST [16:31:52]URL: /json_proto [16:31:52]Method is POST - this is cgi request [16:31:52]url: /json_proto [16:31:52]query_string will be loaded in cgi processing [16:31:52]execute_cgi json_proto POST (null) [16:31:52]execute_cgi path=json_proto method=POST [16:31:52]POST find Content-Length [16:31:52]Host: 172.17.62.196:8080 [16:31:52]Content-Length: 1079 [16:31:52]Content-Type: application/json [16:31:52] [16:31:52]POST finish read [16:31:52]Found Content-Length = 1079 [16:31:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16890", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:31:52]execute_script... [16:31:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16890", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:31:52]POST & json_proto [16:31:52]process_json_proto [16:31:52]json parsed OK: [16:31:52]protocol is kg_v1.0 [16:31:52]action value=close_receipt [16:31:52]process_action close_receipt [16:31:52]cmd_close_receipt [16:31:52]MH_GetDate [16:31:52]Write to MH i2c: F0 00 00 56 0B 50 [16:31:52]Write i2c OK [16:31:52]MH_I2C_Read... [16:31:52]Read from MH i2c: F0 [16:31:52]MH_I2C_Read... [16:31:52]Read from MH i2c: F0 09 00 [16:31:52]MH_I2C_Read... [16:31:52]Read from MH i2c: F0 09 00 56 0B 00 FA 3A F4 66 CE CC 0E 66 F5 [16:31:52]GetLastDocTimeStamp 1727281500 [16:31:52]current date 1727281914 [16:31:52]FM_GetShiftState [16:31:52]SAM_PROTO_GetShiftState [16:31:52]wFMCommunicate request_size=4 [16:31:52]MH_SAM_APDU [16:31:52]CAPDU: 80 13 01 00 [16:31:52]Write to MH i2c: E2 08 00 57 0B 80 13 01 00 00 00 00 00 DF [16:31:52]Write i2c OK [16:31:52]MH_I2C_Read... [16:31:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:31:52]Read from MH i2c: E2 [16:31:52]MH_I2C_Read... [16:31:52]Read from MH i2c: E2 0E 00 [16:31:52]MH_I2C_Read... [16:31:52]Read from MH i2c: E2 0E 00 57 0B 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 CC [16:31:52]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [16:31:52]wFMCommunicate OK [16:31:52]SAM_PROTO_GetShiftState done [16:31:52]FM_GetShiftState done [16:31:52]opened in 1727223091 [16:31:52]opened+sec_in_day 1727309491 [16:31:52]quantity*price = 8500 [16:31:52]sum+1 = 8501 [16:31:52]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 0.00 Безнал.: 135.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 49 25.09.2024 16:31 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959456 ФД: 18971 ФПД: 244201383119143 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T163154&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18971&fm=244201383119143&tin=02508201610067®Number=0000000000152968&sum=13500 0 [16:31:54]StoreToDocumentArchive [16:31:54]shift 183 fd 18971 [16:31:54]save to /storage/0183/doc_00018971 [16:31:54]save last doc name /storage/0183/doc_00018971 to /storage/kkm_last_doc_name [16:31:54]save OK [16:31:54]Clear old archive folders... [16:31:54]ProcessDocumentItem done err = 0, tmpTLVsize=393 [16:31:54]tlvbuf is 015DEF90 [16:31:54]SAM_PROTO_ClearQueue [16:31:54]wFMCommunicate request_size=4 [16:31:54]MH_SAM_APDU [16:31:54]CAPDU: 80 09 00 00 [16:31:54]Write to MH i2c: E2 08 00 64 0B 80 09 00 00 00 00 00 00 E1 [16:31:54]Write i2c OK [16:31:54]MH_I2C_Read... [16:31:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:31:54]Read from MH i2c: E2 [16:31:54]MH_I2C_Read... [16:31:54]Read from MH i2c: E2 03 00 [16:31:54]MH_I2C_Read... [16:31:54]Read from MH i2c: E2 03 00 64 0B 00 90 00 E3 [16:31:54]RAPDU: 90 00 [16:31:54]wFMCommunicate OK [16:31:54]SAM_PROTO_ClearQueue done [16:31:54]KKMCreateOFDPacket [16:31:54]OFDProtocolAddRootSTLVToBuf [16:31:54]FM_MakeSignedData [16:31:54]FM_MakeSignedData [16:31:54]SAM_PROTO_SignData [16:31:54]wFMCommunicate request_size=4 [16:31:54]MH_SAM_APDU [16:31:54]CAPDU: 80 0D 01 02 [16:31:54]Write to MH i2c: E2 08 00 65 0B 80 0D 01 02 00 00 00 00 E9 [16:31:54]Write i2c OK [16:31:54]MH_I2C_Read... [16:31:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:31:54]Read from MH i2c: E2 [16:31:54]MH_I2C_Read... [16:31:54]Read from MH i2c: E2 03 00 [16:31:54]MH_I2C_Read... [16:31:54]Read from MH i2c: E2 03 00 65 0B 00 90 00 E4 [16:31:54]RAPDU: 90 00 [16:31:54]wFMCommunicate OK [16:31:54]wFMCommunicate request_size=255 [16:31:54]MH_SAM_APDU [16:31:54]CAPDU: 80 0D 02 02 FA 03 00 89 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 [16:31:54]Write to MH i2c: E2 02 01 66 0B 80 0D 02 02 FA 00 03 00 89 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 00 9F [16:31:54]Write i2c OK [16:31:54]MH_I2C_Read... [16:31:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:31:54]Read from MH i2c: E2 [16:31:54]MH_I2C_Read... [16:31:54]Read from MH i2c: E2 03 00 [16:31:54]MH_I2C_Read... [16:31:54]Read from MH i2c: E2 03 00 66 0B 00 90 00 E5 [16:31:54]RAPDU: 90 00 [16:31:54]wFMCommunicate OK [16:31:54]wFMCommunicate request_size=152 [16:31:54]MH_SAM_APDU [16:31:54]CAPDU: 80 0D 02 02 93 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 FA 3A F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1B 4A 00 00 35 04 06 00 DE 19 90 B1 C9 27 [16:31:54]Write to MH i2c: E2 9B 00 67 0B 80 0D 02 02 93 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 FA 3A F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1B 4A 00 00 35 04 06 00 DE 19 90 B1 C9 27 00 00 4F [16:31:54]Write i2c OK [16:31:54]MH_I2C_Read... [16:31:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:31:54]Read from MH i2c: E2 [16:31:54]MH_I2C_Read... [16:31:54]Read from MH i2c: E2 03 00 [16:31:54]MH_I2C_Read... [16:31:54]Read from MH i2c: E2 03 00 67 0B 00 90 00 E6 [16:31:54]RAPDU: 90 00 [16:31:54]wFMCommunicate OK [16:31:54]wFMCommunicate request_size=4 [16:31:54]MH_SAM_APDU [16:31:54]CAPDU: 80 0D 03 02 [16:31:54]Write to MH i2c: E2 08 00 68 0B 80 0D 03 02 00 00 00 00 EE [16:31:54]Write i2c OK [16:31:54]MH_I2C_Read... [16:31:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:31:54]Read from MH i2c: E2 [16:31:54]MH_I2C_Read... [16:31:54]Read from MH i2c: E2 0B 00 [16:31:54]MH_I2C_Read... [16:31:54]Read from MH i2c: E2 0B 00 68 0B 00 3E 9C C8 C0 5C DF 2A 40 90 00 F6 [16:31:54]RAPDU: 3E 9C C8 C0 5C DF 2A 40 90 00 [16:31:54]wFMCommunicate OK [16:31:54]SAM_PROTO_SignData done [16:31:54]FM_MakeSignedData done [16:31:54]CreateOFDProtocolMessage [16:31:54]wFMCommunicate request_size=4 [16:31:54]MH_SAM_APDU [16:31:54]CAPDU: 80 11 00 00 [16:31:54]Write to MH i2c: E2 08 00 69 0B 80 11 00 00 00 00 00 00 EE [16:31:54]Write i2c OK [16:31:54]MH_I2C_Read... [16:31:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:31:54]Read from MH i2c: E2 [16:31:54]MH_I2C_Read... [16:31:54]Read from MH i2c: E2 17 00 [16:31:54]MH_I2C_Read... [16:31:54]Read from MH i2c: E2 17 00 69 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 47 [16:31:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [16:31:54]wFMCommunicate OK [16:31:54]CreateOFDProtocolMessage done [16:31:54]OFDSenderStorePacket 18971 [16:31:54]StoreOFDPacket docnum=18971 [16:31:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 9D 01 00 00 72 F9 95 01 47 57 5A 03 01 00 03 00 89 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 FA 3A F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1B 4A 00 00 35 04 06 00 DE 19 90 B1 C9 27 3E 9C C8 C0 5C DF 2A 40 [16:31:54]CheckFolder [16:31:54]dirname=/storage/ofd_packets [16:31:54]CheckFolder done [16:31:54]ProducePacketName [16:31:54]name=ofd_packets/00018971 [16:31:54]NVStorageSaveData ofd_packets/00018971 [16:31:54]File name is /storage/ofd_packets/00018971 [16:31:54]Write 443 bytes [16:31:54]NVStorageSaveData done [16:31:54]OFDSenderStorePacket done [16:31:55]KKMCreateOFDPacket done [16:31:55]NVStorageSaveData kkm_last_timestamp [16:31:55]File name is /storage/kkm_last_timestamp [16:31:55]Write 4 bytes [16:31:55]NVStorageSaveData done [16:31:55]ExternCall_PrintAddStr [16:31:55]wPrintStart [16:31:55]Write to MH i2c: 01 00 00 6A 0B 75 [16:31:55]OFD Sender: Processing packet 18971 [packets to send 7, broken 6] [16:31:55]ProducePacketName [16:31:55]name=ofd_packets/00018971 [16:31:55]OFD Sender: To server: pG, [16:31:55]CommunicateWithHost lk.salyk.kg:30040 [16:31:55]ConnectInit lk.salyk.kg [16:31:55]Write i2c OK [16:31:55]MH_I2C_Read... [16:31:55]Read from MH i2c: 01 [16:31:55]MH_I2C_Read... [16:31:55]Read from MH i2c: 01 07 00 [16:31:55]MH_I2C_Read... [16:31:55]Read from MH i2c: 01 07 00 6A 0B 00 00 00 00 00 FF 0F 8A [16:31:55]RasterBufferAndPrint [16:31:55]line Счет N : (3)16890 [16:31:55]line ИНН: 02508201610067 [16:31:55]line Контрольно-Кассовый Чек [16:31:55]line ПРОДАЖА [16:31:55]line Товар: 4600682557456 [16:31:55]line Напиток FLash up energy эн ж/б 0,5/0,45л [16:31:55]line 1.000 * 85.00 [16:31:55]line = 85.00 [16:31:55]line НДС 12% НСП 1% [16:31:55]line > о реализуемом товаре [16:31:55]line Товар: 4700000160358 [16:31:55]line Вода Легенда 1л [16:31:55]line 1.000 * 50.00 [16:31:55]line = 50.00 [16:31:55]line НДС 12% НСП 1% [16:31:55]line > о реализуемом товаре [16:31:55]line ИТОГО: 135.00 [16:31:55]line НСП 1% : 1.19 [16:31:55]line НДС 12% : 14.34 [16:31:55]line Наличными: 0.00 [16:31:55]line Безнал.: 135.00 [16:31:55]line Место: АЗС № 176 "Партнер Нефть" [16:31:55]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [16:31:55]line СНО: Общий режим [16:31:55]line Чек 49 25.09.2024 16:31 [16:31:55]line Смена: 183 ФФД: 1.0 [16:31:55]line ЗНМ: 0300000010 [16:31:55]line РНМ: 0000000000152968 [16:31:55]line Версия ККМ: v1.0 [16:31:55]line Платежная система: Бакай Банк [16:31:55]line ФМ: 0000000000959456 [16:31:55]line ФД: 18971 [16:31:55]line ФПД: 244201383119143 [16:31:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T163154&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18971&fm=244201383119143&tin=02508201610067®Number=0000000000152968&sum=13500 [16:31:55]line 0 [16:31:55]written 0, free lines is 4095 [16:31:55]Connected sock=10 [16:31:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 9D 01 00 00 72 F9 95 01 47 57 5A 03 01 00 03 00 89 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 FA 3A F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1B 4A 00 00 35 04 06 00 DE 19 90 B1 C9 27 3E 9C C8 C0 5C DF 2A 40 [16:31:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 79 F6 47 00 10 3E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1B 4A 00 00 F4 03 04 00 57 E4 F3 66 B6 04 01 00 00 25 B1 70 0C 90 3F FE B2 [16:31:55]CommunicateWithHost err = 0 [16:31:55]CheckOFDResponse [16:31:55]1017 (14) - 77093643461234 [16:31:55]1041 (16) - 0000000000959456 [16:31:55]1040 (4) - 18971 [16:31:55]1012 (4) - 25.09.2024 10:22 [16:31:55]1206 (1) - 0 [16:31:55]OFD Sender: Remove packet 18971 [16:31:55]ProducePacketName [16:31:55]name=ofd_packets/00018971 [16:31:55]NVStorageDeleteData [16:31:55]Write to MH i2c: 01 00 00 9B 0B A6 [16:31:55]Write i2c OK [16:31:55]MH_I2C_Read... [16:31:55]Read from MH i2c: 01 [16:31:55]MH_I2C_Read... [16:31:55]Read from MH i2c: 01 07 00 [16:31:55]MH_I2C_Read... [16:31:55]Read from MH i2c: 01 07 00 9B 0B 00 00 00 00 00 AF 0C 68 [16:31:55]RasterBufferAndPrint [16:31:55]line [16:31:55]line [16:31:55]line [16:31:55]line [16:31:55]line [16:31:55]written 0, free lines is 3256 [16:31:55]MH_Cut [16:31:55]Write to MH i2c: D1 01 00 A2 0B 01 7F [16:31:55]Write i2c OK [16:31:55]MH_I2C_Read... [16:31:55]Read from MH i2c: D1 [16:31:55]MH_I2C_Read... [16:31:55]Read from MH i2c: D1 01 00 [16:31:55]MH_I2C_Read... [16:31:55]Read from MH i2c: D1 01 00 A2 0B 00 7E [16:31:55]Write to MH i2c: 01 00 00 A3 0B AE [16:31:55]Write i2c OK [16:31:55]MH_I2C_Read... [16:31:56]OFD Sender: No OFD packet to send [16:31:56]*** Cut start [16:31:56]*** Partial cut [16:31:56]*** CUTSNS_PIN = 1 [16:31:56]*** CUTSNS_PIN = 0 [16:31:56]*** Brake cut motor [16:31:56]Read from MH i2c: 01 [16:31:56]MH_I2C_Read... [16:31:56]*** Stop cut motor [16:31:56]*** Cut end [16:31:56]Read from MH i2c: 01 07 00 [16:31:56]MH_I2C_Read... [16:31:56]Read from MH i2c: 01 07 00 A3 0B 00 00 00 00 00 FF 0F C3 [16:31:56]process_action close_receipt done [16:31:56]requested_data is exist [16:31:56]produce_requested_data [16:31:56]requested_item fm.sn is exist - process it [16:31:56]wFMCommunicate request_size=4 [16:31:56]MH_SAM_APDU [16:31:56]CAPDU: 80 11 00 00 [16:31:56]Write to MH i2c: E2 08 00 A4 0B 80 11 00 00 00 00 00 00 29 [16:31:56]Write i2c OK [16:31:56]MH_I2C_Read... [16:31:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:31:56]Read from MH i2c: E2 [16:31:56]MH_I2C_Read... [16:31:56]Read from MH i2c: E2 17 00 [16:31:56]MH_I2C_Read... [16:31:56]Read from MH i2c: E2 17 00 A4 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 82 [16:31:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [16:31:56]wFMCommunicate OK [16:31:56]requested_item fd.num is exist - process it [16:31:56]SAM_PROTO_GetFieldsCounters [16:31:56]wFMCommunicate request_size=4 [16:31:56]MH_SAM_APDU [16:31:56]CAPDU: 80 13 00 00 [16:31:56]Write to MH i2c: E2 08 00 A5 0B 80 13 00 00 00 00 00 00 2C [16:31:56]Write i2c OK [16:31:56]MH_I2C_Read... [16:31:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:31:57]Read from MH i2c: E2 [16:31:57]MH_I2C_Read... [16:31:57]Read from MH i2c: E2 62 00 [16:31:57]MH_I2C_Read... [16:31:57]Read from MH i2c: E2 62 00 A5 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 1B 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 08 [16:31:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 1B 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:31:57]wFMCommunicate OK [16:31:57]SAM_PROTO_GetFieldsCounters done [16:31:57]requested_item shift.num is exist - process it [16:31:57]requested_item shift.opened is exist - process it [16:31:57]req_shift_opened [16:31:57]FM_GetShiftState [16:31:57]SAM_PROTO_GetShiftState [16:31:57]wFMCommunicate request_size=4 [16:31:57]MH_SAM_APDU [16:31:57]CAPDU: 80 13 01 00 [16:31:57]Write to MH i2c: E2 08 00 A6 0B 80 13 01 00 00 00 00 00 2E [16:31:57]Write i2c OK [16:31:57]MH_I2C_Read... [16:31:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:31:57]Read from MH i2c: E2 [16:31:57]MH_I2C_Read... [16:31:57]Read from MH i2c: E2 0E 00 [16:31:57]MH_I2C_Read... [16:31:57]Read from MH i2c: E2 0E 00 A6 0B 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 1B [16:31:57]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [16:31:57]wFMCommunicate OK [16:31:57]SAM_PROTO_GetShiftState done [16:31:57]FM_GetShiftState done [16:31:57]req_shift_opened done [16:31:57]requested_item shift.open_date is exist - process it [16:31:57]req_shift_open_date [16:31:57]req_shift_open_date done [16:31:57]produce_requested_data done [16:31:57]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18971,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [16:31:57]process_action_free close_receipt [16:31:57]json_value_free [16:31:57]json_value_free done [16:31:57]process_json_proto returns [16:31:57]Send response to host [16:31:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18971,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [16:31:57]free response buf [16:31:57]execute_script done [16:31:57]execute_script returns [16:31:57]free content buf [16:31:57]Sock 9.Close socket [16:31:57]Sock 9.Thread stoped [16:32:01]OFD Sender: No OFD packet to send [16:32:06]OFD Sender: No OFD packet to send [16:32:11]OFD Sender: No OFD packet to send [16:32:16]OFD Sender: No OFD packet to send [16:32:21]OFD Sender: No OFD packet to send [16:32:26]OFD Sender: No OFD packet to send [16:32:31]OFD Sender: No OFD packet to send [16:32:36]OFD Sender: No OFD packet to send [16:32:41]OFD Sender: No OFD packet to send [16:32:46]OFD Sender: No OFD packet to send [16:32:51]OFD Sender: No OFD packet to send [16:32:56]OFD Sender: No OFD packet to send [16:33:01]OFD Sender: No OFD packet to send [16:33:06]OFD Sender: No OFD packet to send [16:33:11]OFD Sender: No OFD packet to send [16:33:16]OFD Sender: No OFD packet to send [16:33:21]OFD Sender: No OFD packet to send [16:33:26]OFD Sender: No OFD packet to send [16:33:31]OFD Sender: No OFD packet to send [16:33:36]OFD Sender: No OFD packet to send [16:33:41]OFD Sender: No OFD packet to send [16:33:46]OFD Sender: No OFD packet to send [16:33:51]OFD Sender: No OFD packet to send [16:33:56]OFD Sender: No OFD packet to send [16:34:01]OFD Sender: No OFD packet to send [16:34:06]OFD Sender: No OFD packet to send [16:34:11]OFD Sender: No OFD packet to send [16:34:16]OFD Sender: No OFD packet to send [16:34:21]OFD Sender: No OFD packet to send [16:34:26]OFD Sender: No OFD packet to send [16:34:31]OFD Sender: No OFD packet to send [16:34:36]OFD Sender: No OFD packet to send [16:34:41]OFD Sender: No OFD packet to send [16:34:46]OFD Sender: No OFD packet to send [16:34:51]OFD Sender: No OFD packet to send [16:34:56]OFD Sender: No OFD packet to send [16:35:01]OFD Sender: No OFD packet to send [16:35:06]OFD Sender: No OFD packet to send [16:35:11]OFD Sender: No OFD packet to send [16:35:16]OFD Sender: No OFD packet to send [16:35:21]OFD Sender: No OFD packet to send [16:35:26]OFD Sender: No OFD packet to send [16:35:31]OFD Sender: No OFD packet to send [16:35:36]OFD Sender: No OFD packet to send [16:35:41]OFD Sender: No OFD packet to send [16:35:46]OFD Sender: No OFD packet to send [16:35:51]OFD Sender: No OFD packet to send [16:35:56]OFD Sender: No OFD packet to send [16:36:01]OFD Sender: No OFD packet to send [16:36:06]OFD Sender: No OFD packet to send [16:36:11]OFD Sender: No OFD packet to send [16:36:16]OFD Sender: No OFD packet to send [16:36:21]OFD Sender: No OFD packet to send [16:36:26]OFD Sender: No OFD packet to send [16:36:31]OFD Sender: No OFD packet to send [16:36:36]OFD Sender: No OFD packet to send [16:36:41]OFD Sender: No OFD packet to send [16:36:46]OFD Sender: No OFD packet to send [16:36:51]OFD Sender: No OFD packet to send [16:36:56]OFD Sender: No OFD packet to send [16:37:01]OFD Sender: No OFD packet to send [16:37:06]OFD Sender: No OFD packet to send [16:37:11]OFD Sender: No OFD packet to send [16:37:16]OFD Sender: No OFD packet to send [16:37:21]OFD Sender: No OFD packet to send [16:37:26]OFD Sender: No OFD packet to send [16:37:31]OFD Sender: No OFD packet to send [16:37:36]OFD Sender: No OFD packet to send [16:37:41]OFD Sender: No OFD packet to send [16:37:46]OFD Sender: No OFD packet to send [16:37:51]OFD Sender: No OFD packet to send [16:37:56]OFD Sender: No OFD packet to send [16:38:01]OFD Sender: No OFD packet to send [16:38:06]OFD Sender: No OFD packet to send [16:38:11]OFD Sender: No OFD packet to send [16:38:16]OFD Sender: No OFD packet to send [16:38:21]OFD Sender: No OFD packet to send [16:38:26]OFD Sender: No OFD packet to send [16:38:31]OFD Sender: No OFD packet to send [16:38:36]OFD Sender: No OFD packet to send [16:38:41]OFD Sender: No OFD packet to send [16:38:46]OFD Sender: No OFD packet to send [16:38:51]OFD Sender: No OFD packet to send [16:38:56]OFD Sender: No OFD packet to send [16:39:01]OFD Sender: No OFD packet to send [16:39:06]OFD Sender: No OFD packet to send [16:39:11]OFD Sender: No OFD packet to send [16:39:16]OFD Sender: No OFD packet to send [16:39:21]OFD Sender: No OFD packet to send [16:39:26]OFD Sender: No OFD packet to send [16:39:31]OFD Sender: No OFD packet to send [16:39:36]OFD Sender: No OFD packet to send [16:39:41]OFD Sender: No OFD packet to send [16:39:46]OFD Sender: No OFD packet to send [16:39:51]OFD Sender: No OFD packet to send [16:39:56]OFD Sender: No OFD packet to send [16:40:01]OFD Sender: No OFD packet to send [16:40:06]OFD Sender: No OFD packet to send [16:40:11]OFD Sender: No OFD packet to send [16:40:16]OFD Sender: No OFD packet to send [16:40:21]OFD Sender: No OFD packet to send [16:40:26]OFD Sender: No OFD packet to send [16:40:31]OFD Sender: No OFD packet to send [16:40:36]OFD Sender: No OFD packet to send [16:40:41]OFD Sender: No OFD packet to send [16:40:46]OFD Sender: No OFD packet to send [16:40:51]OFD Sender: No OFD packet to send [16:40:56]OFD Sender: No OFD packet to send [16:41:01]OFD Sender: No OFD packet to send [16:41:06]OFD Sender: No OFD packet to send [16:41:11]OFD Sender: No OFD packet to send [16:41:16]OFD Sender: No OFD packet to send [16:41:21]OFD Sender: No OFD packet to send [16:41:26]OFD Sender: No OFD packet to send [16:41:31]OFD Sender: No OFD packet to send [16:41:36]OFD Sender: No OFD packet to send [16:41:41]OFD Sender: No OFD packet to send [16:41:46]OFD Sender: No OFD packet to send [16:41:51]OFD Sender: No OFD packet to send [16:41:56]OFD Sender: No OFD packet to send [16:42:01]OFD Sender: No OFD packet to send [16:42:06]OFD Sender: No OFD packet to send [16:42:11]OFD Sender: No OFD packet to send [16:42:16]OFD Sender: No OFD packet to send [16:42:21]OFD Sender: No OFD packet to send [16:42:26]OFD Sender: No OFD packet to send [16:42:31]OFD Sender: No OFD packet to send [16:42:36]OFD Sender: No OFD packet to send [16:42:41]OFD Sender: No OFD packet to send [16:42:46]OFD Sender: No OFD packet to send [16:42:51]OFD Sender: No OFD packet to send [16:42:56]OFD Sender: No OFD packet to send [16:43:01]OFD Sender: No OFD packet to send [16:43:06]OFD Sender: No OFD packet to send [16:43:11]OFD Sender: No OFD packet to send [16:43:16]OFD Sender: No OFD packet to send [16:43:21]OFD Sender: No OFD packet to send [16:43:26]OFD Sender: No OFD packet to send [16:43:31]OFD Sender: No OFD packet to send [16:43:36]OFD Sender: No OFD packet to send [16:43:41]OFD Sender: No OFD packet to send [16:43:46]OFD Sender: No OFD packet to send [16:43:51]OFD Sender: No OFD packet to send [16:43:56]OFD Sender: No OFD packet to send [16:44:01]OFD Sender: No OFD packet to send [16:44:06]OFD Sender: No OFD packet to send [16:44:11]OFD Sender: No OFD packet to send [16:44:16]OFD Sender: No OFD packet to send [16:44:21]OFD Sender: No OFD packet to send [16:44:26]OFD Sender: No OFD packet to send [16:44:31]OFD Sender: No OFD packet to send [16:44:36]OFD Sender: No OFD packet to send [16:44:41]OFD Sender: No OFD packet to send [16:44:46]OFD Sender: No OFD packet to send [16:44:51]OFD Sender: No OFD packet to send [16:44:56]OFD Sender: No OFD packet to send [16:45:01]OFD Sender: No OFD packet to send [16:45:06]OFD Sender: No OFD packet to send [16:45:11]OFD Sender: No OFD packet to send [16:45:16]OFD Sender: No OFD packet to send [16:45:21]OFD Sender: No OFD packet to send [16:45:26]OFD Sender: No OFD packet to send [16:45:31]OFD Sender: No OFD packet to send [16:45:36]OFD Sender: No OFD packet to send [16:45:41]OFD Sender: No OFD packet to send [16:45:46]OFD Sender: No OFD packet to send [16:45:51]OFD Sender: No OFD packet to send [16:45:56]OFD Sender: No OFD packet to send [16:46:01]OFD Sender: No OFD packet to send [16:46:06]OFD Sender: No OFD packet to send [16:46:11]OFD Sender: No OFD packet to send [16:46:16]OFD Sender: No OFD packet to send [16:46:21]OFD Sender: No OFD packet to send [16:46:26]OFD Sender: No OFD packet to send [16:46:31]OFD Sender: No OFD packet to send [16:46:36]OFD Sender: No OFD packet to send [16:46:41]OFD Sender: No OFD packet to send [16:46:46]OFD Sender: No OFD packet to send [16:46:51]OFD Sender: No OFD packet to send [16:46:56]OFD Sender: No OFD packet to send [16:47:01]OFD Sender: No OFD packet to send [16:47:06]OFD Sender: No OFD packet to send [16:47:11]OFD Sender: No OFD packet to send [16:47:16]OFD Sender: No OFD packet to send [16:47:21]OFD Sender: No OFD packet to send [16:47:26]OFD Sender: No OFD packet to send [16:47:31]OFD Sender: No OFD packet to send [16:47:36]OFD Sender: No OFD packet to send [16:47:41]OFD Sender: No OFD packet to send [16:47:46]OFD Sender: No OFD packet to send [16:47:51]OFD Sender: No OFD packet to send [16:47:56]OFD Sender: No OFD packet to send [16:48:01]OFD Sender: No OFD packet to send [16:48:06]OFD Sender: No OFD packet to send [16:48:11]OFD Sender: No OFD packet to send [16:48:16]OFD Sender: No OFD packet to send [16:48:21]OFD Sender: No OFD packet to send [16:48:26]OFD Sender: No OFD packet to send [16:48:31]OFD Sender: No OFD packet to send [16:48:36]OFD Sender: No OFD packet to send [16:48:41]OFD Sender: No OFD packet to send [16:48:46]OFD Sender: No OFD packet to send [16:48:51]OFD Sender: No OFD packet to send [16:48:56]OFD Sender: No OFD packet to send [16:49:01]OFD Sender: No OFD packet to send [16:49:06]OFD Sender: No OFD packet to send [16:49:11]OFD Sender: No OFD packet to send [16:49:16]OFD Sender: No OFD packet to send [16:49:21]OFD Sender: No OFD packet to send [16:49:26]OFD Sender: No OFD packet to send [16:49:31]OFD Sender: No OFD packet to send [16:49:36]OFD Sender: No OFD packet to send [16:49:41]OFD Sender: No OFD packet to send [16:49:46]OFD Sender: No OFD packet to send [16:49:51]OFD Sender: No OFD packet to send [16:49:56]OFD Sender: No OFD packet to send [16:50:01]OFD Sender: No OFD packet to send [16:50:06]OFD Sender: No OFD packet to send [16:50:11]OFD Sender: No OFD packet to send [16:50:16]OFD Sender: No OFD packet to send [16:50:21]OFD Sender: No OFD packet to send [16:50:26]OFD Sender: No OFD packet to send [16:50:31]OFD Sender: No OFD packet to send [16:50:36]OFD Sender: No OFD packet to send [16:50:41]OFD Sender: No OFD packet to send [16:50:46]OFD Sender: No OFD packet to send [16:50:52]OFD Sender: No OFD packet to send [16:50:57]OFD Sender: No OFD packet to send [16:51:02]OFD Sender: No OFD packet to send [16:51:07]OFD Sender: No OFD packet to send [16:51:12]OFD Sender: No OFD packet to send [16:51:17]OFD Sender: No OFD packet to send [16:51:22]OFD Sender: No OFD packet to send [16:51:27]OFD Sender: No OFD packet to send [16:51:32]OFD Sender: No OFD packet to send [16:51:37]OFD Sender: No OFD packet to send [16:51:42]OFD Sender: No OFD packet to send [16:51:47]OFD Sender: No OFD packet to send [16:51:52]OFD Sender: No OFD packet to send [16:51:57]OFD Sender: No OFD packet to send [16:52:02]OFD Sender: No OFD packet to send [16:52:07]OFD Sender: No OFD packet to send [16:52:12]OFD Sender: No OFD packet to send [16:52:17]OFD Sender: No OFD packet to send [16:52:22]OFD Sender: No OFD packet to send [16:52:27]OFD Sender: No OFD packet to send [16:52:32]OFD Sender: No OFD packet to send [16:52:37]OFD Sender: No OFD packet to send [16:52:42]OFD Sender: No OFD packet to send [16:52:47]OFD Sender: No OFD packet to send [16:52:52]OFD Sender: No OFD packet to send [16:52:57]OFD Sender: No OFD packet to send [16:53:02]OFD Sender: No OFD packet to send [16:53:07]OFD Sender: No OFD packet to send [16:53:12]OFD Sender: No OFD packet to send [16:53:17]OFD Sender: No OFD packet to send [16:53:22]OFD Sender: No OFD packet to send [16:53:27]OFD Sender: No OFD packet to send [16:53:32]OFD Sender: No OFD packet to send [16:53:37]OFD Sender: No OFD packet to send [16:53:42]OFD Sender: No OFD packet to send [16:53:44]accept exits with 8 [16:53:44]New connection [16:53:44]New thread 3066621284 created [16:53:44]Thread 3066764644 joined [16:53:44]Waiting for new connection... [16:53:44] Sock 8.Parse request [16:53:44]Sock 8.Check first char [16:53:44]Sock 8.First char is OK [16:53:44]request: POST /json_proto HTTP/1.0 [16:53:44]Method: POST [16:53:44]URL: /json_proto [16:53:44]Method is POST - this is cgi request [16:53:44]url: /json_proto [16:53:44]query_string will be loaded in cgi processing [16:53:44]execute_cgi json_proto POST (null) [16:53:44]execute_cgi path=json_proto method=POST [16:53:44]POST find Content-Length [16:53:44]Host: 172.17.62.196:8080 [16:53:44]Content-Length: 639 [16:53:44]Content-Type: application/json [16:53:44] [16:53:44]POST finish read [16:53:44]Found Content-Length = 639 [16:53:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16891", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:53:44]execute_script... [16:53:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16891", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:53:44]POST & json_proto [16:53:44]process_json_proto [16:53:44]json parsed OK: [16:53:44]protocol is kg_v1.0 [16:53:44]action value=close_receipt [16:53:44]process_action close_receipt [16:53:44]cmd_close_receipt [16:53:44]MH_GetDate [16:53:44]Write to MH i2c: F0 00 00 A7 0B A1 [16:53:44]Write i2c OK [16:53:44]MH_I2C_Read... [16:53:44]Read from MH i2c: F0 [16:53:44]MH_I2C_Read... [16:53:44]Read from MH i2c: F0 09 00 [16:53:44]MH_I2C_Read... [16:53:44]Read from MH i2c: F0 09 00 A7 0B 00 1A 40 F4 66 CE CC 0E 66 6C [16:53:44]GetLastDocTimeStamp 1727281914 [16:53:44]current date 1727283226 [16:53:44]FM_GetShiftState [16:53:44]SAM_PROTO_GetShiftState [16:53:44]wFMCommunicate request_size=4 [16:53:44]MH_SAM_APDU [16:53:44]CAPDU: 80 13 01 00 [16:53:44]Write to MH i2c: E2 08 00 A8 0B 80 13 01 00 00 00 00 00 30 [16:53:44]Write i2c OK [16:53:44]MH_I2C_Read... [16:53:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:53:44]Read from MH i2c: E2 [16:53:44]MH_I2C_Read... [16:53:44]Read from MH i2c: E2 0E 00 [16:53:44]MH_I2C_Read... [16:53:44]Read from MH i2c: E2 0E 00 A8 0B 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 1D [16:53:44]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [16:53:44]wFMCommunicate OK [16:53:44]SAM_PROTO_GetShiftState done [16:53:44]FM_GetShiftState done [16:53:44]opened in 1727223091 [16:53:44]opened+sec_in_day 1727309491 [16:53:44]quantity*price = 18000 [16:53:44]sum+1 = 18001 [16:53:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 180.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 50 25.09.2024 16:53 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18972 ФПД: 156137596543372 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T165346&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18972&fm=156137596543372&tin=02508201610067®Number=0000000000152968&sum=18000 0 [16:53:45]StoreToDocumentArchive [16:53:45]shift 183 fd 18972 [16:53:45]save to /storage/0183/doc_00018972 [16:53:45]save last doc name /storage/0183/doc_00018972 to /storage/kkm_last_doc_name [16:53:45]save OK [16:53:45]Clear old archive folders... [16:53:45]ProcessDocumentItem done err = 0, tmpTLVsize=272 [16:53:45]tlvbuf is 015FEA50 [16:53:45]SAM_PROTO_ClearQueue [16:53:45]wFMCommunicate request_size=4 [16:53:45]MH_SAM_APDU [16:53:45]CAPDU: 80 09 00 00 [16:53:45]Write to MH i2c: E2 08 00 B5 0B 80 09 00 00 00 00 00 00 32 [16:53:45]Write i2c OK [16:53:45]MH_I2C_Read... [16:53:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:53:45]Read from MH i2c: E2 [16:53:45]MH_I2C_Read... [16:53:45]Read from MH i2c: E2 03 00 [16:53:45]MH_I2C_Read... [16:53:45]Read from MH i2c: E2 03 00 B5 0B 00 90 00 34 [16:53:45]RAPDU: 90 00 [16:53:45]wFMCommunicate OK [16:53:45]SAM_PROTO_ClearQueue done [16:53:45]KKMCreateOFDPacket [16:53:45]OFDProtocolAddRootSTLVToBuf [16:53:45]FM_MakeSignedData [16:53:45]FM_MakeSignedData [16:53:45]SAM_PROTO_SignData [16:53:45]wFMCommunicate request_size=4 [16:53:45]MH_SAM_APDU [16:53:45]CAPDU: 80 0D 01 02 [16:53:45]Write to MH i2c: E2 08 00 B6 0B 80 0D 01 02 00 00 00 00 3A [16:53:45]Write i2c OK [16:53:45]MH_I2C_Read... [16:53:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:53:45]Read from MH i2c: E2 [16:53:45]MH_I2C_Read... [16:53:45]Read from MH i2c: E2 03 00 [16:53:45]MH_I2C_Read... [16:53:45]Read from MH i2c: E2 03 00 B6 0B 00 90 00 35 [16:53:45]RAPDU: 90 00 [16:53:45]wFMCommunicate OK [16:53:45]wFMCommunicate request_size=255 [16:53:45]MH_SAM_APDU [16:53:45]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 1A 40 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 [16:53:45]Write to MH i2c: E2 02 01 B7 0B 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 1A 40 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 BA [16:53:45]Write i2c OK [16:53:45]MH_I2C_Read... [16:53:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:53:46]Read from MH i2c: E2 [16:53:46]MH_I2C_Read... [16:53:46]Read from MH i2c: E2 03 00 [16:53:46]MH_I2C_Read... [16:53:46]Read from MH i2c: E2 03 00 B7 0B 00 90 00 36 [16:53:46]RAPDU: 90 00 [16:53:46]wFMCommunicate OK [16:53:46]wFMCommunicate request_size=31 [16:53:46]MH_SAM_APDU [16:53:46]CAPDU: 80 0D 02 02 1A 30 30 39 35 39 34 35 36 10 04 04 00 1C 4A 00 00 35 04 06 00 8E 01 9D FA 61 8C [16:53:46]Write to MH i2c: E2 22 00 B8 0B 80 0D 02 02 1A 00 30 30 39 35 39 34 35 36 10 04 04 00 1C 4A 00 00 35 04 06 00 8E 01 9D FA 61 8C 00 00 E7 [16:53:46]Write i2c OK [16:53:46]MH_I2C_Read... [16:53:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:53:46]Read from MH i2c: E2 [16:53:46]MH_I2C_Read... [16:53:46]Read from MH i2c: E2 03 00 [16:53:46]MH_I2C_Read... [16:53:46]Read from MH i2c: E2 03 00 B8 0B 00 90 00 37 [16:53:46]RAPDU: 90 00 [16:53:46]wFMCommunicate OK [16:53:46]wFMCommunicate request_size=4 [16:53:46]MH_SAM_APDU [16:53:46]CAPDU: 80 0D 03 02 [16:53:46]Write to MH i2c: E2 08 00 B9 0B 80 0D 03 02 00 00 00 00 3F [16:53:46]Write i2c OK [16:53:46]MH_I2C_Read... [16:53:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:53:46]Read from MH i2c: E2 [16:53:46]MH_I2C_Read... [16:53:46]Read from MH i2c: E2 0B 00 [16:53:46]MH_I2C_Read... [16:53:46]Read from MH i2c: E2 0B 00 B9 0B 00 F1 C4 E5 45 BD 51 22 08 90 00 57 [16:53:46]RAPDU: F1 C4 E5 45 BD 51 22 08 90 00 [16:53:46]wFMCommunicate OK [16:53:46]SAM_PROTO_SignData done [16:53:46]FM_MakeSignedData done [16:53:46]CreateOFDProtocolMessage [16:53:46]wFMCommunicate request_size=4 [16:53:46]MH_SAM_APDU [16:53:46]CAPDU: 80 11 00 00 [16:53:46]Write to MH i2c: E2 08 00 BA 0B 80 11 00 00 00 00 00 00 3F [16:53:46]Write i2c OK [16:53:46]MH_I2C_Read... [16:53:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:53:46]Read from MH i2c: E2 [16:53:46]MH_I2C_Read... [16:53:46]Read from MH i2c: E2 17 00 [16:53:46]MH_I2C_Read... [16:53:46]Read from MH i2c: E2 17 00 BA 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 98 [16:53:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [16:53:46]wFMCommunicate OK [16:53:46]CreateOFDProtocolMessage done [16:53:46]OFDSenderStorePacket 18972 [16:53:46]StoreOFDPacket docnum=18972 [16:53:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 24 01 00 00 52 36 1C 01 81 B0 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 1A 40 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1C 4A 00 00 35 04 06 00 8E 01 9D FA 61 8C F1 C4 E5 45 BD 51 22 08 [16:53:46]CheckFolder [16:53:46]dirname=/storage/ofd_packets [16:53:46]CheckFolder done [16:53:46]ProducePacketName [16:53:46]name=ofd_packets/00018972 [16:53:46]NVStorageSaveData ofd_packets/00018972 [16:53:46]File name is /storage/ofd_packets/00018972 [16:53:46]Write 322 bytes [16:53:46]NVStorageSaveData done [16:53:46]OFDSenderStorePacket done [16:53:46]KKMCreateOFDPacket done [16:53:46]NVStorageSaveData kkm_last_timestamp [16:53:46]File name is /storage/kkm_last_timestamp [16:53:46]Write 4 bytes [16:53:46]NVStorageSaveData done [16:53:46]ExternCall_PrintAddStr [16:53:46]wPrintStart [16:53:46]Write to MH i2c: 01 00 00 BB 0B C6 [16:53:46]Write i2c OK [16:53:46]MH_I2C_Read... [16:53:46]Read from MH i2c: 01 [16:53:46]MH_I2C_Read... [16:53:46]Read from MH i2c: 01 07 00 [16:53:46]MH_I2C_Read... [16:53:46]Read from MH i2c: 01 07 00 BB 0B 00 00 00 00 00 FF 0F DB [16:53:46]RasterBufferAndPrint [16:53:46]line Счет N : (3)16891 [16:53:46]line ИНН: 02508201610067 [16:53:46]line Контрольно-Кассовый Чек [16:53:46]line ПРОДАЖА [16:53:46]line Товар: 4700000480517 [16:53:46]line Пиво Живое 1л ПЭТ [16:53:46]line 1.000 * 180.00 [16:53:46]line = 180.00 [16:53:46]line НДС 12% НСП 1% [16:53:46]line > о реализуемом товаре [16:53:46]line ИТОГО: 180.00 [16:53:46]line НСП 1% : 1.59 [16:53:46]line НДС 12% : 19.11 [16:53:46]line Наличными: 180.00 [16:53:46]line Безнал.: 0.00 [16:53:46]line Место: АЗС № 176 "Партнер Нефть" [16:53:46]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [16:53:46]line СНО: Общий режим [16:53:46]line Чек 50 25.09.2024 16:53 [16:53:46]line Смена: 183 ФФД: 1.0 [16:53:46]line ЗНМ: 0300000010 [16:53:46]line РНМ: 0000000000152968 [16:53:46]line Версия ККМ: v1.0 [16:53:46]line ФМ: 0000000000959456 [16:53:46]line ФД: 18972 [16:53:46]line ФПД: 156137596543372 [16:53:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T165346&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18972&fm=156137596543372&tin=02508201610067®Number=0000000000152968&sum=18000 [16:53:46]line 0 [16:53:46]OFD Sender: Processing packet 18972 [packets to send 7, broken 6] [16:53:46]ProducePacketName [16:53:46]name=ofd_packets/00018972 [16:53:46]OFD Sender: To server: pG, [16:53:46]CommunicateWithHost lk.salyk.kg:30040 [16:53:46]ConnectInit lk.salyk.kg [16:53:46]written 0, free lines is 4095 [16:53:46]Connected sock=10 [16:53:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 24 01 00 00 52 36 1C 01 81 B0 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 1A 40 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1C 4A 00 00 35 04 06 00 8E 01 9D FA 61 8C F1 C4 E5 45 BD 51 22 08 [16:53:47]Write to MH i2c: 01 00 00 E3 0B EE [16:53:47]Write i2c OK [16:53:47]MH_I2C_Read... [16:53:47]Read from MH i2c: 01 [16:53:47]MH_I2C_Read... [16:53:47]Read from MH i2c: 01 07 00 [16:53:47]MH_I2C_Read... [16:53:47]Read from MH i2c: 01 07 00 E3 0B 00 00 00 00 00 21 0D 23 [16:53:47]RasterBufferAndPrint [16:53:47]line [16:53:47]line [16:53:47]line [16:53:47]line [16:53:47]line [16:53:47]written 0, free lines is 3370 [16:53:47]MH_Cut [16:53:47]Write to MH i2c: D1 01 00 EA 0B 01 C7 [16:53:47]Write i2c OK [16:53:47]MH_I2C_Read... [16:53:47]Read from MH i2c: D1 [16:53:47]MH_I2C_Read... [16:53:47]Read from MH i2c: D1 01 00 [16:53:47]MH_I2C_Read... [16:53:47]Read from MH i2c: D1 01 00 EA 0B 00 C6 [16:53:47]Write to MH i2c: 01 00 00 EB 0B F6 [16:53:47]Write i2c OK [16:53:47]MH_I2C_Read... [16:53:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 46 DD 47 00 F6 56 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1C 4A 00 00 F4 03 04 00 77 E9 F3 66 B6 04 01 00 00 FD 3A C9 12 F4 D5 07 7B [16:53:47]CommunicateWithHost err = 0 [16:53:47]CheckOFDResponse [16:53:47]1017 (14) - 77093643461234 [16:53:47]1041 (16) - 0000000000959456 [16:53:47]1040 (4) - 18972 [16:53:47]1012 (4) - 25.09.2024 10:44 [16:53:47]1206 (1) - 0 [16:53:47]OFD Sender: Remove packet 18972 [16:53:47]ProducePacketName [16:53:47]name=ofd_packets/00018972 [16:53:47]NVStorageDeleteData [16:53:47]OFD Sender: No OFD packet to send [16:53:47]*** Cut start [16:53:47]*** Partial cut [16:53:47]*** CUTSNS_PIN = 1 [16:53:47]*** CUTSNS_PIN = 0 [16:53:48]*** Brake cut motor [16:53:48]Read from MH i2c: 01 [16:53:48]MH_I2C_Read... [16:53:48]*** Stop cut motor [16:53:48]*** Cut end [16:53:48]Read from MH i2c: 01 07 00 [16:53:48]MH_I2C_Read... [16:53:48]Read from MH i2c: 01 07 00 EB 0B 00 00 00 00 00 FF 0F 0B [16:53:48]process_action close_receipt done [16:53:48]requested_data is exist [16:53:48]produce_requested_data [16:53:48]requested_item fm.sn is exist - process it [16:53:48]wFMCommunicate request_size=4 [16:53:48]MH_SAM_APDU [16:53:48]CAPDU: 80 11 00 00 [16:53:48]Write to MH i2c: E2 08 00 EC 0B 80 11 00 00 00 00 00 00 71 [16:53:48]Write i2c OK [16:53:48]MH_I2C_Read... [16:53:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:53:48]Read from MH i2c: E2 [16:53:48]MH_I2C_Read... [16:53:48]Read from MH i2c: E2 17 00 [16:53:48]MH_I2C_Read... [16:53:48]Read from MH i2c: E2 17 00 EC 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 CA [16:53:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [16:53:48]wFMCommunicate OK [16:53:48]requested_item fd.num is exist - process it [16:53:48]SAM_PROTO_GetFieldsCounters [16:53:48]wFMCommunicate request_size=4 [16:53:48]MH_SAM_APDU [16:53:48]CAPDU: 80 13 00 00 [16:53:48]Write to MH i2c: E2 08 00 ED 0B 80 13 00 00 00 00 00 00 74 [16:53:48]Write i2c OK [16:53:48]MH_I2C_Read... [16:53:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:53:48]Read from MH i2c: E2 [16:53:48]MH_I2C_Read... [16:53:48]Read from MH i2c: E2 62 00 [16:53:48]MH_I2C_Read... [16:53:48]Read from MH i2c: E2 62 00 ED 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 1C 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 54 [16:53:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 1C 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:53:48]wFMCommunicate OK [16:53:48]SAM_PROTO_GetFieldsCounters done [16:53:48]requested_item shift.num is exist - process it [16:53:48]requested_item shift.opened is exist - process it [16:53:48]req_shift_opened [16:53:48]FM_GetShiftState [16:53:48]SAM_PROTO_GetShiftState [16:53:48]wFMCommunicate request_size=4 [16:53:48]MH_SAM_APDU [16:53:48]CAPDU: 80 13 01 00 [16:53:48]Write to MH i2c: E2 08 00 EE 0B 80 13 01 00 00 00 00 00 76 [16:53:48]Write i2c OK [16:53:48]MH_I2C_Read... [16:53:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:53:48]Read from MH i2c: E2 [16:53:48]MH_I2C_Read... [16:53:48]Read from MH i2c: E2 0E 00 [16:53:48]MH_I2C_Read... [16:53:48]Read from MH i2c: E2 0E 00 EE 0B 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 63 [16:53:48]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [16:53:48]wFMCommunicate OK [16:53:48]SAM_PROTO_GetShiftState done [16:53:48]FM_GetShiftState done [16:53:48]req_shift_opened done [16:53:48]requested_item shift.open_date is exist - process it [16:53:48]req_shift_open_date [16:53:48]req_shift_open_date done [16:53:48]produce_requested_data done [16:53:48]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18972,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [16:53:48]process_action_free close_receipt [16:53:48]json_value_free [16:53:48]json_value_free done [16:53:48]process_json_proto returns [16:53:48]Send response to host [16:53:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18972,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [16:53:48]free response buf [16:53:48]execute_script done [16:53:48]execute_script returns [16:53:48]free content buf [16:53:48]Sock 8.Close socket [16:53:48]Sock 8.Thread stoped [16:53:52]OFD Sender: No OFD packet to send [16:53:57]OFD Sender: No OFD packet to send [16:54:02]OFD Sender: No OFD packet to send [16:54:07]OFD Sender: No OFD packet to send [16:54:12]OFD Sender: No OFD packet to send [16:54:17]OFD Sender: No OFD packet to send [16:54:22]OFD Sender: No OFD packet to send [16:54:27]OFD Sender: No OFD packet to send [16:54:32]OFD Sender: No OFD packet to send [16:54:37]OFD Sender: No OFD packet to send [16:54:42]OFD Sender: No OFD packet to send [16:54:47]OFD Sender: No OFD packet to send [16:54:52]OFD Sender: No OFD packet to send [16:54:57]OFD Sender: No OFD packet to send [16:55:02]OFD Sender: No OFD packet to send [16:55:07]OFD Sender: No OFD packet to send [16:55:12]OFD Sender: No OFD packet to send [16:55:17]OFD Sender: No OFD packet to send [16:55:22]OFD Sender: No OFD packet to send [16:55:27]OFD Sender: No OFD packet to send [16:55:32]OFD Sender: No OFD packet to send [16:55:37]OFD Sender: No OFD packet to send [16:55:42]OFD Sender: No OFD packet to send [16:55:47]OFD Sender: No OFD packet to send [16:55:52]OFD Sender: No OFD packet to send [16:55:57]OFD Sender: No OFD packet to send [16:56:02]OFD Sender: No OFD packet to send [16:56:07]OFD Sender: No OFD packet to send [16:56:12]OFD Sender: No OFD packet to send [16:56:17]OFD Sender: No OFD packet to send [16:56:22]OFD Sender: No OFD packet to send [16:56:27]OFD Sender: No OFD packet to send [16:56:32]OFD Sender: No OFD packet to send [16:56:37]OFD Sender: No OFD packet to send [16:56:42]OFD Sender: No OFD packet to send [16:56:47]OFD Sender: No OFD packet to send [16:56:52]OFD Sender: No OFD packet to send [16:56:57]OFD Sender: No OFD packet to send [16:57:02]OFD Sender: No OFD packet to send [16:57:07]OFD Sender: No OFD packet to send [16:57:12]OFD Sender: No OFD packet to send [16:57:17]OFD Sender: No OFD packet to send [16:57:22]OFD Sender: No OFD packet to send [16:57:27]OFD Sender: No OFD packet to send [16:57:32]OFD Sender: No OFD packet to send [16:57:37]OFD Sender: No OFD packet to send [16:57:42]OFD Sender: No OFD packet to send [16:57:47]OFD Sender: No OFD packet to send [16:57:52]OFD Sender: No OFD packet to send [16:57:57]OFD Sender: No OFD packet to send [16:58:02]OFD Sender: No OFD packet to send [16:58:07]OFD Sender: No OFD packet to send [16:58:12]OFD Sender: No OFD packet to send [16:58:17]OFD Sender: No OFD packet to send [16:58:22]OFD Sender: No OFD packet to send [16:58:27]OFD Sender: No OFD packet to send [16:58:32]OFD Sender: No OFD packet to send [16:58:37]OFD Sender: No OFD packet to send [16:58:42]OFD Sender: No OFD packet to send [16:58:47]OFD Sender: No OFD packet to send [16:58:52]OFD Sender: No OFD packet to send [16:58:57]OFD Sender: No OFD packet to send [16:59:02]OFD Sender: No OFD packet to send [16:59:08]OFD Sender: No OFD packet to send [16:59:13]OFD Sender: No OFD packet to send [16:59:18]OFD Sender: No OFD packet to send [16:59:23]OFD Sender: No OFD packet to send [16:59:28]OFD Sender: No OFD packet to send [16:59:33]OFD Sender: No OFD packet to send [16:59:38]OFD Sender: No OFD packet to send [16:59:43]OFD Sender: No OFD packet to send [16:59:48]OFD Sender: No OFD packet to send [16:59:53]OFD Sender: No OFD packet to send [16:59:58]OFD Sender: No OFD packet to send [17:00:03]OFD Sender: No OFD packet to send [17:00:08]OFD Sender: No OFD packet to send [17:00:13]OFD Sender: No OFD packet to send [17:00:18]OFD Sender: No OFD packet to send [17:00:23]OFD Sender: No OFD packet to send [17:00:28]OFD Sender: No OFD packet to send [17:00:33]OFD Sender: No OFD packet to send [17:00:38]OFD Sender: No OFD packet to send [17:00:43]OFD Sender: No OFD packet to send [17:00:48]OFD Sender: No OFD packet to send [17:00:53]OFD Sender: No OFD packet to send [17:00:58]OFD Sender: No OFD packet to send [17:01:03]OFD Sender: No OFD packet to send [17:01:08]OFD Sender: No OFD packet to send [17:01:13]OFD Sender: No OFD packet to send [17:01:18]OFD Sender: No OFD packet to send [17:01:23]OFD Sender: No OFD packet to send [17:01:28]OFD Sender: No OFD packet to send [17:01:33]OFD Sender: No OFD packet to send [17:01:38]OFD Sender: No OFD packet to send [17:01:43]OFD Sender: No OFD packet to send [17:01:48]OFD Sender: No OFD packet to send [17:01:53]OFD Sender: No OFD packet to send [17:01:58]OFD Sender: No OFD packet to send [17:02:03]OFD Sender: No OFD packet to send [17:02:08]OFD Sender: No OFD packet to send [17:02:13]OFD Sender: No OFD packet to send [17:02:18]OFD Sender: No OFD packet to send [17:02:23]OFD Sender: No OFD packet to send [17:02:28]OFD Sender: No OFD packet to send [17:02:33]OFD Sender: No OFD packet to send [17:02:38]OFD Sender: No OFD packet to send [17:02:43]OFD Sender: No OFD packet to send [17:02:48]OFD Sender: No OFD packet to send [17:02:53]OFD Sender: No OFD packet to send [17:02:58]OFD Sender: No OFD packet to send [17:03:03]OFD Sender: No OFD packet to send [17:03:08]OFD Sender: No OFD packet to send [17:03:13]OFD Sender: No OFD packet to send [17:03:18]OFD Sender: No OFD packet to send [17:03:23]OFD Sender: No OFD packet to send [17:03:28]OFD Sender: No OFD packet to send [17:03:33]OFD Sender: No OFD packet to send [17:03:38]OFD Sender: No OFD packet to send [17:03:43]OFD Sender: No OFD packet to send [17:03:48]OFD Sender: No OFD packet to send [17:03:53]OFD Sender: No OFD packet to send [17:03:58]OFD Sender: No OFD packet to send [17:04:03]OFD Sender: No OFD packet to send [17:04:08]OFD Sender: No OFD packet to send [17:04:13]OFD Sender: No OFD packet to send [17:04:18]OFD Sender: No OFD packet to send [17:04:23]OFD Sender: No OFD packet to send [17:04:28]OFD Sender: No OFD packet to send [17:04:33]OFD Sender: No OFD packet to send [17:04:38]OFD Sender: No OFD packet to send [17:04:43]OFD Sender: No OFD packet to send [17:04:48]OFD Sender: No OFD packet to send [17:04:53]OFD Sender: No OFD packet to send [17:04:58]OFD Sender: No OFD packet to send [17:05:03]OFD Sender: No OFD packet to send [17:05:08]OFD Sender: No OFD packet to send [17:05:13]OFD Sender: No OFD packet to send [17:05:18]OFD Sender: No OFD packet to send [17:05:23]OFD Sender: No OFD packet to send [17:05:28]OFD Sender: No OFD packet to send [17:05:33]OFD Sender: No OFD packet to send [17:05:38]OFD Sender: No OFD packet to send [17:05:43]OFD Sender: No OFD packet to send [17:05:48]OFD Sender: No OFD packet to send [17:05:53]OFD Sender: No OFD packet to send [17:05:58]OFD Sender: No OFD packet to send [17:06:03]OFD Sender: No OFD packet to send [17:06:08]OFD Sender: No OFD packet to send [17:06:13]OFD Sender: No OFD packet to send [17:06:18]OFD Sender: No OFD packet to send [17:06:23]OFD Sender: No OFD packet to send [17:06:28]OFD Sender: No OFD packet to send [17:06:33]OFD Sender: No OFD packet to send [17:06:38]OFD Sender: No OFD packet to send [17:06:43]OFD Sender: No OFD packet to send [17:06:48]OFD Sender: No OFD packet to send [17:06:53]OFD Sender: No OFD packet to send [17:06:58]OFD Sender: No OFD packet to send [17:07:03]OFD Sender: No OFD packet to send [17:07:08]OFD Sender: No OFD packet to send [17:07:13]OFD Sender: No OFD packet to send [17:07:18]OFD Sender: No OFD packet to send [17:07:23]OFD Sender: No OFD packet to send [17:07:28]OFD Sender: No OFD packet to send [17:07:33]OFD Sender: No OFD packet to send [17:07:38]OFD Sender: No OFD packet to send [17:07:43]OFD Sender: No OFD packet to send [17:07:48]OFD Sender: No OFD packet to send [17:07:53]OFD Sender: No OFD packet to send [17:07:58]OFD Sender: No OFD packet to send [17:08:03]OFD Sender: No OFD packet to send [17:08:08]OFD Sender: No OFD packet to send [17:08:13]OFD Sender: No OFD packet to send [17:08:18]OFD Sender: No OFD packet to send [17:08:23]OFD Sender: No OFD packet to send [17:08:28]OFD Sender: No OFD packet to send [17:08:33]OFD Sender: No OFD packet to send [17:08:38]OFD Sender: No OFD packet to send [17:08:43]OFD Sender: No OFD packet to send [17:08:48]OFD Sender: No OFD packet to send [17:08:53]OFD Sender: No OFD packet to send [17:08:58]OFD Sender: No OFD packet to send [17:09:03]OFD Sender: No OFD packet to send [17:09:08]OFD Sender: No OFD packet to send [17:09:13]OFD Sender: No OFD packet to send [17:09:18]OFD Sender: No OFD packet to send [17:09:23]OFD Sender: No OFD packet to send [17:09:28]OFD Sender: No OFD packet to send [17:09:33]OFD Sender: No OFD packet to send [17:09:38]OFD Sender: No OFD packet to send [17:09:43]OFD Sender: No OFD packet to send [17:09:48]OFD Sender: No OFD packet to send [17:09:53]OFD Sender: No OFD packet to send [17:09:58]OFD Sender: No OFD packet to send [17:10:03]OFD Sender: No OFD packet to send [17:10:08]OFD Sender: No OFD packet to send [17:10:13]OFD Sender: No OFD packet to send [17:10:18]OFD Sender: No OFD packet to send [17:10:23]OFD Sender: No OFD packet to send [17:10:28]OFD Sender: No OFD packet to send [17:10:33]OFD Sender: No OFD packet to send [17:10:38]OFD Sender: No OFD packet to send [17:10:43]OFD Sender: No OFD packet to send [17:10:48]OFD Sender: No OFD packet to send [17:10:53]OFD Sender: No OFD packet to send [17:10:58]OFD Sender: No OFD packet to send [17:11:03]OFD Sender: No OFD packet to send [17:11:08]OFD Sender: No OFD packet to send [17:11:13]OFD Sender: No OFD packet to send [17:11:18]OFD Sender: No OFD packet to send [17:11:23]OFD Sender: No OFD packet to send [17:11:28]OFD Sender: No OFD packet to send [17:11:33]OFD Sender: No OFD packet to send [17:11:38]OFD Sender: No OFD packet to send [17:11:43]OFD Sender: No OFD packet to send [17:11:48]OFD Sender: No OFD packet to send [17:11:53]OFD Sender: No OFD packet to send [17:11:58]OFD Sender: No OFD packet to send [17:12:03]OFD Sender: No OFD packet to send [17:12:08]OFD Sender: No OFD packet to send [17:12:13]OFD Sender: No OFD packet to send [17:12:18]OFD Sender: No OFD packet to send [17:12:23]OFD Sender: No OFD packet to send [17:12:28]OFD Sender: No OFD packet to send [17:12:33]OFD Sender: No OFD packet to send [17:12:38]OFD Sender: No OFD packet to send [17:12:43]OFD Sender: No OFD packet to send [17:12:48]OFD Sender: No OFD packet to send [17:12:53]OFD Sender: No OFD packet to send [17:12:58]OFD Sender: No OFD packet to send [17:13:03]OFD Sender: No OFD packet to send [17:13:08]OFD Sender: No OFD packet to send [17:13:13]OFD Sender: No OFD packet to send [17:13:18]OFD Sender: No OFD packet to send [17:13:23]OFD Sender: No OFD packet to send [17:13:28]OFD Sender: No OFD packet to send [17:13:33]OFD Sender: No OFD packet to send [17:13:38]OFD Sender: No OFD packet to send [17:13:43]OFD Sender: No OFD packet to send [17:13:48]OFD Sender: No OFD packet to send [17:13:53]OFD Sender: No OFD packet to send [17:13:58]OFD Sender: No OFD packet to send [17:14:03]OFD Sender: No OFD packet to send [17:14:08]OFD Sender: No OFD packet to send [17:14:13]OFD Sender: No OFD packet to send [17:14:18]OFD Sender: No OFD packet to send [17:14:23]OFD Sender: No OFD packet to send [17:14:28]OFD Sender: No OFD packet to send [17:14:33]OFD Sender: No OFD packet to send [17:14:38]OFD Sender: No OFD packet to send [17:14:43]OFD Sender: No OFD packet to send [17:14:48]OFD Sender: No OFD packet to send [17:14:53]OFD Sender: No OFD packet to send [17:14:58]OFD Sender: No OFD packet to send [17:15:03]OFD Sender: No OFD packet to send [17:15:08]OFD Sender: No OFD packet to send [17:15:13]OFD Sender: No OFD packet to send [17:15:18]OFD Sender: No OFD packet to send [17:15:23]OFD Sender: No OFD packet to send [17:15:28]OFD Sender: No OFD packet to send [17:15:33]OFD Sender: No OFD packet to send [17:15:38]OFD Sender: No OFD packet to send [17:15:43]OFD Sender: No OFD packet to send [17:15:48]OFD Sender: No OFD packet to send [17:15:53]OFD Sender: No OFD packet to send [17:15:58]OFD Sender: No OFD packet to send [17:16:03]OFD Sender: No OFD packet to send [17:16:08]OFD Sender: No OFD packet to send [17:16:13]OFD Sender: No OFD packet to send [17:16:18]OFD Sender: No OFD packet to send [17:16:23]OFD Sender: No OFD packet to send [17:16:28]OFD Sender: No OFD packet to send [17:16:33]OFD Sender: No OFD packet to send [17:16:38]OFD Sender: No OFD packet to send [17:16:43]OFD Sender: No OFD packet to send [17:16:48]OFD Sender: No OFD packet to send [17:16:53]OFD Sender: No OFD packet to send [17:16:58]OFD Sender: No OFD packet to send [17:17:00]accept exits with 9 [17:17:00]New connection [17:17:00]New thread 3066764644 created [17:17:00]Thread 3066621284 joined [17:17:00]Waiting for new connection... [17:17:00] Sock 9.Parse request [17:17:00]Sock 9.Check first char [17:17:00]Sock 9.First char is OK [17:17:00]request: POST /json_proto HTTP/1.0 [17:17:00]Method: POST [17:17:00]URL: /json_proto [17:17:00]Method is POST - this is cgi request [17:17:00]url: /json_proto [17:17:00]query_string will be loaded in cgi processing [17:17:00]execute_cgi json_proto POST (null) [17:17:00]execute_cgi path=json_proto method=POST [17:17:00]POST find Content-Length [17:17:00]Host: 172.17.62.196:8080 [17:17:00]Content-Length: 1277 [17:17:00]Content-Type: application/json [17:17:00] [17:17:00]POST finish read [17:17:00]Found Content-Length = 1277 [17:17:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16892", "tax_sys" : 0, "items" : [ { "code": "4700001060473", "name": "\u041D\u0430\u0441\u0442\u043E\u0439\u043A\u0430 \u0412\u0438\u0448\u043D\u044F \u043D\u0430 \u043A\u043E\u043D\u044C\u044F\u043A\u0435 0,5\u043B", "price" : 430.00, "quantity" : 1.000, "sum" : 430.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870215621972", "name": "\u0412\u043E\u0434\u043A\u0430 \u0417\u041E\u041B\u041E\u0422\u041E \u041A\u042B\u0420\u0413\u042B\u0417\u0421\u0422\u0410\u041D\u0410 0,50L", "price" : 520.00, "quantity" : 1.000, "sum" : 520.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 985.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:17:00]execute_script... [17:17:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16892", "tax_sys" : 0, "items" : [ { "code": "4700001060473", "name": "\u041D\u0430\u0441\u0442\u043E\u0439\u043A\u0430 \u0412\u0438\u0448\u043D\u044F \u043D\u0430 \u043A\u043E\u043D\u044C\u044F\u043A\u0435 0,5\u043B", "price" : 430.00, "quantity" : 1.000, "sum" : 430.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870215621972", "name": "\u0412\u043E\u0434\u043A\u0430 \u0417\u041E\u041B\u041E\u0422\u041E \u041A\u042B\u0420\u0413\u042B\u0417\u0421\u0422\u0410\u041D\u0410 0,50L", "price" : 520.00, "quantity" : 1.000, "sum" : 520.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 985.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:17:00]POST & json_proto [17:17:00]process_json_proto [17:17:00]json parsed OK: [17:17:00]protocol is kg_v1.0 [17:17:00]action value=close_receipt [17:17:00]process_action close_receipt [17:17:00]cmd_close_receipt [17:17:00]MH_GetDate [17:17:00]Write to MH i2c: F0 00 00 EF 0B E9 [17:17:00]Write i2c OK [17:17:00]MH_I2C_Read... [17:17:00]Read from MH i2c: F0 [17:17:00]MH_I2C_Read... [17:17:00]Read from MH i2c: F0 09 00 [17:17:00]MH_I2C_Read... [17:17:00]Read from MH i2c: F0 09 00 EF 0B 00 8E 45 F4 66 CE CC 0E 66 2D [17:17:00]GetLastDocTimeStamp 1727283226 [17:17:00]current date 1727284622 [17:17:00]FM_GetShiftState [17:17:00]SAM_PROTO_GetShiftState [17:17:00]wFMCommunicate request_size=4 [17:17:00]MH_SAM_APDU [17:17:00]CAPDU: 80 13 01 00 [17:17:00]Write to MH i2c: E2 08 00 F0 0B 80 13 01 00 00 00 00 00 78 [17:17:00]Write i2c OK [17:17:00]MH_I2C_Read... [17:17:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:17:00]Read from MH i2c: E2 [17:17:00]MH_I2C_Read... [17:17:00]Read from MH i2c: E2 0E 00 [17:17:00]MH_I2C_Read... [17:17:00]Read from MH i2c: E2 0E 00 F0 0B 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 65 [17:17:00]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [17:17:00]wFMCommunicate OK [17:17:00]SAM_PROTO_GetShiftState done [17:17:00]FM_GetShiftState done [17:17:00]opened in 1727223091 [17:17:00]opened+sec_in_day 1727309491 [17:17:00]quantity*price = 43000 [17:17:00]sum+1 = 43001 [17:17:00]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870215621972 Водка ЗОЛОТО КЫРГЫЗСТАНА 0,50L 1.000 * 520.00 = 520.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000310326 Вода Адыгене 1л б/г 1.000 * 35.00 = 35.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 985.00 НСП 1% : 8.71 НДС 12% : 104.60 Наличными: 985.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 51 25.09.2024 17:17 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18973 ФПД: 50130749553539 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T171702&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18973&fm=50130749553539&tin=02508201610067®Number=0000000000152968&sum=98500 0 [17:17:01]StoreToDocumentArchive [17:17:01]shift 183 fd 18973 [17:17:01]save to /storage/0183/doc_00018973 [17:17:01]save last doc name /storage/0183/doc_00018973 to /storage/kkm_last_doc_name [17:17:01]save OK [17:17:01]Clear old archive folders... [17:17:01]ProcessDocumentItem done err = 0, tmpTLVsize=524 [17:17:01]tlvbuf is 015DEA80 [17:17:01]SAM_PROTO_ClearQueue [17:17:01]wFMCommunicate request_size=4 [17:17:01]MH_SAM_APDU [17:17:01]CAPDU: 80 09 00 00 [17:17:01]Write to MH i2c: E2 08 00 FD 0B 80 09 00 00 00 00 00 00 7A [17:17:01]Write i2c OK [17:17:01]MH_I2C_Read... [17:17:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:17:01]Read from MH i2c: E2 [17:17:01]MH_I2C_Read... [17:17:01]Read from MH i2c: E2 03 00 [17:17:01]MH_I2C_Read... [17:17:01]Read from MH i2c: E2 03 00 FD 0B 00 90 00 7C [17:17:01]RAPDU: 90 00 [17:17:01]wFMCommunicate OK [17:17:01]SAM_PROTO_ClearQueue done [17:17:01]KKMCreateOFDPacket [17:17:01]OFDProtocolAddRootSTLVToBuf [17:17:01]FM_MakeSignedData [17:17:01]FM_MakeSignedData [17:17:01]SAM_PROTO_SignData [17:17:01]wFMCommunicate request_size=4 [17:17:01]MH_SAM_APDU [17:17:01]CAPDU: 80 0D 01 02 [17:17:01]Write to MH i2c: E2 08 00 FE 0B 80 0D 01 02 00 00 00 00 82 [17:17:01]Write i2c OK [17:17:01]MH_I2C_Read... [17:17:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:17:01]Read from MH i2c: E2 [17:17:01]MH_I2C_Read... [17:17:01]Read from MH i2c: E2 03 00 [17:17:01]MH_I2C_Read... [17:17:01]Read from MH i2c: E2 03 00 FE 0B 00 90 00 7D [17:17:01]RAPDU: 90 00 [17:17:01]wFMCommunicate OK [17:17:01]wFMCommunicate request_size=255 [17:17:01]MH_SAM_APDU [17:17:01]CAPDU: 80 0D 02 02 FA 03 00 0C 02 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 34 37 33 06 04 35 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 92 D0 B8 D1 88 D0 BD D1 8F 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 A7 00 00 00 00 13 04 06 00 F8 A7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 31 35 36 32 31 39 37 32 06 04 34 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 9E D0 9B D0 9E D0 A2 D0 9E 20 D0 9A D0 AB D0 A0 D0 93 D0 AB D0 97 D0 A1 D0 A2 D0 90 D0 9D D0 90 20 30 2C 35 30 4C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 CB 00 00 00 00 13 04 06 00 20 CB 00 00 00 00 F2 03 01 00 01 F6 03 [17:17:01]Write to MH i2c: E2 02 01 FF 0B 80 0D 02 02 FA 00 03 00 0C 02 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 34 37 33 06 04 35 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 92 D0 B8 D1 88 D0 BD D1 8F 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 A7 00 00 00 00 13 04 06 00 F8 A7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 31 35 36 32 31 39 37 32 06 04 34 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 9E D0 9B D0 9E D0 A2 D0 9E 20 D0 9A D0 AB D0 A0 D0 93 D0 AB D0 97 D0 A1 D0 A2 D0 90 D0 9D D0 90 20 30 2C 35 30 4C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 CB 00 00 00 00 13 04 06 00 20 CB 00 00 00 00 F2 03 01 00 01 F6 03 00 00 5A [17:17:01]Write i2c OK [17:17:01]MH_I2C_Read... [17:17:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:17:02]Read from MH i2c: E2 [17:17:02]MH_I2C_Read... [17:17:02]Read from MH i2c: E2 03 00 [17:17:02]MH_I2C_Read... [17:17:02]Read from MH i2c: E2 03 00 FF 0B 00 90 00 7E [17:17:02]RAPDU: 90 00 [17:17:02]wFMCommunicate OK [17:17:02]wFMCommunicate request_size=255 [17:17:02]MH_SAM_APDU [17:17:02]CAPDU: 80 0D 02 02 FA 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 80 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 28 00 00 00 00 07 04 06 00 C4 80 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 8E 45 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 [17:17:02]Write to MH i2c: E2 02 01 00 0C 80 0D 02 02 FA 00 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 80 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 28 00 00 00 00 07 04 06 00 C4 80 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 8E 45 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 00 00 34 [17:17:02]Write i2c OK [17:17:02]MH_I2C_Read... [17:17:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:17:02]Read from MH i2c: E2 [17:17:02]MH_I2C_Read... [17:17:02]Read from MH i2c: E2 03 00 [17:17:02]MH_I2C_Read... [17:17:02]Read from MH i2c: E2 03 00 00 0C 00 90 00 80 [17:17:02]RAPDU: 90 00 [17:17:02]wFMCommunicate OK [17:17:02]wFMCommunicate request_size=33 [17:17:02]MH_SAM_APDU [17:17:02]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1D 4A 00 00 35 04 06 00 2D 97 F9 84 FB 83 [17:17:02]Write to MH i2c: E2 24 00 01 0C 80 0D 02 02 1C 00 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1D 4A 00 00 35 04 06 00 2D 97 F9 84 FB 83 00 00 42 [17:17:02]Write i2c OK [17:17:02]MH_I2C_Read... [17:17:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:17:02]Read from MH i2c: E2 [17:17:02]MH_I2C_Read... [17:17:02]Read from MH i2c: E2 03 00 [17:17:02]MH_I2C_Read... [17:17:02]Read from MH i2c: E2 03 00 01 0C 00 90 00 81 [17:17:02]RAPDU: 90 00 [17:17:02]wFMCommunicate OK [17:17:02]wFMCommunicate request_size=4 [17:17:02]MH_SAM_APDU [17:17:02]CAPDU: 80 0D 03 02 [17:17:02]Write to MH i2c: E2 08 00 02 0C 80 0D 03 02 00 00 00 00 89 [17:17:02]Write i2c OK [17:17:02]MH_I2C_Read... [17:17:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:17:02]Read from MH i2c: E2 [17:17:02]MH_I2C_Read... [17:17:02]Read from MH i2c: E2 0B 00 [17:17:02]MH_I2C_Read... [17:17:02]Read from MH i2c: E2 0B 00 02 0C 00 B0 A7 6C 06 83 71 3E 7A 90 00 FF [17:17:02]RAPDU: B0 A7 6C 06 83 71 3E 7A 90 00 [17:17:02]wFMCommunicate OK [17:17:02]SAM_PROTO_SignData done [17:17:02]FM_MakeSignedData done [17:17:02]CreateOFDProtocolMessage [17:17:02]wFMCommunicate request_size=4 [17:17:02]MH_SAM_APDU [17:17:02]CAPDU: 80 11 00 00 [17:17:02]Write to MH i2c: E2 08 00 03 0C 80 11 00 00 00 00 00 00 89 [17:17:02]Write i2c OK [17:17:02]MH_I2C_Read... [17:17:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:17:02]Read from MH i2c: E2 [17:17:02]MH_I2C_Read... [17:17:02]Read from MH i2c: E2 17 00 [17:17:02]MH_I2C_Read... [17:17:02]Read from MH i2c: E2 17 00 03 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 E2 [17:17:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:17:02]wFMCommunicate OK [17:17:02]CreateOFDProtocolMessage done [17:17:02]OFDSenderStorePacket 18973 [17:17:02]StoreOFDPacket docnum=18973 [17:17:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 20 02 00 00 DC A8 18 02 7C D8 5A 03 01 00 03 00 0C 02 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 34 37 33 06 04 35 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 92 D0 B8 D1 88 D0 BD D1 8F 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 A7 00 00 00 00 13 04 06 00 F8 A7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 31 35 36 32 31 39 37 32 06 04 34 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 9E D0 9B D0 9E D0 A2 D0 9E 20 D0 9A D0 AB D0 A0 D0 93 D0 AB D0 97 D0 A1 D0 A2 D0 90 D0 9D D0 90 20 30 2C 35 30 4C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 CB 00 00 00 00 13 04 06 00 20 CB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 80 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 28 00 00 00 00 07 04 06 00 C4 80 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 8E 45 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1D 4A 00 00 35 04 06 00 2D 97 F9 84 FB 83 B0 A7 6C 06 83 71 3E 7A [17:17:02]CheckFolder [17:17:02]dirname=/storage/ofd_packets [17:17:02]CheckFolder done [17:17:02]ProducePacketName [17:17:02]name=ofd_packets/00018973 [17:17:02]NVStorageSaveData ofd_packets/00018973 [17:17:02]File name is /storage/ofd_packets/00018973 [17:17:02]Write 574 bytes [17:17:02]NVStorageSaveData done [17:17:02]OFDSenderStorePacket done [17:17:02]KKMCreateOFDPacket done [17:17:02]NVStorageSaveData kkm_last_timestamp [17:17:02]File name is /storage/kkm_last_timestamp [17:17:02]Write 4 bytes [17:17:02]NVStorageSaveData done [17:17:02]ExternCall_PrintAddStr [17:17:02]wPrintStart [17:17:02]Write to MH i2c: 01 00 00 04 0C 10 [17:17:02]Write i2c OK [17:17:02]MH_I2C_Read... [17:17:02]Read from MH i2c: 01 [17:17:02]MH_I2C_Read... [17:17:02]Read from MH i2c: 01 07 00 [17:17:02]MH_I2C_Read... [17:17:02]Read from MH i2c: 01 07 00 04 0C 00 00 00 00 00 FF 0F 25 [17:17:02]RasterBufferAndPrint [17:17:02]line Счет N : (3)16892 [17:17:02]line ИНН: 02508201610067 [17:17:02]line Контрольно-Кассовый Чек [17:17:02]line ПРОДАЖА [17:17:02]line Товар: 4700001060473 [17:17:02]line Настойка Вишня на коньяке 0,5л [17:17:02]line 1.000 * 430.00 [17:17:02]line = 430.00 [17:17:02]line НДС 12% НСП 1% [17:17:02]line > о реализуемом товаре [17:17:02]line Товар: 4870215621972 [17:17:02]line Водка ЗОЛОТО КЫРГЫЗСТАНА 0,50L [17:17:02]line 1.000 * 520.00 [17:17:02]line = 520.00 [17:17:02]line НДС 12% НСП 1% [17:17:02]line > о реализуемом товаре [17:17:02]line Товар: 4700000310326 [17:17:02]line Вода Адыгене 1л б/г [17:17:02]line 1.000 * 35.00 [17:17:02]line = 35.00 [17:17:02]line НДС 12% НСП 1% [17:17:02]line > о реализуемом товаре [17:17:02]line ИТОГО: 985.00 [17:17:02]line НСП 1% : 8.71 [17:17:02]line НДС 12% : 104.60 [17:17:02]line Наличными: 985.00 [17:17:02]line Безнал.: 0.00 [17:17:02]line Место: АЗС № 176 "Партнер Нефть" [17:17:02]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [17:17:02]line СНО: Общий режим [17:17:02]line Чек 51 25.09.2024 17:17 [17:17:02]line Смена: 183 ФФД: 1.0 [17:17:02]line ЗНМ: 0300000010 [17:17:02]line РНМ: 0000000000152968 [17:17:02]line Версия ККМ: v1.0 [17:17:02]line ФМ: 0000000000959456 [17:17:02]line ФД: 18973 [17:17:02]line ФПД: 50130749553539 [17:17:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T171702&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18973&fm=50130749553539&tin=02508201610067®Number=0000000000152968&sum=98500 [17:17:02]line 0 [17:17:02]written 0, free lines is 4095 [17:17:02]OFD Sender: Processing packet 18973 [packets to send 7, broken 6] [17:17:02]ProducePacketName [17:17:02]name=ofd_packets/00018973 [17:17:02]OFD Sender: To server: pG, [17:17:02]CommunicateWithHost lk.salyk.kg:30040 [17:17:02]ConnectInit lk.salyk.kg [17:17:02]Connected sock=10 [17:17:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 20 02 00 00 DC A8 18 02 7C D8 5A 03 01 00 03 00 0C 02 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 34 37 33 06 04 35 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 92 D0 B8 D1 88 D0 BD D1 8F 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 A7 00 00 00 00 13 04 06 00 F8 A7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 31 35 36 32 31 39 37 32 06 04 34 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 9E D0 9B D0 9E D0 A2 D0 9E 20 D0 9A D0 AB D0 A0 D0 93 D0 AB D0 97 D0 A1 D0 A2 D0 90 D0 9D D0 90 20 30 2C 35 30 4C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 CB 00 00 00 00 13 04 06 00 20 CB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 80 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 67 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DC 28 00 00 00 00 07 04 06 00 C4 80 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 8E 45 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1D 4A 00 00 35 04 06 00 2D 97 F9 84 FB 83 B0 A7 6C 06 83 71 3E 7A [17:17:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 4A 72 47 00 85 93 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1D 4A 00 00 F4 03 04 00 EB EE F3 66 B6 04 01 00 00 AD F4 39 90 68 DA 48 E3 [17:17:03]CommunicateWithHost err = 0 [17:17:03]CheckOFDResponse [17:17:03]1017 (14) - 77093643461234 [17:17:03]1041 (16) - 0000000000959456 [17:17:03]1040 (4) - 18973 [17:17:03]1012 (4) - 25.09.2024 11:07 [17:17:03]1206 (1) - 0 [17:17:03]OFD Sender: Remove packet 18973 [17:17:03]ProducePacketName [17:17:03]name=ofd_packets/00018973 [17:17:03]NVStorageDeleteData [17:17:03]Write to MH i2c: 01 00 00 3A 0C 46 [17:17:03]Write i2c OK [17:17:03]MH_I2C_Read... [17:17:03]Read from MH i2c: 01 [17:17:03]MH_I2C_Read... [17:17:03]Read from MH i2c: 01 07 00 [17:17:03]MH_I2C_Read... [17:17:03]Read from MH i2c: 01 07 00 3A 0C 00 00 00 00 00 76 0C CF [17:17:03]RasterBufferAndPrint [17:17:03]line [17:17:03]line [17:17:03]line [17:17:03]line [17:17:03]line [17:17:03]written 0, free lines is 3203 [17:17:03]MH_Cut [17:17:03]Write to MH i2c: D1 01 00 41 0C 01 1F [17:17:03]Write i2c OK [17:17:03]MH_I2C_Read... [17:17:03]Read from MH i2c: D1 [17:17:03]MH_I2C_Read... [17:17:03]Read from MH i2c: D1 01 00 [17:17:03]MH_I2C_Read... [17:17:03]Read from MH i2c: D1 01 00 41 0C 00 1E [17:17:03]Write to MH i2c: 01 00 00 42 0C 4E [17:17:03]Write i2c OK [17:17:03]MH_I2C_Read... [17:17:03]OFD Sender: No OFD packet to send [17:17:03]*** Cut start [17:17:03]*** Partial cut [17:17:03]*** CUTSNS_PIN = 1 [17:17:03]*** CUTSNS_PIN = 0 [17:17:04]*** Brake cut motor [17:17:04]Read from MH i2c: 01 [17:17:04]MH_I2C_Read... [17:17:04]*** Stop cut motor [17:17:04]*** Cut end [17:17:04]Read from MH i2c: 01 07 00 [17:17:04]MH_I2C_Read... [17:17:04]Read from MH i2c: 01 07 00 42 0C 00 00 00 00 00 FF 0F 63 [17:17:04]process_action close_receipt done [17:17:04]requested_data is exist [17:17:04]produce_requested_data [17:17:04]requested_item fm.sn is exist - process it [17:17:04]wFMCommunicate request_size=4 [17:17:04]MH_SAM_APDU [17:17:04]CAPDU: 80 11 00 00 [17:17:04]Write to MH i2c: E2 08 00 43 0C 80 11 00 00 00 00 00 00 C9 [17:17:04]Write i2c OK [17:17:04]MH_I2C_Read... [17:17:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:17:04]Read from MH i2c: E2 [17:17:04]MH_I2C_Read... [17:17:04]Read from MH i2c: E2 17 00 [17:17:04]MH_I2C_Read... [17:17:04]Read from MH i2c: E2 17 00 43 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 22 [17:17:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:17:04]wFMCommunicate OK [17:17:04]requested_item fd.num is exist - process it [17:17:04]SAM_PROTO_GetFieldsCounters [17:17:04]wFMCommunicate request_size=4 [17:17:04]MH_SAM_APDU [17:17:04]CAPDU: 80 13 00 00 [17:17:04]Write to MH i2c: E2 08 00 44 0C 80 13 00 00 00 00 00 00 CC [17:17:04]Write i2c OK [17:17:04]MH_I2C_Read... [17:17:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:17:04]Read from MH i2c: E2 [17:17:04]MH_I2C_Read... [17:17:04]Read from MH i2c: E2 62 00 [17:17:04]MH_I2C_Read... [17:17:04]Read from MH i2c: E2 62 00 44 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 1D 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 B0 [17:17:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 1D 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:17:04]wFMCommunicate OK [17:17:04]SAM_PROTO_GetFieldsCounters done [17:17:04]requested_item shift.num is exist - process it [17:17:04]requested_item shift.opened is exist - process it [17:17:04]req_shift_opened [17:17:04]FM_GetShiftState [17:17:04]SAM_PROTO_GetShiftState [17:17:04]wFMCommunicate request_size=4 [17:17:04]MH_SAM_APDU [17:17:04]CAPDU: 80 13 01 00 [17:17:04]Write to MH i2c: E2 08 00 45 0C 80 13 01 00 00 00 00 00 CE [17:17:04]Write i2c OK [17:17:04]MH_I2C_Read... [17:17:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:17:04]Read from MH i2c: E2 [17:17:04]MH_I2C_Read... [17:17:04]Read from MH i2c: E2 0E 00 [17:17:04]MH_I2C_Read... [17:17:04]Read from MH i2c: E2 0E 00 45 0C 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 BB [17:17:04]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [17:17:04]wFMCommunicate OK [17:17:04]SAM_PROTO_GetShiftState done [17:17:04]FM_GetShiftState done [17:17:04]req_shift_opened done [17:17:04]requested_item shift.open_date is exist - process it [17:17:04]req_shift_open_date [17:17:04]req_shift_open_date done [17:17:04]produce_requested_data done [17:17:04]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18973,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [17:17:04]process_action_free close_receipt [17:17:04]json_value_free [17:17:04]json_value_free done [17:17:04]process_json_proto returns [17:17:04]Send response to host [17:17:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18973,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [17:17:04]free response buf [17:17:04]execute_script done [17:17:04]execute_script returns [17:17:04]free content buf [17:17:04]Sock 9.Close socket [17:17:04]Sock 9.Thread stoped [17:17:08]OFD Sender: No OFD packet to send [17:17:13]OFD Sender: No OFD packet to send [17:17:18]OFD Sender: No OFD packet to send [17:17:23]OFD Sender: No OFD packet to send [17:17:28]OFD Sender: No OFD packet to send [17:17:33]OFD Sender: No OFD packet to send [17:17:38]OFD Sender: No OFD packet to send [17:17:43]OFD Sender: No OFD packet to send [17:17:48]OFD Sender: No OFD packet to send [17:17:53]OFD Sender: No OFD packet to send [17:17:55]accept exits with 8 [17:17:55]New connection [17:17:55]New thread 3066621284 created [17:17:55]Thread 3066764644 joined [17:17:55]Waiting for new connection... [17:17:55] Sock 8.Parse request [17:17:55]Sock 8.Check first char [17:17:55]Sock 8.First char is OK [17:17:55]request: POST /json_proto HTTP/1.0 [17:17:55]Method: POST [17:17:55]URL: /json_proto [17:17:55]Method is POST - this is cgi request [17:17:55]url: /json_proto [17:17:55]query_string will be loaded in cgi processing [17:17:55]execute_cgi json_proto POST (null) [17:17:55]execute_cgi path=json_proto method=POST [17:17:55]POST find Content-Length [17:17:55]Host: 172.17.62.196:8080 [17:17:55]Content-Length: 625 [17:17:55]Content-Type: application/json [17:17:55] [17:17:55]POST finish read [17:17:55]Found Content-Length = 625 [17:17:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16894", "tax_sys" : 0, "items" : [ { "code": "4700000160198", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:17:55]execute_script... [17:17:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16894", "tax_sys" : 0, "items" : [ { "code": "4700000160198", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:17:55]POST & json_proto [17:17:55]process_json_proto [17:17:55]json parsed OK: [17:17:55]protocol is kg_v1.0 [17:17:55]action value=close_receipt [17:17:55]process_action close_receipt [17:17:55]cmd_close_receipt [17:17:55]MH_GetDate [17:17:55]Write to MH i2c: F0 00 00 46 0C 41 [17:17:55]Write i2c OK [17:17:55]MH_I2C_Read... [17:17:55]Read from MH i2c: F0 [17:17:55]MH_I2C_Read... [17:17:55]Read from MH i2c: F0 09 00 [17:17:55]MH_I2C_Read... [17:17:55]Read from MH i2c: F0 09 00 46 0C 00 C5 45 F4 66 CE CC 0E 66 BC [17:17:55]GetLastDocTimeStamp 1727284622 [17:17:55]current date 1727284677 [17:17:55]FM_GetShiftState [17:17:55]SAM_PROTO_GetShiftState [17:17:55]wFMCommunicate request_size=4 [17:17:55]MH_SAM_APDU [17:17:55]CAPDU: 80 13 01 00 [17:17:55]Write to MH i2c: E2 08 00 47 0C 80 13 01 00 00 00 00 00 D0 [17:17:55]Write i2c OK [17:17:55]MH_I2C_Read... [17:17:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:17:55]Read from MH i2c: E2 [17:17:55]MH_I2C_Read... [17:17:55]Read from MH i2c: E2 0E 00 [17:17:55]MH_I2C_Read... [17:17:55]Read from MH i2c: E2 0E 00 47 0C 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 BD [17:17:55]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [17:17:55]wFMCommunicate OK [17:17:55]SAM_PROTO_GetShiftState done [17:17:55]FM_GetShiftState done [17:17:55]opened in 1727223091 [17:17:55]opened+sec_in_day 1727309491 [17:17:55]quantity*price = 4000 [17:17:55]sum+1 = 4001 [17:17:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 52 25.09.2024 17:17 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18974 ФПД: 1381338742836 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T171757&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18974&fm=1381338742836&tin=02508201610067®Number=0000000000152968&sum=4000 0 [17:17:56]StoreToDocumentArchive [17:17:56]shift 183 fd 18974 [17:17:56]save to /storage/0183/doc_00018974 [17:17:56]save last doc name /storage/0183/doc_00018974 to /storage/kkm_last_doc_name [17:17:56]save OK [17:17:56]Clear old archive folders... [17:17:56]ProcessDocumentItem done err = 0, tmpTLVsize=269 [17:17:56]tlvbuf is 015E18C0 [17:17:56]SAM_PROTO_ClearQueue [17:17:56]wFMCommunicate request_size=4 [17:17:56]MH_SAM_APDU [17:17:56]CAPDU: 80 09 00 00 [17:17:56]Write to MH i2c: E2 08 00 54 0C 80 09 00 00 00 00 00 00 D2 [17:17:56]Write i2c OK [17:17:56]MH_I2C_Read... [17:17:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:17:56]Read from MH i2c: E2 [17:17:56]MH_I2C_Read... [17:17:56]Read from MH i2c: E2 03 00 [17:17:56]MH_I2C_Read... [17:17:56]Read from MH i2c: E2 03 00 54 0C 00 90 00 D4 [17:17:56]RAPDU: 90 00 [17:17:56]wFMCommunicate OK [17:17:56]SAM_PROTO_ClearQueue done [17:17:56]KKMCreateOFDPacket [17:17:56]OFDProtocolAddRootSTLVToBuf [17:17:56]FM_MakeSignedData [17:17:56]FM_MakeSignedData [17:17:56]SAM_PROTO_SignData [17:17:56]wFMCommunicate request_size=4 [17:17:56]MH_SAM_APDU [17:17:56]CAPDU: 80 0D 01 02 [17:17:56]Write to MH i2c: E2 08 00 55 0C 80 0D 01 02 00 00 00 00 DA [17:17:56]Write i2c OK [17:17:56]MH_I2C_Read... [17:17:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:17:56]Read from MH i2c: E2 [17:17:56]MH_I2C_Read... [17:17:56]Read from MH i2c: E2 03 00 [17:17:56]MH_I2C_Read... [17:17:56]Read from MH i2c: E2 03 00 55 0C 00 90 00 D5 [17:17:56]RAPDU: 90 00 [17:17:56]wFMCommunicate OK [17:17:56]wFMCommunicate request_size=255 [17:17:56]MH_SAM_APDU [17:17:56]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 39 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 C5 45 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [17:17:56]Write to MH i2c: E2 02 01 56 0C 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 39 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 C5 45 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 CB [17:17:56]Write i2c OK [17:17:56]MH_I2C_Read... [17:17:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:17:57]Read from MH i2c: E2 [17:17:57]MH_I2C_Read... [17:17:57]Read from MH i2c: E2 03 00 [17:17:57]MH_I2C_Read... [17:17:57]Read from MH i2c: E2 03 00 56 0C 00 90 00 D6 [17:17:57]RAPDU: 90 00 [17:17:57]wFMCommunicate OK [17:17:57]wFMCommunicate request_size=28 [17:17:57]MH_SAM_APDU [17:17:57]CAPDU: 80 0D 02 02 17 35 39 34 35 36 10 04 04 00 1E 4A 00 00 35 04 06 00 01 41 9E 34 80 34 [17:17:57]Write to MH i2c: E2 1F 00 57 0C 80 0D 02 02 17 00 35 39 34 35 36 10 04 04 00 1E 4A 00 00 35 04 06 00 01 41 9E 34 80 34 00 00 9F [17:17:57]Write i2c OK [17:17:57]MH_I2C_Read... [17:17:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:17:57]Read from MH i2c: E2 [17:17:57]MH_I2C_Read... [17:17:57]Read from MH i2c: E2 03 00 [17:17:57]MH_I2C_Read... [17:17:57]Read from MH i2c: E2 03 00 57 0C 00 90 00 D7 [17:17:57]RAPDU: 90 00 [17:17:57]wFMCommunicate OK [17:17:57]wFMCommunicate request_size=4 [17:17:57]MH_SAM_APDU [17:17:57]CAPDU: 80 0D 03 02 [17:17:57]Write to MH i2c: E2 08 00 58 0C 80 0D 03 02 00 00 00 00 DF [17:17:57]Write i2c OK [17:17:57]MH_I2C_Read... [17:17:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:17:57]Read from MH i2c: E2 [17:17:57]MH_I2C_Read... [17:17:57]Read from MH i2c: E2 0B 00 [17:17:57]MH_I2C_Read... [17:17:57]Read from MH i2c: E2 0B 00 58 0C 00 42 C3 E7 8B C9 48 8E 1D 90 00 13 [17:17:57]RAPDU: 42 C3 E7 8B C9 48 8E 1D 90 00 [17:17:57]wFMCommunicate OK [17:17:57]SAM_PROTO_SignData done [17:17:57]FM_MakeSignedData done [17:17:57]CreateOFDProtocolMessage [17:17:57]wFMCommunicate request_size=4 [17:17:57]MH_SAM_APDU [17:17:57]CAPDU: 80 11 00 00 [17:17:57]Write to MH i2c: E2 08 00 59 0C 80 11 00 00 00 00 00 00 DF [17:17:57]Write i2c OK [17:17:57]MH_I2C_Read... [17:17:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:17:57]Read from MH i2c: E2 [17:17:57]MH_I2C_Read... [17:17:57]Read from MH i2c: E2 17 00 [17:17:57]MH_I2C_Read... [17:17:57]Read from MH i2c: E2 17 00 59 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 38 [17:17:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:17:57]wFMCommunicate OK [17:17:57]CreateOFDProtocolMessage done [17:17:57]OFDSenderStorePacket 18974 [17:17:57]StoreOFDPacket docnum=18974 [17:17:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 21 01 00 00 B4 7C 19 01 96 95 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 39 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 C5 45 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1E 4A 00 00 35 04 06 00 01 41 9E 34 80 34 42 C3 E7 8B C9 48 8E 1D [17:17:57]CheckFolder [17:17:57]dirname=/storage/ofd_packets [17:17:57]CheckFolder done [17:17:57]ProducePacketName [17:17:57]name=ofd_packets/00018974 [17:17:57]NVStorageSaveData ofd_packets/00018974 [17:17:57]File name is /storage/ofd_packets/00018974 [17:17:57]Write 319 bytes [17:17:57]NVStorageSaveData done [17:17:57]OFDSenderStorePacket done [17:17:57]KKMCreateOFDPacket done [17:17:57]NVStorageSaveData kkm_last_timestamp [17:17:57]File name is /storage/kkm_last_timestamp [17:17:57]Write 4 bytes [17:17:57]NVStorageSaveData done [17:17:57]ExternCall_PrintAddStr [17:17:57]wPrintStart [17:17:57]Write to MH i2c: 01 00 00 5A 0C 66 [17:17:57]Write i2c OK [17:17:57]MH_I2C_Read... [17:17:57]Read from MH i2c: 01 [17:17:57]MH_I2C_Read... [17:17:57]Read from MH i2c: 01 07 00 [17:17:57]MH_I2C_Read... [17:17:57]Read from MH i2c: 01 07 00 5A 0C 00 00 00 00 00 FF 0F 7B [17:17:57]RasterBufferAndPrint [17:17:57]line Счет N : (3)16894 [17:17:57]line ИНН: 02508201610067 [17:17:57]line Контрольно-Кассовый Чек [17:17:57]line ПРОДАЖА [17:17:57]line Товар: 4700000160198 [17:17:57]line Вода Байтик 0,5л [17:17:57]line 1.000 * 40.00 [17:17:57]line = 40.00 [17:17:57]line НДС 12% НСП 1% [17:17:57]line > о реализуемом товаре [17:17:57]line ИТОГО: 40.00 [17:17:57]line НСП 1% : 0.35 [17:17:57]line НДС 12% : 4.25 [17:17:57]line Наличными: 40.00 [17:17:57]line Безнал.: 0.00 [17:17:57]line Место: АЗС № 176 "Партнер Нефть" [17:17:57]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [17:17:57]line СНО: Общий режим [17:17:57]line Чек 52 25.09.2024 17:17 [17:17:57]line Смена: 183 ФФД: 1.0 [17:17:57]line ЗНМ: 0300000010 [17:17:57]line РНМ: 0000000000152968 [17:17:57]line Версия ККМ: v1.0 [17:17:57]line ФМ: 0000000000959456 [17:17:57]line ФД: 18974 [17:17:57]line ФПД: 1381338742836 [17:17:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T171757&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18974&fm=1381338742836&tin=02508201610067®Number=0000000000152968&sum=4000 [17:17:57]line 0 [17:17:57]OFD Sender: Processing packet 18974 [packets to send 7, broken 6] [17:17:57]ProducePacketName [17:17:57]name=ofd_packets/00018974 [17:17:57]OFD Sender: To server: pG, [17:17:57]CommunicateWithHost lk.salyk.kg:30040 [17:17:57]ConnectInit lk.salyk.kg [17:17:57]written 0, free lines is 4095 [17:17:57]Connected sock=10 [17:17:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 21 01 00 00 B4 7C 19 01 96 95 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 39 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 C5 45 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1E 4A 00 00 35 04 06 00 01 41 9E 34 80 34 42 C3 E7 8B C9 48 8E 1D [17:17:58]Write to MH i2c: 01 00 00 82 0C 8E [17:17:58]Write i2c OK [17:17:58]MH_I2C_Read... [17:17:58]Read from MH i2c: 01 [17:17:58]MH_I2C_Read... [17:17:58]Read from MH i2c: 01 07 00 [17:17:58]MH_I2C_Read... [17:17:58]Read from MH i2c: 01 07 00 82 0C 00 00 00 00 00 13 0D B5 [17:17:58]RasterBufferAndPrint [17:17:58]line [17:17:58]line [17:17:58]line [17:17:58]line [17:17:58]line [17:17:58]written 0, free lines is 3357 [17:17:58]MH_Cut [17:17:58]Write to MH i2c: D1 01 00 89 0C 01 67 [17:17:58]Write i2c OK [17:17:58]MH_I2C_Read... [17:17:58]Read from MH i2c: D1 [17:17:58]MH_I2C_Read... [17:17:58]Read from MH i2c: D1 01 00 [17:17:58]MH_I2C_Read... [17:17:58]Read from MH i2c: D1 01 00 89 0C 00 66 [17:17:58]Write to MH i2c: 01 00 00 8A 0C 96 [17:17:58]Write i2c OK [17:17:58]MH_I2C_Read... [17:17:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 9E 60 47 00 05 CD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1E 4A 00 00 F4 03 04 00 22 EF F3 66 B6 04 01 00 00 F1 21 35 ED A7 44 33 F0 [17:17:58]CommunicateWithHost err = 0 [17:17:58]CheckOFDResponse [17:17:58]1017 (14) - 77093643461234 [17:17:58]1041 (16) - 0000000000959456 [17:17:58]1040 (4) - 18974 [17:17:58]1012 (4) - 25.09.2024 11:08 [17:17:58]1206 (1) - 0 [17:17:58]OFD Sender: Remove packet 18974 [17:17:58]ProducePacketName [17:17:58]name=ofd_packets/00018974 [17:17:58]NVStorageDeleteData [17:17:58]OFD Sender: No OFD packet to send [17:17:58]*** Cut start [17:17:58]*** Partial cut [17:17:58]*** CUTSNS_PIN = 1 [17:17:58]*** CUTSNS_PIN = 0 [17:17:59]*** Brake cut motor [17:17:59]Read from MH i2c: 01 [17:17:59]MH_I2C_Read... [17:17:59]*** Stop cut motor [17:17:59]*** Cut end [17:17:59]Read from MH i2c: 01 07 00 [17:17:59]MH_I2C_Read... [17:17:59]Read from MH i2c: 01 07 00 8A 0C 00 00 00 00 00 FF 0F AB [17:17:59]process_action close_receipt done [17:17:59]requested_data is exist [17:17:59]produce_requested_data [17:17:59]requested_item fm.sn is exist - process it [17:17:59]wFMCommunicate request_size=4 [17:17:59]MH_SAM_APDU [17:17:59]CAPDU: 80 11 00 00 [17:17:59]Write to MH i2c: E2 08 00 8B 0C 80 11 00 00 00 00 00 00 11 [17:17:59]Write i2c OK [17:17:59]MH_I2C_Read... [17:17:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:17:59]Read from MH i2c: E2 [17:17:59]MH_I2C_Read... [17:17:59]Read from MH i2c: E2 17 00 [17:17:59]MH_I2C_Read... [17:17:59]Read from MH i2c: E2 17 00 8B 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 6A [17:17:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:17:59]wFMCommunicate OK [17:17:59]requested_item fd.num is exist - process it [17:17:59]SAM_PROTO_GetFieldsCounters [17:17:59]wFMCommunicate request_size=4 [17:17:59]MH_SAM_APDU [17:17:59]CAPDU: 80 13 00 00 [17:17:59]Write to MH i2c: E2 08 00 8C 0C 80 13 00 00 00 00 00 00 14 [17:17:59]Write i2c OK [17:17:59]MH_I2C_Read... [17:17:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:17:59]Read from MH i2c: E2 [17:17:59]MH_I2C_Read... [17:17:59]Read from MH i2c: E2 62 00 [17:17:59]MH_I2C_Read... [17:17:59]Read from MH i2c: E2 62 00 8C 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 1E 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 FC [17:17:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 1E 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:17:59]wFMCommunicate OK [17:17:59]SAM_PROTO_GetFieldsCounters done [17:17:59]requested_item shift.num is exist - process it [17:17:59]requested_item shift.opened is exist - process it [17:17:59]req_shift_opened [17:17:59]FM_GetShiftState [17:17:59]SAM_PROTO_GetShiftState [17:17:59]wFMCommunicate request_size=4 [17:17:59]MH_SAM_APDU [17:17:59]CAPDU: 80 13 01 00 [17:17:59]Write to MH i2c: E2 08 00 8D 0C 80 13 01 00 00 00 00 00 16 [17:17:59]Write i2c OK [17:17:59]MH_I2C_Read... [17:17:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:17:59]Read from MH i2c: E2 [17:17:59]MH_I2C_Read... [17:17:59]Read from MH i2c: E2 0E 00 [17:17:59]MH_I2C_Read... [17:17:59]Read from MH i2c: E2 0E 00 8D 0C 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 03 [17:17:59]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [17:17:59]wFMCommunicate OK [17:17:59]SAM_PROTO_GetShiftState done [17:17:59]FM_GetShiftState done [17:17:59]req_shift_opened done [17:17:59]requested_item shift.open_date is exist - process it [17:17:59]req_shift_open_date [17:17:59]req_shift_open_date done [17:17:59]produce_requested_data done [17:17:59]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18974,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [17:17:59]process_action_free close_receipt [17:17:59]json_value_free [17:17:59]json_value_free done [17:17:59]process_json_proto returns [17:17:59]Send response to host [17:17:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18974,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [17:17:59]free response buf [17:17:59]execute_script done [17:17:59]execute_script returns [17:17:59]free content buf [17:17:59]Sock 8.Close socket [17:17:59]Sock 8.Thread stoped [17:18:03]OFD Sender: No OFD packet to send [17:18:05]accept exits with 9 [17:18:05]New connection [17:18:05]New thread 3066764644 created [17:18:05]Thread 3066621284 joined [17:18:05]Waiting for new connection... [17:18:05] Sock 9.Parse request [17:18:05]Sock 9.Check first char [17:18:05]Sock 9.First char is OK [17:18:05]request: POST /json_proto HTTP/1.0 [17:18:05]Method: POST [17:18:05]URL: /json_proto [17:18:05]Method is POST - this is cgi request [17:18:05]url: /json_proto [17:18:05]query_string will be loaded in cgi processing [17:18:05]execute_cgi json_proto POST (null) [17:18:05]execute_cgi path=json_proto method=POST [17:18:05]POST find Content-Length [17:18:05]Host: 172.17.62.196:8080 [17:18:05]Content-Length: 674 [17:18:05]Content-Type: application/json [17:18:05] [17:18:05]POST finish read [17:18:05]Found Content-Length = 674 [17:18:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16895", "tax_sys" : 0, "items" : [ { "code": "4823063106498", "name": "\u0421\u0430\u0434\u043E\u0447\u043E\u043A 0,2 \u042F\u0431\u043B\u043E\u0447\u043D\u044B\u0439 \u0441\u043E\u043A 1/200", "price" : 45.00, "quantity" : 2.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:18:05]execute_script... [17:18:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16895", "tax_sys" : 0, "items" : [ { "code": "4823063106498", "name": "\u0421\u0430\u0434\u043E\u0447\u043E\u043A 0,2 \u042F\u0431\u043B\u043E\u0447\u043D\u044B\u0439 \u0441\u043E\u043A 1/200", "price" : 45.00, "quantity" : 2.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:18:05]POST & json_proto [17:18:05]process_json_proto [17:18:05]json parsed OK: [17:18:05]protocol is kg_v1.0 [17:18:05]action value=close_receipt [17:18:05]process_action close_receipt [17:18:05]cmd_close_receipt [17:18:05]MH_GetDate [17:18:05]Write to MH i2c: F0 00 00 8E 0C 89 [17:18:05]Write i2c OK [17:18:05]MH_I2C_Read... [17:18:05]Read from MH i2c: F0 [17:18:05]MH_I2C_Read... [17:18:05]Read from MH i2c: F0 09 00 [17:18:05]MH_I2C_Read... [17:18:05]Read from MH i2c: F0 09 00 8E 0C 00 CF 45 F4 66 CE CC 0E 66 0E [17:18:05]GetLastDocTimeStamp 1727284677 [17:18:05]current date 1727284687 [17:18:05]FM_GetShiftState [17:18:05]SAM_PROTO_GetShiftState [17:18:05]wFMCommunicate request_size=4 [17:18:05]MH_SAM_APDU [17:18:05]CAPDU: 80 13 01 00 [17:18:05]Write to MH i2c: E2 08 00 8F 0C 80 13 01 00 00 00 00 00 18 [17:18:05]Write i2c OK [17:18:05]MH_I2C_Read... [17:18:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:18:05]Read from MH i2c: E2 [17:18:05]MH_I2C_Read... [17:18:05]Read from MH i2c: E2 0E 00 [17:18:05]MH_I2C_Read... [17:18:05]Read from MH i2c: E2 0E 00 8F 0C 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 05 [17:18:05]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [17:18:05]wFMCommunicate OK [17:18:05]SAM_PROTO_GetShiftState done [17:18:05]FM_GetShiftState done [17:18:05]opened in 1727223091 [17:18:05]opened+sec_in_day 1727309491 [17:18:05]quantity*price = 9000 [17:18:05]sum+1 = 9001 [17:18:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 90.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 53 25.09.2024 17:18 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18975 ФПД: 245929596209392 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T171808&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18975&fm=245929596209392&tin=02508201610067®Number=0000000000152968&sum=9000 0 [17:18:06]StoreToDocumentArchive [17:18:06]shift 183 fd 18975 [17:18:06]save to /storage/0183/doc_00018975 [17:18:06]save last doc name /storage/0183/doc_00018975 to /storage/kkm_last_doc_name [17:18:06]save OK [17:18:06]Clear old archive folders... [17:18:06]ProcessDocumentItem done err = 0, tmpTLVsize=290 [17:18:06]tlvbuf is 01610710 [17:18:06]SAM_PROTO_ClearQueue [17:18:06]wFMCommunicate request_size=4 [17:18:06]MH_SAM_APDU [17:18:06]CAPDU: 80 09 00 00 [17:18:06]Write to MH i2c: E2 08 00 9C 0C 80 09 00 00 00 00 00 00 1A [17:18:06]Write i2c OK [17:18:06]MH_I2C_Read... [17:18:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:18:07]Read from MH i2c: E2 [17:18:07]MH_I2C_Read... [17:18:07]Read from MH i2c: E2 03 00 [17:18:07]MH_I2C_Read... [17:18:07]Read from MH i2c: E2 03 00 9C 0C 00 90 00 1C [17:18:07]RAPDU: 90 00 [17:18:07]wFMCommunicate OK [17:18:07]SAM_PROTO_ClearQueue done [17:18:07]KKMCreateOFDPacket [17:18:07]OFDProtocolAddRootSTLVToBuf [17:18:07]FM_MakeSignedData [17:18:07]FM_MakeSignedData [17:18:07]SAM_PROTO_SignData [17:18:07]wFMCommunicate request_size=4 [17:18:07]MH_SAM_APDU [17:18:07]CAPDU: 80 0D 01 02 [17:18:07]Write to MH i2c: E2 08 00 9D 0C 80 0D 01 02 00 00 00 00 22 [17:18:07]Write i2c OK [17:18:07]MH_I2C_Read... [17:18:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:18:07]Read from MH i2c: E2 [17:18:07]MH_I2C_Read... [17:18:07]Read from MH i2c: E2 03 00 [17:18:07]MH_I2C_Read... [17:18:07]Read from MH i2c: E2 03 00 9D 0C 00 90 00 1D [17:18:07]RAPDU: 90 00 [17:18:07]wFMCommunicate OK [17:18:07]wFMCommunicate request_size=255 [17:18:07]MH_SAM_APDU [17:18:07]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 32 33 30 36 33 31 30 36 34 39 38 06 04 30 00 D0 A1 D0 B0 D0 B4 D0 BE D1 87 D0 BE D0 BA 20 30 2C 32 20 D0 AF D0 B1 D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D1 81 D0 BE D0 BA 20 31 2F 32 30 30 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 D0 45 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [17:18:07]Write to MH i2c: E2 02 01 9E 0C 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 32 33 30 36 33 31 30 36 34 39 38 06 04 30 00 D0 A1 D0 B0 D0 B4 D0 BE D1 87 D0 BE D0 BA 20 30 2C 32 20 D0 AF D0 B1 D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D1 81 D0 BE D0 BA 20 31 2F 32 30 30 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 D0 45 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 8C [17:18:07]Write i2c OK [17:18:07]MH_I2C_Read... [17:18:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:18:07]Read from MH i2c: E2 [17:18:07]MH_I2C_Read... [17:18:07]Read from MH i2c: E2 03 00 [17:18:07]MH_I2C_Read... [17:18:07]Read from MH i2c: E2 03 00 9E 0C 00 90 00 1E [17:18:07]RAPDU: 90 00 [17:18:07]wFMCommunicate OK [17:18:07]wFMCommunicate request_size=49 [17:18:07]MH_SAM_APDU [17:18:07]CAPDU: 80 0D 02 02 2C 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1F 4A 00 00 35 04 06 00 DF AB F2 38 C8 F0 [17:18:07]Write to MH i2c: E2 34 00 9F 0C 80 0D 02 02 2C 00 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1F 4A 00 00 35 04 06 00 DF AB F2 38 C8 F0 00 00 33 [17:18:07]Write i2c OK [17:18:07]MH_I2C_Read... [17:18:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:18:07]Read from MH i2c: E2 [17:18:07]MH_I2C_Read... [17:18:07]Read from MH i2c: E2 03 00 [17:18:07]MH_I2C_Read... [17:18:07]Read from MH i2c: E2 03 00 9F 0C 00 90 00 1F [17:18:07]RAPDU: 90 00 [17:18:07]wFMCommunicate OK [17:18:07]wFMCommunicate request_size=4 [17:18:07]MH_SAM_APDU [17:18:07]CAPDU: 80 0D 03 02 [17:18:07]Write to MH i2c: E2 08 00 A0 0C 80 0D 03 02 00 00 00 00 27 [17:18:07]Write i2c OK [17:18:07]MH_I2C_Read... [17:18:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:18:07]Read from MH i2c: E2 [17:18:07]MH_I2C_Read... [17:18:07]Read from MH i2c: E2 0B 00 [17:18:07]MH_I2C_Read... [17:18:07]Read from MH i2c: E2 0B 00 A0 0C 00 D6 22 86 12 C7 06 28 34 90 00 E1 [17:18:07]RAPDU: D6 22 86 12 C7 06 28 34 90 00 [17:18:07]wFMCommunicate OK [17:18:07]SAM_PROTO_SignData done [17:18:07]FM_MakeSignedData done [17:18:07]CreateOFDProtocolMessage [17:18:07]wFMCommunicate request_size=4 [17:18:07]MH_SAM_APDU [17:18:07]CAPDU: 80 11 00 00 [17:18:07]Write to MH i2c: E2 08 00 A1 0C 80 11 00 00 00 00 00 00 27 [17:18:07]Write i2c OK [17:18:07]MH_I2C_Read... [17:18:07]Read from MH i2c: E2 [17:18:07]MH_I2C_Read... [17:18:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:18:07]Read from MH i2c: E2 17 00 [17:18:07]MH_I2C_Read... [17:18:07]Read from MH i2c: E2 17 00 A1 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 80 [17:18:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:18:07]wFMCommunicate OK [17:18:07]CreateOFDProtocolMessage done [17:18:07]OFDSenderStorePacket 18975 [17:18:07]StoreOFDPacket docnum=18975 [17:18:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 36 01 00 00 C6 46 2E 01 EA CD 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 32 33 30 36 33 31 30 36 34 39 38 06 04 30 00 D0 A1 D0 B0 D0 B4 D0 BE D1 87 D0 BE D0 BA 20 30 2C 32 20 D0 AF D0 B1 D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D1 81 D0 BE D0 BA 20 31 2F 32 30 30 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 D0 45 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1F 4A 00 00 35 04 06 00 DF AB F2 38 C8 F0 D6 22 86 12 C7 06 28 34 [17:18:07]CheckFolder [17:18:07]dirname=/storage/ofd_packets [17:18:07]CheckFolder done [17:18:07]ProducePacketName [17:18:07]name=ofd_packets/00018975 [17:18:07]NVStorageSaveData ofd_packets/00018975 [17:18:07]File name is /storage/ofd_packets/00018975 [17:18:07]Write 340 bytes [17:18:07]NVStorageSaveData done [17:18:07]OFDSenderStorePacket done [17:18:07]KKMCreateOFDPacket done [17:18:07]NVStorageSaveData kkm_last_timestamp [17:18:07]File name is /storage/kkm_last_timestamp [17:18:07]Write 4 bytes [17:18:07]NVStorageSaveData done [17:18:07]ExternCall_PrintAddStr [17:18:07]wPrintStart [17:18:07]Write to MH i2c: 01 00 00 A2 0C AE [17:18:07]Write i2c OK [17:18:07]MH_I2C_Read... [17:18:07]Read from MH i2c: 01 [17:18:07]MH_I2C_Read... [17:18:07]Read from MH i2c: 01 07 00 [17:18:07]MH_I2C_Read... [17:18:07]Read from MH i2c: 01 07 00 A2 0C 00 00 00 00 00 FF 0F C3 [17:18:07]RasterBufferAndPrint [17:18:07]line Счет N : (3)16895 [17:18:07]line ИНН: 02508201610067 [17:18:07]line Контрольно-Кассовый Чек [17:18:07]line ПРОДАЖА [17:18:07]line Товар: 4823063106498 [17:18:07]line Садочок 0,2 Яблочный сок 1/200 [17:18:07]line 2.000 * 45.00 [17:18:07]line = 90.00 [17:18:07]line НДС 12% НСП 1% [17:18:07]line > о реализуемом товаре [17:18:07]line ИТОГО: 90.00 [17:18:07]line НСП 1% : 0.80 [17:18:07]line НДС 12% : 9.56 [17:18:07]line Наличными: 90.00 [17:18:07]line Безнал.: 0.00 [17:18:07]line Место: АЗС № 176 "Партнер Нефть" [17:18:07]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [17:18:07]line СНО: Общий режим [17:18:07]line Чек 53 25.09.2024 17:18 [17:18:07]line Смена: 183 ФФД: 1.0 [17:18:07]line ЗНМ: 0300000010 [17:18:07]line РНМ: 0000000000152968 [17:18:07]line Версия ККМ: v1.0 [17:18:07]line ФМ: 0000000000959456 [17:18:07]line ФД: 18975 [17:18:07]line ФПД: 245929596209392 [17:18:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T171808&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18975&fm=245929596209392&tin=02508201610067®Number=0000000000152968&sum=9000 [17:18:07]line 0 [17:18:07]OFD Sender: Processing packet 18975 [packets to send 7, broken 6] [17:18:07]ProducePacketName [17:18:07]name=ofd_packets/00018975 [17:18:07]OFD Sender: To server: pG, [17:18:07]CommunicateWithHost lk.salyk.kg:30040 [17:18:07]ConnectInit lk.salyk.kg [17:18:07]written 0, free lines is 4095 [17:18:07]Connected sock=10 [17:18:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 36 01 00 00 C6 46 2E 01 EA CD 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 32 33 30 36 33 31 30 36 34 39 38 06 04 30 00 D0 A1 D0 B0 D0 B4 D0 BE D1 87 D0 BE D0 BA 20 30 2C 32 20 D0 AF D0 B1 D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D1 81 D0 BE D0 BA 20 31 2F 32 30 30 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 D0 45 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1F 4A 00 00 35 04 06 00 DF AB F2 38 C8 F0 D6 22 86 12 C7 06 28 34 [17:18:07]Write to MH i2c: 01 00 00 CB 0C D7 [17:18:07]Write i2c OK [17:18:07]MH_I2C_Read... [17:18:07]Read from MH i2c: 01 [17:18:07]MH_I2C_Read... [17:18:07]Read from MH i2c: 01 07 00 [17:18:07]MH_I2C_Read... [17:18:08]Read from MH i2c: 01 07 00 CB 0C 00 00 00 00 00 0F 0D FA [17:18:08]RasterBufferAndPrint [17:18:08]line [17:18:08]line [17:18:08]line [17:18:08]line [17:18:08]line [17:18:08]written 0, free lines is 3352 [17:18:08]MH_Cut [17:18:08]Write to MH i2c: D1 01 00 D2 0C 01 B0 [17:18:08]Write i2c OK [17:18:08]MH_I2C_Read... [17:18:08]Read from MH i2c: D1 [17:18:08]MH_I2C_Read... [17:18:08]Read from MH i2c: D1 01 00 [17:18:08]MH_I2C_Read... [17:18:08]Read from MH i2c: D1 01 00 D2 0C 00 AF [17:18:08]Write to MH i2c: 01 00 00 D3 0C DF [17:18:08]Write i2c OK [17:18:08]MH_I2C_Read... [17:18:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 B8 2A 47 00 C1 25 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 1F 4A 00 00 F4 03 04 00 2C EF F3 66 B6 04 01 00 00 2F F7 68 C8 C1 8E 2B F0 [17:18:08]CommunicateWithHost err = 0 [17:18:08]CheckOFDResponse [17:18:08]1017 (14) - 77093643461234 [17:18:08]1041 (16) - 0000000000959456 [17:18:08]1040 (4) - 18975 [17:18:08]1012 (4) - 25.09.2024 11:08 [17:18:08]1206 (1) - 0 [17:18:08]OFD Sender: Remove packet 18975 [17:18:08]ProducePacketName [17:18:08]name=ofd_packets/00018975 [17:18:08]NVStorageDeleteData [17:18:08]OFD Sender: No OFD packet to send [17:18:08]*** Cut start [17:18:08]*** Partial cut [17:18:08]*** CUTSNS_PIN = 1 [17:18:08]*** CUTSNS_PIN = 0 [17:18:08]*** Brake cut motor [17:18:09]Read from MH i2c: 01 [17:18:09]MH_I2C_Read... [17:18:09]*** Stop cut motor [17:18:09]*** Cut end [17:18:09]Read from MH i2c: 01 07 00 [17:18:09]MH_I2C_Read... [17:18:09]Read from MH i2c: 01 07 00 D3 0C 00 00 00 00 00 FF 0F F4 [17:18:09]process_action close_receipt done [17:18:09]requested_data is exist [17:18:09]produce_requested_data [17:18:09]requested_item fm.sn is exist - process it [17:18:09]wFMCommunicate request_size=4 [17:18:09]MH_SAM_APDU [17:18:09]CAPDU: 80 11 00 00 [17:18:09]Write to MH i2c: E2 08 00 D4 0C 80 11 00 00 00 00 00 00 5A [17:18:09]Write i2c OK [17:18:09]MH_I2C_Read... [17:18:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:18:09]Read from MH i2c: E2 [17:18:09]MH_I2C_Read... [17:18:09]Read from MH i2c: E2 17 00 [17:18:09]MH_I2C_Read... [17:18:09]Read from MH i2c: E2 17 00 D4 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 B3 [17:18:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:18:09]wFMCommunicate OK [17:18:09]requested_item fd.num is exist - process it [17:18:09]SAM_PROTO_GetFieldsCounters [17:18:09]wFMCommunicate request_size=4 [17:18:09]MH_SAM_APDU [17:18:09]CAPDU: 80 13 00 00 [17:18:09]Write to MH i2c: E2 08 00 D5 0C 80 13 00 00 00 00 00 00 5D [17:18:09]Write i2c OK [17:18:09]MH_I2C_Read... [17:18:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:18:09]Read from MH i2c: E2 [17:18:09]MH_I2C_Read... [17:18:09]Read from MH i2c: E2 62 00 [17:18:09]MH_I2C_Read... [17:18:09]Read from MH i2c: E2 62 00 D5 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 1F 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 49 [17:18:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 1F 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:18:09]wFMCommunicate OK [17:18:09]SAM_PROTO_GetFieldsCounters done [17:18:09]requested_item shift.num is exist - process it [17:18:09]requested_item shift.opened is exist - process it [17:18:09]req_shift_opened [17:18:09]FM_GetShiftState [17:18:09]SAM_PROTO_GetShiftState [17:18:09]wFMCommunicate request_size=4 [17:18:09]MH_SAM_APDU [17:18:09]CAPDU: 80 13 01 00 [17:18:09]Write to MH i2c: E2 08 00 D6 0C 80 13 01 00 00 00 00 00 5F [17:18:09]Write i2c OK [17:18:09]MH_I2C_Read... [17:18:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:18:09]Read from MH i2c: E2 [17:18:09]MH_I2C_Read... [17:18:09]Read from MH i2c: E2 0E 00 [17:18:09]MH_I2C_Read... [17:18:09]Read from MH i2c: E2 0E 00 D6 0C 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 4C [17:18:09]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [17:18:09]wFMCommunicate OK [17:18:09]SAM_PROTO_GetShiftState done [17:18:09]FM_GetShiftState done [17:18:09]req_shift_opened done [17:18:09]requested_item shift.open_date is exist - process it [17:18:09]req_shift_open_date [17:18:09]req_shift_open_date done [17:18:09]produce_requested_data done [17:18:09]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18975,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [17:18:09]process_action_free close_receipt [17:18:09]json_value_free [17:18:09]json_value_free done [17:18:09]process_json_proto returns [17:18:09]Send response to host [17:18:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18975,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [17:18:09]free response buf [17:18:09]execute_script done [17:18:09]execute_script returns [17:18:09]free content buf [17:18:09]Sock 9.Close socket [17:18:09]Sock 9.Thread stoped [17:18:13]OFD Sender: No OFD packet to send [17:18:18]OFD Sender: No OFD packet to send [17:18:23]OFD Sender: No OFD packet to send [17:18:28]OFD Sender: No OFD packet to send [17:18:33]OFD Sender: No OFD packet to send [17:18:38]OFD Sender: No OFD packet to send [17:18:43]OFD Sender: No OFD packet to send [17:18:48]OFD Sender: No OFD packet to send [17:18:53]OFD Sender: No OFD packet to send [17:18:58]OFD Sender: No OFD packet to send [17:19:03]OFD Sender: No OFD packet to send [17:19:08]OFD Sender: No OFD packet to send [17:19:13]OFD Sender: No OFD packet to send [17:19:18]OFD Sender: No OFD packet to send [17:19:23]OFD Sender: No OFD packet to send [17:19:28]OFD Sender: No OFD packet to send [17:19:33]OFD Sender: No OFD packet to send [17:19:38]OFD Sender: No OFD packet to send [17:19:43]OFD Sender: No OFD packet to send [17:19:48]OFD Sender: No OFD packet to send [17:19:53]OFD Sender: No OFD packet to send [17:19:58]OFD Sender: No OFD packet to send [17:20:03]OFD Sender: No OFD packet to send [17:20:08]OFD Sender: No OFD packet to send [17:20:13]OFD Sender: No OFD packet to send [17:20:18]OFD Sender: No OFD packet to send [17:20:23]OFD Sender: No OFD packet to send [17:20:28]OFD Sender: No OFD packet to send [17:20:33]OFD Sender: No OFD packet to send [17:20:38]OFD Sender: No OFD packet to send [17:20:43]OFD Sender: No OFD packet to send [17:20:48]OFD Sender: No OFD packet to send [17:20:53]OFD Sender: No OFD packet to send [17:20:58]OFD Sender: No OFD packet to send [17:21:03]OFD Sender: No OFD packet to send [17:21:08]OFD Sender: No OFD packet to send [17:21:13]OFD Sender: No OFD packet to send [17:21:18]OFD Sender: No OFD packet to send [17:21:23]OFD Sender: No OFD packet to send [17:21:28]OFD Sender: No OFD packet to send [17:21:33]OFD Sender: No OFD packet to send [17:21:38]OFD Sender: No OFD packet to send [17:21:43]OFD Sender: No OFD packet to send [17:21:48]OFD Sender: No OFD packet to send [17:21:53]OFD Sender: No OFD packet to send [17:21:58]OFD Sender: No OFD packet to send [17:22:03]OFD Sender: No OFD packet to send [17:22:08]OFD Sender: No OFD packet to send [17:22:13]OFD Sender: No OFD packet to send [17:22:18]OFD Sender: No OFD packet to send [17:22:23]OFD Sender: No OFD packet to send [17:22:28]OFD Sender: No OFD packet to send [17:22:33]OFD Sender: No OFD packet to send [17:22:38]OFD Sender: No OFD packet to send [17:22:43]OFD Sender: No OFD packet to send [17:22:48]OFD Sender: No OFD packet to send [17:22:53]OFD Sender: No OFD packet to send [17:22:58]OFD Sender: No OFD packet to send [17:23:03]OFD Sender: No OFD packet to send [17:23:08]OFD Sender: No OFD packet to send [17:23:13]OFD Sender: No OFD packet to send [17:23:18]OFD Sender: No OFD packet to send [17:23:23]OFD Sender: No OFD packet to send [17:23:28]OFD Sender: No OFD packet to send [17:23:33]OFD Sender: No OFD packet to send [17:23:38]OFD Sender: No OFD packet to send [17:23:43]OFD Sender: No OFD packet to send [17:23:48]OFD Sender: No OFD packet to send [17:23:53]OFD Sender: No OFD packet to send [17:23:58]OFD Sender: No OFD packet to send [17:24:03]OFD Sender: No OFD packet to send [17:24:08]OFD Sender: No OFD packet to send [17:24:13]OFD Sender: No OFD packet to send [17:24:18]OFD Sender: No OFD packet to send [17:24:23]OFD Sender: No OFD packet to send [17:24:28]OFD Sender: No OFD packet to send [17:24:33]OFD Sender: No OFD packet to send [17:24:38]OFD Sender: No OFD packet to send [17:24:43]OFD Sender: No OFD packet to send [17:24:48]OFD Sender: No OFD packet to send [17:24:53]OFD Sender: No OFD packet to send [17:24:58]OFD Sender: No OFD packet to send [17:25:03]OFD Sender: No OFD packet to send [17:25:08]OFD Sender: No OFD packet to send [17:25:13]OFD Sender: No OFD packet to send [17:25:18]OFD Sender: No OFD packet to send [17:25:23]OFD Sender: No OFD packet to send [17:25:28]OFD Sender: No OFD packet to send [17:25:33]OFD Sender: No OFD packet to send [17:25:38]OFD Sender: No OFD packet to send [17:25:43]OFD Sender: No OFD packet to send [17:25:48]OFD Sender: No OFD packet to send [17:25:53]OFD Sender: No OFD packet to send [17:25:58]OFD Sender: No OFD packet to send [17:26:03]OFD Sender: No OFD packet to send [17:26:08]OFD Sender: No OFD packet to send [17:26:13]OFD Sender: No OFD packet to send [17:26:18]OFD Sender: No OFD packet to send [17:26:23]OFD Sender: No OFD packet to send [17:26:28]OFD Sender: No OFD packet to send [17:26:33]OFD Sender: No OFD packet to send [17:26:38]OFD Sender: No OFD packet to send [17:26:43]OFD Sender: No OFD packet to send [17:26:49]OFD Sender: No OFD packet to send [17:26:54]OFD Sender: No OFD packet to send [17:26:59]OFD Sender: No OFD packet to send [17:27:04]OFD Sender: No OFD packet to send [17:27:09]OFD Sender: No OFD packet to send [17:27:14]OFD Sender: No OFD packet to send [17:27:19]OFD Sender: No OFD packet to send [17:27:24]OFD Sender: No OFD packet to send [17:27:29]OFD Sender: No OFD packet to send [17:27:34]OFD Sender: No OFD packet to send [17:27:39]OFD Sender: No OFD packet to send [17:27:44]OFD Sender: No OFD packet to send [17:27:49]OFD Sender: No OFD packet to send [17:27:54]OFD Sender: No OFD packet to send [17:27:59]OFD Sender: No OFD packet to send [17:28:04]OFD Sender: No OFD packet to send [17:28:09]OFD Sender: No OFD packet to send [17:28:14]OFD Sender: No OFD packet to send [17:28:19]OFD Sender: No OFD packet to send [17:28:24]OFD Sender: No OFD packet to send [17:28:29]OFD Sender: No OFD packet to send [17:28:34]OFD Sender: No OFD packet to send [17:28:39]OFD Sender: No OFD packet to send [17:28:44]OFD Sender: No OFD packet to send [17:28:49]OFD Sender: No OFD packet to send [17:28:54]OFD Sender: No OFD packet to send [17:28:59]OFD Sender: No OFD packet to send [17:29:04]OFD Sender: No OFD packet to send [17:29:09]OFD Sender: No OFD packet to send [17:29:14]OFD Sender: No OFD packet to send [17:29:19]OFD Sender: No OFD packet to send [17:29:24]OFD Sender: No OFD packet to send [17:29:29]OFD Sender: No OFD packet to send [17:29:34]OFD Sender: No OFD packet to send [17:29:39]OFD Sender: No OFD packet to send [17:29:44]OFD Sender: No OFD packet to send [17:29:49]OFD Sender: No OFD packet to send [17:29:54]OFD Sender: No OFD packet to send [17:29:59]OFD Sender: No OFD packet to send [17:30:04]OFD Sender: No OFD packet to send [17:30:09]OFD Sender: No OFD packet to send [17:30:14]OFD Sender: No OFD packet to send [17:30:19]OFD Sender: No OFD packet to send [17:30:24]OFD Sender: No OFD packet to send [17:30:29]OFD Sender: No OFD packet to send [17:30:34]OFD Sender: No OFD packet to send [17:30:39]OFD Sender: No OFD packet to send [17:30:44]OFD Sender: No OFD packet to send [17:30:49]OFD Sender: No OFD packet to send [17:30:54]OFD Sender: No OFD packet to send [17:30:59]OFD Sender: No OFD packet to send [17:31:04]OFD Sender: No OFD packet to send [17:31:09]OFD Sender: No OFD packet to send [17:31:14]OFD Sender: No OFD packet to send [17:31:19]OFD Sender: No OFD packet to send [17:31:24]OFD Sender: No OFD packet to send [17:31:29]OFD Sender: No OFD packet to send [17:31:34]OFD Sender: No OFD packet to send [17:31:39]OFD Sender: No OFD packet to send [17:31:44]OFD Sender: No OFD packet to send [17:31:49]OFD Sender: No OFD packet to send [17:31:54]OFD Sender: No OFD packet to send [17:31:59]OFD Sender: No OFD packet to send [17:32:04]OFD Sender: No OFD packet to send [17:32:09]OFD Sender: No OFD packet to send [17:32:14]OFD Sender: No OFD packet to send [17:32:19]OFD Sender: No OFD packet to send [17:32:24]OFD Sender: No OFD packet to send [17:32:29]OFD Sender: No OFD packet to send [17:32:34]OFD Sender: No OFD packet to send [17:32:39]OFD Sender: No OFD packet to send [17:32:44]OFD Sender: No OFD packet to send [17:32:49]OFD Sender: No OFD packet to send [17:32:54]OFD Sender: No OFD packet to send [17:32:59]OFD Sender: No OFD packet to send [17:33:04]OFD Sender: No OFD packet to send [17:33:09]OFD Sender: No OFD packet to send [17:33:14]OFD Sender: No OFD packet to send [17:33:19]OFD Sender: No OFD packet to send [17:33:24]OFD Sender: No OFD packet to send [17:33:29]OFD Sender: No OFD packet to send [17:33:34]OFD Sender: No OFD packet to send [17:33:39]OFD Sender: No OFD packet to send [17:33:44]OFD Sender: No OFD packet to send [17:33:49]OFD Sender: No OFD packet to send [17:33:54]OFD Sender: No OFD packet to send [17:33:59]OFD Sender: No OFD packet to send [17:34:04]OFD Sender: No OFD packet to send [17:34:09]OFD Sender: No OFD packet to send [17:34:14]OFD Sender: No OFD packet to send [17:34:19]OFD Sender: No OFD packet to send [17:34:24]OFD Sender: No OFD packet to send [17:34:29]OFD Sender: No OFD packet to send [17:34:34]OFD Sender: No OFD packet to send [17:34:39]OFD Sender: No OFD packet to send [17:34:44]OFD Sender: No OFD packet to send [17:34:49]OFD Sender: No OFD packet to send [17:34:54]OFD Sender: No OFD packet to send [17:34:59]OFD Sender: No OFD packet to send [17:35:04]OFD Sender: No OFD packet to send [17:35:09]OFD Sender: No OFD packet to send [17:35:14]OFD Sender: No OFD packet to send [17:35:19]OFD Sender: No OFD packet to send [17:35:24]OFD Sender: No OFD packet to send [17:35:29]OFD Sender: No OFD packet to send [17:35:34]OFD Sender: No OFD packet to send [17:35:39]OFD Sender: No OFD packet to send [17:35:44]OFD Sender: No OFD packet to send [17:35:49]OFD Sender: No OFD packet to send [17:35:54]OFD Sender: No OFD packet to send [17:35:59]OFD Sender: No OFD packet to send [17:36:04]OFD Sender: No OFD packet to send [17:36:09]OFD Sender: No OFD packet to send [17:36:10]accept exits with 8 [17:36:10]New connection [17:36:10]New thread 3066621284 created [17:36:10]Thread 3066764644 joined [17:36:10]Waiting for new connection... [17:36:10] Sock 8.Parse request [17:36:10]Sock 8.Check first char [17:36:10]Sock 8.First char is OK [17:36:10]request: POST /json_proto HTTP/1.0 [17:36:10]Method: POST [17:36:10]URL: /json_proto [17:36:10]Method is POST - this is cgi request [17:36:10]url: /json_proto [17:36:10]query_string will be loaded in cgi processing [17:36:10]execute_cgi json_proto POST (null) [17:36:10]execute_cgi path=json_proto method=POST [17:36:10]POST find Content-Length [17:36:10]Host: 172.17.62.196:8080 [17:36:10]Content-Length: 620 [17:36:10]Content-Type: application/json [17:36:10] [17:36:10]POST finish read [17:36:10]Found Content-Length = 620 [17:36:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16896", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:36:10]execute_script... [17:36:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16896", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:36:10]POST & json_proto [17:36:10]process_json_proto [17:36:10]json parsed OK: [17:36:10]protocol is kg_v1.0 [17:36:10]action value=close_receipt [17:36:10]process_action close_receipt [17:36:10]cmd_close_receipt [17:36:10]MH_GetDate [17:36:10]Write to MH i2c: F0 00 00 D7 0C D2 [17:36:10]Write i2c OK [17:36:10]MH_I2C_Read... [17:36:10]Read from MH i2c: F0 [17:36:10]MH_I2C_Read... [17:36:10]Read from MH i2c: F0 09 00 [17:36:10]MH_I2C_Read... [17:36:10]Read from MH i2c: F0 09 00 D7 0C 00 0D 4A F4 66 CE CC 0E 66 9A [17:36:10]GetLastDocTimeStamp 1727284688 [17:36:10]current date 1727285773 [17:36:10]FM_GetShiftState [17:36:10]SAM_PROTO_GetShiftState [17:36:10]wFMCommunicate request_size=4 [17:36:10]MH_SAM_APDU [17:36:10]CAPDU: 80 13 01 00 [17:36:10]Write to MH i2c: E2 08 00 D8 0C 80 13 01 00 00 00 00 00 61 [17:36:10]Write i2c OK [17:36:10]MH_I2C_Read... [17:36:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:36:10]Read from MH i2c: E2 [17:36:10]MH_I2C_Read... [17:36:10]Read from MH i2c: E2 0E 00 [17:36:10]MH_I2C_Read... [17:36:10]Read from MH i2c: E2 0E 00 D8 0C 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 4E [17:36:10]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [17:36:10]wFMCommunicate OK [17:36:10]SAM_PROTO_GetShiftState done [17:36:10]FM_GetShiftState done [17:36:10]opened in 1727223091 [17:36:10]opened+sec_in_day 1727309491 [17:36:10]quantity*price = 14400 [17:36:10]sum+1 = 14401 [17:36:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 54 25.09.2024 17:36 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18976 ФПД: 27841512087121 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T173613&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18976&fm=27841512087121&tin=02508201610067®Number=0000000000152968&sum=14400 0 [17:36:11]StoreToDocumentArchive [17:36:11]shift 183 fd 18976 [17:36:11]save to /storage/0183/doc_00018976 [17:36:11]save last doc name /storage/0183/doc_00018976 to /storage/kkm_last_doc_name [17:36:11]save OK [17:36:11]Clear old archive folders... [17:36:11]ProcessDocumentItem done err = 0, tmpTLVsize=273 [17:36:11]tlvbuf is 015C5890 [17:36:11]SAM_PROTO_ClearQueue [17:36:11]wFMCommunicate request_size=4 [17:36:11]MH_SAM_APDU [17:36:11]CAPDU: 80 09 00 00 [17:36:11]Write to MH i2c: E2 08 00 E5 0C 80 09 00 00 00 00 00 00 63 [17:36:11]Write i2c OK [17:36:11]MH_I2C_Read... [17:36:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:36:11]Read from MH i2c: E2 [17:36:11]MH_I2C_Read... [17:36:11]Read from MH i2c: E2 03 00 [17:36:11]MH_I2C_Read... [17:36:11]Read from MH i2c: E2 03 00 E5 0C 00 90 00 65 [17:36:11]RAPDU: 90 00 [17:36:11]wFMCommunicate OK [17:36:11]SAM_PROTO_ClearQueue done [17:36:11]KKMCreateOFDPacket [17:36:11]OFDProtocolAddRootSTLVToBuf [17:36:11]FM_MakeSignedData [17:36:11]FM_MakeSignedData [17:36:11]SAM_PROTO_SignData [17:36:11]wFMCommunicate request_size=4 [17:36:11]MH_SAM_APDU [17:36:11]CAPDU: 80 0D 01 02 [17:36:11]Write to MH i2c: E2 08 00 E6 0C 80 0D 01 02 00 00 00 00 6B [17:36:11]Write i2c OK [17:36:11]MH_I2C_Read... [17:36:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:36:12]Read from MH i2c: E2 [17:36:12]MH_I2C_Read... [17:36:12]Read from MH i2c: E2 03 00 [17:36:12]MH_I2C_Read... [17:36:12]Read from MH i2c: E2 03 00 E6 0C 00 90 00 66 [17:36:12]RAPDU: 90 00 [17:36:12]wFMCommunicate OK [17:36:12]wFMCommunicate request_size=255 [17:36:12]MH_SAM_APDU [17:36:12]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 0D 4A F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 [17:36:12]Write to MH i2c: E2 02 01 E7 0C 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 0D 4A F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 00 00 79 [17:36:12]Write i2c OK [17:36:12]MH_I2C_Read... [17:36:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:36:12]Read from MH i2c: E2 [17:36:12]MH_I2C_Read... [17:36:12]Read from MH i2c: E2 03 00 [17:36:12]MH_I2C_Read... [17:36:12]Read from MH i2c: E2 03 00 E7 0C 00 90 00 67 [17:36:12]RAPDU: 90 00 [17:36:12]wFMCommunicate OK [17:36:12]wFMCommunicate request_size=32 [17:36:12]MH_SAM_APDU [17:36:12]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 34 35 36 10 04 04 00 20 4A 00 00 35 04 06 00 19 52 5B 70 1E 51 [17:36:12]Write to MH i2c: E2 23 00 E8 0C 80 0D 02 02 1B 00 30 30 30 39 35 39 34 35 36 10 04 04 00 20 4A 00 00 35 04 06 00 19 52 5B 70 1E 51 00 00 E0 [17:36:12]Write i2c OK [17:36:12]MH_I2C_Read... [17:36:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:36:12]Read from MH i2c: E2 [17:36:12]MH_I2C_Read... [17:36:12]Read from MH i2c: E2 03 00 [17:36:12]MH_I2C_Read... [17:36:12]Read from MH i2c: E2 03 00 E8 0C 00 90 00 68 [17:36:12]RAPDU: 90 00 [17:36:12]wFMCommunicate OK [17:36:12]wFMCommunicate request_size=4 [17:36:12]MH_SAM_APDU [17:36:12]CAPDU: 80 0D 03 02 [17:36:12]Write to MH i2c: E2 08 00 E9 0C 80 0D 03 02 00 00 00 00 70 [17:36:12]Write i2c OK [17:36:12]MH_I2C_Read... [17:36:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:36:12]Read from MH i2c: E2 [17:36:12]MH_I2C_Read... [17:36:12]Read from MH i2c: E2 0B 00 [17:36:12]MH_I2C_Read... [17:36:12]Read from MH i2c: E2 0B 00 E9 0C 00 2D 2E 0A 12 CE 44 12 C8 90 00 D4 [17:36:12]RAPDU: 2D 2E 0A 12 CE 44 12 C8 90 00 [17:36:12]wFMCommunicate OK [17:36:12]SAM_PROTO_SignData done [17:36:12]FM_MakeSignedData done [17:36:12]CreateOFDProtocolMessage [17:36:12]wFMCommunicate request_size=4 [17:36:12]MH_SAM_APDU [17:36:12]CAPDU: 80 11 00 00 [17:36:12]Write to MH i2c: E2 08 00 EA 0C 80 11 00 00 00 00 00 00 70 [17:36:12]Write i2c OK [17:36:12]MH_I2C_Read... [17:36:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:36:12]Read from MH i2c: E2 [17:36:12]MH_I2C_Read... [17:36:12]Read from MH i2c: E2 17 00 [17:36:12]MH_I2C_Read... [17:36:12]Read from MH i2c: E2 17 00 EA 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 C9 [17:36:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:36:12]wFMCommunicate OK [17:36:12]CreateOFDProtocolMessage done [17:36:12]OFDSenderStorePacket 18976 [17:36:12]StoreOFDPacket docnum=18976 [17:36:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 25 01 00 00 F2 13 1D 01 9A 20 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 0D 4A F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 20 4A 00 00 35 04 06 00 19 52 5B 70 1E 51 2D 2E 0A 12 CE 44 12 C8 [17:36:12]CheckFolder [17:36:12]dirname=/storage/ofd_packets [17:36:12]CheckFolder done [17:36:12]ProducePacketName [17:36:12]name=ofd_packets/00018976 [17:36:12]NVStorageSaveData ofd_packets/00018976 [17:36:12]File name is /storage/ofd_packets/00018976 [17:36:12]Write 323 bytes [17:36:12]NVStorageSaveData done [17:36:12]OFDSenderStorePacket done [17:36:12]KKMCreateOFDPacket done [17:36:12]NVStorageSaveData kkm_last_timestamp [17:36:12]File name is /storage/kkm_last_timestamp [17:36:12]Write 4 bytes [17:36:12]NVStorageSaveData done [17:36:12]ExternCall_PrintAddStr [17:36:12]wPrintStart [17:36:12]Write to MH i2c: 01 00 00 EB 0C F7 [17:36:12]Write i2c OK [17:36:12]MH_I2C_Read... [17:36:12]Read from MH i2c: 01 [17:36:12]MH_I2C_Read... [17:36:12]Read from MH i2c: 01 07 00 [17:36:12]MH_I2C_Read... [17:36:12]Read from MH i2c: 01 07 00 EB 0C 00 00 00 00 00 FF 0F 0C [17:36:12]RasterBufferAndPrint [17:36:12]line Счет N : (3)16896 [17:36:12]line ИНН: 02508201610067 [17:36:12]line Контрольно-Кассовый Чек [17:36:12]line ПРОДАЖА [17:36:12]line Товар: 48743570 [17:36:12]line Сигареты Winston XStyle Blue [17:36:12]line 1.000 * 144.00 [17:36:12]line = 144.00 [17:36:12]line НДС 12% НСП 1% [17:36:12]line > о реализуемом товаре [17:36:12]line ИТОГО: 144.00 [17:36:12]line НСП 1% : 1.27 [17:36:12]line НДС 12% : 15.29 [17:36:12]line Наличными: 144.00 [17:36:12]line Безнал.: 0.00 [17:36:12]line Место: АЗС № 176 "Партнер Нефть" [17:36:12]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [17:36:12]line СНО: Общий режим [17:36:12]line Чек 54 25.09.2024 17:36 [17:36:12]line Смена: 183 ФФД: 1.0 [17:36:12]line ЗНМ: 0300000010 [17:36:12]line РНМ: 0000000000152968 [17:36:12]line Версия ККМ: v1.0 [17:36:12]line ФМ: 0000000000959456 [17:36:12]line ФД: 18976 [17:36:12]line ФПД: 27841512087121 [17:36:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T173613&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18976&fm=27841512087121&tin=02508201610067®Number=0000000000152968&sum=14400 [17:36:12]line 0 [17:36:12]OFD Sender: Processing packet 18976 [packets to send 7, broken 6] [17:36:12]ProducePacketName [17:36:12]name=ofd_packets/00018976 [17:36:12]OFD Sender: To server: pG, [17:36:12]CommunicateWithHost lk.salyk.kg:30040 [17:36:12]ConnectInit lk.salyk.kg [17:36:12]written 0, free lines is 4095 [17:36:12]Connected sock=10 [17:36:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 25 01 00 00 F2 13 1D 01 9A 20 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 0D 4A F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 20 4A 00 00 35 04 06 00 19 52 5B 70 1E 51 2D 2E 0A 12 CE 44 12 C8 [17:36:13]Write to MH i2c: 01 00 00 13 0D 20 [17:36:13]Write i2c OK [17:36:13]MH_I2C_Read... [17:36:13]Read from MH i2c: 01 [17:36:13]MH_I2C_Read... [17:36:13]Read from MH i2c: 01 07 00 [17:36:13]MH_I2C_Read... [17:36:13]Read from MH i2c: 01 07 00 13 0D 00 00 00 00 00 10 0D 44 [17:36:13]RasterBufferAndPrint [17:36:13]line [17:36:13]line [17:36:13]line [17:36:13]line [17:36:13]line [17:36:13]written 0, free lines is 3350 [17:36:13]MH_Cut [17:36:13]Write to MH i2c: D1 01 00 1A 0D 01 F9 [17:36:13]Write i2c OK [17:36:13]MH_I2C_Read... [17:36:13]Read from MH i2c: D1 [17:36:13]MH_I2C_Read... [17:36:13]Read from MH i2c: D1 01 00 [17:36:13]MH_I2C_Read... [17:36:13]Read from MH i2c: D1 01 00 1A 0D 00 F8 [17:36:13]Write to MH i2c: 01 00 00 1B 0D 28 [17:36:13]Write i2c OK [17:36:13]MH_I2C_Read... [17:36:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 52 66 47 00 07 2D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 20 4A 00 00 F4 03 04 00 69 F3 F3 66 B6 04 01 00 00 4E B9 DE 43 DC C3 DC 69 [17:36:13]CommunicateWithHost err = 0 [17:36:13]CheckOFDResponse [17:36:13]1017 (14) - 77093643461234 [17:36:13]1041 (16) - 0000000000959456 [17:36:13]1040 (4) - 18976 [17:36:13]1012 (4) - 25.09.2024 11:26 [17:36:13]1206 (1) - 0 [17:36:13]OFD Sender: Remove packet 18976 [17:36:13]ProducePacketName [17:36:13]name=ofd_packets/00018976 [17:36:13]NVStorageDeleteData [17:36:13]OFD Sender: No OFD packet to send [17:36:13]*** Cut start [17:36:13]*** Partial cut [17:36:13]*** CUTSNS_PIN = 1 [17:36:13]*** CUTSNS_PIN = 0 [17:36:14]*** Brake cut motor [17:36:14]Read from MH i2c: 01 [17:36:14]MH_I2C_Read... [17:36:14]*** Stop cut motor [17:36:14]*** Cut end [17:36:14]Read from MH i2c: 01 07 00 [17:36:14]MH_I2C_Read... [17:36:14]Read from MH i2c: 01 07 00 1B 0D 00 00 00 00 00 FF 0F 3D [17:36:14]process_action close_receipt done [17:36:14]requested_data is exist [17:36:14]produce_requested_data [17:36:14]requested_item fm.sn is exist - process it [17:36:14]wFMCommunicate request_size=4 [17:36:14]MH_SAM_APDU [17:36:14]CAPDU: 80 11 00 00 [17:36:14]Write to MH i2c: E2 08 00 1C 0D 80 11 00 00 00 00 00 00 A3 [17:36:14]Write i2c OK [17:36:14]MH_I2C_Read... [17:36:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:36:14]Read from MH i2c: E2 [17:36:14]MH_I2C_Read... [17:36:14]Read from MH i2c: E2 17 00 [17:36:14]MH_I2C_Read... [17:36:14]Read from MH i2c: E2 17 00 1C 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 FC [17:36:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:36:14]wFMCommunicate OK [17:36:14]requested_item fd.num is exist - process it [17:36:14]SAM_PROTO_GetFieldsCounters [17:36:14]wFMCommunicate request_size=4 [17:36:14]MH_SAM_APDU [17:36:14]CAPDU: 80 13 00 00 [17:36:14]Write to MH i2c: E2 08 00 1D 0D 80 13 00 00 00 00 00 00 A6 [17:36:14]Write i2c OK [17:36:14]MH_I2C_Read... [17:36:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:36:14]Read from MH i2c: E2 [17:36:14]MH_I2C_Read... [17:36:14]Read from MH i2c: E2 62 00 [17:36:14]MH_I2C_Read... [17:36:14]Read from MH i2c: E2 62 00 1D 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 20 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 96 [17:36:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 20 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:36:14]wFMCommunicate OK [17:36:14]SAM_PROTO_GetFieldsCounters done [17:36:14]requested_item shift.num is exist - process it [17:36:14]requested_item shift.opened is exist - process it [17:36:14]req_shift_opened [17:36:14]FM_GetShiftState [17:36:14]SAM_PROTO_GetShiftState [17:36:14]wFMCommunicate request_size=4 [17:36:14]MH_SAM_APDU [17:36:14]CAPDU: 80 13 01 00 [17:36:14]Write to MH i2c: E2 08 00 1E 0D 80 13 01 00 00 00 00 00 A8 [17:36:14]Write i2c OK [17:36:14]MH_I2C_Read... [17:36:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:36:14]Read from MH i2c: E2 [17:36:14]MH_I2C_Read... [17:36:14]Read from MH i2c: E2 0E 00 [17:36:14]MH_I2C_Read... [17:36:14]Read from MH i2c: E2 0E 00 1E 0D 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 95 [17:36:14]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [17:36:14]wFMCommunicate OK [17:36:14]SAM_PROTO_GetShiftState done [17:36:14]FM_GetShiftState done [17:36:14]req_shift_opened done [17:36:14]requested_item shift.open_date is exist - process it [17:36:14]req_shift_open_date [17:36:14]req_shift_open_date done [17:36:14]produce_requested_data done [17:36:14]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18976,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [17:36:14]process_action_free close_receipt [17:36:14]json_value_free [17:36:14]json_value_free done [17:36:14]process_json_proto returns [17:36:14]Send response to host [17:36:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18976,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [17:36:14]free response buf [17:36:14]execute_script done [17:36:14]execute_script returns [17:36:14]free content buf [17:36:14]Sock 8.Close socket [17:36:14]Sock 8.Thread stoped [17:36:18]OFD Sender: No OFD packet to send [17:36:23]OFD Sender: No OFD packet to send [17:36:28]OFD Sender: No OFD packet to send [17:36:33]OFD Sender: No OFD packet to send [17:36:38]OFD Sender: No OFD packet to send [17:36:43]OFD Sender: No OFD packet to send [17:36:48]OFD Sender: No OFD packet to send [17:36:53]OFD Sender: No OFD packet to send [17:36:58]OFD Sender: No OFD packet to send [17:37:03]OFD Sender: No OFD packet to send [17:37:08]OFD Sender: No OFD packet to send [17:37:13]OFD Sender: No OFD packet to send [17:37:18]OFD Sender: No OFD packet to send [17:37:23]OFD Sender: No OFD packet to send [17:37:28]OFD Sender: No OFD packet to send [17:37:33]OFD Sender: No OFD packet to send [17:37:38]OFD Sender: No OFD packet to send [17:37:43]OFD Sender: No OFD packet to send [17:37:48]OFD Sender: No OFD packet to send [17:37:53]OFD Sender: No OFD packet to send [17:37:58]OFD Sender: No OFD packet to send [17:38:03]OFD Sender: No OFD packet to send [17:38:08]OFD Sender: No OFD packet to send [17:38:13]OFD Sender: No OFD packet to send [17:38:18]OFD Sender: No OFD packet to send [17:38:23]OFD Sender: No OFD packet to send [17:38:28]OFD Sender: No OFD packet to send [17:38:33]OFD Sender: No OFD packet to send [17:38:38]OFD Sender: No OFD packet to send [17:38:43]OFD Sender: No OFD packet to send [17:38:48]OFD Sender: No OFD packet to send [17:38:53]OFD Sender: No OFD packet to send [17:38:58]OFD Sender: No OFD packet to send [17:39:03]OFD Sender: No OFD packet to send [17:39:08]OFD Sender: No OFD packet to send [17:39:13]OFD Sender: No OFD packet to send [17:39:18]OFD Sender: No OFD packet to send [17:39:23]OFD Sender: No OFD packet to send [17:39:28]OFD Sender: No OFD packet to send [17:39:33]OFD Sender: No OFD packet to send [17:39:38]OFD Sender: No OFD packet to send [17:39:43]OFD Sender: No OFD packet to send [17:39:48]OFD Sender: No OFD packet to send [17:39:53]OFD Sender: No OFD packet to send [17:39:58]OFD Sender: No OFD packet to send [17:40:03]OFD Sender: No OFD packet to send [17:40:08]OFD Sender: No OFD packet to send [17:40:13]OFD Sender: No OFD packet to send [17:40:18]OFD Sender: No OFD packet to send [17:40:24]OFD Sender: No OFD packet to send [17:40:29]OFD Sender: No OFD packet to send [17:40:34]OFD Sender: No OFD packet to send [17:40:39]OFD Sender: No OFD packet to send [17:40:44]OFD Sender: No OFD packet to send [17:40:49]OFD Sender: No OFD packet to send [17:40:54]OFD Sender: No OFD packet to send [17:40:59]OFD Sender: No OFD packet to send [17:41:04]OFD Sender: No OFD packet to send [17:41:09]OFD Sender: No OFD packet to send [17:41:14]OFD Sender: No OFD packet to send [17:41:19]OFD Sender: No OFD packet to send [17:41:24]OFD Sender: No OFD packet to send [17:41:29]OFD Sender: No OFD packet to send [17:41:34]OFD Sender: No OFD packet to send [17:41:39]OFD Sender: No OFD packet to send [17:41:44]OFD Sender: No OFD packet to send [17:41:49]OFD Sender: No OFD packet to send [17:41:54]OFD Sender: No OFD packet to send [17:41:59]OFD Sender: No OFD packet to send [17:42:04]OFD Sender: No OFD packet to send [17:42:09]OFD Sender: No OFD packet to send [17:42:14]OFD Sender: No OFD packet to send [17:42:19]OFD Sender: No OFD packet to send [17:42:24]OFD Sender: No OFD packet to send [17:42:29]OFD Sender: No OFD packet to send [17:42:34]OFD Sender: No OFD packet to send [17:42:39]OFD Sender: No OFD packet to send [17:42:44]OFD Sender: No OFD packet to send [17:42:49]OFD Sender: No OFD packet to send [17:42:54]OFD Sender: No OFD packet to send [17:42:59]OFD Sender: No OFD packet to send [17:43:04]OFD Sender: No OFD packet to send [17:43:09]OFD Sender: No OFD packet to send [17:43:14]OFD Sender: No OFD packet to send [17:43:19]OFD Sender: No OFD packet to send [17:43:24]OFD Sender: No OFD packet to send [17:43:29]OFD Sender: No OFD packet to send [17:43:34]OFD Sender: No OFD packet to send [17:43:39]OFD Sender: No OFD packet to send [17:43:44]OFD Sender: No OFD packet to send [17:43:49]OFD Sender: No OFD packet to send [17:43:54]OFD Sender: No OFD packet to send [17:43:59]OFD Sender: No OFD packet to send [17:44:04]OFD Sender: No OFD packet to send [17:44:09]OFD Sender: No OFD packet to send [17:44:14]OFD Sender: No OFD packet to send [17:44:19]OFD Sender: No OFD packet to send [17:44:24]OFD Sender: No OFD packet to send [17:44:29]OFD Sender: No OFD packet to send [17:44:34]OFD Sender: No OFD packet to send [17:44:39]OFD Sender: No OFD packet to send [17:44:44]OFD Sender: No OFD packet to send [17:44:49]OFD Sender: No OFD packet to send [17:44:54]OFD Sender: No OFD packet to send [17:44:59]OFD Sender: No OFD packet to send [17:45:04]OFD Sender: No OFD packet to send [17:45:09]OFD Sender: No OFD packet to send [17:45:14]OFD Sender: No OFD packet to send [17:45:19]OFD Sender: No OFD packet to send [17:45:24]OFD Sender: No OFD packet to send [17:45:29]OFD Sender: No OFD packet to send [17:45:34]OFD Sender: No OFD packet to send [17:45:39]OFD Sender: No OFD packet to send [17:45:44]OFD Sender: No OFD packet to send [17:45:49]OFD Sender: No OFD packet to send [17:45:54]OFD Sender: No OFD packet to send [17:45:59]OFD Sender: No OFD packet to send [17:46:04]OFD Sender: No OFD packet to send [17:46:09]OFD Sender: No OFD packet to send [17:46:14]OFD Sender: No OFD packet to send [17:46:19]OFD Sender: No OFD packet to send [17:46:24]OFD Sender: No OFD packet to send [17:46:29]OFD Sender: No OFD packet to send [17:46:34]OFD Sender: No OFD packet to send [17:46:39]OFD Sender: No OFD packet to send [17:46:44]OFD Sender: No OFD packet to send [17:46:49]OFD Sender: No OFD packet to send [17:46:54]OFD Sender: No OFD packet to send [17:46:59]OFD Sender: No OFD packet to send [17:47:04]OFD Sender: No OFD packet to send [17:47:09]OFD Sender: No OFD packet to send [17:47:14]OFD Sender: No OFD packet to send [17:47:19]OFD Sender: No OFD packet to send [17:47:24]OFD Sender: No OFD packet to send [17:47:29]OFD Sender: No OFD packet to send [17:47:34]OFD Sender: No OFD packet to send [17:47:39]OFD Sender: No OFD packet to send [17:47:44]OFD Sender: No OFD packet to send [17:47:49]OFD Sender: No OFD packet to send [17:47:54]OFD Sender: No OFD packet to send [17:47:59]OFD Sender: No OFD packet to send [17:48:04]OFD Sender: No OFD packet to send [17:48:09]OFD Sender: No OFD packet to send [17:48:14]OFD Sender: No OFD packet to send [17:48:19]OFD Sender: No OFD packet to send [17:48:24]OFD Sender: No OFD packet to send [17:48:29]OFD Sender: No OFD packet to send [17:48:34]OFD Sender: No OFD packet to send [17:48:39]OFD Sender: No OFD packet to send [17:48:44]OFD Sender: No OFD packet to send [17:48:49]OFD Sender: No OFD packet to send [17:48:54]OFD Sender: No OFD packet to send [17:48:59]OFD Sender: No OFD packet to send [17:49:04]OFD Sender: No OFD packet to send [17:49:09]OFD Sender: No OFD packet to send [17:49:14]OFD Sender: No OFD packet to send [17:49:19]OFD Sender: No OFD packet to send [17:49:24]OFD Sender: No OFD packet to send [17:49:29]OFD Sender: No OFD packet to send [17:49:34]OFD Sender: No OFD packet to send [17:49:39]OFD Sender: No OFD packet to send [17:49:44]OFD Sender: No OFD packet to send [17:49:49]OFD Sender: No OFD packet to send [17:49:54]OFD Sender: No OFD packet to send [17:49:59]OFD Sender: No OFD packet to send [17:50:04]OFD Sender: No OFD packet to send [17:50:09]OFD Sender: No OFD packet to send [17:50:14]OFD Sender: No OFD packet to send [17:50:19]OFD Sender: No OFD packet to send [17:50:24]OFD Sender: No OFD packet to send [17:50:24]accept exits with 9 [17:50:24]New connection [17:50:24]New thread 3066764644 created [17:50:24]Thread 3066621284 joined [17:50:24]Waiting for new connection... [17:50:24] Sock 9.Parse request [17:50:24]Sock 9.Check first char [17:50:24]Sock 9.First char is OK [17:50:24]request: POST /json_proto HTTP/1.0 [17:50:24]Method: POST [17:50:24]URL: /json_proto [17:50:24]Method is POST - this is cgi request [17:50:24]url: /json_proto [17:50:24]query_string will be loaded in cgi processing [17:50:24]execute_cgi json_proto POST (null) [17:50:24]execute_cgi path=json_proto method=POST [17:50:24]POST find Content-Length [17:50:24]Host: 172.17.62.196:8080 [17:50:24]Content-Length: 645 [17:50:24]Content-Type: application/json [17:50:24] [17:50:24]POST finish read [17:50:24]Found Content-Length = 645 [17:50:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16897", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 185.00, "quantity" : 1.000, "sum" : 185.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 185.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:50:24]execute_script... [17:50:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16897", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 185.00, "quantity" : 1.000, "sum" : 185.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 185.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:50:24]POST & json_proto [17:50:24]process_json_proto [17:50:24]json parsed OK: [17:50:24]protocol is kg_v1.0 [17:50:24]action value=close_receipt [17:50:24]process_action close_receipt [17:50:24]cmd_close_receipt [17:50:24]MH_GetDate [17:50:24]Write to MH i2c: F0 00 00 1F 0D 1B [17:50:24]Write i2c OK [17:50:24]MH_I2C_Read... [17:50:24]Read from MH i2c: F0 [17:50:24]MH_I2C_Read... [17:50:24]Read from MH i2c: F0 09 00 [17:50:24]MH_I2C_Read... [17:50:24]Read from MH i2c: F0 09 00 1F 0D 00 63 4D F4 66 CE CC 0E 66 3C [17:50:24]GetLastDocTimeStamp 1727285773 [17:50:24]current date 1727286627 [17:50:24]FM_GetShiftState [17:50:24]SAM_PROTO_GetShiftState [17:50:24]wFMCommunicate request_size=4 [17:50:24]MH_SAM_APDU [17:50:24]CAPDU: 80 13 01 00 [17:50:24]Write to MH i2c: E2 08 00 20 0D 80 13 01 00 00 00 00 00 AA [17:50:24]Write i2c OK [17:50:24]MH_I2C_Read... [17:50:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:50:24]Read from MH i2c: E2 [17:50:24]MH_I2C_Read... [17:50:24]Read from MH i2c: E2 0E 00 [17:50:24]MH_I2C_Read... [17:50:24]Read from MH i2c: E2 0E 00 20 0D 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 97 [17:50:24]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [17:50:24]wFMCommunicate OK [17:50:24]SAM_PROTO_GetShiftState done [17:50:24]FM_GetShiftState done [17:50:24]opened in 1727223091 [17:50:24]opened+sec_in_day 1727309491 [17:50:24]quantity*price = 18500 [17:50:24]sum+1 = 18501 [17:50:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 185.00 НСП 1% : 1.64 НДС 12% : 19.65 Наличными: 185.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 55 25.09.2024 17:50 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18977 ФПД: 107463118546984 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T175027&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18977&fm=107463118546984&tin=02508201610067®Number=0000000000152968&sum=18500 0 [17:50:25]StoreToDocumentArchive [17:50:25]shift 183 fd 18977 [17:50:25]save to /storage/0183/doc_00018977 [17:50:25]save last doc name /storage/0183/doc_00018977 to /storage/kkm_last_doc_name [17:50:25]save OK [17:50:25]Clear old archive folders... [17:50:25]ProcessDocumentItem done err = 0, tmpTLVsize=278 [17:50:25]tlvbuf is 015DF160 [17:50:25]SAM_PROTO_ClearQueue [17:50:25]wFMCommunicate request_size=4 [17:50:25]MH_SAM_APDU [17:50:25]CAPDU: 80 09 00 00 [17:50:25]Write to MH i2c: E2 08 00 2D 0D 80 09 00 00 00 00 00 00 AC [17:50:25]Write i2c OK [17:50:25]MH_I2C_Read... [17:50:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:50:26]Read from MH i2c: E2 [17:50:26]MH_I2C_Read... [17:50:26]Read from MH i2c: E2 03 00 [17:50:26]MH_I2C_Read... [17:50:26]Read from MH i2c: E2 03 00 2D 0D 00 90 00 AE [17:50:26]RAPDU: 90 00 [17:50:26]wFMCommunicate OK [17:50:26]SAM_PROTO_ClearQueue done [17:50:26]KKMCreateOFDPacket [17:50:26]OFDProtocolAddRootSTLVToBuf [17:50:26]FM_MakeSignedData [17:50:26]FM_MakeSignedData [17:50:26]SAM_PROTO_SignData [17:50:26]wFMCommunicate request_size=4 [17:50:26]MH_SAM_APDU [17:50:26]CAPDU: 80 0D 01 02 [17:50:26]Write to MH i2c: E2 08 00 2E 0D 80 0D 01 02 00 00 00 00 B4 [17:50:26]Write i2c OK [17:50:26]MH_I2C_Read... [17:50:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:50:26]Read from MH i2c: E2 [17:50:26]MH_I2C_Read... [17:50:26]Read from MH i2c: E2 03 00 [17:50:26]MH_I2C_Read... [17:50:26]Read from MH i2c: E2 03 00 2E 0D 00 90 00 AF [17:50:26]RAPDU: 90 00 [17:50:26]wFMCommunicate OK [17:50:26]wFMCommunicate request_size=255 [17:50:26]MH_SAM_APDU [17:50:26]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 48 00 00 00 00 13 04 06 00 44 48 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 63 4D F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 [17:50:26]Write to MH i2c: E2 02 01 2F 0D 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 48 00 00 00 00 13 04 06 00 44 48 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 63 4D F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 00 00 20 [17:50:26]Write i2c OK [17:50:26]MH_I2C_Read... [17:50:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:50:26]Read from MH i2c: E2 [17:50:26]MH_I2C_Read... [17:50:26]Read from MH i2c: E2 03 00 [17:50:26]MH_I2C_Read... [17:50:26]Read from MH i2c: E2 03 00 2F 0D 00 90 00 B0 [17:50:26]RAPDU: 90 00 [17:50:26]wFMCommunicate OK [17:50:26]wFMCommunicate request_size=37 [17:50:26]MH_SAM_APDU [17:50:26]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 21 4A 00 00 35 04 06 00 61 BC B5 01 E8 28 [17:50:26]Write to MH i2c: E2 28 00 30 0D 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 21 4A 00 00 35 04 06 00 61 BC B5 01 E8 28 00 00 62 [17:50:26]Write i2c OK [17:50:26]MH_I2C_Read... [17:50:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:50:26]Read from MH i2c: E2 [17:50:26]MH_I2C_Read... [17:50:26]Read from MH i2c: E2 03 00 [17:50:26]MH_I2C_Read... [17:50:26]Read from MH i2c: E2 03 00 30 0D 00 90 00 B1 [17:50:26]RAPDU: 90 00 [17:50:26]wFMCommunicate OK [17:50:26]wFMCommunicate request_size=4 [17:50:26]MH_SAM_APDU [17:50:26]CAPDU: 80 0D 03 02 [17:50:26]Write to MH i2c: E2 08 00 31 0D 80 0D 03 02 00 00 00 00 B9 [17:50:26]Write i2c OK [17:50:26]MH_I2C_Read... [17:50:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:50:26]Read from MH i2c: E2 [17:50:26]MH_I2C_Read... [17:50:26]Read from MH i2c: E2 0B 00 [17:50:26]MH_I2C_Read... [17:50:26]Read from MH i2c: E2 0B 00 31 0D 00 15 E1 8F 7C 3F 6D 46 01 90 00 AE [17:50:26]RAPDU: 15 E1 8F 7C 3F 6D 46 01 90 00 [17:50:26]wFMCommunicate OK [17:50:26]SAM_PROTO_SignData done [17:50:26]FM_MakeSignedData done [17:50:26]CreateOFDProtocolMessage [17:50:26]wFMCommunicate request_size=4 [17:50:26]MH_SAM_APDU [17:50:26]CAPDU: 80 11 00 00 [17:50:26]Write to MH i2c: E2 08 00 32 0D 80 11 00 00 00 00 00 00 B9 [17:50:26]Write i2c OK [17:50:26]MH_I2C_Read... [17:50:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:50:26]Read from MH i2c: E2 [17:50:26]MH_I2C_Read... [17:50:26]Read from MH i2c: E2 17 00 [17:50:26]MH_I2C_Read... [17:50:26]Read from MH i2c: E2 17 00 32 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 12 [17:50:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:50:26]wFMCommunicate OK [17:50:26]CreateOFDProtocolMessage done [17:50:26]OFDSenderStorePacket 18977 [17:50:26]StoreOFDPacket docnum=18977 [17:50:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2A 01 00 00 10 0E 22 01 CC 15 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 48 00 00 00 00 13 04 06 00 44 48 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 63 4D F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 21 4A 00 00 35 04 06 00 61 BC B5 01 E8 28 15 E1 8F 7C 3F 6D 46 01 [17:50:26]CheckFolder [17:50:26]dirname=/storage/ofd_packets [17:50:26]CheckFolder done [17:50:26]ProducePacketName [17:50:26]name=ofd_packets/00018977 [17:50:26]NVStorageSaveData ofd_packets/00018977 [17:50:26]File name is /storage/ofd_packets/00018977 [17:50:26]Write 328 bytes [17:50:26]NVStorageSaveData done [17:50:26]OFDSenderStorePacket done [17:50:26]KKMCreateOFDPacket done [17:50:26]NVStorageSaveData kkm_last_timestamp [17:50:26]File name is /storage/kkm_last_timestamp [17:50:26]Write 4 bytes [17:50:26]NVStorageSaveData done [17:50:26]ExternCall_PrintAddStr [17:50:26]wPrintStart [17:50:26]Write to MH i2c: 01 00 00 33 0D 40 [17:50:26]Write i2c OK [17:50:26]MH_I2C_Read... [17:50:26]Read from MH i2c: 01 [17:50:26]MH_I2C_Read... [17:50:26]Read from MH i2c: 01 07 00 [17:50:26]MH_I2C_Read... [17:50:26]Read from MH i2c: 01 07 00 33 0D 00 00 00 00 00 FF 0F 55 [17:50:26]RasterBufferAndPrint [17:50:26]line Счет N : (3)16897 [17:50:26]line ИНН: 02508201610067 [17:50:26]line Контрольно-Кассовый Чек [17:50:26]line ПРОДАЖА [17:50:26]line Товар: 90162602 [17:50:26]line Энерг напиток Red bull 0,25л [17:50:26]line 1.000 * 185.00 [17:50:26]line = 185.00 [17:50:26]line НДС 12% НСП 1% [17:50:26]line > о реализуемом товаре [17:50:26]line ИТОГО: 185.00 [17:50:26]line НСП 1% : 1.64 [17:50:26]line НДС 12% : 19.65 [17:50:26]line Наличными: 185.00 [17:50:26]line Безнал.: 0.00 [17:50:26]line Место: АЗС № 176 "Партнер Нефть" [17:50:26]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [17:50:26]line СНО: Общий режим [17:50:26]line Чек 55 25.09.2024 17:50 [17:50:26]line Смена: 183 ФФД: 1.0 [17:50:26]line ЗНМ: 0300000010 [17:50:26]line РНМ: 0000000000152968 [17:50:26]line Версия ККМ: v1.0 [17:50:26]line ФМ: 0000000000959456 [17:50:26]line ФД: 18977 [17:50:26]line ФПД: 107463118546984 [17:50:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T175027&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18977&fm=107463118546984&tin=02508201610067®Number=0000000000152968&sum=18500 [17:50:26]line 0 [17:50:26]OFD Sender: Processing packet 18977 [packets to send 7, broken 6] [17:50:26]ProducePacketName [17:50:26]name=ofd_packets/00018977 [17:50:26]OFD Sender: To server: pG, [17:50:26]CommunicateWithHost lk.salyk.kg:30040 [17:50:26]ConnectInit lk.salyk.kg [17:50:26]written 0, free lines is 4095 [17:50:27]Connected sock=10 [17:50:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2A 01 00 00 10 0E 22 01 CC 15 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 48 00 00 00 00 13 04 06 00 44 48 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 63 4D F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 21 4A 00 00 35 04 06 00 61 BC B5 01 E8 28 15 E1 8F 7C 3F 6D 46 01 [17:50:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 F3 83 47 00 23 5D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 21 4A 00 00 F4 03 04 00 BF F6 F3 66 B6 04 01 00 00 16 BA 59 64 B3 FF 87 2A [17:50:27]CommunicateWithHost err = 0 [17:50:27]CheckOFDResponse [17:50:27]1017 (14) - 77093643461234 [17:50:27]1041 (16) - 0000000000959456 [17:50:27]1040 (4) - 18977 [17:50:27]1012 (4) - 25.09.2024 11:40 [17:50:27]1206 (1) - 0 [17:50:27]OFD Sender: Remove packet 18977 [17:50:27]ProducePacketName [17:50:27]name=ofd_packets/00018977 [17:50:27]NVStorageDeleteData [17:50:27]Write to MH i2c: 01 00 00 5B 0D 68 [17:50:27]Write i2c OK [17:50:27]MH_I2C_Read... [17:50:27]Read from MH i2c: 01 [17:50:27]MH_I2C_Read... [17:50:27]Read from MH i2c: 01 07 00 [17:50:27]MH_I2C_Read... [17:50:27]Read from MH i2c: 01 07 00 5B 0D 00 00 00 00 00 26 0D A2 [17:50:27]RasterBufferAndPrint [17:50:27]line [17:50:27]line [17:50:27]line [17:50:27]line [17:50:27]line [17:50:27]written 0, free lines is 3373 [17:50:27]MH_Cut [17:50:27]Write to MH i2c: D1 01 00 62 0D 01 41 [17:50:27]Write i2c OK [17:50:27]MH_I2C_Read... [17:50:27]Read from MH i2c: D1 [17:50:27]MH_I2C_Read... [17:50:27]Read from MH i2c: D1 01 00 [17:50:27]MH_I2C_Read... [17:50:27]Read from MH i2c: D1 01 00 62 0D 00 40 [17:50:27]Write to MH i2c: 01 00 00 63 0D 70 [17:50:27]Write i2c OK [17:50:27]MH_I2C_Read... [17:50:27]OFD Sender: No OFD packet to send [17:50:27]*** Cut start [17:50:27]*** Partial cut [17:50:27]*** CUTSNS_PIN = 1 [17:50:27]*** CUTSNS_PIN = 0 [17:50:28]*** Brake cut motor [17:50:28]Read from MH i2c: 01 [17:50:28]MH_I2C_Read... [17:50:28]*** Stop cut motor [17:50:28]*** Cut end [17:50:28]Read from MH i2c: 01 07 00 [17:50:28]MH_I2C_Read... [17:50:28]Read from MH i2c: 01 07 00 63 0D 00 00 00 00 00 FF 0F 85 [17:50:28]process_action close_receipt done [17:50:28]requested_data is exist [17:50:28]produce_requested_data [17:50:28]requested_item fm.sn is exist - process it [17:50:28]wFMCommunicate request_size=4 [17:50:28]MH_SAM_APDU [17:50:28]CAPDU: 80 11 00 00 [17:50:28]Write to MH i2c: E2 08 00 64 0D 80 11 00 00 00 00 00 00 EB [17:50:28]Write i2c OK [17:50:28]MH_I2C_Read... [17:50:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:50:28]Read from MH i2c: E2 [17:50:28]MH_I2C_Read... [17:50:28]Read from MH i2c: E2 17 00 [17:50:28]MH_I2C_Read... [17:50:28]Read from MH i2c: E2 17 00 64 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 44 [17:50:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [17:50:28]wFMCommunicate OK [17:50:28]requested_item fd.num is exist - process it [17:50:28]SAM_PROTO_GetFieldsCounters [17:50:28]wFMCommunicate request_size=4 [17:50:28]MH_SAM_APDU [17:50:28]CAPDU: 80 13 00 00 [17:50:28]Write to MH i2c: E2 08 00 65 0D 80 13 00 00 00 00 00 00 EE [17:50:28]Write i2c OK [17:50:28]MH_I2C_Read... [17:50:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:50:28]Read from MH i2c: E2 [17:50:28]MH_I2C_Read... [17:50:28]Read from MH i2c: E2 62 00 [17:50:28]MH_I2C_Read... [17:50:28]Read from MH i2c: E2 62 00 65 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 21 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 E2 [17:50:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 21 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:50:28]wFMCommunicate OK [17:50:28]SAM_PROTO_GetFieldsCounters done [17:50:28]requested_item shift.num is exist - process it [17:50:28]requested_item shift.opened is exist - process it [17:50:28]req_shift_opened [17:50:28]FM_GetShiftState [17:50:28]SAM_PROTO_GetShiftState [17:50:28]wFMCommunicate request_size=4 [17:50:28]MH_SAM_APDU [17:50:28]CAPDU: 80 13 01 00 [17:50:28]Write to MH i2c: E2 08 00 66 0D 80 13 01 00 00 00 00 00 F0 [17:50:28]Write i2c OK [17:50:28]MH_I2C_Read... [17:50:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:50:28]Read from MH i2c: E2 [17:50:28]MH_I2C_Read... [17:50:28]Read from MH i2c: E2 0E 00 [17:50:28]MH_I2C_Read... [17:50:28]Read from MH i2c: E2 0E 00 66 0D 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 DD [17:50:28]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [17:50:28]wFMCommunicate OK [17:50:28]SAM_PROTO_GetShiftState done [17:50:28]FM_GetShiftState done [17:50:28]req_shift_opened done [17:50:28]requested_item shift.open_date is exist - process it [17:50:28]req_shift_open_date [17:50:28]req_shift_open_date done [17:50:28]produce_requested_data done [17:50:28]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18977,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [17:50:28]process_action_free close_receipt [17:50:28]json_value_free [17:50:28]json_value_free done [17:50:28]process_json_proto returns [17:50:28]Send response to host [17:50:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18977,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [17:50:28]free response buf [17:50:28]execute_script done [17:50:28]execute_script returns [17:50:28]free content buf [17:50:28]Sock 9.Close socket [17:50:28]Sock 9.Thread stoped [17:50:32]OFD Sender: No OFD packet to send [17:50:37]OFD Sender: No OFD packet to send [17:50:42]OFD Sender: No OFD packet to send [17:50:47]OFD Sender: No OFD packet to send [17:50:52]OFD Sender: No OFD packet to send [17:50:57]OFD Sender: No OFD packet to send [17:51:02]OFD Sender: No OFD packet to send [17:51:07]OFD Sender: No OFD packet to send [17:51:12]OFD Sender: No OFD packet to send [17:51:17]OFD Sender: No OFD packet to send [17:51:22]OFD Sender: No OFD packet to send [17:51:27]OFD Sender: No OFD packet to send [17:51:32]OFD Sender: No OFD packet to send [17:51:37]OFD Sender: No OFD packet to send [17:51:42]OFD Sender: No OFD packet to send [17:51:47]OFD Sender: No OFD packet to send [17:51:52]OFD Sender: No OFD packet to send [17:51:57]OFD Sender: No OFD packet to send [17:52:02]OFD Sender: No OFD packet to send [17:52:07]OFD Sender: No OFD packet to send [17:52:12]OFD Sender: No OFD packet to send [17:52:17]OFD Sender: No OFD packet to send [17:52:22]OFD Sender: No OFD packet to send [17:52:27]OFD Sender: No OFD packet to send [17:52:32]OFD Sender: No OFD packet to send [17:52:37]OFD Sender: No OFD packet to send [17:52:42]OFD Sender: No OFD packet to send [17:52:47]OFD Sender: No OFD packet to send [17:52:52]OFD Sender: No OFD packet to send [17:52:57]OFD Sender: No OFD packet to send [17:53:02]OFD Sender: No OFD packet to send [17:53:07]OFD Sender: No OFD packet to send [17:53:12]OFD Sender: No OFD packet to send [17:53:17]OFD Sender: No OFD packet to send [17:53:22]OFD Sender: No OFD packet to send [17:53:27]OFD Sender: No OFD packet to send [17:53:32]OFD Sender: No OFD packet to send [17:53:37]OFD Sender: No OFD packet to send [17:53:42]OFD Sender: No OFD packet to send [17:53:47]OFD Sender: No OFD packet to send [17:53:52]OFD Sender: No OFD packet to send [17:53:57]OFD Sender: No OFD packet to send [17:54:02]OFD Sender: No OFD packet to send [17:54:07]OFD Sender: No OFD packet to send [17:54:12]OFD Sender: No OFD packet to send [17:54:17]OFD Sender: No OFD packet to send [17:54:22]OFD Sender: No OFD packet to send [17:54:27]OFD Sender: No OFD packet to send [17:54:32]OFD Sender: No OFD packet to send [17:54:37]OFD Sender: No OFD packet to send [17:54:42]OFD Sender: No OFD packet to send [17:54:47]OFD Sender: No OFD packet to send [17:54:52]OFD Sender: No OFD packet to send [17:54:57]OFD Sender: No OFD packet to send [17:55:02]OFD Sender: No OFD packet to send [17:55:07]OFD Sender: No OFD packet to send [17:55:13]OFD Sender: No OFD packet to send [17:55:18]OFD Sender: No OFD packet to send [17:55:23]OFD Sender: No OFD packet to send [17:55:28]OFD Sender: No OFD packet to send [17:55:33]OFD Sender: No OFD packet to send [17:55:38]OFD Sender: No OFD packet to send [17:55:43]OFD Sender: No OFD packet to send [17:55:48]OFD Sender: No OFD packet to send [17:55:53]OFD Sender: No OFD packet to send [17:55:58]OFD Sender: No OFD packet to send [17:56:03]OFD Sender: No OFD packet to send [17:56:08]OFD Sender: No OFD packet to send [17:56:13]OFD Sender: No OFD packet to send [17:56:18]OFD Sender: No OFD packet to send [17:56:23]OFD Sender: No OFD packet to send [17:56:28]OFD Sender: No OFD packet to send [17:56:33]OFD Sender: No OFD packet to send [17:56:38]OFD Sender: No OFD packet to send [17:56:43]OFD Sender: No OFD packet to send [17:56:48]OFD Sender: No OFD packet to send [17:56:53]OFD Sender: No OFD packet to send [17:56:58]OFD Sender: No OFD packet to send [17:57:03]OFD Sender: No OFD packet to send [17:57:08]OFD Sender: No OFD packet to send [17:57:13]OFD Sender: No OFD packet to send [17:57:18]OFD Sender: No OFD packet to send [17:57:23]OFD Sender: No OFD packet to send [17:57:28]OFD Sender: No OFD packet to send [17:57:33]OFD Sender: No OFD packet to send [17:57:38]OFD Sender: No OFD packet to send [17:57:43]OFD Sender: No OFD packet to send [17:57:48]OFD Sender: No OFD packet to send [17:57:53]OFD Sender: No OFD packet to send [17:57:58]OFD Sender: No OFD packet to send [17:58:03]OFD Sender: No OFD packet to send [17:58:08]OFD Sender: No OFD packet to send [17:58:13]OFD Sender: No OFD packet to send [17:58:18]OFD Sender: No OFD packet to send [17:58:23]OFD Sender: No OFD packet to send [17:58:28]OFD Sender: No OFD packet to send [17:58:33]OFD Sender: No OFD packet to send [17:58:38]OFD Sender: No OFD packet to send [17:58:43]OFD Sender: No OFD packet to send [17:58:48]OFD Sender: No OFD packet to send [17:58:53]OFD Sender: No OFD packet to send [17:58:58]OFD Sender: No OFD packet to send [17:59:03]OFD Sender: No OFD packet to send [17:59:08]OFD Sender: No OFD packet to send [17:59:13]OFD Sender: No OFD packet to send [17:59:18]OFD Sender: No OFD packet to send [17:59:23]OFD Sender: No OFD packet to send [17:59:28]OFD Sender: No OFD packet to send [17:59:33]OFD Sender: No OFD packet to send [17:59:38]OFD Sender: No OFD packet to send [17:59:43]OFD Sender: No OFD packet to send [17:59:48]OFD Sender: No OFD packet to send [17:59:53]OFD Sender: No OFD packet to send [17:59:58]OFD Sender: No OFD packet to send [18:00:03]OFD Sender: No OFD packet to send [18:00:08]OFD Sender: No OFD packet to send [18:00:13]OFD Sender: No OFD packet to send [18:00:18]OFD Sender: No OFD packet to send [18:00:23]OFD Sender: No OFD packet to send [18:00:28]OFD Sender: No OFD packet to send [18:00:33]OFD Sender: No OFD packet to send [18:00:38]OFD Sender: No OFD packet to send [18:00:43]OFD Sender: No OFD packet to send [18:00:48]OFD Sender: No OFD packet to send [18:00:53]OFD Sender: No OFD packet to send [18:00:58]OFD Sender: No OFD packet to send [18:01:03]OFD Sender: No OFD packet to send [18:01:08]OFD Sender: No OFD packet to send [18:01:13]OFD Sender: No OFD packet to send [18:01:18]OFD Sender: No OFD packet to send [18:01:23]OFD Sender: No OFD packet to send [18:01:28]OFD Sender: No OFD packet to send [18:01:33]OFD Sender: No OFD packet to send [18:01:38]OFD Sender: No OFD packet to send [18:01:43]OFD Sender: No OFD packet to send [18:01:48]OFD Sender: No OFD packet to send [18:01:53]OFD Sender: No OFD packet to send [18:01:58]OFD Sender: No OFD packet to send [18:02:03]OFD Sender: No OFD packet to send [18:02:08]OFD Sender: No OFD packet to send [18:02:13]OFD Sender: No OFD packet to send [18:02:18]OFD Sender: No OFD packet to send [18:02:23]OFD Sender: No OFD packet to send [18:02:28]OFD Sender: No OFD packet to send [18:02:33]OFD Sender: No OFD packet to send [18:02:38]OFD Sender: No OFD packet to send [18:02:43]OFD Sender: No OFD packet to send [18:02:48]OFD Sender: No OFD packet to send [18:02:53]OFD Sender: No OFD packet to send [18:02:58]OFD Sender: No OFD packet to send [18:03:03]OFD Sender: No OFD packet to send [18:03:08]OFD Sender: No OFD packet to send [18:03:13]OFD Sender: No OFD packet to send [18:03:18]OFD Sender: No OFD packet to send [18:03:23]OFD Sender: No OFD packet to send [18:03:28]OFD Sender: No OFD packet to send [18:03:33]OFD Sender: No OFD packet to send [18:03:38]OFD Sender: No OFD packet to send [18:03:42]accept exits with 8 [18:03:42]New connection [18:03:42]New thread 3066621284 created [18:03:42]Thread 3066764644 joined [18:03:42]Waiting for new connection... [18:03:42] Sock 8.Parse request [18:03:42]Sock 8.Check first char [18:03:42]Sock 8.First char is OK [18:03:42]request: POST /json_proto HTTP/1.0 [18:03:42]Method: POST [18:03:42]URL: /json_proto [18:03:42]Method is POST - this is cgi request [18:03:42]url: /json_proto [18:03:42]query_string will be loaded in cgi processing [18:03:42]execute_cgi json_proto POST (null) [18:03:42]execute_cgi path=json_proto method=POST [18:03:42]POST find Content-Length [18:03:42]Host: 172.17.62.196:8080 [18:03:42]Content-Length: 629 [18:03:42]Content-Type: application/json [18:03:42] [18:03:42]POST finish read [18:03:42]Found Content-Length = 629 [18:03:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16898", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:03:42]execute_script... [18:03:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16898", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:03:42]POST & json_proto [18:03:42]process_json_proto [18:03:42]json parsed OK: [18:03:42]protocol is kg_v1.0 [18:03:42]action value=close_receipt [18:03:42]process_action close_receipt [18:03:42]cmd_close_receipt [18:03:42]MH_GetDate [18:03:42]Write to MH i2c: F0 00 00 67 0D 63 [18:03:42]Write i2c OK [18:03:42]MH_I2C_Read... [18:03:42]Read from MH i2c: F0 [18:03:42]MH_I2C_Read... [18:03:42]Read from MH i2c: F0 09 00 [18:03:42]MH_I2C_Read... [18:03:42]Read from MH i2c: F0 09 00 67 0D 00 81 50 F4 66 CE CC 0E 66 A5 [18:03:42]GetLastDocTimeStamp 1727286627 [18:03:42]current date 1727287425 [18:03:42]FM_GetShiftState [18:03:42]SAM_PROTO_GetShiftState [18:03:42]wFMCommunicate request_size=4 [18:03:42]MH_SAM_APDU [18:03:42]CAPDU: 80 13 01 00 [18:03:42]Write to MH i2c: E2 08 00 68 0D 80 13 01 00 00 00 00 00 F2 [18:03:42]Write i2c OK [18:03:42]MH_I2C_Read... [18:03:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:03:42]Read from MH i2c: E2 [18:03:42]MH_I2C_Read... [18:03:42]Read from MH i2c: E2 0E 00 [18:03:42]MH_I2C_Read... [18:03:42]Read from MH i2c: E2 0E 00 68 0D 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 DF [18:03:42]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [18:03:42]wFMCommunicate OK [18:03:42]SAM_PROTO_GetShiftState done [18:03:42]FM_GetShiftState done [18:03:42]opened in 1727223091 [18:03:42]opened+sec_in_day 1727309491 [18:03:42]quantity*price = 5000 [18:03:42]sum+1 = 5001 [18:03:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 56 25.09.2024 18:03 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18978 ФПД: 233247552611519 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T180345&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18978&fm=233247552611519&tin=02508201610067®Number=0000000000152968&sum=5000 0 [18:03:43]StoreToDocumentArchive [18:03:43]shift 183 fd 18978 [18:03:43]save to /storage/0183/doc_00018978 [18:03:43]save last doc name /storage/0183/doc_00018978 to /storage/kkm_last_doc_name [18:03:43]save OK [18:03:43]Clear old archive folders... [18:03:43]ProcessDocumentItem done err = 0, tmpTLVsize=269 [18:03:43]tlvbuf is 015DF030 [18:03:43]SAM_PROTO_ClearQueue [18:03:43]wFMCommunicate request_size=4 [18:03:43]MH_SAM_APDU [18:03:43]CAPDU: 80 09 00 00 [18:03:43]Write to MH i2c: E2 08 00 75 0D 80 09 00 00 00 00 00 00 F4 [18:03:43]Write i2c OK [18:03:43]MH_I2C_Read... [18:03:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:03:43]Read from MH i2c: E2 [18:03:43]MH_I2C_Read... [18:03:43]Read from MH i2c: E2 03 00 [18:03:43]MH_I2C_Read... [18:03:43]Read from MH i2c: E2 03 00 75 0D 00 90 00 F6 [18:03:43]RAPDU: 90 00 [18:03:43]wFMCommunicate OK [18:03:43]SAM_PROTO_ClearQueue done [18:03:43]KKMCreateOFDPacket [18:03:43]OFDProtocolAddRootSTLVToBuf [18:03:43]FM_MakeSignedData [18:03:43]FM_MakeSignedData [18:03:43]SAM_PROTO_SignData [18:03:43]wFMCommunicate request_size=4 [18:03:43]MH_SAM_APDU [18:03:43]CAPDU: 80 0D 01 02 [18:03:43]Write to MH i2c: E2 08 00 76 0D 80 0D 01 02 00 00 00 00 FC [18:03:43]Write i2c OK [18:03:43]MH_I2C_Read... [18:03:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:03:43]Read from MH i2c: E2 [18:03:43]MH_I2C_Read... [18:03:43]Read from MH i2c: E2 03 00 [18:03:43]MH_I2C_Read... [18:03:43]Read from MH i2c: E2 03 00 76 0D 00 90 00 F7 [18:03:43]RAPDU: 90 00 [18:03:43]wFMCommunicate OK [18:03:43]wFMCommunicate request_size=255 [18:03:43]MH_SAM_APDU [18:03:43]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 81 50 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [18:03:43]Write to MH i2c: E2 02 01 77 0D 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 81 50 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 34 [18:03:43]Write i2c OK [18:03:43]MH_I2C_Read... [18:03:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:03:44]Read from MH i2c: E2 [18:03:44]MH_I2C_Read... [18:03:44]Read from MH i2c: E2 03 00 [18:03:44]MH_I2C_Read... [18:03:44]Read from MH i2c: E2 03 00 77 0D 00 90 00 F8 [18:03:44]RAPDU: 90 00 [18:03:44]wFMCommunicate OK [18:03:44]wFMCommunicate request_size=28 [18:03:44]MH_SAM_APDU [18:03:44]CAPDU: 80 0D 02 02 17 35 39 34 35 36 10 04 04 00 22 4A 00 00 35 04 06 00 D4 23 2D 84 A4 BF [18:03:44]Write to MH i2c: E2 1F 00 78 0D 80 0D 02 02 17 00 35 39 34 35 36 10 04 04 00 22 4A 00 00 35 04 06 00 D4 23 2D 84 A4 BF 00 00 08 [18:03:44]Write i2c OK [18:03:44]MH_I2C_Read... [18:03:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:03:44]Read from MH i2c: E2 [18:03:44]MH_I2C_Read... [18:03:44]Read from MH i2c: E2 03 00 [18:03:44]MH_I2C_Read... [18:03:44]Read from MH i2c: E2 03 00 78 0D 00 90 00 F9 [18:03:44]RAPDU: 90 00 [18:03:44]wFMCommunicate OK [18:03:44]wFMCommunicate request_size=4 [18:03:44]MH_SAM_APDU [18:03:44]CAPDU: 80 0D 03 02 [18:03:44]Write to MH i2c: E2 08 00 79 0D 80 0D 03 02 00 00 00 00 01 [18:03:44]Write i2c OK [18:03:44]MH_I2C_Read... [18:03:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:03:44]Read from MH i2c: E2 [18:03:44]MH_I2C_Read... [18:03:44]Read from MH i2c: E2 0B 00 [18:03:44]MH_I2C_Read... [18:03:44]Read from MH i2c: E2 0B 00 79 0D 00 61 C6 E8 F9 44 78 85 9B 90 00 E6 [18:03:44]RAPDU: 61 C6 E8 F9 44 78 85 9B 90 00 [18:03:44]wFMCommunicate OK [18:03:44]SAM_PROTO_SignData done [18:03:44]FM_MakeSignedData done [18:03:44]CreateOFDProtocolMessage [18:03:44]wFMCommunicate request_size=4 [18:03:44]MH_SAM_APDU [18:03:44]CAPDU: 80 11 00 00 [18:03:44]Write to MH i2c: E2 08 00 7A 0D 80 11 00 00 00 00 00 00 01 [18:03:44]Write i2c OK [18:03:44]MH_I2C_Read... [18:03:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:03:44]Read from MH i2c: E2 [18:03:44]MH_I2C_Read... [18:03:44]Read from MH i2c: E2 17 00 [18:03:44]MH_I2C_Read... [18:03:44]Read from MH i2c: E2 17 00 7A 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 5A [18:03:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:03:44]wFMCommunicate OK [18:03:44]CreateOFDProtocolMessage done [18:03:44]OFDSenderStorePacket 18978 [18:03:44]StoreOFDPacket docnum=18978 [18:03:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 21 01 00 00 D6 A0 19 01 61 96 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 81 50 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 22 4A 00 00 35 04 06 00 D4 23 2D 84 A4 BF 61 C6 E8 F9 44 78 85 9B [18:03:44]CheckFolder [18:03:44]dirname=/storage/ofd_packets [18:03:44]CheckFolder done [18:03:44]ProducePacketName [18:03:44]name=ofd_packets/00018978 [18:03:44]NVStorageSaveData ofd_packets/00018978 [18:03:44]File name is /storage/ofd_packets/00018978 [18:03:44]Write 319 bytes [18:03:44]NVStorageSaveData done [18:03:44]OFDSenderStorePacket done [18:03:44]KKMCreateOFDPacket done [18:03:44]NVStorageSaveData kkm_last_timestamp [18:03:44]File name is /storage/kkm_last_timestamp [18:03:44]Write 4 bytes [18:03:44]NVStorageSaveData done [18:03:44]ExternCall_PrintAddStr [18:03:44]wPrintStart [18:03:44]Write to MH i2c: 01 00 00 7B 0D 88 [18:03:44]Write i2c OK [18:03:44]MH_I2C_Read... [18:03:44]Read from MH i2c: 01 [18:03:44]MH_I2C_Read... [18:03:44]Read from MH i2c: 01 07 00 [18:03:44]MH_I2C_Read... [18:03:44]Read from MH i2c: 01 07 00 7B 0D 00 00 00 00 00 FF 0F 9D [18:03:44]RasterBufferAndPrint [18:03:44]line Счет N : (3)16898 [18:03:44]line ИНН: 02508201610067 [18:03:44]line Контрольно-Кассовый Чек [18:03:44]line ПРОДАЖА [18:03:44]line Товар: 4700000160358 [18:03:44]line Вода Легенда 1л [18:03:44]line 1.000 * 50.00 [18:03:44]line = 50.00 [18:03:44]line НДС 12% НСП 1% [18:03:44]line > о реализуемом товаре [18:03:44]line ИТОГО: 50.00 [18:03:44]line НСП 1% : 0.44 [18:03:44]line НДС 12% : 5.31 [18:03:44]line Наличными: 50.00 [18:03:44]line Безнал.: 0.00 [18:03:44]line Место: АЗС № 176 "Партнер Нефть" [18:03:44]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [18:03:44]line СНО: Общий режим [18:03:44]line Чек 56 25.09.2024 18:03 [18:03:44]line Смена: 183 ФФД: 1.0 [18:03:44]line ЗНМ: 0300000010 [18:03:44]line РНМ: 0000000000152968 [18:03:44]line Версия ККМ: v1.0 [18:03:44]line ФМ: 0000000000959456 [18:03:44]line ФД: 18978 [18:03:44]line ФПД: 233247552611519 [18:03:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T180345&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18978&fm=233247552611519&tin=02508201610067®Number=0000000000152968&sum=5000 [18:03:44]line 0 [18:03:44]OFD Sender: Processing packet 18978 [packets to send 7, broken 6] [18:03:44]ProducePacketName [18:03:44]name=ofd_packets/00018978 [18:03:44]OFD Sender: To server: pG, [18:03:44]CommunicateWithHost lk.salyk.kg:30040 [18:03:44]ConnectInit lk.salyk.kg [18:03:44]written 0, free lines is 4095 [18:03:44]Connected sock=9 [18:03:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 21 01 00 00 D6 A0 19 01 61 96 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 81 50 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 22 4A 00 00 35 04 06 00 D4 23 2D 84 A4 BF 61 C6 E8 F9 44 78 85 9B [18:03:45]Write to MH i2c: 01 00 00 A3 0D B0 [18:03:45]Write i2c OK [18:03:45]MH_I2C_Read... [18:03:45]Read from MH i2c: 01 [18:03:45]MH_I2C_Read... [18:03:45]Read from MH i2c: 01 07 00 [18:03:45]MH_I2C_Read... [18:03:45]Read from MH i2c: 01 07 00 A3 0D 00 00 00 00 00 08 0D CC [18:03:45]RasterBufferAndPrint [18:03:45]line [18:03:45]line [18:03:45]line [18:03:45]line [18:03:45]line [18:03:45]written 0, free lines is 3345 [18:03:45]MH_Cut [18:03:45]Write to MH i2c: D1 01 00 AA 0D 01 89 [18:03:45]Write i2c OK [18:03:45]MH_I2C_Read... [18:03:45]Read from MH i2c: D1 [18:03:45]MH_I2C_Read... [18:03:45]Read from MH i2c: D1 01 00 [18:03:45]MH_I2C_Read... [18:03:45]Read from MH i2c: D1 01 00 AA 0D 00 88 [18:03:45]Write to MH i2c: 01 00 00 AB 0D B8 [18:03:45]Write i2c OK [18:03:45]MH_I2C_Read... [18:03:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 90 1F 47 00 06 ED A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 22 4A 00 00 F4 03 04 00 DD F9 F3 66 B6 04 01 00 00 F0 7B CD B1 71 88 D5 71 [18:03:45]CommunicateWithHost err = 0 [18:03:45]CheckOFDResponse [18:03:45]1017 (14) - 77093643461234 [18:03:45]1041 (16) - 0000000000959456 [18:03:45]1040 (4) - 18978 [18:03:45]1012 (4) - 25.09.2024 11:54 [18:03:45]1206 (1) - 0 [18:03:45]OFD Sender: Remove packet 18978 [18:03:45]ProducePacketName [18:03:45]name=ofd_packets/00018978 [18:03:45]NVStorageDeleteData [18:03:45]OFD Sender: No OFD packet to send [18:03:45]*** Cut start [18:03:45]*** Partial cut [18:03:45]*** CUTSNS_PIN = 1 [18:03:45]*** CUTSNS_PIN = 0 [18:03:46]*** Brake cut motor [18:03:46]Read from MH i2c: 01 [18:03:46]MH_I2C_Read... [18:03:46]*** Stop cut motor [18:03:46]*** Cut end [18:03:46]Read from MH i2c: 01 07 00 [18:03:46]MH_I2C_Read... [18:03:46]Read from MH i2c: 01 07 00 AB 0D 00 00 00 00 00 FF 0F CD [18:03:46]process_action close_receipt done [18:03:46]requested_data is exist [18:03:46]produce_requested_data [18:03:46]requested_item fm.sn is exist - process it [18:03:46]wFMCommunicate request_size=4 [18:03:46]MH_SAM_APDU [18:03:46]CAPDU: 80 11 00 00 [18:03:46]Write to MH i2c: E2 08 00 AC 0D 80 11 00 00 00 00 00 00 33 [18:03:46]Write i2c OK [18:03:46]MH_I2C_Read... [18:03:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:03:46]Read from MH i2c: E2 [18:03:46]MH_I2C_Read... [18:03:46]Read from MH i2c: E2 17 00 [18:03:46]MH_I2C_Read... [18:03:46]Read from MH i2c: E2 17 00 AC 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 8C [18:03:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:03:46]wFMCommunicate OK [18:03:46]requested_item fd.num is exist - process it [18:03:46]SAM_PROTO_GetFieldsCounters [18:03:46]wFMCommunicate request_size=4 [18:03:46]MH_SAM_APDU [18:03:46]CAPDU: 80 13 00 00 [18:03:46]Write to MH i2c: E2 08 00 AD 0D 80 13 00 00 00 00 00 00 36 [18:03:46]Write i2c OK [18:03:46]MH_I2C_Read... [18:03:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:03:46]Read from MH i2c: E2 [18:03:46]MH_I2C_Read... [18:03:46]Read from MH i2c: E2 62 00 [18:03:46]MH_I2C_Read... [18:03:46]Read from MH i2c: E2 62 00 AD 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 22 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 2E [18:03:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 22 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:03:46]wFMCommunicate OK [18:03:46]SAM_PROTO_GetFieldsCounters done [18:03:46]requested_item shift.num is exist - process it [18:03:46]requested_item shift.opened is exist - process it [18:03:46]req_shift_opened [18:03:46]FM_GetShiftState [18:03:46]SAM_PROTO_GetShiftState [18:03:46]wFMCommunicate request_size=4 [18:03:46]MH_SAM_APDU [18:03:46]CAPDU: 80 13 01 00 [18:03:46]Write to MH i2c: E2 08 00 AE 0D 80 13 01 00 00 00 00 00 38 [18:03:46]Write i2c OK [18:03:46]MH_I2C_Read... [18:03:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:03:46]Read from MH i2c: E2 [18:03:46]MH_I2C_Read... [18:03:46]Read from MH i2c: E2 0E 00 [18:03:46]MH_I2C_Read... [18:03:46]Read from MH i2c: E2 0E 00 AE 0D 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 25 [18:03:46]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [18:03:46]wFMCommunicate OK [18:03:46]SAM_PROTO_GetShiftState done [18:03:46]FM_GetShiftState done [18:03:46]req_shift_opened done [18:03:46]requested_item shift.open_date is exist - process it [18:03:46]req_shift_open_date [18:03:46]req_shift_open_date done [18:03:46]produce_requested_data done [18:03:46]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18978,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [18:03:46]process_action_free close_receipt [18:03:46]json_value_free [18:03:46]json_value_free done [18:03:46]process_json_proto returns [18:03:46]Send response to host [18:03:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18978,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [18:03:46]free response buf [18:03:46]execute_script done [18:03:46]execute_script returns [18:03:46]free content buf [18:03:46]Sock 8.Close socket [18:03:46]Sock 8.Thread stoped [18:03:50]OFD Sender: No OFD packet to send [18:03:55]OFD Sender: No OFD packet to send [18:04:00]OFD Sender: No OFD packet to send [18:04:05]OFD Sender: No OFD packet to send [18:04:10]OFD Sender: No OFD packet to send [18:04:15]OFD Sender: No OFD packet to send [18:04:20]OFD Sender: No OFD packet to send [18:04:25]OFD Sender: No OFD packet to send [18:04:30]OFD Sender: No OFD packet to send [18:04:35]OFD Sender: No OFD packet to send [18:04:40]OFD Sender: No OFD packet to send [18:04:45]OFD Sender: No OFD packet to send [18:04:50]OFD Sender: No OFD packet to send [18:04:55]OFD Sender: No OFD packet to send [18:05:00]OFD Sender: No OFD packet to send [18:05:05]OFD Sender: No OFD packet to send [18:05:10]OFD Sender: No OFD packet to send [18:05:15]OFD Sender: No OFD packet to send [18:05:20]OFD Sender: No OFD packet to send [18:05:25]OFD Sender: No OFD packet to send [18:05:30]OFD Sender: No OFD packet to send [18:05:35]OFD Sender: No OFD packet to send [18:05:40]OFD Sender: No OFD packet to send [18:05:45]OFD Sender: No OFD packet to send [18:05:50]OFD Sender: No OFD packet to send [18:05:55]OFD Sender: No OFD packet to send [18:06:00]OFD Sender: No OFD packet to send [18:06:05]OFD Sender: No OFD packet to send [18:06:10]OFD Sender: No OFD packet to send [18:06:15]OFD Sender: No OFD packet to send [18:06:20]OFD Sender: No OFD packet to send [18:06:25]OFD Sender: No OFD packet to send [18:06:30]OFD Sender: No OFD packet to send [18:06:35]OFD Sender: No OFD packet to send [18:06:40]OFD Sender: No OFD packet to send [18:06:45]OFD Sender: No OFD packet to send [18:06:50]OFD Sender: No OFD packet to send [18:06:55]OFD Sender: No OFD packet to send [18:07:00]OFD Sender: No OFD packet to send [18:07:05]OFD Sender: No OFD packet to send [18:07:10]OFD Sender: No OFD packet to send [18:07:15]OFD Sender: No OFD packet to send [18:07:20]OFD Sender: No OFD packet to send [18:07:25]OFD Sender: No OFD packet to send [18:07:30]OFD Sender: No OFD packet to send [18:07:35]OFD Sender: No OFD packet to send [18:07:40]OFD Sender: No OFD packet to send [18:07:45]OFD Sender: No OFD packet to send [18:07:50]OFD Sender: No OFD packet to send [18:07:55]OFD Sender: No OFD packet to send [18:08:00]OFD Sender: No OFD packet to send [18:08:05]OFD Sender: No OFD packet to send [18:08:10]OFD Sender: No OFD packet to send [18:08:15]OFD Sender: No OFD packet to send [18:08:20]OFD Sender: No OFD packet to send [18:08:25]OFD Sender: No OFD packet to send [18:08:30]OFD Sender: No OFD packet to send [18:08:35]OFD Sender: No OFD packet to send [18:08:40]OFD Sender: No OFD packet to send [18:08:45]OFD Sender: No OFD packet to send [18:08:50]OFD Sender: No OFD packet to send [18:08:56]OFD Sender: No OFD packet to send [18:09:01]OFD Sender: No OFD packet to send [18:09:06]OFD Sender: No OFD packet to send [18:09:11]OFD Sender: No OFD packet to send [18:09:16]OFD Sender: No OFD packet to send [18:09:21]OFD Sender: No OFD packet to send [18:09:26]OFD Sender: No OFD packet to send [18:09:31]OFD Sender: No OFD packet to send [18:09:36]OFD Sender: No OFD packet to send [18:09:41]OFD Sender: No OFD packet to send [18:09:46]OFD Sender: No OFD packet to send [18:09:51]OFD Sender: No OFD packet to send [18:09:56]OFD Sender: No OFD packet to send [18:10:01]OFD Sender: No OFD packet to send [18:10:06]OFD Sender: No OFD packet to send [18:10:11]OFD Sender: No OFD packet to send [18:10:16]OFD Sender: No OFD packet to send [18:10:21]OFD Sender: No OFD packet to send [18:10:26]OFD Sender: No OFD packet to send [18:10:31]OFD Sender: No OFD packet to send [18:10:36]OFD Sender: No OFD packet to send [18:10:41]OFD Sender: No OFD packet to send [18:10:46]OFD Sender: No OFD packet to send [18:10:51]OFD Sender: No OFD packet to send [18:10:56]OFD Sender: No OFD packet to send [18:11:01]OFD Sender: No OFD packet to send [18:11:06]OFD Sender: No OFD packet to send [18:11:11]OFD Sender: No OFD packet to send [18:11:16]OFD Sender: No OFD packet to send [18:11:21]OFD Sender: No OFD packet to send [18:11:26]OFD Sender: No OFD packet to send [18:11:31]OFD Sender: No OFD packet to send [18:11:36]OFD Sender: No OFD packet to send [18:11:41]OFD Sender: No OFD packet to send [18:11:46]OFD Sender: No OFD packet to send [18:11:51]OFD Sender: No OFD packet to send [18:11:56]OFD Sender: No OFD packet to send [18:12:01]OFD Sender: No OFD packet to send [18:12:06]OFD Sender: No OFD packet to send [18:12:11]OFD Sender: No OFD packet to send [18:12:16]OFD Sender: No OFD packet to send [18:12:21]OFD Sender: No OFD packet to send [18:12:26]OFD Sender: No OFD packet to send [18:12:31]OFD Sender: No OFD packet to send [18:12:36]OFD Sender: No OFD packet to send [18:12:41]OFD Sender: No OFD packet to send [18:12:46]OFD Sender: No OFD packet to send [18:12:51]OFD Sender: No OFD packet to send [18:12:56]OFD Sender: No OFD packet to send [18:13:01]OFD Sender: No OFD packet to send [18:13:06]OFD Sender: No OFD packet to send [18:13:11]OFD Sender: No OFD packet to send [18:13:16]OFD Sender: No OFD packet to send [18:13:21]OFD Sender: No OFD packet to send [18:13:26]OFD Sender: No OFD packet to send [18:13:31]OFD Sender: No OFD packet to send [18:13:36]OFD Sender: No OFD packet to send [18:13:41]OFD Sender: No OFD packet to send [18:13:46]OFD Sender: No OFD packet to send [18:13:51]OFD Sender: No OFD packet to send [18:13:56]OFD Sender: No OFD packet to send [18:14:01]OFD Sender: No OFD packet to send [18:14:06]OFD Sender: No OFD packet to send [18:14:11]OFD Sender: No OFD packet to send [18:14:16]OFD Sender: No OFD packet to send [18:14:21]OFD Sender: No OFD packet to send [18:14:26]OFD Sender: No OFD packet to send [18:14:31]OFD Sender: No OFD packet to send [18:14:36]OFD Sender: No OFD packet to send [18:14:41]OFD Sender: No OFD packet to send [18:14:46]OFD Sender: No OFD packet to send [18:14:51]OFD Sender: No OFD packet to send [18:14:56]OFD Sender: No OFD packet to send [18:15:01]OFD Sender: No OFD packet to send [18:15:06]OFD Sender: No OFD packet to send [18:15:11]OFD Sender: No OFD packet to send [18:15:16]OFD Sender: No OFD packet to send [18:15:21]OFD Sender: No OFD packet to send [18:15:26]OFD Sender: No OFD packet to send [18:15:31]OFD Sender: No OFD packet to send [18:15:36]OFD Sender: No OFD packet to send [18:15:41]OFD Sender: No OFD packet to send [18:15:46]OFD Sender: No OFD packet to send [18:15:51]OFD Sender: No OFD packet to send [18:15:56]OFD Sender: No OFD packet to send [18:16:01]OFD Sender: No OFD packet to send [18:16:06]OFD Sender: No OFD packet to send [18:16:11]OFD Sender: No OFD packet to send [18:16:16]OFD Sender: No OFD packet to send [18:16:21]OFD Sender: No OFD packet to send [18:16:26]OFD Sender: No OFD packet to send [18:16:31]OFD Sender: No OFD packet to send [18:16:36]OFD Sender: No OFD packet to send [18:16:41]OFD Sender: No OFD packet to send [18:16:46]OFD Sender: No OFD packet to send [18:16:51]OFD Sender: No OFD packet to send [18:16:56]OFD Sender: No OFD packet to send [18:17:01]OFD Sender: No OFD packet to send [18:17:06]OFD Sender: No OFD packet to send [18:17:11]OFD Sender: No OFD packet to send [18:17:16]OFD Sender: No OFD packet to send [18:17:21]OFD Sender: No OFD packet to send [18:17:26]OFD Sender: No OFD packet to send [18:17:31]OFD Sender: No OFD packet to send [18:17:36]OFD Sender: No OFD packet to send [18:17:41]OFD Sender: No OFD packet to send [18:17:46]OFD Sender: No OFD packet to send [18:17:51]OFD Sender: No OFD packet to send [18:17:56]OFD Sender: No OFD packet to send [18:18:01]OFD Sender: No OFD packet to send [18:18:06]OFD Sender: No OFD packet to send [18:18:11]OFD Sender: No OFD packet to send [18:18:16]OFD Sender: No OFD packet to send [18:18:21]OFD Sender: No OFD packet to send [18:18:26]OFD Sender: No OFD packet to send [18:18:31]OFD Sender: No OFD packet to send [18:18:36]OFD Sender: No OFD packet to send [18:18:41]OFD Sender: No OFD packet to send [18:18:46]OFD Sender: No OFD packet to send [18:18:51]OFD Sender: No OFD packet to send [18:18:56]OFD Sender: No OFD packet to send [18:19:01]OFD Sender: No OFD packet to send [18:19:06]OFD Sender: No OFD packet to send [18:19:11]OFD Sender: No OFD packet to send [18:19:16]OFD Sender: No OFD packet to send [18:19:21]OFD Sender: No OFD packet to send [18:19:26]OFD Sender: No OFD packet to send [18:19:31]OFD Sender: No OFD packet to send [18:19:36]OFD Sender: No OFD packet to send [18:19:41]OFD Sender: No OFD packet to send [18:19:46]OFD Sender: No OFD packet to send [18:19:51]OFD Sender: No OFD packet to send [18:19:56]OFD Sender: No OFD packet to send [18:20:01]OFD Sender: No OFD packet to send [18:20:06]OFD Sender: No OFD packet to send [18:20:11]OFD Sender: No OFD packet to send [18:20:16]OFD Sender: No OFD packet to send [18:20:21]OFD Sender: No OFD packet to send [18:20:26]OFD Sender: No OFD packet to send [18:20:31]OFD Sender: No OFD packet to send [18:20:36]OFD Sender: No OFD packet to send [18:20:41]OFD Sender: No OFD packet to send [18:20:46]OFD Sender: No OFD packet to send [18:20:51]OFD Sender: No OFD packet to send [18:20:56]OFD Sender: No OFD packet to send [18:21:01]OFD Sender: No OFD packet to send [18:21:06]OFD Sender: No OFD packet to send [18:21:11]OFD Sender: No OFD packet to send [18:21:16]OFD Sender: No OFD packet to send [18:21:21]OFD Sender: No OFD packet to send [18:21:26]OFD Sender: No OFD packet to send [18:21:31]OFD Sender: No OFD packet to send [18:21:36]OFD Sender: No OFD packet to send [18:21:41]OFD Sender: No OFD packet to send [18:21:46]OFD Sender: No OFD packet to send [18:21:51]OFD Sender: No OFD packet to send [18:21:56]OFD Sender: No OFD packet to send [18:22:01]OFD Sender: No OFD packet to send [18:22:06]OFD Sender: No OFD packet to send [18:22:11]OFD Sender: No OFD packet to send [18:22:16]OFD Sender: No OFD packet to send [18:22:21]OFD Sender: No OFD packet to send [18:22:26]OFD Sender: No OFD packet to send [18:22:31]OFD Sender: No OFD packet to send [18:22:36]OFD Sender: No OFD packet to send [18:22:41]OFD Sender: No OFD packet to send [18:22:46]OFD Sender: No OFD packet to send [18:22:51]OFD Sender: No OFD packet to send [18:22:56]OFD Sender: No OFD packet to send [18:23:01]OFD Sender: No OFD packet to send [18:23:06]OFD Sender: No OFD packet to send [18:23:11]OFD Sender: No OFD packet to send [18:23:16]OFD Sender: No OFD packet to send [18:23:21]OFD Sender: No OFD packet to send [18:23:26]OFD Sender: No OFD packet to send [18:23:31]OFD Sender: No OFD packet to send [18:23:36]OFD Sender: No OFD packet to send [18:23:41]OFD Sender: No OFD packet to send [18:23:46]OFD Sender: No OFD packet to send [18:23:51]OFD Sender: No OFD packet to send [18:23:56]OFD Sender: No OFD packet to send [18:24:01]OFD Sender: No OFD packet to send [18:24:06]OFD Sender: No OFD packet to send [18:24:11]OFD Sender: No OFD packet to send [18:24:16]OFD Sender: No OFD packet to send [18:24:21]OFD Sender: No OFD packet to send [18:24:26]OFD Sender: No OFD packet to send [18:24:31]OFD Sender: No OFD packet to send [18:24:36]OFD Sender: No OFD packet to send [18:24:41]OFD Sender: No OFD packet to send [18:24:46]OFD Sender: No OFD packet to send [18:24:51]OFD Sender: No OFD packet to send [18:24:56]OFD Sender: No OFD packet to send [18:25:01]OFD Sender: No OFD packet to send [18:25:06]OFD Sender: No OFD packet to send [18:25:11]OFD Sender: No OFD packet to send [18:25:16]OFD Sender: No OFD packet to send [18:25:21]OFD Sender: No OFD packet to send [18:25:26]OFD Sender: No OFD packet to send [18:25:31]OFD Sender: No OFD packet to send [18:25:36]OFD Sender: No OFD packet to send [18:25:41]OFD Sender: No OFD packet to send [18:25:46]OFD Sender: No OFD packet to send [18:25:51]OFD Sender: No OFD packet to send [18:25:56]OFD Sender: No OFD packet to send [18:26:01]OFD Sender: No OFD packet to send [18:26:06]OFD Sender: No OFD packet to send [18:26:11]OFD Sender: No OFD packet to send [18:26:16]OFD Sender: No OFD packet to send [18:26:21]OFD Sender: No OFD packet to send [18:26:26]OFD Sender: No OFD packet to send [18:26:31]OFD Sender: No OFD packet to send [18:26:36]OFD Sender: No OFD packet to send [18:26:41]OFD Sender: No OFD packet to send [18:26:46]OFD Sender: No OFD packet to send [18:26:51]OFD Sender: No OFD packet to send [18:26:56]OFD Sender: No OFD packet to send [18:27:01]OFD Sender: No OFD packet to send [18:27:06]OFD Sender: No OFD packet to send [18:27:11]OFD Sender: No OFD packet to send [18:27:16]OFD Sender: No OFD packet to send [18:27:21]OFD Sender: No OFD packet to send [18:27:26]OFD Sender: No OFD packet to send [18:27:31]OFD Sender: No OFD packet to send [18:27:36]OFD Sender: No OFD packet to send [18:27:41]OFD Sender: No OFD packet to send [18:27:46]OFD Sender: No OFD packet to send [18:27:51]OFD Sender: No OFD packet to send [18:27:56]OFD Sender: No OFD packet to send [18:28:01]OFD Sender: No OFD packet to send [18:28:06]OFD Sender: No OFD packet to send [18:28:11]OFD Sender: No OFD packet to send [18:28:16]OFD Sender: No OFD packet to send [18:28:21]OFD Sender: No OFD packet to send [18:28:26]OFD Sender: No OFD packet to send [18:28:31]OFD Sender: No OFD packet to send [18:28:36]OFD Sender: No OFD packet to send [18:28:41]OFD Sender: No OFD packet to send [18:28:46]OFD Sender: No OFD packet to send [18:28:51]OFD Sender: No OFD packet to send [18:28:56]OFD Sender: No OFD packet to send [18:29:01]OFD Sender: No OFD packet to send [18:29:06]OFD Sender: No OFD packet to send [18:29:11]OFD Sender: No OFD packet to send [18:29:16]OFD Sender: No OFD packet to send [18:29:21]OFD Sender: No OFD packet to send [18:29:26]OFD Sender: No OFD packet to send [18:29:31]OFD Sender: No OFD packet to send [18:29:36]OFD Sender: No OFD packet to send [18:29:41]OFD Sender: No OFD packet to send [18:29:46]OFD Sender: No OFD packet to send [18:29:51]OFD Sender: No OFD packet to send [18:29:56]OFD Sender: No OFD packet to send [18:30:01]OFD Sender: No OFD packet to send [18:30:06]OFD Sender: No OFD packet to send [18:30:11]OFD Sender: No OFD packet to send [18:30:16]OFD Sender: No OFD packet to send [18:30:22]OFD Sender: No OFD packet to send [18:30:27]OFD Sender: No OFD packet to send [18:30:32]OFD Sender: No OFD packet to send [18:30:37]OFD Sender: No OFD packet to send [18:30:42]OFD Sender: No OFD packet to send [18:30:47]OFD Sender: No OFD packet to send [18:30:52]OFD Sender: No OFD packet to send [18:30:57]OFD Sender: No OFD packet to send [18:31:02]OFD Sender: No OFD packet to send [18:31:07]OFD Sender: No OFD packet to send [18:31:12]OFD Sender: No OFD packet to send [18:31:17]OFD Sender: No OFD packet to send [18:31:22]OFD Sender: No OFD packet to send [18:31:27]OFD Sender: No OFD packet to send [18:31:32]OFD Sender: No OFD packet to send [18:31:37]OFD Sender: No OFD packet to send [18:31:42]OFD Sender: No OFD packet to send [18:31:47]OFD Sender: No OFD packet to send [18:31:52]OFD Sender: No OFD packet to send [18:31:57]OFD Sender: No OFD packet to send [18:32:02]OFD Sender: No OFD packet to send [18:32:07]OFD Sender: No OFD packet to send [18:32:12]OFD Sender: No OFD packet to send [18:32:17]OFD Sender: No OFD packet to send [18:32:22]OFD Sender: No OFD packet to send [18:32:27]OFD Sender: No OFD packet to send [18:32:32]OFD Sender: No OFD packet to send [18:32:37]OFD Sender: No OFD packet to send [18:32:42]OFD Sender: No OFD packet to send [18:32:43]accept exits with 10 [18:32:43]New connection [18:32:43] Sock 10.Parse request [18:32:43]Sock 10.Check first char [18:32:43]Sock 10.First char is OK [18:32:43]New thread 3066764644 created [18:32:43]request: POST /json_proto HTTP/1.0 [18:32:43]Thread 3066621284 joined [18:32:43]Method: POST [18:32:43]Waiting for new connection... [18:32:43]URL: /json_proto [18:32:43]Method is POST - this is cgi request [18:32:43]url: /json_proto [18:32:43]query_string will be loaded in cgi processing [18:32:43]execute_cgi json_proto POST (null) [18:32:43]execute_cgi path=json_proto method=POST [18:32:43]POST find Content-Length [18:32:43]Host: 172.17.62.196:8080 [18:32:43]Content-Length: 668 [18:32:43]Content-Type: application/json [18:32:43] [18:32:43]POST finish read [18:32:43]Found Content-Length = 668 [18:32:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16899", "tax_sys" : 0, "items" : [ { "code": "4700040114137", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0437\u0435\u043B \u043B\u0438\u043C\u043E\u043D", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:32:43]execute_script... [18:32:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16899", "tax_sys" : 0, "items" : [ { "code": "4700040114137", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0437\u0435\u043B \u043B\u0438\u043C\u043E\u043D", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:32:43]POST & json_proto [18:32:43]process_json_proto [18:32:43]json parsed OK: [18:32:43]protocol is kg_v1.0 [18:32:43]action value=close_receipt [18:32:43]process_action close_receipt [18:32:43]cmd_close_receipt [18:32:43]MH_GetDate [18:32:43]Write to MH i2c: F0 00 00 AF 0D AB [18:32:43]Write i2c OK [18:32:43]MH_I2C_Read... [18:32:43]Read from MH i2c: F0 [18:32:43]MH_I2C_Read... [18:32:43]Read from MH i2c: F0 09 00 [18:32:43]MH_I2C_Read... [18:32:43]Read from MH i2c: F0 09 00 AF 0D 00 4E 57 F4 66 CE CC 0E 66 C1 [18:32:43]GetLastDocTimeStamp 1727287425 [18:32:43]current date 1727289166 [18:32:43]FM_GetShiftState [18:32:43]SAM_PROTO_GetShiftState [18:32:43]wFMCommunicate request_size=4 [18:32:43]MH_SAM_APDU [18:32:43]CAPDU: 80 13 01 00 [18:32:43]Write to MH i2c: E2 08 00 B0 0D 80 13 01 00 00 00 00 00 3A [18:32:43]Write i2c OK [18:32:43]MH_I2C_Read... [18:32:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:32:43]Read from MH i2c: E2 [18:32:43]MH_I2C_Read... [18:32:43]Read from MH i2c: E2 0E 00 [18:32:43]MH_I2C_Read... [18:32:43]Read from MH i2c: E2 0E 00 B0 0D 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 27 [18:32:43]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [18:32:43]wFMCommunicate OK [18:32:43]SAM_PROTO_GetShiftState done [18:32:43]FM_GetShiftState done [18:32:43]opened in 1727223091 [18:32:43]opened+sec_in_day 1727309491 [18:32:43]quantity*price = 6500 [18:32:43]sum+1 = 6501 [18:32:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 57 25.09.2024 18:32 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18979 ФПД: 61958243050158 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T183246&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18979&fm=61958243050158&tin=02508201610067®Number=0000000000152968&sum=6500 0 [18:32:45]StoreToDocumentArchive [18:32:45]shift 183 fd 18979 [18:32:45]save to /storage/0183/doc_00018979 [18:32:45]save last doc name /storage/0183/doc_00018979 to /storage/kkm_last_doc_name [18:32:45]save OK [18:32:45]Clear old archive folders... [18:32:45]ProcessDocumentItem done err = 0, tmpTLVsize=284 [18:32:45]tlvbuf is B6EAC7A0 [18:32:45]SAM_PROTO_ClearQueue [18:32:45]wFMCommunicate request_size=4 [18:32:45]MH_SAM_APDU [18:32:45]CAPDU: 80 09 00 00 [18:32:45]Write to MH i2c: E2 08 00 BD 0D 80 09 00 00 00 00 00 00 3C [18:32:45]Write i2c OK [18:32:45]MH_I2C_Read... [18:32:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:32:45]Read from MH i2c: E2 [18:32:45]MH_I2C_Read... [18:32:45]Read from MH i2c: E2 03 00 [18:32:45]MH_I2C_Read... [18:32:45]Read from MH i2c: E2 03 00 BD 0D 00 90 00 3E [18:32:45]RAPDU: 90 00 [18:32:45]wFMCommunicate OK [18:32:45]SAM_PROTO_ClearQueue done [18:32:45]KKMCreateOFDPacket [18:32:45]OFDProtocolAddRootSTLVToBuf [18:32:45]FM_MakeSignedData [18:32:45]FM_MakeSignedData [18:32:45]SAM_PROTO_SignData [18:32:45]wFMCommunicate request_size=4 [18:32:45]MH_SAM_APDU [18:32:45]CAPDU: 80 0D 01 02 [18:32:45]Write to MH i2c: E2 08 00 BE 0D 80 0D 01 02 00 00 00 00 44 [18:32:45]Write i2c OK [18:32:45]MH_I2C_Read... [18:32:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:32:45]Read from MH i2c: E2 [18:32:45]MH_I2C_Read... [18:32:45]Read from MH i2c: E2 03 00 [18:32:45]MH_I2C_Read... [18:32:45]Read from MH i2c: E2 03 00 BE 0D 00 90 00 3F [18:32:45]RAPDU: 90 00 [18:32:45]wFMCommunicate OK [18:32:45]wFMCommunicate request_size=255 [18:32:45]MH_SAM_APDU [18:32:45]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 4E 57 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 [18:32:45]Write to MH i2c: E2 02 01 BF 0D 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 4E 57 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 00 00 C5 [18:32:45]Write i2c OK [18:32:45]MH_I2C_Read... [18:32:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:32:45]Read from MH i2c: E2 [18:32:45]MH_I2C_Read... [18:32:45]Read from MH i2c: E2 03 00 [18:32:45]MH_I2C_Read... [18:32:45]Read from MH i2c: E2 03 00 BF 0D 00 90 00 40 [18:32:45]RAPDU: 90 00 [18:32:45]wFMCommunicate OK [18:32:45]wFMCommunicate request_size=43 [18:32:45]MH_SAM_APDU [18:32:45]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 23 4A 00 00 35 04 06 00 38 59 C7 11 62 AE [18:32:45]Write to MH i2c: E2 2E 00 C0 0D 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 23 4A 00 00 35 04 06 00 38 59 C7 11 62 AE 00 00 1B [18:32:45]Write i2c OK [18:32:45]MH_I2C_Read... [18:32:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:32:45]Read from MH i2c: E2 [18:32:45]MH_I2C_Read... [18:32:45]Read from MH i2c: E2 03 00 [18:32:45]MH_I2C_Read... [18:32:45]Read from MH i2c: E2 03 00 C0 0D 00 90 00 41 [18:32:45]RAPDU: 90 00 [18:32:45]wFMCommunicate OK [18:32:45]wFMCommunicate request_size=4 [18:32:45]MH_SAM_APDU [18:32:45]CAPDU: 80 0D 03 02 [18:32:45]Write to MH i2c: E2 08 00 C1 0D 80 0D 03 02 00 00 00 00 49 [18:32:45]Write i2c OK [18:32:45]MH_I2C_Read... [18:32:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:32:45]Read from MH i2c: E2 [18:32:45]MH_I2C_Read... [18:32:45]Read from MH i2c: E2 0B 00 [18:32:45]MH_I2C_Read... [18:32:45]Read from MH i2c: E2 0B 00 C1 0D 00 FB 27 E8 E2 F4 C2 F8 95 90 00 79 [18:32:45]RAPDU: FB 27 E8 E2 F4 C2 F8 95 90 00 [18:32:45]wFMCommunicate OK [18:32:45]SAM_PROTO_SignData done [18:32:45]FM_MakeSignedData done [18:32:45]CreateOFDProtocolMessage [18:32:45]wFMCommunicate request_size=4 [18:32:45]MH_SAM_APDU [18:32:45]CAPDU: 80 11 00 00 [18:32:45]Write to MH i2c: E2 08 00 C2 0D 80 11 00 00 00 00 00 00 49 [18:32:45]Write i2c OK [18:32:45]MH_I2C_Read... [18:32:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:32:45]Read from MH i2c: E2 [18:32:45]MH_I2C_Read... [18:32:45]Read from MH i2c: E2 17 00 [18:32:45]MH_I2C_Read... [18:32:45]Read from MH i2c: E2 17 00 C2 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 A2 [18:32:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:32:45]wFMCommunicate OK [18:32:45]CreateOFDProtocolMessage done [18:32:45]OFDSenderStorePacket 18979 [18:32:45]StoreOFDPacket docnum=18979 [18:32:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 30 01 00 00 6C 2F 28 01 04 D5 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 4E 57 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 23 4A 00 00 35 04 06 00 38 59 C7 11 62 AE FB 27 E8 E2 F4 C2 F8 95 [18:32:45]CheckFolder [18:32:45]dirname=/storage/ofd_packets [18:32:45]CheckFolder done [18:32:45]ProducePacketName [18:32:45]name=ofd_packets/00018979 [18:32:45]NVStorageSaveData ofd_packets/00018979 [18:32:45]File name is /storage/ofd_packets/00018979 [18:32:45]Write 334 bytes [18:32:45]NVStorageSaveData done [18:32:45]OFDSenderStorePacket done [18:32:45]KKMCreateOFDPacket done [18:32:45]NVStorageSaveData kkm_last_timestamp [18:32:45]File name is /storage/kkm_last_timestamp [18:32:45]Write 4 bytes [18:32:45]NVStorageSaveData done [18:32:45]ExternCall_PrintAddStr [18:32:45]wPrintStart [18:32:45]Write to MH i2c: 01 00 00 C3 0D D0 [18:32:45]Write i2c OK [18:32:45]MH_I2C_Read... [18:32:45]Read from MH i2c: 01 [18:32:45]MH_I2C_Read... [18:32:45]Read from MH i2c: 01 07 00 [18:32:45]MH_I2C_Read... [18:32:45]Read from MH i2c: 01 07 00 C3 0D 00 00 00 00 00 FF 0F E5 [18:32:45]RasterBufferAndPrint [18:32:45]line Счет N : (3)16899 [18:32:45]line ИНН: 02508201610067 [18:32:45]line Контрольно-Кассовый Чек [18:32:45]line ПРОДАЖА [18:32:45]line Товар: 4700040114137 [18:32:45]line Султан чай 1л. зел лимон [18:32:45]line 1.000 * 65.00 [18:32:45]line = 65.00 [18:32:45]line НДС 12% НСП 1% [18:32:45]line > о реализуемом товаре [18:32:45]line ИТОГО: 65.00 [18:32:45]line НСП 1% : 0.57 [18:32:45]line НДС 12% : 6.90 [18:32:45]line Наличными: 65.00 [18:32:45]line Безнал.: 0.00 [18:32:45]line Место: АЗС № 176 "Партнер Нефть" [18:32:45]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [18:32:45]line СНО: Общий режим [18:32:45]line Чек 57 25.09.2024 18:32 [18:32:45]line Смена: 183 ФФД: 1.0 [18:32:45]line ЗНМ: 0300000010 [18:32:45]line РНМ: 0000000000152968 [18:32:45]line Версия ККМ: v1.0 [18:32:45]line ФМ: 0000000000959456 [18:32:45]line ФД: 18979 [18:32:45]line ФПД: 61958243050158 [18:32:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T183246&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18979&fm=61958243050158&tin=02508201610067®Number=0000000000152968&sum=6500 [18:32:45]line 0 [18:32:45]OFD Sender: Processing packet 18979 [packets to send 7, broken 6] [18:32:45]ProducePacketName [18:32:45]name=ofd_packets/00018979 [18:32:45]OFD Sender: To server: pG, [18:32:45]CommunicateWithHost lk.salyk.kg:30040 [18:32:45]ConnectInit lk.salyk.kg [18:32:45]written 0, free lines is 4095 [18:32:46]Connected sock=9 [18:32:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 30 01 00 00 6C 2F 28 01 04 D5 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 4E 57 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 23 4A 00 00 35 04 06 00 38 59 C7 11 62 AE FB 27 E8 E2 F4 C2 F8 95 [18:32:46]Write to MH i2c: 01 00 00 EB 0D F8 [18:32:46]Write i2c OK [18:32:46]MH_I2C_Read... [18:32:46]Read from MH i2c: 01 [18:32:46]MH_I2C_Read... [18:32:46]Read from MH i2c: 01 07 00 [18:32:46]MH_I2C_Read... [18:32:46]Read from MH i2c: 01 07 00 EB 0D 00 00 00 00 00 18 0D 24 [18:32:46]RasterBufferAndPrint [18:32:46]line [18:32:46]line [18:32:46]line [18:32:46]line [18:32:46]line [18:32:46]written 0, free lines is 3359 [18:32:46]MH_Cut [18:32:46]Write to MH i2c: D1 01 00 F2 0D 01 D1 [18:32:46]Write i2c OK [18:32:46]MH_I2C_Read... [18:32:46]Read from MH i2c: D1 [18:32:46]MH_I2C_Read... [18:32:46]Read from MH i2c: D1 01 00 [18:32:46]MH_I2C_Read... [18:32:46]Read from MH i2c: D1 01 00 F2 0D 00 D0 [18:32:46]Write to MH i2c: 01 00 00 F3 0D 00 [18:32:46]Write i2c OK [18:32:46]MH_I2C_Read... [18:32:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 EE D6 47 00 8E C4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 23 4A 00 00 F4 03 04 00 AB 00 F4 66 B6 04 01 00 00 F2 AD 49 1D 24 3D F9 4D [18:32:46]CommunicateWithHost err = 0 [18:32:46]CheckOFDResponse [18:32:46]1017 (14) - 77093643461234 [18:32:46]1041 (16) - 0000000000959456 [18:32:46]1040 (4) - 18979 [18:32:46]1012 (4) - 25.09.2024 12:23 [18:32:46]1206 (1) - 0 [18:32:46]OFD Sender: Remove packet 18979 [18:32:46]ProducePacketName [18:32:46]name=ofd_packets/00018979 [18:32:46]NVStorageDeleteData [18:32:46]OFD Sender: No OFD packet to send [18:32:46]*** Cut start [18:32:46]*** Partial cut [18:32:46]*** CUTSNS_PIN = 1 [18:32:46]*** CUTSNS_PIN = 0 [18:32:47]*** Brake cut motor [18:32:47]Read from MH i2c: 01 [18:32:47]MH_I2C_Read... [18:32:47]*** Stop cut motor [18:32:47]*** Cut end [18:32:47]Read from MH i2c: 01 07 00 [18:32:47]MH_I2C_Read... [18:32:47]Read from MH i2c: 01 07 00 F3 0D 00 00 00 00 00 FF 0F 15 [18:32:47]process_action close_receipt done [18:32:47]requested_data is exist [18:32:47]produce_requested_data [18:32:47]requested_item fm.sn is exist - process it [18:32:47]wFMCommunicate request_size=4 [18:32:47]MH_SAM_APDU [18:32:47]CAPDU: 80 11 00 00 [18:32:47]Write to MH i2c: E2 08 00 F4 0D 80 11 00 00 00 00 00 00 7B [18:32:47]Write i2c OK [18:32:47]MH_I2C_Read... [18:32:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:32:47]Read from MH i2c: E2 [18:32:47]MH_I2C_Read... [18:32:47]Read from MH i2c: E2 17 00 [18:32:47]MH_I2C_Read... [18:32:47]Read from MH i2c: E2 17 00 F4 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 D4 [18:32:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:32:47]wFMCommunicate OK [18:32:47]requested_item fd.num is exist - process it [18:32:47]SAM_PROTO_GetFieldsCounters [18:32:47]wFMCommunicate request_size=4 [18:32:47]MH_SAM_APDU [18:32:47]CAPDU: 80 13 00 00 [18:32:47]Write to MH i2c: E2 08 00 F5 0D 80 13 00 00 00 00 00 00 7E [18:32:47]Write i2c OK [18:32:47]MH_I2C_Read... [18:32:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:32:47]Read from MH i2c: E2 [18:32:47]MH_I2C_Read... [18:32:47]Read from MH i2c: E2 62 00 [18:32:47]MH_I2C_Read... [18:32:47]Read from MH i2c: E2 62 00 F5 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 23 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 7A [18:32:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 23 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:32:47]wFMCommunicate OK [18:32:47]SAM_PROTO_GetFieldsCounters done [18:32:47]requested_item shift.num is exist - process it [18:32:47]requested_item shift.opened is exist - process it [18:32:47]req_shift_opened [18:32:47]FM_GetShiftState [18:32:47]SAM_PROTO_GetShiftState [18:32:47]wFMCommunicate request_size=4 [18:32:47]MH_SAM_APDU [18:32:47]CAPDU: 80 13 01 00 [18:32:47]Write to MH i2c: E2 08 00 F6 0D 80 13 01 00 00 00 00 00 80 [18:32:47]Write i2c OK [18:32:47]MH_I2C_Read... [18:32:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:32:47]Read from MH i2c: E2 [18:32:47]MH_I2C_Read... [18:32:47]Read from MH i2c: E2 0E 00 [18:32:47]MH_I2C_Read... [18:32:47]Read from MH i2c: E2 0E 00 F6 0D 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 6D [18:32:47]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [18:32:47]wFMCommunicate OK [18:32:47]SAM_PROTO_GetShiftState done [18:32:47]FM_GetShiftState done [18:32:47]req_shift_opened done [18:32:47]requested_item shift.open_date is exist - process it [18:32:47]req_shift_open_date [18:32:47]req_shift_open_date done [18:32:47]produce_requested_data done [18:32:47]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18979,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [18:32:47]process_action_free close_receipt [18:32:47]json_value_free [18:32:47]json_value_free done [18:32:47]process_json_proto returns [18:32:47]Send response to host [18:32:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18979,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [18:32:47]free response buf [18:32:47]execute_script done [18:32:47]execute_script returns [18:32:47]free content buf [18:32:47]Sock 10.Close socket [18:32:47]Sock 10.Thread stoped [18:32:51]OFD Sender: No OFD packet to send [18:32:56]OFD Sender: No OFD packet to send [18:33:01]OFD Sender: No OFD packet to send [18:33:06]OFD Sender: No OFD packet to send [18:33:11]OFD Sender: No OFD packet to send [18:33:16]OFD Sender: No OFD packet to send [18:33:21]OFD Sender: No OFD packet to send [18:33:26]OFD Sender: No OFD packet to send [18:33:31]OFD Sender: No OFD packet to send [18:33:36]OFD Sender: No OFD packet to send [18:33:41]OFD Sender: No OFD packet to send [18:33:46]OFD Sender: No OFD packet to send [18:33:51]OFD Sender: No OFD packet to send [18:33:56]OFD Sender: No OFD packet to send [18:34:01]OFD Sender: No OFD packet to send [18:34:06]OFD Sender: No OFD packet to send [18:34:11]OFD Sender: No OFD packet to send [18:34:16]OFD Sender: No OFD packet to send [18:34:21]OFD Sender: No OFD packet to send [18:34:26]OFD Sender: No OFD packet to send [18:34:31]OFD Sender: No OFD packet to send [18:34:36]OFD Sender: No OFD packet to send [18:34:41]OFD Sender: No OFD packet to send [18:34:46]OFD Sender: No OFD packet to send [18:34:51]OFD Sender: No OFD packet to send [18:34:56]OFD Sender: No OFD packet to send [18:35:01]OFD Sender: No OFD packet to send [18:35:06]OFD Sender: No OFD packet to send [18:35:11]OFD Sender: No OFD packet to send [18:35:16]OFD Sender: No OFD packet to send [18:35:21]OFD Sender: No OFD packet to send [18:35:26]OFD Sender: No OFD packet to send [18:35:32]OFD Sender: No OFD packet to send [18:35:37]OFD Sender: No OFD packet to send [18:35:42]OFD Sender: No OFD packet to send [18:35:47]OFD Sender: No OFD packet to send [18:35:52]OFD Sender: No OFD packet to send [18:35:57]OFD Sender: No OFD packet to send [18:36:02]OFD Sender: No OFD packet to send [18:36:07]OFD Sender: No OFD packet to send [18:36:12]OFD Sender: No OFD packet to send [18:36:17]OFD Sender: No OFD packet to send [18:36:22]OFD Sender: No OFD packet to send [18:36:27]OFD Sender: No OFD packet to send [18:36:32]OFD Sender: No OFD packet to send [18:36:37]OFD Sender: No OFD packet to send [18:36:42]OFD Sender: No OFD packet to send [18:36:47]OFD Sender: No OFD packet to send [18:36:52]OFD Sender: No OFD packet to send [18:36:57]OFD Sender: No OFD packet to send [18:37:02]OFD Sender: No OFD packet to send [18:37:07]OFD Sender: No OFD packet to send [18:37:12]OFD Sender: No OFD packet to send [18:37:17]OFD Sender: No OFD packet to send [18:37:22]OFD Sender: No OFD packet to send [18:37:27]OFD Sender: No OFD packet to send [18:37:32]OFD Sender: No OFD packet to send [18:37:37]OFD Sender: No OFD packet to send [18:37:42]OFD Sender: No OFD packet to send [18:37:47]OFD Sender: No OFD packet to send [18:37:52]OFD Sender: No OFD packet to send [18:37:57]OFD Sender: No OFD packet to send [18:38:02]OFD Sender: No OFD packet to send [18:38:07]OFD Sender: No OFD packet to send [18:38:12]OFD Sender: No OFD packet to send [18:38:17]OFD Sender: No OFD packet to send [18:38:22]OFD Sender: No OFD packet to send [18:38:27]OFD Sender: No OFD packet to send [18:38:32]OFD Sender: No OFD packet to send [18:38:37]OFD Sender: No OFD packet to send [18:38:42]OFD Sender: No OFD packet to send [18:38:47]OFD Sender: No OFD packet to send [18:38:52]OFD Sender: No OFD packet to send [18:38:57]OFD Sender: No OFD packet to send [18:39:02]OFD Sender: No OFD packet to send [18:39:07]OFD Sender: No OFD packet to send [18:39:12]OFD Sender: No OFD packet to send [18:39:17]OFD Sender: No OFD packet to send [18:39:22]OFD Sender: No OFD packet to send [18:39:27]OFD Sender: No OFD packet to send [18:39:32]OFD Sender: No OFD packet to send [18:39:37]OFD Sender: No OFD packet to send [18:39:42]OFD Sender: No OFD packet to send [18:39:47]OFD Sender: No OFD packet to send [18:39:52]OFD Sender: No OFD packet to send [18:39:57]OFD Sender: No OFD packet to send [18:40:02]OFD Sender: No OFD packet to send [18:40:07]OFD Sender: No OFD packet to send [18:40:12]OFD Sender: No OFD packet to send [18:40:17]OFD Sender: No OFD packet to send [18:40:22]OFD Sender: No OFD packet to send [18:40:27]OFD Sender: No OFD packet to send [18:40:32]OFD Sender: No OFD packet to send [18:40:37]OFD Sender: No OFD packet to send [18:40:42]OFD Sender: No OFD packet to send [18:40:47]OFD Sender: No OFD packet to send [18:40:52]OFD Sender: No OFD packet to send [18:40:57]OFD Sender: No OFD packet to send [18:41:02]OFD Sender: No OFD packet to send [18:41:07]OFD Sender: No OFD packet to send [18:41:12]OFD Sender: No OFD packet to send [18:41:17]OFD Sender: No OFD packet to send [18:41:22]OFD Sender: No OFD packet to send [18:41:27]OFD Sender: No OFD packet to send [18:41:32]OFD Sender: No OFD packet to send [18:41:37]OFD Sender: No OFD packet to send [18:41:42]OFD Sender: No OFD packet to send [18:41:47]OFD Sender: No OFD packet to send [18:41:52]OFD Sender: No OFD packet to send [18:41:57]OFD Sender: No OFD packet to send [18:42:02]OFD Sender: No OFD packet to send [18:42:07]OFD Sender: No OFD packet to send [18:42:12]OFD Sender: No OFD packet to send [18:42:17]OFD Sender: No OFD packet to send [18:42:22]OFD Sender: No OFD packet to send [18:42:27]OFD Sender: No OFD packet to send [18:42:32]OFD Sender: No OFD packet to send [18:42:37]OFD Sender: No OFD packet to send [18:42:42]OFD Sender: No OFD packet to send [18:42:47]OFD Sender: No OFD packet to send [18:42:52]OFD Sender: No OFD packet to send [18:42:57]OFD Sender: No OFD packet to send [18:43:02]OFD Sender: No OFD packet to send [18:43:07]OFD Sender: No OFD packet to send [18:43:12]OFD Sender: No OFD packet to send [18:43:17]OFD Sender: No OFD packet to send [18:43:22]OFD Sender: No OFD packet to send [18:43:27]OFD Sender: No OFD packet to send [18:43:32]OFD Sender: No OFD packet to send [18:43:37]OFD Sender: No OFD packet to send [18:43:42]OFD Sender: No OFD packet to send [18:43:47]OFD Sender: No OFD packet to send [18:43:52]OFD Sender: No OFD packet to send [18:43:57]OFD Sender: No OFD packet to send [18:44:02]OFD Sender: No OFD packet to send [18:44:07]OFD Sender: No OFD packet to send [18:44:12]OFD Sender: No OFD packet to send [18:44:17]OFD Sender: No OFD packet to send [18:44:22]OFD Sender: No OFD packet to send [18:44:27]OFD Sender: No OFD packet to send [18:44:32]OFD Sender: No OFD packet to send [18:44:37]OFD Sender: No OFD packet to send [18:44:42]OFD Sender: No OFD packet to send [18:44:47]OFD Sender: No OFD packet to send [18:44:52]OFD Sender: No OFD packet to send [18:44:57]OFD Sender: No OFD packet to send [18:45:02]OFD Sender: No OFD packet to send [18:45:07]OFD Sender: No OFD packet to send [18:45:12]OFD Sender: No OFD packet to send [18:45:17]OFD Sender: No OFD packet to send [18:45:22]OFD Sender: No OFD packet to send [18:45:27]OFD Sender: No OFD packet to send [18:45:32]OFD Sender: No OFD packet to send [18:45:37]OFD Sender: No OFD packet to send [18:45:42]OFD Sender: No OFD packet to send [18:45:47]OFD Sender: No OFD packet to send [18:45:52]OFD Sender: No OFD packet to send [18:45:57]OFD Sender: No OFD packet to send [18:46:02]OFD Sender: No OFD packet to send [18:46:07]OFD Sender: No OFD packet to send [18:46:12]OFD Sender: No OFD packet to send [18:46:17]OFD Sender: No OFD packet to send [18:46:22]OFD Sender: No OFD packet to send [18:46:27]OFD Sender: No OFD packet to send [18:46:32]OFD Sender: No OFD packet to send [18:46:37]OFD Sender: No OFD packet to send [18:46:42]OFD Sender: No OFD packet to send [18:46:47]OFD Sender: No OFD packet to send [18:46:52]OFD Sender: No OFD packet to send [18:46:57]OFD Sender: No OFD packet to send [18:47:02]OFD Sender: No OFD packet to send [18:47:07]OFD Sender: No OFD packet to send [18:47:12]OFD Sender: No OFD packet to send [18:47:17]OFD Sender: No OFD packet to send [18:47:22]OFD Sender: No OFD packet to send [18:47:27]OFD Sender: No OFD packet to send [18:47:32]OFD Sender: No OFD packet to send [18:47:37]OFD Sender: No OFD packet to send [18:47:42]OFD Sender: No OFD packet to send [18:47:47]OFD Sender: No OFD packet to send [18:47:52]OFD Sender: No OFD packet to send [18:47:57]OFD Sender: No OFD packet to send [18:48:02]OFD Sender: No OFD packet to send [18:48:07]OFD Sender: No OFD packet to send [18:48:12]OFD Sender: No OFD packet to send [18:48:17]OFD Sender: No OFD packet to send [18:48:22]OFD Sender: No OFD packet to send [18:48:27]OFD Sender: No OFD packet to send [18:48:32]OFD Sender: No OFD packet to send [18:48:37]OFD Sender: No OFD packet to send [18:48:42]OFD Sender: No OFD packet to send [18:48:47]OFD Sender: No OFD packet to send [18:48:52]OFD Sender: No OFD packet to send [18:48:57]OFD Sender: No OFD packet to send [18:49:02]OFD Sender: No OFD packet to send [18:49:07]OFD Sender: No OFD packet to send [18:49:12]OFD Sender: No OFD packet to send [18:49:17]OFD Sender: No OFD packet to send [18:49:22]OFD Sender: No OFD packet to send [18:49:27]OFD Sender: No OFD packet to send [18:49:32]OFD Sender: No OFD packet to send [18:49:37]OFD Sender: No OFD packet to send [18:49:42]OFD Sender: No OFD packet to send [18:49:47]OFD Sender: No OFD packet to send [18:49:52]OFD Sender: No OFD packet to send [18:49:57]OFD Sender: No OFD packet to send [18:50:02]OFD Sender: No OFD packet to send [18:50:07]OFD Sender: No OFD packet to send [18:50:12]OFD Sender: No OFD packet to send [18:50:17]OFD Sender: No OFD packet to send [18:50:22]OFD Sender: No OFD packet to send [18:50:27]OFD Sender: No OFD packet to send [18:50:32]OFD Sender: No OFD packet to send [18:50:37]OFD Sender: No OFD packet to send [18:50:42]OFD Sender: No OFD packet to send [18:50:47]OFD Sender: No OFD packet to send [18:50:52]OFD Sender: No OFD packet to send [18:50:57]OFD Sender: No OFD packet to send [18:51:02]OFD Sender: No OFD packet to send [18:51:07]OFD Sender: No OFD packet to send [18:51:12]OFD Sender: No OFD packet to send [18:51:17]OFD Sender: No OFD packet to send [18:51:22]OFD Sender: No OFD packet to send [18:51:27]OFD Sender: No OFD packet to send [18:51:32]OFD Sender: No OFD packet to send [18:51:37]OFD Sender: No OFD packet to send [18:51:42]OFD Sender: No OFD packet to send [18:51:47]OFD Sender: No OFD packet to send [18:51:52]OFD Sender: No OFD packet to send [18:51:57]OFD Sender: No OFD packet to send [18:52:02]OFD Sender: No OFD packet to send [18:52:07]OFD Sender: No OFD packet to send [18:52:12]OFD Sender: No OFD packet to send [18:52:17]OFD Sender: No OFD packet to send [18:52:22]OFD Sender: No OFD packet to send [18:52:27]OFD Sender: No OFD packet to send [18:52:32]OFD Sender: No OFD packet to send [18:52:37]OFD Sender: No OFD packet to send [18:52:42]OFD Sender: No OFD packet to send [18:52:47]OFD Sender: No OFD packet to send [18:52:52]OFD Sender: No OFD packet to send [18:52:57]OFD Sender: No OFD packet to send [18:53:02]OFD Sender: No OFD packet to send [18:53:07]OFD Sender: No OFD packet to send [18:53:12]OFD Sender: No OFD packet to send [18:53:17]OFD Sender: No OFD packet to send [18:53:22]OFD Sender: No OFD packet to send [18:53:27]OFD Sender: No OFD packet to send [18:53:32]OFD Sender: No OFD packet to send [18:53:37]OFD Sender: No OFD packet to send [18:53:42]OFD Sender: No OFD packet to send [18:53:47]OFD Sender: No OFD packet to send [18:53:52]OFD Sender: No OFD packet to send [18:53:57]OFD Sender: No OFD packet to send [18:54:02]OFD Sender: No OFD packet to send [18:54:07]OFD Sender: No OFD packet to send [18:54:12]OFD Sender: No OFD packet to send [18:54:17]OFD Sender: No OFD packet to send [18:54:22]OFD Sender: No OFD packet to send [18:54:27]OFD Sender: No OFD packet to send [18:54:32]OFD Sender: No OFD packet to send [18:54:37]OFD Sender: No OFD packet to send [18:54:42]OFD Sender: No OFD packet to send [18:54:47]OFD Sender: No OFD packet to send [18:54:52]OFD Sender: No OFD packet to send [18:54:56]accept exits with 8 [18:54:56]New connection [18:54:56]New thread 3066621284 created [18:54:56]Thread 3066764644 joined [18:54:56]Waiting for new connection... [18:54:56] Sock 8.Parse request [18:54:56]Sock 8.Check first char [18:54:56]Sock 8.First char is OK [18:54:56]request: POST /json_proto HTTP/1.0 [18:54:56]Method: POST [18:54:56]URL: /json_proto [18:54:56]Method is POST - this is cgi request [18:54:56]url: /json_proto [18:54:56]query_string will be loaded in cgi processing [18:54:56]execute_cgi json_proto POST (null) [18:54:56]execute_cgi path=json_proto method=POST [18:54:56]POST find Content-Length [18:54:56]Host: 172.17.62.196:8080 [18:54:56]Content-Length: 653 [18:54:56]Content-Type: application/json [18:54:56] [18:54:56]POST finish read [18:54:56]Found Content-Length = 653 [18:54:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16900", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 77.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:54:56]execute_script... [18:54:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16900", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 77.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:54:56]POST & json_proto [18:54:56]process_json_proto [18:54:56]json parsed OK: [18:54:56]protocol is kg_v1.0 [18:54:56]action value=close_receipt [18:54:56]process_action close_receipt [18:54:56]cmd_close_receipt [18:54:56]MH_GetDate [18:54:56]Write to MH i2c: F0 00 00 F7 0D F3 [18:54:56]Write i2c OK [18:54:56]MH_I2C_Read... [18:54:56]Read from MH i2c: F0 [18:54:56]MH_I2C_Read... [18:54:56]Read from MH i2c: F0 09 00 [18:54:56]MH_I2C_Read... [18:54:56]Read from MH i2c: F0 09 00 F7 0D 00 83 5C F4 66 CE CC 0E 66 43 [18:54:56]GetLastDocTimeStamp 1727289166 [18:54:56]current date 1727290499 [18:54:56]FM_GetShiftState [18:54:56]SAM_PROTO_GetShiftState [18:54:56]wFMCommunicate request_size=4 [18:54:56]MH_SAM_APDU [18:54:56]CAPDU: 80 13 01 00 [18:54:56]Write to MH i2c: E2 08 00 F8 0D 80 13 01 00 00 00 00 00 82 [18:54:56]Write i2c OK [18:54:56]MH_I2C_Read... [18:54:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:54:56]Read from MH i2c: E2 [18:54:56]MH_I2C_Read... [18:54:56]Read from MH i2c: E2 0E 00 [18:54:56]MH_I2C_Read... [18:54:56]Read from MH i2c: E2 0E 00 F8 0D 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 6F [18:54:56]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [18:54:56]wFMCommunicate OK [18:54:56]SAM_PROTO_GetShiftState done [18:54:56]FM_GetShiftState done [18:54:56]opened in 1727223091 [18:54:56]opened+sec_in_day 1727309491 [18:54:56]quantity*price = 7700 [18:54:56]sum+1 = 7701 [18:54:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 77.00 НСП 1% : 0.68 НДС 12% : 8.18 Наличными: 77.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 58 25.09.2024 18:54 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18980 ФПД: 212870133492932 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T185459&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18980&fm=212870133492932&tin=02508201610067®Number=0000000000152968&sum=7700 0 [18:54:57]StoreToDocumentArchive [18:54:57]shift 183 fd 18980 [18:54:57]save to /storage/0183/doc_00018980 [18:54:57]save last doc name /storage/0183/doc_00018980 to /storage/kkm_last_doc_name [18:54:57]save OK [18:54:57]Clear old archive folders... [18:54:57]ProcessDocumentItem done err = 0, tmpTLVsize=293 [18:54:57]tlvbuf is 015FEF70 [18:54:57]SAM_PROTO_ClearQueue [18:54:57]wFMCommunicate request_size=4 [18:54:57]MH_SAM_APDU [18:54:57]CAPDU: 80 09 00 00 [18:54:57]Write to MH i2c: E2 08 00 05 0E 80 09 00 00 00 00 00 00 85 [18:54:57]Write i2c OK [18:54:57]MH_I2C_Read... [18:54:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:54:58]Read from MH i2c: E2 [18:54:58]MH_I2C_Read... [18:54:58]Read from MH i2c: E2 03 00 [18:54:58]MH_I2C_Read... [18:54:58]Read from MH i2c: E2 03 00 05 0E 00 90 00 87 [18:54:58]RAPDU: 90 00 [18:54:58]wFMCommunicate OK [18:54:58]SAM_PROTO_ClearQueue done [18:54:58]KKMCreateOFDPacket [18:54:58]OFDProtocolAddRootSTLVToBuf [18:54:58]FM_MakeSignedData [18:54:58]FM_MakeSignedData [18:54:58]SAM_PROTO_SignData [18:54:58]wFMCommunicate request_size=4 [18:54:58]MH_SAM_APDU [18:54:58]CAPDU: 80 0D 01 02 [18:54:58]Write to MH i2c: E2 08 00 06 0E 80 0D 01 02 00 00 00 00 8D [18:54:58]Write i2c OK [18:54:58]MH_I2C_Read... [18:54:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:54:58]Read from MH i2c: E2 [18:54:58]MH_I2C_Read... [18:54:58]Read from MH i2c: E2 03 00 [18:54:58]MH_I2C_Read... [18:54:58]Read from MH i2c: E2 03 00 06 0E 00 90 00 88 [18:54:58]RAPDU: 90 00 [18:54:58]wFMCommunicate OK [18:54:58]wFMCommunicate request_size=255 [18:54:58]MH_SAM_APDU [18:54:58]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 83 5C F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [18:54:58]Write to MH i2c: E2 02 01 07 0E 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 83 5C F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 4C [18:54:58]Write i2c OK [18:54:58]MH_I2C_Read... [18:54:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:54:58]Read from MH i2c: E2 [18:54:58]MH_I2C_Read... [18:54:58]Read from MH i2c: E2 03 00 [18:54:58]MH_I2C_Read... [18:54:58]Read from MH i2c: E2 03 00 07 0E 00 90 00 89 [18:54:58]RAPDU: 90 00 [18:54:58]wFMCommunicate OK [18:54:58]wFMCommunicate request_size=52 [18:54:58]MH_SAM_APDU [18:54:58]CAPDU: 80 0D 02 02 2F 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 24 4A 00 00 35 04 06 00 C1 9A B0 B0 AC C4 [18:54:58]Write to MH i2c: E2 37 00 08 0E 80 0D 02 02 2F 00 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 24 4A 00 00 35 04 06 00 C1 9A B0 B0 AC C4 00 00 F8 [18:54:58]Write i2c OK [18:54:58]MH_I2C_Read... [18:54:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:54:58]Read from MH i2c: E2 [18:54:58]MH_I2C_Read... [18:54:58]Read from MH i2c: E2 03 00 [18:54:58]MH_I2C_Read... [18:54:58]Read from MH i2c: E2 03 00 08 0E 00 90 00 8A [18:54:58]RAPDU: 90 00 [18:54:58]wFMCommunicate OK [18:54:58]wFMCommunicate request_size=4 [18:54:58]MH_SAM_APDU [18:54:58]CAPDU: 80 0D 03 02 [18:54:58]Write to MH i2c: E2 08 00 09 0E 80 0D 03 02 00 00 00 00 92 [18:54:58]Write i2c OK [18:54:58]MH_I2C_Read... [18:54:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:54:58]Read from MH i2c: E2 [18:54:58]MH_I2C_Read... [18:54:58]Read from MH i2c: E2 0B 00 [18:54:58]MH_I2C_Read... [18:54:58]Read from MH i2c: E2 0B 00 09 0E 00 7C 67 4E 06 97 B8 30 88 90 00 D1 [18:54:58]RAPDU: 7C 67 4E 06 97 B8 30 88 90 00 [18:54:58]wFMCommunicate OK [18:54:58]SAM_PROTO_SignData done [18:54:58]FM_MakeSignedData done [18:54:58]CreateOFDProtocolMessage [18:54:58]wFMCommunicate request_size=4 [18:54:58]MH_SAM_APDU [18:54:58]CAPDU: 80 11 00 00 [18:54:58]Write to MH i2c: E2 08 00 0A 0E 80 11 00 00 00 00 00 00 92 [18:54:58]Write i2c OK [18:54:58]MH_I2C_Read... [18:54:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:54:58]Read from MH i2c: E2 [18:54:58]MH_I2C_Read... [18:54:58]Read from MH i2c: E2 17 00 [18:54:58]MH_I2C_Read... [18:54:58]Read from MH i2c: E2 17 00 0A 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 EB [18:54:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:54:58]wFMCommunicate OK [18:54:58]CreateOFDProtocolMessage done [18:54:58]OFDSenderStorePacket 18980 [18:54:58]StoreOFDPacket docnum=18980 [18:54:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 68 9C 31 01 BD C5 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 83 5C F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 24 4A 00 00 35 04 06 00 C1 9A B0 B0 AC C4 7C 67 4E 06 97 B8 30 88 [18:54:58]CheckFolder [18:54:58]dirname=/storage/ofd_packets [18:54:58]CheckFolder done [18:54:58]ProducePacketName [18:54:58]name=ofd_packets/00018980 [18:54:58]NVStorageSaveData ofd_packets/00018980 [18:54:58]File name is /storage/ofd_packets/00018980 [18:54:58]Write 343 bytes [18:54:58]NVStorageSaveData done [18:54:58]OFDSenderStorePacket done [18:54:58]KKMCreateOFDPacket done [18:54:58]NVStorageSaveData kkm_last_timestamp [18:54:58]File name is /storage/kkm_last_timestamp [18:54:58]Write 4 bytes [18:54:58]NVStorageSaveData done [18:54:58]ExternCall_PrintAddStr [18:54:58]wPrintStart [18:54:58]Write to MH i2c: 01 00 00 0B 0E 19 [18:54:58]Write i2c OK [18:54:58]MH_I2C_Read... [18:54:58]Read from MH i2c: 01 [18:54:58]MH_I2C_Read... [18:54:58]Read from MH i2c: 01 07 00 [18:54:58]MH_I2C_Read... [18:54:58]Read from MH i2c: 01 07 00 0B 0E 00 00 00 00 00 FF 0F 2E [18:54:58]RasterBufferAndPrint [18:54:58]line Счет N : (3)16900 [18:54:58]line ИНН: 02508201610067 [18:54:58]line Контрольно-Кассовый Чек [18:54:58]line ПРОДАЖА [18:54:58]line Товар: 4700000480050 [18:54:58]line Напиток Nitro Energy эн green ж/б 0,45л [18:54:58]line 1.000 * 77.00 [18:54:58]line = 77.00 [18:54:58]line НДС 12% НСП 1% [18:54:58]line > о реализуемом товаре [18:54:58]line ИТОГО: 77.00 [18:54:58]line НСП 1% : 0.68 [18:54:58]line НДС 12% : 8.18 [18:54:58]line Наличными: 77.00 [18:54:58]line Безнал.: 0.00 [18:54:58]line Место: АЗС № 176 "Партнер Нефть" [18:54:58]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [18:54:58]line СНО: Общий режим [18:54:58]line Чек 58 25.09.2024 18:54 [18:54:58]line Смена: 183 ФФД: 1.0 [18:54:58]line ЗНМ: 0300000010 [18:54:58]line РНМ: 0000000000152968 [18:54:58]line Версия ККМ: v1.0 [18:54:58]line ФМ: 0000000000959456 [18:54:58]line ФД: 18980 [18:54:58]line ФПД: 212870133492932 [18:54:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T185459&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18980&fm=212870133492932&tin=02508201610067®Number=0000000000152968&sum=7700 [18:54:58]line 0 [18:54:58]OFD Sender: Processing packet 18980 [packets to send 7, broken 6] [18:54:58]ProducePacketName [18:54:58]name=ofd_packets/00018980 [18:54:58]OFD Sender: To server: pG, [18:54:58]CommunicateWithHost lk.salyk.kg:30040 [18:54:58]ConnectInit lk.salyk.kg [18:54:58]written 0, free lines is 4095 [18:54:59]Connected sock=10 [18:54:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 68 9C 31 01 BD C5 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 83 5C F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 24 4A 00 00 35 04 06 00 C1 9A B0 B0 AC C4 7C 67 4E 06 97 B8 30 88 [18:54:59]Write to MH i2c: 01 00 00 34 0E 42 [18:54:59]Write i2c OK [18:54:59]MH_I2C_Read... [18:54:59]Read from MH i2c: 01 [18:54:59]MH_I2C_Read... [18:54:59]Read from MH i2c: 01 07 00 [18:54:59]MH_I2C_Read... [18:54:59]Read from MH i2c: 01 07 00 34 0E 00 00 00 00 00 03 0D 59 [18:54:59]RasterBufferAndPrint [18:54:59]line [18:54:59]line [18:54:59]line [18:54:59]line [18:54:59]line [18:54:59]written 0, free lines is 3340 [18:54:59]MH_Cut [18:54:59]Write to MH i2c: D1 01 00 3B 0E 01 1B [18:54:59]Write i2c OK [18:54:59]MH_I2C_Read... [18:54:59]Read from MH i2c: D1 [18:54:59]MH_I2C_Read... [18:54:59]Read from MH i2c: D1 01 00 [18:54:59]MH_I2C_Read... [18:54:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 E3 44 47 00 DF DF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 24 4A 00 00 F4 03 04 00 DF 05 F4 66 B6 04 01 00 00 98 0D 82 46 79 4C 7F 21 [18:54:59]CommunicateWithHost err = 0 [18:54:59]CheckOFDResponse [18:54:59]1017 (14) - 77093643461234 [18:54:59]1041 (16) - 0000000000959456 [18:54:59]1040 (4) - 18980 [18:54:59]1012 (4) - 25.09.2024 12:45 [18:54:59]1206 (1) - 0 [18:54:59]OFD Sender: Remove packet 18980 [18:54:59]ProducePacketName [18:54:59]name=ofd_packets/00018980 [18:54:59]NVStorageDeleteData [18:54:59]Read from MH i2c: D1 01 00 3B 0E 00 1A [18:54:59]Write to MH i2c: 01 00 00 3C 0E 4A [18:54:59]Write i2c OK [18:54:59]MH_I2C_Read... [18:54:59]OFD Sender: No OFD packet to send [18:54:59]*** Cut start [18:54:59]*** Partial cut [18:54:59]*** CUTSNS_PIN = 1 [18:54:59]*** CUTSNS_PIN = 0 [18:55:00]*** Brake cut motor [18:55:00]Read from MH i2c: 01 [18:55:00]MH_I2C_Read... [18:55:00]*** Stop cut motor [18:55:00]*** Cut end [18:55:00]Read from MH i2c: 01 07 00 [18:55:00]MH_I2C_Read... [18:55:00]Read from MH i2c: 01 07 00 3C 0E 00 00 00 00 00 FF 0F 5F [18:55:00]process_action close_receipt done [18:55:00]requested_data is exist [18:55:00]produce_requested_data [18:55:00]requested_item fm.sn is exist - process it [18:55:00]wFMCommunicate request_size=4 [18:55:00]MH_SAM_APDU [18:55:00]CAPDU: 80 11 00 00 [18:55:00]Write to MH i2c: E2 08 00 3D 0E 80 11 00 00 00 00 00 00 C5 [18:55:00]Write i2c OK [18:55:00]MH_I2C_Read... [18:55:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:55:00]Read from MH i2c: E2 [18:55:00]MH_I2C_Read... [18:55:00]Read from MH i2c: E2 17 00 [18:55:00]MH_I2C_Read... [18:55:00]Read from MH i2c: E2 17 00 3D 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 1E [18:55:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:55:00]wFMCommunicate OK [18:55:00]requested_item fd.num is exist - process it [18:55:00]SAM_PROTO_GetFieldsCounters [18:55:00]wFMCommunicate request_size=4 [18:55:00]MH_SAM_APDU [18:55:00]CAPDU: 80 13 00 00 [18:55:00]Write to MH i2c: E2 08 00 3E 0E 80 13 00 00 00 00 00 00 C8 [18:55:00]Write i2c OK [18:55:00]MH_I2C_Read... [18:55:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:55:00]Read from MH i2c: E2 [18:55:00]MH_I2C_Read... [18:55:00]Read from MH i2c: E2 62 00 [18:55:00]MH_I2C_Read... [18:55:00]Read from MH i2c: E2 62 00 3E 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 24 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 C8 [18:55:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 24 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:55:00]wFMCommunicate OK [18:55:00]SAM_PROTO_GetFieldsCounters done [18:55:00]requested_item shift.num is exist - process it [18:55:00]requested_item shift.opened is exist - process it [18:55:00]req_shift_opened [18:55:00]FM_GetShiftState [18:55:00]SAM_PROTO_GetShiftState [18:55:00]wFMCommunicate request_size=4 [18:55:00]MH_SAM_APDU [18:55:00]CAPDU: 80 13 01 00 [18:55:00]Write to MH i2c: E2 08 00 3F 0E 80 13 01 00 00 00 00 00 CA [18:55:00]Write i2c OK [18:55:00]MH_I2C_Read... [18:55:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:55:00]Read from MH i2c: E2 [18:55:00]MH_I2C_Read... [18:55:00]Read from MH i2c: E2 0E 00 [18:55:00]MH_I2C_Read... [18:55:00]Read from MH i2c: E2 0E 00 3F 0E 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 B7 [18:55:00]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [18:55:00]wFMCommunicate OK [18:55:00]SAM_PROTO_GetShiftState done [18:55:00]FM_GetShiftState done [18:55:00]req_shift_opened done [18:55:00]requested_item shift.open_date is exist - process it [18:55:00]req_shift_open_date [18:55:00]req_shift_open_date done [18:55:00]produce_requested_data done [18:55:00]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18980,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [18:55:00]process_action_free close_receipt [18:55:00]json_value_free [18:55:00]json_value_free done [18:55:00]process_json_proto returns [18:55:00]Send response to host [18:55:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18980,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [18:55:00]free response buf [18:55:00]execute_script done [18:55:00]execute_script returns [18:55:00]free content buf [18:55:00]Sock 8.Close socket [18:55:00]Sock 8.Thread stoped [18:55:04]OFD Sender: No OFD packet to send [18:55:09]OFD Sender: No OFD packet to send [18:55:14]OFD Sender: No OFD packet to send [18:55:19]OFD Sender: No OFD packet to send [18:55:24]OFD Sender: No OFD packet to send [18:55:29]OFD Sender: No OFD packet to send [18:55:34]OFD Sender: No OFD packet to send [18:55:39]OFD Sender: No OFD packet to send [18:55:44]OFD Sender: No OFD packet to send [18:55:49]OFD Sender: No OFD packet to send [18:55:54]OFD Sender: No OFD packet to send [18:55:59]OFD Sender: No OFD packet to send [18:56:04]OFD Sender: No OFD packet to send [18:56:09]OFD Sender: No OFD packet to send [18:56:14]OFD Sender: No OFD packet to send [18:56:19]OFD Sender: No OFD packet to send [18:56:24]OFD Sender: No OFD packet to send [18:56:29]OFD Sender: No OFD packet to send [18:56:34]OFD Sender: No OFD packet to send [18:56:39]OFD Sender: No OFD packet to send [18:56:44]OFD Sender: No OFD packet to send [18:56:49]OFD Sender: No OFD packet to send [18:56:54]OFD Sender: No OFD packet to send [18:56:59]OFD Sender: No OFD packet to send [18:57:04]OFD Sender: No OFD packet to send [18:57:09]OFD Sender: No OFD packet to send [18:57:14]OFD Sender: No OFD packet to send [18:57:19]OFD Sender: No OFD packet to send [18:57:24]OFD Sender: No OFD packet to send [18:57:29]OFD Sender: No OFD packet to send [18:57:34]OFD Sender: No OFD packet to send [18:57:39]OFD Sender: No OFD packet to send [18:57:44]OFD Sender: No OFD packet to send [18:57:49]OFD Sender: No OFD packet to send [18:57:54]OFD Sender: No OFD packet to send [18:57:59]OFD Sender: No OFD packet to send [18:58:04]OFD Sender: No OFD packet to send [18:58:09]OFD Sender: No OFD packet to send [18:58:14]OFD Sender: No OFD packet to send [18:58:19]OFD Sender: No OFD packet to send [18:58:24]OFD Sender: No OFD packet to send [18:58:28]accept exits with 9 [18:58:28]New connection [18:58:28]New thread 3066764644 created [18:58:28]Thread 3066621284 joined [18:58:28]Waiting for new connection... [18:58:28] Sock 9.Parse request [18:58:28]Sock 9.Check first char [18:58:28]Sock 9.First char is OK [18:58:28]request: POST /json_proto HTTP/1.0 [18:58:28]Method: POST [18:58:28]URL: /json_proto [18:58:28]Method is POST - this is cgi request [18:58:28]url: /json_proto [18:58:28]query_string will be loaded in cgi processing [18:58:28]execute_cgi json_proto POST (null) [18:58:28]execute_cgi path=json_proto method=POST [18:58:28]POST find Content-Length [18:58:28]Host: 172.17.62.196:8080 [18:58:28]Content-Length: 667 [18:58:28]Content-Type: application/json [18:58:28] [18:58:28]POST finish read [18:58:28]Found Content-Length = 667 [18:58:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16901", "tax_sys" : 0, "items" : [ { "code": "5449000189394", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u044F\u0433\u043E\u0434\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:58:28]execute_script... [18:58:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16901", "tax_sys" : 0, "items" : [ { "code": "5449000189394", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u044F\u0433\u043E\u0434\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:58:28]POST & json_proto [18:58:28]process_json_proto [18:58:28]json parsed OK: [18:58:28]protocol is kg_v1.0 [18:58:28]action value=close_receipt [18:58:28]process_action close_receipt [18:58:28]cmd_close_receipt [18:58:28]MH_GetDate [18:58:28]Write to MH i2c: F0 00 00 40 0E 3D [18:58:28]Write i2c OK [18:58:28]MH_I2C_Read... [18:58:28]Read from MH i2c: F0 [18:58:28]MH_I2C_Read... [18:58:28]Read from MH i2c: F0 09 00 [18:58:28]MH_I2C_Read... [18:58:28]Read from MH i2c: F0 09 00 40 0E 00 57 5D F4 66 CE CC 0E 66 62 [18:58:28]GetLastDocTimeStamp 1727290499 [18:58:28]current date 1727290711 [18:58:28]FM_GetShiftState [18:58:28]SAM_PROTO_GetShiftState [18:58:28]wFMCommunicate request_size=4 [18:58:28]MH_SAM_APDU [18:58:28]CAPDU: 80 13 01 00 [18:58:28]Write to MH i2c: E2 08 00 41 0E 80 13 01 00 00 00 00 00 CC [18:58:28]Write i2c OK [18:58:28]MH_I2C_Read... [18:58:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:58:28]Read from MH i2c: E2 [18:58:28]MH_I2C_Read... [18:58:28]Read from MH i2c: E2 0E 00 [18:58:28]MH_I2C_Read... [18:58:28]Read from MH i2c: E2 0E 00 41 0E 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 B9 [18:58:28]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [18:58:28]wFMCommunicate OK [18:58:28]SAM_PROTO_GetShiftState done [18:58:28]FM_GetShiftState done [18:58:28]opened in 1727223091 [18:58:28]opened+sec_in_day 1727309491 [18:58:28]quantity*price = 7500 [18:58:28]sum+1 = 7501 [18:58:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 59 25.09.2024 18:58 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18981 ФПД: 129037558687562 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T185831&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18981&fm=129037558687562&tin=02508201610067®Number=0000000000152968&sum=7500 0 [18:58:29]StoreToDocumentArchive [18:58:29]shift 183 fd 18981 [18:58:29]save to /storage/0183/doc_00018981 [18:58:29]save last doc name /storage/0183/doc_00018981 to /storage/kkm_last_doc_name [18:58:29]save OK [18:58:29]Clear old archive folders... [18:58:29]ProcessDocumentItem done err = 0, tmpTLVsize=287 [18:58:29]tlvbuf is 015C27D0 [18:58:29]SAM_PROTO_ClearQueue [18:58:29]wFMCommunicate request_size=4 [18:58:29]MH_SAM_APDU [18:58:29]CAPDU: 80 09 00 00 [18:58:29]Write to MH i2c: E2 08 00 4E 0E 80 09 00 00 00 00 00 00 CE [18:58:29]Write i2c OK [18:58:29]MH_I2C_Read... [18:58:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:58:29]Read from MH i2c: E2 [18:58:29]MH_I2C_Read... [18:58:29]Read from MH i2c: E2 03 00 [18:58:29]MH_I2C_Read... [18:58:29]Read from MH i2c: E2 03 00 4E 0E 00 90 00 D0 [18:58:29]RAPDU: 90 00 [18:58:29]wFMCommunicate OK [18:58:29]SAM_PROTO_ClearQueue done [18:58:29]KKMCreateOFDPacket [18:58:29]OFDProtocolAddRootSTLVToBuf [18:58:29]FM_MakeSignedData [18:58:29]FM_MakeSignedData [18:58:29]SAM_PROTO_SignData [18:58:29]wFMCommunicate request_size=4 [18:58:29]MH_SAM_APDU [18:58:29]CAPDU: 80 0D 01 02 [18:58:29]Write to MH i2c: E2 08 00 4F 0E 80 0D 01 02 00 00 00 00 D6 [18:58:29]Write i2c OK [18:58:29]MH_I2C_Read... [18:58:30]OFD Sender: No OFD packet to send [18:58:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:58:30]Read from MH i2c: E2 [18:58:30]MH_I2C_Read... [18:58:30]Read from MH i2c: E2 03 00 [18:58:30]MH_I2C_Read... [18:58:30]Read from MH i2c: E2 03 00 4F 0E 00 90 00 D1 [18:58:30]RAPDU: 90 00 [18:58:30]wFMCommunicate OK [18:58:30]wFMCommunicate request_size=255 [18:58:30]MH_SAM_APDU [18:58:30]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 57 5D F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 [18:58:30]Write to MH i2c: E2 02 01 50 0E 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 57 5D F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 00 00 51 [18:58:30]Write i2c OK [18:58:30]MH_I2C_Read... [18:58:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:58:30]Read from MH i2c: E2 [18:58:30]MH_I2C_Read... [18:58:30]Read from MH i2c: E2 03 00 [18:58:30]MH_I2C_Read... [18:58:30]Read from MH i2c: E2 03 00 50 0E 00 90 00 D2 [18:58:30]RAPDU: 90 00 [18:58:30]wFMCommunicate OK [18:58:30]wFMCommunicate request_size=46 [18:58:30]MH_SAM_APDU [18:58:30]CAPDU: 80 0D 02 02 29 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 25 4A 00 00 35 04 06 00 75 5B E5 D9 27 4A [18:58:30]Write to MH i2c: E2 31 00 51 0E 80 0D 02 02 29 00 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 25 4A 00 00 35 04 06 00 75 5B E5 D9 27 4A 00 00 E2 [18:58:30]Write i2c OK [18:58:30]MH_I2C_Read... [18:58:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:58:30]Read from MH i2c: E2 [18:58:30]MH_I2C_Read... [18:58:30]Read from MH i2c: E2 03 00 [18:58:30]MH_I2C_Read... [18:58:30]Read from MH i2c: E2 03 00 51 0E 00 90 00 D3 [18:58:30]RAPDU: 90 00 [18:58:30]wFMCommunicate OK [18:58:30]wFMCommunicate request_size=4 [18:58:30]MH_SAM_APDU [18:58:30]CAPDU: 80 0D 03 02 [18:58:30]Write to MH i2c: E2 08 00 52 0E 80 0D 03 02 00 00 00 00 DB [18:58:30]Write i2c OK [18:58:30]MH_I2C_Read... [18:58:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:58:30]Read from MH i2c: E2 [18:58:30]MH_I2C_Read... [18:58:30]Read from MH i2c: E2 0B 00 [18:58:30]MH_I2C_Read... [18:58:30]Read from MH i2c: E2 0B 00 52 0E 00 4E E6 75 BA E9 E8 55 15 90 00 7A [18:58:30]RAPDU: 4E E6 75 BA E9 E8 55 15 90 00 [18:58:30]wFMCommunicate OK [18:58:30]SAM_PROTO_SignData done [18:58:30]FM_MakeSignedData done [18:58:30]CreateOFDProtocolMessage [18:58:30]wFMCommunicate request_size=4 [18:58:30]MH_SAM_APDU [18:58:30]CAPDU: 80 11 00 00 [18:58:30]Write to MH i2c: E2 08 00 53 0E 80 11 00 00 00 00 00 00 DB [18:58:30]Write i2c OK [18:58:30]MH_I2C_Read... [18:58:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:58:30]Read from MH i2c: E2 [18:58:30]MH_I2C_Read... [18:58:30]Read from MH i2c: E2 17 00 [18:58:30]MH_I2C_Read... [18:58:30]Read from MH i2c: E2 17 00 53 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 34 [18:58:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:58:30]wFMCommunicate OK [18:58:30]CreateOFDProtocolMessage done [18:58:30]OFDSenderStorePacket 18981 [18:58:30]StoreOFDPacket docnum=18981 [18:58:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 33 01 00 00 54 65 2B 01 49 2F 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 57 5D F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 25 4A 00 00 35 04 06 00 75 5B E5 D9 27 4A 4E E6 75 BA E9 E8 55 15 [18:58:30]CheckFolder [18:58:30]dirname=/storage/ofd_packets [18:58:30]CheckFolder done [18:58:30]ProducePacketName [18:58:30]name=ofd_packets/00018981 [18:58:30]NVStorageSaveData ofd_packets/00018981 [18:58:30]File name is /storage/ofd_packets/00018981 [18:58:30]Write 337 bytes [18:58:30]NVStorageSaveData done [18:58:30]OFDSenderStorePacket done [18:58:30]KKMCreateOFDPacket done [18:58:30]NVStorageSaveData kkm_last_timestamp [18:58:30]File name is /storage/kkm_last_timestamp [18:58:30]Write 4 bytes [18:58:30]NVStorageSaveData done [18:58:30]ExternCall_PrintAddStr [18:58:30]wPrintStart [18:58:30]Write to MH i2c: 01 00 00 54 0E 62 [18:58:30]Write i2c OK [18:58:30]MH_I2C_Read... [18:58:30]Read from MH i2c: 01 [18:58:30]MH_I2C_Read... [18:58:30]Read from MH i2c: 01 07 00 [18:58:30]MH_I2C_Read... [18:58:30]Read from MH i2c: 01 07 00 54 0E 00 00 00 00 00 FF 0F 77 [18:58:30]RasterBufferAndPrint [18:58:30]line Счет N : (3)16901 [18:58:30]line ИНН: 02508201610067 [18:58:30]line Контрольно-Кассовый Чек [18:58:30]line ПРОДАЖА [18:58:30]line Товар: 5449000189394 [18:58:30]line Холодный чай Fuse ягода 0,5л [18:58:30]line 1.000 * 75.00 [18:58:30]line = 75.00 [18:58:30]line НДС 12% НСП 1% [18:58:30]line > о реализуемом товаре [18:58:30]line ИТОГО: 75.00 [18:58:30]line НСП 1% : 0.66 [18:58:30]line НДС 12% : 7.96 [18:58:30]line Наличными: 75.00 [18:58:30]line Безнал.: 0.00 [18:58:30]line Место: АЗС № 176 "Партнер Нефть" [18:58:30]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [18:58:30]line СНО: Общий режим [18:58:30]line Чек 59 25.09.2024 18:58 [18:58:30]line Смена: 183 ФФД: 1.0 [18:58:30]line ЗНМ: 0300000010 [18:58:30]line РНМ: 0000000000152968 [18:58:30]line Версия ККМ: v1.0 [18:58:30]line ФМ: 0000000000959456 [18:58:30]line ФД: 18981 [18:58:30]line ФПД: 129037558687562 [18:58:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T185831&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18981&fm=129037558687562&tin=02508201610067®Number=0000000000152968&sum=7500 [18:58:30]line 0 [18:58:30]OFD Sender: Processing packet 18981 [packets to send 7, broken 6] [18:58:30]ProducePacketName [18:58:30]name=ofd_packets/00018981 [18:58:30]OFD Sender: To server: pG, [18:58:30]CommunicateWithHost lk.salyk.kg:30040 [18:58:30]ConnectInit lk.salyk.kg [18:58:30]written 0, free lines is 4095 [18:58:31]Connected sock=10 [18:58:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 33 01 00 00 54 65 2B 01 49 2F 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 57 5D F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 25 4A 00 00 35 04 06 00 75 5B E5 D9 27 4A 4E E6 75 BA E9 E8 55 15 [18:58:31]Write to MH i2c: 01 00 00 7C 0E 8A [18:58:31]Write i2c OK [18:58:31]MH_I2C_Read... [18:58:31]Read from MH i2c: 01 [18:58:31]MH_I2C_Read... [18:58:31]Read from MH i2c: 01 07 00 [18:58:31]MH_I2C_Read... [18:58:31]Read from MH i2c: 01 07 00 7C 0E 00 00 00 00 00 23 0D C1 [18:58:31]RasterBufferAndPrint [18:58:31]line [18:58:31]line [18:58:31]line [18:58:31]line [18:58:31]line [18:58:31]written 0, free lines is 3372 [18:58:31]MH_Cut [18:58:31]Write to MH i2c: D1 01 00 83 0E 01 63 [18:58:31]Write i2c OK [18:58:31]MH_I2C_Read... [18:58:31]Read from MH i2c: D1 [18:58:31]MH_I2C_Read... [18:58:31]Read from MH i2c: D1 01 00 [18:58:31]MH_I2C_Read... [18:58:31]Read from MH i2c: D1 01 00 83 0E 00 62 [18:58:31]Write to MH i2c: 01 00 00 84 0E 92 [18:58:31]Write i2c OK [18:58:31]MH_I2C_Read... [18:58:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 4C 28 47 00 EF F2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 25 4A 00 00 F4 03 04 00 B3 06 F4 66 B6 04 01 00 00 9D 1A 12 22 62 6B F9 5E [18:58:31]CommunicateWithHost err = 0 [18:58:31]CheckOFDResponse [18:58:31]1017 (14) - 77093643461234 [18:58:31]1041 (16) - 0000000000959456 [18:58:31]1040 (4) - 18981 [18:58:31]1012 (4) - 25.09.2024 12:48 [18:58:31]1206 (1) - 0 [18:58:31]OFD Sender: Remove packet 18981 [18:58:31]ProducePacketName [18:58:31]name=ofd_packets/00018981 [18:58:31]NVStorageDeleteData [18:58:31]OFD Sender: No OFD packet to send [18:58:31]*** Cut start [18:58:31]*** Partial cut [18:58:31]*** CUTSNS_PIN = 1 [18:58:31]*** CUTSNS_PIN = 0 [18:58:32]*** Brake cut motor [18:58:32]Read from MH i2c: 01 [18:58:32]MH_I2C_Read... [18:58:32]*** Stop cut motor [18:58:32]*** Cut end [18:58:32]Read from MH i2c: 01 07 00 [18:58:32]MH_I2C_Read... [18:58:32]Read from MH i2c: 01 07 00 84 0E 00 00 00 00 00 FF 0F A7 [18:58:32]process_action close_receipt done [18:58:32]requested_data is exist [18:58:32]produce_requested_data [18:58:32]requested_item fm.sn is exist - process it [18:58:32]wFMCommunicate request_size=4 [18:58:32]MH_SAM_APDU [18:58:32]CAPDU: 80 11 00 00 [18:58:32]Write to MH i2c: E2 08 00 85 0E 80 11 00 00 00 00 00 00 0D [18:58:32]Write i2c OK [18:58:32]MH_I2C_Read... [18:58:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:58:32]Read from MH i2c: E2 [18:58:32]MH_I2C_Read... [18:58:32]Read from MH i2c: E2 17 00 [18:58:32]MH_I2C_Read... [18:58:32]Read from MH i2c: E2 17 00 85 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 66 [18:58:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [18:58:32]wFMCommunicate OK [18:58:32]requested_item fd.num is exist - process it [18:58:32]SAM_PROTO_GetFieldsCounters [18:58:32]wFMCommunicate request_size=4 [18:58:32]MH_SAM_APDU [18:58:32]CAPDU: 80 13 00 00 [18:58:32]Write to MH i2c: E2 08 00 86 0E 80 13 00 00 00 00 00 00 10 [18:58:32]Write i2c OK [18:58:32]MH_I2C_Read... [18:58:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:58:32]Read from MH i2c: E2 [18:58:32]MH_I2C_Read... [18:58:32]Read from MH i2c: E2 62 00 [18:58:32]MH_I2C_Read... [18:58:32]Read from MH i2c: E2 62 00 86 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 25 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 14 [18:58:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 25 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:58:32]wFMCommunicate OK [18:58:32]SAM_PROTO_GetFieldsCounters done [18:58:32]requested_item shift.num is exist - process it [18:58:32]requested_item shift.opened is exist - process it [18:58:32]req_shift_opened [18:58:32]FM_GetShiftState [18:58:32]SAM_PROTO_GetShiftState [18:58:32]wFMCommunicate request_size=4 [18:58:32]MH_SAM_APDU [18:58:32]CAPDU: 80 13 01 00 [18:58:32]Write to MH i2c: E2 08 00 87 0E 80 13 01 00 00 00 00 00 12 [18:58:32]Write i2c OK [18:58:32]MH_I2C_Read... [18:58:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:58:32]Read from MH i2c: E2 [18:58:32]MH_I2C_Read... [18:58:32]Read from MH i2c: E2 0E 00 [18:58:32]MH_I2C_Read... [18:58:32]Read from MH i2c: E2 0E 00 87 0E 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 FF [18:58:32]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [18:58:32]wFMCommunicate OK [18:58:32]SAM_PROTO_GetShiftState done [18:58:32]FM_GetShiftState done [18:58:32]req_shift_opened done [18:58:32]requested_item shift.open_date is exist - process it [18:58:32]req_shift_open_date [18:58:32]req_shift_open_date done [18:58:32]produce_requested_data done [18:58:32]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18981,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [18:58:32]process_action_free close_receipt [18:58:32]json_value_free [18:58:32]json_value_free done [18:58:32]process_json_proto returns [18:58:32]Send response to host [18:58:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18981,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [18:58:32]free response buf [18:58:32]execute_script done [18:58:32]execute_script returns [18:58:32]free content buf [18:58:32]Sock 9.Close socket [18:58:32]Sock 9.Thread stoped [18:58:36]OFD Sender: No OFD packet to send [18:58:41]OFD Sender: No OFD packet to send [18:58:46]OFD Sender: No OFD packet to send [18:58:51]OFD Sender: No OFD packet to send [18:58:56]OFD Sender: No OFD packet to send [18:59:01]OFD Sender: No OFD packet to send [18:59:06]OFD Sender: No OFD packet to send [18:59:11]OFD Sender: No OFD packet to send [18:59:16]OFD Sender: No OFD packet to send [18:59:21]OFD Sender: No OFD packet to send [18:59:26]OFD Sender: No OFD packet to send [18:59:31]OFD Sender: No OFD packet to send [18:59:36]OFD Sender: No OFD packet to send [18:59:41]OFD Sender: No OFD packet to send [18:59:46]OFD Sender: No OFD packet to send [18:59:51]OFD Sender: No OFD packet to send [18:59:56]OFD Sender: No OFD packet to send [19:00:01]OFD Sender: No OFD packet to send [19:00:06]OFD Sender: No OFD packet to send [19:00:11]OFD Sender: No OFD packet to send [19:00:16]OFD Sender: No OFD packet to send [19:00:21]OFD Sender: No OFD packet to send [19:00:26]OFD Sender: No OFD packet to send [19:00:31]OFD Sender: No OFD packet to send [19:00:36]OFD Sender: No OFD packet to send [19:00:41]OFD Sender: No OFD packet to send [19:00:46]OFD Sender: No OFD packet to send [19:00:51]OFD Sender: No OFD packet to send [19:00:56]OFD Sender: No OFD packet to send [19:01:01]OFD Sender: No OFD packet to send [19:01:06]OFD Sender: No OFD packet to send [19:01:11]OFD Sender: No OFD packet to send [19:01:16]OFD Sender: No OFD packet to send [19:01:21]OFD Sender: No OFD packet to send [19:01:26]OFD Sender: No OFD packet to send [19:01:31]OFD Sender: No OFD packet to send [19:01:36]OFD Sender: No OFD packet to send [19:01:41]OFD Sender: No OFD packet to send [19:01:46]OFD Sender: No OFD packet to send [19:01:51]OFD Sender: No OFD packet to send [19:01:56]OFD Sender: No OFD packet to send [19:02:01]OFD Sender: No OFD packet to send [19:02:06]OFD Sender: No OFD packet to send [19:02:11]OFD Sender: No OFD packet to send [19:02:16]OFD Sender: No OFD packet to send [19:02:22]OFD Sender: No OFD packet to send [19:02:27]OFD Sender: No OFD packet to send [19:02:32]OFD Sender: No OFD packet to send [19:02:37]OFD Sender: No OFD packet to send [19:02:42]OFD Sender: No OFD packet to send [19:02:47]OFD Sender: No OFD packet to send [19:02:52]OFD Sender: No OFD packet to send [19:02:57]OFD Sender: No OFD packet to send [19:03:02]OFD Sender: No OFD packet to send [19:03:07]OFD Sender: No OFD packet to send [19:03:12]OFD Sender: No OFD packet to send [19:03:17]OFD Sender: No OFD packet to send [19:03:22]OFD Sender: No OFD packet to send [19:03:27]OFD Sender: No OFD packet to send [19:03:32]OFD Sender: No OFD packet to send [19:03:37]OFD Sender: No OFD packet to send [19:03:42]OFD Sender: No OFD packet to send [19:03:47]OFD Sender: No OFD packet to send [19:03:52]OFD Sender: No OFD packet to send [19:03:57]OFD Sender: No OFD packet to send [19:04:02]OFD Sender: No OFD packet to send [19:04:07]OFD Sender: No OFD packet to send [19:04:12]OFD Sender: No OFD packet to send [19:04:17]OFD Sender: No OFD packet to send [19:04:22]OFD Sender: No OFD packet to send [19:04:27]OFD Sender: No OFD packet to send [19:04:32]OFD Sender: No OFD packet to send [19:04:37]OFD Sender: No OFD packet to send [19:04:42]OFD Sender: No OFD packet to send [19:04:47]OFD Sender: No OFD packet to send [19:04:52]OFD Sender: No OFD packet to send [19:04:57]OFD Sender: No OFD packet to send [19:05:02]OFD Sender: No OFD packet to send [19:05:07]OFD Sender: No OFD packet to send [19:05:12]OFD Sender: No OFD packet to send [19:05:17]OFD Sender: No OFD packet to send [19:05:22]OFD Sender: No OFD packet to send [19:05:27]OFD Sender: No OFD packet to send [19:05:32]OFD Sender: No OFD packet to send [19:05:37]OFD Sender: No OFD packet to send [19:05:42]OFD Sender: No OFD packet to send [19:05:47]OFD Sender: No OFD packet to send [19:05:52]OFD Sender: No OFD packet to send [19:05:57]OFD Sender: No OFD packet to send [19:06:02]OFD Sender: No OFD packet to send [19:06:07]OFD Sender: No OFD packet to send [19:06:12]OFD Sender: No OFD packet to send [19:06:17]OFD Sender: No OFD packet to send [19:06:22]OFD Sender: No OFD packet to send [19:06:27]OFD Sender: No OFD packet to send [19:06:32]OFD Sender: No OFD packet to send [19:06:37]OFD Sender: No OFD packet to send [19:06:42]OFD Sender: No OFD packet to send [19:06:47]OFD Sender: No OFD packet to send [19:06:52]OFD Sender: No OFD packet to send [19:06:57]OFD Sender: No OFD packet to send [19:07:02]OFD Sender: No OFD packet to send [19:07:07]OFD Sender: No OFD packet to send [19:07:12]OFD Sender: No OFD packet to send [19:07:17]OFD Sender: No OFD packet to send [19:07:22]OFD Sender: No OFD packet to send [19:07:27]OFD Sender: No OFD packet to send [19:07:32]OFD Sender: No OFD packet to send [19:07:37]OFD Sender: No OFD packet to send [19:07:42]OFD Sender: No OFD packet to send [19:07:47]OFD Sender: No OFD packet to send [19:07:52]OFD Sender: No OFD packet to send [19:07:57]OFD Sender: No OFD packet to send [19:08:02]OFD Sender: No OFD packet to send [19:08:07]OFD Sender: No OFD packet to send [19:08:12]OFD Sender: No OFD packet to send [19:08:17]OFD Sender: No OFD packet to send [19:08:22]OFD Sender: No OFD packet to send [19:08:27]OFD Sender: No OFD packet to send [19:08:32]OFD Sender: No OFD packet to send [19:08:37]OFD Sender: No OFD packet to send [19:08:42]OFD Sender: No OFD packet to send [19:08:47]OFD Sender: No OFD packet to send [19:08:52]OFD Sender: No OFD packet to send [19:08:57]OFD Sender: No OFD packet to send [19:09:02]OFD Sender: No OFD packet to send [19:09:07]OFD Sender: No OFD packet to send [19:09:12]OFD Sender: No OFD packet to send [19:09:17]OFD Sender: No OFD packet to send [19:09:22]OFD Sender: No OFD packet to send [19:09:27]OFD Sender: No OFD packet to send [19:09:32]OFD Sender: No OFD packet to send [19:09:37]OFD Sender: No OFD packet to send [19:09:42]OFD Sender: No OFD packet to send [19:09:47]OFD Sender: No OFD packet to send [19:09:52]OFD Sender: No OFD packet to send [19:09:57]OFD Sender: No OFD packet to send [19:10:02]OFD Sender: No OFD packet to send [19:10:07]OFD Sender: No OFD packet to send [19:10:12]OFD Sender: No OFD packet to send [19:10:17]OFD Sender: No OFD packet to send [19:10:22]OFD Sender: No OFD packet to send [19:10:27]OFD Sender: No OFD packet to send [19:10:32]OFD Sender: No OFD packet to send [19:10:37]OFD Sender: No OFD packet to send [19:10:42]OFD Sender: No OFD packet to send [19:10:47]OFD Sender: No OFD packet to send [19:10:52]OFD Sender: No OFD packet to send [19:10:57]OFD Sender: No OFD packet to send [19:11:02]OFD Sender: No OFD packet to send [19:11:07]OFD Sender: No OFD packet to send [19:11:12]OFD Sender: No OFD packet to send [19:11:17]OFD Sender: No OFD packet to send [19:11:22]OFD Sender: No OFD packet to send [19:11:27]OFD Sender: No OFD packet to send [19:11:32]OFD Sender: No OFD packet to send [19:11:37]OFD Sender: No OFD packet to send [19:11:42]OFD Sender: No OFD packet to send [19:11:47]OFD Sender: No OFD packet to send [19:11:52]OFD Sender: No OFD packet to send [19:11:57]OFD Sender: No OFD packet to send [19:12:02]OFD Sender: No OFD packet to send [19:12:07]OFD Sender: No OFD packet to send [19:12:12]OFD Sender: No OFD packet to send [19:12:17]OFD Sender: No OFD packet to send [19:12:22]OFD Sender: No OFD packet to send [19:12:27]OFD Sender: No OFD packet to send [19:12:32]OFD Sender: No OFD packet to send [19:12:37]OFD Sender: No OFD packet to send [19:12:42]OFD Sender: No OFD packet to send [19:12:47]OFD Sender: No OFD packet to send [19:12:52]OFD Sender: No OFD packet to send [19:12:57]OFD Sender: No OFD packet to send [19:13:02]OFD Sender: No OFD packet to send [19:13:07]OFD Sender: No OFD packet to send [19:13:12]OFD Sender: No OFD packet to send [19:13:17]OFD Sender: No OFD packet to send [19:13:22]OFD Sender: No OFD packet to send [19:13:27]OFD Sender: No OFD packet to send [19:13:32]OFD Sender: No OFD packet to send [19:13:37]OFD Sender: No OFD packet to send [19:13:42]OFD Sender: No OFD packet to send [19:13:47]OFD Sender: No OFD packet to send [19:13:52]OFD Sender: No OFD packet to send [19:13:57]OFD Sender: No OFD packet to send [19:14:02]OFD Sender: No OFD packet to send [19:14:07]OFD Sender: No OFD packet to send [19:14:12]OFD Sender: No OFD packet to send [19:14:17]OFD Sender: No OFD packet to send [19:14:22]OFD Sender: No OFD packet to send [19:14:27]OFD Sender: No OFD packet to send [19:14:32]OFD Sender: No OFD packet to send [19:14:37]OFD Sender: No OFD packet to send [19:14:42]OFD Sender: No OFD packet to send [19:14:47]OFD Sender: No OFD packet to send [19:14:52]OFD Sender: No OFD packet to send [19:14:57]OFD Sender: No OFD packet to send [19:15:02]OFD Sender: No OFD packet to send [19:15:07]OFD Sender: No OFD packet to send [19:15:12]OFD Sender: No OFD packet to send [19:15:17]OFD Sender: No OFD packet to send [19:15:22]OFD Sender: No OFD packet to send [19:15:27]OFD Sender: No OFD packet to send [19:15:32]OFD Sender: No OFD packet to send [19:15:37]OFD Sender: No OFD packet to send [19:15:42]OFD Sender: No OFD packet to send [19:15:47]OFD Sender: No OFD packet to send [19:15:52]OFD Sender: No OFD packet to send [19:15:57]OFD Sender: No OFD packet to send [19:16:02]OFD Sender: No OFD packet to send [19:16:07]OFD Sender: No OFD packet to send [19:16:12]OFD Sender: No OFD packet to send [19:16:17]OFD Sender: No OFD packet to send [19:16:22]OFD Sender: No OFD packet to send [19:16:27]OFD Sender: No OFD packet to send [19:16:32]OFD Sender: No OFD packet to send [19:16:37]OFD Sender: No OFD packet to send [19:16:42]OFD Sender: No OFD packet to send [19:16:47]OFD Sender: No OFD packet to send [19:16:52]OFD Sender: No OFD packet to send [19:16:57]OFD Sender: No OFD packet to send [19:17:02]OFD Sender: No OFD packet to send [19:17:07]OFD Sender: No OFD packet to send [19:17:12]OFD Sender: No OFD packet to send [19:17:17]OFD Sender: No OFD packet to send [19:17:22]OFD Sender: No OFD packet to send [19:17:27]OFD Sender: No OFD packet to send [19:17:32]OFD Sender: No OFD packet to send [19:17:37]OFD Sender: No OFD packet to send [19:17:42]OFD Sender: No OFD packet to send [19:17:47]OFD Sender: No OFD packet to send [19:17:52]OFD Sender: No OFD packet to send [19:17:57]OFD Sender: No OFD packet to send [19:18:02]OFD Sender: No OFD packet to send [19:18:07]OFD Sender: No OFD packet to send [19:18:12]OFD Sender: No OFD packet to send [19:18:17]OFD Sender: No OFD packet to send [19:18:22]OFD Sender: No OFD packet to send [19:18:27]OFD Sender: No OFD packet to send [19:18:32]OFD Sender: No OFD packet to send [19:18:37]OFD Sender: No OFD packet to send [19:18:42]OFD Sender: No OFD packet to send [19:18:47]OFD Sender: No OFD packet to send [19:18:52]OFD Sender: No OFD packet to send [19:18:57]OFD Sender: No OFD packet to send [19:19:02]OFD Sender: No OFD packet to send [19:19:07]OFD Sender: No OFD packet to send [19:19:12]OFD Sender: No OFD packet to send [19:19:14]accept exits with 8 [19:19:14]New connection [19:19:14]New thread 3066621284 created [19:19:14]Thread 3066764644 joined [19:19:14]Waiting for new connection... [19:19:14] Sock 8.Parse request [19:19:14]Sock 8.Check first char [19:19:14]Sock 8.First char is OK [19:19:14]request: POST /json_proto HTTP/1.0 [19:19:14]Method: POST [19:19:14]URL: /json_proto [19:19:14]Method is POST - this is cgi request [19:19:14]url: /json_proto [19:19:14]query_string will be loaded in cgi processing [19:19:14]execute_cgi json_proto POST (null) [19:19:14]execute_cgi path=json_proto method=POST [19:19:14]POST find Content-Length [19:19:14]Host: 172.17.62.196:8080 [19:19:14]Content-Length: 621 [19:19:14]Content-Type: application/json [19:19:14] [19:19:14]POST finish read [19:19:14]Found Content-Length = 621 [19:19:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16902", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 156.00, "quantity" : 1.000, "sum" : 156.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 156.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:19:14]execute_script... [19:19:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16902", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 156.00, "quantity" : 1.000, "sum" : 156.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 156.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:19:14]POST & json_proto [19:19:14]process_json_proto [19:19:14]json parsed OK: [19:19:14]protocol is kg_v1.0 [19:19:14]action value=close_receipt [19:19:14]process_action close_receipt [19:19:14]cmd_close_receipt [19:19:14]MH_GetDate [19:19:14]Write to MH i2c: F0 00 00 88 0E 85 [19:19:14]Write i2c OK [19:19:14]MH_I2C_Read... [19:19:14]Read from MH i2c: F0 [19:19:14]MH_I2C_Read... [19:19:14]Read from MH i2c: F0 09 00 [19:19:14]MH_I2C_Read... [19:19:14]Read from MH i2c: F0 09 00 88 0E 00 35 62 F4 66 CE CC 0E 66 8D [19:19:14]GetLastDocTimeStamp 1727290711 [19:19:14]current date 1727291957 [19:19:14]FM_GetShiftState [19:19:14]SAM_PROTO_GetShiftState [19:19:14]wFMCommunicate request_size=4 [19:19:14]MH_SAM_APDU [19:19:14]CAPDU: 80 13 01 00 [19:19:14]Write to MH i2c: E2 08 00 89 0E 80 13 01 00 00 00 00 00 14 [19:19:14]Write i2c OK [19:19:14]MH_I2C_Read... [19:19:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:19:14]Read from MH i2c: E2 [19:19:14]MH_I2C_Read... [19:19:14]Read from MH i2c: E2 0E 00 [19:19:14]MH_I2C_Read... [19:19:14]Read from MH i2c: E2 0E 00 89 0E 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 01 [19:19:14]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [19:19:14]wFMCommunicate OK [19:19:14]SAM_PROTO_GetShiftState done [19:19:14]FM_GetShiftState done [19:19:14]opened in 1727223091 [19:19:14]opened+sec_in_day 1727309491 [19:19:14]quantity*price = 15600 [19:19:14]sum+1 = 15601 [19:19:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 156.00 НСП 1% : 1.38 НДС 12% : 16.57 Наличными: 156.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 60 25.09.2024 19:19 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18982 ФПД: 193518552136046 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T191917&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18982&fm=193518552136046&tin=02508201610067®Number=0000000000152968&sum=15600 0 [19:19:16]StoreToDocumentArchive [19:19:16]shift 183 fd 18982 [19:19:16]save to /storage/0183/doc_00018982 [19:19:16]save last doc name /storage/0183/doc_00018982 to /storage/kkm_last_doc_name [19:19:16]save OK [19:19:16]Clear old archive folders... [19:19:16]ProcessDocumentItem done err = 0, tmpTLVsize=274 [19:19:16]tlvbuf is B6EAC350 [19:19:16]SAM_PROTO_ClearQueue [19:19:16]wFMCommunicate request_size=4 [19:19:16]MH_SAM_APDU [19:19:16]CAPDU: 80 09 00 00 [19:19:16]Write to MH i2c: E2 08 00 96 0E 80 09 00 00 00 00 00 00 16 [19:19:16]Write i2c OK [19:19:16]MH_I2C_Read... [19:19:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:19:16]Read from MH i2c: E2 [19:19:16]MH_I2C_Read... [19:19:16]Read from MH i2c: E2 03 00 [19:19:16]MH_I2C_Read... [19:19:16]Read from MH i2c: E2 03 00 96 0E 00 90 00 18 [19:19:16]RAPDU: 90 00 [19:19:16]wFMCommunicate OK [19:19:16]SAM_PROTO_ClearQueue done [19:19:16]KKMCreateOFDPacket [19:19:16]OFDProtocolAddRootSTLVToBuf [19:19:16]FM_MakeSignedData [19:19:16]FM_MakeSignedData [19:19:16]SAM_PROTO_SignData [19:19:16]wFMCommunicate request_size=4 [19:19:16]MH_SAM_APDU [19:19:16]CAPDU: 80 0D 01 02 [19:19:16]Write to MH i2c: E2 08 00 97 0E 80 0D 01 02 00 00 00 00 1E [19:19:16]Write i2c OK [19:19:16]MH_I2C_Read... [19:19:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:19:16]Read from MH i2c: E2 [19:19:16]MH_I2C_Read... [19:19:16]Read from MH i2c: E2 03 00 [19:19:16]MH_I2C_Read... [19:19:16]Read from MH i2c: E2 03 00 97 0E 00 90 00 19 [19:19:16]RAPDU: 90 00 [19:19:16]wFMCommunicate OK [19:19:16]wFMCommunicate request_size=255 [19:19:16]MH_SAM_APDU [19:19:16]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 06 00 00 00 00 07 04 06 00 F0 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 35 62 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 [19:19:16]Write to MH i2c: E2 02 01 98 0E 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 06 00 00 00 00 07 04 06 00 F0 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 35 62 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 00 00 E3 [19:19:16]Write i2c OK [19:19:16]MH_I2C_Read... [19:19:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:19:16]Read from MH i2c: E2 [19:19:16]MH_I2C_Read... [19:19:16]Read from MH i2c: E2 03 00 [19:19:16]MH_I2C_Read... [19:19:16]Read from MH i2c: E2 03 00 98 0E 00 90 00 1A [19:19:16]RAPDU: 90 00 [19:19:16]wFMCommunicate OK [19:19:16]wFMCommunicate request_size=33 [19:19:16]MH_SAM_APDU [19:19:16]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 34 35 36 10 04 04 00 26 4A 00 00 35 04 06 00 B0 01 0C 8E B9 6E [19:19:16]Write to MH i2c: E2 24 00 99 0E 80 0D 02 02 1C 00 30 30 30 30 39 35 39 34 35 36 10 04 04 00 26 4A 00 00 35 04 06 00 B0 01 0C 8E B9 6E 00 00 98 [19:19:16]Write i2c OK [19:19:16]MH_I2C_Read... [19:19:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:19:16]Read from MH i2c: E2 [19:19:16]MH_I2C_Read... [19:19:16]Read from MH i2c: E2 03 00 [19:19:16]MH_I2C_Read... [19:19:16]Read from MH i2c: E2 03 00 99 0E 00 90 00 1B [19:19:16]RAPDU: 90 00 [19:19:16]wFMCommunicate OK [19:19:16]wFMCommunicate request_size=4 [19:19:16]MH_SAM_APDU [19:19:16]CAPDU: 80 0D 03 02 [19:19:16]Write to MH i2c: E2 08 00 9A 0E 80 0D 03 02 00 00 00 00 23 [19:19:16]Write i2c OK [19:19:16]MH_I2C_Read... [19:19:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:19:16]Read from MH i2c: E2 [19:19:16]MH_I2C_Read... [19:19:16]Read from MH i2c: E2 0B 00 [19:19:16]MH_I2C_Read... [19:19:16]Read from MH i2c: E2 0B 00 9A 0E 00 8C F4 4F B3 2B 67 07 8D 90 00 CC [19:19:16]RAPDU: 8C F4 4F B3 2B 67 07 8D 90 00 [19:19:16]wFMCommunicate OK [19:19:16]SAM_PROTO_SignData done [19:19:16]FM_MakeSignedData done [19:19:16]CreateOFDProtocolMessage [19:19:16]wFMCommunicate request_size=4 [19:19:16]MH_SAM_APDU [19:19:16]CAPDU: 80 11 00 00 [19:19:16]Write to MH i2c: E2 08 00 9B 0E 80 11 00 00 00 00 00 00 23 [19:19:16]Write i2c OK [19:19:16]MH_I2C_Read... [19:19:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:19:16]Read from MH i2c: E2 [19:19:16]MH_I2C_Read... [19:19:16]Read from MH i2c: E2 17 00 [19:19:16]MH_I2C_Read... [19:19:16]Read from MH i2c: E2 17 00 9B 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 7C [19:19:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:19:16]wFMCommunicate OK [19:19:16]CreateOFDProtocolMessage done [19:19:16]OFDSenderStorePacket 18982 [19:19:16]StoreOFDPacket docnum=18982 [19:19:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 F0 FA 1E 01 CE 0F 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 06 00 00 00 00 07 04 06 00 F0 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 35 62 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 26 4A 00 00 35 04 06 00 B0 01 0C 8E B9 6E 8C F4 4F B3 2B 67 07 8D [19:19:16]CheckFolder [19:19:16]dirname=/storage/ofd_packets [19:19:16]CheckFolder done [19:19:16]ProducePacketName [19:19:16]name=ofd_packets/00018982 [19:19:16]NVStorageSaveData ofd_packets/00018982 [19:19:16]File name is /storage/ofd_packets/00018982 [19:19:16]Write 324 bytes [19:19:16]NVStorageSaveData done [19:19:16]OFDSenderStorePacket done [19:19:16]KKMCreateOFDPacket done [19:19:16]NVStorageSaveData kkm_last_timestamp [19:19:16]File name is /storage/kkm_last_timestamp [19:19:16]Write 4 bytes [19:19:16]NVStorageSaveData done [19:19:16]ExternCall_PrintAddStr [19:19:16]wPrintStart [19:19:16]Write to MH i2c: 01 00 00 9C 0E AA [19:19:16]Write i2c OK [19:19:16]MH_I2C_Read... [19:19:16]Read from MH i2c: 01 [19:19:16]MH_I2C_Read... [19:19:16]Read from MH i2c: 01 07 00 [19:19:16]MH_I2C_Read... [19:19:16]Read from MH i2c: 01 07 00 9C 0E 00 00 00 00 00 FF 0F BF [19:19:16]RasterBufferAndPrint [19:19:16]line Счет N : (3)16902 [19:19:16]line ИНН: 02508201610067 [19:19:16]line Контрольно-Кассовый Чек [19:19:16]line ПРОДАЖА [19:19:16]line Товар: 48741958 [19:19:16]line Сигареты Parliament Aqua Blue [19:19:16]line 1.000 * 156.00 [19:19:16]line = 156.00 [19:19:16]line НДС 12% НСП 1% [19:19:16]line > о реализуемом товаре [19:19:16]line ИТОГО: 156.00 [19:19:16]line НСП 1% : 1.38 [19:19:16]line НДС 12% : 16.57 [19:19:16]line Наличными: 156.00 [19:19:16]line Безнал.: 0.00 [19:19:16]line Место: АЗС № 176 "Партнер Нефть" [19:19:16]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [19:19:16]line СНО: Общий режим [19:19:16]line Чек 60 25.09.2024 19:19 [19:19:16]line Смена: 183 ФФД: 1.0 [19:19:16]line ЗНМ: 0300000010 [19:19:16]line РНМ: 0000000000152968 [19:19:16]line Версия ККМ: v1.0 [19:19:16]line ФМ: 0000000000959456 [19:19:16]line ФД: 18982 [19:19:16]line ФПД: 193518552136046 [19:19:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T191917&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18982&fm=193518552136046&tin=02508201610067®Number=0000000000152968&sum=15600 [19:19:16]line 0 [19:19:16]OFD Sender: Processing packet 18982 [packets to send 7, broken 6] [19:19:16]ProducePacketName [19:19:16]name=ofd_packets/00018982 [19:19:16]OFD Sender: To server: pG, [19:19:16]CommunicateWithHost lk.salyk.kg:30040 [19:19:16]ConnectInit lk.salyk.kg [19:19:16]written 0, free lines is 4095 [19:19:17]Connected sock=10 [19:19:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 F0 FA 1E 01 CE 0F 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 06 00 00 00 00 07 04 06 00 F0 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 35 62 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 26 4A 00 00 35 04 06 00 B0 01 0C 8E B9 6E 8C F4 4F B3 2B 67 07 8D [19:19:17]Write to MH i2c: 01 00 00 C5 0E D3 [19:19:17]Write i2c OK [19:19:17]MH_I2C_Read... [19:19:17]Read from MH i2c: 01 [19:19:17]MH_I2C_Read... [19:19:17]Read from MH i2c: 01 07 00 [19:19:17]MH_I2C_Read... [19:19:17]Read from MH i2c: 01 07 00 C5 0E 00 00 00 00 00 F4 0C DA [19:19:17]RasterBufferAndPrint [19:19:17]line [19:19:17]line [19:19:17]line [19:19:17]line [19:19:17]line [19:19:17]written 0, free lines is 3323 [19:19:17]MH_Cut [19:19:17]Write to MH i2c: D1 01 00 CC 0E 01 AC [19:19:17]Write i2c OK [19:19:17]MH_I2C_Read... [19:19:17]Read from MH i2c: D1 [19:19:17]MH_I2C_Read... [19:19:17]Read from MH i2c: D1 01 00 [19:19:17]MH_I2C_Read... [19:19:17]Read from MH i2c: D1 01 00 CC 0E 00 AB [19:19:17]Write to MH i2c: 01 00 00 CD 0E DB [19:19:17]Write i2c OK [19:19:17]MH_I2C_Read... [19:19:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 8C ED 47 00 7E 3A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 26 4A 00 00 F4 03 04 00 92 0B F4 66 B6 04 01 00 00 9B 00 FA 2D CD 23 20 DE [19:19:17]CommunicateWithHost err = 0 [19:19:17]CheckOFDResponse [19:19:17]1017 (14) - 77093643461234 [19:19:17]1041 (16) - 0000000000959456 [19:19:17]1040 (4) - 18982 [19:19:17]1012 (4) - 25.09.2024 13:09 [19:19:17]1206 (1) - 0 [19:19:17]OFD Sender: Remove packet 18982 [19:19:17]ProducePacketName [19:19:17]name=ofd_packets/00018982 [19:19:17]NVStorageDeleteData [19:19:17]OFD Sender: No OFD packet to send [19:19:18]*** Cut start [19:19:18]*** Partial cut [19:19:18]*** CUTSNS_PIN = 1 [19:19:18]*** CUTSNS_PIN = 0 [19:19:18]*** Brake cut motor [19:19:18]Read from MH i2c: 01 [19:19:18]MH_I2C_Read... [19:19:18]*** Stop cut motor [19:19:18]*** Cut end [19:19:18]Read from MH i2c: 01 07 00 [19:19:18]MH_I2C_Read... [19:19:18]Read from MH i2c: 01 07 00 CD 0E 00 00 00 00 00 FF 0F F0 [19:19:18]process_action close_receipt done [19:19:18]requested_data is exist [19:19:18]produce_requested_data [19:19:18]requested_item fm.sn is exist - process it [19:19:18]wFMCommunicate request_size=4 [19:19:18]MH_SAM_APDU [19:19:18]CAPDU: 80 11 00 00 [19:19:18]Write to MH i2c: E2 08 00 CE 0E 80 11 00 00 00 00 00 00 56 [19:19:18]Write i2c OK [19:19:18]MH_I2C_Read... [19:19:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:19:18]Read from MH i2c: E2 [19:19:18]MH_I2C_Read... [19:19:18]Read from MH i2c: E2 17 00 [19:19:18]MH_I2C_Read... [19:19:18]Read from MH i2c: E2 17 00 CE 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 AF [19:19:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:19:18]wFMCommunicate OK [19:19:18]requested_item fd.num is exist - process it [19:19:18]SAM_PROTO_GetFieldsCounters [19:19:18]wFMCommunicate request_size=4 [19:19:18]MH_SAM_APDU [19:19:18]CAPDU: 80 13 00 00 [19:19:18]Write to MH i2c: E2 08 00 CF 0E 80 13 00 00 00 00 00 00 59 [19:19:18]Write i2c OK [19:19:18]MH_I2C_Read... [19:19:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:19:18]Read from MH i2c: E2 [19:19:18]MH_I2C_Read... [19:19:18]Read from MH i2c: E2 62 00 [19:19:18]MH_I2C_Read... [19:19:18]Read from MH i2c: E2 62 00 CF 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 26 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 61 [19:19:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 26 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:19:18]wFMCommunicate OK [19:19:18]SAM_PROTO_GetFieldsCounters done [19:19:18]requested_item shift.num is exist - process it [19:19:18]requested_item shift.opened is exist - process it [19:19:18]req_shift_opened [19:19:18]FM_GetShiftState [19:19:18]SAM_PROTO_GetShiftState [19:19:18]wFMCommunicate request_size=4 [19:19:18]MH_SAM_APDU [19:19:18]CAPDU: 80 13 01 00 [19:19:18]Write to MH i2c: E2 08 00 D0 0E 80 13 01 00 00 00 00 00 5B [19:19:18]Write i2c OK [19:19:18]MH_I2C_Read... [19:19:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:19:18]Read from MH i2c: E2 [19:19:18]MH_I2C_Read... [19:19:18]Read from MH i2c: E2 0E 00 [19:19:18]MH_I2C_Read... [19:19:18]Read from MH i2c: E2 0E 00 D0 0E 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 48 [19:19:18]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [19:19:18]wFMCommunicate OK [19:19:18]SAM_PROTO_GetShiftState done [19:19:18]FM_GetShiftState done [19:19:18]req_shift_opened done [19:19:18]requested_item shift.open_date is exist - process it [19:19:18]req_shift_open_date [19:19:18]req_shift_open_date done [19:19:18]produce_requested_data done [19:19:18]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18982,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [19:19:18]process_action_free close_receipt [19:19:18]json_value_free [19:19:18]json_value_free done [19:19:18]process_json_proto returns [19:19:18]Send response to host [19:19:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18982,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [19:19:18]free response buf [19:19:18]execute_script done [19:19:18]execute_script returns [19:19:18]free content buf [19:19:18]Sock 8.Close socket [19:19:18]Sock 8.Thread stoped [19:19:22]OFD Sender: No OFD packet to send [19:19:27]OFD Sender: No OFD packet to send [19:19:31]accept exits with 9 [19:19:31]New connection [19:19:31]New thread 3066764644 created [19:19:31]Thread 3066621284 joined [19:19:31]Waiting for new connection... [19:19:31] Sock 9.Parse request [19:19:31]Sock 9.Check first char [19:19:31]Sock 9.First char is OK [19:19:31]request: POST /json_proto HTTP/1.0 [19:19:31]Method: POST [19:19:31]URL: /json_proto [19:19:31]Method is POST - this is cgi request [19:19:31]url: /json_proto [19:19:31]query_string will be loaded in cgi processing [19:19:31]execute_cgi json_proto POST (null) [19:19:31]execute_cgi path=json_proto method=POST [19:19:31]POST find Content-Length [19:19:31]Host: 172.17.62.196:8080 [19:19:31]Content-Length: 604 [19:19:31]Content-Type: application/json [19:19:31] [19:19:31]POST finish read [19:19:31]Found Content-Length = 604 [19:19:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16903", "tax_sys" : 0, "items" : [ { "code": "50173976", "name": "\u0416\u0435\u0432 Orbit Winterfresh \u043F\u043E\u0434", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:19:31]execute_script... [19:19:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16903", "tax_sys" : 0, "items" : [ { "code": "50173976", "name": "\u0416\u0435\u0432 Orbit Winterfresh \u043F\u043E\u0434", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:19:31]POST & json_proto [19:19:31]process_json_proto [19:19:31]json parsed OK: [19:19:31]protocol is kg_v1.0 [19:19:31]action value=close_receipt [19:19:31]process_action close_receipt [19:19:31]cmd_close_receipt [19:19:31]MH_GetDate [19:19:31]Write to MH i2c: F0 00 00 D1 0E CE [19:19:31]Write i2c OK [19:19:31]MH_I2C_Read... [19:19:31]Read from MH i2c: F0 [19:19:31]MH_I2C_Read... [19:19:31]Read from MH i2c: F0 09 00 [19:19:31]MH_I2C_Read... [19:19:31]Read from MH i2c: F0 09 00 D1 0E 00 46 62 F4 66 CE CC 0E 66 E7 [19:19:31]GetLastDocTimeStamp 1727291957 [19:19:31]current date 1727291974 [19:19:31]FM_GetShiftState [19:19:31]SAM_PROTO_GetShiftState [19:19:31]wFMCommunicate request_size=4 [19:19:31]MH_SAM_APDU [19:19:31]CAPDU: 80 13 01 00 [19:19:31]Write to MH i2c: E2 08 00 D2 0E 80 13 01 00 00 00 00 00 5D [19:19:31]Write i2c OK [19:19:31]MH_I2C_Read... [19:19:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:19:31]Read from MH i2c: E2 [19:19:31]MH_I2C_Read... [19:19:31]Read from MH i2c: E2 0E 00 [19:19:31]MH_I2C_Read... [19:19:31]Read from MH i2c: E2 0E 00 D2 0E 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 4A [19:19:31]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [19:19:31]wFMCommunicate OK [19:19:31]SAM_PROTO_GetShiftState done [19:19:31]FM_GetShiftState done [19:19:31]opened in 1727223091 [19:19:31]opened+sec_in_day 1727309491 [19:19:31]quantity*price = 4500 [19:19:31]sum+1 = 4501 [19:19:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 61 25.09.2024 19:19 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18983 ФПД: 275012367993807 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T191934&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18983&fm=275012367993807&tin=02508201610067®Number=0000000000152968&sum=4500 0 [19:19:33]StoreToDocumentArchive [19:19:33]shift 183 fd 18983 [19:19:33]save to /storage/0183/doc_00018983 [19:19:33]save last doc name /storage/0183/doc_00018983 to /storage/kkm_last_doc_name [19:19:33]save OK [19:19:33]Clear old archive folders... [19:19:33]ProcessDocumentItem done err = 0, tmpTLVsize=268 [19:19:33]tlvbuf is 0163B340 [19:19:33]SAM_PROTO_ClearQueue [19:19:33]wFMCommunicate request_size=4 [19:19:33]MH_SAM_APDU [19:19:33]CAPDU: 80 09 00 00 [19:19:33]Write to MH i2c: E2 08 00 DF 0E 80 09 00 00 00 00 00 00 5F [19:19:33]Write i2c OK [19:19:33]MH_I2C_Read... [19:19:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:19:33]Read from MH i2c: E2 [19:19:33]MH_I2C_Read... [19:19:33]Read from MH i2c: E2 03 00 [19:19:33]MH_I2C_Read... [19:19:33]Read from MH i2c: E2 03 00 DF 0E 00 90 00 61 [19:19:33]RAPDU: 90 00 [19:19:33]wFMCommunicate OK [19:19:33]SAM_PROTO_ClearQueue done [19:19:33]KKMCreateOFDPacket [19:19:33]OFDProtocolAddRootSTLVToBuf [19:19:33]FM_MakeSignedData [19:19:33]FM_MakeSignedData [19:19:33]SAM_PROTO_SignData [19:19:33]wFMCommunicate request_size=4 [19:19:33]MH_SAM_APDU [19:19:33]CAPDU: 80 0D 01 02 [19:19:33]Write to MH i2c: E2 08 00 E0 0E 80 0D 01 02 00 00 00 00 67 [19:19:33]Write i2c OK [19:19:33]MH_I2C_Read... [19:19:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:19:33]Read from MH i2c: E2 [19:19:33]MH_I2C_Read... [19:19:33]Read from MH i2c: E2 03 00 [19:19:33]MH_I2C_Read... [19:19:33]Read from MH i2c: E2 03 00 E0 0E 00 90 00 62 [19:19:33]RAPDU: 90 00 [19:19:33]wFMCommunicate OK [19:19:33]wFMCommunicate request_size=255 [19:19:33]MH_SAM_APDU [19:19:33]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 46 62 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 [19:19:33]Write to MH i2c: E2 02 01 E1 0E 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 46 62 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 00 00 35 [19:19:33]Write i2c OK [19:19:33]MH_I2C_Read... [19:19:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:19:33]Read from MH i2c: E2 [19:19:33]MH_I2C_Read... [19:19:33]Read from MH i2c: E2 03 00 [19:19:33]MH_I2C_Read... [19:19:33]Read from MH i2c: E2 03 00 E1 0E 00 90 00 63 [19:19:33]RAPDU: 90 00 [19:19:33]wFMCommunicate OK [19:19:33]wFMCommunicate request_size=27 [19:19:33]MH_SAM_APDU [19:19:33]CAPDU: 80 0D 02 02 16 39 34 35 36 10 04 04 00 27 4A 00 00 35 04 06 00 FA 1F 4E 80 CB CF [19:19:33]Write to MH i2c: E2 1E 00 E2 0E 80 0D 02 02 16 00 39 34 35 36 10 04 04 00 27 4A 00 00 35 04 06 00 FA 1F 4E 80 CB CF 00 00 B7 [19:19:33]Write i2c OK [19:19:33]MH_I2C_Read... [19:19:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:19:33]Read from MH i2c: E2 [19:19:33]MH_I2C_Read... [19:19:33]Read from MH i2c: E2 03 00 [19:19:33]MH_I2C_Read... [19:19:33]Read from MH i2c: E2 03 00 E2 0E 00 90 00 64 [19:19:33]RAPDU: 90 00 [19:19:33]wFMCommunicate OK [19:19:33]wFMCommunicate request_size=4 [19:19:33]MH_SAM_APDU [19:19:33]CAPDU: 80 0D 03 02 [19:19:33]Write to MH i2c: E2 08 00 E3 0E 80 0D 03 02 00 00 00 00 6C [19:19:33]Write i2c OK [19:19:33]MH_I2C_Read... [19:19:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:19:33]Read from MH i2c: E2 [19:19:33]MH_I2C_Read... [19:19:33]Read from MH i2c: E2 0B 00 [19:19:33]MH_I2C_Read... [19:19:33]Read from MH i2c: E2 0B 00 E3 0E 00 04 F5 57 5E 09 B2 27 CB 90 00 C8 [19:19:33]RAPDU: 04 F5 57 5E 09 B2 27 CB 90 00 [19:19:33]wFMCommunicate OK [19:19:33]SAM_PROTO_SignData done [19:19:33]FM_MakeSignedData done [19:19:33]CreateOFDProtocolMessage [19:19:33]wFMCommunicate request_size=4 [19:19:33]MH_SAM_APDU [19:19:33]CAPDU: 80 11 00 00 [19:19:33]Write to MH i2c: E2 08 00 E4 0E 80 11 00 00 00 00 00 00 6C [19:19:33]Write i2c OK [19:19:33]MH_I2C_Read... [19:19:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:19:33]Read from MH i2c: E2 [19:19:33]MH_I2C_Read... [19:19:33]Read from MH i2c: E2 17 00 [19:19:33]MH_I2C_Read... [19:19:33]Read from MH i2c: E2 17 00 E4 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 C5 [19:19:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:19:33]wFMCommunicate OK [19:19:33]CreateOFDProtocolMessage done [19:19:33]OFDSenderStorePacket 18983 [19:19:33]StoreOFDPacket docnum=18983 [19:19:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 20 01 00 00 AF 48 18 01 F6 3F 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 46 62 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 27 4A 00 00 35 04 06 00 FA 1F 4E 80 CB CF 04 F5 57 5E 09 B2 27 CB [19:19:33]CheckFolder [19:19:33]dirname=/storage/ofd_packets [19:19:33]CheckFolder done [19:19:33]ProducePacketName [19:19:33]name=ofd_packets/00018983 [19:19:33]NVStorageSaveData ofd_packets/00018983 [19:19:33]File name is /storage/ofd_packets/00018983 [19:19:33]Write 318 bytes [19:19:33]NVStorageSaveData done [19:19:33]OFDSenderStorePacket done [19:19:33]KKMCreateOFDPacket done [19:19:33]NVStorageSaveData kkm_last_timestamp [19:19:33]File name is /storage/kkm_last_timestamp [19:19:33]Write 4 bytes [19:19:33]NVStorageSaveData done [19:19:33]ExternCall_PrintAddStr [19:19:33]wPrintStart [19:19:33]Write to MH i2c: 01 00 00 E5 0E F3 [19:19:33]Write i2c OK [19:19:33]MH_I2C_Read... [19:19:33]Read from MH i2c: 01 [19:19:33]MH_I2C_Read... [19:19:33]Read from MH i2c: 01 07 00 [19:19:33]MH_I2C_Read... [19:19:33]Read from MH i2c: 01 07 00 E5 0E 00 00 00 00 00 FF 0F 08 [19:19:33]RasterBufferAndPrint [19:19:33]line Счет N : (3)16903 [19:19:33]line ИНН: 02508201610067 [19:19:33]line Контрольно-Кассовый Чек [19:19:33]line ПРОДАЖА [19:19:33]line Товар: 50173976 [19:19:33]line Жев Orbit Winterfresh под [19:19:33]line 1.000 * 45.00 [19:19:33]line = 45.00 [19:19:33]line НДС 12% НСП 1% [19:19:33]line > о реализуемом товаре [19:19:33]line ИТОГО: 45.00 [19:19:33]line НСП 1% : 0.40 [19:19:33]line НДС 12% : 4.78 [19:19:33]line Наличными: 45.00 [19:19:33]line Безнал.: 0.00 [19:19:33]line Место: АЗС № 176 "Партнер Нефть" [19:19:33]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [19:19:33]line СНО: Общий режим [19:19:33]line Чек 61 25.09.2024 19:19 [19:19:33]line Смена: 183 ФФД: 1.0 [19:19:33]line ЗНМ: 0300000010 [19:19:33]line РНМ: 0000000000152968 [19:19:33]line Версия ККМ: v1.0 [19:19:33]line ФМ: 0000000000959456 [19:19:33]line ФД: 18983 [19:19:33]line ФПД: 275012367993807 [19:19:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T191934&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18983&fm=275012367993807&tin=02508201610067®Number=0000000000152968&sum=4500 [19:19:33]line 0 [19:19:33]OFD Sender: Processing packet 18983 [packets to send 7, broken 6] [19:19:33]ProducePacketName [19:19:33]name=ofd_packets/00018983 [19:19:33]OFD Sender: To server: pG, [19:19:33]CommunicateWithHost lk.salyk.kg:30040 [19:19:33]ConnectInit lk.salyk.kg [19:19:33]written 0, free lines is 4095 [19:19:34]Connected sock=10 [19:19:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 20 01 00 00 AF 48 18 01 F6 3F 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 35 30 31 37 33 39 37 36 06 04 1F 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 69 6E 74 65 72 66 72 65 73 68 20 D0 BF D0 BE D0 B4 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 46 62 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 27 4A 00 00 35 04 06 00 FA 1F 4E 80 CB CF 04 F5 57 5E 09 B2 27 CB [19:19:34]Write to MH i2c: 01 00 00 0D 0F 1C [19:19:34]Write i2c OK [19:19:34]MH_I2C_Read... [19:19:34]Read from MH i2c: 01 [19:19:34]MH_I2C_Read... [19:19:34]Read from MH i2c: 01 07 00 [19:19:34]MH_I2C_Read... [19:19:34]Read from MH i2c: 01 07 00 0D 0F 00 00 00 00 00 04 0D 34 [19:19:34]RasterBufferAndPrint [19:19:34]line [19:19:34]line [19:19:34]line [19:19:34]line [19:19:34]line [19:19:34]written 0, free lines is 3338 [19:19:34]MH_Cut [19:19:34]Write to MH i2c: D1 01 00 14 0F 01 F5 [19:19:34]Write i2c OK [19:19:34]MH_I2C_Read... [19:19:34]Read from MH i2c: D1 [19:19:34]MH_I2C_Read... [19:19:34]Read from MH i2c: D1 01 00 [19:19:34]MH_I2C_Read... [19:19:34]Read from MH i2c: D1 01 00 14 0F 00 F4 [19:19:34]Write to MH i2c: 01 00 00 15 0F 24 [19:19:34]Write i2c OK [19:19:34]MH_I2C_Read... [19:19:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 40 22 47 00 CB 2A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 27 4A 00 00 F4 03 04 00 A3 0B F4 66 B6 04 01 00 00 FC B0 82 9D 99 9F 1E 81 [19:19:34]CommunicateWithHost err = 0 [19:19:34]CheckOFDResponse [19:19:34]1017 (14) - 77093643461234 [19:19:34]1041 (16) - 0000000000959456 [19:19:34]1040 (4) - 18983 [19:19:34]1012 (4) - 25.09.2024 13:09 [19:19:34]1206 (1) - 0 [19:19:34]OFD Sender: Remove packet 18983 [19:19:34]ProducePacketName [19:19:34]name=ofd_packets/00018983 [19:19:34]NVStorageDeleteData [19:19:34]OFD Sender: No OFD packet to send [19:19:35]*** Cut start [19:19:35]*** Partial cut [19:19:35]*** CUTSNS_PIN = 1 [19:19:35]*** CUTSNS_PIN = 0 [19:19:35]*** Brake cut motor [19:19:35]Read from MH i2c: 01 [19:19:35]MH_I2C_Read... [19:19:35]*** Stop cut motor [19:19:35]*** Cut end [19:19:35]Read from MH i2c: 01 07 00 [19:19:35]MH_I2C_Read... [19:19:35]Read from MH i2c: 01 07 00 15 0F 00 00 00 00 00 FF 0F 39 [19:19:35]process_action close_receipt done [19:19:35]requested_data is exist [19:19:35]produce_requested_data [19:19:35]requested_item fm.sn is exist - process it [19:19:35]wFMCommunicate request_size=4 [19:19:35]MH_SAM_APDU [19:19:35]CAPDU: 80 11 00 00 [19:19:35]Write to MH i2c: E2 08 00 16 0F 80 11 00 00 00 00 00 00 9F [19:19:35]Write i2c OK [19:19:35]MH_I2C_Read... [19:19:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:19:35]Read from MH i2c: E2 [19:19:35]MH_I2C_Read... [19:19:35]Read from MH i2c: E2 17 00 [19:19:35]MH_I2C_Read... [19:19:35]Read from MH i2c: E2 17 00 16 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 F8 [19:19:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:19:35]wFMCommunicate OK [19:19:35]requested_item fd.num is exist - process it [19:19:35]SAM_PROTO_GetFieldsCounters [19:19:35]wFMCommunicate request_size=4 [19:19:35]MH_SAM_APDU [19:19:35]CAPDU: 80 13 00 00 [19:19:35]Write to MH i2c: E2 08 00 17 0F 80 13 00 00 00 00 00 00 A2 [19:19:35]Write i2c OK [19:19:35]MH_I2C_Read... [19:19:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:19:35]Read from MH i2c: E2 [19:19:35]MH_I2C_Read... [19:19:35]Read from MH i2c: E2 62 00 [19:19:35]MH_I2C_Read... [19:19:35]Read from MH i2c: E2 62 00 17 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 27 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 AE [19:19:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 27 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:19:35]wFMCommunicate OK [19:19:35]SAM_PROTO_GetFieldsCounters done [19:19:35]requested_item shift.num is exist - process it [19:19:35]requested_item shift.opened is exist - process it [19:19:35]req_shift_opened [19:19:35]FM_GetShiftState [19:19:35]SAM_PROTO_GetShiftState [19:19:35]wFMCommunicate request_size=4 [19:19:35]MH_SAM_APDU [19:19:35]CAPDU: 80 13 01 00 [19:19:35]Write to MH i2c: E2 08 00 18 0F 80 13 01 00 00 00 00 00 A4 [19:19:35]Write i2c OK [19:19:35]MH_I2C_Read... [19:19:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:19:35]Read from MH i2c: E2 [19:19:35]MH_I2C_Read... [19:19:35]Read from MH i2c: E2 0E 00 [19:19:35]MH_I2C_Read... [19:19:35]Read from MH i2c: E2 0E 00 18 0F 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 91 [19:19:35]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [19:19:35]wFMCommunicate OK [19:19:35]SAM_PROTO_GetShiftState done [19:19:35]FM_GetShiftState done [19:19:35]req_shift_opened done [19:19:35]requested_item shift.open_date is exist - process it [19:19:35]req_shift_open_date [19:19:35]req_shift_open_date done [19:19:35]produce_requested_data done [19:19:35]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18983,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [19:19:35]process_action_free close_receipt [19:19:35]json_value_free [19:19:35]json_value_free done [19:19:35]process_json_proto returns [19:19:35]Send response to host [19:19:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18983,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [19:19:35]free response buf [19:19:35]execute_script done [19:19:35]execute_script returns [19:19:35]free content buf [19:19:35]Sock 9.Close socket [19:19:35]Sock 9.Thread stoped [19:19:39]OFD Sender: No OFD packet to send [19:19:44]OFD Sender: No OFD packet to send [19:19:49]OFD Sender: No OFD packet to send [19:19:54]OFD Sender: No OFD packet to send [19:19:59]OFD Sender: No OFD packet to send [19:20:04]OFD Sender: No OFD packet to send [19:20:09]OFD Sender: No OFD packet to send [19:20:14]OFD Sender: No OFD packet to send [19:20:19]OFD Sender: No OFD packet to send [19:20:24]OFD Sender: No OFD packet to send [19:20:29]OFD Sender: No OFD packet to send [19:20:34]OFD Sender: No OFD packet to send [19:20:39]OFD Sender: No OFD packet to send [19:20:44]OFD Sender: No OFD packet to send [19:20:50]OFD Sender: No OFD packet to send [19:20:55]OFD Sender: No OFD packet to send [19:21:00]OFD Sender: No OFD packet to send [19:21:05]OFD Sender: No OFD packet to send [19:21:10]OFD Sender: No OFD packet to send [19:21:15]OFD Sender: No OFD packet to send [19:21:20]OFD Sender: No OFD packet to send [19:21:25]OFD Sender: No OFD packet to send [19:21:30]OFD Sender: No OFD packet to send [19:21:35]OFD Sender: No OFD packet to send [19:21:40]OFD Sender: No OFD packet to send [19:21:45]OFD Sender: No OFD packet to send [19:21:50]OFD Sender: No OFD packet to send [19:21:55]OFD Sender: No OFD packet to send [19:22:00]OFD Sender: No OFD packet to send [19:22:05]OFD Sender: No OFD packet to send [19:22:10]OFD Sender: No OFD packet to send [19:22:15]OFD Sender: No OFD packet to send [19:22:20]OFD Sender: No OFD packet to send [19:22:25]OFD Sender: No OFD packet to send [19:22:30]OFD Sender: No OFD packet to send [19:22:35]OFD Sender: No OFD packet to send [19:22:40]OFD Sender: No OFD packet to send [19:22:45]OFD Sender: No OFD packet to send [19:22:50]OFD Sender: No OFD packet to send [19:22:55]OFD Sender: No OFD packet to send [19:23:00]OFD Sender: No OFD packet to send [19:23:05]OFD Sender: No OFD packet to send [19:23:10]OFD Sender: No OFD packet to send [19:23:15]OFD Sender: No OFD packet to send [19:23:20]OFD Sender: No OFD packet to send [19:23:25]OFD Sender: No OFD packet to send [19:23:30]OFD Sender: No OFD packet to send [19:23:35]OFD Sender: No OFD packet to send [19:23:40]OFD Sender: No OFD packet to send [19:23:45]OFD Sender: No OFD packet to send [19:23:50]OFD Sender: No OFD packet to send [19:23:55]OFD Sender: No OFD packet to send [19:24:00]OFD Sender: No OFD packet to send [19:24:05]OFD Sender: No OFD packet to send [19:24:10]OFD Sender: No OFD packet to send [19:24:15]OFD Sender: No OFD packet to send [19:24:20]OFD Sender: No OFD packet to send [19:24:25]OFD Sender: No OFD packet to send [19:24:30]OFD Sender: No OFD packet to send [19:24:35]OFD Sender: No OFD packet to send [19:24:40]OFD Sender: No OFD packet to send [19:24:45]OFD Sender: No OFD packet to send [19:24:50]OFD Sender: No OFD packet to send [19:24:55]OFD Sender: No OFD packet to send [19:25:00]OFD Sender: No OFD packet to send [19:25:05]OFD Sender: No OFD packet to send [19:25:10]OFD Sender: No OFD packet to send [19:25:15]OFD Sender: No OFD packet to send [19:25:20]OFD Sender: No OFD packet to send [19:25:25]OFD Sender: No OFD packet to send [19:25:30]OFD Sender: No OFD packet to send [19:25:35]OFD Sender: No OFD packet to send [19:25:40]OFD Sender: No OFD packet to send [19:25:45]OFD Sender: No OFD packet to send [19:25:50]OFD Sender: No OFD packet to send [19:25:55]OFD Sender: No OFD packet to send [19:26:00]OFD Sender: No OFD packet to send [19:26:05]OFD Sender: No OFD packet to send [19:26:10]OFD Sender: No OFD packet to send [19:26:15]OFD Sender: No OFD packet to send [19:26:20]OFD Sender: No OFD packet to send [19:26:25]OFD Sender: No OFD packet to send [19:26:30]OFD Sender: No OFD packet to send [19:26:35]OFD Sender: No OFD packet to send [19:26:40]OFD Sender: No OFD packet to send [19:26:45]OFD Sender: No OFD packet to send [19:26:50]OFD Sender: No OFD packet to send [19:26:55]OFD Sender: No OFD packet to send [19:27:00]OFD Sender: No OFD packet to send [19:27:05]OFD Sender: No OFD packet to send [19:27:10]OFD Sender: No OFD packet to send [19:27:15]OFD Sender: No OFD packet to send [19:27:20]OFD Sender: No OFD packet to send [19:27:25]OFD Sender: No OFD packet to send [19:27:30]OFD Sender: No OFD packet to send [19:27:35]OFD Sender: No OFD packet to send [19:27:40]OFD Sender: No OFD packet to send [19:27:45]OFD Sender: No OFD packet to send [19:27:50]OFD Sender: No OFD packet to send [19:27:55]OFD Sender: No OFD packet to send [19:28:00]OFD Sender: No OFD packet to send [19:28:05]OFD Sender: No OFD packet to send [19:28:10]OFD Sender: No OFD packet to send [19:28:15]OFD Sender: No OFD packet to send [19:28:20]OFD Sender: No OFD packet to send [19:28:25]OFD Sender: No OFD packet to send [19:28:30]OFD Sender: No OFD packet to send [19:28:35]OFD Sender: No OFD packet to send [19:28:40]OFD Sender: No OFD packet to send [19:28:45]OFD Sender: No OFD packet to send [19:28:50]OFD Sender: No OFD packet to send [19:28:55]OFD Sender: No OFD packet to send [19:29:00]OFD Sender: No OFD packet to send [19:29:05]OFD Sender: No OFD packet to send [19:29:10]OFD Sender: No OFD packet to send [19:29:15]OFD Sender: No OFD packet to send [19:29:20]OFD Sender: No OFD packet to send [19:29:25]OFD Sender: No OFD packet to send [19:29:30]OFD Sender: No OFD packet to send [19:29:35]OFD Sender: No OFD packet to send [19:29:40]OFD Sender: No OFD packet to send [19:29:45]OFD Sender: No OFD packet to send [19:29:50]OFD Sender: No OFD packet to send [19:29:55]OFD Sender: No OFD packet to send [19:30:00]OFD Sender: No OFD packet to send [19:30:01]accept exits with 8 [19:30:01]New connection [19:30:01]New thread 3066621284 created [19:30:01]Thread 3066764644 joined [19:30:01]Waiting for new connection... [19:30:01] Sock 8.Parse request [19:30:01]Sock 8.Check first char [19:30:01]Sock 8.First char is OK [19:30:01]request: POST /json_proto HTTP/1.0 [19:30:01]Method: POST [19:30:01]URL: /json_proto [19:30:01]Method is POST - this is cgi request [19:30:01]url: /json_proto [19:30:01]query_string will be loaded in cgi processing [19:30:01]execute_cgi json_proto POST (null) [19:30:01]execute_cgi path=json_proto method=POST [19:30:01]POST find Content-Length [19:30:01]Host: 172.17.62.196:8080 [19:30:01]Content-Length: 629 [19:30:01]Content-Type: application/json [19:30:01] [19:30:01]POST finish read [19:30:01]Found Content-Length = 629 [19:30:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16904", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:30:01]execute_script... [19:30:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16904", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:30:01]POST & json_proto [19:30:01]process_json_proto [19:30:01]json parsed OK: [19:30:01]protocol is kg_v1.0 [19:30:01]action value=close_receipt [19:30:01]process_action close_receipt [19:30:01]cmd_close_receipt [19:30:01]MH_GetDate [19:30:01]Write to MH i2c: F0 00 00 19 0F 17 [19:30:01]Write i2c OK [19:30:01]MH_I2C_Read... [19:30:01]Read from MH i2c: F0 [19:30:01]MH_I2C_Read... [19:30:01]Read from MH i2c: F0 09 00 [19:30:01]MH_I2C_Read... [19:30:01]Read from MH i2c: F0 09 00 19 0F 00 BC 64 F4 66 CE CC 0E 66 A8 [19:30:01]GetLastDocTimeStamp 1727291974 [19:30:01]current date 1727292604 [19:30:01]FM_GetShiftState [19:30:01]SAM_PROTO_GetShiftState [19:30:01]wFMCommunicate request_size=4 [19:30:01]MH_SAM_APDU [19:30:01]CAPDU: 80 13 01 00 [19:30:01]Write to MH i2c: E2 08 00 1A 0F 80 13 01 00 00 00 00 00 A6 [19:30:01]Write i2c OK [19:30:01]MH_I2C_Read... [19:30:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:30:01]Read from MH i2c: E2 [19:30:01]MH_I2C_Read... [19:30:01]Read from MH i2c: E2 0E 00 [19:30:01]MH_I2C_Read... [19:30:01]Read from MH i2c: E2 0E 00 1A 0F 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 93 [19:30:01]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [19:30:01]wFMCommunicate OK [19:30:01]SAM_PROTO_GetShiftState done [19:30:01]FM_GetShiftState done [19:30:01]opened in 1727223091 [19:30:01]opened+sec_in_day 1727309491 [19:30:01]quantity*price = 5000 [19:30:01]sum+1 = 5001 [19:30:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 62 25.09.2024 19:30 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18984 ФПД: 247666101735612 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T193004&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18984&fm=247666101735612&tin=02508201610067®Number=0000000000152968&sum=5000 0 [19:30:03]StoreToDocumentArchive [19:30:03]shift 183 fd 18984 [19:30:03]save to /storage/0183/doc_00018984 [19:30:03]save last doc name /storage/0183/doc_00018984 to /storage/kkm_last_doc_name [19:30:03]save OK [19:30:03]Clear old archive folders... [19:30:03]ProcessDocumentItem done err = 0, tmpTLVsize=269 [19:30:03]tlvbuf is 015EF260 [19:30:03]SAM_PROTO_ClearQueue [19:30:03]wFMCommunicate request_size=4 [19:30:03]MH_SAM_APDU [19:30:03]CAPDU: 80 09 00 00 [19:30:03]Write to MH i2c: E2 08 00 27 0F 80 09 00 00 00 00 00 00 A8 [19:30:03]Write i2c OK [19:30:03]MH_I2C_Read... [19:30:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:30:03]Read from MH i2c: E2 [19:30:03]MH_I2C_Read... [19:30:03]Read from MH i2c: E2 03 00 [19:30:03]MH_I2C_Read... [19:30:03]Read from MH i2c: E2 03 00 27 0F 00 90 00 AA [19:30:03]RAPDU: 90 00 [19:30:03]wFMCommunicate OK [19:30:03]SAM_PROTO_ClearQueue done [19:30:03]KKMCreateOFDPacket [19:30:03]OFDProtocolAddRootSTLVToBuf [19:30:03]FM_MakeSignedData [19:30:03]FM_MakeSignedData [19:30:03]SAM_PROTO_SignData [19:30:03]wFMCommunicate request_size=4 [19:30:03]MH_SAM_APDU [19:30:03]CAPDU: 80 0D 01 02 [19:30:03]Write to MH i2c: E2 08 00 28 0F 80 0D 01 02 00 00 00 00 B0 [19:30:03]Write i2c OK [19:30:03]MH_I2C_Read... [19:30:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:30:03]Read from MH i2c: E2 [19:30:03]MH_I2C_Read... [19:30:03]Read from MH i2c: E2 03 00 [19:30:03]MH_I2C_Read... [19:30:03]Read from MH i2c: E2 03 00 28 0F 00 90 00 AB [19:30:03]RAPDU: 90 00 [19:30:03]wFMCommunicate OK [19:30:03]wFMCommunicate request_size=255 [19:30:03]MH_SAM_APDU [19:30:03]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 BC 64 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [19:30:03]Write to MH i2c: E2 02 01 29 0F 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 BC 64 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 3D [19:30:03]Write i2c OK [19:30:03]MH_I2C_Read... [19:30:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:30:03]Read from MH i2c: E2 [19:30:03]MH_I2C_Read... [19:30:03]Read from MH i2c: E2 03 00 [19:30:03]MH_I2C_Read... [19:30:03]Read from MH i2c: E2 03 00 29 0F 00 90 00 AC [19:30:03]RAPDU: 90 00 [19:30:03]wFMCommunicate OK [19:30:03]wFMCommunicate request_size=28 [19:30:03]MH_SAM_APDU [19:30:03]CAPDU: 80 0D 02 02 17 35 39 34 35 36 10 04 04 00 28 4A 00 00 35 04 06 00 E1 40 42 04 50 BC [19:30:03]Write to MH i2c: E2 1F 00 2A 0F 80 0D 02 02 17 00 35 39 34 35 36 10 04 04 00 28 4A 00 00 35 04 06 00 E1 40 42 04 50 BC 00 00 2A [19:30:03]Write i2c OK [19:30:03]MH_I2C_Read... [19:30:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:30:03]Read from MH i2c: E2 [19:30:03]MH_I2C_Read... [19:30:03]Read from MH i2c: E2 03 00 [19:30:03]MH_I2C_Read... [19:30:03]Read from MH i2c: E2 03 00 2A 0F 00 90 00 AD [19:30:03]RAPDU: 90 00 [19:30:03]wFMCommunicate OK [19:30:03]wFMCommunicate request_size=4 [19:30:03]MH_SAM_APDU [19:30:03]CAPDU: 80 0D 03 02 [19:30:03]Write to MH i2c: E2 08 00 2B 0F 80 0D 03 02 00 00 00 00 B5 [19:30:03]Write i2c OK [19:30:03]MH_I2C_Read... [19:30:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:30:03]Read from MH i2c: E2 [19:30:03]MH_I2C_Read... [19:30:03]Read from MH i2c: E2 0B 00 [19:30:03]MH_I2C_Read... [19:30:03]Read from MH i2c: E2 0B 00 2B 0F 00 AF FD 19 29 E0 21 7E AC 90 00 CF [19:30:03]RAPDU: AF FD 19 29 E0 21 7E AC 90 00 [19:30:03]wFMCommunicate OK [19:30:03]SAM_PROTO_SignData done [19:30:03]FM_MakeSignedData done [19:30:03]CreateOFDProtocolMessage [19:30:03]wFMCommunicate request_size=4 [19:30:03]MH_SAM_APDU [19:30:03]CAPDU: 80 11 00 00 [19:30:03]Write to MH i2c: E2 08 00 2C 0F 80 11 00 00 00 00 00 00 B5 [19:30:03]Write i2c OK [19:30:03]MH_I2C_Read... [19:30:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:30:03]Read from MH i2c: E2 [19:30:03]MH_I2C_Read... [19:30:03]Read from MH i2c: E2 17 00 [19:30:03]MH_I2C_Read... [19:30:03]Read from MH i2c: E2 17 00 2C 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 0E [19:30:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:30:03]wFMCommunicate OK [19:30:03]CreateOFDProtocolMessage done [19:30:03]OFDSenderStorePacket 18984 [19:30:03]StoreOFDPacket docnum=18984 [19:30:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 21 01 00 00 B0 AA 19 01 A5 74 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 BC 64 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 28 4A 00 00 35 04 06 00 E1 40 42 04 50 BC AF FD 19 29 E0 21 7E AC [19:30:03]CheckFolder [19:30:03]dirname=/storage/ofd_packets [19:30:03]CheckFolder done [19:30:03]ProducePacketName [19:30:03]name=ofd_packets/00018984 [19:30:03]NVStorageSaveData ofd_packets/00018984 [19:30:03]File name is /storage/ofd_packets/00018984 [19:30:03]Write 319 bytes [19:30:03]NVStorageSaveData done [19:30:03]OFDSenderStorePacket done [19:30:03]KKMCreateOFDPacket done [19:30:03]NVStorageSaveData kkm_last_timestamp [19:30:03]File name is /storage/kkm_last_timestamp [19:30:03]Write 4 bytes [19:30:03]NVStorageSaveData done [19:30:03]ExternCall_PrintAddStr [19:30:03]wPrintStart [19:30:03]Write to MH i2c: 01 00 00 2D 0F 3C [19:30:03]Write i2c OK [19:30:03]MH_I2C_Read... [19:30:03]Read from MH i2c: 01 [19:30:03]MH_I2C_Read... [19:30:03]Read from MH i2c: 01 07 00 [19:30:03]MH_I2C_Read... [19:30:03]Read from MH i2c: 01 07 00 2D 0F 00 00 00 00 00 FF 0F 51 [19:30:03]RasterBufferAndPrint [19:30:03]line Счет N : (3)16904 [19:30:03]line ИНН: 02508201610067 [19:30:03]line Контрольно-Кассовый Чек [19:30:03]line ПРОДАЖА [19:30:03]line Товар: 4700000160358 [19:30:03]line Вода Легенда 1л [19:30:03]line 1.000 * 50.00 [19:30:03]line = 50.00 [19:30:03]line НДС 12% НСП 1% [19:30:03]line > о реализуемом товаре [19:30:03]line ИТОГО: 50.00 [19:30:03]line НСП 1% : 0.44 [19:30:03]line НДС 12% : 5.31 [19:30:03]line Наличными: 50.00 [19:30:03]line Безнал.: 0.00 [19:30:03]line Место: АЗС № 176 "Партнер Нефть" [19:30:03]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [19:30:03]line СНО: Общий режим [19:30:03]line Чек 62 25.09.2024 19:30 [19:30:03]line Смена: 183 ФФД: 1.0 [19:30:03]line ЗНМ: 0300000010 [19:30:03]line РНМ: 0000000000152968 [19:30:03]line Версия ККМ: v1.0 [19:30:03]line ФМ: 0000000000959456 [19:30:03]line ФД: 18984 [19:30:03]line ФПД: 247666101735612 [19:30:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T193004&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18984&fm=247666101735612&tin=02508201610067®Number=0000000000152968&sum=5000 [19:30:03]line 0 [19:30:03]OFD Sender: Processing packet 18984 [packets to send 7, broken 6] [19:30:03]ProducePacketName [19:30:03]name=ofd_packets/00018984 [19:30:03]OFD Sender: To server: pG, [19:30:03]CommunicateWithHost lk.salyk.kg:30040 [19:30:03]ConnectInit lk.salyk.kg [19:30:03]written 0, free lines is 4095 [19:30:04]Connected sock=10 [19:30:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 21 01 00 00 B0 AA 19 01 A5 74 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 BC 64 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 28 4A 00 00 35 04 06 00 E1 40 42 04 50 BC AF FD 19 29 E0 21 7E AC [19:30:04]Write to MH i2c: 01 00 00 55 0F 64 [19:30:04]Write i2c OK [19:30:04]MH_I2C_Read... [19:30:04]Read from MH i2c: 01 [19:30:04]MH_I2C_Read... [19:30:04]Read from MH i2c: 01 07 00 [19:30:04]MH_I2C_Read... [19:30:04]Read from MH i2c: 01 07 00 55 0F 00 00 00 00 00 08 0D 80 [19:30:04]RasterBufferAndPrint [19:30:04]line [19:30:04]line [19:30:04]line [19:30:04]line [19:30:04]line [19:30:04]written 0, free lines is 3345 [19:30:04]MH_Cut [19:30:04]Write to MH i2c: D1 01 00 5C 0F 01 3D [19:30:04]Write i2c OK [19:30:04]MH_I2C_Read... [19:30:04]Read from MH i2c: D1 [19:30:04]MH_I2C_Read... [19:30:04]Read from MH i2c: D1 01 00 [19:30:04]MH_I2C_Read... [19:30:04]Read from MH i2c: D1 01 00 5C 0F 00 3C [19:30:04]Write to MH i2c: 01 00 00 5D 0F 6C [19:30:04]Write i2c OK [19:30:04]MH_I2C_Read... [19:30:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 DC B1 47 00 11 2D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 28 4A 00 00 F4 03 04 00 19 0E F4 66 B6 04 01 00 00 D8 F2 37 FF A2 11 06 5F [19:30:04]CommunicateWithHost err = 0 [19:30:04]CheckOFDResponse [19:30:04]1017 (14) - 77093643461234 [19:30:04]1041 (16) - 0000000000959456 [19:30:04]1040 (4) - 18984 [19:30:04]1012 (4) - 25.09.2024 13:20 [19:30:04]1206 (1) - 0 [19:30:04]OFD Sender: Remove packet 18984 [19:30:04]ProducePacketName [19:30:04]name=ofd_packets/00018984 [19:30:04]NVStorageDeleteData [19:30:04]OFD Sender: No OFD packet to send [19:30:04]*** Cut start [19:30:04]*** Partial cut [19:30:04]*** CUTSNS_PIN = 1 [19:30:05]*** CUTSNS_PIN = 0 [19:30:05]*** Brake cut motor [19:30:05]Read from MH i2c: 01 [19:30:05]MH_I2C_Read... [19:30:05]*** Stop cut motor [19:30:05]*** Cut end [19:30:05]Read from MH i2c: 01 07 00 [19:30:05]MH_I2C_Read... [19:30:05]Read from MH i2c: 01 07 00 5D 0F 00 00 00 00 00 FF 0F 81 [19:30:05]process_action close_receipt done [19:30:05]requested_data is exist [19:30:05]produce_requested_data [19:30:05]requested_item fm.sn is exist - process it [19:30:05]wFMCommunicate request_size=4 [19:30:05]MH_SAM_APDU [19:30:05]CAPDU: 80 11 00 00 [19:30:05]Write to MH i2c: E2 08 00 5E 0F 80 11 00 00 00 00 00 00 E7 [19:30:05]Write i2c OK [19:30:05]MH_I2C_Read... [19:30:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:30:05]Read from MH i2c: E2 [19:30:05]MH_I2C_Read... [19:30:05]Read from MH i2c: E2 17 00 [19:30:05]MH_I2C_Read... [19:30:05]Read from MH i2c: E2 17 00 5E 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 40 [19:30:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:30:05]wFMCommunicate OK [19:30:05]requested_item fd.num is exist - process it [19:30:05]SAM_PROTO_GetFieldsCounters [19:30:05]wFMCommunicate request_size=4 [19:30:05]MH_SAM_APDU [19:30:05]CAPDU: 80 13 00 00 [19:30:05]Write to MH i2c: E2 08 00 5F 0F 80 13 00 00 00 00 00 00 EA [19:30:05]Write i2c OK [19:30:05]MH_I2C_Read... [19:30:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:30:05]Read from MH i2c: E2 [19:30:05]MH_I2C_Read... [19:30:05]Read from MH i2c: E2 62 00 [19:30:05]MH_I2C_Read... [19:30:05]Read from MH i2c: E2 62 00 5F 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 28 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 FA [19:30:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 28 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:30:05]wFMCommunicate OK [19:30:05]SAM_PROTO_GetFieldsCounters done [19:30:05]requested_item shift.num is exist - process it [19:30:05]requested_item shift.opened is exist - process it [19:30:05]req_shift_opened [19:30:05]FM_GetShiftState [19:30:05]SAM_PROTO_GetShiftState [19:30:05]wFMCommunicate request_size=4 [19:30:05]MH_SAM_APDU [19:30:05]CAPDU: 80 13 01 00 [19:30:05]Write to MH i2c: E2 08 00 60 0F 80 13 01 00 00 00 00 00 EC [19:30:05]Write i2c OK [19:30:05]MH_I2C_Read... [19:30:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:30:05]Read from MH i2c: E2 [19:30:05]MH_I2C_Read... [19:30:05]Read from MH i2c: E2 0E 00 [19:30:05]MH_I2C_Read... [19:30:05]Read from MH i2c: E2 0E 00 60 0F 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 D9 [19:30:05]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [19:30:05]wFMCommunicate OK [19:30:05]SAM_PROTO_GetShiftState done [19:30:05]FM_GetShiftState done [19:30:05]req_shift_opened done [19:30:05]requested_item shift.open_date is exist - process it [19:30:05]req_shift_open_date [19:30:05]req_shift_open_date done [19:30:05]produce_requested_data done [19:30:05]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18984,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [19:30:05]process_action_free close_receipt [19:30:05]json_value_free [19:30:05]json_value_free done [19:30:05]process_json_proto returns [19:30:05]Send response to host [19:30:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18984,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [19:30:05]free response buf [19:30:05]execute_script done [19:30:05]execute_script returns [19:30:05]free content buf [19:30:05]Sock 8.Close socket [19:30:05]Sock 8.Thread stoped [19:30:09]OFD Sender: No OFD packet to send [19:30:14]OFD Sender: No OFD packet to send [19:30:19]OFD Sender: No OFD packet to send [19:30:24]OFD Sender: No OFD packet to send [19:30:29]OFD Sender: No OFD packet to send [19:30:34]OFD Sender: No OFD packet to send [19:30:39]OFD Sender: No OFD packet to send [19:30:44]OFD Sender: No OFD packet to send [19:30:49]OFD Sender: No OFD packet to send [19:30:54]OFD Sender: No OFD packet to send [19:30:59]OFD Sender: No OFD packet to send [19:31:04]OFD Sender: No OFD packet to send [19:31:09]OFD Sender: No OFD packet to send [19:31:14]OFD Sender: No OFD packet to send [19:31:19]OFD Sender: No OFD packet to send [19:31:24]OFD Sender: No OFD packet to send [19:31:30]OFD Sender: No OFD packet to send [19:31:35]OFD Sender: No OFD packet to send [19:31:40]OFD Sender: No OFD packet to send [19:31:45]OFD Sender: No OFD packet to send [19:31:50]OFD Sender: No OFD packet to send [19:31:55]OFD Sender: No OFD packet to send [19:32:00]OFD Sender: No OFD packet to send [19:32:05]OFD Sender: No OFD packet to send [19:32:10]OFD Sender: No OFD packet to send [19:32:15]OFD Sender: No OFD packet to send [19:32:20]OFD Sender: No OFD packet to send [19:32:25]OFD Sender: No OFD packet to send [19:32:30]OFD Sender: No OFD packet to send [19:32:35]OFD Sender: No OFD packet to send [19:32:40]OFD Sender: No OFD packet to send [19:32:45]OFD Sender: No OFD packet to send [19:32:50]OFD Sender: No OFD packet to send [19:32:55]OFD Sender: No OFD packet to send [19:33:00]OFD Sender: No OFD packet to send [19:33:05]OFD Sender: No OFD packet to send [19:33:10]OFD Sender: No OFD packet to send [19:33:15]OFD Sender: No OFD packet to send [19:33:20]OFD Sender: No OFD packet to send [19:33:25]OFD Sender: No OFD packet to send [19:33:30]OFD Sender: No OFD packet to send [19:33:35]OFD Sender: No OFD packet to send [19:33:40]OFD Sender: No OFD packet to send [19:33:45]OFD Sender: No OFD packet to send [19:33:50]OFD Sender: No OFD packet to send [19:33:55]OFD Sender: No OFD packet to send [19:34:00]OFD Sender: No OFD packet to send [19:34:05]OFD Sender: No OFD packet to send [19:34:10]OFD Sender: No OFD packet to send [19:34:15]OFD Sender: No OFD packet to send [19:34:20]OFD Sender: No OFD packet to send [19:34:25]OFD Sender: No OFD packet to send [19:34:30]OFD Sender: No OFD packet to send [19:34:35]OFD Sender: No OFD packet to send [19:34:40]OFD Sender: No OFD packet to send [19:34:45]OFD Sender: No OFD packet to send [19:34:50]OFD Sender: No OFD packet to send [19:34:55]OFD Sender: No OFD packet to send [19:35:00]OFD Sender: No OFD packet to send [19:35:05]OFD Sender: No OFD packet to send [19:35:10]OFD Sender: No OFD packet to send [19:35:15]OFD Sender: No OFD packet to send [19:35:20]OFD Sender: No OFD packet to send [19:35:25]OFD Sender: No OFD packet to send [19:35:30]OFD Sender: No OFD packet to send [19:35:35]OFD Sender: No OFD packet to send [19:35:40]OFD Sender: No OFD packet to send [19:35:45]OFD Sender: No OFD packet to send [19:35:50]OFD Sender: No OFD packet to send [19:35:55]OFD Sender: No OFD packet to send [19:36:00]OFD Sender: No OFD packet to send [19:36:05]OFD Sender: No OFD packet to send [19:36:10]OFD Sender: No OFD packet to send [19:36:15]OFD Sender: No OFD packet to send [19:36:20]OFD Sender: No OFD packet to send [19:36:25]OFD Sender: No OFD packet to send [19:36:30]OFD Sender: No OFD packet to send [19:36:35]OFD Sender: No OFD packet to send [19:36:40]OFD Sender: No OFD packet to send [19:36:45]OFD Sender: No OFD packet to send [19:36:50]OFD Sender: No OFD packet to send [19:36:55]OFD Sender: No OFD packet to send [19:37:00]OFD Sender: No OFD packet to send [19:37:05]OFD Sender: No OFD packet to send [19:37:10]OFD Sender: No OFD packet to send [19:37:15]OFD Sender: No OFD packet to send [19:37:20]OFD Sender: No OFD packet to send [19:37:25]OFD Sender: No OFD packet to send [19:37:30]OFD Sender: No OFD packet to send [19:37:35]OFD Sender: No OFD packet to send [19:37:40]OFD Sender: No OFD packet to send [19:37:45]OFD Sender: No OFD packet to send [19:37:50]OFD Sender: No OFD packet to send [19:37:55]OFD Sender: No OFD packet to send [19:38:00]OFD Sender: No OFD packet to send [19:38:05]OFD Sender: No OFD packet to send [19:38:10]OFD Sender: No OFD packet to send [19:38:15]OFD Sender: No OFD packet to send [19:38:20]OFD Sender: No OFD packet to send [19:38:25]OFD Sender: No OFD packet to send [19:38:30]OFD Sender: No OFD packet to send [19:38:35]OFD Sender: No OFD packet to send [19:38:35]accept exits with 9 [19:38:35]New connection [19:38:35]New thread 3066764644 created [19:38:35]Thread 3066621284 joined [19:38:35]Waiting for new connection... [19:38:35] Sock 9.Parse request [19:38:35]Sock 9.Check first char [19:38:35]Sock 9.First char is OK [19:38:35]request: POST /json_proto HTTP/1.0 [19:38:35]Method: POST [19:38:35]URL: /json_proto [19:38:35]Method is POST - this is cgi request [19:38:35]url: /json_proto [19:38:35]query_string will be loaded in cgi processing [19:38:35]execute_cgi json_proto POST (null) [19:38:35]execute_cgi path=json_proto method=POST [19:38:35]POST find Content-Length [19:38:35]Host: 172.17.62.196:8080 [19:38:35]Content-Length: 1065 [19:38:35]Content-Type: application/json [19:38:35] [19:38:35]POST finish read [19:38:35]Found Content-Length = 1065 [19:38:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16905", "tax_sys" : 0, "items" : [ { "code": "4823077633218", "name": "\u0428\u043E\u043A\u043E\u043B\u0430\u0434 \u043C\u043E\u043B LACMI \u0411\u043B\u0435\u043A,\u0412\u0430\u0439\u0442 \u043A\u0430\u0440\u0430\u043C\u0435\u043B\u044C, \u043F\u0435", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:38:36]execute_script... [19:38:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16905", "tax_sys" : 0, "items" : [ { "code": "4823077633218", "name": "\u0428\u043E\u043A\u043E\u043B\u0430\u0434 \u043C\u043E\u043B LACMI \u0411\u043B\u0435\u043A,\u0412\u0430\u0439\u0442 \u043A\u0430\u0440\u0430\u043C\u0435\u043B\u044C, \u043F\u0435", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:38:36]POST & json_proto [19:38:36]process_json_proto [19:38:36]json parsed OK: [19:38:36]protocol is kg_v1.0 [19:38:36]action value=close_receipt [19:38:36]process_action close_receipt [19:38:36]cmd_close_receipt [19:38:36]MH_GetDate [19:38:36]Write to MH i2c: F0 00 00 61 0F 5F [19:38:36]Write i2c OK [19:38:36]MH_I2C_Read... [19:38:36]Read from MH i2c: F0 [19:38:36]MH_I2C_Read... [19:38:36]Read from MH i2c: F0 09 00 [19:38:36]MH_I2C_Read... [19:38:36]Read from MH i2c: F0 09 00 61 0F 00 BE 66 F4 66 CE CC 0E 66 F4 [19:38:36]GetLastDocTimeStamp 1727292604 [19:38:36]current date 1727293118 [19:38:36]FM_GetShiftState [19:38:36]SAM_PROTO_GetShiftState [19:38:36]wFMCommunicate request_size=4 [19:38:36]MH_SAM_APDU [19:38:36]CAPDU: 80 13 01 00 [19:38:36]Write to MH i2c: E2 08 00 62 0F 80 13 01 00 00 00 00 00 EE [19:38:36]Write i2c OK [19:38:36]MH_I2C_Read... [19:38:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:38:36]Read from MH i2c: E2 [19:38:36]MH_I2C_Read... [19:38:36]Read from MH i2c: E2 0E 00 [19:38:36]MH_I2C_Read... [19:38:36]Read from MH i2c: E2 0E 00 62 0F 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 DB [19:38:36]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [19:38:36]wFMCommunicate OK [19:38:36]SAM_PROTO_GetShiftState done [19:38:36]FM_GetShiftState done [19:38:36]opened in 1727223091 [19:38:36]opened+sec_in_day 1727309491 [19:38:36]quantity*price = 13000 [19:38:36]sum+1 = 13001 [19:38:36]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001571030 Вода ASU пит н.газ клубн,киви ПЭТ 1л 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 200.00 НСП 1% : 1.77 НДС 12% : 21.23 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 63 25.09.2024 19:38 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18985 ФПД: 78168415833125 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T193838&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18985&fm=78168415833125&tin=02508201610067®Number=0000000000152968&sum=20000 0 [19:38:37]StoreToDocumentArchive [19:38:37]shift 183 fd 18985 [19:38:37]save to /storage/0183/doc_00018985 [19:38:37]save last doc name /storage/0183/doc_00018985 to /storage/kkm_last_doc_name [19:38:37]save OK [19:38:37]Clear old archive folders... [19:38:37]ProcessDocumentItem done err = 0, tmpTLVsize=442 [19:38:37]tlvbuf is 01639110 [19:38:37]SAM_PROTO_ClearQueue [19:38:37]wFMCommunicate request_size=4 [19:38:37]MH_SAM_APDU [19:38:37]CAPDU: 80 09 00 00 [19:38:37]Write to MH i2c: E2 08 00 6F 0F 80 09 00 00 00 00 00 00 F0 [19:38:37]Write i2c OK [19:38:37]MH_I2C_Read... [19:38:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:38:37]Read from MH i2c: E2 [19:38:37]MH_I2C_Read... [19:38:37]Read from MH i2c: E2 03 00 [19:38:37]MH_I2C_Read... [19:38:37]Read from MH i2c: E2 03 00 6F 0F 00 90 00 F2 [19:38:37]RAPDU: 90 00 [19:38:37]wFMCommunicate OK [19:38:37]SAM_PROTO_ClearQueue done [19:38:37]KKMCreateOFDPacket [19:38:37]OFDProtocolAddRootSTLVToBuf [19:38:37]FM_MakeSignedData [19:38:37]FM_MakeSignedData [19:38:37]SAM_PROTO_SignData [19:38:37]wFMCommunicate request_size=4 [19:38:37]MH_SAM_APDU [19:38:37]CAPDU: 80 0D 01 02 [19:38:37]Write to MH i2c: E2 08 00 70 0F 80 0D 01 02 00 00 00 00 F8 [19:38:37]Write i2c OK [19:38:37]MH_I2C_Read... [19:38:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:38:37]Read from MH i2c: E2 [19:38:37]MH_I2C_Read... [19:38:37]Read from MH i2c: E2 03 00 [19:38:37]MH_I2C_Read... [19:38:37]Read from MH i2c: E2 03 00 70 0F 00 90 00 F3 [19:38:37]RAPDU: 90 00 [19:38:37]wFMCommunicate OK [19:38:37]wFMCommunicate request_size=255 [19:38:37]MH_SAM_APDU [19:38:37]CAPDU: 80 0D 02 02 FA 03 00 BA 01 1E 04 01 00 01 23 04 88 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 33 32 31 38 06 04 44 00 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BC D0 BE D0 BB 20 4C 41 43 4D 49 20 D0 91 D0 BB D0 B5 D0 BA 2C D0 92 D0 B0 D0 B9 D1 82 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB D1 8C 2C 20 D0 BF D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 [19:38:37]Write to MH i2c: E2 02 01 71 0F 80 0D 02 02 FA 00 03 00 BA 01 1E 04 01 00 01 23 04 88 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 33 32 31 38 06 04 44 00 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BC D0 BE D0 BB 20 4C 41 43 4D 49 20 D0 91 D0 BB D0 B5 D0 BA 2C D0 92 D0 B0 D0 B9 D1 82 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB D1 8C 2C 20 D0 BF D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 00 D8 [19:38:37]Write i2c OK [19:38:37]MH_I2C_Read... [19:38:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:38:37]Read from MH i2c: E2 [19:38:37]MH_I2C_Read... [19:38:37]Read from MH i2c: E2 03 00 [19:38:37]MH_I2C_Read... [19:38:37]Read from MH i2c: E2 03 00 71 0F 00 90 00 F4 [19:38:37]RAPDU: 90 00 [19:38:37]wFMCommunicate OK [19:38:37]wFMCommunicate request_size=201 [19:38:37]MH_SAM_APDU [19:38:37]CAPDU: 80 0D 02 02 C4 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 BE 66 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 29 4A 00 00 35 04 06 00 47 18 00 A8 8C 25 [19:38:37]Write to MH i2c: E2 CC 00 72 0F 80 0D 02 02 C4 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 BE 66 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 29 4A 00 00 35 04 06 00 47 18 00 A8 8C 25 00 00 07 [19:38:37]Write i2c OK [19:38:37]MH_I2C_Read... [19:38:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:38:37]Read from MH i2c: E2 [19:38:37]MH_I2C_Read... [19:38:37]Read from MH i2c: E2 03 00 [19:38:37]MH_I2C_Read... [19:38:37]Read from MH i2c: E2 03 00 72 0F 00 90 00 F5 [19:38:37]RAPDU: 90 00 [19:38:37]wFMCommunicate OK [19:38:37]wFMCommunicate request_size=4 [19:38:37]MH_SAM_APDU [19:38:37]CAPDU: 80 0D 03 02 [19:38:37]Write to MH i2c: E2 08 00 73 0F 80 0D 03 02 00 00 00 00 FD [19:38:37]Write i2c OK [19:38:37]MH_I2C_Read... [19:38:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:38:37]Read from MH i2c: E2 [19:38:37]MH_I2C_Read... [19:38:37]Read from MH i2c: E2 0B 00 [19:38:37]MH_I2C_Read... [19:38:37]Read from MH i2c: E2 0B 00 73 0F 00 66 86 B5 90 F9 4F F6 EF 90 00 5C [19:38:37]RAPDU: 66 86 B5 90 F9 4F F6 EF 90 00 [19:38:37]wFMCommunicate OK [19:38:37]SAM_PROTO_SignData done [19:38:37]FM_MakeSignedData done [19:38:37]CreateOFDProtocolMessage [19:38:37]wFMCommunicate request_size=4 [19:38:37]MH_SAM_APDU [19:38:37]CAPDU: 80 11 00 00 [19:38:37]Write to MH i2c: E2 08 00 74 0F 80 11 00 00 00 00 00 00 FD [19:38:37]Write i2c OK [19:38:37]MH_I2C_Read... [19:38:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:38:37]Read from MH i2c: E2 [19:38:37]MH_I2C_Read... [19:38:37]Read from MH i2c: E2 17 00 [19:38:37]MH_I2C_Read... [19:38:37]Read from MH i2c: E2 17 00 74 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 56 [19:38:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:38:37]wFMCommunicate OK [19:38:37]CreateOFDProtocolMessage done [19:38:37]OFDSenderStorePacket 18985 [19:38:37]StoreOFDPacket docnum=18985 [19:38:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 CE 01 00 00 6D 9B C6 01 4B B2 5A 03 01 00 03 00 BA 01 1E 04 01 00 01 23 04 88 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 33 32 31 38 06 04 44 00 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BC D0 BE D0 BB 20 4C 41 43 4D 49 20 D0 91 D0 BB D0 B5 D0 BA 2C D0 92 D0 B0 D0 B9 D1 82 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB D1 8C 2C 20 D0 BF D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 BE 66 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 29 4A 00 00 35 04 06 00 47 18 00 A8 8C 25 66 86 B5 90 F9 4F F6 EF [19:38:37]CheckFolder [19:38:37]dirname=/storage/ofd_packets [19:38:37]CheckFolder done [19:38:37]ProducePacketName [19:38:37]name=ofd_packets/00018985 [19:38:37]NVStorageSaveData ofd_packets/00018985 [19:38:37]File name is /storage/ofd_packets/00018985 [19:38:37]Write 492 bytes [19:38:37]NVStorageSaveData done [19:38:38]OFDSenderStorePacket done [19:38:38]KKMCreateOFDPacket done [19:38:38]NVStorageSaveData kkm_last_timestamp [19:38:38]File name is /storage/kkm_last_timestamp [19:38:38]Write 4 bytes [19:38:38]NVStorageSaveData done [19:38:38]ExternCall_PrintAddStr [19:38:38]wPrintStart [19:38:38]Write to MH i2c: 01 00 00 75 0F 84 [19:38:38]OFD Sender: Processing packet 18985 [packets to send 7, broken 6] [19:38:38]ProducePacketName [19:38:38]name=ofd_packets/00018985 [19:38:38]Write i2c OK [19:38:38]MH_I2C_Read... [19:38:38]Read from MH i2c: 01 [19:38:38]MH_I2C_Read... [19:38:38]OFD Sender: To server: pG, [19:38:38]CommunicateWithHost lk.salyk.kg:30040 [19:38:38]ConnectInit lk.salyk.kg [19:38:38]Read from MH i2c: 01 07 00 [19:38:38]MH_I2C_Read... [19:38:38]Read from MH i2c: 01 07 00 75 0F 00 00 00 00 00 FF 0F 99 [19:38:38]RasterBufferAndPrint [19:38:38]line Счет N : (3)16905 [19:38:38]line ИНН: 02508201610067 [19:38:38]line Контрольно-Кассовый Чек [19:38:38]line ПРОДАЖА [19:38:38]line Товар: 4823077633218 [19:38:38]line Шоколад мол LACMI Блек,Вайт карамель, пе [19:38:38]line 1.000 * 130.00 [19:38:38]line = 130.00 [19:38:38]line НДС 12% НСП 1% [19:38:38]line > о реализуемом товаре [19:38:38]line Товар: 4870001571030 [19:38:38]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [19:38:38]line 1.000 * 70.00 [19:38:38]line = 70.00 [19:38:38]line НДС 12% НСП 1% [19:38:38]line > о реализуемом товаре [19:38:38]line ИТОГО: 200.00 [19:38:38]line НСП 1% : 1.77 [19:38:38]line НДС 12% : 21.23 [19:38:38]line Наличными: 200.00 [19:38:38]line Безнал.: 0.00 [19:38:38]line Место: АЗС № 176 "Партнер Нефть" [19:38:38]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [19:38:38]line СНО: Общий режим [19:38:38]line Чек 63 25.09.2024 19:38 [19:38:38]line Смена: 183 ФФД: 1.0 [19:38:38]line ЗНМ: 0300000010 [19:38:38]line РНМ: 0000000000152968 [19:38:38]line Версия ККМ: v1.0 [19:38:38]line ФМ: 0000000000959456 [19:38:38]line ФД: 18985 [19:38:38]line ФПД: 78168415833125 [19:38:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T193838&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18985&fm=78168415833125&tin=02508201610067®Number=0000000000152968&sum=20000 [19:38:38]line 0 [19:38:38]written 0, free lines is 4095 [19:38:38]Connected sock=10 [19:38:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 CE 01 00 00 6D 9B C6 01 4B B2 5A 03 01 00 03 00 BA 01 1E 04 01 00 01 23 04 88 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 33 32 31 38 06 04 44 00 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BC D0 BE D0 BB 20 4C 41 43 4D 49 20 D0 91 D0 BB D0 B5 D0 BA 2C D0 92 D0 B0 D0 B9 D1 82 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB D1 8C 2C 20 D0 BF D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 BE 66 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 29 4A 00 00 35 04 06 00 47 18 00 A8 8C 25 66 86 B5 90 F9 4F F6 EF [19:38:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 2C 65 47 00 A9 D3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 29 4A 00 00 F4 03 04 00 1B 10 F4 66 B6 04 01 00 00 BC FB FF 52 F0 6A DA 12 [19:38:38]CommunicateWithHost err = 0 [19:38:38]CheckOFDResponse [19:38:38]1017 (14) - 77093643461234 [19:38:38]1041 (16) - 0000000000959456 [19:38:38]1040 (4) - 18985 [19:38:38]1012 (4) - 25.09.2024 13:28 [19:38:38]1206 (1) - 0 [19:38:38]OFD Sender: Remove packet 18985 [19:38:38]ProducePacketName [19:38:38]name=ofd_packets/00018985 [19:38:38]NVStorageDeleteData [19:38:38]Write to MH i2c: 01 00 00 A5 0F B4 [19:38:38]Write i2c OK [19:38:38]MH_I2C_Read... [19:38:38]Read from MH i2c: 01 [19:38:38]MH_I2C_Read... [19:38:38]Read from MH i2c: 01 07 00 [19:38:38]MH_I2C_Read... [19:38:38]Read from MH i2c: 01 07 00 A5 0F 00 00 00 00 00 CC 0C 93 [19:38:38]RasterBufferAndPrint [19:38:38]line [19:38:38]line [19:38:38]line [19:38:38]line [19:38:38]line [19:38:38]written 0, free lines is 3285 [19:38:38]MH_Cut [19:38:38]Write to MH i2c: D1 01 00 AC 0F 01 8D [19:38:38]Write i2c OK [19:38:38]MH_I2C_Read... [19:38:38]Read from MH i2c: D1 [19:38:38]MH_I2C_Read... [19:38:38]Read from MH i2c: D1 01 00 [19:38:38]MH_I2C_Read... [19:38:38]Read from MH i2c: D1 01 00 AC 0F 00 8C [19:38:38]Write to MH i2c: 01 00 00 AD 0F BC [19:38:38]Write i2c OK [19:38:38]MH_I2C_Read... [19:38:39]OFD Sender: No OFD packet to send [19:38:39]*** Cut start [19:38:39]*** Partial cut [19:38:39]*** CUTSNS_PIN = 1 [19:38:39]*** CUTSNS_PIN = 0 [19:38:39]*** Brake cut motor [19:38:40]Read from MH i2c: 01 [19:38:40]MH_I2C_Read... [19:38:40]*** Stop cut motor [19:38:40]*** Cut end [19:38:40]Read from MH i2c: 01 07 00 [19:38:40]MH_I2C_Read... [19:38:40]Read from MH i2c: 01 07 00 AD 0F 00 00 00 00 00 FF 0F D1 [19:38:40]process_action close_receipt done [19:38:40]requested_data is exist [19:38:40]produce_requested_data [19:38:40]requested_item fm.sn is exist - process it [19:38:40]wFMCommunicate request_size=4 [19:38:40]MH_SAM_APDU [19:38:40]CAPDU: 80 11 00 00 [19:38:40]Write to MH i2c: E2 08 00 AE 0F 80 11 00 00 00 00 00 00 37 [19:38:40]Write i2c OK [19:38:40]MH_I2C_Read... [19:38:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:38:40]Read from MH i2c: E2 [19:38:40]MH_I2C_Read... [19:38:40]Read from MH i2c: E2 17 00 [19:38:40]MH_I2C_Read... [19:38:40]Read from MH i2c: E2 17 00 AE 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 90 [19:38:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:38:40]wFMCommunicate OK [19:38:40]requested_item fd.num is exist - process it [19:38:40]SAM_PROTO_GetFieldsCounters [19:38:40]wFMCommunicate request_size=4 [19:38:40]MH_SAM_APDU [19:38:40]CAPDU: 80 13 00 00 [19:38:40]Write to MH i2c: E2 08 00 AF 0F 80 13 00 00 00 00 00 00 3A [19:38:40]Write i2c OK [19:38:40]MH_I2C_Read... [19:38:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:38:40]Read from MH i2c: E2 [19:38:40]MH_I2C_Read... [19:38:40]Read from MH i2c: E2 62 00 [19:38:40]MH_I2C_Read... [19:38:40]Read from MH i2c: E2 62 00 AF 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 29 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 4E [19:38:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 29 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:38:40]wFMCommunicate OK [19:38:40]SAM_PROTO_GetFieldsCounters done [19:38:40]requested_item shift.num is exist - process it [19:38:40]requested_item shift.opened is exist - process it [19:38:40]req_shift_opened [19:38:40]FM_GetShiftState [19:38:40]SAM_PROTO_GetShiftState [19:38:40]wFMCommunicate request_size=4 [19:38:40]MH_SAM_APDU [19:38:40]CAPDU: 80 13 01 00 [19:38:40]Write to MH i2c: E2 08 00 B0 0F 80 13 01 00 00 00 00 00 3C [19:38:40]Write i2c OK [19:38:40]MH_I2C_Read... [19:38:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:38:40]Read from MH i2c: E2 [19:38:40]MH_I2C_Read... [19:38:40]Read from MH i2c: E2 0E 00 [19:38:40]MH_I2C_Read... [19:38:40]Read from MH i2c: E2 0E 00 B0 0F 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 29 [19:38:40]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [19:38:40]wFMCommunicate OK [19:38:40]SAM_PROTO_GetShiftState done [19:38:40]FM_GetShiftState done [19:38:40]req_shift_opened done [19:38:40]requested_item shift.open_date is exist - process it [19:38:40]req_shift_open_date [19:38:40]req_shift_open_date done [19:38:40]produce_requested_data done [19:38:40]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18985,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [19:38:40]process_action_free close_receipt [19:38:40]json_value_free [19:38:40]json_value_free done [19:38:40]process_json_proto returns [19:38:40]Send response to host [19:38:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18985,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [19:38:40]free response buf [19:38:40]execute_script done [19:38:40]execute_script returns [19:38:40]free content buf [19:38:40]Sock 9.Close socket [19:38:40]Sock 9.Thread stoped [19:38:44]OFD Sender: No OFD packet to send [19:38:49]OFD Sender: No OFD packet to send [19:38:54]OFD Sender: No OFD packet to send [19:38:59]OFD Sender: No OFD packet to send [19:39:04]OFD Sender: No OFD packet to send [19:39:09]OFD Sender: No OFD packet to send [19:39:14]OFD Sender: No OFD packet to send [19:39:14]accept exits with 8 [19:39:14]New connection [19:39:14]New thread 3066621284 created [19:39:14]Thread 3066764644 joined [19:39:14]Waiting for new connection... [19:39:14] Sock 8.Parse request [19:39:14]Sock 8.Check first char [19:39:14]Sock 8.First char is OK [19:39:14]request: POST /json_proto HTTP/1.0 [19:39:14]Method: POST [19:39:14]URL: /json_proto [19:39:14]Method is POST - this is cgi request [19:39:14]url: /json_proto [19:39:14]query_string will be loaded in cgi processing [19:39:14]execute_cgi json_proto POST (null) [19:39:14]execute_cgi path=json_proto method=POST [19:39:14]POST find Content-Length [19:39:14]Host: 172.17.62.196:8080 [19:39:14]Content-Length: 891 [19:39:14]Content-Type: application/json [19:39:14] [19:39:14]POST finish read [19:39:14]Found Content-Length = 891 [19:39:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16906", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 221.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:39:14]execute_script... [19:39:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16906", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 221.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:39:14]POST & json_proto [19:39:14]process_json_proto [19:39:14]json parsed OK: [19:39:14]protocol is kg_v1.0 [19:39:14]action value=close_receipt [19:39:14]process_action close_receipt [19:39:14]cmd_close_receipt [19:39:14]MH_GetDate [19:39:14]Write to MH i2c: F0 00 00 B1 0F AF [19:39:14]Write i2c OK [19:39:14]MH_I2C_Read... [19:39:14]Read from MH i2c: F0 [19:39:14]MH_I2C_Read... [19:39:14]Read from MH i2c: F0 09 00 [19:39:14]MH_I2C_Read... [19:39:14]Read from MH i2c: F0 09 00 B1 0F 00 E5 66 F4 66 CE CC 0E 66 6B [19:39:14]GetLastDocTimeStamp 1727293118 [19:39:14]current date 1727293157 [19:39:14]FM_GetShiftState [19:39:14]SAM_PROTO_GetShiftState [19:39:14]wFMCommunicate request_size=4 [19:39:14]MH_SAM_APDU [19:39:14]CAPDU: 80 13 01 00 [19:39:14]Write to MH i2c: E2 08 00 B2 0F 80 13 01 00 00 00 00 00 3E [19:39:14]Write i2c OK [19:39:14]MH_I2C_Read... [19:39:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:39:14]Read from MH i2c: E2 [19:39:14]MH_I2C_Read... [19:39:14]Read from MH i2c: E2 0E 00 [19:39:14]MH_I2C_Read... [19:39:14]Read from MH i2c: E2 0E 00 B2 0F 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 2B [19:39:14]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [19:39:14]wFMCommunicate OK [19:39:14]SAM_PROTO_GetShiftState done [19:39:14]FM_GetShiftState done [19:39:14]opened in 1727223091 [19:39:14]opened+sec_in_day 1727309491 [19:39:14]quantity*price = 7700 [19:39:14]sum+1 = 7701 [19:39:14]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 221.00 НСП 1% : 1.95 НДС 12% : 23.47 Наличными: 221.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 64 25.09.2024 19:39 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18986 ФПД: 21480612672626 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T193917&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18986&fm=21480612672626&tin=02508201610067®Number=0000000000152968&sum=22100 0 [19:39:16]StoreToDocumentArchive [19:39:16]shift 183 fd 18986 [19:39:16]save to /storage/0183/doc_00018986 [19:39:16]save last doc name /storage/0183/doc_00018986 to /storage/kkm_last_doc_name [19:39:16]save OK [19:39:16]Clear old archive folders... [19:39:16]ProcessDocumentItem done err = 0, tmpTLVsize=396 [19:39:16]tlvbuf is 015FF500 [19:39:16]SAM_PROTO_ClearQueue [19:39:16]wFMCommunicate request_size=4 [19:39:16]MH_SAM_APDU [19:39:16]CAPDU: 80 09 00 00 [19:39:16]Write to MH i2c: E2 08 00 BF 0F 80 09 00 00 00 00 00 00 40 [19:39:16]Write i2c OK [19:39:16]MH_I2C_Read... [19:39:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:39:16]Read from MH i2c: E2 [19:39:16]MH_I2C_Read... [19:39:16]Read from MH i2c: E2 03 00 [19:39:16]MH_I2C_Read... [19:39:16]Read from MH i2c: E2 03 00 BF 0F 00 90 00 42 [19:39:16]RAPDU: 90 00 [19:39:16]wFMCommunicate OK [19:39:16]SAM_PROTO_ClearQueue done [19:39:16]KKMCreateOFDPacket [19:39:16]OFDProtocolAddRootSTLVToBuf [19:39:16]FM_MakeSignedData [19:39:16]FM_MakeSignedData [19:39:16]SAM_PROTO_SignData [19:39:16]wFMCommunicate request_size=4 [19:39:16]MH_SAM_APDU [19:39:16]CAPDU: 80 0D 01 02 [19:39:16]Write to MH i2c: E2 08 00 C0 0F 80 0D 01 02 00 00 00 00 48 [19:39:16]Write i2c OK [19:39:16]MH_I2C_Read... [19:39:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:39:16]Read from MH i2c: E2 [19:39:16]MH_I2C_Read... [19:39:16]Read from MH i2c: E2 03 00 [19:39:16]MH_I2C_Read... [19:39:16]Read from MH i2c: E2 03 00 C0 0F 00 90 00 43 [19:39:16]RAPDU: 90 00 [19:39:16]wFMCommunicate OK [19:39:16]wFMCommunicate request_size=255 [19:39:16]MH_SAM_APDU [19:39:16]CAPDU: 80 0D 02 02 FA 03 00 8C 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 56 00 00 00 00 EB 03 26 00 EF [19:39:16]Write to MH i2c: E2 02 01 C1 0F 80 0D 02 02 FA 00 03 00 8C 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 56 00 00 00 00 EB 03 26 00 EF 00 00 EE [19:39:16]Write i2c OK [19:39:16]MH_I2C_Read... [19:39:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:39:16]Read from MH i2c: E2 [19:39:16]MH_I2C_Read... [19:39:16]Read from MH i2c: E2 03 00 [19:39:16]MH_I2C_Read... [19:39:16]Read from MH i2c: E2 03 00 C1 0F 00 90 00 44 [19:39:16]RAPDU: 90 00 [19:39:16]wFMCommunicate OK [19:39:16]wFMCommunicate request_size=155 [19:39:16]MH_SAM_APDU [19:39:16]CAPDU: 80 0D 02 02 96 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2B 09 00 00 00 00 07 04 06 00 54 56 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 E5 66 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2A 4A 00 00 35 04 06 00 13 89 58 49 B4 72 [19:39:16]Write to MH i2c: E2 9E 00 C2 0F 80 0D 02 02 96 00 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2B 09 00 00 00 00 07 04 06 00 54 56 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 E5 66 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2A 4A 00 00 35 04 06 00 13 89 58 49 B4 72 00 00 D1 [19:39:16]Write i2c OK [19:39:16]MH_I2C_Read... [19:39:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:39:16]Read from MH i2c: E2 [19:39:16]MH_I2C_Read... [19:39:16]Read from MH i2c: E2 03 00 [19:39:16]MH_I2C_Read... [19:39:16]Read from MH i2c: E2 03 00 C2 0F 00 90 00 45 [19:39:16]RAPDU: 90 00 [19:39:16]wFMCommunicate OK [19:39:16]wFMCommunicate request_size=4 [19:39:16]MH_SAM_APDU [19:39:16]CAPDU: 80 0D 03 02 [19:39:16]Write to MH i2c: E2 08 00 C3 0F 80 0D 03 02 00 00 00 00 4D [19:39:16]Write i2c OK [19:39:16]MH_I2C_Read... [19:39:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:39:16]Read from MH i2c: E2 [19:39:16]MH_I2C_Read... [19:39:16]Read from MH i2c: E2 0B 00 [19:39:16]MH_I2C_Read... [19:39:16]Read from MH i2c: E2 0B 00 C3 0F 00 64 70 DF 24 8D 4D B2 17 90 00 C8 [19:39:16]RAPDU: 64 70 DF 24 8D 4D B2 17 90 00 [19:39:16]wFMCommunicate OK [19:39:16]SAM_PROTO_SignData done [19:39:16]FM_MakeSignedData done [19:39:16]CreateOFDProtocolMessage [19:39:16]wFMCommunicate request_size=4 [19:39:16]MH_SAM_APDU [19:39:16]CAPDU: 80 11 00 00 [19:39:16]Write to MH i2c: E2 08 00 C4 0F 80 11 00 00 00 00 00 00 4D [19:39:16]Write i2c OK [19:39:16]MH_I2C_Read... [19:39:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:39:16]Read from MH i2c: E2 [19:39:16]MH_I2C_Read... [19:39:16]Read from MH i2c: E2 17 00 [19:39:16]MH_I2C_Read... [19:39:16]Read from MH i2c: E2 17 00 C4 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 A6 [19:39:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:39:16]wFMCommunicate OK [19:39:16]CreateOFDProtocolMessage done [19:39:16]OFDSenderStorePacket 18986 [19:39:16]StoreOFDPacket docnum=18986 [19:39:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 A0 01 00 00 AD C5 98 01 C2 4F 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 56 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2B 09 00 00 00 00 07 04 06 00 54 56 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 E5 66 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2A 4A 00 00 35 04 06 00 13 89 58 49 B4 72 64 70 DF 24 8D 4D B2 17 [19:39:16]CheckFolder [19:39:16]dirname=/storage/ofd_packets [19:39:16]CheckFolder done [19:39:16]ProducePacketName [19:39:16]name=ofd_packets/00018986 [19:39:16]NVStorageSaveData ofd_packets/00018986 [19:39:16]File name is /storage/ofd_packets/00018986 [19:39:16]Write 446 bytes [19:39:16]NVStorageSaveData done [19:39:16]OFDSenderStorePacket done [19:39:16]KKMCreateOFDPacket done [19:39:16]NVStorageSaveData kkm_last_timestamp [19:39:16]File name is /storage/kkm_last_timestamp [19:39:16]Write 4 bytes [19:39:16]NVStorageSaveData done [19:39:16]ExternCall_PrintAddStr [19:39:16]wPrintStart [19:39:16]Write to MH i2c: 01 00 00 C5 0F D4 [19:39:16]Write i2c OK [19:39:16]MH_I2C_Read... [19:39:16]Read from MH i2c: 01 [19:39:16]MH_I2C_Read... [19:39:16]Read from MH i2c: 01 07 00 [19:39:16]MH_I2C_Read... [19:39:16]Read from MH i2c: 01 07 00 C5 0F 00 00 00 00 00 FF 0F E9 [19:39:16]RasterBufferAndPrint [19:39:16]line Счет N : (3)16906 [19:39:16]line ИНН: 02508201610067 [19:39:17]line Контрольно-Кассовый Чек [19:39:17]line ПРОДАЖА [19:39:17]line Товар: 4700000480050 [19:39:17]line Напиток Nitro Energy эн green ж/б 0,45л [19:39:17]line 1.000 * 77.00 [19:39:17]line = 77.00 [19:39:17]line НДС 12% НСП 1% [19:39:17]line > о реализуемом товаре [19:39:17]line Товар: 48743570 [19:39:17]line Сигареты Winston XStyle Blue [19:39:17]line 1.000 * 144.00 [19:39:17]line = 144.00 [19:39:17]line НДС 12% НСП 1% [19:39:17]line > о реализуемом товаре [19:39:17]line ИТОГО: 221.00 [19:39:17]line НСП 1% : 1.95 [19:39:17]line НДС 12% : 23.47 [19:39:17]line Наличными: 221.00 [19:39:17]line Безнал.: 0.00 [19:39:17]line Место: АЗС № 176 "Партнер Нефть" [19:39:17]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [19:39:17]line СНО: Общий режим [19:39:17]line Чек 64 25.09.2024 19:39 [19:39:17]line Смена: 183 ФФД: 1.0 [19:39:17]line ЗНМ: 0300000010 [19:39:17]line РНМ: 0000000000152968 [19:39:17]line Версия ККМ: v1.0 [19:39:17]line ФМ: 0000000000959456 [19:39:17]line ФД: 18986 [19:39:17]line ФПД: 21480612672626 [19:39:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T193917&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18986&fm=21480612672626&tin=02508201610067®Number=0000000000152968&sum=22100 [19:39:17]line 0 [19:39:17]OFD Sender: Processing packet 18986 [packets to send 7, broken 6] [19:39:17]ProducePacketName [19:39:17]name=ofd_packets/00018986 [19:39:17]OFD Sender: To server: pG, [19:39:17]CommunicateWithHost lk.salyk.kg:30040 [19:39:17]ConnectInit lk.salyk.kg [19:39:17]written 0, free lines is 4095 [19:39:17]Connected sock=10 [19:39:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 A0 01 00 00 AD C5 98 01 C2 4F 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 56 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2B 09 00 00 00 00 07 04 06 00 54 56 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 E5 66 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2A 4A 00 00 35 04 06 00 13 89 58 49 B4 72 64 70 DF 24 8D 4D B2 17 [19:39:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 00 7C 47 00 91 D8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2A 4A 00 00 F4 03 04 00 42 10 F4 66 B6 04 01 00 00 FD 3E C9 12 E1 61 3C 64 [19:39:17]CommunicateWithHost err = 0 [19:39:17]CheckOFDResponse [19:39:17]1017 (14) - 77093643461234 [19:39:17]1041 (16) - 0000000000959456 [19:39:17]1040 (4) - 18986 [19:39:17]1012 (4) - 25.09.2024 13:29 [19:39:17]1206 (1) - 0 [19:39:17]OFD Sender: Remove packet 18986 [19:39:17]ProducePacketName [19:39:17]name=ofd_packets/00018986 [19:39:17]NVStorageDeleteData [19:39:17]Write to MH i2c: 01 00 00 F4 0F 03 [19:39:17]Write i2c OK [19:39:17]MH_I2C_Read... [19:39:17]Read from MH i2c: 01 [19:39:17]MH_I2C_Read... [19:39:17]Read from MH i2c: 01 07 00 [19:39:17]MH_I2C_Read... [19:39:17]Read from MH i2c: 01 07 00 F4 0F 00 00 00 00 00 B0 0C C6 [19:39:17]RasterBufferAndPrint [19:39:17]line [19:39:17]line [19:39:17]line [19:39:17]line [19:39:17]line [19:39:17]written 0, free lines is 3257 [19:39:17]MH_Cut [19:39:17]Write to MH i2c: D1 01 00 FB 0F 01 DC [19:39:17]Write i2c OK [19:39:17]MH_I2C_Read... [19:39:17]Read from MH i2c: D1 [19:39:17]MH_I2C_Read... [19:39:17]Read from MH i2c: D1 01 00 [19:39:17]MH_I2C_Read... [19:39:17]Read from MH i2c: D1 01 00 FB 0F 00 DB [19:39:17]Write to MH i2c: 01 00 00 FC 0F 0B [19:39:17]Write i2c OK [19:39:17]MH_I2C_Read... [19:39:18]OFD Sender: No OFD packet to send [19:39:18]*** Cut start [19:39:18]*** Partial cut [19:39:18]*** CUTSNS_PIN = 1 [19:39:18]*** CUTSNS_PIN = 0 [19:39:18]*** Brake cut motor [19:39:18]Read from MH i2c: 01 [19:39:18]MH_I2C_Read... [19:39:18]*** Stop cut motor [19:39:18]*** Cut end [19:39:18]Read from MH i2c: 01 07 00 [19:39:18]MH_I2C_Read... [19:39:18]Read from MH i2c: 01 07 00 FC 0F 00 00 00 00 00 FF 0F 20 [19:39:18]process_action close_receipt done [19:39:18]requested_data is exist [19:39:18]produce_requested_data [19:39:18]requested_item fm.sn is exist - process it [19:39:18]wFMCommunicate request_size=4 [19:39:18]MH_SAM_APDU [19:39:18]CAPDU: 80 11 00 00 [19:39:18]Write to MH i2c: E2 08 00 FD 0F 80 11 00 00 00 00 00 00 86 [19:39:18]Write i2c OK [19:39:18]MH_I2C_Read... [19:39:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:39:18]Read from MH i2c: E2 [19:39:18]MH_I2C_Read... [19:39:18]Read from MH i2c: E2 17 00 [19:39:18]MH_I2C_Read... [19:39:18]Read from MH i2c: E2 17 00 FD 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 DF [19:39:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:39:18]wFMCommunicate OK [19:39:18]requested_item fd.num is exist - process it [19:39:18]SAM_PROTO_GetFieldsCounters [19:39:18]wFMCommunicate request_size=4 [19:39:18]MH_SAM_APDU [19:39:18]CAPDU: 80 13 00 00 [19:39:18]Write to MH i2c: E2 08 00 FE 0F 80 13 00 00 00 00 00 00 89 [19:39:18]Write i2c OK [19:39:18]MH_I2C_Read... [19:39:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:39:19]Read from MH i2c: E2 [19:39:19]MH_I2C_Read... [19:39:19]Read from MH i2c: E2 62 00 [19:39:19]MH_I2C_Read... [19:39:19]Read from MH i2c: E2 62 00 FE 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 2A 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 A1 [19:39:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 2A 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:39:19]wFMCommunicate OK [19:39:19]SAM_PROTO_GetFieldsCounters done [19:39:19]requested_item shift.num is exist - process it [19:39:19]requested_item shift.opened is exist - process it [19:39:19]req_shift_opened [19:39:19]FM_GetShiftState [19:39:19]SAM_PROTO_GetShiftState [19:39:19]wFMCommunicate request_size=4 [19:39:19]MH_SAM_APDU [19:39:19]CAPDU: 80 13 01 00 [19:39:19]Write to MH i2c: E2 08 00 FF 0F 80 13 01 00 00 00 00 00 8B [19:39:19]Write i2c OK [19:39:19]MH_I2C_Read... [19:39:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:39:19]Read from MH i2c: E2 [19:39:19]MH_I2C_Read... [19:39:19]Read from MH i2c: E2 0E 00 [19:39:19]MH_I2C_Read... [19:39:19]Read from MH i2c: E2 0E 00 FF 0F 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 78 [19:39:19]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [19:39:19]wFMCommunicate OK [19:39:19]SAM_PROTO_GetShiftState done [19:39:19]FM_GetShiftState done [19:39:19]req_shift_opened done [19:39:19]requested_item shift.open_date is exist - process it [19:39:19]req_shift_open_date [19:39:19]req_shift_open_date done [19:39:19]produce_requested_data done [19:39:19]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18986,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [19:39:19]process_action_free close_receipt [19:39:19]json_value_free [19:39:19]json_value_free done [19:39:19]process_json_proto returns [19:39:19]Send response to host [19:39:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18986,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [19:39:19]free response buf [19:39:19]execute_script done [19:39:19]execute_script returns [19:39:19]free content buf [19:39:19]Sock 8.Close socket [19:39:19]Sock 8.Thread stoped [19:39:23]OFD Sender: No OFD packet to send [19:39:28]OFD Sender: No OFD packet to send [19:39:33]OFD Sender: No OFD packet to send [19:39:38]OFD Sender: No OFD packet to send [19:39:43]OFD Sender: No OFD packet to send [19:39:48]OFD Sender: No OFD packet to send [19:39:53]OFD Sender: No OFD packet to send [19:39:58]OFD Sender: No OFD packet to send [19:40:03]OFD Sender: No OFD packet to send [19:40:08]OFD Sender: No OFD packet to send [19:40:13]OFD Sender: No OFD packet to send [19:40:18]OFD Sender: No OFD packet to send [19:40:23]OFD Sender: No OFD packet to send [19:40:28]OFD Sender: No OFD packet to send [19:40:33]OFD Sender: No OFD packet to send [19:40:38]OFD Sender: No OFD packet to send [19:40:43]OFD Sender: No OFD packet to send [19:40:48]OFD Sender: No OFD packet to send [19:40:53]OFD Sender: No OFD packet to send [19:40:58]OFD Sender: No OFD packet to send [19:41:03]OFD Sender: No OFD packet to send [19:41:08]OFD Sender: No OFD packet to send [19:41:13]OFD Sender: No OFD packet to send [19:41:18]OFD Sender: No OFD packet to send [19:41:23]OFD Sender: No OFD packet to send [19:41:28]OFD Sender: No OFD packet to send [19:41:33]OFD Sender: No OFD packet to send [19:41:38]OFD Sender: No OFD packet to send [19:41:43]OFD Sender: No OFD packet to send [19:41:48]OFD Sender: No OFD packet to send [19:41:53]OFD Sender: No OFD packet to send [19:41:58]OFD Sender: No OFD packet to send [19:42:03]OFD Sender: No OFD packet to send [19:42:08]OFD Sender: No OFD packet to send [19:42:13]OFD Sender: No OFD packet to send [19:42:18]OFD Sender: No OFD packet to send [19:42:23]OFD Sender: No OFD packet to send [19:42:28]OFD Sender: No OFD packet to send [19:42:33]OFD Sender: No OFD packet to send [19:42:38]OFD Sender: No OFD packet to send [19:42:43]OFD Sender: No OFD packet to send [19:42:48]OFD Sender: No OFD packet to send [19:42:53]OFD Sender: No OFD packet to send [19:42:58]OFD Sender: No OFD packet to send [19:43:03]OFD Sender: No OFD packet to send [19:43:08]OFD Sender: No OFD packet to send [19:43:13]OFD Sender: No OFD packet to send [19:43:18]OFD Sender: No OFD packet to send [19:43:23]OFD Sender: No OFD packet to send [19:43:28]OFD Sender: No OFD packet to send [19:43:33]OFD Sender: No OFD packet to send [19:43:38]OFD Sender: No OFD packet to send [19:43:43]OFD Sender: No OFD packet to send [19:43:48]OFD Sender: No OFD packet to send [19:43:53]OFD Sender: No OFD packet to send [19:43:58]OFD Sender: No OFD packet to send [19:44:03]OFD Sender: No OFD packet to send [19:44:08]OFD Sender: No OFD packet to send [19:44:13]OFD Sender: No OFD packet to send [19:44:18]OFD Sender: No OFD packet to send [19:44:23]OFD Sender: No OFD packet to send [19:44:28]OFD Sender: No OFD packet to send [19:44:33]OFD Sender: No OFD packet to send [19:44:38]OFD Sender: No OFD packet to send [19:44:43]OFD Sender: No OFD packet to send [19:44:48]OFD Sender: No OFD packet to send [19:44:53]OFD Sender: No OFD packet to send [19:44:58]OFD Sender: No OFD packet to send [19:45:03]OFD Sender: No OFD packet to send [19:45:08]OFD Sender: No OFD packet to send [19:45:13]OFD Sender: No OFD packet to send [19:45:18]OFD Sender: No OFD packet to send [19:45:23]OFD Sender: No OFD packet to send [19:45:28]OFD Sender: No OFD packet to send [19:45:33]OFD Sender: No OFD packet to send [19:45:38]OFD Sender: No OFD packet to send [19:45:43]OFD Sender: No OFD packet to send [19:45:48]OFD Sender: No OFD packet to send [19:45:53]OFD Sender: No OFD packet to send [19:45:58]OFD Sender: No OFD packet to send [19:46:03]OFD Sender: No OFD packet to send [19:46:08]OFD Sender: No OFD packet to send [19:46:13]OFD Sender: No OFD packet to send [19:46:18]OFD Sender: No OFD packet to send [19:46:23]OFD Sender: No OFD packet to send [19:46:28]OFD Sender: No OFD packet to send [19:46:33]OFD Sender: No OFD packet to send [19:46:38]OFD Sender: No OFD packet to send [19:46:43]OFD Sender: No OFD packet to send [19:46:48]OFD Sender: No OFD packet to send [19:46:53]OFD Sender: No OFD packet to send [19:46:58]OFD Sender: No OFD packet to send [19:47:03]OFD Sender: No OFD packet to send [19:47:08]OFD Sender: No OFD packet to send [19:47:13]OFD Sender: No OFD packet to send [19:47:18]OFD Sender: No OFD packet to send [19:47:23]OFD Sender: No OFD packet to send [19:47:28]OFD Sender: No OFD packet to send [19:47:33]OFD Sender: No OFD packet to send [19:47:38]OFD Sender: No OFD packet to send [19:47:43]OFD Sender: No OFD packet to send [19:47:48]OFD Sender: No OFD packet to send [19:47:53]OFD Sender: No OFD packet to send [19:47:58]OFD Sender: No OFD packet to send [19:48:03]OFD Sender: No OFD packet to send [19:48:08]OFD Sender: No OFD packet to send [19:48:13]OFD Sender: No OFD packet to send [19:48:18]OFD Sender: No OFD packet to send [19:48:23]OFD Sender: No OFD packet to send [19:48:28]OFD Sender: No OFD packet to send [19:48:33]OFD Sender: No OFD packet to send [19:48:34]accept exits with 9 [19:48:34]New connection [19:48:34]New thread 3066764644 created [19:48:34]Thread 3066621284 joined [19:48:34]Waiting for new connection... [19:48:34] Sock 9.Parse request [19:48:34]Sock 9.Check first char [19:48:34]Sock 9.First char is OK [19:48:34]request: POST /json_proto HTTP/1.0 [19:48:34]Method: POST [19:48:34]URL: /json_proto [19:48:34]Method is POST - this is cgi request [19:48:34]url: /json_proto [19:48:34]query_string will be loaded in cgi processing [19:48:34]execute_cgi json_proto POST (null) [19:48:34]execute_cgi path=json_proto method=POST [19:48:34]POST find Content-Length [19:48:34]Host: 172.17.62.196:8080 [19:48:34]Content-Length: 867 [19:48:34]Content-Type: application/json [19:48:34] [19:48:34]POST finish read [19:48:34]Found Content-Length = 867 [19:48:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16907", "tax_sys" : 0, "items" : [ { "code": "48742344", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Super Slims Pink", "price" : 134.00, "quantity" : 2.000, "sum" : 268.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 318.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:48:34]execute_script... [19:48:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16907", "tax_sys" : 0, "items" : [ { "code": "48742344", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Super Slims Pink", "price" : 134.00, "quantity" : 2.000, "sum" : 268.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 318.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:48:34]POST & json_proto [19:48:34]process_json_proto [19:48:34]json parsed OK: [19:48:34]protocol is kg_v1.0 [19:48:34]action value=close_receipt [19:48:34]process_action close_receipt [19:48:34]cmd_close_receipt [19:48:34]MH_GetDate [19:48:34]Write to MH i2c: F0 00 00 00 10 FF [19:48:34]Write i2c OK [19:48:34]MH_I2C_Read... [19:48:34]Read from MH i2c: F0 [19:48:34]MH_I2C_Read... [19:48:34]Read from MH i2c: F0 09 00 [19:48:34]MH_I2C_Read... [19:48:34]Read from MH i2c: F0 09 00 00 10 00 14 69 F4 66 CE CC 0E 66 ED [19:48:34]GetLastDocTimeStamp 1727293157 [19:48:34]current date 1727293716 [19:48:34]FM_GetShiftState [19:48:34]SAM_PROTO_GetShiftState [19:48:34]wFMCommunicate request_size=4 [19:48:34]MH_SAM_APDU [19:48:34]CAPDU: 80 13 01 00 [19:48:34]Write to MH i2c: E2 08 00 01 10 80 13 01 00 00 00 00 00 8E [19:48:34]Write i2c OK [19:48:34]MH_I2C_Read... [19:48:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:48:34]Read from MH i2c: E2 [19:48:34]MH_I2C_Read... [19:48:34]Read from MH i2c: E2 0E 00 [19:48:34]MH_I2C_Read... [19:48:34]Read from MH i2c: E2 0E 00 01 10 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 7B [19:48:34]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [19:48:34]wFMCommunicate OK [19:48:34]SAM_PROTO_GetShiftState done [19:48:34]FM_GetShiftState done [19:48:34]opened in 1727223091 [19:48:34]opened+sec_in_day 1727309491 [19:48:34]quantity*price = 26800 [19:48:34]sum+1 = 26801 [19:48:34]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 318.00 НСП 1% : 2.81 НДС 12% : 33.77 Наличными: 318.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 65 25.09.2024 19:48 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18987 ФПД: 202502846446988 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T194837&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18987&fm=202502846446988&tin=02508201610067®Number=0000000000152968&sum=31800 0 [19:48:35]StoreToDocumentArchive [19:48:35]shift 183 fd 18987 [19:48:35]save to /storage/0183/doc_00018987 [19:48:35]save last doc name /storage/0183/doc_00018987 to /storage/kkm_last_doc_name [19:48:35]save OK [19:48:35]Clear old archive folders... [19:48:35]ProcessDocumentItem done err = 0, tmpTLVsize=372 [19:48:35]tlvbuf is 015F6F00 [19:48:35]SAM_PROTO_ClearQueue [19:48:35]wFMCommunicate request_size=4 [19:48:35]MH_SAM_APDU [19:48:35]CAPDU: 80 09 00 00 [19:48:35]Write to MH i2c: E2 08 00 0E 10 80 09 00 00 00 00 00 00 90 [19:48:35]Write i2c OK [19:48:35]MH_I2C_Read... [19:48:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:48:35]Read from MH i2c: E2 [19:48:35]MH_I2C_Read... [19:48:35]Read from MH i2c: E2 03 00 [19:48:35]MH_I2C_Read... [19:48:35]Read from MH i2c: E2 03 00 0E 10 00 90 00 92 [19:48:35]RAPDU: 90 00 [19:48:35]wFMCommunicate OK [19:48:35]SAM_PROTO_ClearQueue done [19:48:35]KKMCreateOFDPacket [19:48:35]OFDProtocolAddRootSTLVToBuf [19:48:35]FM_MakeSignedData [19:48:35]FM_MakeSignedData [19:48:35]SAM_PROTO_SignData [19:48:35]wFMCommunicate request_size=4 [19:48:35]MH_SAM_APDU [19:48:35]CAPDU: 80 0D 01 02 [19:48:35]Write to MH i2c: E2 08 00 0F 10 80 0D 01 02 00 00 00 00 98 [19:48:35]Write i2c OK [19:48:35]MH_I2C_Read... [19:48:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:48:35]Read from MH i2c: E2 [19:48:35]MH_I2C_Read... [19:48:35]Read from MH i2c: E2 03 00 [19:48:35]MH_I2C_Read... [19:48:35]Read from MH i2c: E2 03 00 0F 10 00 90 00 93 [19:48:35]RAPDU: 90 00 [19:48:35]wFMCommunicate OK [19:48:35]wFMCommunicate request_size=255 [19:48:35]MH_SAM_APDU [19:48:35]CAPDU: 80 0D 02 02 FA 03 00 74 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 7C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 01 00 00 00 00 EE 03 0F 00 F2 03 [19:48:35]Write to MH i2c: E2 02 01 10 10 80 0D 02 02 FA 00 03 00 74 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 7C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 01 00 00 00 00 EE 03 0F 00 F2 03 00 00 5A [19:48:35]Write i2c OK [19:48:35]MH_I2C_Read... [19:48:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:35]Read from MH i2c: E2 [19:48:35]MH_I2C_Read... [19:48:35]Read from MH i2c: E2 03 00 [19:48:35]MH_I2C_Read... [19:48:35]Read from MH i2c: E2 03 00 10 10 00 90 00 94 [19:48:35]RAPDU: 90 00 [19:48:35]wFMCommunicate OK [19:48:35]wFMCommunicate request_size=131 [19:48:35]MH_SAM_APDU [19:48:35]CAPDU: 80 0D 02 02 7E 01 00 01 F3 03 06 00 31 0D 00 00 00 00 07 04 06 00 38 7C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 15 69 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2B 4A 00 00 35 04 06 00 B8 2C DE 3A 7D 8C [19:48:35]Write to MH i2c: E2 86 00 11 10 80 0D 02 02 7E 00 01 00 01 F3 03 06 00 31 0D 00 00 00 00 07 04 06 00 38 7C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 15 69 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2B 4A 00 00 35 04 06 00 B8 2C DE 3A 7D 8C 00 00 17 [19:48:35]Write i2c OK [19:48:35]MH_I2C_Read... [19:48:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:48:35]Read from MH i2c: E2 [19:48:35]MH_I2C_Read... [19:48:35]Read from MH i2c: E2 03 00 [19:48:35]MH_I2C_Read... [19:48:35]Read from MH i2c: E2 03 00 11 10 00 90 00 95 [19:48:35]RAPDU: 90 00 [19:48:35]wFMCommunicate OK [19:48:35]wFMCommunicate request_size=4 [19:48:35]MH_SAM_APDU [19:48:35]CAPDU: 80 0D 03 02 [19:48:35]Write to MH i2c: E2 08 00 12 10 80 0D 03 02 00 00 00 00 9D [19:48:35]Write i2c OK [19:48:35]MH_I2C_Read... [19:48:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:48:35]Read from MH i2c: E2 [19:48:35]MH_I2C_Read... [19:48:35]Read from MH i2c: E2 0B 00 [19:48:35]MH_I2C_Read... [19:48:35]Read from MH i2c: E2 0B 00 12 10 00 A0 34 0C CD A0 4E 8E E5 90 00 AC [19:48:35]RAPDU: A0 34 0C CD A0 4E 8E E5 90 00 [19:48:35]wFMCommunicate OK [19:48:35]SAM_PROTO_SignData done [19:48:35]FM_MakeSignedData done [19:48:35]CreateOFDProtocolMessage [19:48:35]wFMCommunicate request_size=4 [19:48:35]MH_SAM_APDU [19:48:35]CAPDU: 80 11 00 00 [19:48:35]Write to MH i2c: E2 08 00 13 10 80 11 00 00 00 00 00 00 9D [19:48:35]Write i2c OK [19:48:35]MH_I2C_Read... [19:48:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:48:35]Read from MH i2c: E2 [19:48:35]MH_I2C_Read... [19:48:35]Read from MH i2c: E2 17 00 [19:48:35]MH_I2C_Read... [19:48:35]Read from MH i2c: E2 17 00 13 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 F6 [19:48:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:48:35]wFMCommunicate OK [19:48:35]CreateOFDProtocolMessage done [19:48:35]OFDSenderStorePacket 18987 [19:48:35]StoreOFDPacket docnum=18987 [19:48:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 88 01 00 00 1F 30 80 01 1D 56 5A 03 01 00 03 00 74 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 7C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 31 0D 00 00 00 00 07 04 06 00 38 7C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 15 69 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2B 4A 00 00 35 04 06 00 B8 2C DE 3A 7D 8C A0 34 0C CD A0 4E 8E E5 [19:48:35]CheckFolder [19:48:35]dirname=/storage/ofd_packets [19:48:35]CheckFolder done [19:48:35]ProducePacketName [19:48:35]name=ofd_packets/00018987 [19:48:35]NVStorageSaveData ofd_packets/00018987 [19:48:35]File name is /storage/ofd_packets/00018987 [19:48:35]Write 422 bytes [19:48:35]NVStorageSaveData done [19:48:35]OFDSenderStorePacket done [19:48:35]KKMCreateOFDPacket done [19:48:35]NVStorageSaveData kkm_last_timestamp [19:48:35]File name is /storage/kkm_last_timestamp [19:48:35]Write 4 bytes [19:48:35]NVStorageSaveData done [19:48:35]ExternCall_PrintAddStr [19:48:35]wPrintStart [19:48:35]Write to MH i2c: 01 00 00 14 10 24 [19:48:35]Write i2c OK [19:48:35]MH_I2C_Read... [19:48:35]Read from MH i2c: 01 [19:48:35]MH_I2C_Read... [19:48:35]Read from MH i2c: 01 07 00 [19:48:35]MH_I2C_Read... [19:48:35]Read from MH i2c: 01 07 00 14 10 00 00 00 00 00 FF 0F 39 [19:48:35]RasterBufferAndPrint [19:48:35]line Счет N : (3)16907 [19:48:35]line ИНН: 02508201610067 [19:48:35]line Контрольно-Кассовый Чек [19:48:35]line ПРОДАЖА [19:48:35]line Товар: 48742344 [19:48:35]line Сигареты LD Super Slims Pink [19:48:36]line 2.000 * 134.00 [19:48:36]line = 268.00 [19:48:36]line НДС 12% НСП 1% [19:48:36]line > о реализуемом товаре [19:48:36]line Товар: 4700000160358 [19:48:36]line Вода Легенда 1л [19:48:36]line 1.000 * 50.00 [19:48:36]line = 50.00 [19:48:36]line НДС 12% НСП 1% [19:48:36]line > о реализуемом товаре [19:48:36]line ИТОГО: 318.00 [19:48:36]line НСП 1% : 2.81 [19:48:36]line НДС 12% : 33.77 [19:48:36]line Наличными: 318.00 [19:48:36]line Безнал.: 0.00 [19:48:36]line Место: АЗС № 176 "Партнер Нефть" [19:48:36]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [19:48:36]line СНО: Общий режим [19:48:36]line Чек 65 25.09.2024 19:48 [19:48:36]line Смена: 183 ФФД: 1.0 [19:48:36]line ЗНМ: 0300000010 [19:48:36]line РНМ: 0000000000152968 [19:48:36]line Версия ККМ: v1.0 [19:48:36]line ФМ: 0000000000959456 [19:48:36]line ФД: 18987 [19:48:36]line ФПД: 202502846446988 [19:48:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T194837&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18987&fm=202502846446988&tin=02508201610067®Number=0000000000152968&sum=31800 [19:48:36]line 0 [19:48:36]OFD Sender: Processing packet 18987 [packets to send 7, broken 6] [19:48:36]ProducePacketName [19:48:36]name=ofd_packets/00018987 [19:48:36]OFD Sender: To server: pG, [19:48:36]CommunicateWithHost lk.salyk.kg:30040 [19:48:36]ConnectInit lk.salyk.kg [19:48:36]written 0, free lines is 4095 [19:48:36]Connected sock=10 [19:48:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 88 01 00 00 1F 30 80 01 1D 56 5A 03 01 00 03 00 74 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 7C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 31 0D 00 00 00 00 07 04 06 00 38 7C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 15 69 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2B 4A 00 00 35 04 06 00 B8 2C DE 3A 7D 8C A0 34 0C CD A0 4E 8E E5 [19:48:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 89 93 47 00 B7 6A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2B 4A 00 00 F4 03 04 00 71 12 F4 66 B6 04 01 00 00 85 01 69 C8 3B DF 44 0C [19:48:36]CommunicateWithHost err = 0 [19:48:36]CheckOFDResponse [19:48:36]1017 (14) - 77093643461234 [19:48:36]1041 (16) - 0000000000959456 [19:48:36]1040 (4) - 18987 [19:48:36]1012 (4) - 25.09.2024 13:38 [19:48:36]1206 (1) - 0 [19:48:36]OFD Sender: Remove packet 18987 [19:48:36]ProducePacketName [19:48:36]name=ofd_packets/00018987 [19:48:36]NVStorageDeleteData [19:48:36]Write to MH i2c: 01 00 00 42 10 52 [19:48:36]Write i2c OK [19:48:36]MH_I2C_Read... [19:48:36]Read from MH i2c: 01 [19:48:36]MH_I2C_Read... [19:48:36]Read from MH i2c: 01 07 00 [19:48:36]MH_I2C_Read... [19:48:36]Read from MH i2c: 01 07 00 42 10 00 00 00 00 00 E9 0C 4E [19:48:36]RasterBufferAndPrint [19:48:36]line [19:48:36]line [19:48:36]line [19:48:36]line [19:48:36]line [19:48:36]written 0, free lines is 3314 [19:48:36]MH_Cut [19:48:36]Write to MH i2c: D1 01 00 49 10 01 2B [19:48:36]Write i2c OK [19:48:36]MH_I2C_Read... [19:48:36]Read from MH i2c: D1 [19:48:36]MH_I2C_Read... [19:48:36]Read from MH i2c: D1 01 00 [19:48:36]MH_I2C_Read... [19:48:36]Read from MH i2c: D1 01 00 49 10 00 2A [19:48:36]Write to MH i2c: 01 00 00 4A 10 5A [19:48:36]Write i2c OK [19:48:36]MH_I2C_Read... [19:48:37]OFD Sender: No OFD packet to send [19:48:37]*** Cut start [19:48:37]*** Partial cut [19:48:37]*** CUTSNS_PIN = 1 [19:48:37]*** CUTSNS_PIN = 0 [19:48:37]*** Brake cut motor [19:48:38]Read from MH i2c: 01 [19:48:38]MH_I2C_Read... [19:48:38]*** Stop cut motor [19:48:38]*** Cut end [19:48:38]Read from MH i2c: 01 07 00 [19:48:38]MH_I2C_Read... [19:48:38]Read from MH i2c: 01 07 00 4A 10 00 00 00 00 00 FF 0F 6F [19:48:38]process_action close_receipt done [19:48:38]requested_data is exist [19:48:38]produce_requested_data [19:48:38]requested_item fm.sn is exist - process it [19:48:38]wFMCommunicate request_size=4 [19:48:38]MH_SAM_APDU [19:48:38]CAPDU: 80 11 00 00 [19:48:38]Write to MH i2c: E2 08 00 4B 10 80 11 00 00 00 00 00 00 D5 [19:48:38]Write i2c OK [19:48:38]MH_I2C_Read... [19:48:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:48:38]Read from MH i2c: E2 [19:48:38]MH_I2C_Read... [19:48:38]Read from MH i2c: E2 17 00 [19:48:38]MH_I2C_Read... [19:48:38]Read from MH i2c: E2 17 00 4B 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 2E [19:48:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:48:38]wFMCommunicate OK [19:48:38]requested_item fd.num is exist - process it [19:48:38]SAM_PROTO_GetFieldsCounters [19:48:38]wFMCommunicate request_size=4 [19:48:38]MH_SAM_APDU [19:48:38]CAPDU: 80 13 00 00 [19:48:38]Write to MH i2c: E2 08 00 4C 10 80 13 00 00 00 00 00 00 D8 [19:48:38]Write i2c OK [19:48:38]MH_I2C_Read... [19:48:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:48:38]Read from MH i2c: E2 [19:48:38]MH_I2C_Read... [19:48:38]Read from MH i2c: E2 62 00 [19:48:38]MH_I2C_Read... [19:48:38]Read from MH i2c: E2 62 00 4C 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 2B 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 F4 [19:48:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 2B 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:48:38]wFMCommunicate OK [19:48:38]SAM_PROTO_GetFieldsCounters done [19:48:38]requested_item shift.num is exist - process it [19:48:38]requested_item shift.opened is exist - process it [19:48:38]req_shift_opened [19:48:38]FM_GetShiftState [19:48:38]SAM_PROTO_GetShiftState [19:48:38]wFMCommunicate request_size=4 [19:48:38]MH_SAM_APDU [19:48:38]CAPDU: 80 13 01 00 [19:48:38]Write to MH i2c: E2 08 00 4D 10 80 13 01 00 00 00 00 00 DA [19:48:38]Write i2c OK [19:48:38]MH_I2C_Read... [19:48:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:48:38]Read from MH i2c: E2 [19:48:38]MH_I2C_Read... [19:48:38]Read from MH i2c: E2 0E 00 [19:48:38]MH_I2C_Read... [19:48:38]Read from MH i2c: E2 0E 00 4D 10 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 C7 [19:48:38]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [19:48:38]wFMCommunicate OK [19:48:38]SAM_PROTO_GetShiftState done [19:48:38]FM_GetShiftState done [19:48:38]req_shift_opened done [19:48:38]requested_item shift.open_date is exist - process it [19:48:38]req_shift_open_date [19:48:38]req_shift_open_date done [19:48:38]produce_requested_data done [19:48:38]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18987,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [19:48:38]process_action_free close_receipt [19:48:38]json_value_free [19:48:38]json_value_free done [19:48:38]process_json_proto returns [19:48:38]Send response to host [19:48:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18987,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [19:48:38]free response buf [19:48:38]execute_script done [19:48:38]execute_script returns [19:48:38]free content buf [19:48:38]Sock 9.Close socket [19:48:38]Sock 9.Thread stoped [19:48:42]OFD Sender: No OFD packet to send [19:48:47]OFD Sender: No OFD packet to send [19:48:52]OFD Sender: No OFD packet to send [19:48:57]OFD Sender: No OFD packet to send [19:49:02]OFD Sender: No OFD packet to send [19:49:07]OFD Sender: No OFD packet to send [19:49:12]OFD Sender: No OFD packet to send [19:49:17]OFD Sender: No OFD packet to send [19:49:22]OFD Sender: No OFD packet to send [19:49:27]OFD Sender: No OFD packet to send [19:49:32]OFD Sender: No OFD packet to send [19:49:37]OFD Sender: No OFD packet to send [19:49:42]OFD Sender: No OFD packet to send [19:49:47]OFD Sender: No OFD packet to send [19:49:52]OFD Sender: No OFD packet to send [19:49:57]OFD Sender: No OFD packet to send [19:50:02]OFD Sender: No OFD packet to send [19:50:07]OFD Sender: No OFD packet to send [19:50:12]OFD Sender: No OFD packet to send [19:50:17]OFD Sender: No OFD packet to send [19:50:22]OFD Sender: No OFD packet to send [19:50:27]OFD Sender: No OFD packet to send [19:50:32]OFD Sender: No OFD packet to send [19:50:37]OFD Sender: No OFD packet to send [19:50:42]OFD Sender: No OFD packet to send [19:50:47]OFD Sender: No OFD packet to send [19:50:52]OFD Sender: No OFD packet to send [19:50:57]OFD Sender: No OFD packet to send [19:51:02]OFD Sender: No OFD packet to send [19:51:07]OFD Sender: No OFD packet to send [19:51:12]OFD Sender: No OFD packet to send [19:51:17]OFD Sender: No OFD packet to send [19:51:22]OFD Sender: No OFD packet to send [19:51:27]OFD Sender: No OFD packet to send [19:51:32]OFD Sender: No OFD packet to send [19:51:37]OFD Sender: No OFD packet to send [19:51:42]OFD Sender: No OFD packet to send [19:51:47]OFD Sender: No OFD packet to send [19:51:52]OFD Sender: No OFD packet to send [19:51:57]OFD Sender: No OFD packet to send [19:52:02]OFD Sender: No OFD packet to send [19:52:07]OFD Sender: No OFD packet to send [19:52:12]OFD Sender: No OFD packet to send [19:52:17]OFD Sender: No OFD packet to send [19:52:22]OFD Sender: No OFD packet to send [19:52:27]OFD Sender: No OFD packet to send [19:52:32]OFD Sender: No OFD packet to send [19:52:37]OFD Sender: No OFD packet to send [19:52:42]OFD Sender: No OFD packet to send [19:52:47]OFD Sender: No OFD packet to send [19:52:52]OFD Sender: No OFD packet to send [19:52:57]OFD Sender: No OFD packet to send [19:53:02]OFD Sender: No OFD packet to send [19:53:07]OFD Sender: No OFD packet to send [19:53:12]OFD Sender: No OFD packet to send [19:53:17]OFD Sender: No OFD packet to send [19:53:22]OFD Sender: No OFD packet to send [19:53:27]OFD Sender: No OFD packet to send [19:53:32]OFD Sender: No OFD packet to send [19:53:37]OFD Sender: No OFD packet to send [19:53:42]OFD Sender: No OFD packet to send [19:53:47]OFD Sender: No OFD packet to send [19:53:52]OFD Sender: No OFD packet to send [19:53:57]OFD Sender: No OFD packet to send [19:54:02]accept exits with 8 [19:54:02]New connection [19:54:02]New thread 3066621284 created [19:54:02]Thread 3066764644 joined [19:54:02]Waiting for new connection... [19:54:02] Sock 8.Parse request [19:54:02]Sock 8.Check first char [19:54:02]Sock 8.First char is OK [19:54:02]request: POST /json_proto HTTP/1.0 [19:54:02]Method: POST [19:54:02]URL: /json_proto [19:54:02]Method is POST - this is cgi request [19:54:02]url: /json_proto [19:54:02]query_string will be loaded in cgi processing [19:54:02]execute_cgi json_proto POST (null) [19:54:02]execute_cgi path=json_proto method=POST [19:54:02]POST find Content-Length [19:54:02]Host: 172.17.62.196:8080 [19:54:02]Content-Length: 1203 [19:54:02]Content-Type: application/json [19:54:02] [19:54:02]POST finish read [19:54:02]Found Content-Length = 1203 [19:54:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16908", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:54:02]execute_script... [19:54:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16908", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:54:02]POST & json_proto [19:54:02]process_json_proto [19:54:02]json parsed OK: [19:54:02]protocol is kg_v1.0 [19:54:02]action value=close_receipt [19:54:02]process_action close_receipt [19:54:02]cmd_close_receipt [19:54:02]MH_GetDate [19:54:02]Write to MH i2c: F0 00 00 4E 10 4D [19:54:02]Write i2c OK [19:54:02]MH_I2C_Read... [19:54:02]Read from MH i2c: F0 [19:54:02]MH_I2C_Read... [19:54:02]Read from MH i2c: F0 09 00 [19:54:02]MH_I2C_Read... [19:54:02]Read from MH i2c: F0 09 00 4E 10 00 5D 6A F4 66 CE CC 0E 66 85 [19:54:02]GetLastDocTimeStamp 1727293717 [19:54:02]current date 1727294045 [19:54:02]FM_GetShiftState [19:54:02]SAM_PROTO_GetShiftState [19:54:02]wFMCommunicate request_size=4 [19:54:02]MH_SAM_APDU [19:54:02]CAPDU: 80 13 01 00 [19:54:02]Write to MH i2c: E2 08 00 4F 10 80 13 01 00 00 00 00 00 DC [19:54:02]Write i2c OK [19:54:02]MH_I2C_Read... [19:54:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:54:02]Read from MH i2c: E2 [19:54:02]MH_I2C_Read... [19:54:02]Read from MH i2c: E2 0E 00 [19:54:02]MH_I2C_Read... [19:54:02]Read from MH i2c: E2 0E 00 4F 10 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 C9 [19:54:02]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [19:54:02]wFMCommunicate OK [19:54:02]SAM_PROTO_GetShiftState done [19:54:02]FM_GetShiftState done [19:54:02]opened in 1727223091 [19:54:02]opened+sec_in_day 1727309491 [19:54:02]quantity*price = 10500 [19:54:02]sum+1 = 10501 [19:54:02]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870112003925 Конд ULKER-Albeni 40gr (6*24) 1.000 * 55.00 = 55.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4660085515163 Шок Батончик Сникерс супер 95/80г 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 245.00 НСП 1% : 2.17 НДС 12% : 26.02 Наличными: 245.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 66 25.09.2024 19:54 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18988 ФПД: 105360606193994 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T195405&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18988&fm=105360606193994&tin=02508201610067®Number=0000000000152968&sum=24500 0 [19:54:03]StoreToDocumentArchive [19:54:03]shift 183 fd 18988 [19:54:03]save to /storage/0183/doc_00018988 [19:54:03]save last doc name /storage/0183/doc_00018988 to /storage/kkm_last_doc_name [19:54:03]save OK [19:54:03]Clear old archive folders... [19:54:03]ProcessDocumentItem done err = 0, tmpTLVsize=512 [19:54:03]tlvbuf is 015FECD0 [19:54:03]SAM_PROTO_ClearQueue [19:54:03]wFMCommunicate request_size=4 [19:54:03]MH_SAM_APDU [19:54:03]CAPDU: 80 09 00 00 [19:54:03]Write to MH i2c: E2 08 00 5C 10 80 09 00 00 00 00 00 00 DE [19:54:03]Write i2c OK [19:54:03]MH_I2C_Read... [19:54:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:54:03]Read from MH i2c: E2 [19:54:03]MH_I2C_Read... [19:54:03]Read from MH i2c: E2 03 00 [19:54:03]MH_I2C_Read... [19:54:03]Read from MH i2c: E2 03 00 5C 10 00 90 00 E0 [19:54:03]RAPDU: 90 00 [19:54:03]wFMCommunicate OK [19:54:03]SAM_PROTO_ClearQueue done [19:54:03]KKMCreateOFDPacket [19:54:03]OFDProtocolAddRootSTLVToBuf [19:54:03]FM_MakeSignedData [19:54:03]FM_MakeSignedData [19:54:03]SAM_PROTO_SignData [19:54:03]wFMCommunicate request_size=4 [19:54:03]MH_SAM_APDU [19:54:03]CAPDU: 80 0D 01 02 [19:54:03]Write to MH i2c: E2 08 00 5D 10 80 0D 01 02 00 00 00 00 E6 [19:54:03]Write i2c OK [19:54:03]MH_I2C_Read... [19:54:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:54:03]Read from MH i2c: E2 [19:54:03]MH_I2C_Read... [19:54:03]Read from MH i2c: E2 03 00 [19:54:03]MH_I2C_Read... [19:54:03]Read from MH i2c: E2 03 00 5D 10 00 90 00 E1 [19:54:03]RAPDU: 90 00 [19:54:03]wFMCommunicate OK [19:54:03]wFMCommunicate request_size=255 [19:54:03]MH_SAM_APDU [19:54:03]CAPDU: 80 0D 02 02 FA 03 00 00 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 [19:54:03]Write to MH i2c: E2 02 01 5E 10 80 0D 02 02 FA 00 03 00 00 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 00 00 35 [19:54:03]Write i2c OK [19:54:03]MH_I2C_Read... [19:54:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:54:04]Read from MH i2c: E2 [19:54:04]MH_I2C_Read... [19:54:04]Read from MH i2c: E2 03 00 [19:54:04]MH_I2C_Read... [19:54:04]Read from MH i2c: E2 03 00 5E 10 00 90 00 E2 [19:54:04]RAPDU: 90 00 [19:54:04]wFMCommunicate OK [19:54:04]wFMCommunicate request_size=255 [19:54:04]MH_SAM_APDU [19:54:04]CAPDU: 80 0D 02 02 FA BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 5F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 5D 6A F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 [19:54:04]Write to MH i2c: E2 02 01 5F 10 80 0D 02 02 FA 00 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 5F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 5D 6A F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 00 00 36 [19:54:04]Write i2c OK [19:54:04]MH_I2C_Read... [19:54:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:54:04]Read from MH i2c: E2 [19:54:04]MH_I2C_Read... [19:54:04]Read from MH i2c: E2 03 00 [19:54:04]MH_I2C_Read... [19:54:04]Read from MH i2c: E2 03 00 5F 10 00 90 00 E3 [19:54:04]RAPDU: 90 00 [19:54:04]wFMCommunicate OK [19:54:04]wFMCommunicate request_size=21 [19:54:04]MH_SAM_APDU [19:54:04]CAPDU: 80 0D 02 02 10 04 00 2C 4A 00 00 35 04 06 00 5F D3 2D 81 69 4A [19:54:04]Write to MH i2c: E2 18 00 60 10 80 0D 02 02 10 00 04 00 2C 4A 00 00 35 04 06 00 5F D3 2D 81 69 4A 00 00 56 [19:54:04]Write i2c OK [19:54:04]MH_I2C_Read... [19:54:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:54:04]Read from MH i2c: E2 [19:54:04]MH_I2C_Read... [19:54:04]Read from MH i2c: E2 03 00 [19:54:04]MH_I2C_Read... [19:54:04]Read from MH i2c: E2 03 00 60 10 00 90 00 E4 [19:54:04]RAPDU: 90 00 [19:54:04]wFMCommunicate OK [19:54:04]wFMCommunicate request_size=4 [19:54:04]MH_SAM_APDU [19:54:04]CAPDU: 80 0D 03 02 [19:54:04]Write to MH i2c: E2 08 00 61 10 80 0D 03 02 00 00 00 00 EC [19:54:04]Write i2c OK [19:54:04]MH_I2C_Read... [19:54:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:54:04]Read from MH i2c: E2 [19:54:04]MH_I2C_Read... [19:54:04]Read from MH i2c: E2 0B 00 [19:54:04]MH_I2C_Read... [19:54:04]Read from MH i2c: E2 0B 00 61 10 00 77 20 93 7B 4B D5 EC B1 90 00 4F [19:54:04]RAPDU: 77 20 93 7B 4B D5 EC B1 90 00 [19:54:04]wFMCommunicate OK [19:54:04]SAM_PROTO_SignData done [19:54:04]FM_MakeSignedData done [19:54:04]CreateOFDProtocolMessage [19:54:04]wFMCommunicate request_size=4 [19:54:04]MH_SAM_APDU [19:54:04]CAPDU: 80 11 00 00 [19:54:04]Write to MH i2c: E2 08 00 62 10 80 11 00 00 00 00 00 00 EC [19:54:04]Write i2c OK [19:54:04]MH_I2C_Read... [19:54:04]Read from MH i2c: E2 [19:54:04]MH_I2C_Read... [19:54:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:54:04]Read from MH i2c: E2 17 00 [19:54:04]MH_I2C_Read... [19:54:04]Read from MH i2c: E2 17 00 62 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 45 [19:54:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:54:04]wFMCommunicate OK [19:54:04]CreateOFDProtocolMessage done [19:54:04]OFDSenderStorePacket 18988 [19:54:04]StoreOFDPacket docnum=18988 [19:54:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 14 02 00 00 83 81 0C 02 2D BB 5A 03 01 00 03 00 00 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 5F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 5D 6A F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2C 4A 00 00 35 04 06 00 5F D3 2D 81 69 4A 77 20 93 7B 4B D5 EC B1 [19:54:04]CheckFolder [19:54:04]dirname=/storage/ofd_packets [19:54:04]CheckFolder done [19:54:04]ProducePacketName [19:54:04]name=ofd_packets/00018988 [19:54:04]NVStorageSaveData ofd_packets/00018988 [19:54:04]File name is /storage/ofd_packets/00018988 [19:54:04]Write 562 bytes [19:54:04]NVStorageSaveData done [19:54:04]OFDSenderStorePacket done [19:54:04]KKMCreateOFDPacket done [19:54:04]NVStorageSaveData kkm_last_timestamp [19:54:04]File name is /storage/kkm_last_timestamp [19:54:04]Write 4 bytes [19:54:04]NVStorageSaveData done [19:54:04]ExternCall_PrintAddStr [19:54:04]wPrintStart [19:54:04]Write to MH i2c: 01 00 00 63 10 73 [19:54:04]Write i2c OK [19:54:04]MH_I2C_Read... [19:54:04]Read from MH i2c: 01 [19:54:04]MH_I2C_Read... [19:54:04]Read from MH i2c: 01 07 00 [19:54:04]MH_I2C_Read... [19:54:04]Read from MH i2c: 01 07 00 63 10 00 00 00 00 00 FF 0F 88 [19:54:04]RasterBufferAndPrint [19:54:04]line Счет N : (3)16908 [19:54:04]line ИНН: 02508201610067 [19:54:04]line Контрольно-Кассовый Чек [19:54:04]line ПРОДАЖА [19:54:04]line Товар: 5449000054227 [19:54:04]line Напиток Кока-Кола 1л [19:54:04]line 1.000 * 105.00 [19:54:04]line = 105.00 [19:54:04]line НДС 12% НСП 1% [19:54:04]line > о реализуемом товаре [19:54:04]line Товар: 4870112003925 [19:54:04]line Конд ULKER-Albeni 40gr (6*24) [19:54:04]line 1.000 * 55.00 [19:54:04]line = 55.00 [19:54:04]line НДС 12% НСП 1% [19:54:04]line > о реализуемом товаре [19:54:04]line Товар: 4660085515163 [19:54:04]line Шок Батончик Сникерс супер 95/80г [19:54:04]line 1.000 * 85.00 [19:54:04]line = 85.00 [19:54:04]line НДС 12% НСП 1% [19:54:04]line > о реализуемом товаре [19:54:04]line ИТОГО: 245.00 [19:54:04]line НСП 1% : 2.17 [19:54:04]line НДС 12% : 26.02 [19:54:04]line Наличными: 245.00 [19:54:04]line Безнал.: 0.00 [19:54:04]line Место: АЗС № 176 "Партнер Нефть" [19:54:04]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [19:54:04]line СНО: Общий режим [19:54:04]line Чек 66 25.09.2024 19:54 [19:54:04]line Смена: 183 ФФД: 1.0 [19:54:04]line ЗНМ: 0300000010 [19:54:04]line РНМ: 0000000000152968 [19:54:04]line Версия ККМ: v1.0 [19:54:04]line ФМ: 0000000000959456 [19:54:04]line ФД: 18988 [19:54:04]line ФПД: 105360606193994 [19:54:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T195405&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18988&fm=105360606193994&tin=02508201610067®Number=0000000000152968&sum=24500 [19:54:04]line 0 [19:54:04]OFD Sender: Processing packet 18988 [packets to send 7, broken 6] [19:54:04]ProducePacketName [19:54:04]name=ofd_packets/00018988 [19:54:04]OFD Sender: To server: pG, [19:54:04]CommunicateWithHost lk.salyk.kg:30040 [19:54:04]ConnectInit lk.salyk.kg [19:54:04]written 0, free lines is 4095 [19:54:04]Connected sock=10 [19:54:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 14 02 00 00 83 81 0C 02 2D BB 5A 03 01 00 03 00 00 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 0A 00 00 00 00 07 04 06 00 B4 5F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 5D 6A F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2C 4A 00 00 35 04 06 00 5F D3 2D 81 69 4A 77 20 93 7B 4B D5 EC B1 [19:54:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 60 31 47 00 D7 F9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2C 4A 00 00 F4 03 04 00 BA 13 F4 66 B6 04 01 00 00 5F 42 EF BE 7E C9 1B 54 [19:54:05]CommunicateWithHost err = 0 [19:54:05]CheckOFDResponse [19:54:05]1017 (14) - 77093643461234 [19:54:05]1041 (16) - 0000000000959456 [19:54:05]1040 (4) - 18988 [19:54:05]1012 (4) - 25.09.2024 13:44 [19:54:05]1206 (1) - 0 [19:54:05]OFD Sender: Remove packet 18988 [19:54:05]ProducePacketName [19:54:05]name=ofd_packets/00018988 [19:54:05]NVStorageDeleteData [19:54:05]Write to MH i2c: 01 00 00 98 10 A8 [19:54:05]Write i2c OK [19:54:05]MH_I2C_Read... [19:54:05]Read from MH i2c: 01 [19:54:05]MH_I2C_Read... [19:54:05]Read from MH i2c: 01 07 00 [19:54:05]MH_I2C_Read... [19:54:05]Read from MH i2c: 01 07 00 98 10 00 00 00 00 00 7E 0C 39 [19:54:05]RasterBufferAndPrint [19:54:05]line [19:54:05]line [19:54:05]line [19:54:05]line [19:54:05]line [19:54:05]written 0, free lines is 3207 [19:54:05]MH_Cut [19:54:05]Write to MH i2c: D1 01 00 9F 10 01 81 [19:54:05]Write i2c OK [19:54:05]MH_I2C_Read... [19:54:05]Read from MH i2c: D1 [19:54:05]MH_I2C_Read... [19:54:05]Read from MH i2c: D1 01 00 [19:54:05]MH_I2C_Read... [19:54:05]Read from MH i2c: D1 01 00 9F 10 00 80 [19:54:05]Write to MH i2c: 01 00 00 A0 10 B0 [19:54:05]Write i2c OK [19:54:05]MH_I2C_Read... [19:54:05]OFD Sender: No OFD packet to send [19:54:06]*** Cut start [19:54:06]*** Partial cut [19:54:06]*** CUTSNS_PIN = 1 [19:54:06]*** CUTSNS_PIN = 0 [19:54:06]*** Brake cut motor [19:54:06]Read from MH i2c: 01 [19:54:06]MH_I2C_Read... [19:54:06]*** Stop cut motor [19:54:06]*** Cut end [19:54:06]Read from MH i2c: 01 07 00 [19:54:06]MH_I2C_Read... [19:54:06]Read from MH i2c: 01 07 00 A0 10 00 00 00 00 00 FF 0F C5 [19:54:06]process_action close_receipt done [19:54:06]requested_data is exist [19:54:06]produce_requested_data [19:54:06]requested_item fm.sn is exist - process it [19:54:06]wFMCommunicate request_size=4 [19:54:06]MH_SAM_APDU [19:54:06]CAPDU: 80 11 00 00 [19:54:06]Write to MH i2c: E2 08 00 A1 10 80 11 00 00 00 00 00 00 2B [19:54:06]Write i2c OK [19:54:06]MH_I2C_Read... [19:54:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:54:06]Read from MH i2c: E2 [19:54:06]MH_I2C_Read... [19:54:06]Read from MH i2c: E2 17 00 [19:54:06]MH_I2C_Read... [19:54:06]Read from MH i2c: E2 17 00 A1 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 84 [19:54:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [19:54:06]wFMCommunicate OK [19:54:06]requested_item fd.num is exist - process it [19:54:06]SAM_PROTO_GetFieldsCounters [19:54:06]wFMCommunicate request_size=4 [19:54:06]MH_SAM_APDU [19:54:06]CAPDU: 80 13 00 00 [19:54:06]Write to MH i2c: E2 08 00 A2 10 80 13 00 00 00 00 00 00 2E [19:54:06]Write i2c OK [19:54:06]MH_I2C_Read... [19:54:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:54:07]Read from MH i2c: E2 [19:54:07]MH_I2C_Read... [19:54:07]Read from MH i2c: E2 62 00 [19:54:07]MH_I2C_Read... [19:54:07]Read from MH i2c: E2 62 00 A2 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 2C 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 4E [19:54:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 2C 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:54:07]wFMCommunicate OK [19:54:07]SAM_PROTO_GetFieldsCounters done [19:54:07]requested_item shift.num is exist - process it [19:54:07]requested_item shift.opened is exist - process it [19:54:07]req_shift_opened [19:54:07]FM_GetShiftState [19:54:07]SAM_PROTO_GetShiftState [19:54:07]wFMCommunicate request_size=4 [19:54:07]MH_SAM_APDU [19:54:07]CAPDU: 80 13 01 00 [19:54:07]Write to MH i2c: E2 08 00 A3 10 80 13 01 00 00 00 00 00 30 [19:54:07]Write i2c OK [19:54:07]MH_I2C_Read... [19:54:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:54:07]Read from MH i2c: E2 [19:54:07]MH_I2C_Read... [19:54:07]Read from MH i2c: E2 0E 00 [19:54:07]MH_I2C_Read... [19:54:07]Read from MH i2c: E2 0E 00 A3 10 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 1D [19:54:07]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [19:54:07]wFMCommunicate OK [19:54:07]SAM_PROTO_GetShiftState done [19:54:07]FM_GetShiftState done [19:54:07]req_shift_opened done [19:54:07]requested_item shift.open_date is exist - process it [19:54:07]req_shift_open_date [19:54:07]req_shift_open_date done [19:54:07]produce_requested_data done [19:54:07]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18988,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [19:54:07]process_action_free close_receipt [19:54:07]json_value_free [19:54:07]json_value_free done [19:54:07]process_json_proto returns [19:54:07]Send response to host [19:54:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18988,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [19:54:07]free response buf [19:54:07]execute_script done [19:54:07]execute_script returns [19:54:07]free content buf [19:54:07]Sock 8.Close socket [19:54:07]Sock 8.Thread stoped [19:54:10]OFD Sender: No OFD packet to send [19:54:15]OFD Sender: No OFD packet to send [19:54:20]OFD Sender: No OFD packet to send [19:54:25]OFD Sender: No OFD packet to send [19:54:30]OFD Sender: No OFD packet to send [19:54:35]OFD Sender: No OFD packet to send [19:54:40]OFD Sender: No OFD packet to send [19:54:45]OFD Sender: No OFD packet to send [19:54:50]OFD Sender: No OFD packet to send [19:54:55]OFD Sender: No OFD packet to send [19:55:00]OFD Sender: No OFD packet to send [19:55:05]OFD Sender: No OFD packet to send [19:55:10]OFD Sender: No OFD packet to send [19:55:15]OFD Sender: No OFD packet to send [19:55:20]OFD Sender: No OFD packet to send [19:55:25]OFD Sender: No OFD packet to send [19:55:30]OFD Sender: No OFD packet to send [19:55:35]OFD Sender: No OFD packet to send [19:55:40]OFD Sender: No OFD packet to send [19:55:45]OFD Sender: No OFD packet to send [19:55:50]OFD Sender: No OFD packet to send [19:55:55]OFD Sender: No OFD packet to send [19:56:00]OFD Sender: No OFD packet to send [19:56:05]OFD Sender: No OFD packet to send [19:56:10]OFD Sender: No OFD packet to send [19:56:15]OFD Sender: No OFD packet to send [19:56:20]OFD Sender: No OFD packet to send [19:56:25]OFD Sender: No OFD packet to send [19:56:30]OFD Sender: No OFD packet to send [19:56:35]OFD Sender: No OFD packet to send [19:56:40]OFD Sender: No OFD packet to send [19:56:45]OFD Sender: No OFD packet to send [19:56:50]OFD Sender: No OFD packet to send [19:56:55]OFD Sender: No OFD packet to send [19:57:00]OFD Sender: No OFD packet to send [19:57:05]OFD Sender: No OFD packet to send [19:57:10]OFD Sender: No OFD packet to send [19:57:15]OFD Sender: No OFD packet to send [19:57:20]OFD Sender: No OFD packet to send [19:57:25]OFD Sender: No OFD packet to send [19:57:30]OFD Sender: No OFD packet to send [19:57:35]OFD Sender: No OFD packet to send [19:57:40]OFD Sender: No OFD packet to send [19:57:45]OFD Sender: No OFD packet to send [19:57:50]OFD Sender: No OFD packet to send [19:57:55]OFD Sender: No OFD packet to send [19:58:00]OFD Sender: No OFD packet to send [19:58:05]OFD Sender: No OFD packet to send [19:58:11]OFD Sender: No OFD packet to send [19:58:16]OFD Sender: No OFD packet to send [19:58:21]OFD Sender: No OFD packet to send [19:58:26]OFD Sender: No OFD packet to send [19:58:31]OFD Sender: No OFD packet to send [19:58:36]OFD Sender: No OFD packet to send [19:58:41]OFD Sender: No OFD packet to send [19:58:46]OFD Sender: No OFD packet to send [19:58:51]OFD Sender: No OFD packet to send [19:58:56]OFD Sender: No OFD packet to send [19:59:01]OFD Sender: No OFD packet to send [19:59:06]OFD Sender: No OFD packet to send [19:59:11]OFD Sender: No OFD packet to send [19:59:16]OFD Sender: No OFD packet to send [19:59:21]OFD Sender: No OFD packet to send [19:59:26]OFD Sender: No OFD packet to send [19:59:31]OFD Sender: No OFD packet to send [19:59:36]OFD Sender: No OFD packet to send [19:59:41]OFD Sender: No OFD packet to send [19:59:46]OFD Sender: No OFD packet to send [19:59:51]OFD Sender: No OFD packet to send [19:59:56]OFD Sender: No OFD packet to send [20:00:01]OFD Sender: No OFD packet to send [20:00:06]OFD Sender: No OFD packet to send [20:00:11]OFD Sender: No OFD packet to send [20:00:16]OFD Sender: No OFD packet to send [20:00:21]OFD Sender: No OFD packet to send [20:00:26]OFD Sender: No OFD packet to send [20:00:31]OFD Sender: No OFD packet to send [20:00:36]OFD Sender: No OFD packet to send [20:00:41]OFD Sender: No OFD packet to send [20:00:46]OFD Sender: No OFD packet to send [20:00:51]OFD Sender: No OFD packet to send [20:00:56]OFD Sender: No OFD packet to send [20:01:01]OFD Sender: No OFD packet to send [20:01:06]OFD Sender: No OFD packet to send [20:01:11]OFD Sender: No OFD packet to send [20:01:16]OFD Sender: No OFD packet to send [20:01:21]OFD Sender: No OFD packet to send [20:01:26]OFD Sender: No OFD packet to send [20:01:31]OFD Sender: No OFD packet to send [20:01:36]OFD Sender: No OFD packet to send [20:01:41]OFD Sender: No OFD packet to send [20:01:46]OFD Sender: No OFD packet to send [20:01:51]OFD Sender: No OFD packet to send [20:01:56]OFD Sender: No OFD packet to send [20:02:01]OFD Sender: No OFD packet to send [20:02:06]OFD Sender: No OFD packet to send [20:02:11]OFD Sender: No OFD packet to send [20:02:16]OFD Sender: No OFD packet to send [20:02:21]OFD Sender: No OFD packet to send [20:02:26]OFD Sender: No OFD packet to send [20:02:31]OFD Sender: No OFD packet to send [20:02:36]OFD Sender: No OFD packet to send [20:02:41]OFD Sender: No OFD packet to send [20:02:46]OFD Sender: No OFD packet to send [20:02:51]OFD Sender: No OFD packet to send [20:02:56]OFD Sender: No OFD packet to send [20:02:56]accept exits with 9 [20:02:56]New connection [20:02:56]New thread 3066764644 created [20:02:56]Thread 3066621284 joined [20:02:56]Waiting for new connection... [20:02:56] Sock 9.Parse request [20:02:56]Sock 9.Check first char [20:02:56]Sock 9.First char is OK [20:02:56]request: POST /json_proto HTTP/1.0 [20:02:56]Method: POST [20:02:56]URL: /json_proto [20:02:56]Method is POST - this is cgi request [20:02:56]url: /json_proto [20:02:56]query_string will be loaded in cgi processing [20:02:56]execute_cgi json_proto POST (null) [20:02:56]execute_cgi path=json_proto method=POST [20:02:56]POST find Content-Length [20:02:56]Host: 172.17.62.196:8080 [20:02:56]Content-Length: 665 [20:02:56]Content-Type: application/json [20:02:56] [20:02:56]POST finish read [20:02:56]Found Content-Length = 665 [20:02:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16909", "tax_sys" : 0, "items" : [ { "code": "4870202521292", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0421\u043E\u043A \u0431\u0435\u0440\u0435\u0437\u044B 1,2\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:02:56]execute_script... [20:02:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16909", "tax_sys" : 0, "items" : [ { "code": "4870202521292", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0421\u043E\u043A \u0431\u0435\u0440\u0435\u0437\u044B 1,2\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:02:56]POST & json_proto [20:02:56]process_json_proto [20:02:56]json parsed OK: [20:02:56]protocol is kg_v1.0 [20:02:56]action value=close_receipt [20:02:56]process_action close_receipt [20:02:56]cmd_close_receipt [20:02:56]MH_GetDate [20:02:56]Write to MH i2c: F0 00 00 A4 10 A3 [20:02:56]Write i2c OK [20:02:56]MH_I2C_Read... [20:02:56]Read from MH i2c: F0 [20:02:56]MH_I2C_Read... [20:02:56]Read from MH i2c: F0 09 00 [20:02:56]MH_I2C_Read... [20:02:56]Read from MH i2c: F0 09 00 A4 10 00 73 6C F4 66 CE CC 0E 66 F3 [20:02:56]GetLastDocTimeStamp 1727294045 [20:02:56]current date 1727294579 [20:02:56]FM_GetShiftState [20:02:56]SAM_PROTO_GetShiftState [20:02:56]wFMCommunicate request_size=4 [20:02:56]MH_SAM_APDU [20:02:56]CAPDU: 80 13 01 00 [20:02:56]Write to MH i2c: E2 08 00 A5 10 80 13 01 00 00 00 00 00 32 [20:02:56]Write i2c OK [20:02:56]MH_I2C_Read... [20:02:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:02:56]Read from MH i2c: E2 [20:02:56]MH_I2C_Read... [20:02:56]Read from MH i2c: E2 0E 00 [20:02:56]MH_I2C_Read... [20:02:56]Read from MH i2c: E2 0E 00 A5 10 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 1F [20:02:56]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [20:02:56]wFMCommunicate OK [20:02:56]SAM_PROTO_GetShiftState done [20:02:56]FM_GetShiftState done [20:02:56]opened in 1727223091 [20:02:56]opened+sec_in_day 1727309491 [20:02:56]quantity*price = 12500 [20:02:56]sum+1 = 12501 [20:02:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 67 25.09.2024 20:02 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18989 ФПД: 112952066767393 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T200259&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18989&fm=112952066767393&tin=02508201610067®Number=0000000000152968&sum=12500 0 [20:02:57]StoreToDocumentArchive [20:02:57]shift 183 fd 18989 [20:02:57]save to /storage/0183/doc_00018989 [20:02:57]save last doc name /storage/0183/doc_00018989 to /storage/kkm_last_doc_name [20:02:57]save OK [20:02:57]Clear old archive folders... [20:02:57]ProcessDocumentItem done err = 0, tmpTLVsize=282 [20:02:57]tlvbuf is 015F74E0 [20:02:57]SAM_PROTO_ClearQueue [20:02:57]wFMCommunicate request_size=4 [20:02:57]MH_SAM_APDU [20:02:57]CAPDU: 80 09 00 00 [20:02:57]Write to MH i2c: E2 08 00 B2 10 80 09 00 00 00 00 00 00 34 [20:02:57]Write i2c OK [20:02:57]MH_I2C_Read... [20:02:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:02:58]Read from MH i2c: E2 [20:02:58]MH_I2C_Read... [20:02:58]Read from MH i2c: E2 03 00 [20:02:58]MH_I2C_Read... [20:02:58]Read from MH i2c: E2 03 00 B2 10 00 90 00 36 [20:02:58]RAPDU: 90 00 [20:02:58]wFMCommunicate OK [20:02:58]SAM_PROTO_ClearQueue done [20:02:58]KKMCreateOFDPacket [20:02:58]OFDProtocolAddRootSTLVToBuf [20:02:58]FM_MakeSignedData [20:02:58]FM_MakeSignedData [20:02:58]SAM_PROTO_SignData [20:02:58]wFMCommunicate request_size=4 [20:02:58]MH_SAM_APDU [20:02:58]CAPDU: 80 0D 01 02 [20:02:58]Write to MH i2c: E2 08 00 B3 10 80 0D 01 02 00 00 00 00 3C [20:02:58]Write i2c OK [20:02:58]MH_I2C_Read... [20:02:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:02:58]Read from MH i2c: E2 [20:02:58]MH_I2C_Read... [20:02:58]Read from MH i2c: E2 03 00 [20:02:58]MH_I2C_Read... [20:02:58]Read from MH i2c: E2 03 00 B3 10 00 90 00 37 [20:02:58]RAPDU: 90 00 [20:02:58]wFMCommunicate OK [20:02:58]wFMCommunicate request_size=255 [20:02:58]MH_SAM_APDU [20:02:58]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 73 6C F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 [20:02:58]Write to MH i2c: E2 02 01 B4 10 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 73 6C F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 00 00 53 [20:02:58]Write i2c OK [20:02:58]MH_I2C_Read... [20:02:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:02:58]Read from MH i2c: E2 [20:02:58]MH_I2C_Read... [20:02:58]Read from MH i2c: E2 03 00 [20:02:58]MH_I2C_Read... [20:02:58]Read from MH i2c: E2 03 00 B4 10 00 90 00 38 [20:02:58]RAPDU: 90 00 [20:02:58]wFMCommunicate OK [20:02:58]wFMCommunicate request_size=41 [20:02:58]MH_SAM_APDU [20:02:58]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2D 4A 00 00 35 04 06 00 66 BA B3 D0 FA 21 [20:02:58]Write to MH i2c: E2 2C 00 B5 10 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2D 4A 00 00 35 04 06 00 66 BA B3 D0 FA 21 00 00 49 [20:02:58]Write i2c OK [20:02:58]MH_I2C_Read... [20:02:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:02:58]Read from MH i2c: E2 [20:02:58]MH_I2C_Read... [20:02:58]Read from MH i2c: E2 03 00 [20:02:58]MH_I2C_Read... [20:02:58]Read from MH i2c: E2 03 00 B5 10 00 90 00 39 [20:02:58]RAPDU: 90 00 [20:02:58]wFMCommunicate OK [20:02:58]wFMCommunicate request_size=4 [20:02:58]MH_SAM_APDU [20:02:58]CAPDU: 80 0D 03 02 [20:02:58]Write to MH i2c: E2 08 00 B6 10 80 0D 03 02 00 00 00 00 41 [20:02:58]Write i2c OK [20:02:58]MH_I2C_Read... [20:02:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:02:58]Read from MH i2c: E2 [20:02:58]MH_I2C_Read... [20:02:58]Read from MH i2c: E2 0B 00 [20:02:58]MH_I2C_Read... [20:02:58]Read from MH i2c: E2 0B 00 B6 10 00 18 75 CE FA 0B 02 29 07 90 00 D4 [20:02:58]RAPDU: 18 75 CE FA 0B 02 29 07 90 00 [20:02:58]wFMCommunicate OK [20:02:58]SAM_PROTO_SignData done [20:02:58]FM_MakeSignedData done [20:02:58]CreateOFDProtocolMessage [20:02:58]wFMCommunicate request_size=4 [20:02:58]MH_SAM_APDU [20:02:58]CAPDU: 80 11 00 00 [20:02:58]Write to MH i2c: E2 08 00 B7 10 80 11 00 00 00 00 00 00 41 [20:02:58]Write i2c OK [20:02:58]MH_I2C_Read... [20:02:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:02:58]Read from MH i2c: E2 [20:02:58]MH_I2C_Read... [20:02:58]Read from MH i2c: E2 17 00 [20:02:58]MH_I2C_Read... [20:02:58]Read from MH i2c: E2 17 00 B7 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 9A [20:02:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:02:58]wFMCommunicate OK [20:02:58]CreateOFDProtocolMessage done [20:02:58]OFDSenderStorePacket 18989 [20:02:58]StoreOFDPacket docnum=18989 [20:02:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 E2 6D 26 01 B3 E8 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 73 6C F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2D 4A 00 00 35 04 06 00 66 BA B3 D0 FA 21 18 75 CE FA 0B 02 29 07 [20:02:58]CheckFolder [20:02:58]dirname=/storage/ofd_packets [20:02:58]CheckFolder done [20:02:58]ProducePacketName [20:02:58]name=ofd_packets/00018989 [20:02:58]NVStorageSaveData ofd_packets/00018989 [20:02:58]File name is /storage/ofd_packets/00018989 [20:02:58]Write 332 bytes [20:02:58]NVStorageSaveData done [20:02:58]OFDSenderStorePacket done [20:02:58]KKMCreateOFDPacket done [20:02:58]NVStorageSaveData kkm_last_timestamp [20:02:58]File name is /storage/kkm_last_timestamp [20:02:58]Write 4 bytes [20:02:58]NVStorageSaveData done [20:02:58]ExternCall_PrintAddStr [20:02:58]wPrintStart [20:02:58]Write to MH i2c: 01 00 00 B8 10 C8 [20:02:58]Write i2c OK [20:02:58]MH_I2C_Read... [20:02:58]Read from MH i2c: 01 [20:02:58]MH_I2C_Read... [20:02:58]Read from MH i2c: 01 07 00 [20:02:58]MH_I2C_Read... [20:02:58]Read from MH i2c: 01 07 00 B8 10 00 00 00 00 00 FF 0F DD [20:02:58]RasterBufferAndPrint [20:02:58]line Счет N : (3)16909 [20:02:58]line ИНН: 02508201610067 [20:02:58]line Контрольно-Кассовый Чек [20:02:58]line ПРОДАЖА [20:02:58]line Товар: 4870202521292 [20:02:58]line Напиток Сок березы 1,2л [20:02:58]line 1.000 * 125.00 [20:02:58]line = 125.00 [20:02:58]line НДС 12% НСП 1% [20:02:58]line > о реализуемом товаре [20:02:58]line ИТОГО: 125.00 [20:02:58]line НСП 1% : 1.11 [20:02:58]line НДС 12% : 13.27 [20:02:58]line Наличными: 125.00 [20:02:58]line Безнал.: 0.00 [20:02:58]line Место: АЗС № 176 "Партнер Нефть" [20:02:58]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [20:02:58]line СНО: Общий режим [20:02:58]line Чек 67 25.09.2024 20:02 [20:02:58]line Смена: 183 ФФД: 1.0 [20:02:58]line ЗНМ: 0300000010 [20:02:58]line РНМ: 0000000000152968 [20:02:58]line Версия ККМ: v1.0 [20:02:58]line ФМ: 0000000000959456 [20:02:58]line ФД: 18989 [20:02:58]line ФПД: 112952066767393 [20:02:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T200259&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18989&fm=112952066767393&tin=02508201610067®Number=0000000000152968&sum=12500 [20:02:58]line 0 [20:02:58]OFD Sender: Processing packet 18989 [packets to send 7, broken 6] [20:02:58]ProducePacketName [20:02:58]name=ofd_packets/00018989 [20:02:58]OFD Sender: To server: pG, [20:02:58]CommunicateWithHost lk.salyk.kg:30040 [20:02:58]ConnectInit lk.salyk.kg [20:02:58]written 0, free lines is 4095 [20:02:59]Connected sock=11 [20:02:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 E2 6D 26 01 B3 E8 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 39 32 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A1 D0 BE D0 BA 20 D0 B1 D0 B5 D1 80 D0 B5 D0 B7 D1 8B 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 73 6C F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2D 4A 00 00 35 04 06 00 66 BA B3 D0 FA 21 18 75 CE FA 0B 02 29 07 [20:02:59]Write to MH i2c: 01 00 00 E0 10 F0 [20:02:59]Write i2c OK [20:02:59]MH_I2C_Read... [20:02:59]Read from MH i2c: 01 [20:02:59]MH_I2C_Read... [20:02:59]Read from MH i2c: 01 07 00 [20:02:59]MH_I2C_Read... [20:02:59]Read from MH i2c: 01 07 00 E0 10 00 00 00 00 00 24 0D 28 [20:02:59]RasterBufferAndPrint [20:02:59]line [20:02:59]line [20:02:59]line [20:02:59]line [20:02:59]line [20:02:59]written 0, free lines is 3370 [20:02:59]MH_Cut [20:02:59]Write to MH i2c: D1 01 00 E7 10 01 C9 [20:02:59]Write i2c OK [20:02:59]MH_I2C_Read... [20:02:59]Read from MH i2c: D1 [20:02:59]MH_I2C_Read... [20:02:59]Read from MH i2c: D1 01 00 [20:02:59]MH_I2C_Read... [20:02:59]Read from MH i2c: D1 01 00 E7 10 00 C8 [20:02:59]Write to MH i2c: 01 00 00 E8 10 F8 [20:02:59]Write i2c OK [20:02:59]MH_I2C_Read... [20:02:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 19 C0 47 00 6F 62 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2D 4A 00 00 F4 03 04 00 D0 15 F4 66 B6 04 01 00 00 5E 0E 55 9C 65 DA 7F 3F [20:02:59]CommunicateWithHost err = 0 [20:02:59]CheckOFDResponse [20:02:59]1017 (14) - 77093643461234 [20:02:59]1041 (16) - 0000000000959456 [20:02:59]1040 (4) - 18989 [20:02:59]1012 (4) - 25.09.2024 13:53 [20:02:59]1206 (1) - 0 [20:02:59]OFD Sender: Remove packet 18989 [20:02:59]ProducePacketName [20:02:59]name=ofd_packets/00018989 [20:02:59]NVStorageDeleteData [20:02:59]OFD Sender: No OFD packet to send [20:02:59]*** Cut start [20:02:59]*** Partial cut [20:02:59]*** CUTSNS_PIN = 1 [20:02:59]*** CUTSNS_PIN = 0 [20:03:00]*** Brake cut motor [20:03:00]Read from MH i2c: 01 [20:03:00]MH_I2C_Read... [20:03:00]*** Stop cut motor [20:03:00]*** Cut end [20:03:00]Read from MH i2c: 01 07 00 [20:03:00]MH_I2C_Read... [20:03:00]Read from MH i2c: 01 07 00 E8 10 00 00 00 00 00 FF 0F 0D [20:03:00]process_action close_receipt done [20:03:00]requested_data is exist [20:03:00]produce_requested_data [20:03:00]requested_item fm.sn is exist - process it [20:03:00]wFMCommunicate request_size=4 [20:03:00]MH_SAM_APDU [20:03:00]CAPDU: 80 11 00 00 [20:03:00]Write to MH i2c: E2 08 00 E9 10 80 11 00 00 00 00 00 00 73 [20:03:00]Write i2c OK [20:03:00]MH_I2C_Read... [20:03:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:03:00]Read from MH i2c: E2 [20:03:00]MH_I2C_Read... [20:03:00]Read from MH i2c: E2 17 00 [20:03:00]MH_I2C_Read... [20:03:00]Read from MH i2c: E2 17 00 E9 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 CC [20:03:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:03:00]wFMCommunicate OK [20:03:00]requested_item fd.num is exist - process it [20:03:00]SAM_PROTO_GetFieldsCounters [20:03:00]wFMCommunicate request_size=4 [20:03:00]MH_SAM_APDU [20:03:00]CAPDU: 80 13 00 00 [20:03:00]Write to MH i2c: E2 08 00 EA 10 80 13 00 00 00 00 00 00 76 [20:03:00]Write i2c OK [20:03:00]MH_I2C_Read... [20:03:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:03:00]Read from MH i2c: E2 [20:03:00]MH_I2C_Read... [20:03:00]Read from MH i2c: E2 62 00 [20:03:00]MH_I2C_Read... [20:03:00]Read from MH i2c: E2 62 00 EA 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 2D 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 9A [20:03:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 2D 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:03:00]wFMCommunicate OK [20:03:00]SAM_PROTO_GetFieldsCounters done [20:03:00]requested_item shift.num is exist - process it [20:03:00]requested_item shift.opened is exist - process it [20:03:00]req_shift_opened [20:03:00]FM_GetShiftState [20:03:00]SAM_PROTO_GetShiftState [20:03:00]wFMCommunicate request_size=4 [20:03:00]MH_SAM_APDU [20:03:00]CAPDU: 80 13 01 00 [20:03:00]Write to MH i2c: E2 08 00 EB 10 80 13 01 00 00 00 00 00 78 [20:03:00]Write i2c OK [20:03:00]MH_I2C_Read... [20:03:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:03:00]Read from MH i2c: E2 [20:03:00]MH_I2C_Read... [20:03:00]Read from MH i2c: E2 0E 00 [20:03:00]MH_I2C_Read... [20:03:00]Read from MH i2c: E2 0E 00 EB 10 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 65 [20:03:00]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [20:03:00]wFMCommunicate OK [20:03:00]SAM_PROTO_GetShiftState done [20:03:00]FM_GetShiftState done [20:03:00]req_shift_opened done [20:03:00]requested_item shift.open_date is exist - process it [20:03:00]req_shift_open_date [20:03:00]req_shift_open_date done [20:03:00]produce_requested_data done [20:03:00]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18989,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [20:03:00]process_action_free close_receipt [20:03:00]json_value_free [20:03:00]json_value_free done [20:03:00]process_json_proto returns [20:03:00]Send response to host [20:03:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18989,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [20:03:00]free response buf [20:03:00]execute_script done [20:03:00]execute_script returns [20:03:00]free content buf [20:03:00]Sock 9.Close socket [20:03:00]Sock 9.Thread stoped [20:03:04]OFD Sender: No OFD packet to send [20:03:09]OFD Sender: No OFD packet to send [20:03:14]OFD Sender: No OFD packet to send [20:03:19]OFD Sender: No OFD packet to send [20:03:24]OFD Sender: No OFD packet to send [20:03:29]OFD Sender: No OFD packet to send [20:03:34]OFD Sender: No OFD packet to send [20:03:39]OFD Sender: No OFD packet to send [20:03:44]OFD Sender: No OFD packet to send [20:03:49]OFD Sender: No OFD packet to send [20:03:54]OFD Sender: No OFD packet to send [20:03:59]OFD Sender: No OFD packet to send [20:04:04]OFD Sender: No OFD packet to send [20:04:09]OFD Sender: No OFD packet to send [20:04:14]OFD Sender: No OFD packet to send [20:04:19]OFD Sender: No OFD packet to send [20:04:24]OFD Sender: No OFD packet to send [20:04:29]OFD Sender: No OFD packet to send [20:04:34]OFD Sender: No OFD packet to send [20:04:39]OFD Sender: No OFD packet to send [20:04:44]OFD Sender: No OFD packet to send [20:04:49]OFD Sender: No OFD packet to send [20:04:54]OFD Sender: No OFD packet to send [20:04:59]OFD Sender: No OFD packet to send [20:05:04]OFD Sender: No OFD packet to send [20:05:09]OFD Sender: No OFD packet to send [20:05:14]OFD Sender: No OFD packet to send [20:05:19]OFD Sender: No OFD packet to send [20:05:24]OFD Sender: No OFD packet to send [20:05:29]OFD Sender: No OFD packet to send [20:05:34]OFD Sender: No OFD packet to send [20:05:39]OFD Sender: No OFD packet to send [20:05:44]OFD Sender: No OFD packet to send [20:05:50]OFD Sender: No OFD packet to send [20:05:55]OFD Sender: No OFD packet to send [20:06:00]OFD Sender: No OFD packet to send [20:06:05]OFD Sender: No OFD packet to send [20:06:10]OFD Sender: No OFD packet to send [20:06:15]OFD Sender: No OFD packet to send [20:06:20]OFD Sender: No OFD packet to send [20:06:25]OFD Sender: No OFD packet to send [20:06:30]OFD Sender: No OFD packet to send [20:06:35]OFD Sender: No OFD packet to send [20:06:40]OFD Sender: No OFD packet to send [20:06:45]OFD Sender: No OFD packet to send [20:06:50]OFD Sender: No OFD packet to send [20:06:55]OFD Sender: No OFD packet to send [20:07:00]OFD Sender: No OFD packet to send [20:07:05]OFD Sender: No OFD packet to send [20:07:10]OFD Sender: No OFD packet to send [20:07:15]OFD Sender: No OFD packet to send [20:07:20]OFD Sender: No OFD packet to send [20:07:25]OFD Sender: No OFD packet to send [20:07:30]OFD Sender: No OFD packet to send [20:07:35]OFD Sender: No OFD packet to send [20:07:40]OFD Sender: No OFD packet to send [20:07:45]OFD Sender: No OFD packet to send [20:07:50]OFD Sender: No OFD packet to send [20:07:55]OFD Sender: No OFD packet to send [20:08:00]OFD Sender: No OFD packet to send [20:08:05]OFD Sender: No OFD packet to send [20:08:10]OFD Sender: No OFD packet to send [20:08:15]OFD Sender: No OFD packet to send [20:08:20]OFD Sender: No OFD packet to send [20:08:25]OFD Sender: No OFD packet to send [20:08:30]OFD Sender: No OFD packet to send [20:08:35]OFD Sender: No OFD packet to send [20:08:40]OFD Sender: No OFD packet to send [20:08:45]OFD Sender: No OFD packet to send [20:08:50]OFD Sender: No OFD packet to send [20:08:55]OFD Sender: No OFD packet to send [20:09:00]OFD Sender: No OFD packet to send [20:09:05]OFD Sender: No OFD packet to send [20:09:10]OFD Sender: No OFD packet to send [20:09:15]OFD Sender: No OFD packet to send [20:09:20]OFD Sender: No OFD packet to send [20:09:25]OFD Sender: No OFD packet to send [20:09:30]OFD Sender: No OFD packet to send [20:09:35]OFD Sender: No OFD packet to send [20:09:40]OFD Sender: No OFD packet to send [20:09:45]OFD Sender: No OFD packet to send [20:09:50]OFD Sender: No OFD packet to send [20:09:55]OFD Sender: No OFD packet to send [20:10:00]OFD Sender: No OFD packet to send [20:10:05]OFD Sender: No OFD packet to send [20:10:10]OFD Sender: No OFD packet to send [20:10:15]OFD Sender: No OFD packet to send [20:10:20]OFD Sender: No OFD packet to send [20:10:25]OFD Sender: No OFD packet to send [20:10:30]OFD Sender: No OFD packet to send [20:10:35]OFD Sender: No OFD packet to send [20:10:40]OFD Sender: No OFD packet to send [20:10:45]OFD Sender: No OFD packet to send [20:10:50]OFD Sender: No OFD packet to send [20:10:55]OFD Sender: No OFD packet to send [20:11:00]OFD Sender: No OFD packet to send [20:11:05]OFD Sender: No OFD packet to send [20:11:10]OFD Sender: No OFD packet to send [20:11:15]OFD Sender: No OFD packet to send [20:11:20]OFD Sender: No OFD packet to send [20:11:25]OFD Sender: No OFD packet to send [20:11:30]OFD Sender: No OFD packet to send [20:11:35]OFD Sender: No OFD packet to send [20:11:40]OFD Sender: No OFD packet to send [20:11:45]OFD Sender: No OFD packet to send [20:11:50]OFD Sender: No OFD packet to send [20:11:55]OFD Sender: No OFD packet to send [20:12:00]OFD Sender: No OFD packet to send [20:12:05]OFD Sender: No OFD packet to send [20:12:10]OFD Sender: No OFD packet to send [20:12:15]OFD Sender: No OFD packet to send [20:12:20]OFD Sender: No OFD packet to send [20:12:25]OFD Sender: No OFD packet to send [20:12:30]OFD Sender: No OFD packet to send [20:12:35]OFD Sender: No OFD packet to send [20:12:40]OFD Sender: No OFD packet to send [20:12:45]OFD Sender: No OFD packet to send [20:12:50]OFD Sender: No OFD packet to send [20:12:55]OFD Sender: No OFD packet to send [20:13:00]OFD Sender: No OFD packet to send [20:13:05]OFD Sender: No OFD packet to send [20:13:10]OFD Sender: No OFD packet to send [20:13:15]OFD Sender: No OFD packet to send [20:13:20]OFD Sender: No OFD packet to send [20:13:25]OFD Sender: No OFD packet to send [20:13:30]OFD Sender: No OFD packet to send [20:13:35]OFD Sender: No OFD packet to send [20:13:40]OFD Sender: No OFD packet to send [20:13:45]OFD Sender: No OFD packet to send [20:13:50]OFD Sender: No OFD packet to send [20:13:55]OFD Sender: No OFD packet to send [20:14:00]OFD Sender: No OFD packet to send [20:14:05]OFD Sender: No OFD packet to send [20:14:10]OFD Sender: No OFD packet to send [20:14:15]OFD Sender: No OFD packet to send [20:14:20]OFD Sender: No OFD packet to send [20:14:25]OFD Sender: No OFD packet to send [20:14:30]OFD Sender: No OFD packet to send [20:14:35]OFD Sender: No OFD packet to send [20:14:40]OFD Sender: No OFD packet to send [20:14:45]OFD Sender: No OFD packet to send [20:14:50]OFD Sender: No OFD packet to send [20:14:55]OFD Sender: No OFD packet to send [20:15:00]OFD Sender: No OFD packet to send [20:15:05]OFD Sender: No OFD packet to send [20:15:10]OFD Sender: No OFD packet to send [20:15:15]OFD Sender: No OFD packet to send [20:15:20]OFD Sender: No OFD packet to send [20:15:25]OFD Sender: No OFD packet to send [20:15:30]OFD Sender: No OFD packet to send [20:15:35]OFD Sender: No OFD packet to send [20:15:40]OFD Sender: No OFD packet to send [20:15:45]OFD Sender: No OFD packet to send [20:15:50]OFD Sender: No OFD packet to send [20:15:55]OFD Sender: No OFD packet to send [20:16:00]OFD Sender: No OFD packet to send [20:16:05]OFD Sender: No OFD packet to send [20:16:10]OFD Sender: No OFD packet to send [20:16:15]OFD Sender: No OFD packet to send [20:16:20]OFD Sender: No OFD packet to send [20:16:21]accept exits with 8 [20:16:21]New connection [20:16:21]New thread 3066621284 created [20:16:21]Thread 3066764644 joined [20:16:21]Waiting for new connection... [20:16:21] Sock 8.Parse request [20:16:21]Sock 8.Check first char [20:16:21]Sock 8.First char is OK [20:16:21]request: POST /json_proto HTTP/1.0 [20:16:21]Method: POST [20:16:21]URL: /json_proto [20:16:21]Method is POST - this is cgi request [20:16:21]url: /json_proto [20:16:21]query_string will be loaded in cgi processing [20:16:21]execute_cgi json_proto POST (null) [20:16:21]execute_cgi path=json_proto method=POST [20:16:21]POST find Content-Length [20:16:21]Host: 172.17.62.196:8080 [20:16:21]Content-Length: 674 [20:16:21]Content-Type: application/json [20:16:21] [20:16:21]POST finish read [20:16:21]Found Content-Length = 674 [20:16:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16910", "tax_sys" : 0, "items" : [ { "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:16:21]execute_script... [20:16:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16910", "tax_sys" : 0, "items" : [ { "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:16:21]POST & json_proto [20:16:21]process_json_proto [20:16:21]json parsed OK: [20:16:21]protocol is kg_v1.0 [20:16:21]action value=close_receipt [20:16:21]process_action close_receipt [20:16:21]cmd_close_receipt [20:16:21]MH_GetDate [20:16:21]Write to MH i2c: F0 00 00 EC 10 EB [20:16:21]Write i2c OK [20:16:21]MH_I2C_Read... [20:16:21]Read from MH i2c: F0 [20:16:21]MH_I2C_Read... [20:16:21]Read from MH i2c: F0 09 00 [20:16:21]MH_I2C_Read... [20:16:21]Read from MH i2c: F0 09 00 EC 10 00 98 6F F4 66 CE CC 0E 66 63 [20:16:21]GetLastDocTimeStamp 1727294579 [20:16:21]current date 1727295384 [20:16:21]FM_GetShiftState [20:16:21]SAM_PROTO_GetShiftState [20:16:21]wFMCommunicate request_size=4 [20:16:21]MH_SAM_APDU [20:16:21]CAPDU: 80 13 01 00 [20:16:21]Write to MH i2c: E2 08 00 ED 10 80 13 01 00 00 00 00 00 7A [20:16:21]Write i2c OK [20:16:21]MH_I2C_Read... [20:16:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:16:21]Read from MH i2c: E2 [20:16:21]MH_I2C_Read... [20:16:21]Read from MH i2c: E2 0E 00 [20:16:21]MH_I2C_Read... [20:16:21]Read from MH i2c: E2 0E 00 ED 10 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 67 [20:16:21]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [20:16:21]wFMCommunicate OK [20:16:21]SAM_PROTO_GetShiftState done [20:16:21]FM_GetShiftState done [20:16:21]opened in 1727223091 [20:16:21]opened+sec_in_day 1727309491 [20:16:21]quantity*price = 10500 [20:16:21]sum+1 = 10501 [20:16:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 68 25.09.2024 20:16 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18990 ФПД: 104689848655531 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T201624&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18990&fm=104689848655531&tin=02508201610067®Number=0000000000152968&sum=10500 0 [20:16:22]StoreToDocumentArchive [20:16:22]shift 183 fd 18990 [20:16:22]save to /storage/0183/doc_00018990 [20:16:22]save last doc name /storage/0183/doc_00018990 to /storage/kkm_last_doc_name [20:16:22]save OK [20:16:22]Clear old archive folders... [20:16:22]ProcessDocumentItem done err = 0, tmpTLVsize=287 [20:16:22]tlvbuf is 016507E0 [20:16:22]SAM_PROTO_ClearQueue [20:16:22]wFMCommunicate request_size=4 [20:16:22]MH_SAM_APDU [20:16:22]CAPDU: 80 09 00 00 [20:16:22]Write to MH i2c: E2 08 00 FA 10 80 09 00 00 00 00 00 00 7C [20:16:22]Write i2c OK [20:16:22]MH_I2C_Read... [20:16:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:16:22]Read from MH i2c: E2 [20:16:22]MH_I2C_Read... [20:16:22]Read from MH i2c: E2 03 00 [20:16:22]MH_I2C_Read... [20:16:22]Read from MH i2c: E2 03 00 FA 10 00 90 00 7E [20:16:22]RAPDU: 90 00 [20:16:22]wFMCommunicate OK [20:16:22]SAM_PROTO_ClearQueue done [20:16:22]KKMCreateOFDPacket [20:16:22]OFDProtocolAddRootSTLVToBuf [20:16:22]FM_MakeSignedData [20:16:22]FM_MakeSignedData [20:16:22]SAM_PROTO_SignData [20:16:22]wFMCommunicate request_size=4 [20:16:22]MH_SAM_APDU [20:16:22]CAPDU: 80 0D 01 02 [20:16:22]Write to MH i2c: E2 08 00 FB 10 80 0D 01 02 00 00 00 00 84 [20:16:22]Write i2c OK [20:16:22]MH_I2C_Read... [20:16:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:16:23]Read from MH i2c: E2 [20:16:23]MH_I2C_Read... [20:16:23]Read from MH i2c: E2 03 00 [20:16:23]MH_I2C_Read... [20:16:23]Read from MH i2c: E2 03 00 FB 10 00 90 00 7F [20:16:23]RAPDU: 90 00 [20:16:23]wFMCommunicate OK [20:16:23]wFMCommunicate request_size=255 [20:16:23]MH_SAM_APDU [20:16:23]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 98 6F F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 [20:16:23]Write to MH i2c: E2 02 01 FC 10 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 98 6F F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 00 00 B2 [20:16:23]Write i2c OK [20:16:23]MH_I2C_Read... [20:16:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:16:23]Read from MH i2c: E2 [20:16:23]MH_I2C_Read... [20:16:23]Read from MH i2c: E2 03 00 [20:16:23]MH_I2C_Read... [20:16:23]Read from MH i2c: E2 03 00 FC 10 00 90 00 80 [20:16:23]RAPDU: 90 00 [20:16:23]wFMCommunicate OK [20:16:23]wFMCommunicate request_size=46 [20:16:23]MH_SAM_APDU [20:16:23]CAPDU: 80 0D 02 02 29 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2E 4A 00 00 35 04 06 00 5F 37 01 3D 9E AB [20:16:23]Write to MH i2c: E2 31 00 FD 10 80 0D 02 02 29 00 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2E 4A 00 00 35 04 06 00 5F 37 01 3D 9E AB 00 00 B7 [20:16:23]Write i2c OK [20:16:23]MH_I2C_Read... [20:16:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:16:23]Read from MH i2c: E2 [20:16:23]MH_I2C_Read... [20:16:23]Read from MH i2c: E2 03 00 [20:16:23]MH_I2C_Read... [20:16:23]Read from MH i2c: E2 03 00 FD 10 00 90 00 81 [20:16:23]RAPDU: 90 00 [20:16:23]wFMCommunicate OK [20:16:23]wFMCommunicate request_size=4 [20:16:23]MH_SAM_APDU [20:16:23]CAPDU: 80 0D 03 02 [20:16:23]Write to MH i2c: E2 08 00 FE 10 80 0D 03 02 00 00 00 00 89 [20:16:23]Write i2c OK [20:16:23]MH_I2C_Read... [20:16:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:16:23]Read from MH i2c: E2 [20:16:23]MH_I2C_Read... [20:16:23]Read from MH i2c: E2 0B 00 [20:16:23]MH_I2C_Read... [20:16:23]Read from MH i2c: E2 0B 00 FE 10 00 4B 7F 68 42 65 31 CD EA 90 00 4B [20:16:23]RAPDU: 4B 7F 68 42 65 31 CD EA 90 00 [20:16:23]wFMCommunicate OK [20:16:23]SAM_PROTO_SignData done [20:16:23]FM_MakeSignedData done [20:16:23]CreateOFDProtocolMessage [20:16:23]wFMCommunicate request_size=4 [20:16:23]MH_SAM_APDU [20:16:23]CAPDU: 80 11 00 00 [20:16:23]Write to MH i2c: E2 08 00 FF 10 80 11 00 00 00 00 00 00 89 [20:16:23]Write i2c OK [20:16:23]MH_I2C_Read... [20:16:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:16:23]Read from MH i2c: E2 [20:16:23]MH_I2C_Read... [20:16:23]Read from MH i2c: E2 17 00 [20:16:23]MH_I2C_Read... [20:16:23]Read from MH i2c: E2 17 00 FF 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 E2 [20:16:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:16:23]wFMCommunicate OK [20:16:23]CreateOFDProtocolMessage done [20:16:23]OFDSenderStorePacket 18990 [20:16:23]StoreOFDPacket docnum=18990 [20:16:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 33 01 00 00 AD 0F 2B 01 D0 C7 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 98 6F F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2E 4A 00 00 35 04 06 00 5F 37 01 3D 9E AB 4B 7F 68 42 65 31 CD EA [20:16:23]CheckFolder [20:16:23]dirname=/storage/ofd_packets [20:16:23]CheckFolder done [20:16:23]ProducePacketName [20:16:23]name=ofd_packets/00018990 [20:16:23]NVStorageSaveData ofd_packets/00018990 [20:16:23]File name is /storage/ofd_packets/00018990 [20:16:23]Write 337 bytes [20:16:23]NVStorageSaveData done [20:16:23]OFDSenderStorePacket done [20:16:23]KKMCreateOFDPacket done [20:16:23]NVStorageSaveData kkm_last_timestamp [20:16:23]File name is /storage/kkm_last_timestamp [20:16:23]Write 4 bytes [20:16:23]NVStorageSaveData done [20:16:23]ExternCall_PrintAddStr [20:16:23]wPrintStart [20:16:23]Write to MH i2c: 01 00 00 00 11 11 [20:16:23]Write i2c OK [20:16:23]MH_I2C_Read... [20:16:23]Read from MH i2c: 01 [20:16:23]MH_I2C_Read... [20:16:23]Read from MH i2c: 01 07 00 [20:16:23]MH_I2C_Read... [20:16:23]Read from MH i2c: 01 07 00 00 11 00 00 00 00 00 FF 0F 26 [20:16:23]RasterBufferAndPrint [20:16:23]line Счет N : (3)16910 [20:16:23]line ИНН: 02508201610067 [20:16:23]line Контрольно-Кассовый Чек [20:16:23]line ПРОДАЖА [20:16:23]line Товар: 5449000189332 [20:16:23]line Холодный чай Fuse персик 1л [20:16:23]line 1.000 * 105.00 [20:16:23]line = 105.00 [20:16:23]line НДС 12% НСП 1% [20:16:23]line > о реализуемом товаре [20:16:23]line ИТОГО: 105.00 [20:16:23]line НСП 1% : 0.93 [20:16:23]line НДС 12% : 11.15 [20:16:23]line Наличными: 105.00 [20:16:23]line Безнал.: 0.00 [20:16:23]line Место: АЗС № 176 "Партнер Нефть" [20:16:23]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [20:16:23]line СНО: Общий режим [20:16:23]line Чек 68 25.09.2024 20:16 [20:16:23]line Смена: 183 ФФД: 1.0 [20:16:23]line ЗНМ: 0300000010 [20:16:23]line РНМ: 0000000000152968 [20:16:23]line Версия ККМ: v1.0 [20:16:23]line ФМ: 0000000000959456 [20:16:23]line ФД: 18990 [20:16:23]line ФПД: 104689848655531 [20:16:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T201624&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18990&fm=104689848655531&tin=02508201610067®Number=0000000000152968&sum=10500 [20:16:23]line 0 [20:16:23]OFD Sender: Processing packet 18990 [packets to send 7, broken 6] [20:16:23]ProducePacketName [20:16:23]name=ofd_packets/00018990 [20:16:23]OFD Sender: To server: pG, [20:16:23]CommunicateWithHost lk.salyk.kg:30040 [20:16:23]ConnectInit lk.salyk.kg [20:16:23]written 0, free lines is 4095 [20:16:24]Connected sock=10 [20:16:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 33 01 00 00 AD 0F 2B 01 D0 C7 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 98 6F F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2E 4A 00 00 35 04 06 00 5F 37 01 3D 9E AB 4B 7F 68 42 65 31 CD EA [20:16:24]Write to MH i2c: 01 00 00 28 11 39 [20:16:24]Write i2c OK [20:16:24]MH_I2C_Read... [20:16:24]Read from MH i2c: 01 [20:16:24]MH_I2C_Read... [20:16:24]Read from MH i2c: 01 07 00 [20:16:24]MH_I2C_Read... [20:16:24]Read from MH i2c: 01 07 00 28 11 00 00 00 00 00 2D 0D 7A [20:16:24]RasterBufferAndPrint [20:16:24]line [20:16:24]line [20:16:24]line [20:16:24]line [20:16:24]line [20:16:24]written 0, free lines is 3382 [20:16:24]MH_Cut [20:16:24]Write to MH i2c: D1 01 00 2F 11 01 12 [20:16:24]Write i2c OK [20:16:24]MH_I2C_Read... [20:16:24]Read from MH i2c: D1 [20:16:24]MH_I2C_Read... [20:16:24]Read from MH i2c: D1 01 00 [20:16:24]MH_I2C_Read... [20:16:24]Read from MH i2c: D1 01 00 2F 11 00 11 [20:16:24]Write to MH i2c: 01 00 00 30 11 41 [20:16:24]Write i2c OK [20:16:24]MH_I2C_Read... [20:16:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 50 58 47 00 75 E8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2E 4A 00 00 F4 03 04 00 F5 18 F4 66 B6 04 01 00 00 61 A7 EF 93 27 F8 A6 CA [20:16:24]CommunicateWithHost err = 0 [20:16:24]CheckOFDResponse [20:16:24]1017 (14) - 77093643461234 [20:16:24]1041 (16) - 0000000000959456 [20:16:24]1040 (4) - 18990 [20:16:24]1012 (4) - 25.09.2024 14:06 [20:16:24]1206 (1) - 0 [20:16:24]OFD Sender: Remove packet 18990 [20:16:24]ProducePacketName [20:16:24]name=ofd_packets/00018990 [20:16:24]NVStorageDeleteData [20:16:24]OFD Sender: No OFD packet to send [20:16:24]*** Cut start [20:16:24]*** Partial cut [20:16:24]*** CUTSNS_PIN = 1 [20:16:24]*** CUTSNS_PIN = 0 [20:16:25]*** Brake cut motor [20:16:25]Read from MH i2c: 01 [20:16:25]MH_I2C_Read... [20:16:25]*** Stop cut motor [20:16:25]*** Cut end [20:16:25]Read from MH i2c: 01 07 00 [20:16:25]MH_I2C_Read... [20:16:25]Read from MH i2c: 01 07 00 30 11 00 00 00 00 00 FF 0F 56 [20:16:25]process_action close_receipt done [20:16:25]requested_data is exist [20:16:25]produce_requested_data [20:16:25]requested_item fm.sn is exist - process it [20:16:25]wFMCommunicate request_size=4 [20:16:25]MH_SAM_APDU [20:16:25]CAPDU: 80 11 00 00 [20:16:25]Write to MH i2c: E2 08 00 31 11 80 11 00 00 00 00 00 00 BC [20:16:25]Write i2c OK [20:16:25]MH_I2C_Read... [20:16:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:16:25]Read from MH i2c: E2 [20:16:25]MH_I2C_Read... [20:16:25]Read from MH i2c: E2 17 00 [20:16:25]MH_I2C_Read... [20:16:25]Read from MH i2c: E2 17 00 31 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 15 [20:16:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:16:25]wFMCommunicate OK [20:16:25]requested_item fd.num is exist - process it [20:16:25]SAM_PROTO_GetFieldsCounters [20:16:25]wFMCommunicate request_size=4 [20:16:25]MH_SAM_APDU [20:16:25]CAPDU: 80 13 00 00 [20:16:25]Write to MH i2c: E2 08 00 32 11 80 13 00 00 00 00 00 00 BF [20:16:25]Write i2c OK [20:16:25]MH_I2C_Read... [20:16:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:16:25]Read from MH i2c: E2 [20:16:25]MH_I2C_Read... [20:16:25]Read from MH i2c: E2 62 00 [20:16:25]MH_I2C_Read... [20:16:25]Read from MH i2c: E2 62 00 32 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 2E 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 E7 [20:16:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 2E 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:16:25]wFMCommunicate OK [20:16:25]SAM_PROTO_GetFieldsCounters done [20:16:25]requested_item shift.num is exist - process it [20:16:25]requested_item shift.opened is exist - process it [20:16:25]req_shift_opened [20:16:25]FM_GetShiftState [20:16:25]SAM_PROTO_GetShiftState [20:16:25]wFMCommunicate request_size=4 [20:16:25]MH_SAM_APDU [20:16:25]CAPDU: 80 13 01 00 [20:16:25]Write to MH i2c: E2 08 00 33 11 80 13 01 00 00 00 00 00 C1 [20:16:25]Write i2c OK [20:16:25]MH_I2C_Read... [20:16:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:16:25]Read from MH i2c: E2 [20:16:25]MH_I2C_Read... [20:16:25]Read from MH i2c: E2 0E 00 [20:16:25]MH_I2C_Read... [20:16:25]Read from MH i2c: E2 0E 00 33 11 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 AE [20:16:25]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [20:16:25]wFMCommunicate OK [20:16:25]SAM_PROTO_GetShiftState done [20:16:25]FM_GetShiftState done [20:16:25]req_shift_opened done [20:16:25]requested_item shift.open_date is exist - process it [20:16:25]req_shift_open_date [20:16:25]req_shift_open_date done [20:16:25]produce_requested_data done [20:16:25]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18990,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [20:16:25]process_action_free close_receipt [20:16:25]json_value_free [20:16:25]json_value_free done [20:16:25]process_json_proto returns [20:16:25]Send response to host [20:16:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18990,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [20:16:25]free response buf [20:16:25]execute_script done [20:16:25]execute_script returns [20:16:25]free content buf [20:16:25]Sock 8.Close socket [20:16:25]Sock 8.Thread stoped [20:16:29]OFD Sender: No OFD packet to send [20:16:34]OFD Sender: No OFD packet to send [20:16:39]OFD Sender: No OFD packet to send [20:16:44]OFD Sender: No OFD packet to send [20:16:49]OFD Sender: No OFD packet to send [20:16:54]OFD Sender: No OFD packet to send [20:16:59]OFD Sender: No OFD packet to send [20:17:04]OFD Sender: No OFD packet to send [20:17:09]OFD Sender: No OFD packet to send [20:17:14]OFD Sender: No OFD packet to send [20:17:19]OFD Sender: No OFD packet to send [20:17:24]OFD Sender: No OFD packet to send [20:17:29]OFD Sender: No OFD packet to send [20:17:34]OFD Sender: No OFD packet to send [20:17:39]OFD Sender: No OFD packet to send [20:17:44]OFD Sender: No OFD packet to send [20:17:49]OFD Sender: No OFD packet to send [20:17:54]OFD Sender: No OFD packet to send [20:17:59]OFD Sender: No OFD packet to send [20:18:04]OFD Sender: No OFD packet to send [20:18:09]OFD Sender: No OFD packet to send [20:18:14]OFD Sender: No OFD packet to send [20:18:19]OFD Sender: No OFD packet to send [20:18:24]OFD Sender: No OFD packet to send [20:18:29]OFD Sender: No OFD packet to send [20:18:34]OFD Sender: No OFD packet to send [20:18:39]OFD Sender: No OFD packet to send [20:18:44]OFD Sender: No OFD packet to send [20:18:49]OFD Sender: No OFD packet to send [20:18:54]OFD Sender: No OFD packet to send [20:18:59]OFD Sender: No OFD packet to send [20:19:04]OFD Sender: No OFD packet to send [20:19:09]OFD Sender: No OFD packet to send [20:19:15]OFD Sender: No OFD packet to send [20:19:20]OFD Sender: No OFD packet to send [20:19:25]OFD Sender: No OFD packet to send [20:19:30]OFD Sender: No OFD packet to send [20:19:35]OFD Sender: No OFD packet to send [20:19:40]OFD Sender: No OFD packet to send [20:19:45]OFD Sender: No OFD packet to send [20:19:50]OFD Sender: No OFD packet to send [20:19:55]OFD Sender: No OFD packet to send [20:20:00]OFD Sender: No OFD packet to send [20:20:05]OFD Sender: No OFD packet to send [20:20:10]OFD Sender: No OFD packet to send [20:20:15]OFD Sender: No OFD packet to send [20:20:20]OFD Sender: No OFD packet to send [20:20:25]OFD Sender: No OFD packet to send [20:20:30]OFD Sender: No OFD packet to send [20:20:35]OFD Sender: No OFD packet to send [20:20:40]OFD Sender: No OFD packet to send [20:20:45]OFD Sender: No OFD packet to send [20:20:49]accept exits with 9 [20:20:49]New connection [20:20:49]New thread 3066764644 created [20:20:49]Thread 3066621284 joined [20:20:49]Waiting for new connection... [20:20:49] Sock 9.Parse request [20:20:49]Sock 9.Check first char [20:20:49]Sock 9.First char is OK [20:20:49]request: POST /json_proto HTTP/1.0 [20:20:49]Method: POST [20:20:49]URL: /json_proto [20:20:49]Method is POST - this is cgi request [20:20:49]url: /json_proto [20:20:49]query_string will be loaded in cgi processing [20:20:49]execute_cgi json_proto POST (null) [20:20:49]execute_cgi path=json_proto method=POST [20:20:49]POST find Content-Length [20:20:49]Host: 172.17.62.196:8080 [20:20:49]Content-Length: 671 [20:20:49]Content-Type: application/json [20:20:49] [20:20:49]POST finish read [20:20:49]Found Content-Length = 671 [20:20:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16911", "tax_sys" : 0, "items" : [ { "code": "4620006995702", "name": "\u0412\u043E\u0434\u043A\u0430 \u0417\u0435\u043B\u0435\u043D\u0430\u044F \u041C\u0430\u0440\u043A\u0430 0,1\u043B", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:20:49]execute_script... [20:20:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16911", "tax_sys" : 0, "items" : [ { "code": "4620006995702", "name": "\u0412\u043E\u0434\u043A\u0430 \u0417\u0435\u043B\u0435\u043D\u0430\u044F \u041C\u0430\u0440\u043A\u0430 0,1\u043B", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:20:49]POST & json_proto [20:20:49]process_json_proto [20:20:49]json parsed OK: [20:20:49]protocol is kg_v1.0 [20:20:49]action value=close_receipt [20:20:49]process_action close_receipt [20:20:49]cmd_close_receipt [20:20:49]MH_GetDate [20:20:49]Write to MH i2c: F0 00 00 34 11 34 [20:20:49]Write i2c OK [20:20:49]MH_I2C_Read... [20:20:49]Read from MH i2c: F0 [20:20:49]MH_I2C_Read... [20:20:49]Read from MH i2c: F0 09 00 [20:20:49]MH_I2C_Read... [20:20:49]Read from MH i2c: F0 09 00 34 11 00 A4 70 F4 66 CE CC 0E 66 B9 [20:20:49]GetLastDocTimeStamp 1727295384 [20:20:49]current date 1727295652 [20:20:49]FM_GetShiftState [20:20:49]SAM_PROTO_GetShiftState [20:20:49]wFMCommunicate request_size=4 [20:20:49]MH_SAM_APDU [20:20:49]CAPDU: 80 13 01 00 [20:20:49]Write to MH i2c: E2 08 00 35 11 80 13 01 00 00 00 00 00 C3 [20:20:49]Write i2c OK [20:20:49]MH_I2C_Read... [20:20:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:20:49]Read from MH i2c: E2 [20:20:49]MH_I2C_Read... [20:20:49]Read from MH i2c: E2 0E 00 [20:20:49]MH_I2C_Read... [20:20:49]Read from MH i2c: E2 0E 00 35 11 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 B0 [20:20:49]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [20:20:49]wFMCommunicate OK [20:20:49]SAM_PROTO_GetShiftState done [20:20:49]FM_GetShiftState done [20:20:49]opened in 1727223091 [20:20:49]opened+sec_in_day 1727309491 [20:20:49]quantity*price = 14000 [20:20:49]sum+1 = 14001 [20:20:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 69 25.09.2024 20:20 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18991 ФПД: 114025215076972 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T202052&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18991&fm=114025215076972&tin=02508201610067®Number=0000000000152968&sum=14000 0 [20:20:50]StoreToDocumentArchive [20:20:50]shift 183 fd 18991 [20:20:50]save to /storage/0183/doc_00018991 [20:20:50]save last doc name /storage/0183/doc_00018991 to /storage/kkm_last_doc_name [20:20:50]save OK [20:20:50]Clear old archive folders... [20:20:50]ProcessDocumentItem done err = 0, tmpTLVsize=284 [20:20:50]tlvbuf is 01650430 [20:20:50]SAM_PROTO_ClearQueue [20:20:50]wFMCommunicate request_size=4 [20:20:50]MH_SAM_APDU [20:20:50]CAPDU: 80 09 00 00 [20:20:50]Write to MH i2c: E2 08 00 42 11 80 09 00 00 00 00 00 00 C5 [20:20:50]Write i2c OK [20:20:50]MH_I2C_Read... [20:20:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:20:50]Read from MH i2c: E2 [20:20:50]MH_I2C_Read... [20:20:50]Read from MH i2c: E2 03 00 [20:20:50]MH_I2C_Read... [20:20:50]Read from MH i2c: E2 03 00 42 11 00 90 00 C7 [20:20:50]RAPDU: 90 00 [20:20:50]wFMCommunicate OK [20:20:50]SAM_PROTO_ClearQueue done [20:20:50]KKMCreateOFDPacket [20:20:50]OFDProtocolAddRootSTLVToBuf [20:20:50]FM_MakeSignedData [20:20:50]FM_MakeSignedData [20:20:50]SAM_PROTO_SignData [20:20:50]wFMCommunicate request_size=4 [20:20:50]MH_SAM_APDU [20:20:50]CAPDU: 80 0D 01 02 [20:20:50]Write to MH i2c: E2 08 00 43 11 80 0D 01 02 00 00 00 00 CD [20:20:50]Write i2c OK [20:20:50]MH_I2C_Read... [20:20:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:20:50]Read from MH i2c: E2 [20:20:50]MH_I2C_Read... [20:20:50]Read from MH i2c: E2 03 00 [20:20:50]MH_I2C_Read... [20:20:50]Read from MH i2c: E2 03 00 43 11 00 90 00 C8 [20:20:50]RAPDU: 90 00 [20:20:50]wFMCommunicate OK [20:20:50]wFMCommunicate request_size=255 [20:20:50]MH_SAM_APDU [20:20:50]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 35 37 30 32 06 04 2A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 B5 D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 9C D0 B0 D1 80 D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 A4 70 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 [20:20:50]Write to MH i2c: E2 02 01 44 11 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 35 37 30 32 06 04 2A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 B5 D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 9C D0 B0 D1 80 D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 A4 70 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 00 00 BC [20:20:50]Write i2c OK [20:20:50]MH_I2C_Read... [20:20:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:20:50]Read from MH i2c: E2 [20:20:50]MH_I2C_Read... [20:20:50]Read from MH i2c: E2 03 00 [20:20:50]MH_I2C_Read... [20:20:50]Read from MH i2c: E2 03 00 44 11 00 90 00 C9 [20:20:50]RAPDU: 90 00 [20:20:50]wFMCommunicate OK [20:20:50]wFMCommunicate request_size=43 [20:20:50]MH_SAM_APDU [20:20:50]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2F 4A 00 00 35 04 06 00 67 B4 90 70 AA 6C [20:20:50]Write to MH i2c: E2 2E 00 45 11 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2F 4A 00 00 35 04 06 00 67 B4 90 70 AA 6C 00 00 68 [20:20:50]Write i2c OK [20:20:50]MH_I2C_Read... [20:20:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:20:50]Read from MH i2c: E2 [20:20:50]MH_I2C_Read... [20:20:50]Read from MH i2c: E2 03 00 [20:20:50]MH_I2C_Read... [20:20:50]Read from MH i2c: E2 03 00 45 11 00 90 00 CA [20:20:50]RAPDU: 90 00 [20:20:50]wFMCommunicate OK [20:20:50]wFMCommunicate request_size=4 [20:20:50]MH_SAM_APDU [20:20:50]CAPDU: 80 0D 03 02 [20:20:50]Write to MH i2c: E2 08 00 46 11 80 0D 03 02 00 00 00 00 D2 [20:20:50]Write i2c OK [20:20:50]MH_I2C_Read... [20:20:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:20:50]Read from MH i2c: E2 [20:20:50]MH_I2C_Read... [20:20:50]Read from MH i2c: E2 0B 00 [20:20:50]MH_I2C_Read... [20:20:50]Read from MH i2c: E2 0B 00 46 11 00 A3 10 9C 82 A5 9C 4B F0 90 00 20 [20:20:50]RAPDU: A3 10 9C 82 A5 9C 4B F0 90 00 [20:20:50]wFMCommunicate OK [20:20:50]SAM_PROTO_SignData done [20:20:50]FM_MakeSignedData done [20:20:50]CreateOFDProtocolMessage [20:20:50]wFMCommunicate request_size=4 [20:20:50]MH_SAM_APDU [20:20:50]CAPDU: 80 11 00 00 [20:20:50]Write to MH i2c: E2 08 00 47 11 80 11 00 00 00 00 00 00 D2 [20:20:50]Write i2c OK [20:20:50]MH_I2C_Read... [20:20:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:20:50]Read from MH i2c: E2 [20:20:50]MH_I2C_Read... [20:20:50]Read from MH i2c: E2 17 00 [20:20:50]MH_I2C_Read... [20:20:50]Read from MH i2c: E2 17 00 47 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 2B [20:20:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:20:50]wFMCommunicate OK [20:20:50]CreateOFDProtocolMessage done [20:20:50]OFDSenderStorePacket 18991 [20:20:50]StoreOFDPacket docnum=18991 [20:20:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 30 01 00 00 81 57 28 01 88 B5 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 35 37 30 32 06 04 2A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 B5 D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 9C D0 B0 D1 80 D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 A4 70 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2F 4A 00 00 35 04 06 00 67 B4 90 70 AA 6C A3 10 9C 82 A5 9C 4B F0 [20:20:50]CheckFolder [20:20:50]dirname=/storage/ofd_packets [20:20:50]CheckFolder done [20:20:50]ProducePacketName [20:20:50]name=ofd_packets/00018991 [20:20:50]NVStorageSaveData ofd_packets/00018991 [20:20:50]File name is /storage/ofd_packets/00018991 [20:20:50]Write 334 bytes [20:20:50]NVStorageSaveData done [20:20:50]OFDSenderStorePacket done [20:20:50]KKMCreateOFDPacket done [20:20:50]NVStorageSaveData kkm_last_timestamp [20:20:50]File name is /storage/kkm_last_timestamp [20:20:50]Write 4 bytes [20:20:50]NVStorageSaveData done [20:20:50]ExternCall_PrintAddStr [20:20:50]wPrintStart [20:20:50]Write to MH i2c: 01 00 00 48 11 59 [20:20:50]Write i2c OK [20:20:50]MH_I2C_Read... [20:20:50]Read from MH i2c: 01 [20:20:50]MH_I2C_Read... [20:20:50]Read from MH i2c: 01 07 00 [20:20:50]MH_I2C_Read... [20:20:50]Read from MH i2c: 01 07 00 48 11 00 00 00 00 00 FF 0F 6E [20:20:50]RasterBufferAndPrint [20:20:50]line Счет N : (3)16911 [20:20:50]line ИНН: 02508201610067 [20:20:50]line Контрольно-Кассовый Чек [20:20:50]line ПРОДАЖА [20:20:50]line Товар: 4620006995702 [20:20:50]line Водка Зеленая Марка 0,1л [20:20:50]line 1.000 * 140.00 [20:20:50]line = 140.00 [20:20:50]line НДС 12% НСП 1% [20:20:50]line > о реализуемом товаре [20:20:50]line ИТОГО: 140.00 [20:20:50]line НСП 1% : 1.24 [20:20:50]line НДС 12% : 14.87 [20:20:50]line Наличными: 140.00 [20:20:50]line Безнал.: 0.00 [20:20:50]line Место: АЗС № 176 "Партнер Нефть" [20:20:50]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [20:20:50]line СНО: Общий режим [20:20:50]line Чек 69 25.09.2024 20:20 [20:20:50]line Смена: 183 ФФД: 1.0 [20:20:50]line ЗНМ: 0300000010 [20:20:50]line РНМ: 0000000000152968 [20:20:50]line Версия ККМ: v1.0 [20:20:50]line ФМ: 0000000000959456 [20:20:50]line ФД: 18991 [20:20:50]line ФПД: 114025215076972 [20:20:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T202052&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18991&fm=114025215076972&tin=02508201610067®Number=0000000000152968&sum=14000 [20:20:50]line 0 [20:20:50]written 0, free lines is 4095 [20:20:50]OFD Sender: Processing packet 18991 [packets to send 7, broken 6] [20:20:50]ProducePacketName [20:20:50]name=ofd_packets/00018991 [20:20:50]OFD Sender: To server: pG, [20:20:50]CommunicateWithHost lk.salyk.kg:30040 [20:20:50]ConnectInit lk.salyk.kg [20:20:51]Connected sock=10 [20:20:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 30 01 00 00 81 57 28 01 88 B5 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 35 37 30 32 06 04 2A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 B5 D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 9C D0 B0 D1 80 D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 A4 70 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2F 4A 00 00 35 04 06 00 67 B4 90 70 AA 6C A3 10 9C 82 A5 9C 4B F0 [20:20:51]Write to MH i2c: 01 00 00 70 11 81 [20:20:51]Write i2c OK [20:20:51]MH_I2C_Read... [20:20:51]Read from MH i2c: 01 [20:20:51]MH_I2C_Read... [20:20:51]Read from MH i2c: 01 07 00 [20:20:51]MH_I2C_Read... [20:20:51]Read from MH i2c: 01 07 00 70 11 00 00 00 00 00 1F 0D B4 [20:20:51]RasterBufferAndPrint [20:20:51]line [20:20:51]line [20:20:51]line [20:20:51]line [20:20:51]line [20:20:51]written 0, free lines is 3368 [20:20:51]MH_Cut [20:20:51]Write to MH i2c: D1 01 00 77 11 01 5A [20:20:51]Write i2c OK [20:20:51]MH_I2C_Read... [20:20:51]Read from MH i2c: D1 [20:20:51]MH_I2C_Read... [20:20:51]Read from MH i2c: D1 01 00 [20:20:51]MH_I2C_Read... [20:20:51]Read from MH i2c: D1 01 00 77 11 00 59 [20:20:51]Write to MH i2c: 01 00 00 78 11 89 [20:20:51]Write i2c OK [20:20:51]MH_I2C_Read... [20:20:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 43 CC 47 00 08 36 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 2F 4A 00 00 F4 03 04 00 00 1A F4 66 B6 04 01 00 00 5D A0 17 85 7B EE 82 8D [20:20:51]CommunicateWithHost err = 0 [20:20:51]CheckOFDResponse [20:20:51]1017 (14) - 77093643461234 [20:20:51]1041 (16) - 0000000000959456 [20:20:51]1040 (4) - 18991 [20:20:51]1012 (4) - 25.09.2024 14:11 [20:20:51]1206 (1) - 0 [20:20:51]OFD Sender: Remove packet 18991 [20:20:51]ProducePacketName [20:20:51]name=ofd_packets/00018991 [20:20:51]NVStorageDeleteData [20:20:51]OFD Sender: No OFD packet to send [20:20:51]*** Cut start [20:20:51]*** Partial cut [20:20:51]*** CUTSNS_PIN = 1 [20:20:51]*** CUTSNS_PIN = 0 [20:20:52]*** Brake cut motor [20:20:52]Read from MH i2c: 01 [20:20:52]MH_I2C_Read... [20:20:52]*** Stop cut motor [20:20:52]*** Cut end [20:20:52]Read from MH i2c: 01 07 00 [20:20:52]MH_I2C_Read... [20:20:52]Read from MH i2c: 01 07 00 78 11 00 00 00 00 00 FF 0F 9E [20:20:52]process_action close_receipt done [20:20:52]requested_data is exist [20:20:52]produce_requested_data [20:20:52]requested_item fm.sn is exist - process it [20:20:52]wFMCommunicate request_size=4 [20:20:52]MH_SAM_APDU [20:20:52]CAPDU: 80 11 00 00 [20:20:52]Write to MH i2c: E2 08 00 79 11 80 11 00 00 00 00 00 00 04 [20:20:52]Write i2c OK [20:20:52]MH_I2C_Read... [20:20:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:20:52]Read from MH i2c: E2 [20:20:52]MH_I2C_Read... [20:20:52]Read from MH i2c: E2 17 00 [20:20:52]MH_I2C_Read... [20:20:52]Read from MH i2c: E2 17 00 79 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 5D [20:20:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:20:52]wFMCommunicate OK [20:20:52]requested_item fd.num is exist - process it [20:20:52]SAM_PROTO_GetFieldsCounters [20:20:52]wFMCommunicate request_size=4 [20:20:52]MH_SAM_APDU [20:20:52]CAPDU: 80 13 00 00 [20:20:52]Write to MH i2c: E2 08 00 7A 11 80 13 00 00 00 00 00 00 07 [20:20:52]Write i2c OK [20:20:52]MH_I2C_Read... [20:20:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:20:52]Read from MH i2c: E2 [20:20:52]MH_I2C_Read... [20:20:52]Read from MH i2c: E2 62 00 [20:20:52]MH_I2C_Read... [20:20:52]Read from MH i2c: E2 62 00 7A 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 2F 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 33 [20:20:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 2F 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:20:52]wFMCommunicate OK [20:20:52]SAM_PROTO_GetFieldsCounters done [20:20:52]requested_item shift.num is exist - process it [20:20:52]requested_item shift.opened is exist - process it [20:20:52]req_shift_opened [20:20:52]FM_GetShiftState [20:20:52]SAM_PROTO_GetShiftState [20:20:52]wFMCommunicate request_size=4 [20:20:52]MH_SAM_APDU [20:20:52]CAPDU: 80 13 01 00 [20:20:52]Write to MH i2c: E2 08 00 7B 11 80 13 01 00 00 00 00 00 09 [20:20:52]Write i2c OK [20:20:52]MH_I2C_Read... [20:20:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:20:52]Read from MH i2c: E2 [20:20:52]MH_I2C_Read... [20:20:52]Read from MH i2c: E2 0E 00 [20:20:52]MH_I2C_Read... [20:20:52]Read from MH i2c: E2 0E 00 7B 11 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 F6 [20:20:52]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [20:20:52]wFMCommunicate OK [20:20:52]SAM_PROTO_GetShiftState done [20:20:52]FM_GetShiftState done [20:20:52]req_shift_opened done [20:20:52]requested_item shift.open_date is exist - process it [20:20:52]req_shift_open_date [20:20:52]req_shift_open_date done [20:20:52]produce_requested_data done [20:20:52]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18991,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [20:20:52]process_action_free close_receipt [20:20:52]json_value_free [20:20:52]json_value_free done [20:20:52]process_json_proto returns [20:20:52]Send response to host [20:20:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18991,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [20:20:52]free response buf [20:20:52]execute_script done [20:20:52]execute_script returns [20:20:52]free content buf [20:20:52]Sock 9.Close socket [20:20:52]Sock 9.Thread stoped [20:20:56]OFD Sender: No OFD packet to send [20:21:01]OFD Sender: No OFD packet to send [20:21:06]OFD Sender: No OFD packet to send [20:21:11]OFD Sender: No OFD packet to send [20:21:16]OFD Sender: No OFD packet to send [20:21:21]OFD Sender: No OFD packet to send [20:21:26]OFD Sender: No OFD packet to send [20:21:31]OFD Sender: No OFD packet to send [20:21:34]accept exits with 8 [20:21:34]New connection [20:21:34]New thread 3066621284 created [20:21:34]Thread 3066764644 joined [20:21:34]Waiting for new connection... [20:21:34] Sock 8.Parse request [20:21:34]Sock 8.Check first char [20:21:34]Sock 8.First char is OK [20:21:34]request: POST /json_proto HTTP/1.0 [20:21:34]Method: POST [20:21:34]URL: /json_proto [20:21:34]Method is POST - this is cgi request [20:21:34]url: /json_proto [20:21:34]query_string will be loaded in cgi processing [20:21:34]execute_cgi json_proto POST (null) [20:21:34]execute_cgi path=json_proto method=POST [20:21:34]POST find Content-Length [20:21:34]Host: 172.17.62.196:8080 [20:21:34]Content-Length: 653 [20:21:34]Content-Type: application/json [20:21:34] [20:21:34]POST finish read [20:21:34]Found Content-Length = 653 [20:21:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16912", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 77.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:21:34]execute_script... [20:21:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16912", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 77.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:21:34]POST & json_proto [20:21:34]process_json_proto [20:21:34]json parsed OK: [20:21:34]protocol is kg_v1.0 [20:21:34]action value=close_receipt [20:21:34]process_action close_receipt [20:21:34]cmd_close_receipt [20:21:34]MH_GetDate [20:21:34]Write to MH i2c: F0 00 00 7C 11 7C [20:21:34]Write i2c OK [20:21:34]MH_I2C_Read... [20:21:34]Read from MH i2c: F0 [20:21:34]MH_I2C_Read... [20:21:34]Read from MH i2c: F0 09 00 [20:21:34]MH_I2C_Read... [20:21:34]Read from MH i2c: F0 09 00 7C 11 00 D1 70 F4 66 CE CC 0E 66 2E [20:21:34]GetLastDocTimeStamp 1727295652 [20:21:34]current date 1727295697 [20:21:34]FM_GetShiftState [20:21:34]SAM_PROTO_GetShiftState [20:21:34]wFMCommunicate request_size=4 [20:21:34]MH_SAM_APDU [20:21:34]CAPDU: 80 13 01 00 [20:21:34]Write to MH i2c: E2 08 00 7D 11 80 13 01 00 00 00 00 00 0B [20:21:34]Write i2c OK [20:21:34]MH_I2C_Read... [20:21:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:21:34]Read from MH i2c: E2 [20:21:34]MH_I2C_Read... [20:21:34]Read from MH i2c: E2 0E 00 [20:21:34]MH_I2C_Read... [20:21:34]Read from MH i2c: E2 0E 00 7D 11 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 F8 [20:21:34]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [20:21:34]wFMCommunicate OK [20:21:34]SAM_PROTO_GetShiftState done [20:21:34]FM_GetShiftState done [20:21:34]opened in 1727223091 [20:21:34]opened+sec_in_day 1727309491 [20:21:34]quantity*price = 7700 [20:21:34]sum+1 = 7701 [20:21:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 77.00 НСП 1% : 0.68 НДС 12% : 8.18 Наличными: 77.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 70 25.09.2024 20:21 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18992 ФПД: 233976854851499 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T202137&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18992&fm=233976854851499&tin=02508201610067®Number=0000000000152968&sum=7700 0 [20:21:35]StoreToDocumentArchive [20:21:35]shift 183 fd 18992 [20:21:35]save to /storage/0183/doc_00018992 [20:21:35]save last doc name /storage/0183/doc_00018992 to /storage/kkm_last_doc_name [20:21:36]save OK [20:21:36]Clear old archive folders... [20:21:36]ProcessDocumentItem done err = 0, tmpTLVsize=293 [20:21:36]tlvbuf is B6EACB00 [20:21:36]SAM_PROTO_ClearQueue [20:21:36]wFMCommunicate request_size=4 [20:21:36]MH_SAM_APDU [20:21:36]CAPDU: 80 09 00 00 [20:21:36]Write to MH i2c: E2 08 00 8A 11 80 09 00 00 00 00 00 00 0D [20:21:36]Write i2c OK [20:21:36]MH_I2C_Read... [20:21:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:21:36]Read from MH i2c: E2 [20:21:36]MH_I2C_Read... [20:21:36]Read from MH i2c: E2 03 00 [20:21:36]MH_I2C_Read... [20:21:36]Read from MH i2c: E2 03 00 8A 11 00 90 00 0F [20:21:36]RAPDU: 90 00 [20:21:36]wFMCommunicate OK [20:21:36]SAM_PROTO_ClearQueue done [20:21:36]KKMCreateOFDPacket [20:21:36]OFDProtocolAddRootSTLVToBuf [20:21:36]FM_MakeSignedData [20:21:36]FM_MakeSignedData [20:21:36]SAM_PROTO_SignData [20:21:36]wFMCommunicate request_size=4 [20:21:36]MH_SAM_APDU [20:21:36]CAPDU: 80 0D 01 02 [20:21:36]Write to MH i2c: E2 08 00 8B 11 80 0D 01 02 00 00 00 00 15 [20:21:36]Write i2c OK [20:21:36]MH_I2C_Read... [20:21:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:21:36]Read from MH i2c: E2 [20:21:36]MH_I2C_Read... [20:21:36]Read from MH i2c: E2 03 00 [20:21:36]MH_I2C_Read... [20:21:36]Read from MH i2c: E2 03 00 8B 11 00 90 00 10 [20:21:36]RAPDU: 90 00 [20:21:36]wFMCommunicate OK [20:21:36]wFMCommunicate request_size=255 [20:21:36]MH_SAM_APDU [20:21:36]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 D1 70 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [20:21:36]Write to MH i2c: E2 02 01 8C 11 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 D1 70 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 42 [20:21:36]Write i2c OK [20:21:36]MH_I2C_Read... [20:21:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:21:36]Read from MH i2c: E2 [20:21:36]MH_I2C_Read... [20:21:36]Read from MH i2c: E2 03 00 [20:21:36]MH_I2C_Read... [20:21:36]Read from MH i2c: E2 03 00 8C 11 00 90 00 11 [20:21:36]RAPDU: 90 00 [20:21:36]wFMCommunicate OK [20:21:36]wFMCommunicate request_size=52 [20:21:36]MH_SAM_APDU [20:21:36]CAPDU: 80 0D 02 02 2F 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 30 4A 00 00 35 04 06 00 D4 CC FB 51 AF AB [20:21:36]Write to MH i2c: E2 37 00 8D 11 80 0D 02 02 2F 00 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 30 4A 00 00 35 04 06 00 D4 CC FB 51 AF AB 00 00 A7 [20:21:36]Write i2c OK [20:21:36]MH_I2C_Read... [20:21:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:21:36]Read from MH i2c: E2 [20:21:36]MH_I2C_Read... [20:21:36]Read from MH i2c: E2 03 00 [20:21:36]MH_I2C_Read... [20:21:36]Read from MH i2c: E2 03 00 8D 11 00 90 00 12 [20:21:36]RAPDU: 90 00 [20:21:36]wFMCommunicate OK [20:21:36]wFMCommunicate request_size=4 [20:21:36]MH_SAM_APDU [20:21:36]CAPDU: 80 0D 03 02 [20:21:36]Write to MH i2c: E2 08 00 8E 11 80 0D 03 02 00 00 00 00 1A [20:21:36]Write i2c OK [20:21:36]MH_I2C_Read... [20:21:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:21:36]Read from MH i2c: E2 [20:21:36]MH_I2C_Read... [20:21:36]Read from MH i2c: E2 0B 00 [20:21:36]MH_I2C_Read... [20:21:36]Read from MH i2c: E2 0B 00 8E 11 00 F9 BF 00 1B 43 44 F5 AA 90 00 14 [20:21:36]RAPDU: F9 BF 00 1B 43 44 F5 AA 90 00 [20:21:36]wFMCommunicate OK [20:21:36]SAM_PROTO_SignData done [20:21:36]FM_MakeSignedData done [20:21:36]CreateOFDProtocolMessage [20:21:36]wFMCommunicate request_size=4 [20:21:36]MH_SAM_APDU [20:21:36]CAPDU: 80 11 00 00 [20:21:36]Write to MH i2c: E2 08 00 8F 11 80 11 00 00 00 00 00 00 1A [20:21:36]Write i2c OK [20:21:36]MH_I2C_Read... [20:21:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:21:36]Read from MH i2c: E2 [20:21:36]MH_I2C_Read... [20:21:36]Read from MH i2c: E2 17 00 [20:21:36]MH_I2C_Read... [20:21:36]Read from MH i2c: E2 17 00 8F 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 73 [20:21:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:21:36]wFMCommunicate OK [20:21:36]CreateOFDProtocolMessage done [20:21:36]OFDSenderStorePacket 18992 [20:21:36]StoreOFDPacket docnum=18992 [20:21:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 1F 3F 31 01 91 8D 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 D1 70 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 30 4A 00 00 35 04 06 00 D4 CC FB 51 AF AB F9 BF 00 1B 43 44 F5 AA [20:21:36]CheckFolder [20:21:36]dirname=/storage/ofd_packets [20:21:36]CheckFolder done [20:21:36]ProducePacketName [20:21:36]name=ofd_packets/00018992 [20:21:36]NVStorageSaveData ofd_packets/00018992 [20:21:36]File name is /storage/ofd_packets/00018992 [20:21:36]Write 343 bytes [20:21:36]NVStorageSaveData done [20:21:36]OFDSenderStorePacket done [20:21:36]KKMCreateOFDPacket done [20:21:36]NVStorageSaveData kkm_last_timestamp [20:21:36]File name is /storage/kkm_last_timestamp [20:21:36]Write 4 bytes [20:21:36]NVStorageSaveData done [20:21:36]ExternCall_PrintAddStr [20:21:36]wPrintStart [20:21:36]Write to MH i2c: 01 00 00 90 11 A1 [20:21:36]Write i2c OK [20:21:36]MH_I2C_Read... [20:21:36]Read from MH i2c: 01 [20:21:36]MH_I2C_Read... [20:21:36]Read from MH i2c: 01 07 00 [20:21:36]MH_I2C_Read... [20:21:36]Read from MH i2c: 01 07 00 90 11 00 00 00 00 00 FF 0F B6 [20:21:36]RasterBufferAndPrint [20:21:36]line Счет N : (3)16912 [20:21:36]line ИНН: 02508201610067 [20:21:36]line Контрольно-Кассовый Чек [20:21:36]line ПРОДАЖА [20:21:36]line Товар: 4700000480050 [20:21:36]line Напиток Nitro Energy эн green ж/б 0,45л [20:21:36]line 1.000 * 77.00 [20:21:36]line = 77.00 [20:21:36]line НДС 12% НСП 1% [20:21:36]line > о реализуемом товаре [20:21:36]line ИТОГО: 77.00 [20:21:36]line НСП 1% : 0.68 [20:21:36]line НДС 12% : 8.18 [20:21:36]line Наличными: 77.00 [20:21:36]line Безнал.: 0.00 [20:21:36]line Место: АЗС № 176 "Партнер Нефть" [20:21:36]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [20:21:36]line СНО: Общий режим [20:21:36]line Чек 70 25.09.2024 20:21 [20:21:36]line Смена: 183 ФФД: 1.0 [20:21:36]line ЗНМ: 0300000010 [20:21:36]line РНМ: 0000000000152968 [20:21:36]line Версия ККМ: v1.0 [20:21:36]line ФМ: 0000000000959456 [20:21:36]line ФД: 18992 [20:21:36]line ФПД: 233976854851499 [20:21:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T202137&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18992&fm=233976854851499&tin=02508201610067®Number=0000000000152968&sum=7700 [20:21:36]line 0 [20:21:36]OFD Sender: Processing packet 18992 [packets to send 7, broken 6] [20:21:36]ProducePacketName [20:21:36]name=ofd_packets/00018992 [20:21:36]OFD Sender: To server: pG, [20:21:36]CommunicateWithHost lk.salyk.kg:30040 [20:21:36]ConnectInit lk.salyk.kg [20:21:36]written 0, free lines is 4095 [20:21:37]Connected sock=10 [20:21:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 1F 3F 31 01 91 8D 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 14 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 D1 70 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 30 4A 00 00 35 04 06 00 D4 CC FB 51 AF AB F9 BF 00 1B 43 44 F5 AA [20:21:37]Write to MH i2c: 01 00 00 B9 11 CA [20:21:37]Write i2c OK [20:21:37]MH_I2C_Read... [20:21:37]Read from MH i2c: 01 [20:21:37]MH_I2C_Read... [20:21:37]Read from MH i2c: 01 07 00 [20:21:37]MH_I2C_Read... [20:21:37]Read from MH i2c: 01 07 00 B9 11 00 00 00 00 00 13 0D F1 [20:21:37]RasterBufferAndPrint [20:21:37]line [20:21:37]line [20:21:37]line [20:21:37]line [20:21:37]line [20:21:37]written 0, free lines is 3353 [20:21:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 78 F4 47 00 F7 EA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 30 4A 00 00 F4 03 04 00 2E 1A F4 66 B6 04 01 00 00 39 1C 99 98 2C 41 7F CC [20:21:37]CommunicateWithHost err = 0 [20:21:37]CheckOFDResponse [20:21:37]1017 (14) - 77093643461234 [20:21:37]1041 (16) - 0000000000959456 [20:21:37]1040 (4) - 18992 [20:21:37]1012 (4) - 25.09.2024 14:11 [20:21:37]1206 (1) - 0 [20:21:37]OFD Sender: Remove packet 18992 [20:21:37]ProducePacketName [20:21:37]name=ofd_packets/00018992 [20:21:37]NVStorageDeleteData [20:21:37]MH_Cut [20:21:37]Write to MH i2c: D1 01 00 C0 11 01 A3 [20:21:37]Write i2c OK [20:21:37]MH_I2C_Read... [20:21:37]Read from MH i2c: D1 [20:21:37]MH_I2C_Read... [20:21:37]Read from MH i2c: D1 01 00 [20:21:37]MH_I2C_Read... [20:21:37]Read from MH i2c: D1 01 00 C0 11 00 A2 [20:21:37]Write to MH i2c: 01 00 00 C1 11 D2 [20:21:37]Write i2c OK [20:21:37]MH_I2C_Read... [20:21:37]OFD Sender: No OFD packet to send [20:21:37]*** Cut start [20:21:37]*** Partial cut [20:21:37]*** CUTSNS_PIN = 1 [20:21:38]*** CUTSNS_PIN = 0 [20:21:38]*** Brake cut motor [20:21:38]Read from MH i2c: 01 [20:21:38]MH_I2C_Read... [20:21:38]*** Stop cut motor [20:21:38]*** Cut end [20:21:38]Read from MH i2c: 01 07 00 [20:21:38]MH_I2C_Read... [20:21:38]Read from MH i2c: 01 07 00 C1 11 00 00 00 00 00 FF 0F E7 [20:21:38]process_action close_receipt done [20:21:38]requested_data is exist [20:21:38]produce_requested_data [20:21:38]requested_item fm.sn is exist - process it [20:21:38]wFMCommunicate request_size=4 [20:21:38]MH_SAM_APDU [20:21:38]CAPDU: 80 11 00 00 [20:21:38]Write to MH i2c: E2 08 00 C2 11 80 11 00 00 00 00 00 00 4D [20:21:38]Write i2c OK [20:21:38]MH_I2C_Read... [20:21:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:21:38]Read from MH i2c: E2 [20:21:38]MH_I2C_Read... [20:21:38]Read from MH i2c: E2 17 00 [20:21:38]MH_I2C_Read... [20:21:38]Read from MH i2c: E2 17 00 C2 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 A6 [20:21:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:21:38]wFMCommunicate OK [20:21:38]requested_item fd.num is exist - process it [20:21:38]SAM_PROTO_GetFieldsCounters [20:21:38]wFMCommunicate request_size=4 [20:21:38]MH_SAM_APDU [20:21:38]CAPDU: 80 13 00 00 [20:21:38]Write to MH i2c: E2 08 00 C3 11 80 13 00 00 00 00 00 00 50 [20:21:38]Write i2c OK [20:21:38]MH_I2C_Read... [20:21:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:21:38]Read from MH i2c: E2 [20:21:38]MH_I2C_Read... [20:21:38]Read from MH i2c: E2 62 00 [20:21:38]MH_I2C_Read... [20:21:38]Read from MH i2c: E2 62 00 C3 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 30 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 80 [20:21:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 30 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:21:38]wFMCommunicate OK [20:21:38]SAM_PROTO_GetFieldsCounters done [20:21:38]requested_item shift.num is exist - process it [20:21:38]requested_item shift.opened is exist - process it [20:21:38]req_shift_opened [20:21:38]FM_GetShiftState [20:21:38]SAM_PROTO_GetShiftState [20:21:38]wFMCommunicate request_size=4 [20:21:38]MH_SAM_APDU [20:21:38]CAPDU: 80 13 01 00 [20:21:38]Write to MH i2c: E2 08 00 C4 11 80 13 01 00 00 00 00 00 52 [20:21:38]Write i2c OK [20:21:38]MH_I2C_Read... [20:21:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:21:38]Read from MH i2c: E2 [20:21:38]MH_I2C_Read... [20:21:38]Read from MH i2c: E2 0E 00 [20:21:38]MH_I2C_Read... [20:21:38]Read from MH i2c: E2 0E 00 C4 11 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 3F [20:21:38]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [20:21:38]wFMCommunicate OK [20:21:38]SAM_PROTO_GetShiftState done [20:21:38]FM_GetShiftState done [20:21:38]req_shift_opened done [20:21:38]requested_item shift.open_date is exist - process it [20:21:38]req_shift_open_date [20:21:38]req_shift_open_date done [20:21:38]produce_requested_data done [20:21:38]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18992,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [20:21:38]process_action_free close_receipt [20:21:38]json_value_free [20:21:38]json_value_free done [20:21:38]process_json_proto returns [20:21:38]Send response to host [20:21:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18992,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [20:21:38]free response buf [20:21:38]execute_script done [20:21:38]execute_script returns [20:21:38]free content buf [20:21:38]Sock 8.Close socket [20:21:38]Sock 8.Thread stoped [20:21:42]OFD Sender: No OFD packet to send [20:21:47]OFD Sender: No OFD packet to send [20:21:52]OFD Sender: No OFD packet to send [20:21:57]OFD Sender: No OFD packet to send [20:22:02]OFD Sender: No OFD packet to send [20:22:07]OFD Sender: No OFD packet to send [20:22:12]OFD Sender: No OFD packet to send [20:22:17]OFD Sender: No OFD packet to send [20:22:22]OFD Sender: No OFD packet to send [20:22:27]OFD Sender: No OFD packet to send [20:22:32]OFD Sender: No OFD packet to send [20:22:37]OFD Sender: No OFD packet to send [20:22:42]OFD Sender: No OFD packet to send [20:22:47]OFD Sender: No OFD packet to send [20:22:52]OFD Sender: No OFD packet to send [20:22:57]OFD Sender: No OFD packet to send [20:23:02]OFD Sender: No OFD packet to send [20:23:07]OFD Sender: No OFD packet to send [20:23:12]OFD Sender: No OFD packet to send [20:23:17]OFD Sender: No OFD packet to send [20:23:22]OFD Sender: No OFD packet to send [20:23:27]OFD Sender: No OFD packet to send [20:23:32]OFD Sender: No OFD packet to send [20:23:37]OFD Sender: No OFD packet to send [20:23:42]OFD Sender: No OFD packet to send [20:23:47]OFD Sender: No OFD packet to send [20:23:52]OFD Sender: No OFD packet to send [20:23:57]OFD Sender: No OFD packet to send [20:24:02]OFD Sender: No OFD packet to send [20:24:07]OFD Sender: No OFD packet to send [20:24:12]OFD Sender: No OFD packet to send [20:24:17]OFD Sender: No OFD packet to send [20:24:22]OFD Sender: No OFD packet to send [20:24:27]OFD Sender: No OFD packet to send [20:24:32]OFD Sender: No OFD packet to send [20:24:37]OFD Sender: No OFD packet to send [20:24:43]OFD Sender: No OFD packet to send [20:24:48]OFD Sender: No OFD packet to send [20:24:53]OFD Sender: No OFD packet to send [20:24:58]OFD Sender: No OFD packet to send [20:25:03]OFD Sender: No OFD packet to send [20:25:08]OFD Sender: No OFD packet to send [20:25:13]OFD Sender: No OFD packet to send [20:25:18]OFD Sender: No OFD packet to send [20:25:23]OFD Sender: No OFD packet to send [20:25:28]OFD Sender: No OFD packet to send [20:25:33]OFD Sender: No OFD packet to send [20:25:38]OFD Sender: No OFD packet to send [20:25:43]OFD Sender: No OFD packet to send [20:25:48]OFD Sender: No OFD packet to send [20:25:53]OFD Sender: No OFD packet to send [20:25:58]OFD Sender: No OFD packet to send [20:26:03]OFD Sender: No OFD packet to send [20:26:08]OFD Sender: No OFD packet to send [20:26:13]OFD Sender: No OFD packet to send [20:26:18]OFD Sender: No OFD packet to send [20:26:23]OFD Sender: No OFD packet to send [20:26:28]OFD Sender: No OFD packet to send [20:26:33]OFD Sender: No OFD packet to send [20:26:38]OFD Sender: No OFD packet to send [20:26:43]OFD Sender: No OFD packet to send [20:26:48]OFD Sender: No OFD packet to send [20:26:53]OFD Sender: No OFD packet to send [20:26:58]OFD Sender: No OFD packet to send [20:27:03]OFD Sender: No OFD packet to send [20:27:08]OFD Sender: No OFD packet to send [20:27:13]OFD Sender: No OFD packet to send [20:27:18]OFD Sender: No OFD packet to send [20:27:23]OFD Sender: No OFD packet to send [20:27:28]OFD Sender: No OFD packet to send [20:27:33]OFD Sender: No OFD packet to send [20:27:38]OFD Sender: No OFD packet to send [20:27:43]OFD Sender: No OFD packet to send [20:27:48]OFD Sender: No OFD packet to send [20:27:53]OFD Sender: No OFD packet to send [20:27:58]OFD Sender: No OFD packet to send [20:28:03]OFD Sender: No OFD packet to send [20:28:08]OFD Sender: No OFD packet to send [20:28:13]OFD Sender: No OFD packet to send [20:28:18]OFD Sender: No OFD packet to send [20:28:23]OFD Sender: No OFD packet to send [20:28:28]OFD Sender: No OFD packet to send [20:28:33]OFD Sender: No OFD packet to send [20:28:38]OFD Sender: No OFD packet to send [20:28:43]OFD Sender: No OFD packet to send [20:28:48]OFD Sender: No OFD packet to send [20:28:53]OFD Sender: No OFD packet to send [20:28:58]OFD Sender: No OFD packet to send [20:29:03]OFD Sender: No OFD packet to send [20:29:08]OFD Sender: No OFD packet to send [20:29:13]OFD Sender: No OFD packet to send [20:29:18]OFD Sender: No OFD packet to send [20:29:23]OFD Sender: No OFD packet to send [20:29:28]OFD Sender: No OFD packet to send [20:29:33]OFD Sender: No OFD packet to send [20:29:38]OFD Sender: No OFD packet to send [20:29:43]OFD Sender: No OFD packet to send [20:29:48]OFD Sender: No OFD packet to send [20:29:53]OFD Sender: No OFD packet to send [20:29:58]OFD Sender: No OFD packet to send [20:30:03]OFD Sender: No OFD packet to send [20:30:08]OFD Sender: No OFD packet to send [20:30:13]OFD Sender: No OFD packet to send [20:30:18]OFD Sender: No OFD packet to send [20:30:23]OFD Sender: No OFD packet to send [20:30:28]OFD Sender: No OFD packet to send [20:30:33]OFD Sender: No OFD packet to send [20:30:38]OFD Sender: No OFD packet to send [20:30:43]OFD Sender: No OFD packet to send [20:30:48]OFD Sender: No OFD packet to send [20:30:53]OFD Sender: No OFD packet to send [20:30:58]OFD Sender: No OFD packet to send [20:31:03]OFD Sender: No OFD packet to send [20:31:08]OFD Sender: No OFD packet to send [20:31:13]OFD Sender: No OFD packet to send [20:31:18]OFD Sender: No OFD packet to send [20:31:23]OFD Sender: No OFD packet to send [20:31:28]OFD Sender: No OFD packet to send [20:31:33]OFD Sender: No OFD packet to send [20:31:38]OFD Sender: No OFD packet to send [20:31:43]OFD Sender: No OFD packet to send [20:31:48]OFD Sender: No OFD packet to send [20:31:53]OFD Sender: No OFD packet to send [20:31:58]OFD Sender: No OFD packet to send [20:32:03]OFD Sender: No OFD packet to send [20:32:08]OFD Sender: No OFD packet to send [20:32:13]OFD Sender: No OFD packet to send [20:32:18]OFD Sender: No OFD packet to send [20:32:19]accept exits with 9 [20:32:19]New connection [20:32:19]New thread 3066764644 created [20:32:19]Thread 3066621284 joined [20:32:19]Waiting for new connection... [20:32:19] Sock 9.Parse request [20:32:19]Sock 9.Check first char [20:32:19]Sock 9.First char is OK [20:32:19]request: POST /json_proto HTTP/1.0 [20:32:19]Method: POST [20:32:19]URL: /json_proto [20:32:19]Method is POST - this is cgi request [20:32:19]url: /json_proto [20:32:19]query_string will be loaded in cgi processing [20:32:19]execute_cgi json_proto POST (null) [20:32:19]execute_cgi path=json_proto method=POST [20:32:19]POST find Content-Length [20:32:19]Host: 172.17.62.196:8080 [20:32:19]Content-Length: 1069 [20:32:19]Content-Type: application/json [20:32:19] [20:32:19]POST finish read [20:32:19]Found Content-Length = 1069 [20:32:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16913", "tax_sys" : 0, "items" : [ { "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48746526", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Wind Blue", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 264.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:32:19]execute_script... [20:32:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16913", "tax_sys" : 0, "items" : [ { "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48746526", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Wind Blue", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 264.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:32:19]POST & json_proto [20:32:19]process_json_proto [20:32:19]json parsed OK: [20:32:19]protocol is kg_v1.0 [20:32:19]action value=close_receipt [20:32:19]process_action close_receipt [20:32:19]cmd_close_receipt [20:32:19]MH_GetDate [20:32:19]Write to MH i2c: F0 00 00 C5 11 C5 [20:32:19]Write i2c OK [20:32:19]MH_I2C_Read... [20:32:19]Read from MH i2c: F0 [20:32:19]MH_I2C_Read... [20:32:19]Read from MH i2c: F0 09 00 [20:32:19]MH_I2C_Read... [20:32:19]Read from MH i2c: F0 09 00 C5 11 00 56 73 F4 66 CE CC 0E 66 FF [20:32:19]GetLastDocTimeStamp 1727295697 [20:32:19]current date 1727296342 [20:32:19]FM_GetShiftState [20:32:19]SAM_PROTO_GetShiftState [20:32:19]wFMCommunicate request_size=4 [20:32:19]MH_SAM_APDU [20:32:19]CAPDU: 80 13 01 00 [20:32:19]Write to MH i2c: E2 08 00 C6 11 80 13 01 00 00 00 00 00 54 [20:32:19]Write i2c OK [20:32:19]MH_I2C_Read... [20:32:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:32:19]Read from MH i2c: E2 [20:32:19]MH_I2C_Read... [20:32:19]Read from MH i2c: E2 0E 00 [20:32:19]MH_I2C_Read... [20:32:19]Read from MH i2c: E2 0E 00 C6 11 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 41 [20:32:19]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [20:32:19]wFMCommunicate OK [20:32:19]SAM_PROTO_GetShiftState done [20:32:19]FM_GetShiftState done [20:32:19]opened in 1727223091 [20:32:19]opened+sec_in_day 1727309491 [20:32:19]quantity*price = 10500 [20:32:19]sum+1 = 10501 [20:32:19]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48746526 Сигареты Mevius Wind Blue 1.000 * 159.00 = 159.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 264.00 НСП 1% : 2.34 НДС 12% : 28.03 Наличными: 0.00 Безнал.: 264.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 71 25.09.2024 20:32 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18993 ФПД: 170190928297956 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T203222&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18993&fm=170190928297956&tin=02508201610067®Number=0000000000152968&sum=26400 0 [20:32:20]StoreToDocumentArchive [20:32:20]shift 183 fd 18993 [20:32:20]save to /storage/0183/doc_00018993 [20:32:20]save last doc name /storage/0183/doc_00018993 to /storage/kkm_last_doc_name [20:32:20]save OK [20:32:20]Clear old archive folders... [20:32:20]ProcessDocumentItem done err = 0, tmpTLVsize=387 [20:32:20]tlvbuf is 015C4DB0 [20:32:20]SAM_PROTO_ClearQueue [20:32:20]wFMCommunicate request_size=4 [20:32:20]MH_SAM_APDU [20:32:20]CAPDU: 80 09 00 00 [20:32:20]Write to MH i2c: E2 08 00 D3 11 80 09 00 00 00 00 00 00 56 [20:32:20]Write i2c OK [20:32:20]MH_I2C_Read... [20:32:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:32:20]Read from MH i2c: E2 [20:32:20]MH_I2C_Read... [20:32:20]Read from MH i2c: E2 03 00 [20:32:20]MH_I2C_Read... [20:32:20]Read from MH i2c: E2 03 00 D3 11 00 90 00 58 [20:32:20]RAPDU: 90 00 [20:32:20]wFMCommunicate OK [20:32:20]SAM_PROTO_ClearQueue done [20:32:20]KKMCreateOFDPacket [20:32:20]OFDProtocolAddRootSTLVToBuf [20:32:20]FM_MakeSignedData [20:32:20]FM_MakeSignedData [20:32:20]SAM_PROTO_SignData [20:32:20]wFMCommunicate request_size=4 [20:32:20]MH_SAM_APDU [20:32:20]CAPDU: 80 0D 01 02 [20:32:20]Write to MH i2c: E2 08 00 D4 11 80 0D 01 02 00 00 00 00 5E [20:32:20]Write i2c OK [20:32:20]MH_I2C_Read... [20:32:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:32:20]Read from MH i2c: E2 [20:32:20]MH_I2C_Read... [20:32:20]Read from MH i2c: E2 03 00 [20:32:20]MH_I2C_Read... [20:32:20]Read from MH i2c: E2 03 00 D4 11 00 90 00 59 [20:32:20]RAPDU: 90 00 [20:32:20]wFMCommunicate OK [20:32:20]wFMCommunicate request_size=255 [20:32:20]MH_SAM_APDU [20:32:20]CAPDU: 80 0D 02 02 FA 03 00 83 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 36 35 32 36 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 [20:32:20]Write to MH i2c: E2 02 01 D5 11 80 0D 02 02 FA 00 03 00 83 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 36 35 32 36 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 00 00 30 [20:32:20]Write i2c OK [20:32:20]MH_I2C_Read... [20:32:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:32:20]Read from MH i2c: E2 [20:32:20]MH_I2C_Read... [20:32:20]Read from MH i2c: E2 03 00 [20:32:20]MH_I2C_Read... [20:32:20]Read from MH i2c: E2 03 00 D5 11 00 90 00 5A [20:32:20]RAPDU: 90 00 [20:32:20]wFMCommunicate OK [20:32:20]wFMCommunicate request_size=146 [20:32:20]MH_SAM_APDU [20:32:20]CAPDU: 80 0D 02 02 8D 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 20 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 56 73 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 31 4A 00 00 35 04 06 00 9A C9 A9 D3 3F E4 [20:32:20]Write to MH i2c: E2 95 00 D6 11 80 0D 02 02 8D 00 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 20 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 56 73 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 31 4A 00 00 35 04 06 00 9A C9 A9 D3 3F E4 00 00 C9 [20:32:20]Write i2c OK [20:32:20]MH_I2C_Read... [20:32:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:32:20]Read from MH i2c: E2 [20:32:20]MH_I2C_Read... [20:32:20]Read from MH i2c: E2 03 00 [20:32:20]MH_I2C_Read... [20:32:20]Read from MH i2c: E2 03 00 D6 11 00 90 00 5B [20:32:20]RAPDU: 90 00 [20:32:20]wFMCommunicate OK [20:32:20]wFMCommunicate request_size=4 [20:32:20]MH_SAM_APDU [20:32:20]CAPDU: 80 0D 03 02 [20:32:20]Write to MH i2c: E2 08 00 D7 11 80 0D 03 02 00 00 00 00 63 [20:32:20]Write i2c OK [20:32:20]MH_I2C_Read... [20:32:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:32:20]Read from MH i2c: E2 [20:32:20]MH_I2C_Read... [20:32:20]Read from MH i2c: E2 0B 00 [20:32:20]MH_I2C_Read... [20:32:20]Read from MH i2c: E2 0B 00 D7 11 00 9A C9 B6 FB FF E3 7D B6 90 00 8D [20:32:20]RAPDU: 9A C9 B6 FB FF E3 7D B6 90 00 [20:32:20]wFMCommunicate OK [20:32:20]SAM_PROTO_SignData done [20:32:20]FM_MakeSignedData done [20:32:20]CreateOFDProtocolMessage [20:32:20]wFMCommunicate request_size=4 [20:32:20]MH_SAM_APDU [20:32:20]CAPDU: 80 11 00 00 [20:32:20]Write to MH i2c: E2 08 00 D8 11 80 11 00 00 00 00 00 00 63 [20:32:20]Write i2c OK [20:32:20]MH_I2C_Read... [20:32:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:32:20]Read from MH i2c: E2 [20:32:20]MH_I2C_Read... [20:32:20]Read from MH i2c: E2 17 00 [20:32:20]MH_I2C_Read... [20:32:20]Read from MH i2c: E2 17 00 D8 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 BC [20:32:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:32:20]wFMCommunicate OK [20:32:20]CreateOFDProtocolMessage done [20:32:20]OFDSenderStorePacket 18993 [20:32:20]StoreOFDPacket docnum=18993 [20:32:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 97 01 00 00 A9 BD 8F 01 75 58 5A 03 01 00 03 00 83 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 36 35 32 36 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 20 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 56 73 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 31 4A 00 00 35 04 06 00 9A C9 A9 D3 3F E4 9A C9 B6 FB FF E3 7D B6 [20:32:20]CheckFolder [20:32:20]dirname=/storage/ofd_packets [20:32:20]CheckFolder done [20:32:20]ProducePacketName [20:32:20]name=ofd_packets/00018993 [20:32:20]NVStorageSaveData ofd_packets/00018993 [20:32:20]File name is /storage/ofd_packets/00018993 [20:32:21]Write 437 bytes [20:32:21]NVStorageSaveData done [20:32:21]OFDSenderStorePacket done [20:32:21]KKMCreateOFDPacket done [20:32:21]NVStorageSaveData kkm_last_timestamp [20:32:21]File name is /storage/kkm_last_timestamp [20:32:21]Write 4 bytes [20:32:21]NVStorageSaveData done [20:32:21]ExternCall_PrintAddStr [20:32:21]wPrintStart [20:32:21]Write to MH i2c: 01 00 00 D9 11 EA [20:32:21]Write i2c OK [20:32:21]MH_I2C_Read... [20:32:21]Read from MH i2c: 01 [20:32:21]MH_I2C_Read... [20:32:21]Read from MH i2c: 01 07 00 [20:32:21]MH_I2C_Read... [20:32:21]Read from MH i2c: 01 07 00 D9 11 00 00 00 00 00 FF 0F FF [20:32:21]RasterBufferAndPrint [20:32:21]line Счет N : (3)16913 [20:32:21]line ИНН: 02508201610067 [20:32:21]line Контрольно-Кассовый Чек [20:32:21]line ПРОДАЖА [20:32:21]line Товар: 5449000189332 [20:32:21]line Холодный чай Fuse персик 1л [20:32:21]line 1.000 * 105.00 [20:32:21]line = 105.00 [20:32:21]line НДС 12% НСП 1% [20:32:21]line > о реализуемом товаре [20:32:21]line Товар: 48746526 [20:32:21]line Сигареты Mevius Wind Blue [20:32:21]line 1.000 * 159.00 [20:32:21]line = 159.00 [20:32:21]line НДС 12% НСП 1% [20:32:21]line > о реализуемом товаре [20:32:21]line ИТОГО: 264.00 [20:32:21]line НСП 1% : 2.34 [20:32:21]line НДС 12% : 28.03 [20:32:21]line Наличными: 0.00 [20:32:21]line Безнал.: 264.00 [20:32:21]line Место: АЗС № 176 "Партнер Нефть" [20:32:21]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [20:32:21]line СНО: Общий режим [20:32:21]line Чек 71 25.09.2024 20:32 [20:32:21]line Смена: 183 ФФД: 1.0 [20:32:21]line ЗНМ: 0300000010 [20:32:21]line РНМ: 0000000000152968 [20:32:21]line Версия ККМ: v1.0 [20:32:21]line Платежная система: O! деньги [20:32:21]line ФМ: 0000000000959456 [20:32:21]line ФД: 18993 [20:32:21]line ФПД: 170190928297956 [20:32:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T203222&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18993&fm=170190928297956&tin=02508201610067®Number=0000000000152968&sum=26400 [20:32:21]line 0 [20:32:21]written 0, free lines is 4095 [20:32:21]OFD Sender: Processing packet 18993 [packets to send 7, broken 6] [20:32:21]ProducePacketName [20:32:21]name=ofd_packets/00018993 [20:32:21]OFD Sender: To server: pG, [20:32:21]CommunicateWithHost lk.salyk.kg:30040 [20:32:21]ConnectInit lk.salyk.kg [20:32:21]Connected sock=10 [20:32:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 97 01 00 00 A9 BD 8F 01 75 58 5A 03 01 00 03 00 83 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 36 35 32 36 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 20 67 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 56 73 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 31 4A 00 00 35 04 06 00 9A C9 A9 D3 3F E4 9A C9 B6 FB FF E3 7D B6 [20:32:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 67 35 47 00 D6 E1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 31 4A 00 00 F4 03 04 00 B2 1C F4 66 B6 04 01 00 00 4D 1E 77 D7 58 91 D4 03 [20:32:21]CommunicateWithHost err = 0 [20:32:21]CheckOFDResponse [20:32:21]1017 (14) - 77093643461234 [20:32:21]1041 (16) - 0000000000959456 [20:32:21]1040 (4) - 18993 [20:32:21]1012 (4) - 25.09.2024 14:22 [20:32:21]1206 (1) - 0 [20:32:21]OFD Sender: Remove packet 18993 [20:32:21]ProducePacketName [20:32:21]name=ofd_packets/00018993 [20:32:21]NVStorageDeleteData [20:32:21]Write to MH i2c: 01 00 00 09 12 1B [20:32:21]Write i2c OK [20:32:21]MH_I2C_Read... [20:32:21]Read from MH i2c: 01 [20:32:21]MH_I2C_Read... [20:32:21]Read from MH i2c: 01 07 00 [20:32:21]MH_I2C_Read... [20:32:21]Read from MH i2c: 01 07 00 09 12 00 00 00 00 00 CE 0C FC [20:32:21]RasterBufferAndPrint [20:32:21]line [20:32:21]line [20:32:21]line [20:32:21]line [20:32:21]line [20:32:21]written 0, free lines is 3287 [20:32:21]MH_Cut [20:32:21]Write to MH i2c: D1 01 00 10 12 01 F4 [20:32:21]Write i2c OK [20:32:21]MH_I2C_Read... [20:32:21]Read from MH i2c: D1 [20:32:21]MH_I2C_Read... [20:32:21]Read from MH i2c: D1 01 00 [20:32:21]MH_I2C_Read... [20:32:21]Read from MH i2c: D1 01 00 10 12 00 F3 [20:32:21]Write to MH i2c: 01 00 00 11 12 23 [20:32:21]Write i2c OK [20:32:21]MH_I2C_Read... [20:32:22]OFD Sender: No OFD packet to send [20:32:22]*** Cut start [20:32:22]*** Partial cut [20:32:22]*** CUTSNS_PIN = 1 [20:32:22]*** CUTSNS_PIN = 0 [20:32:22]*** Brake cut motor [20:32:23]Read from MH i2c: 01 [20:32:23]MH_I2C_Read... [20:32:23]*** Stop cut motor [20:32:23]*** Cut end [20:32:23]Read from MH i2c: 01 07 00 [20:32:23]MH_I2C_Read... [20:32:23]Read from MH i2c: 01 07 00 11 12 00 00 00 00 00 FF 0F 38 [20:32:23]process_action close_receipt done [20:32:23]requested_data is exist [20:32:23]produce_requested_data [20:32:23]requested_item fm.sn is exist - process it [20:32:23]wFMCommunicate request_size=4 [20:32:23]MH_SAM_APDU [20:32:23]CAPDU: 80 11 00 00 [20:32:23]Write to MH i2c: E2 08 00 12 12 80 11 00 00 00 00 00 00 9E [20:32:23]Write i2c OK [20:32:23]MH_I2C_Read... [20:32:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:32:23]Read from MH i2c: E2 [20:32:23]MH_I2C_Read... [20:32:23]Read from MH i2c: E2 17 00 [20:32:23]MH_I2C_Read... [20:32:23]Read from MH i2c: E2 17 00 12 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 F7 [20:32:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:32:23]wFMCommunicate OK [20:32:23]requested_item fd.num is exist - process it [20:32:23]SAM_PROTO_GetFieldsCounters [20:32:23]wFMCommunicate request_size=4 [20:32:23]MH_SAM_APDU [20:32:23]CAPDU: 80 13 00 00 [20:32:23]Write to MH i2c: E2 08 00 13 12 80 13 00 00 00 00 00 00 A1 [20:32:23]Write i2c OK [20:32:23]MH_I2C_Read... [20:32:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:32:23]Read from MH i2c: E2 [20:32:23]MH_I2C_Read... [20:32:23]Read from MH i2c: E2 62 00 [20:32:23]MH_I2C_Read... [20:32:23]Read from MH i2c: E2 62 00 13 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 31 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 D5 [20:32:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 31 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:32:23]wFMCommunicate OK [20:32:23]SAM_PROTO_GetFieldsCounters done [20:32:23]requested_item shift.num is exist - process it [20:32:23]requested_item shift.opened is exist - process it [20:32:23]req_shift_opened [20:32:23]FM_GetShiftState [20:32:23]SAM_PROTO_GetShiftState [20:32:23]wFMCommunicate request_size=4 [20:32:23]MH_SAM_APDU [20:32:23]CAPDU: 80 13 01 00 [20:32:23]Write to MH i2c: E2 08 00 14 12 80 13 01 00 00 00 00 00 A3 [20:32:23]Write i2c OK [20:32:23]MH_I2C_Read... [20:32:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:32:23]Read from MH i2c: E2 [20:32:23]MH_I2C_Read... [20:32:23]Read from MH i2c: E2 0E 00 [20:32:23]MH_I2C_Read... [20:32:23]Read from MH i2c: E2 0E 00 14 12 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 90 [20:32:23]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [20:32:23]wFMCommunicate OK [20:32:23]SAM_PROTO_GetShiftState done [20:32:23]FM_GetShiftState done [20:32:23]req_shift_opened done [20:32:23]requested_item shift.open_date is exist - process it [20:32:23]req_shift_open_date [20:32:23]req_shift_open_date done [20:32:23]produce_requested_data done [20:32:23]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18993,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [20:32:23]process_action_free close_receipt [20:32:23]json_value_free [20:32:23]json_value_free done [20:32:23]process_json_proto returns [20:32:23]Send response to host [20:32:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18993,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [20:32:23]free response buf [20:32:23]execute_script done [20:32:23]execute_script returns [20:32:23]free content buf [20:32:23]Sock 9.Close socket [20:32:23]Sock 9.Thread stoped [20:32:27]OFD Sender: No OFD packet to send [20:32:32]OFD Sender: No OFD packet to send [20:32:37]OFD Sender: No OFD packet to send [20:32:42]OFD Sender: No OFD packet to send [20:32:47]OFD Sender: No OFD packet to send [20:32:52]OFD Sender: No OFD packet to send [20:32:57]OFD Sender: No OFD packet to send [20:33:02]OFD Sender: No OFD packet to send [20:33:07]OFD Sender: No OFD packet to send [20:33:12]OFD Sender: No OFD packet to send [20:33:17]OFD Sender: No OFD packet to send [20:33:22]OFD Sender: No OFD packet to send [20:33:27]OFD Sender: No OFD packet to send [20:33:32]OFD Sender: No OFD packet to send [20:33:37]accept exits with 8 [20:33:37]New connection [20:33:37]New thread 3066621284 created [20:33:37]Thread 3066764644 joined [20:33:37]Waiting for new connection... [20:33:37] Sock 8.Parse request [20:33:37]Sock 8.Check first char [20:33:37]Sock 8.First char is OK [20:33:37]request: POST /json_proto HTTP/1.0 [20:33:37]Method: POST [20:33:37]URL: /json_proto [20:33:37]Method is POST - this is cgi request [20:33:37]url: /json_proto [20:33:37]query_string will be loaded in cgi processing [20:33:37]execute_cgi json_proto POST (null) [20:33:37]execute_cgi path=json_proto method=POST [20:33:37]POST find Content-Length [20:33:37]Host: 172.17.62.196:8080 [20:33:37]Content-Length: 1232 [20:33:37]Content-Type: application/json [20:33:37] [20:33:37]POST finish read [20:33:37]Found Content-Length = 1232 [20:33:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16914", "tax_sys" : 0, "items" : [ { "code": "4620016303269", "name": "\u0412\u043B\u0430\u0436\u043D\u0430\u044F \u0442\u0443\u0430\u043B\u0435\u0442\u043D\u0430\u044F \u0431\u0443\u043C\u0430\u0433\u0430 80 VOK", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159381178", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 \u0422\u0440\u0438\u043E 82,5\u0433", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 274.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:33:37]execute_script... [20:33:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16914", "tax_sys" : 0, "items" : [ { "code": "4620016303269", "name": "\u0412\u043B\u0430\u0436\u043D\u0430\u044F \u0442\u0443\u0430\u043B\u0435\u0442\u043D\u0430\u044F \u0431\u0443\u043C\u0430\u0433\u0430 80 VOK", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159381178", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 \u0422\u0440\u0438\u043E 82,5\u0433", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 274.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:33:37]POST & json_proto [20:33:37]process_json_proto [20:33:37]json parsed OK: [20:33:37]protocol is kg_v1.0 [20:33:37]action value=close_receipt [20:33:37]process_action close_receipt [20:33:37]cmd_close_receipt [20:33:37]MH_GetDate [20:33:37]Write to MH i2c: F0 00 00 15 12 16 [20:33:37]Write i2c OK [20:33:37]MH_I2C_Read... [20:33:37]Read from MH i2c: F0 [20:33:37]MH_I2C_Read... [20:33:37]Read from MH i2c: F0 09 00 [20:33:37]MH_I2C_Read... [20:33:37]Read from MH i2c: F0 09 00 15 12 00 A4 73 F4 66 CE CC 0E 66 9E [20:33:37]GetLastDocTimeStamp 1727296342 [20:33:37]current date 1727296420 [20:33:37]FM_GetShiftState [20:33:37]SAM_PROTO_GetShiftState [20:33:37]wFMCommunicate request_size=4 [20:33:37]MH_SAM_APDU [20:33:37]CAPDU: 80 13 01 00 [20:33:37]Write to MH i2c: E2 08 00 16 12 80 13 01 00 00 00 00 00 A5 [20:33:37]Write i2c OK [20:33:37]MH_I2C_Read... [20:33:37]OFD Sender: No OFD packet to send [20:33:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:33:37]Read from MH i2c: E2 [20:33:37]MH_I2C_Read... [20:33:37]Read from MH i2c: E2 0E 00 [20:33:37]MH_I2C_Read... [20:33:37]Read from MH i2c: E2 0E 00 16 12 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 92 [20:33:37]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [20:33:37]wFMCommunicate OK [20:33:37]SAM_PROTO_GetShiftState done [20:33:37]FM_GetShiftState done [20:33:37]opened in 1727223091 [20:33:37]opened+sec_in_day 1727309491 [20:33:37]quantity*price = 14000 [20:33:37]sum+1 = 14001 [20:33:37]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5000159381178 Шок Батончик Баунти Трио 82,5г 1.000 * 89.00 = 89.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 42113270 Жев Orbit арбуз 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 274.00 НСП 1% : 2.43 НДС 12% : 29.10 Наличными: 274.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 72 25.09.2024 20:33 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18994 ФПД: 279798543574285 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T203340&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18994&fm=279798543574285&tin=02508201610067®Number=0000000000152968&sum=27400 0 [20:33:38]StoreToDocumentArchive [20:33:38]shift 183 fd 18994 [20:33:38]save to /storage/0183/doc_00018994 [20:33:38]save last doc name /storage/0183/doc_00018994 to /storage/kkm_last_doc_name [20:33:38]save OK [20:33:38]Clear old archive folders... [20:33:38]ProcessDocumentItem done err = 0, tmpTLVsize=509 [20:33:38]tlvbuf is 015FF750 [20:33:38]SAM_PROTO_ClearQueue [20:33:38]wFMCommunicate request_size=4 [20:33:38]MH_SAM_APDU [20:33:38]CAPDU: 80 09 00 00 [20:33:38]Write to MH i2c: E2 08 00 23 12 80 09 00 00 00 00 00 00 A7 [20:33:38]Write i2c OK [20:33:38]MH_I2C_Read... [20:33:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:33:38]Read from MH i2c: E2 [20:33:38]MH_I2C_Read... [20:33:38]Read from MH i2c: E2 03 00 [20:33:38]MH_I2C_Read... [20:33:38]Read from MH i2c: E2 03 00 23 12 00 90 00 A9 [20:33:38]RAPDU: 90 00 [20:33:38]wFMCommunicate OK [20:33:38]SAM_PROTO_ClearQueue done [20:33:38]KKMCreateOFDPacket [20:33:38]OFDProtocolAddRootSTLVToBuf [20:33:38]FM_MakeSignedData [20:33:38]FM_MakeSignedData [20:33:38]SAM_PROTO_SignData [20:33:38]wFMCommunicate request_size=4 [20:33:38]MH_SAM_APDU [20:33:38]CAPDU: 80 0D 01 02 [20:33:38]Write to MH i2c: E2 08 00 24 12 80 0D 01 02 00 00 00 00 AF [20:33:38]Write i2c OK [20:33:38]MH_I2C_Read... [20:33:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:33:38]Read from MH i2c: E2 [20:33:38]MH_I2C_Read... [20:33:38]Read from MH i2c: E2 03 00 [20:33:38]MH_I2C_Read... [20:33:38]Read from MH i2c: E2 03 00 24 12 00 90 00 AA [20:33:38]RAPDU: 90 00 [20:33:38]wFMCommunicate OK [20:33:38]wFMCommunicate request_size=255 [20:33:38]MH_SAM_APDU [20:33:38]CAPDU: 80 0D 02 02 FA 03 00 FD 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 33 32 36 39 06 04 35 00 D0 92 D0 BB D0 B0 D0 B6 D0 BD D0 B0 D1 8F 20 D1 82 D1 83 D0 B0 D0 BB D0 B5 D1 82 D0 BD D0 B0 D1 8F 20 D0 B1 D1 83 D0 BC D0 B0 D0 B3 D0 B0 20 38 30 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 [20:33:38]Write to MH i2c: E2 02 01 25 12 80 0D 02 02 FA 00 03 00 FD 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 33 32 36 39 06 04 35 00 D0 92 D0 BB D0 B0 D0 B6 D0 BD D0 B0 D1 8F 20 D1 82 D1 83 D0 B0 D0 BB D0 B5 D1 82 D0 BD D0 B0 D1 8F 20 D0 B1 D1 83 D0 BC D0 B0 D0 B3 D0 B0 20 38 30 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 00 00 7F [20:33:38]Write i2c OK [20:33:38]MH_I2C_Read... [20:33:39]Read from MH i2c: E2 [20:33:39]MH_I2C_Read... [20:33:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:33:39]Read from MH i2c: E2 03 00 [20:33:39]MH_I2C_Read... [20:33:39]Read from MH i2c: E2 03 00 25 12 00 90 00 AB [20:33:39]RAPDU: 90 00 [20:33:39]wFMCommunicate OK [20:33:39]wFMCommunicate request_size=255 [20:33:39]MH_SAM_APDU [20:33:39]CAPDU: 80 0D 02 02 FA 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5E 0B 00 00 00 00 07 04 06 00 08 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 A4 73 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 32 [20:33:39]Write to MH i2c: E2 02 01 26 12 80 0D 02 02 FA 00 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5E 0B 00 00 00 00 07 04 06 00 08 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 A4 73 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 32 00 00 54 [20:33:39]Write i2c OK [20:33:39]MH_I2C_Read... [20:33:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:33:39]Read from MH i2c: E2 [20:33:39]MH_I2C_Read... [20:33:39]Read from MH i2c: E2 03 00 [20:33:39]MH_I2C_Read... [20:33:39]Read from MH i2c: E2 03 00 26 12 00 90 00 AC [20:33:39]RAPDU: 90 00 [20:33:39]wFMCommunicate OK [20:33:39]wFMCommunicate request_size=18 [20:33:39]MH_SAM_APDU [20:33:39]CAPDU: 80 0D 02 02 0D 4A 00 00 35 04 06 00 FE 79 AC CC 65 0D [20:33:39]Write to MH i2c: E2 15 00 27 12 80 0D 02 02 0D 00 4A 00 00 35 04 06 00 FE 79 AC CC 65 0D 00 00 B7 [20:33:39]Write i2c OK [20:33:39]MH_I2C_Read... [20:33:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:33:39]Read from MH i2c: E2 [20:33:39]MH_I2C_Read... [20:33:39]Read from MH i2c: E2 03 00 [20:33:39]MH_I2C_Read... [20:33:39]Read from MH i2c: E2 03 00 27 12 00 90 00 AD [20:33:39]RAPDU: 90 00 [20:33:39]wFMCommunicate OK [20:33:39]wFMCommunicate request_size=4 [20:33:39]MH_SAM_APDU [20:33:39]CAPDU: 80 0D 03 02 [20:33:39]Write to MH i2c: E2 08 00 28 12 80 0D 03 02 00 00 00 00 B5 [20:33:39]Write i2c OK [20:33:39]MH_I2C_Read... [20:33:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:33:39]Read from MH i2c: E2 [20:33:39]MH_I2C_Read... [20:33:39]Read from MH i2c: E2 0B 00 [20:33:39]MH_I2C_Read... [20:33:39]Read from MH i2c: E2 0B 00 28 12 00 C8 CF 05 0B 07 C8 DB 88 90 00 8F [20:33:39]RAPDU: C8 CF 05 0B 07 C8 DB 88 90 00 [20:33:39]wFMCommunicate OK [20:33:39]SAM_PROTO_SignData done [20:33:39]FM_MakeSignedData done [20:33:39]CreateOFDProtocolMessage [20:33:39]wFMCommunicate request_size=4 [20:33:39]MH_SAM_APDU [20:33:39]CAPDU: 80 11 00 00 [20:33:39]Write to MH i2c: E2 08 00 29 12 80 11 00 00 00 00 00 00 B5 [20:33:39]Write i2c OK [20:33:39]MH_I2C_Read... [20:33:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:33:39]Read from MH i2c: E2 [20:33:39]MH_I2C_Read... [20:33:39]Read from MH i2c: E2 17 00 [20:33:39]MH_I2C_Read... [20:33:39]Read from MH i2c: E2 17 00 29 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 0E [20:33:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:33:39]wFMCommunicate OK [20:33:39]CreateOFDProtocolMessage done [20:33:39]OFDSenderStorePacket 18994 [20:33:39]StoreOFDPacket docnum=18994 [20:33:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 11 02 00 00 12 F8 09 02 F8 68 5A 03 01 00 03 00 FD 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 33 32 36 39 06 04 35 00 D0 92 D0 BB D0 B0 D0 B6 D0 BD D0 B0 D1 8F 20 D1 82 D1 83 D0 B0 D0 BB D0 B5 D1 82 D0 BD D0 B0 D1 8F 20 D0 B1 D1 83 D0 BC D0 B0 D0 B3 D0 B0 20 38 30 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5E 0B 00 00 00 00 07 04 06 00 08 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 A4 73 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 32 4A 00 00 35 04 06 00 FE 79 AC CC 65 0D C8 CF 05 0B 07 C8 DB 88 [20:33:39]CheckFolder [20:33:39]dirname=/storage/ofd_packets [20:33:39]CheckFolder done [20:33:39]ProducePacketName [20:33:39]name=ofd_packets/00018994 [20:33:39]NVStorageSaveData ofd_packets/00018994 [20:33:39]File name is /storage/ofd_packets/00018994 [20:33:39]Write 559 bytes [20:33:39]NVStorageSaveData done [20:33:39]OFDSenderStorePacket done [20:33:39]KKMCreateOFDPacket done [20:33:39]NVStorageSaveData kkm_last_timestamp [20:33:39]File name is /storage/kkm_last_timestamp [20:33:39]Write 4 bytes [20:33:39]NVStorageSaveData done [20:33:39]ExternCall_PrintAddStr [20:33:39]wPrintStart [20:33:39]Write to MH i2c: 01 00 00 2A 12 3C [20:33:39]Write i2c OK [20:33:39]MH_I2C_Read... [20:33:39]Read from MH i2c: 01 [20:33:39]MH_I2C_Read... [20:33:39]Read from MH i2c: 01 07 00 [20:33:39]MH_I2C_Read... [20:33:39]Read from MH i2c: 01 07 00 2A 12 00 00 00 00 00 FF 0F 51 [20:33:39]RasterBufferAndPrint [20:33:39]line Счет N : (3)16914 [20:33:39]line ИНН: 02508201610067 [20:33:39]line Контрольно-Кассовый Чек [20:33:39]line ПРОДАЖА [20:33:39]line Товар: 4620016303269 [20:33:39]line Влажная туалетная бумага 80 VOK [20:33:39]line 1.000 * 140.00 [20:33:39]line = 140.00 [20:33:39]line НДС 12% НСП 1% [20:33:39]line > о реализуемом товаре [20:33:39]line Товар: 5000159381178 [20:33:39]line Шок Батончик Баунти Трио 82,5г [20:33:39]line 1.000 * 89.00 [20:33:39]line = 89.00 [20:33:39]line НДС 12% НСП 1% [20:33:39]line > о реализуемом товаре [20:33:39]line Товар: 42113270 [20:33:39]line Жев Orbit арбуз [20:33:39]line 1.000 * 45.00 [20:33:39]line = 45.00 [20:33:39]line НДС 12% НСП 1% [20:33:39]line > о реализуемом товаре [20:33:39]line ИТОГО: 274.00 [20:33:39]line НСП 1% : 2.43 [20:33:39]line НДС 12% : 29.10 [20:33:39]line Наличными: 274.00 [20:33:39]line Безнал.: 0.00 [20:33:39]line Место: АЗС № 176 "Партнер Нефть" [20:33:39]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [20:33:39]line СНО: Общий режим [20:33:39]line Чек 72 25.09.2024 20:33 [20:33:39]line Смена: 183 ФФД: 1.0 [20:33:39]line ЗНМ: 0300000010 [20:33:39]line РНМ: 0000000000152968 [20:33:39]line Версия ККМ: v1.0 [20:33:39]line ФМ: 0000000000959456 [20:33:39]line ФД: 18994 [20:33:39]line ФПД: 279798543574285 [20:33:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T203340&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18994&fm=279798543574285&tin=02508201610067®Number=0000000000152968&sum=27400 [20:33:39]line 0 [20:33:39]OFD Sender: Processing packet 18994 [packets to send 7, broken 6] [20:33:39]ProducePacketName [20:33:39]name=ofd_packets/00018994 [20:33:39]OFD Sender: To server: pG, [20:33:39]CommunicateWithHost lk.salyk.kg:30040 [20:33:39]ConnectInit lk.salyk.kg [20:33:39]written 0, free lines is 4095 [20:33:40]Connected sock=10 [20:33:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 11 02 00 00 12 F8 09 02 F8 68 5A 03 01 00 03 00 FD 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 33 32 36 39 06 04 35 00 D0 92 D0 BB D0 B0 D0 B6 D0 BD D0 B0 D1 8F 20 D1 82 D1 83 D0 B0 D0 BB D0 B5 D1 82 D0 BD D0 B0 D1 8F 20 D0 B1 D1 83 D0 BC D0 B0 D0 B3 D0 B0 20 38 30 20 56 4F 4B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5E 0B 00 00 00 00 07 04 06 00 08 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 A4 73 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 32 4A 00 00 35 04 06 00 FE 79 AC CC 65 0D C8 CF 05 0B 07 C8 DB 88 [20:33:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 1A 9C 47 00 64 09 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 32 4A 00 00 F4 03 04 00 01 1D F4 66 B6 04 01 00 00 2D 87 4F 12 4A BC 56 54 [20:33:40]CommunicateWithHost err = 0 [20:33:40]CheckOFDResponse [20:33:40]1017 (14) - 77093643461234 [20:33:40]1041 (16) - 0000000000959456 [20:33:40]1040 (4) - 18994 [20:33:40]1012 (4) - 25.09.2024 14:24 [20:33:40]1206 (1) - 0 [20:33:40]OFD Sender: Remove packet 18994 [20:33:40]ProducePacketName [20:33:40]name=ofd_packets/00018994 [20:33:40]NVStorageDeleteData [20:33:40]Write to MH i2c: 01 00 00 60 12 72 [20:33:40]Write i2c OK [20:33:40]MH_I2C_Read... [20:33:40]Read from MH i2c: 01 [20:33:40]MH_I2C_Read... [20:33:40]Read from MH i2c: 01 07 00 [20:33:40]MH_I2C_Read... [20:33:40]Read from MH i2c: 01 07 00 60 12 00 00 00 00 00 6C 0C F1 [20:33:40]RasterBufferAndPrint [20:33:40]line [20:33:40]line [20:33:40]line [20:33:40]line [20:33:40]line [20:33:40]written 0, free lines is 3189 [20:33:40]MH_Cut [20:33:40]Write to MH i2c: D1 01 00 67 12 01 4B [20:33:40]Write i2c OK [20:33:40]MH_I2C_Read... [20:33:40]Read from MH i2c: D1 [20:33:40]MH_I2C_Read... [20:33:40]Read from MH i2c: D1 01 00 [20:33:40]MH_I2C_Read... [20:33:40]Read from MH i2c: D1 01 00 67 12 00 4A [20:33:40]Write to MH i2c: 01 00 00 68 12 7A [20:33:40]Write i2c OK [20:33:40]MH_I2C_Read... [20:33:41]OFD Sender: No OFD packet to send [20:33:41]*** Cut start [20:33:41]*** Partial cut [20:33:41]*** CUTSNS_PIN = 1 [20:33:41]*** CUTSNS_PIN = 0 [20:33:41]*** Brake cut motor [20:33:41]Read from MH i2c: 01 [20:33:41]MH_I2C_Read... [20:33:41]*** Stop cut motor [20:33:41]*** Cut end [20:33:41]Read from MH i2c: 01 07 00 [20:33:41]MH_I2C_Read... [20:33:41]Read from MH i2c: 01 07 00 68 12 00 00 00 00 00 FF 0F 8F [20:33:41]process_action close_receipt done [20:33:41]requested_data is exist [20:33:41]produce_requested_data [20:33:41]requested_item fm.sn is exist - process it [20:33:41]wFMCommunicate request_size=4 [20:33:41]MH_SAM_APDU [20:33:41]CAPDU: 80 11 00 00 [20:33:41]Write to MH i2c: E2 08 00 69 12 80 11 00 00 00 00 00 00 F5 [20:33:41]Write i2c OK [20:33:41]MH_I2C_Read... [20:33:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:33:41]Read from MH i2c: E2 [20:33:41]MH_I2C_Read... [20:33:41]Read from MH i2c: E2 17 00 [20:33:41]MH_I2C_Read... [20:33:41]Read from MH i2c: E2 17 00 69 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 4E [20:33:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [20:33:41]wFMCommunicate OK [20:33:41]requested_item fd.num is exist - process it [20:33:41]SAM_PROTO_GetFieldsCounters [20:33:41]wFMCommunicate request_size=4 [20:33:41]MH_SAM_APDU [20:33:41]CAPDU: 80 13 00 00 [20:33:41]Write to MH i2c: E2 08 00 6A 12 80 13 00 00 00 00 00 00 F8 [20:33:41]Write i2c OK [20:33:41]MH_I2C_Read... [20:33:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:33:42]Read from MH i2c: E2 [20:33:42]MH_I2C_Read... [20:33:42]Read from MH i2c: E2 62 00 [20:33:42]MH_I2C_Read... [20:33:42]Read from MH i2c: E2 62 00 6A 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 32 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 30 [20:33:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 32 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:33:42]wFMCommunicate OK [20:33:42]SAM_PROTO_GetFieldsCounters done [20:33:42]requested_item shift.num is exist - process it [20:33:42]requested_item shift.opened is exist - process it [20:33:42]req_shift_opened [20:33:42]FM_GetShiftState [20:33:42]SAM_PROTO_GetShiftState [20:33:42]wFMCommunicate request_size=4 [20:33:42]MH_SAM_APDU [20:33:42]CAPDU: 80 13 01 00 [20:33:42]Write to MH i2c: E2 08 00 6B 12 80 13 01 00 00 00 00 00 FA [20:33:42]Write i2c OK [20:33:42]MH_I2C_Read... [20:33:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:33:42]Read from MH i2c: E2 [20:33:42]MH_I2C_Read... [20:33:42]Read from MH i2c: E2 0E 00 [20:33:42]MH_I2C_Read... [20:33:42]Read from MH i2c: E2 0E 00 6B 12 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 E7 [20:33:42]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [20:33:42]wFMCommunicate OK [20:33:42]SAM_PROTO_GetShiftState done [20:33:42]FM_GetShiftState done [20:33:42]req_shift_opened done [20:33:42]requested_item shift.open_date is exist - process it [20:33:42]req_shift_open_date [20:33:42]req_shift_open_date done [20:33:42]produce_requested_data done [20:33:42]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18994,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [20:33:42]process_action_free close_receipt [20:33:42]json_value_free [20:33:42]json_value_free done [20:33:42]process_json_proto returns [20:33:42]Send response to host [20:33:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18994,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [20:33:42]free response buf [20:33:42]execute_script done [20:33:42]execute_script returns [20:33:42]free content buf [20:33:42]Sock 8.Close socket [20:33:42]Sock 8.Thread stoped [20:33:46]OFD Sender: No OFD packet to send [20:33:51]OFD Sender: No OFD packet to send [20:33:56]OFD Sender: No OFD packet to send [20:34:01]OFD Sender: No OFD packet to send [20:34:06]OFD Sender: No OFD packet to send [20:34:11]OFD Sender: No OFD packet to send [20:34:16]OFD Sender: No OFD packet to send [20:34:21]OFD Sender: No OFD packet to send [20:34:26]OFD Sender: No OFD packet to send [20:34:31]OFD Sender: No OFD packet to send [20:34:36]OFD Sender: No OFD packet to send [20:34:41]OFD Sender: No OFD packet to send [20:34:46]OFD Sender: No OFD packet to send [20:34:51]OFD Sender: No OFD packet to send [20:34:56]OFD Sender: No OFD packet to send [20:35:01]OFD Sender: No OFD packet to send [20:35:06]OFD Sender: No OFD packet to send [20:35:11]OFD Sender: No OFD packet to send [20:35:16]OFD Sender: No OFD packet to send [20:35:21]OFD Sender: No OFD packet to send [20:35:26]OFD Sender: No OFD packet to send [20:35:31]OFD Sender: No OFD packet to send [20:35:36]OFD Sender: No OFD packet to send [20:35:41]OFD Sender: No OFD packet to send [20:35:46]OFD Sender: No OFD packet to send [20:35:51]OFD Sender: No OFD packet to send [20:35:56]OFD Sender: No OFD packet to send [20:36:01]OFD Sender: No OFD packet to send [20:36:06]OFD Sender: No OFD packet to send [20:36:11]OFD Sender: No OFD packet to send [20:36:16]OFD Sender: No OFD packet to send [20:36:21]OFD Sender: No OFD packet to send [20:36:26]OFD Sender: No OFD packet to send [20:36:31]OFD Sender: No OFD packet to send [20:36:36]OFD Sender: No OFD packet to send [20:36:41]OFD Sender: No OFD packet to send [20:36:46]OFD Sender: No OFD packet to send [20:36:51]OFD Sender: No OFD packet to send [20:36:56]OFD Sender: No OFD packet to send [20:37:01]OFD Sender: No OFD packet to send [20:37:06]OFD Sender: No OFD packet to send [20:37:11]OFD Sender: No OFD packet to send [20:37:16]OFD Sender: No OFD packet to send [20:37:21]OFD Sender: No OFD packet to send [20:37:26]OFD Sender: No OFD packet to send [20:37:31]OFD Sender: No OFD packet to send [20:37:36]OFD Sender: No OFD packet to send [20:37:41]OFD Sender: No OFD packet to send [20:37:46]OFD Sender: No OFD packet to send [20:37:51]OFD Sender: No OFD packet to send [20:37:56]OFD Sender: No OFD packet to send [20:38:01]OFD Sender: No OFD packet to send [20:38:06]OFD Sender: No OFD packet to send [20:38:11]OFD Sender: No OFD packet to send [20:38:16]OFD Sender: No OFD packet to send [20:38:21]OFD Sender: No OFD packet to send [20:38:26]OFD Sender: No OFD packet to send [20:38:31]OFD Sender: No OFD packet to send [20:38:36]OFD Sender: No OFD packet to send [20:38:41]OFD Sender: No OFD packet to send [20:38:46]OFD Sender: No OFD packet to send [20:38:51]OFD Sender: No OFD packet to send [20:38:56]OFD Sender: No OFD packet to send [20:39:01]OFD Sender: No OFD packet to send [20:39:06]OFD Sender: No OFD packet to send [20:39:11]OFD Sender: No OFD packet to send [20:39:16]OFD Sender: No OFD packet to send [20:39:21]OFD Sender: No OFD packet to send [20:39:26]OFD Sender: No OFD packet to send [20:39:31]OFD Sender: No OFD packet to send [20:39:36]OFD Sender: No OFD packet to send [20:39:41]OFD Sender: No OFD packet to send [20:39:46]OFD Sender: No OFD packet to send [20:39:51]OFD Sender: No OFD packet to send [20:39:56]OFD Sender: No OFD packet to send [20:40:01]OFD Sender: No OFD packet to send [20:40:06]OFD Sender: No OFD packet to send [20:40:11]OFD Sender: No OFD packet to send [20:40:16]OFD Sender: No OFD packet to send [20:40:21]OFD Sender: No OFD packet to send [20:40:26]OFD Sender: No OFD packet to send [20:40:31]OFD Sender: No OFD packet to send [20:40:36]OFD Sender: No OFD packet to send [20:40:41]OFD Sender: No OFD packet to send [20:40:46]OFD Sender: No OFD packet to send [20:40:51]OFD Sender: No OFD packet to send [20:40:56]OFD Sender: No OFD packet to send [20:41:01]OFD Sender: No OFD packet to send [20:41:06]OFD Sender: No OFD packet to send [20:41:11]OFD Sender: No OFD packet to send [20:41:16]OFD Sender: No OFD packet to send [20:41:21]OFD Sender: No OFD packet to send [20:41:26]OFD Sender: No OFD packet to send [20:41:31]OFD Sender: No OFD packet to send [20:41:36]OFD Sender: No OFD packet to send [20:41:41]OFD Sender: No OFD packet to send [20:41:46]OFD Sender: No OFD packet to send [20:41:51]OFD Sender: No OFD packet to send [20:41:56]OFD Sender: No OFD packet to send [20:42:01]OFD Sender: No OFD packet to send [20:42:06]OFD Sender: No OFD packet to send [20:42:11]OFD Sender: No OFD packet to send [20:42:16]OFD Sender: No OFD packet to send [20:42:21]OFD Sender: No OFD packet to send [20:42:26]OFD Sender: No OFD packet to send [20:42:31]OFD Sender: No OFD packet to send [20:42:36]OFD Sender: No OFD packet to send [20:42:41]OFD Sender: No OFD packet to send [20:42:46]OFD Sender: No OFD packet to send [20:42:51]OFD Sender: No OFD packet to send [20:42:56]OFD Sender: No OFD packet to send [20:43:01]OFD Sender: No OFD packet to send [20:43:06]OFD Sender: No OFD packet to send [20:43:11]OFD Sender: No OFD packet to send [20:43:16]OFD Sender: No OFD packet to send [20:43:21]OFD Sender: No OFD packet to send [20:43:26]OFD Sender: No OFD packet to send [20:43:31]OFD Sender: No OFD packet to send [20:43:36]OFD Sender: No OFD packet to send [20:43:41]OFD Sender: No OFD packet to send [20:43:46]OFD Sender: No OFD packet to send [20:43:51]OFD Sender: No OFD packet to send [20:43:56]OFD Sender: No OFD packet to send [20:44:01]OFD Sender: No OFD packet to send [20:44:06]OFD Sender: No OFD packet to send [20:44:11]OFD Sender: No OFD packet to send [20:44:16]OFD Sender: No OFD packet to send [20:44:21]OFD Sender: No OFD packet to send [20:44:26]OFD Sender: No OFD packet to send [20:44:31]OFD Sender: No OFD packet to send [20:44:36]OFD Sender: No OFD packet to send [20:44:41]OFD Sender: No OFD packet to send [20:44:46]OFD Sender: No OFD packet to send [20:44:51]OFD Sender: No OFD packet to send [20:44:56]OFD Sender: No OFD packet to send [20:45:01]OFD Sender: No OFD packet to send [20:45:06]OFD Sender: No OFD packet to send [20:45:11]OFD Sender: No OFD packet to send [20:45:16]OFD Sender: No OFD packet to send [20:45:21]OFD Sender: No OFD packet to send [20:45:26]OFD Sender: No OFD packet to send [20:45:31]OFD Sender: No OFD packet to send [20:45:36]OFD Sender: No OFD packet to send [20:45:41]OFD Sender: No OFD packet to send [20:45:46]OFD Sender: No OFD packet to send [20:45:51]OFD Sender: No OFD packet to send [20:45:56]OFD Sender: No OFD packet to send [20:46:01]OFD Sender: No OFD packet to send [20:46:06]OFD Sender: No OFD packet to send [20:46:11]OFD Sender: No OFD packet to send [20:46:16]OFD Sender: No OFD packet to send [20:46:21]OFD Sender: No OFD packet to send [20:46:26]OFD Sender: No OFD packet to send [20:46:31]OFD Sender: No OFD packet to send [20:46:36]OFD Sender: No OFD packet to send [20:46:41]OFD Sender: No OFD packet to send [20:46:46]OFD Sender: No OFD packet to send [20:46:51]OFD Sender: No OFD packet to send [20:46:56]OFD Sender: No OFD packet to send [20:47:01]OFD Sender: No OFD packet to send [20:47:06]OFD Sender: No OFD packet to send [20:47:11]OFD Sender: No OFD packet to send [20:47:16]OFD Sender: No OFD packet to send [20:47:21]OFD Sender: No OFD packet to send [20:47:26]OFD Sender: No OFD packet to send [20:47:31]OFD Sender: No OFD packet to send [20:47:36]OFD Sender: No OFD packet to send [20:47:41]OFD Sender: No OFD packet to send [20:47:46]OFD Sender: No OFD packet to send [20:47:51]OFD Sender: No OFD packet to send [20:47:56]OFD Sender: No OFD packet to send [20:48:01]OFD Sender: No OFD packet to send [20:48:06]OFD Sender: No OFD packet to send [20:48:11]OFD Sender: No OFD packet to send [20:48:16]OFD Sender: No OFD packet to send [20:48:21]OFD Sender: No OFD packet to send [20:48:26]OFD Sender: No OFD packet to send [20:48:31]OFD Sender: No OFD packet to send [20:48:36]OFD Sender: No OFD packet to send [20:48:41]OFD Sender: No OFD packet to send [20:48:46]OFD Sender: No OFD packet to send [20:48:51]OFD Sender: No OFD packet to send [20:48:56]OFD Sender: No OFD packet to send [20:49:01]OFD Sender: No OFD packet to send [20:49:06]OFD Sender: No OFD packet to send [20:49:11]OFD Sender: No OFD packet to send [20:49:16]OFD Sender: No OFD packet to send [20:49:21]OFD Sender: No OFD packet to send [20:49:26]OFD Sender: No OFD packet to send [20:49:31]OFD Sender: No OFD packet to send [20:49:36]OFD Sender: No OFD packet to send [20:49:41]OFD Sender: No OFD packet to send [20:49:46]OFD Sender: No OFD packet to send [20:49:51]OFD Sender: No OFD packet to send [20:49:56]OFD Sender: No OFD packet to send [20:50:01]OFD Sender: No OFD packet to send [20:50:06]OFD Sender: No OFD packet to send [20:50:11]OFD Sender: No OFD packet to send [20:50:16]OFD Sender: No OFD packet to send [20:50:21]OFD Sender: No OFD packet to send [20:50:26]OFD Sender: No OFD packet to send [20:50:31]OFD Sender: No OFD packet to send [20:50:36]OFD Sender: No OFD packet to send [20:50:41]OFD Sender: No OFD packet to send [20:50:46]OFD Sender: No OFD packet to send [20:50:51]OFD Sender: No OFD packet to send [20:50:56]OFD Sender: No OFD packet to send [20:51:01]OFD Sender: No OFD packet to send [20:51:06]OFD Sender: No OFD packet to send [20:51:11]OFD Sender: No OFD packet to send [20:51:16]OFD Sender: No OFD packet to send [20:51:21]OFD Sender: No OFD packet to send [20:51:26]OFD Sender: No OFD packet to send [20:51:31]OFD Sender: No OFD packet to send [20:51:36]OFD Sender: No OFD packet to send [20:51:41]OFD Sender: No OFD packet to send [20:51:46]OFD Sender: No OFD packet to send [20:51:51]OFD Sender: No OFD packet to send [20:51:56]OFD Sender: No OFD packet to send [20:52:01]OFD Sender: No OFD packet to send [20:52:06]OFD Sender: No OFD packet to send [20:52:11]OFD Sender: No OFD packet to send [20:52:16]OFD Sender: No OFD packet to send [20:52:21]OFD Sender: No OFD packet to send [20:52:26]OFD Sender: No OFD packet to send [20:52:31]OFD Sender: No OFD packet to send [20:52:36]OFD Sender: No OFD packet to send [20:52:41]OFD Sender: No OFD packet to send [20:52:46]OFD Sender: No OFD packet to send [20:52:51]OFD Sender: No OFD packet to send [20:52:56]OFD Sender: No OFD packet to send [20:53:01]OFD Sender: No OFD packet to send [20:53:06]OFD Sender: No OFD packet to send [20:53:11]OFD Sender: No OFD packet to send [20:53:16]OFD Sender: No OFD packet to send [20:53:21]OFD Sender: No OFD packet to send [20:53:26]OFD Sender: No OFD packet to send [20:53:31]OFD Sender: No OFD packet to send [20:53:36]OFD Sender: No OFD packet to send [20:53:41]OFD Sender: No OFD packet to send [20:53:46]OFD Sender: No OFD packet to send [20:53:51]OFD Sender: No OFD packet to send [20:53:56]OFD Sender: No OFD packet to send [20:54:01]OFD Sender: No OFD packet to send [20:54:07]OFD Sender: No OFD packet to send [20:54:12]OFD Sender: No OFD packet to send [20:54:17]OFD Sender: No OFD packet to send [20:54:22]OFD Sender: No OFD packet to send [20:54:27]OFD Sender: No OFD packet to send [20:54:32]OFD Sender: No OFD packet to send [20:54:37]OFD Sender: No OFD packet to send [20:54:42]OFD Sender: No OFD packet to send [20:54:47]OFD Sender: No OFD packet to send [20:54:52]OFD Sender: No OFD packet to send [20:54:57]OFD Sender: No OFD packet to send [20:55:02]OFD Sender: No OFD packet to send [20:55:07]OFD Sender: No OFD packet to send [20:55:12]OFD Sender: No OFD packet to send [20:55:17]OFD Sender: No OFD packet to send [20:55:22]OFD Sender: No OFD packet to send [20:55:27]OFD Sender: No OFD packet to send [20:55:32]OFD Sender: No OFD packet to send [20:55:37]OFD Sender: No OFD packet to send [20:55:42]OFD Sender: No OFD packet to send [20:55:47]OFD Sender: No OFD packet to send [20:55:52]OFD Sender: No OFD packet to send [20:55:57]OFD Sender: No OFD packet to send [20:56:02]OFD Sender: No OFD packet to send [20:56:07]OFD Sender: No OFD packet to send [20:56:12]OFD Sender: No OFD packet to send [20:56:17]OFD Sender: No OFD packet to send [20:56:22]OFD Sender: No OFD packet to send [20:56:27]OFD Sender: No OFD packet to send [20:56:32]OFD Sender: No OFD packet to send [20:56:37]OFD Sender: No OFD packet to send [20:56:42]OFD Sender: No OFD packet to send [20:56:47]OFD Sender: No OFD packet to send [20:56:52]OFD Sender: No OFD packet to send [20:56:57]OFD Sender: No OFD packet to send [20:57:02]OFD Sender: No OFD packet to send [20:57:07]OFD Sender: No OFD packet to send [20:57:12]OFD Sender: No OFD packet to send [20:57:17]OFD Sender: No OFD packet to send [20:57:22]OFD Sender: No OFD packet to send [20:57:27]OFD Sender: No OFD packet to send [20:57:32]OFD Sender: No OFD packet to send [20:57:37]OFD Sender: No OFD packet to send [20:57:42]OFD Sender: No OFD packet to send [20:57:47]OFD Sender: No OFD packet to send [20:57:52]OFD Sender: No OFD packet to send [20:57:57]OFD Sender: No OFD packet to send [20:58:02]OFD Sender: No OFD packet to send [20:58:07]OFD Sender: No OFD packet to send [20:58:12]OFD Sender: No OFD packet to send [20:58:17]OFD Sender: No OFD packet to send [20:58:22]OFD Sender: No OFD packet to send [20:58:27]OFD Sender: No OFD packet to send [20:58:32]OFD Sender: No OFD packet to send [20:58:37]OFD Sender: No OFD packet to send [20:58:42]OFD Sender: No OFD packet to send [20:58:47]OFD Sender: No OFD packet to send [20:58:52]OFD Sender: No OFD packet to send [20:58:57]OFD Sender: No OFD packet to send [20:59:02]OFD Sender: No OFD packet to send [20:59:07]OFD Sender: No OFD packet to send [20:59:12]OFD Sender: No OFD packet to send [20:59:17]OFD Sender: No OFD packet to send [20:59:22]OFD Sender: No OFD packet to send [20:59:27]OFD Sender: No OFD packet to send [20:59:32]OFD Sender: No OFD packet to send [20:59:37]OFD Sender: No OFD packet to send [20:59:42]OFD Sender: No OFD packet to send [20:59:47]OFD Sender: No OFD packet to send [20:59:52]OFD Sender: No OFD packet to send [20:59:57]OFD Sender: No OFD packet to send [21:00:02]OFD Sender: No OFD packet to send [21:00:07]OFD Sender: No OFD packet to send [21:00:12]OFD Sender: No OFD packet to send [21:00:17]OFD Sender: No OFD packet to send [21:00:22]OFD Sender: No OFD packet to send [21:00:27]OFD Sender: No OFD packet to send [21:00:32]OFD Sender: No OFD packet to send [21:00:37]OFD Sender: No OFD packet to send [21:00:42]OFD Sender: No OFD packet to send [21:00:47]OFD Sender: No OFD packet to send [21:00:52]OFD Sender: No OFD packet to send [21:00:57]OFD Sender: No OFD packet to send [21:01:02]OFD Sender: No OFD packet to send [21:01:07]OFD Sender: No OFD packet to send [21:01:12]OFD Sender: No OFD packet to send [21:01:17]OFD Sender: No OFD packet to send [21:01:22]OFD Sender: No OFD packet to send [21:01:27]OFD Sender: No OFD packet to send [21:01:32]OFD Sender: No OFD packet to send [21:01:37]OFD Sender: No OFD packet to send [21:01:42]OFD Sender: No OFD packet to send [21:01:47]OFD Sender: No OFD packet to send [21:01:52]OFD Sender: No OFD packet to send [21:01:57]OFD Sender: No OFD packet to send [21:02:02]OFD Sender: No OFD packet to send [21:02:07]OFD Sender: No OFD packet to send [21:02:12]OFD Sender: No OFD packet to send [21:02:17]OFD Sender: No OFD packet to send [21:02:22]OFD Sender: No OFD packet to send [21:02:27]OFD Sender: No OFD packet to send [21:02:32]OFD Sender: No OFD packet to send [21:02:37]OFD Sender: No OFD packet to send [21:02:42]OFD Sender: No OFD packet to send [21:02:47]OFD Sender: No OFD packet to send [21:02:52]OFD Sender: No OFD packet to send [21:02:57]OFD Sender: No OFD packet to send [21:03:02]OFD Sender: No OFD packet to send [21:03:07]OFD Sender: No OFD packet to send [21:03:12]OFD Sender: No OFD packet to send [21:03:17]OFD Sender: No OFD packet to send [21:03:22]OFD Sender: No OFD packet to send [21:03:27]OFD Sender: No OFD packet to send [21:03:32]OFD Sender: No OFD packet to send [21:03:37]OFD Sender: No OFD packet to send [21:03:42]OFD Sender: No OFD packet to send [21:03:47]OFD Sender: No OFD packet to send [21:03:52]OFD Sender: No OFD packet to send [21:03:57]OFD Sender: No OFD packet to send [21:04:02]OFD Sender: No OFD packet to send [21:04:07]OFD Sender: No OFD packet to send [21:04:12]OFD Sender: No OFD packet to send [21:04:17]OFD Sender: No OFD packet to send [21:04:22]OFD Sender: No OFD packet to send [21:04:27]OFD Sender: No OFD packet to send [21:04:32]OFD Sender: No OFD packet to send [21:04:37]OFD Sender: No OFD packet to send [21:04:42]OFD Sender: No OFD packet to send [21:04:47]OFD Sender: No OFD packet to send [21:04:52]OFD Sender: No OFD packet to send [21:04:57]OFD Sender: No OFD packet to send [21:05:02]OFD Sender: No OFD packet to send [21:05:07]OFD Sender: No OFD packet to send [21:05:12]OFD Sender: No OFD packet to send [21:05:17]OFD Sender: No OFD packet to send [21:05:22]OFD Sender: No OFD packet to send [21:05:27]OFD Sender: No OFD packet to send [21:05:32]OFD Sender: No OFD packet to send [21:05:37]OFD Sender: No OFD packet to send [21:05:42]OFD Sender: No OFD packet to send [21:05:47]OFD Sender: No OFD packet to send [21:05:52]OFD Sender: No OFD packet to send [21:05:57]OFD Sender: No OFD packet to send [21:06:02]OFD Sender: No OFD packet to send [21:06:07]OFD Sender: No OFD packet to send [21:06:12]OFD Sender: No OFD packet to send [21:06:17]OFD Sender: No OFD packet to send [21:06:22]OFD Sender: No OFD packet to send [21:06:27]OFD Sender: No OFD packet to send [21:06:30]accept exits with 9 [21:06:30]New connection [21:06:30]New thread 3066764644 created [21:06:30]Thread 3066621284 joined [21:06:30]Waiting for new connection... [21:06:30] Sock 9.Parse request [21:06:30]Sock 9.Check first char [21:06:30]Sock 9.First char is OK [21:06:30]request: POST /json_proto HTTP/1.0 [21:06:30]Method: POST [21:06:30]URL: /json_proto [21:06:30]Method is POST - this is cgi request [21:06:30]url: /json_proto [21:06:30]query_string will be loaded in cgi processing [21:06:30]execute_cgi json_proto POST (null) [21:06:30]execute_cgi path=json_proto method=POST [21:06:30]POST find Content-Length [21:06:30]Host: 172.17.62.196:8080 [21:06:30]Content-Length: 808 [21:06:30]Content-Type: application/json [21:06:30] [21:06:30]POST finish read [21:06:30]Found Content-Length = 808 [21:06:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16915", "tax_sys" : 0, "items" : [ { "code": "4860019001346", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,5\u043B \u0441\u0442", "price" : 160.00, "quantity" : 2.000, "sum" : 320.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 320.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:06:30]execute_script... [21:06:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16915", "tax_sys" : 0, "items" : [ { "code": "4860019001346", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,5\u043B \u0441\u0442", "price" : 160.00, "quantity" : 2.000, "sum" : 320.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 320.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:06:30]POST & json_proto [21:06:30]process_json_proto [21:06:30]json parsed OK: [21:06:30]protocol is kg_v1.0 [21:06:30]action value=close_receipt [21:06:30]process_action close_receipt [21:06:30]cmd_close_receipt [21:06:30]MH_GetDate [21:06:30]Write to MH i2c: F0 00 00 6C 12 6D [21:06:30]Write i2c OK [21:06:30]MH_I2C_Read... [21:06:30]Read from MH i2c: F0 [21:06:30]MH_I2C_Read... [21:06:30]Read from MH i2c: F0 09 00 [21:06:30]MH_I2C_Read... [21:06:30]Read from MH i2c: F0 09 00 6C 12 00 59 7B F4 66 CE CC 0E 66 B2 [21:06:30]GetLastDocTimeStamp 1727296420 [21:06:30]current date 1727298393 [21:06:30]FM_GetShiftState [21:06:30]SAM_PROTO_GetShiftState [21:06:30]wFMCommunicate request_size=4 [21:06:30]MH_SAM_APDU [21:06:30]CAPDU: 80 13 01 00 [21:06:30]Write to MH i2c: E2 08 00 6D 12 80 13 01 00 00 00 00 00 FC [21:06:30]Write i2c OK [21:06:30]MH_I2C_Read... [21:06:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:06:30]Read from MH i2c: E2 [21:06:30]MH_I2C_Read... [21:06:30]Read from MH i2c: E2 0E 00 [21:06:30]MH_I2C_Read... [21:06:30]Read from MH i2c: E2 0E 00 6D 12 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 E9 [21:06:30]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [21:06:30]wFMCommunicate OK [21:06:30]SAM_PROTO_GetShiftState done [21:06:30]FM_GetShiftState done [21:06:30]opened in 1727223091 [21:06:30]opened+sec_in_day 1727309491 [21:06:30]quantity*price = 32000 [21:06:30]sum+1 = 32001 [21:06:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 320.00 НСП 1% : 2.83 НДС 12% : 33.98 Наличными: 0.00 Безнал.: 320.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 73 25.09.2024 21:06 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18995 ФПД: 102856313383118 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T210633&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18995&fm=102856313383118&tin=02508201610067®Number=0000000000152968&sum=32000 0 [21:06:31]StoreToDocumentArchive [21:06:31]shift 183 fd 18995 [21:06:31]save to /storage/0183/doc_00018995 [21:06:31]save last doc name /storage/0183/doc_00018995 to /storage/kkm_last_doc_name [21:06:31]save OK [21:06:31]Clear old archive folders... [21:06:31]ProcessDocumentItem done err = 0, tmpTLVsize=276 [21:06:31]tlvbuf is B6E930E0 [21:06:31]SAM_PROTO_ClearQueue [21:06:31]wFMCommunicate request_size=4 [21:06:31]MH_SAM_APDU [21:06:31]CAPDU: 80 09 00 00 [21:06:31]Write to MH i2c: E2 08 00 7A 12 80 09 00 00 00 00 00 00 FE [21:06:31]Write i2c OK [21:06:31]MH_I2C_Read... [21:06:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:06:32]Read from MH i2c: E2 [21:06:32]MH_I2C_Read... [21:06:32]Read from MH i2c: E2 03 00 [21:06:32]MH_I2C_Read... [21:06:32]Read from MH i2c: E2 03 00 7A 12 00 90 00 00 [21:06:32]RAPDU: 90 00 [21:06:32]wFMCommunicate OK [21:06:32]SAM_PROTO_ClearQueue done [21:06:32]KKMCreateOFDPacket [21:06:32]OFDProtocolAddRootSTLVToBuf [21:06:32]FM_MakeSignedData [21:06:32]FM_MakeSignedData [21:06:32]SAM_PROTO_SignData [21:06:32]wFMCommunicate request_size=4 [21:06:32]MH_SAM_APDU [21:06:32]CAPDU: 80 0D 01 02 [21:06:32]Write to MH i2c: E2 08 00 7B 12 80 0D 01 02 00 00 00 00 06 [21:06:32]Write i2c OK [21:06:32]MH_I2C_Read... [21:06:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:06:32]Read from MH i2c: E2 [21:06:32]MH_I2C_Read... [21:06:32]Read from MH i2c: E2 03 00 [21:06:32]MH_I2C_Read... [21:06:32]Read from MH i2c: E2 03 00 7B 12 00 90 00 01 [21:06:32]RAPDU: 90 00 [21:06:32]wFMCommunicate OK [21:06:32]wFMCommunicate request_size=255 [21:06:32]MH_SAM_APDU [21:06:32]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 7D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 59 7B F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 [21:06:32]Write to MH i2c: E2 02 01 7C 12 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 7D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 59 7B F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 00 00 FD [21:06:32]Write i2c OK [21:06:32]MH_I2C_Read... [21:06:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:06:32]Read from MH i2c: E2 [21:06:32]MH_I2C_Read... [21:06:32]Read from MH i2c: E2 03 00 [21:06:32]MH_I2C_Read... [21:06:32]Read from MH i2c: E2 03 00 7C 12 00 90 00 02 [21:06:32]RAPDU: 90 00 [21:06:32]wFMCommunicate OK [21:06:32]wFMCommunicate request_size=35 [21:06:32]MH_SAM_APDU [21:06:32]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 33 4A 00 00 35 04 06 00 5D 8C 1A 05 A8 CE [21:06:32]Write to MH i2c: E2 26 00 7D 12 80 0D 02 02 1E 00 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 33 4A 00 00 35 04 06 00 5D 8C 1A 05 A8 CE 00 00 FD [21:06:32]Write i2c OK [21:06:32]MH_I2C_Read... [21:06:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:06:32]Read from MH i2c: E2 [21:06:32]MH_I2C_Read... [21:06:32]Read from MH i2c: E2 03 00 [21:06:32]MH_I2C_Read... [21:06:32]Read from MH i2c: E2 03 00 7D 12 00 90 00 03 [21:06:32]RAPDU: 90 00 [21:06:32]wFMCommunicate OK [21:06:32]wFMCommunicate request_size=4 [21:06:32]MH_SAM_APDU [21:06:32]CAPDU: 80 0D 03 02 [21:06:32]Write to MH i2c: E2 08 00 7E 12 80 0D 03 02 00 00 00 00 0B [21:06:32]Write i2c OK [21:06:32]MH_I2C_Read... [21:06:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:06:32]Read from MH i2c: E2 [21:06:32]MH_I2C_Read... [21:06:32]Read from MH i2c: E2 0B 00 [21:06:32]MH_I2C_Read... [21:06:32]Read from MH i2c: E2 0B 00 7E 12 00 DF B0 FD E0 D0 1B 51 E4 90 00 98 [21:06:32]RAPDU: DF B0 FD E0 D0 1B 51 E4 90 00 [21:06:32]wFMCommunicate OK [21:06:32]SAM_PROTO_SignData done [21:06:32]FM_MakeSignedData done [21:06:32]CreateOFDProtocolMessage [21:06:32]wFMCommunicate request_size=4 [21:06:32]MH_SAM_APDU [21:06:32]CAPDU: 80 11 00 00 [21:06:32]Write to MH i2c: E2 08 00 7F 12 80 11 00 00 00 00 00 00 0B [21:06:32]Write i2c OK [21:06:32]MH_I2C_Read... [21:06:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:06:32]Read from MH i2c: E2 [21:06:32]MH_I2C_Read... [21:06:32]Read from MH i2c: E2 17 00 [21:06:32]MH_I2C_Read... [21:06:32]Read from MH i2c: E2 17 00 7F 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 64 [21:06:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:06:32]wFMCommunicate OK [21:06:32]CreateOFDProtocolMessage done [21:06:32]OFDSenderStorePacket 18995 [21:06:32]StoreOFDPacket docnum=18995 [21:06:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 28 01 00 00 75 53 20 01 FA 2A 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 7D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 59 7B F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 33 4A 00 00 35 04 06 00 5D 8C 1A 05 A8 CE DF B0 FD E0 D0 1B 51 E4 [21:06:32]CheckFolder [21:06:32]dirname=/storage/ofd_packets [21:06:32]CheckFolder done [21:06:32]ProducePacketName [21:06:32]name=ofd_packets/00018995 [21:06:32]NVStorageSaveData ofd_packets/00018995 [21:06:32]File name is /storage/ofd_packets/00018995 [21:06:32]Write 326 bytes [21:06:32]NVStorageSaveData done [21:06:32]OFDSenderStorePacket done [21:06:32]KKMCreateOFDPacket done [21:06:32]NVStorageSaveData kkm_last_timestamp [21:06:32]File name is /storage/kkm_last_timestamp [21:06:32]Write 4 bytes [21:06:32]NVStorageSaveData done [21:06:32]ExternCall_PrintAddStr [21:06:32]wPrintStart [21:06:32]Write to MH i2c: 01 00 00 80 12 92 [21:06:32]Write i2c OK [21:06:32]MH_I2C_Read... [21:06:32]Read from MH i2c: 01 [21:06:32]MH_I2C_Read... [21:06:32]Read from MH i2c: 01 07 00 [21:06:32]MH_I2C_Read... [21:06:32]Read from MH i2c: 01 07 00 80 12 00 00 00 00 00 FF 0F A7 [21:06:32]RasterBufferAndPrint [21:06:32]line Счет N : (3)16915 [21:06:32]line ИНН: 02508201610067 [21:06:32]line Контрольно-Кассовый Чек [21:06:32]line ПРОДАЖА [21:06:32]line Товар: 4860019001346 [21:06:32]line Вода Боржоми 0,5л ст [21:06:32]line 2.000 * 160.00 [21:06:32]line = 320.00 [21:06:32]line НДС 12% НСП 1% [21:06:32]line > о реализуемом товаре [21:06:32]line ИТОГО: 320.00 [21:06:32]line НСП 1% : 2.83 [21:06:32]line НДС 12% : 33.98 [21:06:32]line Наличными: 0.00 [21:06:32]line Безнал.: 320.00 [21:06:32]line Место: АЗС № 176 "Партнер Нефть" [21:06:32]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [21:06:32]line СНО: Общий режим [21:06:32]line Чек 73 25.09.2024 21:06 [21:06:32]line Смена: 183 ФФД: 1.0 [21:06:32]line ЗНМ: 0300000010 [21:06:32]line РНМ: 0000000000152968 [21:06:32]line Версия ККМ: v1.0 [21:06:32]line Платежная система: O! деньги [21:06:32]line ФМ: 0000000000959456 [21:06:32]line ФД: 18995 [21:06:32]line ФПД: 102856313383118 [21:06:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T210633&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18995&fm=102856313383118&tin=02508201610067®Number=0000000000152968&sum=32000 [21:06:32]line 0 [21:06:32]OFD Sender: Processing packet 18995 [packets to send 7, broken 6] [21:06:32]ProducePacketName [21:06:32]name=ofd_packets/00018995 [21:06:32]OFD Sender: To server: pG, [21:06:32]CommunicateWithHost lk.salyk.kg:30040 [21:06:32]ConnectInit lk.salyk.kg [21:06:32]written 0, free lines is 4095 [21:06:33]Connected sock=11 [21:06:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 28 01 00 00 75 53 20 01 FA 2A 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 7D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 59 7B F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 33 4A 00 00 35 04 06 00 5D 8C 1A 05 A8 CE DF B0 FD E0 D0 1B 51 E4 [21:06:33]Write to MH i2c: 01 00 00 AA 12 BC [21:06:33]Write i2c OK [21:06:33]MH_I2C_Read... [21:06:33]Read from MH i2c: 01 [21:06:33]MH_I2C_Read... [21:06:33]Read from MH i2c: 01 07 00 [21:06:33]MH_I2C_Read... [21:06:33]Read from MH i2c: 01 07 00 AA 12 00 00 00 00 00 0E 0D DE [21:06:33]RasterBufferAndPrint [21:06:33]line [21:06:33]line [21:06:33]line [21:06:33]line [21:06:33]line [21:06:33]written 0, free lines is 3348 [21:06:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 A5 B9 47 00 72 06 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 33 4A 00 00 F4 03 04 00 B6 24 F4 66 B6 04 01 00 00 33 63 33 B7 4A 75 E4 84 [21:06:33]CommunicateWithHost err = 0 [21:06:33]CheckOFDResponse [21:06:33]1017 (14) - 77093643461234 [21:06:33]1041 (16) - 0000000000959456 [21:06:33]1040 (4) - 18995 [21:06:33]1012 (4) - 25.09.2024 14:56 [21:06:33]1206 (1) - 0 [21:06:33]OFD Sender: Remove packet 18995 [21:06:33]ProducePacketName [21:06:33]name=ofd_packets/00018995 [21:06:33]NVStorageDeleteData [21:06:33]MH_Cut [21:06:33]Write to MH i2c: D1 01 00 B1 12 01 95 [21:06:33]Write i2c OK [21:06:33]MH_I2C_Read... [21:06:33]Read from MH i2c: D1 [21:06:33]MH_I2C_Read... [21:06:33]Read from MH i2c: D1 01 00 [21:06:33]MH_I2C_Read... [21:06:33]Read from MH i2c: D1 01 00 B1 12 00 94 [21:06:33]Write to MH i2c: 01 00 00 B2 12 C4 [21:06:33]Write i2c OK [21:06:33]MH_I2C_Read... [21:06:33]OFD Sender: No OFD packet to send [21:06:33]*** Cut start [21:06:33]*** Partial cut [21:06:33]*** CUTSNS_PIN = 1 [21:06:34]*** CUTSNS_PIN = 0 [21:06:34]*** Brake cut motor [21:06:34]Read from MH i2c: 01 [21:06:34]MH_I2C_Read... [21:06:34]*** Stop cut motor [21:06:34]*** Cut end [21:06:34]Read from MH i2c: 01 07 00 [21:06:34]MH_I2C_Read... [21:06:34]Read from MH i2c: 01 07 00 B2 12 00 00 00 00 00 FF 0F D9 [21:06:34]process_action close_receipt done [21:06:34]requested_data is exist [21:06:34]produce_requested_data [21:06:34]requested_item fm.sn is exist - process it [21:06:34]wFMCommunicate request_size=4 [21:06:34]MH_SAM_APDU [21:06:34]CAPDU: 80 11 00 00 [21:06:34]Write to MH i2c: E2 08 00 B3 12 80 11 00 00 00 00 00 00 3F [21:06:34]Write i2c OK [21:06:34]MH_I2C_Read... [21:06:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:06:34]Read from MH i2c: E2 [21:06:34]MH_I2C_Read... [21:06:34]Read from MH i2c: E2 17 00 [21:06:34]MH_I2C_Read... [21:06:34]Read from MH i2c: E2 17 00 B3 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 98 [21:06:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:06:34]wFMCommunicate OK [21:06:34]requested_item fd.num is exist - process it [21:06:34]SAM_PROTO_GetFieldsCounters [21:06:34]wFMCommunicate request_size=4 [21:06:34]MH_SAM_APDU [21:06:34]CAPDU: 80 13 00 00 [21:06:34]Write to MH i2c: E2 08 00 B4 12 80 13 00 00 00 00 00 00 42 [21:06:34]Write i2c OK [21:06:34]MH_I2C_Read... [21:06:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:06:34]Read from MH i2c: E2 [21:06:34]MH_I2C_Read... [21:06:34]Read from MH i2c: E2 62 00 [21:06:34]MH_I2C_Read... [21:06:34]Read from MH i2c: E2 62 00 B4 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 33 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 7E [21:06:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 33 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:06:34]wFMCommunicate OK [21:06:34]SAM_PROTO_GetFieldsCounters done [21:06:34]requested_item shift.num is exist - process it [21:06:34]requested_item shift.opened is exist - process it [21:06:34]req_shift_opened [21:06:34]FM_GetShiftState [21:06:34]SAM_PROTO_GetShiftState [21:06:34]wFMCommunicate request_size=4 [21:06:34]MH_SAM_APDU [21:06:34]CAPDU: 80 13 01 00 [21:06:34]Write to MH i2c: E2 08 00 B5 12 80 13 01 00 00 00 00 00 44 [21:06:34]Write i2c OK [21:06:34]MH_I2C_Read... [21:06:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:06:34]Read from MH i2c: E2 [21:06:34]MH_I2C_Read... [21:06:34]Read from MH i2c: E2 0E 00 [21:06:34]MH_I2C_Read... [21:06:34]Read from MH i2c: E2 0E 00 B5 12 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 31 [21:06:34]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [21:06:34]wFMCommunicate OK [21:06:34]SAM_PROTO_GetShiftState done [21:06:34]FM_GetShiftState done [21:06:34]req_shift_opened done [21:06:34]requested_item shift.open_date is exist - process it [21:06:34]req_shift_open_date [21:06:34]req_shift_open_date done [21:06:34]produce_requested_data done [21:06:34]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18995,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [21:06:34]process_action_free close_receipt [21:06:34]json_value_free [21:06:34]json_value_free done [21:06:34]process_json_proto returns [21:06:34]Send response to host [21:06:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18995,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [21:06:34]free response buf [21:06:34]execute_script done [21:06:34]execute_script returns [21:06:34]free content buf [21:06:34]Sock 9.Close socket [21:06:34]Sock 9.Thread stoped [21:06:38]OFD Sender: No OFD packet to send [21:06:43]OFD Sender: No OFD packet to send [21:06:48]OFD Sender: No OFD packet to send [21:06:53]OFD Sender: No OFD packet to send [21:06:58]OFD Sender: No OFD packet to send [21:07:03]OFD Sender: No OFD packet to send [21:07:08]OFD Sender: No OFD packet to send [21:07:13]OFD Sender: No OFD packet to send [21:07:18]OFD Sender: No OFD packet to send [21:07:23]OFD Sender: No OFD packet to send [21:07:28]OFD Sender: No OFD packet to send [21:07:33]OFD Sender: No OFD packet to send [21:07:38]OFD Sender: No OFD packet to send [21:07:43]OFD Sender: No OFD packet to send [21:07:48]OFD Sender: No OFD packet to send [21:07:53]OFD Sender: No OFD packet to send [21:07:58]OFD Sender: No OFD packet to send [21:08:03]OFD Sender: No OFD packet to send [21:08:08]OFD Sender: No OFD packet to send [21:08:13]OFD Sender: No OFD packet to send [21:08:18]OFD Sender: No OFD packet to send [21:08:23]OFD Sender: No OFD packet to send [21:08:28]OFD Sender: No OFD packet to send [21:08:33]OFD Sender: No OFD packet to send [21:08:38]OFD Sender: No OFD packet to send [21:08:43]OFD Sender: No OFD packet to send [21:08:48]OFD Sender: No OFD packet to send [21:08:53]OFD Sender: No OFD packet to send [21:08:58]OFD Sender: No OFD packet to send [21:09:03]OFD Sender: No OFD packet to send [21:09:08]OFD Sender: No OFD packet to send [21:09:13]OFD Sender: No OFD packet to send [21:09:18]OFD Sender: No OFD packet to send [21:09:23]OFD Sender: No OFD packet to send [21:09:28]OFD Sender: No OFD packet to send [21:09:33]OFD Sender: No OFD packet to send [21:09:38]OFD Sender: No OFD packet to send [21:09:43]OFD Sender: No OFD packet to send [21:09:48]OFD Sender: No OFD packet to send [21:09:54]OFD Sender: No OFD packet to send [21:09:59]OFD Sender: No OFD packet to send [21:10:04]OFD Sender: No OFD packet to send [21:10:09]OFD Sender: No OFD packet to send [21:10:14]OFD Sender: No OFD packet to send [21:10:19]OFD Sender: No OFD packet to send [21:10:24]OFD Sender: No OFD packet to send [21:10:29]OFD Sender: No OFD packet to send [21:10:34]OFD Sender: No OFD packet to send [21:10:39]OFD Sender: No OFD packet to send [21:10:44]OFD Sender: No OFD packet to send [21:10:49]OFD Sender: No OFD packet to send [21:10:54]OFD Sender: No OFD packet to send [21:10:59]OFD Sender: No OFD packet to send [21:11:04]OFD Sender: No OFD packet to send [21:11:09]OFD Sender: No OFD packet to send [21:11:14]OFD Sender: No OFD packet to send [21:11:19]OFD Sender: No OFD packet to send [21:11:24]OFD Sender: No OFD packet to send [21:11:29]OFD Sender: No OFD packet to send [21:11:34]OFD Sender: No OFD packet to send [21:11:39]OFD Sender: No OFD packet to send [21:11:44]OFD Sender: No OFD packet to send [21:11:49]OFD Sender: No OFD packet to send [21:11:54]OFD Sender: No OFD packet to send [21:11:59]OFD Sender: No OFD packet to send [21:12:04]OFD Sender: No OFD packet to send [21:12:09]OFD Sender: No OFD packet to send [21:12:14]OFD Sender: No OFD packet to send [21:12:19]OFD Sender: No OFD packet to send [21:12:24]OFD Sender: No OFD packet to send [21:12:29]OFD Sender: No OFD packet to send [21:12:34]OFD Sender: No OFD packet to send [21:12:39]OFD Sender: No OFD packet to send [21:12:44]OFD Sender: No OFD packet to send [21:12:49]OFD Sender: No OFD packet to send [21:12:54]OFD Sender: No OFD packet to send [21:12:59]OFD Sender: No OFD packet to send [21:13:04]OFD Sender: No OFD packet to send [21:13:09]OFD Sender: No OFD packet to send [21:13:14]OFD Sender: No OFD packet to send [21:13:19]OFD Sender: No OFD packet to send [21:13:24]OFD Sender: No OFD packet to send [21:13:29]OFD Sender: No OFD packet to send [21:13:34]OFD Sender: No OFD packet to send [21:13:39]OFD Sender: No OFD packet to send [21:13:44]OFD Sender: No OFD packet to send [21:13:49]OFD Sender: No OFD packet to send [21:13:54]OFD Sender: No OFD packet to send [21:13:59]OFD Sender: No OFD packet to send [21:14:04]OFD Sender: No OFD packet to send [21:14:09]OFD Sender: No OFD packet to send [21:14:14]OFD Sender: No OFD packet to send [21:14:19]OFD Sender: No OFD packet to send [21:14:24]OFD Sender: No OFD packet to send [21:14:29]OFD Sender: No OFD packet to send [21:14:34]OFD Sender: No OFD packet to send [21:14:39]OFD Sender: No OFD packet to send [21:14:44]OFD Sender: No OFD packet to send [21:14:49]OFD Sender: No OFD packet to send [21:14:54]OFD Sender: No OFD packet to send [21:14:59]OFD Sender: No OFD packet to send [21:15:04]OFD Sender: No OFD packet to send [21:15:09]OFD Sender: No OFD packet to send [21:15:14]OFD Sender: No OFD packet to send [21:15:19]OFD Sender: No OFD packet to send [21:15:24]OFD Sender: No OFD packet to send [21:15:29]OFD Sender: No OFD packet to send [21:15:34]OFD Sender: No OFD packet to send [21:15:39]OFD Sender: No OFD packet to send [21:15:44]OFD Sender: No OFD packet to send [21:15:49]OFD Sender: No OFD packet to send [21:15:54]OFD Sender: No OFD packet to send [21:15:59]OFD Sender: No OFD packet to send [21:16:04]OFD Sender: No OFD packet to send [21:16:09]OFD Sender: No OFD packet to send [21:16:14]OFD Sender: No OFD packet to send [21:16:19]OFD Sender: No OFD packet to send [21:16:24]OFD Sender: No OFD packet to send [21:16:29]OFD Sender: No OFD packet to send [21:16:34]OFD Sender: No OFD packet to send [21:16:39]OFD Sender: No OFD packet to send [21:16:44]OFD Sender: No OFD packet to send [21:16:49]OFD Sender: No OFD packet to send [21:16:54]OFD Sender: No OFD packet to send [21:16:59]OFD Sender: No OFD packet to send [21:17:04]OFD Sender: No OFD packet to send [21:17:09]OFD Sender: No OFD packet to send [21:17:14]OFD Sender: No OFD packet to send [21:17:19]OFD Sender: No OFD packet to send [21:17:24]OFD Sender: No OFD packet to send [21:17:29]OFD Sender: No OFD packet to send [21:17:34]OFD Sender: No OFD packet to send [21:17:39]OFD Sender: No OFD packet to send [21:17:44]OFD Sender: No OFD packet to send [21:17:49]OFD Sender: No OFD packet to send [21:17:54]OFD Sender: No OFD packet to send [21:17:59]OFD Sender: No OFD packet to send [21:18:04]OFD Sender: No OFD packet to send [21:18:09]OFD Sender: No OFD packet to send [21:18:14]OFD Sender: No OFD packet to send [21:18:19]OFD Sender: No OFD packet to send [21:18:24]OFD Sender: No OFD packet to send [21:18:29]OFD Sender: No OFD packet to send [21:18:34]OFD Sender: No OFD packet to send [21:18:39]OFD Sender: No OFD packet to send [21:18:44]OFD Sender: No OFD packet to send [21:18:49]OFD Sender: No OFD packet to send [21:18:54]OFD Sender: No OFD packet to send [21:18:59]OFD Sender: No OFD packet to send [21:19:04]OFD Sender: No OFD packet to send [21:19:07]accept exits with 8 [21:19:07]New connection [21:19:07]New thread 3066621284 created [21:19:07]Thread 3066764644 joined [21:19:07]Waiting for new connection... [21:19:07] Sock 8.Parse request [21:19:07]Sock 8.Check first char [21:19:07]Sock 8.First char is OK [21:19:07]request: POST /json_proto HTTP/1.0 [21:19:07]Method: POST [21:19:07]URL: /json_proto [21:19:07]Method is POST - this is cgi request [21:19:07]url: /json_proto [21:19:07]query_string will be loaded in cgi processing [21:19:07]execute_cgi json_proto POST (null) [21:19:07]execute_cgi path=json_proto method=POST [21:19:07]POST find Content-Length [21:19:07]Host: 172.17.62.196:8080 [21:19:07]Content-Length: 829 [21:19:07]Content-Type: application/json [21:19:07] [21:19:07]POST finish read [21:19:07]Found Content-Length = 829 [21:19:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16917", "tax_sys" : 0, "items" : [ { "code": "5449000189318", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043B\u0438\u043C\u043E\u043D 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:19:07]execute_script... [21:19:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16917", "tax_sys" : 0, "items" : [ { "code": "5449000189318", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043B\u0438\u043C\u043E\u043D 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:19:07]POST & json_proto [21:19:07]process_json_proto [21:19:07]json parsed OK: [21:19:07]protocol is kg_v1.0 [21:19:07]action value=close_receipt [21:19:07]process_action close_receipt [21:19:07]cmd_close_receipt [21:19:07]MH_GetDate [21:19:07]Write to MH i2c: F0 00 00 B6 12 B7 [21:19:07]Write i2c OK [21:19:07]MH_I2C_Read... [21:19:07]Read from MH i2c: F0 [21:19:07]MH_I2C_Read... [21:19:07]Read from MH i2c: F0 09 00 [21:19:07]MH_I2C_Read... [21:19:07]Read from MH i2c: F0 09 00 B6 12 00 4F 7E F4 66 CE CC 0E 66 F5 [21:19:07]GetLastDocTimeStamp 1727298393 [21:19:07]current date 1727299151 [21:19:07]FM_GetShiftState [21:19:07]SAM_PROTO_GetShiftState [21:19:07]wFMCommunicate request_size=4 [21:19:07]MH_SAM_APDU [21:19:07]CAPDU: 80 13 01 00 [21:19:07]Write to MH i2c: E2 08 00 B7 12 80 13 01 00 00 00 00 00 46 [21:19:07]Write i2c OK [21:19:07]MH_I2C_Read... [21:19:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:19:07]Read from MH i2c: E2 [21:19:07]MH_I2C_Read... [21:19:07]Read from MH i2c: E2 0E 00 [21:19:07]MH_I2C_Read... [21:19:07]Read from MH i2c: E2 0E 00 B7 12 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 33 [21:19:07]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [21:19:07]wFMCommunicate OK [21:19:07]SAM_PROTO_GetShiftState done [21:19:07]FM_GetShiftState done [21:19:07]opened in 1727223091 [21:19:07]opened+sec_in_day 1727309491 [21:19:07]quantity*price = 10500 [21:19:07]sum+1 = 10501 [21:19:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 0.00 Безнал.: 105.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 74 25.09.2024 21:19 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18996 ФПД: 126938853531739 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T211911&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18996&fm=126938853531739&tin=02508201610067®Number=0000000000152968&sum=10500 0 [21:19:09]StoreToDocumentArchive [21:19:09]shift 183 fd 18996 [21:19:09]save to /storage/0183/doc_00018996 [21:19:09]save last doc name /storage/0183/doc_00018996 to /storage/kkm_last_doc_name [21:19:09]save OK [21:19:09]Clear old archive folders... [21:19:09]ProcessDocumentItem done err = 0, tmpTLVsize=285 [21:19:09]tlvbuf is 015C5910 [21:19:09]SAM_PROTO_ClearQueue [21:19:09]wFMCommunicate request_size=4 [21:19:09]MH_SAM_APDU [21:19:09]CAPDU: 80 09 00 00 [21:19:09]Write to MH i2c: E2 08 00 C4 12 80 09 00 00 00 00 00 00 48 [21:19:09]Write i2c OK [21:19:09]MH_I2C_Read... [21:19:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:19:09]Read from MH i2c: E2 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: E2 03 00 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: E2 03 00 C4 12 00 90 00 4A [21:19:09]RAPDU: 90 00 [21:19:09]wFMCommunicate OK [21:19:09]SAM_PROTO_ClearQueue done [21:19:09]KKMCreateOFDPacket [21:19:09]OFDProtocolAddRootSTLVToBuf [21:19:09]FM_MakeSignedData [21:19:09]FM_MakeSignedData [21:19:09]SAM_PROTO_SignData [21:19:09]wFMCommunicate request_size=4 [21:19:09]MH_SAM_APDU [21:19:09]CAPDU: 80 0D 01 02 [21:19:09]Write to MH i2c: E2 08 00 C5 12 80 0D 01 02 00 00 00 00 50 [21:19:09]Write i2c OK [21:19:09]MH_I2C_Read... [21:19:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:19:09]Read from MH i2c: E2 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: E2 03 00 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: E2 03 00 C5 12 00 90 00 4B [21:19:09]RAPDU: 90 00 [21:19:09]wFMCommunicate OK [21:19:09]wFMCommunicate request_size=255 [21:19:09]MH_SAM_APDU [21:19:09]CAPDU: 80 0D 02 02 FA 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 4F 7E F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 [21:19:09]Write to MH i2c: E2 02 01 C6 12 80 0D 02 02 FA 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 4F 7E F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 00 00 A8 [21:19:09]Write i2c OK [21:19:09]MH_I2C_Read... [21:19:09]OFD Sender: No OFD packet to send [21:19:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:19:09]Read from MH i2c: E2 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: E2 03 00 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: E2 03 00 C6 12 00 90 00 4C [21:19:09]RAPDU: 90 00 [21:19:09]wFMCommunicate OK [21:19:09]wFMCommunicate request_size=44 [21:19:09]MH_SAM_APDU [21:19:09]CAPDU: 80 0D 02 02 27 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 34 4A 00 00 35 04 06 00 73 73 41 45 E0 5B [21:19:09]Write to MH i2c: E2 2F 00 C7 12 80 0D 02 02 27 00 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 34 4A 00 00 35 04 06 00 73 73 41 45 E0 5B 00 00 A0 [21:19:09]Write i2c OK [21:19:09]MH_I2C_Read... [21:19:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:19:09]Read from MH i2c: E2 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: E2 03 00 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: E2 03 00 C7 12 00 90 00 4D [21:19:09]RAPDU: 90 00 [21:19:09]wFMCommunicate OK [21:19:09]wFMCommunicate request_size=4 [21:19:09]MH_SAM_APDU [21:19:09]CAPDU: 80 0D 03 02 [21:19:09]Write to MH i2c: E2 08 00 C8 12 80 0D 03 02 00 00 00 00 55 [21:19:09]Write i2c OK [21:19:09]MH_I2C_Read... [21:19:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:19:09]Read from MH i2c: E2 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: E2 0B 00 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: E2 0B 00 C8 12 00 C0 D0 97 B3 A2 3C 8F 9B 90 00 38 [21:19:09]RAPDU: C0 D0 97 B3 A2 3C 8F 9B 90 00 [21:19:09]wFMCommunicate OK [21:19:09]SAM_PROTO_SignData done [21:19:09]FM_MakeSignedData done [21:19:09]CreateOFDProtocolMessage [21:19:09]wFMCommunicate request_size=4 [21:19:09]MH_SAM_APDU [21:19:09]CAPDU: 80 11 00 00 [21:19:09]Write to MH i2c: E2 08 00 C9 12 80 11 00 00 00 00 00 00 55 [21:19:09]Write i2c OK [21:19:09]MH_I2C_Read... [21:19:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:19:09]Read from MH i2c: E2 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: E2 17 00 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: E2 17 00 C9 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 AE [21:19:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:19:09]wFMCommunicate OK [21:19:09]CreateOFDProtocolMessage done [21:19:09]OFDSenderStorePacket 18996 [21:19:09]StoreOFDPacket docnum=18996 [21:19:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 31 01 00 00 B5 92 29 01 A3 53 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 4F 7E F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 34 4A 00 00 35 04 06 00 73 73 41 45 E0 5B C0 D0 97 B3 A2 3C 8F 9B [21:19:09]CheckFolder [21:19:09]dirname=/storage/ofd_packets [21:19:09]CheckFolder done [21:19:09]ProducePacketName [21:19:09]name=ofd_packets/00018996 [21:19:09]NVStorageSaveData ofd_packets/00018996 [21:19:09]File name is /storage/ofd_packets/00018996 [21:19:09]Write 335 bytes [21:19:09]NVStorageSaveData done [21:19:09]OFDSenderStorePacket done [21:19:09]KKMCreateOFDPacket done [21:19:09]NVStorageSaveData kkm_last_timestamp [21:19:09]File name is /storage/kkm_last_timestamp [21:19:09]Write 4 bytes [21:19:09]NVStorageSaveData done [21:19:09]ExternCall_PrintAddStr [21:19:09]wPrintStart [21:19:09]Write to MH i2c: 01 00 00 CA 12 DC [21:19:09]Write i2c OK [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: 01 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: 01 07 00 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: 01 07 00 CA 12 00 00 00 00 00 FF 0F F1 [21:19:09]RasterBufferAndPrint [21:19:09]line Счет N : (3)16917 [21:19:09]line ИНН: 02508201610067 [21:19:09]line Контрольно-Кассовый Чек [21:19:09]line ПРОДАЖА [21:19:09]line Товар: 5449000189318 [21:19:09]line Холодный чай Fuse лимон 1л [21:19:09]line 1.000 * 105.00 [21:19:09]line = 105.00 [21:19:09]line НДС 12% НСП 1% [21:19:09]line > о реализуемом товаре [21:19:09]line ИТОГО: 105.00 [21:19:09]line НСП 1% : 0.93 [21:19:09]line НДС 12% : 11.15 [21:19:09]line Наличными: 0.00 [21:19:09]line Безнал.: 105.00 [21:19:09]line Место: АЗС № 176 "Партнер Нефть" [21:19:09]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [21:19:09]line СНО: Общий режим [21:19:09]line Чек 74 25.09.2024 21:19 [21:19:09]line Смена: 183 ФФД: 1.0 [21:19:09]line ЗНМ: 0300000010 [21:19:09]line РНМ: 0000000000152968 [21:19:09]line Версия ККМ: v1.0 [21:19:09]line Платежная система: O! деньги [21:19:09]line ФМ: 0000000000959456 [21:19:09]line ФД: 18996 [21:19:09]line ФПД: 126938853531739 [21:19:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T211911&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18996&fm=126938853531739&tin=02508201610067®Number=0000000000152968&sum=10500 [21:19:10]line 0 [21:19:10]OFD Sender: Processing packet 18996 [packets to send 7, broken 6] [21:19:10]ProducePacketName [21:19:10]name=ofd_packets/00018996 [21:19:10]OFD Sender: To server: pG, [21:19:10]CommunicateWithHost lk.salyk.kg:30040 [21:19:10]ConnectInit lk.salyk.kg [21:19:10]written 0, free lines is 4095 [21:19:10]Connected sock=10 [21:19:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 31 01 00 00 B5 92 29 01 A3 53 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 31 38 06 04 2B 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 4F 7E F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 34 4A 00 00 35 04 06 00 73 73 41 45 E0 5B C0 D0 97 B3 A2 3C 8F 9B [21:19:10]Write to MH i2c: 01 00 00 F4 12 06 [21:19:10]Write i2c OK [21:19:10]MH_I2C_Read... [21:19:10]Read from MH i2c: 01 [21:19:10]MH_I2C_Read... [21:19:10]Read from MH i2c: 01 07 00 [21:19:10]MH_I2C_Read... [21:19:10]Read from MH i2c: 01 07 00 F4 12 00 00 00 00 00 0E 0D 28 [21:19:10]RasterBufferAndPrint [21:19:10]line [21:19:10]line [21:19:10]line [21:19:10]line [21:19:10]line [21:19:10]written 0, free lines is 3349 [21:19:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 F7 A3 47 00 81 74 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 34 4A 00 00 F4 03 04 00 AB 27 F4 66 B6 04 01 00 00 3A 48 7F D1 EC 00 76 00 [21:19:10]CommunicateWithHost err = 0 [21:19:10]CheckOFDResponse [21:19:10]1017 (14) - 77093643461234 [21:19:10]1041 (16) - 0000000000959456 [21:19:10]1040 (4) - 18996 [21:19:10]1012 (4) - 25.09.2024 15:09 [21:19:10]1206 (1) - 0 [21:19:10]OFD Sender: Remove packet 18996 [21:19:10]ProducePacketName [21:19:10]name=ofd_packets/00018996 [21:19:10]NVStorageDeleteData [21:19:10]MH_Cut [21:19:10]Write to MH i2c: D1 01 00 FB 12 01 DF [21:19:10]Write i2c OK [21:19:10]MH_I2C_Read... [21:19:10]Read from MH i2c: D1 [21:19:10]MH_I2C_Read... [21:19:10]Read from MH i2c: D1 01 00 [21:19:10]MH_I2C_Read... [21:19:10]Read from MH i2c: D1 01 00 FB 12 00 DE [21:19:10]Write to MH i2c: 01 00 00 FC 12 0E [21:19:10]Write i2c OK [21:19:10]MH_I2C_Read... [21:19:10]OFD Sender: No OFD packet to send [21:19:11]*** Cut start [21:19:11]*** Partial cut [21:19:11]*** CUTSNS_PIN = 1 [21:19:11]*** CUTSNS_PIN = 0 [21:19:11]*** Brake cut motor [21:19:11]Read from MH i2c: 01 [21:19:11]MH_I2C_Read... [21:19:11]*** Stop cut motor [21:19:11]*** Cut end [21:19:11]Read from MH i2c: 01 07 00 [21:19:11]MH_I2C_Read... [21:19:11]Read from MH i2c: 01 07 00 FC 12 00 00 00 00 00 FF 0F 23 [21:19:11]process_action close_receipt done [21:19:11]requested_data is exist [21:19:11]produce_requested_data [21:19:11]requested_item fm.sn is exist - process it [21:19:11]wFMCommunicate request_size=4 [21:19:11]MH_SAM_APDU [21:19:11]CAPDU: 80 11 00 00 [21:19:11]Write to MH i2c: E2 08 00 FD 12 80 11 00 00 00 00 00 00 89 [21:19:11]Write i2c OK [21:19:11]MH_I2C_Read... [21:19:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:19:11]Read from MH i2c: E2 [21:19:11]MH_I2C_Read... [21:19:11]Read from MH i2c: E2 17 00 [21:19:11]MH_I2C_Read... [21:19:11]Read from MH i2c: E2 17 00 FD 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 E2 [21:19:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:19:11]wFMCommunicate OK [21:19:11]requested_item fd.num is exist - process it [21:19:11]SAM_PROTO_GetFieldsCounters [21:19:11]wFMCommunicate request_size=4 [21:19:11]MH_SAM_APDU [21:19:11]CAPDU: 80 13 00 00 [21:19:11]Write to MH i2c: E2 08 00 FE 12 80 13 00 00 00 00 00 00 8C [21:19:11]Write i2c OK [21:19:11]MH_I2C_Read... [21:19:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:19:11]Read from MH i2c: E2 [21:19:11]MH_I2C_Read... [21:19:11]Read from MH i2c: E2 62 00 [21:19:11]MH_I2C_Read... [21:19:11]Read from MH i2c: E2 62 00 FE 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 34 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 CC [21:19:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 34 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:19:11]wFMCommunicate OK [21:19:11]SAM_PROTO_GetFieldsCounters done [21:19:11]requested_item shift.num is exist - process it [21:19:11]requested_item shift.opened is exist - process it [21:19:11]req_shift_opened [21:19:11]FM_GetShiftState [21:19:11]SAM_PROTO_GetShiftState [21:19:11]wFMCommunicate request_size=4 [21:19:11]MH_SAM_APDU [21:19:11]CAPDU: 80 13 01 00 [21:19:11]Write to MH i2c: E2 08 00 FF 12 80 13 01 00 00 00 00 00 8E [21:19:11]Write i2c OK [21:19:11]MH_I2C_Read... [21:19:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:19:11]Read from MH i2c: E2 [21:19:11]MH_I2C_Read... [21:19:11]Read from MH i2c: E2 0E 00 [21:19:11]MH_I2C_Read... [21:19:11]Read from MH i2c: E2 0E 00 FF 12 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 7B [21:19:11]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [21:19:11]wFMCommunicate OK [21:19:11]SAM_PROTO_GetShiftState done [21:19:11]FM_GetShiftState done [21:19:11]req_shift_opened done [21:19:11]requested_item shift.open_date is exist - process it [21:19:11]req_shift_open_date [21:19:11]req_shift_open_date done [21:19:11]produce_requested_data done [21:19:11]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18996,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [21:19:11]process_action_free close_receipt [21:19:11]json_value_free [21:19:11]json_value_free done [21:19:11]process_json_proto returns [21:19:11]Send response to host [21:19:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18996,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [21:19:11]free response buf [21:19:11]execute_script done [21:19:11]execute_script returns [21:19:11]free content buf [21:19:11]Sock 8.Close socket [21:19:11]Sock 8.Thread stoped [21:19:15]OFD Sender: No OFD packet to send [21:19:20]OFD Sender: No OFD packet to send [21:19:26]OFD Sender: No OFD packet to send [21:19:31]OFD Sender: No OFD packet to send [21:19:36]OFD Sender: No OFD packet to send [21:19:41]OFD Sender: No OFD packet to send [21:19:46]OFD Sender: No OFD packet to send [21:19:51]OFD Sender: No OFD packet to send [21:19:56]OFD Sender: No OFD packet to send [21:20:01]OFD Sender: No OFD packet to send [21:20:06]OFD Sender: No OFD packet to send [21:20:11]OFD Sender: No OFD packet to send [21:20:16]OFD Sender: No OFD packet to send [21:20:21]OFD Sender: No OFD packet to send [21:20:26]OFD Sender: No OFD packet to send [21:20:31]OFD Sender: No OFD packet to send [21:20:36]OFD Sender: No OFD packet to send [21:20:41]OFD Sender: No OFD packet to send [21:20:46]OFD Sender: No OFD packet to send [21:20:51]OFD Sender: No OFD packet to send [21:20:56]OFD Sender: No OFD packet to send [21:21:01]OFD Sender: No OFD packet to send [21:21:06]OFD Sender: No OFD packet to send [21:21:11]OFD Sender: No OFD packet to send [21:21:16]OFD Sender: No OFD packet to send [21:21:21]OFD Sender: No OFD packet to send [21:21:26]OFD Sender: No OFD packet to send [21:21:31]OFD Sender: No OFD packet to send [21:21:36]OFD Sender: No OFD packet to send [21:21:41]OFD Sender: No OFD packet to send [21:21:46]OFD Sender: No OFD packet to send [21:21:51]OFD Sender: No OFD packet to send [21:21:56]OFD Sender: No OFD packet to send [21:22:01]OFD Sender: No OFD packet to send [21:22:06]OFD Sender: No OFD packet to send [21:22:11]OFD Sender: No OFD packet to send [21:22:16]OFD Sender: No OFD packet to send [21:22:21]OFD Sender: No OFD packet to send [21:22:26]OFD Sender: No OFD packet to send [21:22:31]OFD Sender: No OFD packet to send [21:22:36]OFD Sender: No OFD packet to send [21:22:41]OFD Sender: No OFD packet to send [21:22:46]OFD Sender: No OFD packet to send [21:22:51]OFD Sender: No OFD packet to send [21:22:56]OFD Sender: No OFD packet to send [21:23:01]OFD Sender: No OFD packet to send [21:23:06]OFD Sender: No OFD packet to send [21:23:11]OFD Sender: No OFD packet to send [21:23:16]OFD Sender: No OFD packet to send [21:23:21]OFD Sender: No OFD packet to send [21:23:26]OFD Sender: No OFD packet to send [21:23:31]OFD Sender: No OFD packet to send [21:23:36]OFD Sender: No OFD packet to send [21:23:41]OFD Sender: No OFD packet to send [21:23:46]OFD Sender: No OFD packet to send [21:23:51]OFD Sender: No OFD packet to send [21:23:56]OFD Sender: No OFD packet to send [21:24:01]OFD Sender: No OFD packet to send [21:24:06]OFD Sender: No OFD packet to send [21:24:11]OFD Sender: No OFD packet to send [21:24:16]OFD Sender: No OFD packet to send [21:24:21]OFD Sender: No OFD packet to send [21:24:26]OFD Sender: No OFD packet to send [21:24:31]OFD Sender: No OFD packet to send [21:24:36]OFD Sender: No OFD packet to send [21:24:41]OFD Sender: No OFD packet to send [21:24:46]OFD Sender: No OFD packet to send [21:24:51]OFD Sender: No OFD packet to send [21:24:56]OFD Sender: No OFD packet to send [21:25:01]OFD Sender: No OFD packet to send [21:25:06]OFD Sender: No OFD packet to send [21:25:11]OFD Sender: No OFD packet to send [21:25:16]OFD Sender: No OFD packet to send [21:25:21]OFD Sender: No OFD packet to send [21:25:26]OFD Sender: No OFD packet to send [21:25:31]OFD Sender: No OFD packet to send [21:25:36]OFD Sender: No OFD packet to send [21:25:41]OFD Sender: No OFD packet to send [21:25:46]OFD Sender: No OFD packet to send [21:25:51]OFD Sender: No OFD packet to send [21:25:56]OFD Sender: No OFD packet to send [21:26:01]OFD Sender: No OFD packet to send [21:26:06]OFD Sender: No OFD packet to send [21:26:11]OFD Sender: No OFD packet to send [21:26:16]OFD Sender: No OFD packet to send [21:26:21]OFD Sender: No OFD packet to send [21:26:26]OFD Sender: No OFD packet to send [21:26:31]OFD Sender: No OFD packet to send [21:26:36]OFD Sender: No OFD packet to send [21:26:41]OFD Sender: No OFD packet to send [21:26:46]OFD Sender: No OFD packet to send [21:26:51]OFD Sender: No OFD packet to send [21:26:56]OFD Sender: No OFD packet to send [21:27:01]OFD Sender: No OFD packet to send [21:27:06]OFD Sender: No OFD packet to send [21:27:11]OFD Sender: No OFD packet to send [21:27:16]OFD Sender: No OFD packet to send [21:27:21]OFD Sender: No OFD packet to send [21:27:26]OFD Sender: No OFD packet to send [21:27:31]OFD Sender: No OFD packet to send [21:27:36]OFD Sender: No OFD packet to send [21:27:41]OFD Sender: No OFD packet to send [21:27:46]OFD Sender: No OFD packet to send [21:27:51]OFD Sender: No OFD packet to send [21:27:56]OFD Sender: No OFD packet to send [21:28:01]OFD Sender: No OFD packet to send [21:28:06]OFD Sender: No OFD packet to send [21:28:11]OFD Sender: No OFD packet to send [21:28:16]OFD Sender: No OFD packet to send [21:28:21]OFD Sender: No OFD packet to send [21:28:26]OFD Sender: No OFD packet to send [21:28:31]OFD Sender: No OFD packet to send [21:28:36]OFD Sender: No OFD packet to send [21:28:41]OFD Sender: No OFD packet to send [21:28:46]OFD Sender: No OFD packet to send [21:28:51]OFD Sender: No OFD packet to send [21:28:56]OFD Sender: No OFD packet to send [21:29:01]OFD Sender: No OFD packet to send [21:29:06]OFD Sender: No OFD packet to send [21:29:11]OFD Sender: No OFD packet to send [21:29:16]OFD Sender: No OFD packet to send [21:29:21]OFD Sender: No OFD packet to send [21:29:26]OFD Sender: No OFD packet to send [21:29:31]OFD Sender: No OFD packet to send [21:29:36]OFD Sender: No OFD packet to send [21:29:41]OFD Sender: No OFD packet to send [21:29:46]OFD Sender: No OFD packet to send [21:29:51]OFD Sender: No OFD packet to send [21:29:56]OFD Sender: No OFD packet to send [21:30:01]OFD Sender: No OFD packet to send [21:30:06]OFD Sender: No OFD packet to send [21:30:11]OFD Sender: No OFD packet to send [21:30:16]OFD Sender: No OFD packet to send [21:30:21]OFD Sender: No OFD packet to send [21:30:26]OFD Sender: No OFD packet to send [21:30:31]OFD Sender: No OFD packet to send [21:30:36]OFD Sender: No OFD packet to send [21:30:41]OFD Sender: No OFD packet to send [21:30:46]OFD Sender: No OFD packet to send [21:30:51]OFD Sender: No OFD packet to send [21:30:56]OFD Sender: No OFD packet to send [21:31:01]OFD Sender: No OFD packet to send [21:31:06]OFD Sender: No OFD packet to send [21:31:11]OFD Sender: No OFD packet to send [21:31:16]OFD Sender: No OFD packet to send [21:31:21]OFD Sender: No OFD packet to send [21:31:26]OFD Sender: No OFD packet to send [21:31:31]OFD Sender: No OFD packet to send [21:31:36]OFD Sender: No OFD packet to send [21:31:41]OFD Sender: No OFD packet to send [21:31:46]OFD Sender: No OFD packet to send [21:31:51]OFD Sender: No OFD packet to send [21:31:56]OFD Sender: No OFD packet to send [21:32:01]OFD Sender: No OFD packet to send [21:32:06]OFD Sender: No OFD packet to send [21:32:11]OFD Sender: No OFD packet to send [21:32:16]OFD Sender: No OFD packet to send [21:32:21]OFD Sender: No OFD packet to send [21:32:26]OFD Sender: No OFD packet to send [21:32:31]OFD Sender: No OFD packet to send [21:32:36]OFD Sender: No OFD packet to send [21:32:41]OFD Sender: No OFD packet to send [21:32:46]OFD Sender: No OFD packet to send [21:32:51]OFD Sender: No OFD packet to send [21:32:56]OFD Sender: No OFD packet to send [21:33:01]OFD Sender: No OFD packet to send [21:33:06]OFD Sender: No OFD packet to send [21:33:11]OFD Sender: No OFD packet to send [21:33:16]OFD Sender: No OFD packet to send [21:33:21]OFD Sender: No OFD packet to send [21:33:26]OFD Sender: No OFD packet to send [21:33:31]OFD Sender: No OFD packet to send [21:33:36]OFD Sender: No OFD packet to send [21:33:41]OFD Sender: No OFD packet to send [21:33:46]accept exits with 9 [21:33:46]New connection [21:33:46]New thread 3066764644 created [21:33:46]Thread 3066621284 joined [21:33:46]Waiting for new connection... [21:33:46] Sock 9.Parse request [21:33:46]Sock 9.Check first char [21:33:46]Sock 9.First char is OK [21:33:46]request: POST /json_proto HTTP/1.0 [21:33:46]Method: POST [21:33:46]URL: /json_proto [21:33:46]Method is POST - this is cgi request [21:33:46]url: /json_proto [21:33:46]query_string will be loaded in cgi processing [21:33:46]execute_cgi json_proto POST (null) [21:33:46]execute_cgi path=json_proto method=POST [21:33:46]POST find Content-Length [21:33:46]Host: 172.17.62.196:8080 [21:33:46]Content-Length: 1203 [21:33:46]Content-Type: application/json [21:33:46] [21:33:46]POST finish read [21:33:46]Found Content-Length = 1203 [21:33:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16918", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 311.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:33:46]execute_script... [21:33:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16918", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 311.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:33:46]POST & json_proto [21:33:46]process_json_proto [21:33:46]json parsed OK: [21:33:46]protocol is kg_v1.0 [21:33:46]action value=close_receipt [21:33:46]process_action close_receipt [21:33:46]cmd_close_receipt [21:33:46]MH_GetDate [21:33:46]Write to MH i2c: F0 00 00 00 13 02 [21:33:46]Write i2c OK [21:33:46]MH_I2C_Read... [21:33:46]Read from MH i2c: F0 [21:33:46]MH_I2C_Read... [21:33:46]Read from MH i2c: F0 09 00 [21:33:46]MH_I2C_Read... [21:33:46]Read from MH i2c: F0 09 00 00 13 00 BD 81 F4 66 CE CC 0E 66 B1 [21:33:46]GetLastDocTimeStamp 1727299151 [21:33:46]current date 1727300029 [21:33:46]FM_GetShiftState [21:33:46]SAM_PROTO_GetShiftState [21:33:46]wFMCommunicate request_size=4 [21:33:46]MH_SAM_APDU [21:33:46]CAPDU: 80 13 01 00 [21:33:46]Write to MH i2c: E2 08 00 01 13 80 13 01 00 00 00 00 00 91 [21:33:46]Write i2c OK [21:33:46]MH_I2C_Read... [21:33:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:33:46]Read from MH i2c: E2 [21:33:46]MH_I2C_Read... [21:33:46]Read from MH i2c: E2 0E 00 [21:33:46]MH_I2C_Read... [21:33:46]Read from MH i2c: E2 0E 00 01 13 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 7E [21:33:46]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [21:33:46]wFMCommunicate OK [21:33:46]SAM_PROTO_GetShiftState done [21:33:46]FM_GetShiftState done [21:33:46]opened in 1727223091 [21:33:46]opened+sec_in_day 1727309491 [21:33:46]quantity*price = 13900 [21:33:46]sum+1 = 13901 [21:33:46]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 1.000 * 77.00 = 77.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000480364 Напиток энерг Nitro экзотик 0.45 ж/б 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 311.00 НСП 1% : 2.75 НДС 12% : 33.03 Наличными: 311.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 75 25.09.2024 21:33 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 18997 ФПД: 74378249157703 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T213349&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18997&fm=74378249157703&tin=02508201610067®Number=0000000000152968&sum=31100 0 [21:33:47]StoreToDocumentArchive [21:33:47]shift 183 fd 18997 [21:33:47]save to /storage/0183/doc_00018997 [21:33:47]save last doc name /storage/0183/doc_00018997 to /storage/kkm_last_doc_name [21:33:47]save OK [21:33:47]Clear old archive folders... [21:33:47]ProcessDocumentItem done err = 0, tmpTLVsize=524 [21:33:47]tlvbuf is 01650250 [21:33:47]SAM_PROTO_ClearQueue [21:33:47]wFMCommunicate request_size=4 [21:33:47]MH_SAM_APDU [21:33:47]CAPDU: 80 09 00 00 [21:33:47]Write to MH i2c: E2 08 00 0E 13 80 09 00 00 00 00 00 00 93 [21:33:47]Write i2c OK [21:33:47]MH_I2C_Read... [21:33:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:33:47]Read from MH i2c: E2 [21:33:47]MH_I2C_Read... [21:33:47]Read from MH i2c: E2 03 00 [21:33:47]MH_I2C_Read... [21:33:47]Read from MH i2c: E2 03 00 0E 13 00 90 00 95 [21:33:47]RAPDU: 90 00 [21:33:47]wFMCommunicate OK [21:33:47]SAM_PROTO_ClearQueue done [21:33:47]KKMCreateOFDPacket [21:33:47]OFDProtocolAddRootSTLVToBuf [21:33:47]FM_MakeSignedData [21:33:47]FM_MakeSignedData [21:33:47]SAM_PROTO_SignData [21:33:47]wFMCommunicate request_size=4 [21:33:47]MH_SAM_APDU [21:33:47]CAPDU: 80 0D 01 02 [21:33:47]Write to MH i2c: E2 08 00 0F 13 80 0D 01 02 00 00 00 00 9B [21:33:47]Write i2c OK [21:33:47]MH_I2C_Read... [21:33:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:33:47]Read from MH i2c: E2 [21:33:47]MH_I2C_Read... [21:33:47]Read from MH i2c: E2 03 00 [21:33:47]MH_I2C_Read... [21:33:47]Read from MH i2c: E2 03 00 0F 13 00 90 00 96 [21:33:47]RAPDU: 90 00 [21:33:47]wFMCommunicate OK [21:33:47]wFMCommunicate request_size=255 [21:33:47]MH_SAM_APDU [21:33:47]CAPDU: 80 0D 02 02 FA 03 00 0C 02 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 [21:33:47]Write to MH i2c: E2 02 01 10 13 80 0D 02 02 FA 00 03 00 0C 02 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 00 00 9B [21:33:47]Write i2c OK [21:33:47]MH_I2C_Read... [21:33:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:33:48]Read from MH i2c: E2 [21:33:48]MH_I2C_Read... [21:33:48]Read from MH i2c: E2 03 00 [21:33:48]MH_I2C_Read... [21:33:48]Read from MH i2c: E2 03 00 10 13 00 90 00 97 [21:33:48]RAPDU: 90 00 [21:33:48]wFMCommunicate OK [21:33:48]wFMCommunicate request_size=255 [21:33:48]MH_SAM_APDU [21:33:48]CAPDU: 80 0D 02 02 FA 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 0C 00 00 00 00 07 04 06 00 7C 79 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 BD 81 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 [21:33:48]Write to MH i2c: E2 02 01 11 13 80 0D 02 02 FA 00 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 0C 00 00 00 00 07 04 06 00 7C 79 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 BD 81 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 00 00 A1 [21:33:48]Write i2c OK [21:33:48]MH_I2C_Read... [21:33:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:33:48]Read from MH i2c: E2 [21:33:48]MH_I2C_Read... [21:33:48]Read from MH i2c: E2 03 00 [21:33:48]MH_I2C_Read... [21:33:48]Read from MH i2c: E2 03 00 11 13 00 90 00 98 [21:33:48]RAPDU: 90 00 [21:33:48]wFMCommunicate OK [21:33:48]wFMCommunicate request_size=33 [21:33:48]MH_SAM_APDU [21:33:48]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 34 35 36 10 04 04 00 35 4A 00 00 35 04 06 00 43 A5 89 1E BC 47 [21:33:48]Write to MH i2c: E2 24 00 12 13 80 0D 02 02 1C 00 30 30 30 30 39 35 39 34 35 36 10 04 04 00 35 4A 00 00 35 04 06 00 43 A5 89 1E BC 47 00 00 45 [21:33:48]Write i2c OK [21:33:48]MH_I2C_Read... [21:33:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:33:48]Read from MH i2c: E2 [21:33:48]MH_I2C_Read... [21:33:48]Read from MH i2c: E2 03 00 [21:33:48]MH_I2C_Read... [21:33:48]Read from MH i2c: E2 03 00 12 13 00 90 00 99 [21:33:48]RAPDU: 90 00 [21:33:48]wFMCommunicate OK [21:33:48]wFMCommunicate request_size=4 [21:33:48]MH_SAM_APDU [21:33:48]CAPDU: 80 0D 03 02 [21:33:48]Write to MH i2c: E2 08 00 13 13 80 0D 03 02 00 00 00 00 A1 [21:33:48]Write i2c OK [21:33:48]MH_I2C_Read... [21:33:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:33:48]Read from MH i2c: E2 [21:33:48]MH_I2C_Read... [21:33:48]Read from MH i2c: E2 0B 00 [21:33:48]MH_I2C_Read... [21:33:48]Read from MH i2c: E2 0B 00 13 13 00 15 A8 E3 F7 FC 1B 26 C3 90 00 39 [21:33:48]RAPDU: 15 A8 E3 F7 FC 1B 26 C3 90 00 [21:33:48]wFMCommunicate OK [21:33:48]SAM_PROTO_SignData done [21:33:48]FM_MakeSignedData done [21:33:48]CreateOFDProtocolMessage [21:33:48]wFMCommunicate request_size=4 [21:33:48]MH_SAM_APDU [21:33:48]CAPDU: 80 11 00 00 [21:33:48]Write to MH i2c: E2 08 00 14 13 80 11 00 00 00 00 00 00 A1 [21:33:48]Write i2c OK [21:33:48]MH_I2C_Read... [21:33:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:33:48]Read from MH i2c: E2 [21:33:48]MH_I2C_Read... [21:33:48]Read from MH i2c: E2 17 00 [21:33:48]MH_I2C_Read... [21:33:48]Read from MH i2c: E2 17 00 14 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 FA [21:33:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:33:48]wFMCommunicate OK [21:33:48]CreateOFDProtocolMessage done [21:33:48]OFDSenderStorePacket 18997 [21:33:48]StoreOFDPacket docnum=18997 [21:33:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 20 02 00 00 0A E4 18 02 22 9C 5A 03 01 00 03 00 0C 02 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 0C 00 00 00 00 07 04 06 00 7C 79 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 BD 81 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 35 4A 00 00 35 04 06 00 43 A5 89 1E BC 47 15 A8 E3 F7 FC 1B 26 C3 [21:33:48]CheckFolder [21:33:48]dirname=/storage/ofd_packets [21:33:48]CheckFolder done [21:33:48]ProducePacketName [21:33:48]name=ofd_packets/00018997 [21:33:48]NVStorageSaveData ofd_packets/00018997 [21:33:48]File name is /storage/ofd_packets/00018997 [21:33:48]Write 574 bytes [21:33:48]NVStorageSaveData done [21:33:48]OFDSenderStorePacket done [21:33:48]KKMCreateOFDPacket done [21:33:48]NVStorageSaveData kkm_last_timestamp [21:33:48]File name is /storage/kkm_last_timestamp [21:33:48]Write 4 bytes [21:33:48]NVStorageSaveData done [21:33:48]ExternCall_PrintAddStr [21:33:48]wPrintStart [21:33:48]Write to MH i2c: 01 00 00 15 13 28 [21:33:48]Write i2c OK [21:33:48]MH_I2C_Read... [21:33:48]Read from MH i2c: 01 [21:33:48]MH_I2C_Read... [21:33:48]Read from MH i2c: 01 07 00 [21:33:48]MH_I2C_Read... [21:33:48]Read from MH i2c: 01 07 00 15 13 00 00 00 00 00 FF 0F 3D [21:33:48]RasterBufferAndPrint [21:33:48]line Счет N : (3)16918 [21:33:48]line ИНН: 02508201610067 [21:33:48]line Контрольно-Кассовый Чек [21:33:48]line ПРОДАЖА [21:33:48]line Товар: 48745000 [21:33:48]line Сигареты Winston Purple Mix [21:33:48]line 1.000 * 139.00 [21:33:48]line = 139.00 [21:33:48]line НДС 12% НСП 1% [21:33:48]line > о реализуемом товаре [21:33:48]line Товар: 4700000480050 [21:33:48]line Напиток Nitro Energy эн green ж/б 0,45л [21:33:48]line 1.000 * 77.00 [21:33:48]line = 77.00 [21:33:48]line НДС 12% НСП 1% [21:33:48]line > о реализуемом товаре [21:33:48]line Товар: 4700000480364 [21:33:48]line Напиток энерг Nitro экзотик 0.45 ж/б [21:33:48]line 1.000 * 95.00 [21:33:48]line = 95.00 [21:33:48]line НДС 12% НСП 1% [21:33:48]line > о реализуемом товаре [21:33:48]line ИТОГО: 311.00 [21:33:48]line НСП 1% : 2.75 [21:33:48]line НДС 12% : 33.03 [21:33:48]line Наличными: 311.00 [21:33:48]line Безнал.: 0.00 [21:33:48]line Место: АЗС № 176 "Партнер Нефть" [21:33:48]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [21:33:48]line СНО: Общий режим [21:33:48]line Чек 75 25.09.2024 21:33 [21:33:48]line Смена: 183 ФФД: 1.0 [21:33:48]line ЗНМ: 0300000010 [21:33:48]line РНМ: 0000000000152968 [21:33:48]line Версия ККМ: v1.0 [21:33:48]line ФМ: 0000000000959456 [21:33:48]line ФД: 18997 [21:33:48]line ФПД: 74378249157703 [21:33:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T213349&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18997&fm=74378249157703&tin=02508201610067®Number=0000000000152968&sum=31100 [21:33:48]line 0 [21:33:48]written 0, free lines is 4095 [21:33:48]OFD Sender: Processing packet 18997 [packets to send 7, broken 6] [21:33:48]ProducePacketName [21:33:48]name=ofd_packets/00018997 [21:33:48]OFD Sender: To server: pG, [21:33:48]CommunicateWithHost lk.salyk.kg:30040 [21:33:48]ConnectInit lk.salyk.kg [21:33:48]Connected sock=10 [21:33:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 20 02 00 00 0A E4 18 02 22 9C 5A 03 01 00 03 00 0C 02 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 0C 00 00 00 00 07 04 06 00 7C 79 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 BD 81 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 35 4A 00 00 35 04 06 00 43 A5 89 1E BC 47 15 A8 E3 F7 FC 1B 26 C3 [21:33:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 AC 6B 47 00 7A C9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 35 4A 00 00 F4 03 04 00 1A 2B F4 66 B6 04 01 00 00 45 3E 89 3E 6C E1 6D 03 [21:33:49]CommunicateWithHost err = 0 [21:33:49]CheckOFDResponse [21:33:49]1017 (14) - 77093643461234 [21:33:49]1041 (16) - 0000000000959456 [21:33:49]1040 (4) - 18997 [21:33:49]1012 (4) - 25.09.2024 15:24 [21:33:49]1206 (1) - 0 [21:33:49]OFD Sender: Remove packet 18997 [21:33:49]ProducePacketName [21:33:49]name=ofd_packets/00018997 [21:33:49]NVStorageDeleteData [21:33:49]Write to MH i2c: 01 00 00 4B 13 5E [21:33:49]Write i2c OK [21:33:49]MH_I2C_Read... [21:33:49]Read from MH i2c: 01 [21:33:49]MH_I2C_Read... [21:33:49]Read from MH i2c: 01 07 00 [21:33:49]MH_I2C_Read... [21:33:49]Read from MH i2c: 01 07 00 4B 13 00 00 00 00 00 4F 0C C0 [21:33:49]RasterBufferAndPrint [21:33:49]line [21:33:49]line [21:33:49]line [21:33:49]line [21:33:49]line [21:33:49]written 0, free lines is 3160 [21:33:49]MH_Cut [21:33:49]Write to MH i2c: D1 01 00 52 13 01 37 [21:33:49]Write i2c OK [21:33:49]MH_I2C_Read... [21:33:49]Read from MH i2c: D1 [21:33:49]MH_I2C_Read... [21:33:49]Read from MH i2c: D1 01 00 [21:33:49]MH_I2C_Read... [21:33:49]Read from MH i2c: D1 01 00 52 13 00 36 [21:33:49]Write to MH i2c: 01 00 00 53 13 66 [21:33:49]Write i2c OK [21:33:49]MH_I2C_Read... [21:33:49]OFD Sender: No OFD packet to send [21:33:49]*** Cut start [21:33:49]*** Partial cut [21:33:49]*** CUTSNS_PIN = 1 [21:33:49]*** CUTSNS_PIN = 0 [21:33:50]*** Brake cut motor [21:33:50]Read from MH i2c: 01 [21:33:50]MH_I2C_Read... [21:33:50]*** Stop cut motor [21:33:50]*** Cut end [21:33:50]Read from MH i2c: 01 07 00 [21:33:50]MH_I2C_Read... [21:33:50]Read from MH i2c: 01 07 00 53 13 00 00 00 00 00 FF 0F 7B [21:33:50]process_action close_receipt done [21:33:50]requested_data is exist [21:33:50]produce_requested_data [21:33:50]requested_item fm.sn is exist - process it [21:33:50]wFMCommunicate request_size=4 [21:33:50]MH_SAM_APDU [21:33:50]CAPDU: 80 11 00 00 [21:33:50]Write to MH i2c: E2 08 00 54 13 80 11 00 00 00 00 00 00 E1 [21:33:50]Write i2c OK [21:33:50]MH_I2C_Read... [21:33:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:33:50]Read from MH i2c: E2 [21:33:50]MH_I2C_Read... [21:33:50]Read from MH i2c: E2 17 00 [21:33:50]MH_I2C_Read... [21:33:50]Read from MH i2c: E2 17 00 54 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 3A [21:33:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:33:50]wFMCommunicate OK [21:33:50]requested_item fd.num is exist - process it [21:33:50]SAM_PROTO_GetFieldsCounters [21:33:50]wFMCommunicate request_size=4 [21:33:50]MH_SAM_APDU [21:33:50]CAPDU: 80 13 00 00 [21:33:50]Write to MH i2c: E2 08 00 55 13 80 13 00 00 00 00 00 00 E4 [21:33:50]Write i2c OK [21:33:50]MH_I2C_Read... [21:33:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:33:50]Read from MH i2c: E2 [21:33:50]MH_I2C_Read... [21:33:50]Read from MH i2c: E2 62 00 [21:33:50]MH_I2C_Read... [21:33:50]Read from MH i2c: E2 62 00 55 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 35 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 28 [21:33:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 35 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:33:50]wFMCommunicate OK [21:33:50]SAM_PROTO_GetFieldsCounters done [21:33:50]requested_item shift.num is exist - process it [21:33:50]requested_item shift.opened is exist - process it [21:33:50]req_shift_opened [21:33:50]FM_GetShiftState [21:33:50]SAM_PROTO_GetShiftState [21:33:50]wFMCommunicate request_size=4 [21:33:50]MH_SAM_APDU [21:33:50]CAPDU: 80 13 01 00 [21:33:50]Write to MH i2c: E2 08 00 56 13 80 13 01 00 00 00 00 00 E6 [21:33:50]Write i2c OK [21:33:50]MH_I2C_Read... [21:33:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:33:50]Read from MH i2c: E2 [21:33:50]MH_I2C_Read... [21:33:50]Read from MH i2c: E2 0E 00 [21:33:50]MH_I2C_Read... [21:33:50]Read from MH i2c: E2 0E 00 56 13 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 D3 [21:33:50]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [21:33:50]wFMCommunicate OK [21:33:50]SAM_PROTO_GetShiftState done [21:33:50]FM_GetShiftState done [21:33:50]req_shift_opened done [21:33:50]requested_item shift.open_date is exist - process it [21:33:50]req_shift_open_date [21:33:50]req_shift_open_date done [21:33:50]produce_requested_data done [21:33:50]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18997,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [21:33:50]process_action_free close_receipt [21:33:50]json_value_free [21:33:50]json_value_free done [21:33:50]process_json_proto returns [21:33:50]Send response to host [21:33:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18997,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [21:33:50]free response buf [21:33:50]execute_script done [21:33:50]execute_script returns [21:33:50]free content buf [21:33:50]Sock 9.Close socket [21:33:50]Sock 9.Thread stoped [21:33:54]OFD Sender: No OFD packet to send [21:33:59]OFD Sender: No OFD packet to send [21:34:04]OFD Sender: No OFD packet to send [21:34:09]OFD Sender: No OFD packet to send [21:34:14]OFD Sender: No OFD packet to send [21:34:19]OFD Sender: No OFD packet to send [21:34:24]OFD Sender: No OFD packet to send [21:34:29]OFD Sender: No OFD packet to send [21:34:34]OFD Sender: No OFD packet to send [21:34:39]OFD Sender: No OFD packet to send [21:34:44]OFD Sender: No OFD packet to send [21:34:49]OFD Sender: No OFD packet to send [21:34:54]OFD Sender: No OFD packet to send [21:34:59]OFD Sender: No OFD packet to send [21:35:04]OFD Sender: No OFD packet to send [21:35:09]OFD Sender: No OFD packet to send [21:35:14]OFD Sender: No OFD packet to send [21:35:19]OFD Sender: No OFD packet to send [21:35:24]OFD Sender: No OFD packet to send [21:35:29]OFD Sender: No OFD packet to send [21:35:34]OFD Sender: No OFD packet to send [21:35:39]OFD Sender: No OFD packet to send [21:35:44]OFD Sender: No OFD packet to send [21:35:49]OFD Sender: No OFD packet to send [21:35:54]OFD Sender: No OFD packet to send [21:35:59]OFD Sender: No OFD packet to send [21:36:04]OFD Sender: No OFD packet to send [21:36:09]OFD Sender: No OFD packet to send [21:36:09]accept exits with 8 [21:36:09]New connection [21:36:09]New thread 3066621284 created [21:36:09]Thread 3066764644 joined [21:36:09]Waiting for new connection... [21:36:09] Sock 8.Parse request [21:36:09]Sock 8.Check first char [21:36:09]Sock 8.First char is OK [21:36:09]request: POST /json_proto HTTP/1.0 [21:36:09]Method: POST [21:36:09]URL: /json_proto [21:36:09]Method is POST - this is cgi request [21:36:09]url: /json_proto [21:36:09]query_string will be loaded in cgi processing [21:36:09]execute_cgi json_proto POST (null) [21:36:09]execute_cgi path=json_proto method=POST [21:36:09]POST find Content-Length [21:36:09]Host: 172.17.62.196:8080 [21:36:09]Content-Length: 802 [21:36:09]Content-Type: application/json [21:36:09] [21:36:09]POST finish read [21:36:09]Found Content-Length = 802 [21:36:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16919", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u043F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,07", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:36:09]execute_script... [21:36:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16919", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u043F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,07", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:36:09]POST & json_proto [21:36:09]process_json_proto [21:36:09]json parsed OK: [21:36:09]protocol is kg_v1.0 [21:36:09]action value=close_receipt [21:36:09]process_action close_receipt [21:36:09]cmd_close_receipt [21:36:09]MH_GetDate [21:36:09]Write to MH i2c: F0 00 00 57 13 59 [21:36:09]Write i2c OK [21:36:09]MH_I2C_Read... [21:36:09]Read from MH i2c: F0 [21:36:09]MH_I2C_Read... [21:36:09]Read from MH i2c: F0 09 00 [21:36:09]MH_I2C_Read... [21:36:09]Read from MH i2c: F0 09 00 57 13 00 4D 82 F4 66 CE CC 0E 66 99 [21:36:09]GetLastDocTimeStamp 1727300029 [21:36:09]current date 1727300173 [21:36:09]FM_GetShiftState [21:36:09]SAM_PROTO_GetShiftState [21:36:09]wFMCommunicate request_size=4 [21:36:09]MH_SAM_APDU [21:36:09]CAPDU: 80 13 01 00 [21:36:09]Write to MH i2c: E2 08 00 58 13 80 13 01 00 00 00 00 00 E8 [21:36:09]Write i2c OK [21:36:09]MH_I2C_Read... [21:36:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:36:09]Read from MH i2c: E2 [21:36:09]MH_I2C_Read... [21:36:09]Read from MH i2c: E2 0E 00 [21:36:09]MH_I2C_Read... [21:36:09]Read from MH i2c: E2 0E 00 58 13 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 D5 [21:36:09]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [21:36:09]wFMCommunicate OK [21:36:09]SAM_PROTO_GetShiftState done [21:36:09]FM_GetShiftState done [21:36:09]opened in 1727223091 [21:36:09]opened+sec_in_day 1727309491 [21:36:09]quantity*price = 10000 [21:36:09]sum+1 = 10001 [21:36:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 0.00 Безнал.: 100.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 76 25.09.2024 21:36 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 18998 ФПД: 156731344602190 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T213613&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18998&fm=156731344602190&tin=02508201610067®Number=0000000000152968&sum=10000 0 [21:36:11]StoreToDocumentArchive [21:36:11]shift 183 fd 18998 [21:36:11]save to /storage/0183/doc_00018998 [21:36:11]save last doc name /storage/0183/doc_00018998 to /storage/kkm_last_doc_name [21:36:11]save OK [21:36:11]Clear old archive folders... [21:36:11]ProcessDocumentItem done err = 0, tmpTLVsize=271 [21:36:11]tlvbuf is 0163B070 [21:36:11]SAM_PROTO_ClearQueue [21:36:11]wFMCommunicate request_size=4 [21:36:11]MH_SAM_APDU [21:36:11]CAPDU: 80 09 00 00 [21:36:11]Write to MH i2c: E2 08 00 65 13 80 09 00 00 00 00 00 00 EA [21:36:11]Write i2c OK [21:36:11]MH_I2C_Read... [21:36:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:36:11]Read from MH i2c: E2 [21:36:11]MH_I2C_Read... [21:36:11]Read from MH i2c: E2 03 00 [21:36:11]MH_I2C_Read... [21:36:11]Read from MH i2c: E2 03 00 65 13 00 90 00 EC [21:36:11]RAPDU: 90 00 [21:36:11]wFMCommunicate OK [21:36:11]SAM_PROTO_ClearQueue done [21:36:11]KKMCreateOFDPacket [21:36:11]OFDProtocolAddRootSTLVToBuf [21:36:11]FM_MakeSignedData [21:36:11]FM_MakeSignedData [21:36:11]SAM_PROTO_SignData [21:36:11]wFMCommunicate request_size=4 [21:36:11]MH_SAM_APDU [21:36:11]CAPDU: 80 0D 01 02 [21:36:11]Write to MH i2c: E2 08 00 66 13 80 0D 01 02 00 00 00 00 F2 [21:36:11]Write i2c OK [21:36:11]MH_I2C_Read... [21:36:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:36:11]Read from MH i2c: E2 [21:36:11]MH_I2C_Read... [21:36:11]Read from MH i2c: E2 03 00 [21:36:11]MH_I2C_Read... [21:36:11]Read from MH i2c: E2 03 00 66 13 00 90 00 ED [21:36:11]RAPDU: 90 00 [21:36:11]wFMCommunicate OK [21:36:11]wFMCommunicate request_size=255 [21:36:11]MH_SAM_APDU [21:36:11]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 BF D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 30 37 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 27 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 4D 82 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [21:36:11]Write to MH i2c: E2 02 01 67 13 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 BF D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 30 37 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 27 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 4D 82 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 35 [21:36:11]Write i2c OK [21:36:11]MH_I2C_Read... [21:36:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:36:11]Read from MH i2c: E2 [21:36:11]MH_I2C_Read... [21:36:11]Read from MH i2c: E2 03 00 [21:36:11]MH_I2C_Read... [21:36:11]Read from MH i2c: E2 03 00 67 13 00 90 00 EE [21:36:11]RAPDU: 90 00 [21:36:11]wFMCommunicate OK [21:36:11]wFMCommunicate request_size=30 [21:36:11]MH_SAM_APDU [21:36:11]CAPDU: 80 0D 02 02 19 30 39 35 39 34 35 36 10 04 04 00 36 4A 00 00 35 04 06 00 8E 8B DC 1E C4 4E [21:36:11]Write to MH i2c: E2 21 00 68 13 80 0D 02 02 19 00 30 39 35 39 34 35 36 10 04 04 00 36 4A 00 00 35 04 06 00 8E 8B DC 1E C4 4E 00 00 99 [21:36:11]Write i2c OK [21:36:11]MH_I2C_Read... [21:36:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:36:11]Read from MH i2c: E2 [21:36:11]MH_I2C_Read... [21:36:11]Read from MH i2c: E2 03 00 [21:36:11]MH_I2C_Read... [21:36:11]Read from MH i2c: E2 03 00 68 13 00 90 00 EF [21:36:11]RAPDU: 90 00 [21:36:11]wFMCommunicate OK [21:36:11]wFMCommunicate request_size=4 [21:36:11]MH_SAM_APDU [21:36:11]CAPDU: 80 0D 03 02 [21:36:11]Write to MH i2c: E2 08 00 69 13 80 0D 03 02 00 00 00 00 F7 [21:36:11]Write i2c OK [21:36:11]MH_I2C_Read... [21:36:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:36:11]Read from MH i2c: E2 [21:36:11]MH_I2C_Read... [21:36:11]Read from MH i2c: E2 0B 00 [21:36:11]MH_I2C_Read... [21:36:11]Read from MH i2c: E2 0B 00 69 13 00 5E E1 EC 6C 00 18 A0 0D 90 00 54 [21:36:11]RAPDU: 5E E1 EC 6C 00 18 A0 0D 90 00 [21:36:11]wFMCommunicate OK [21:36:11]SAM_PROTO_SignData done [21:36:11]FM_MakeSignedData done [21:36:11]CreateOFDProtocolMessage [21:36:11]wFMCommunicate request_size=4 [21:36:11]MH_SAM_APDU [21:36:11]CAPDU: 80 11 00 00 [21:36:11]Write to MH i2c: E2 08 00 6A 13 80 11 00 00 00 00 00 00 F7 [21:36:11]Write i2c OK [21:36:11]MH_I2C_Read... [21:36:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:36:11]Read from MH i2c: E2 [21:36:11]MH_I2C_Read... [21:36:11]Read from MH i2c: E2 17 00 [21:36:11]MH_I2C_Read... [21:36:11]Read from MH i2c: E2 17 00 6A 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 50 [21:36:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:36:11]wFMCommunicate OK [21:36:11]CreateOFDProtocolMessage done [21:36:11]OFDSenderStorePacket 18998 [21:36:11]StoreOFDPacket docnum=18998 [21:36:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 23 01 00 00 F5 DB 1B 01 CD 9A 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 BF D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 30 37 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 27 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 4D 82 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 36 4A 00 00 35 04 06 00 8E 8B DC 1E C4 4E 5E E1 EC 6C 00 18 A0 0D [21:36:11]CheckFolder [21:36:11]dirname=/storage/ofd_packets [21:36:11]CheckFolder done [21:36:11]ProducePacketName [21:36:11]name=ofd_packets/00018998 [21:36:11]NVStorageSaveData ofd_packets/00018998 [21:36:11]File name is /storage/ofd_packets/00018998 [21:36:11]Write 321 bytes [21:36:11]NVStorageSaveData done [21:36:11]OFDSenderStorePacket done [21:36:11]KKMCreateOFDPacket done [21:36:11]NVStorageSaveData kkm_last_timestamp [21:36:11]File name is /storage/kkm_last_timestamp [21:36:11]Write 4 bytes [21:36:11]NVStorageSaveData done [21:36:11]ExternCall_PrintAddStr [21:36:11]wPrintStart [21:36:11]Write to MH i2c: 01 00 00 6B 13 7E [21:36:11]Write i2c OK [21:36:11]MH_I2C_Read... [21:36:11]Read from MH i2c: 01 [21:36:11]MH_I2C_Read... [21:36:11]Read from MH i2c: 01 07 00 [21:36:11]MH_I2C_Read... [21:36:11]Read from MH i2c: 01 07 00 6B 13 00 00 00 00 00 FF 0F 93 [21:36:11]RasterBufferAndPrint [21:36:11]line Счет N : (3)16919 [21:36:11]line ИНН: 02508201610067 [21:36:11]line Контрольно-Кассовый Чек [21:36:11]line ПРОДАЖА [21:36:11]line Товар: 47011656 [21:36:11]line Водка пшеничная 0,07 [21:36:11]line 2.000 * 50.00 [21:36:11]line = 100.00 [21:36:11]line НДС 12% НСП 1% [21:36:11]line > о реализуемом товаре [21:36:11]line ИТОГО: 100.00 [21:36:11]line НСП 1% : 0.88 [21:36:11]line НДС 12% : 10.62 [21:36:11]line Наличными: 0.00 [21:36:11]line Безнал.: 100.00 [21:36:11]line Место: АЗС № 176 "Партнер Нефть" [21:36:11]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [21:36:11]line СНО: Общий режим [21:36:11]line Чек 76 25.09.2024 21:36 [21:36:11]line Смена: 183 ФФД: 1.0 [21:36:11]line ЗНМ: 0300000010 [21:36:11]line РНМ: 0000000000152968 [21:36:11]line Версия ККМ: v1.0 [21:36:11]line Платежная система: O! деньги [21:36:11]line ФМ: 0000000000959456 [21:36:11]line ФД: 18998 [21:36:11]line ФПД: 156731344602190 [21:36:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T213613&type=1&operation_type=1&fn_number=0000000000959456&fd_number=18998&fm=156731344602190&tin=02508201610067®Number=0000000000152968&sum=10000 [21:36:11]line 0 [21:36:11]OFD Sender: Processing packet 18998 [packets to send 7, broken 6] [21:36:11]ProducePacketName [21:36:11]name=ofd_packets/00018998 [21:36:11]OFD Sender: To server: pG, [21:36:11]CommunicateWithHost lk.salyk.kg:30040 [21:36:11]ConnectInit lk.salyk.kg [21:36:11]written 0, free lines is 4095 [21:36:12]Connected sock=10 [21:36:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 23 01 00 00 F5 DB 1B 01 CD 9A 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 BF D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 30 37 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 27 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 4D 82 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 36 4A 00 00 35 04 06 00 8E 8B DC 1E C4 4E 5E E1 EC 6C 00 18 A0 0D [21:36:12]Write to MH i2c: 01 00 00 95 13 A8 [21:36:12]Write i2c OK [21:36:12]MH_I2C_Read... [21:36:12]Read from MH i2c: 01 [21:36:12]MH_I2C_Read... [21:36:12]Read from MH i2c: 01 07 00 [21:36:12]MH_I2C_Read... [21:36:12]Read from MH i2c: 01 07 00 95 13 00 00 00 00 00 00 0D BC [21:36:12]RasterBufferAndPrint [21:36:12]line [21:36:12]line [21:36:12]line [21:36:12]line [21:36:12]line [21:36:12]written 0, free lines is 3334 [21:36:12]MH_Cut [21:36:12]Write to MH i2c: D1 01 00 9C 13 01 81 [21:36:12]Write i2c OK [21:36:12]MH_I2C_Read... [21:36:12]Read from MH i2c: D1 [21:36:12]MH_I2C_Read... [21:36:12]Read from MH i2c: D1 01 00 [21:36:12]MH_I2C_Read... [21:36:12]Read from MH i2c: D1 01 00 9C 13 00 80 [21:36:12]Write to MH i2c: 01 00 00 9D 13 B0 [21:36:12]Write i2c OK [21:36:12]MH_I2C_Read... [21:36:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 00 20 47 00 1D 75 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 36 4A 00 00 F4 03 04 00 A9 2B F4 66 B6 04 01 00 00 88 4C 16 79 7C B5 C5 CB [21:36:12]CommunicateWithHost err = 0 [21:36:12]CheckOFDResponse [21:36:12]1017 (14) - 77093643461234 [21:36:12]1041 (16) - 0000000000959456 [21:36:12]1040 (4) - 18998 [21:36:12]1012 (4) - 25.09.2024 15:26 [21:36:12]1206 (1) - 0 [21:36:12]OFD Sender: Remove packet 18998 [21:36:12]ProducePacketName [21:36:12]name=ofd_packets/00018998 [21:36:12]NVStorageDeleteData [21:36:12]OFD Sender: No OFD packet to send [21:36:12]*** Cut start [21:36:12]*** Partial cut [21:36:12]*** CUTSNS_PIN = 1 [21:36:13]*** CUTSNS_PIN = 0 [21:36:13]*** Brake cut motor [21:36:13]Read from MH i2c: 01 [21:36:13]MH_I2C_Read... [21:36:13]*** Stop cut motor [21:36:13]*** Cut end [21:36:13]Read from MH i2c: 01 07 00 [21:36:13]MH_I2C_Read... [21:36:13]Read from MH i2c: 01 07 00 9D 13 00 00 00 00 00 FF 0F C5 [21:36:13]process_action close_receipt done [21:36:13]requested_data is exist [21:36:13]produce_requested_data [21:36:13]requested_item fm.sn is exist - process it [21:36:13]wFMCommunicate request_size=4 [21:36:13]MH_SAM_APDU [21:36:13]CAPDU: 80 11 00 00 [21:36:13]Write to MH i2c: E2 08 00 9E 13 80 11 00 00 00 00 00 00 2B [21:36:13]Write i2c OK [21:36:13]MH_I2C_Read... [21:36:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:36:13]Read from MH i2c: E2 [21:36:13]MH_I2C_Read... [21:36:13]Read from MH i2c: E2 17 00 [21:36:13]MH_I2C_Read... [21:36:13]Read from MH i2c: E2 17 00 9E 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 84 [21:36:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:36:13]wFMCommunicate OK [21:36:13]requested_item fd.num is exist - process it [21:36:13]SAM_PROTO_GetFieldsCounters [21:36:13]wFMCommunicate request_size=4 [21:36:13]MH_SAM_APDU [21:36:13]CAPDU: 80 13 00 00 [21:36:13]Write to MH i2c: E2 08 00 9F 13 80 13 00 00 00 00 00 00 2E [21:36:13]Write i2c OK [21:36:13]MH_I2C_Read... [21:36:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:36:13]Read from MH i2c: E2 [21:36:13]MH_I2C_Read... [21:36:13]Read from MH i2c: E2 62 00 [21:36:13]MH_I2C_Read... [21:36:13]Read from MH i2c: E2 62 00 9F 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 36 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 76 [21:36:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 36 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:36:13]wFMCommunicate OK [21:36:13]SAM_PROTO_GetFieldsCounters done [21:36:13]requested_item shift.num is exist - process it [21:36:13]requested_item shift.opened is exist - process it [21:36:13]req_shift_opened [21:36:13]FM_GetShiftState [21:36:13]SAM_PROTO_GetShiftState [21:36:13]wFMCommunicate request_size=4 [21:36:13]MH_SAM_APDU [21:36:13]CAPDU: 80 13 01 00 [21:36:13]Write to MH i2c: E2 08 00 A0 13 80 13 01 00 00 00 00 00 30 [21:36:13]Write i2c OK [21:36:13]MH_I2C_Read... [21:36:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:36:13]Read from MH i2c: E2 [21:36:13]MH_I2C_Read... [21:36:13]Read from MH i2c: E2 0E 00 [21:36:13]MH_I2C_Read... [21:36:13]Read from MH i2c: E2 0E 00 A0 13 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 1D [21:36:13]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [21:36:13]wFMCommunicate OK [21:36:13]SAM_PROTO_GetShiftState done [21:36:13]FM_GetShiftState done [21:36:13]req_shift_opened done [21:36:13]requested_item shift.open_date is exist - process it [21:36:13]req_shift_open_date [21:36:13]req_shift_open_date done [21:36:13]produce_requested_data done [21:36:13]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":18998,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [21:36:13]process_action_free close_receipt [21:36:13]json_value_free [21:36:13]json_value_free done [21:36:13]process_json_proto returns [21:36:13]Send response to host [21:36:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":18998,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [21:36:13]free response buf [21:36:13]execute_script done [21:36:13]execute_script returns [21:36:13]free content buf [21:36:13]Sock 8.Close socket [21:36:13]Sock 8.Thread stoped [21:36:17]OFD Sender: No OFD packet to send [21:36:22]OFD Sender: No OFD packet to send [21:36:27]OFD Sender: No OFD packet to send [21:36:32]OFD Sender: No OFD packet to send [21:36:37]OFD Sender: No OFD packet to send [21:36:42]OFD Sender: No OFD packet to send [21:36:47]OFD Sender: No OFD packet to send [21:36:51]accept exits with 9 [21:36:51]New connection [21:36:51]New thread 3066764644 created [21:36:51]Thread 3066621284 joined [21:36:51]Waiting for new connection... [21:36:51] Sock 9.Parse request [21:36:51]Sock 9.Check first char [21:36:51]Sock 9.First char is OK [21:36:51]request: POST /json_proto HTTP/1.0 [21:36:51]Method: POST [21:36:51]URL: /json_proto [21:36:51]Method is POST - this is cgi request [21:36:51]url: /json_proto [21:36:51]query_string will be loaded in cgi processing [21:36:51]execute_cgi json_proto POST (null) [21:36:51]execute_cgi path=json_proto method=POST [21:36:51]POST find Content-Length [21:36:51]Host: 172.17.62.196:8080 [21:36:51]Content-Length: 823 [21:36:51]Content-Type: application/json [21:36:51] [21:36:51]POST finish read [21:36:51]Found Content-Length = 823 [21:36:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16920", "tax_sys" : 0, "items" : [ { "code": "4607120854177", "name": "\u0421\u043D\u0435\u043A \u041E\u0440\u0435\u0445\u0438 BEERKa \u0410\u0440\u0430\u0445\u0438\u0441 30\u0433", "price" : 25.00, "quantity" : 1.000, "sum" : 25.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 25.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:36:51]execute_script... [21:36:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16920", "tax_sys" : 0, "items" : [ { "code": "4607120854177", "name": "\u0421\u043D\u0435\u043A \u041E\u0440\u0435\u0445\u0438 BEERKa \u0410\u0440\u0430\u0445\u0438\u0441 30\u0433", "price" : 25.00, "quantity" : 1.000, "sum" : 25.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 25.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:36:51]POST & json_proto [21:36:51]process_json_proto [21:36:51]json parsed OK: [21:36:51]protocol is kg_v1.0 [21:36:51]action value=close_receipt [21:36:51]process_action close_receipt [21:36:51]cmd_close_receipt [21:36:51]MH_GetDate [21:36:51]Write to MH i2c: F0 00 00 A1 13 A3 [21:36:51]Write i2c OK [21:36:51]MH_I2C_Read... [21:36:51]Read from MH i2c: F0 [21:36:51]MH_I2C_Read... [21:36:51]Read from MH i2c: F0 09 00 [21:36:51]MH_I2C_Read... [21:36:51]Read from MH i2c: F0 09 00 A1 13 00 77 82 F4 66 CE CC 0E 66 0D [21:36:51]GetLastDocTimeStamp 1727300173 [21:36:51]current date 1727300215 [21:36:51]FM_GetShiftState [21:36:51]SAM_PROTO_GetShiftState [21:36:51]wFMCommunicate request_size=4 [21:36:51]MH_SAM_APDU [21:36:51]CAPDU: 80 13 01 00 [21:36:51]Write to MH i2c: E2 08 00 A2 13 80 13 01 00 00 00 00 00 32 [21:36:51]Write i2c OK [21:36:51]MH_I2C_Read... [21:36:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:36:51]Read from MH i2c: E2 [21:36:51]MH_I2C_Read... [21:36:51]Read from MH i2c: E2 0E 00 [21:36:51]MH_I2C_Read... [21:36:51]Read from MH i2c: E2 0E 00 A2 13 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 1F [21:36:51]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [21:36:51]wFMCommunicate OK [21:36:51]SAM_PROTO_GetShiftState done [21:36:51]FM_GetShiftState done [21:36:51]opened in 1727223091 [21:36:51]opened+sec_in_day 1727309491 [21:36:51]quantity*price = 2500 [21:36:51]sum+1 = 2501 [21:36:51]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 78 25.09.2024 21:38 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19000 ФПД: 232932731780423 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T213813&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19000&fm=232932731780423&tin=02508201610067®Number=0000000000152968&sum=15000 0 [21:38:13]StoreToDocumentArchive [21:38:13]shift 183 fd 19000 [21:38:13]save to /storage/0183/doc_00019000 [21:38:13]save last doc name /storage/0183/doc_00019000 to /storage/kkm_last_doc_name [21:38:13]save OK [21:38:13]Clear old archive folders... [21:38:13]ProcessDocumentItem done err = 0, tmpTLVsize=272 [21:38:13]tlvbuf is 01DA3780 [21:38:13]SAM_PROTO_ClearQueue [21:38:13]wFMCommunicate request_size=4 [21:38:13]MH_SAM_APDU [21:38:13]CAPDU: 80 09 00 00 [21:38:13]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [21:38:13]Write i2c OK [21:38:13]MH_I2C_Read... [21:38:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:38:13]Read from MH i2c: E2 [21:38:13]MH_I2C_Read... [21:38:13]Read from MH i2c: E2 03 00 [21:38:13]MH_I2C_Read... [21:38:13]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [21:38:13]RAPDU: 90 00 [21:38:13]wFMCommunicate OK [21:38:13]SAM_PROTO_ClearQueue done [21:38:13]KKMCreateOFDPacket [21:38:13]OFDProtocolAddRootSTLVToBuf [21:38:13]FM_MakeSignedData [21:38:13]FM_MakeSignedData [21:38:13]SAM_PROTO_SignData [21:38:13]wFMCommunicate request_size=4 [21:38:13]MH_SAM_APDU [21:38:13]CAPDU: 80 0D 01 02 [21:38:13]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [21:38:13]Write i2c OK [21:38:13]MH_I2C_Read... [21:38:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:38:13]Read from MH i2c: E2 [21:38:13]MH_I2C_Read... [21:38:13]Read from MH i2c: E2 03 00 [21:38:13]MH_I2C_Read... [21:38:13]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [21:38:13]RAPDU: 90 00 [21:38:13]wFMCommunicate OK [21:38:13]wFMCommunicate request_size=255 [21:38:13]MH_SAM_APDU [21:38:13]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 C5 82 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 [21:38:13]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 C5 82 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 D9 [21:38:13]Write i2c OK [21:38:13]MH_I2C_Read... [21:38:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:38:13]Read from MH i2c: E2 [21:38:13]MH_I2C_Read... [21:38:13]Read from MH i2c: E2 03 00 [21:38:13]MH_I2C_Read... [21:38:13]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [21:38:13]RAPDU: 90 00 [21:38:13]wFMCommunicate OK [21:38:13]wFMCommunicate request_size=31 [21:38:13]MH_SAM_APDU [21:38:13]CAPDU: 80 0D 02 02 1A 30 30 39 35 39 34 35 36 10 04 04 00 38 4A 00 00 35 04 06 00 D3 D9 E0 BB FD 47 [21:38:13]Write to MH i2c: E2 22 00 2E 00 80 0D 02 02 1A 00 30 30 39 35 39 34 35 36 10 04 04 00 38 4A 00 00 35 04 06 00 D3 D9 E0 BB FD 47 00 00 E6 [21:38:13]Write i2c OK [21:38:13]MH_I2C_Read... [21:38:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:38:14]Read from MH i2c: E2 [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: E2 03 00 [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [21:38:14]RAPDU: 90 00 [21:38:14]wFMCommunicate OK [21:38:14]wFMCommunicate request_size=4 [21:38:14]MH_SAM_APDU [21:38:14]CAPDU: 80 0D 03 02 [21:38:14]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [21:38:14]Write i2c OK [21:38:14]MH_I2C_Read... [21:38:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:38:14]Read from MH i2c: E2 [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: E2 0B 00 [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: E2 0B 00 2F 00 00 7B 29 5D 32 60 D1 D1 12 90 00 F2 [21:38:14]RAPDU: 7B 29 5D 32 60 D1 D1 12 90 00 [21:38:14]wFMCommunicate OK [21:38:14]SAM_PROTO_SignData done [21:38:14]FM_MakeSignedData done [21:38:14]CreateOFDProtocolMessage [21:38:14]wFMCommunicate request_size=4 [21:38:14]MH_SAM_APDU [21:38:14]CAPDU: 80 11 00 00 [21:38:14]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [21:38:14]Write i2c OK [21:38:14]MH_I2C_Read... [21:38:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:38:14]Read from MH i2c: E2 [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: E2 17 00 [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 03 [21:38:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:38:14]wFMCommunicate OK [21:38:14]CreateOFDProtocolMessage done [21:38:14]OFDSenderStorePacket 19000 [21:38:14]StoreOFDPacket docnum=19000 [21:38:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 24 01 00 00 4E 08 1C 01 5B 79 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 C5 82 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 38 4A 00 00 35 04 06 00 D3 D9 E0 BB FD 47 7B 29 5D 32 60 D1 D1 12 [21:38:14]CheckFolder [21:38:14]dirname=/storage/ofd_packets [21:38:14]CheckFolder done [21:38:14]ProducePacketName [21:38:14]name=ofd_packets/00019000 [21:38:14]NVStorageSaveData ofd_packets/00019000 [21:38:14]File name is /storage/ofd_packets/00019000 [21:38:14]Write 322 bytes [21:38:14]NVStorageSaveData done [21:38:14]OFDSenderStorePacket done [21:38:14]KKMCreateOFDPacket done [21:38:14]NVStorageSaveData kkm_last_timestamp [21:38:14]File name is /storage/kkm_last_timestamp [21:38:14]Write 4 bytes [21:38:14]NVStorageSaveData done [21:38:14]ExternCall_PrintAddStr [21:38:14]wPrintStart [21:38:14]Write to MH i2c: 01 00 00 31 00 31 [21:38:14]Write i2c OK [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: 01 [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: 01 07 00 [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [21:38:14]RasterBufferAndPrint [21:38:14]line Счет N : (3)16921 [21:38:14]line ИНН: 02508201610067 [21:38:14]line Контрольно-Кассовый Чек [21:38:14]line ПРОДАЖА [21:38:14]line Товар: 4640030091607 [21:38:14]line Сигареты ESSE Exchange [21:38:14]line 1.000 * 150.00 [21:38:14]line = 150.00 [21:38:14]line НДС 12% НСП 1% [21:38:14]line > о реализуемом товаре [21:38:14]line ИТОГО: 150.00 [21:38:14]line НСП 1% : 1.33 [21:38:14]line НДС 12% : 15.93 [21:38:14]line Наличными: 150.00 [21:38:14]line Безнал.: 0.00 [21:38:14]line Место: АЗС № 176 "Партнер Нефть" [21:38:14]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [21:38:14]line СНО: Общий режим [21:38:14]line Чек 78 25.09.2024 21:38 [21:38:14]line Смена: 183 ФФД: 1.0 [21:38:14]line ЗНМ: 0300000010 [21:38:14]line РНМ: 0000000000152968 [21:38:14]line Версия ККМ: v1.0 [21:38:14]line ФМ: 0000000000959456 [21:38:14]line ФД: 19000 [21:38:14]line ФПД: 232932731780423 [21:38:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T213813&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19000&fm=232932731780423&tin=02508201610067®Number=0000000000152968&sum=15000 [21:38:14]line 0 [21:38:14]written 0, free lines is 4095 [21:38:14]OFD Sender: Processing packet 19000 [packets to send 7, broken 6] [21:38:14]ProducePacketName [21:38:14]name=ofd_packets/00019000 [21:38:14]OFD Sender: To server: pG, [21:38:14]CommunicateWithHost lk.salyk.kg:30040 [21:38:14]ConnectInit lk.salyk.kg [21:38:14]Connected sock=11 [21:38:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 24 01 00 00 4E 08 1C 01 5B 79 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 C5 82 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 38 4A 00 00 35 04 06 00 D3 D9 E0 BB FD 47 7B 29 5D 32 60 D1 D1 12 [21:38:14]Write to MH i2c: 01 00 00 59 00 59 [21:38:14]Write i2c OK [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: 01 [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: 01 07 00 [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: 01 07 00 59 00 00 00 00 00 00 45 0D B2 [21:38:14]RasterBufferAndPrint [21:38:14]line [21:38:14]line [21:38:14]line [21:38:14]line [21:38:14]line [21:38:14]written 0, free lines is 3409 [21:38:14]MH_Cut [21:38:14]Write to MH i2c: D1 01 00 60 00 01 32 [21:38:14]Write i2c OK [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: D1 [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: D1 01 00 [21:38:14]MH_I2C_Read... [21:38:14]Read from MH i2c: D1 01 00 60 00 00 31 [21:38:14]Write to MH i2c: 01 00 00 61 00 61 [21:38:14]Write i2c OK [21:38:14]MH_I2C_Read... [21:38:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 62 81 47 00 39 66 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 38 4A 00 00 F4 03 04 00 21 2C F4 66 B6 04 01 00 00 80 CE A1 AC 7D AC C8 D0 [21:38:14]CommunicateWithHost err = 0 [21:38:14]CheckOFDResponse [21:38:14]1017 (14) - 77093643461234 [21:38:14]1041 (16) - 0000000000959456 [21:38:14]1040 (4) - 19000 [21:38:14]1012 (4) - 25.09.2024 15:28 [21:38:14]1206 (1) - 0 [21:38:14]OFD Sender: Remove packet 19000 [21:38:14]ProducePacketName [21:38:14]name=ofd_packets/00019000 [21:38:14]NVStorageDeleteData [21:38:15]OFD Sender: No OFD packet to send [21:38:15]*** Cut start [21:38:15]*** Partial cut [21:38:15]*** CUTSNS_PIN = 1 [21:38:15]*** CUTSNS_PIN = 0 [21:38:15]*** Brake cut motor [21:38:15]Read from MH i2c: 01 [21:38:15]MH_I2C_Read... [21:38:15]*** Stop cut motor [21:38:15]*** Cut end [21:38:15]Read from MH i2c: 01 07 00 [21:38:15]MH_I2C_Read... [21:38:15]Read from MH i2c: 01 07 00 61 00 00 00 00 00 00 FF 0F 76 [21:38:15]process_action close_receipt done [21:38:15]requested_data is exist [21:38:15]produce_requested_data [21:38:15]requested_item fm.sn is exist - process it [21:38:15]wFMCommunicate request_size=4 [21:38:15]MH_SAM_APDU [21:38:15]CAPDU: 80 11 00 00 [21:38:15]Write to MH i2c: E2 08 00 62 00 80 11 00 00 00 00 00 00 DC [21:38:15]Write i2c OK [21:38:15]MH_I2C_Read... [21:38:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:38:15]Read from MH i2c: E2 [21:38:15]MH_I2C_Read... [21:38:15]Read from MH i2c: E2 17 00 [21:38:15]MH_I2C_Read... [21:38:15]Read from MH i2c: E2 17 00 62 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 35 [21:38:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:38:15]wFMCommunicate OK [21:38:15]requested_item fd.num is exist - process it [21:38:15]SAM_PROTO_GetFieldsCounters [21:38:15]wFMCommunicate request_size=4 [21:38:15]MH_SAM_APDU [21:38:15]CAPDU: 80 13 00 00 [21:38:15]Write to MH i2c: E2 08 00 63 00 80 13 00 00 00 00 00 00 DF [21:38:15]Write i2c OK [21:38:15]MH_I2C_Read... [21:38:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:38:16]Read from MH i2c: E2 [21:38:16]MH_I2C_Read... [21:38:16]Read from MH i2c: E2 62 00 [21:38:16]MH_I2C_Read... [21:38:16]Read from MH i2c: E2 62 00 63 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 38 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 2F [21:38:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 38 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:38:16]wFMCommunicate OK [21:38:16]SAM_PROTO_GetFieldsCounters done [21:38:16]requested_item shift.num is exist - process it [21:38:16]requested_item shift.opened is exist - process it [21:38:16]req_shift_opened [21:38:16]FM_GetShiftState [21:38:16]SAM_PROTO_GetShiftState [21:38:16]wFMCommunicate request_size=4 [21:38:16]MH_SAM_APDU [21:38:16]CAPDU: 80 13 01 00 [21:38:16]Write to MH i2c: E2 08 00 64 00 80 13 01 00 00 00 00 00 E1 [21:38:16]Write i2c OK [21:38:16]MH_I2C_Read... [21:38:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:38:16]Read from MH i2c: E2 [21:38:16]MH_I2C_Read... [21:38:16]Read from MH i2c: E2 0E 00 [21:38:16]MH_I2C_Read... [21:38:16]Read from MH i2c: E2 0E 00 64 00 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 CE [21:38:16]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [21:38:16]wFMCommunicate OK [21:38:16]SAM_PROTO_GetShiftState done [21:38:16]FM_GetShiftState done [21:38:16]req_shift_opened done [21:38:16]requested_item shift.open_date is exist - process it [21:38:16]req_shift_open_date [21:38:16]req_shift_open_date done [21:38:16]produce_requested_data done [21:38:16]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19000,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [21:38:16]process_action_free close_receipt [21:38:16]json_value_free [21:38:16]json_value_free done [21:38:16]process_json_proto returns [21:38:16]Send response to host [21:38:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19000,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [21:38:16]free response buf [21:38:16]execute_script done [21:38:16]execute_script returns [21:38:16]free content buf [21:38:16]Sock 9.Close socket [21:38:16]Sock 9.Thread stoped [21:38:20]OFD Sender: No OFD packet to send [21:38:25]OFD Sender: No OFD packet to send [21:38:30]OFD Sender: No OFD packet to send [21:38:35]OFD Sender: No OFD packet to send [21:38:40]OFD Sender: No OFD packet to send [21:38:45]OFD Sender: No OFD packet to send [21:38:50]OFD Sender: No OFD packet to send [21:38:55]OFD Sender: No OFD packet to send [21:39:00]OFD Sender: No OFD packet to send [21:39:05]OFD Sender: No OFD packet to send [21:39:10]OFD Sender: No OFD packet to send [21:39:15]OFD Sender: No OFD packet to send [21:39:20]OFD Sender: No OFD packet to send [21:39:25]OFD Sender: No OFD packet to send [21:39:30]OFD Sender: No OFD packet to send [21:39:35]OFD Sender: No OFD packet to send [21:39:40]OFD Sender: No OFD packet to send [21:39:45]OFD Sender: No OFD packet to send [21:39:50]OFD Sender: No OFD packet to send [21:39:55]OFD Sender: No OFD packet to send [21:40:00]OFD Sender: No OFD packet to send [21:40:05]OFD Sender: No OFD packet to send [21:40:10]OFD Sender: No OFD packet to send [21:40:15]OFD Sender: No OFD packet to send [21:40:20]OFD Sender: No OFD packet to send [21:40:25]OFD Sender: No OFD packet to send [21:40:30]OFD Sender: No OFD packet to send [21:40:35]OFD Sender: No OFD packet to send [21:40:40]OFD Sender: No OFD packet to send [21:40:45]OFD Sender: No OFD packet to send [21:40:50]OFD Sender: No OFD packet to send [21:40:55]OFD Sender: No OFD packet to send [21:41:00]OFD Sender: No OFD packet to send [21:41:05]OFD Sender: No OFD packet to send [21:41:10]OFD Sender: No OFD packet to send [21:41:15]OFD Sender: No OFD packet to send [21:41:20]OFD Sender: No OFD packet to send [21:41:25]OFD Sender: No OFD packet to send [21:41:30]OFD Sender: No OFD packet to send [21:41:35]OFD Sender: No OFD packet to send [21:41:40]OFD Sender: No OFD packet to send [21:41:45]OFD Sender: No OFD packet to send [21:41:50]OFD Sender: No OFD packet to send [21:41:55]OFD Sender: No OFD packet to send [21:42:00]OFD Sender: No OFD packet to send [21:42:05]OFD Sender: No OFD packet to send [21:42:10]OFD Sender: No OFD packet to send [21:42:15]OFD Sender: No OFD packet to send [21:42:20]OFD Sender: No OFD packet to send [21:42:25]OFD Sender: No OFD packet to send [21:42:30]OFD Sender: No OFD packet to send [21:42:35]OFD Sender: No OFD packet to send [21:42:40]OFD Sender: No OFD packet to send [21:42:45]OFD Sender: No OFD packet to send [21:42:50]OFD Sender: No OFD packet to send [21:42:55]OFD Sender: No OFD packet to send [21:43:00]OFD Sender: No OFD packet to send [21:43:05]OFD Sender: No OFD packet to send [21:43:10]OFD Sender: No OFD packet to send [21:43:15]OFD Sender: No OFD packet to send [21:43:20]OFD Sender: No OFD packet to send [21:43:25]OFD Sender: No OFD packet to send [21:43:30]OFD Sender: No OFD packet to send [21:43:35]OFD Sender: No OFD packet to send [21:43:40]OFD Sender: No OFD packet to send [21:43:45]OFD Sender: No OFD packet to send [21:43:50]OFD Sender: No OFD packet to send [21:43:55]OFD Sender: No OFD packet to send [21:44:00]OFD Sender: No OFD packet to send [21:44:05]OFD Sender: No OFD packet to send [21:44:10]OFD Sender: No OFD packet to send [21:44:15]OFD Sender: No OFD packet to send [21:44:20]OFD Sender: No OFD packet to send [21:44:25]OFD Sender: No OFD packet to send [21:44:30]OFD Sender: No OFD packet to send [21:44:35]OFD Sender: No OFD packet to send [21:44:40]OFD Sender: No OFD packet to send [21:44:45]OFD Sender: No OFD packet to send [21:44:50]OFD Sender: No OFD packet to send [21:44:55]OFD Sender: No OFD packet to send [21:45:00]OFD Sender: No OFD packet to send [21:45:05]OFD Sender: No OFD packet to send [21:45:10]OFD Sender: No OFD packet to send [21:45:15]OFD Sender: No OFD packet to send [21:45:20]OFD Sender: No OFD packet to send [21:45:25]OFD Sender: No OFD packet to send [21:45:30]OFD Sender: No OFD packet to send [21:45:35]OFD Sender: No OFD packet to send [21:45:40]OFD Sender: No OFD packet to send [21:45:45]OFD Sender: No OFD packet to send [21:45:50]OFD Sender: No OFD packet to send [21:45:55]OFD Sender: No OFD packet to send [21:46:00]OFD Sender: No OFD packet to send [21:46:05]OFD Sender: No OFD packet to send [21:46:10]OFD Sender: No OFD packet to send [21:46:15]OFD Sender: No OFD packet to send [21:46:20]OFD Sender: No OFD packet to send [21:46:25]OFD Sender: No OFD packet to send [21:46:30]OFD Sender: No OFD packet to send [21:46:35]OFD Sender: No OFD packet to send [21:46:40]OFD Sender: No OFD packet to send [21:46:45]OFD Sender: No OFD packet to send [21:46:50]OFD Sender: No OFD packet to send [21:46:55]OFD Sender: No OFD packet to send [21:47:00]OFD Sender: No OFD packet to send [21:47:05]OFD Sender: No OFD packet to send [21:47:10]OFD Sender: No OFD packet to send [21:47:15]OFD Sender: No OFD packet to send [21:47:20]OFD Sender: No OFD packet to send [21:47:25]OFD Sender: No OFD packet to send [21:47:30]OFD Sender: No OFD packet to send [21:47:35]OFD Sender: No OFD packet to send [21:47:40]OFD Sender: No OFD packet to send [21:47:45]OFD Sender: No OFD packet to send [21:47:50]OFD Sender: No OFD packet to send [21:47:55]OFD Sender: No OFD packet to send [21:48:00]OFD Sender: No OFD packet to send [21:48:05]OFD Sender: No OFD packet to send [21:48:10]OFD Sender: No OFD packet to send [21:48:15]OFD Sender: No OFD packet to send [21:48:20]OFD Sender: No OFD packet to send [21:48:25]OFD Sender: No OFD packet to send [21:48:30]OFD Sender: No OFD packet to send [21:48:35]OFD Sender: No OFD packet to send [21:48:40]OFD Sender: No OFD packet to send [21:48:45]OFD Sender: No OFD packet to send [21:48:50]OFD Sender: No OFD packet to send [21:48:55]OFD Sender: No OFD packet to send [21:49:00]OFD Sender: No OFD packet to send [21:49:05]OFD Sender: No OFD packet to send [21:49:10]OFD Sender: No OFD packet to send [21:49:15]OFD Sender: No OFD packet to send [21:49:20]OFD Sender: No OFD packet to send [21:49:25]OFD Sender: No OFD packet to send [21:49:30]OFD Sender: No OFD packet to send [21:49:35]OFD Sender: No OFD packet to send [21:49:40]OFD Sender: No OFD packet to send [21:49:45]OFD Sender: No OFD packet to send [21:49:50]OFD Sender: No OFD packet to send [21:49:55]OFD Sender: No OFD packet to send [21:50:00]OFD Sender: No OFD packet to send [21:50:05]OFD Sender: No OFD packet to send [21:50:10]OFD Sender: No OFD packet to send [21:50:15]OFD Sender: No OFD packet to send [21:50:20]OFD Sender: No OFD packet to send [21:50:25]OFD Sender: No OFD packet to send [21:50:30]OFD Sender: No OFD packet to send [21:50:33]accept exits with 7 [21:50:33]New connection [21:50:33]New thread 3066551652 created [21:50:33]Thread 3066695012 joined [21:50:33]Waiting for new connection... [21:50:33] Sock 7.Parse request [21:50:33]Sock 7.Check first char [21:50:33]Sock 7.First char is OK [21:50:33]request: POST /json_proto HTTP/1.0 [21:50:33]Method: POST [21:50:33]URL: /json_proto [21:50:33]Method is POST - this is cgi request [21:50:33]url: /json_proto [21:50:33]query_string will be loaded in cgi processing [21:50:33]execute_cgi json_proto POST (null) [21:50:33]execute_cgi path=json_proto method=POST [21:50:33]POST find Content-Length [21:50:33]Host: 172.17.62.196:8080 [21:50:33]Content-Length: 804 [21:50:33]Content-Type: application/json [21:50:33] [21:50:33]POST finish read [21:50:33]Found Content-Length = 804 [21:50:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16922", "tax_sys" : 0, "items" : [ { "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:50:33]execute_script... [21:50:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16922", "tax_sys" : 0, "items" : [ { "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:50:33]POST & json_proto [21:50:33]process_json_proto [21:50:33]json parsed OK: [21:50:33]protocol is kg_v1.0 [21:50:33]action value=close_receipt [21:50:33]process_action close_receipt [21:50:33]cmd_close_receipt [21:50:33]MH_GetDate [21:50:33]Write to MH i2c: F0 00 00 65 00 54 [21:50:33]Write i2c OK [21:50:33]MH_I2C_Read... [21:50:33]Read from MH i2c: F0 [21:50:33]MH_I2C_Read... [21:50:33]Read from MH i2c: F0 09 00 [21:50:33]MH_I2C_Read... [21:50:33]Read from MH i2c: F0 09 00 65 00 00 AA 85 F4 66 CE CC 0E 66 F4 [21:50:33]GetLastDocTimeStamp 1727300293 [21:50:33]current date 1727301034 [21:50:33]FM_GetShiftState [21:50:33]SAM_PROTO_GetShiftState [21:50:33]wFMCommunicate request_size=4 [21:50:33]MH_SAM_APDU [21:50:33]CAPDU: 80 13 01 00 [21:50:33]Write to MH i2c: E2 08 00 66 00 80 13 01 00 00 00 00 00 E3 [21:50:33]Write i2c OK [21:50:33]MH_I2C_Read... [21:50:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:50:33]Read from MH i2c: E2 [21:50:33]MH_I2C_Read... [21:50:33]Read from MH i2c: E2 0E 00 [21:50:33]MH_I2C_Read... [21:50:33]Read from MH i2c: E2 0E 00 66 00 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 D0 [21:50:33]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [21:50:33]wFMCommunicate OK [21:50:33]SAM_PROTO_GetShiftState done [21:50:33]FM_GetShiftState done [21:50:33]opened in 1727223091 [21:50:33]opened+sec_in_day 1727309491 [21:50:33]quantity*price = 3500 [21:50:33]sum+1 = 3501 [21:50:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 35.00 НСП 1% : 0.31 НДС 12% : 3.72 Наличными: 0.00 Безнал.: 35.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 79 25.09.2024 21:50 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 19001 ФПД: 213232324061977 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T215034&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19001&fm=213232324061977&tin=02508201610067®Number=0000000000152968&sum=3500 0 [21:50:34]StoreToDocumentArchive [21:50:34]shift 183 fd 19001 [21:50:34]save to /storage/0183/doc_00019001 [21:50:34]save last doc name /storage/0183/doc_00019001 to /storage/kkm_last_doc_name [21:50:34]save OK [21:50:34]Clear old archive folders... [21:50:34]ProcessDocumentItem done err = 0, tmpTLVsize=275 [21:50:34]tlvbuf is 01D5ED20 [21:50:34]SAM_PROTO_ClearQueue [21:50:34]wFMCommunicate request_size=4 [21:50:34]MH_SAM_APDU [21:50:34]CAPDU: 80 09 00 00 [21:50:34]Write to MH i2c: E2 08 00 73 00 80 09 00 00 00 00 00 00 E5 [21:50:34]Write i2c OK [21:50:34]MH_I2C_Read... [21:50:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:50:34]Read from MH i2c: E2 [21:50:34]MH_I2C_Read... [21:50:34]Read from MH i2c: E2 03 00 [21:50:34]MH_I2C_Read... [21:50:34]Read from MH i2c: E2 03 00 73 00 00 90 00 E7 [21:50:34]RAPDU: 90 00 [21:50:34]wFMCommunicate OK [21:50:34]SAM_PROTO_ClearQueue done [21:50:34]KKMCreateOFDPacket [21:50:34]OFDProtocolAddRootSTLVToBuf [21:50:34]FM_MakeSignedData [21:50:34]FM_MakeSignedData [21:50:34]SAM_PROTO_SignData [21:50:34]wFMCommunicate request_size=4 [21:50:34]MH_SAM_APDU [21:50:34]CAPDU: 80 0D 01 02 [21:50:34]Write to MH i2c: E2 08 00 74 00 80 0D 01 02 00 00 00 00 ED [21:50:34]Write i2c OK [21:50:34]MH_I2C_Read... [21:50:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:50:34]Read from MH i2c: E2 [21:50:34]MH_I2C_Read... [21:50:34]Read from MH i2c: E2 03 00 [21:50:34]MH_I2C_Read... [21:50:34]Read from MH i2c: E2 03 00 74 00 00 90 00 E8 [21:50:34]RAPDU: 90 00 [21:50:34]wFMCommunicate OK [21:50:34]wFMCommunicate request_size=255 [21:50:34]MH_SAM_APDU [21:50:34]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AC 0D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 AA 85 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 [21:50:34]Write to MH i2c: E2 02 01 75 00 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AC 0D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 AA 85 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 00 00 6A [21:50:34]Write i2c OK [21:50:34]MH_I2C_Read... [21:50:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:50:35]Read from MH i2c: E2 [21:50:35]MH_I2C_Read... [21:50:35]Read from MH i2c: E2 03 00 [21:50:35]MH_I2C_Read... [21:50:35]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [21:50:35]RAPDU: 90 00 [21:50:35]wFMCommunicate OK [21:50:35]wFMCommunicate request_size=34 [21:50:35]MH_SAM_APDU [21:50:35]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 39 4A 00 00 35 04 06 00 C1 EF 04 EE 2B 19 [21:50:35]Write to MH i2c: E2 25 00 76 00 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 39 4A 00 00 35 04 06 00 C1 EF 04 EE 2B 19 00 00 20 [21:50:35]Write i2c OK [21:50:35]MH_I2C_Read... [21:50:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:50:35]Read from MH i2c: E2 [21:50:35]MH_I2C_Read... [21:50:35]Read from MH i2c: E2 03 00 [21:50:35]MH_I2C_Read... [21:50:35]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [21:50:35]RAPDU: 90 00 [21:50:35]wFMCommunicate OK [21:50:35]wFMCommunicate request_size=4 [21:50:35]MH_SAM_APDU [21:50:35]CAPDU: 80 0D 03 02 [21:50:35]Write to MH i2c: E2 08 00 77 00 80 0D 03 02 00 00 00 00 F2 [21:50:35]Write i2c OK [21:50:35]MH_I2C_Read... [21:50:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:50:35]Read from MH i2c: E2 [21:50:35]MH_I2C_Read... [21:50:35]Read from MH i2c: E2 0B 00 [21:50:35]MH_I2C_Read... [21:50:35]Read from MH i2c: E2 0B 00 77 00 00 AE 90 47 C8 50 45 B2 B6 90 00 3D [21:50:35]RAPDU: AE 90 47 C8 50 45 B2 B6 90 00 [21:50:35]wFMCommunicate OK [21:50:35]SAM_PROTO_SignData done [21:50:35]FM_MakeSignedData done [21:50:35]CreateOFDProtocolMessage [21:50:35]wFMCommunicate request_size=4 [21:50:35]MH_SAM_APDU [21:50:35]CAPDU: 80 11 00 00 [21:50:35]Write to MH i2c: E2 08 00 78 00 80 11 00 00 00 00 00 00 F2 [21:50:35]Write i2c OK [21:50:35]MH_I2C_Read... [21:50:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:50:35]Read from MH i2c: E2 [21:50:35]MH_I2C_Read... [21:50:35]Read from MH i2c: E2 17 00 [21:50:35]MH_I2C_Read... [21:50:35]Read from MH i2c: E2 17 00 78 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 4B [21:50:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:50:35]wFMCommunicate OK [21:50:35]CreateOFDProtocolMessage done [21:50:35]OFDSenderStorePacket 19001 [21:50:35]StoreOFDPacket docnum=19001 [21:50:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 01 00 00 C0 1A 1F 01 53 29 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AC 0D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 AA 85 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 39 4A 00 00 35 04 06 00 C1 EF 04 EE 2B 19 AE 90 47 C8 50 45 B2 B6 [21:50:35]CheckFolder [21:50:35]dirname=/storage/ofd_packets [21:50:35]CheckFolder done [21:50:35]ProducePacketName [21:50:35]name=ofd_packets/00019001 [21:50:35]NVStorageSaveData ofd_packets/00019001 [21:50:35]File name is /storage/ofd_packets/00019001 [21:50:35]Write 325 bytes [21:50:35]NVStorageSaveData done [21:50:35]OFDSenderStorePacket done [21:50:35]KKMCreateOFDPacket done [21:50:35]NVStorageSaveData kkm_last_timestamp [21:50:35]File name is /storage/kkm_last_timestamp [21:50:35]Write 4 bytes [21:50:35]NVStorageSaveData done [21:50:35]ExternCall_PrintAddStr [21:50:35]wPrintStart [21:50:35]Write to MH i2c: 01 00 00 79 00 79 [21:50:35]Write i2c OK [21:50:35]MH_I2C_Read... [21:50:35]Read from MH i2c: 01 [21:50:35]MH_I2C_Read... [21:50:35]Read from MH i2c: 01 07 00 [21:50:35]MH_I2C_Read... [21:50:35]Read from MH i2c: 01 07 00 79 00 00 00 00 00 00 FF 0F 8E [21:50:35]RasterBufferAndPrint [21:50:35]line Счет N : (3)16922 [21:50:35]line ИНН: 02508201610067 [21:50:35]line Контрольно-Кассовый Чек [21:50:35]line ПРОДАЖА [21:50:35]line Товар: 4700000310326 [21:50:35]line Вода Адыгене 1л б/г [21:50:35]line 1.000 * 35.00 [21:50:35]line = 35.00 [21:50:35]line НДС 12% НСП 1% [21:50:35]line > о реализуемом товаре [21:50:35]line ИТОГО: 35.00 [21:50:35]line НСП 1% : 0.31 [21:50:35]line НДС 12% : 3.72 [21:50:35]line Наличными: 0.00 [21:50:35]line Безнал.: 35.00 [21:50:35]line Место: АЗС № 176 "Партнер Нефть" [21:50:35]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [21:50:35]line СНО: Общий режим [21:50:35]line Чек 79 25.09.2024 21:50 [21:50:35]line Смена: 183 ФФД: 1.0 [21:50:35]line ЗНМ: 0300000010 [21:50:35]line РНМ: 0000000000152968 [21:50:35]line Версия ККМ: v1.0 [21:50:35]line Платежная система: O! деньги [21:50:35]line ФМ: 0000000000959456 [21:50:35]line ФД: 19001 [21:50:35]line ФПД: 213232324061977 [21:50:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T215034&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19001&fm=213232324061977&tin=02508201610067®Number=0000000000152968&sum=3500 [21:50:35]line 0 [21:50:35]OFD Sender: Processing packet 19001 [packets to send 7, broken 6] [21:50:35]ProducePacketName [21:50:35]name=ofd_packets/00019001 [21:50:35]OFD Sender: To server: pG, [21:50:35]CommunicateWithHost lk.salyk.kg:30040 [21:50:35]ConnectInit lk.salyk.kg [21:50:35]written 0, free lines is 4095 [21:50:35]Connected sock=10 [21:50:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 01 00 00 C0 1A 1F 01 53 29 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AC 0D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 AA 85 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 39 4A 00 00 35 04 06 00 C1 EF 04 EE 2B 19 AE 90 47 C8 50 45 B2 B6 [21:50:36]Write to MH i2c: 01 00 00 A3 00 A3 [21:50:36]Write i2c OK [21:50:36]MH_I2C_Read... [21:50:36]Read from MH i2c: 01 [21:50:36]MH_I2C_Read... [21:50:36]Read from MH i2c: 01 07 00 [21:50:36]MH_I2C_Read... [21:50:36]Read from MH i2c: 01 07 00 A3 00 00 00 00 00 00 F2 0C A8 [21:50:36]RasterBufferAndPrint [21:50:36]line [21:50:36]line [21:50:36]line [21:50:36]line [21:50:36]line [21:50:36]written 0, free lines is 3321 [21:50:36]MH_Cut [21:50:36]Write to MH i2c: D1 01 00 AA 00 01 7C [21:50:36]Write i2c OK [21:50:36]MH_I2C_Read... [21:50:36]Read from MH i2c: D1 [21:50:36]MH_I2C_Read... [21:50:36]Read from MH i2c: D1 01 00 [21:50:36]MH_I2C_Read... [21:50:36]Read from MH i2c: D1 01 00 AA 00 00 7B [21:50:36]Write to MH i2c: 01 00 00 AB 00 AB [21:50:36]Write i2c OK [21:50:36]MH_I2C_Read... [21:50:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 14 3E 47 00 98 6E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 39 4A 00 00 F4 03 04 00 06 2F F4 66 B6 04 01 00 00 8A 3D 3D D6 5C 50 17 55 [21:50:36]CommunicateWithHost err = 0 [21:50:36]CheckOFDResponse [21:50:36]1017 (14) - 77093643461234 [21:50:36]1041 (16) - 0000000000959456 [21:50:36]1040 (4) - 19001 [21:50:36]1012 (4) - 25.09.2024 15:40 [21:50:36]1206 (1) - 0 [21:50:36]OFD Sender: Remove packet 19001 [21:50:36]ProducePacketName [21:50:36]name=ofd_packets/00019001 [21:50:36]NVStorageDeleteData [21:50:36]OFD Sender: No OFD packet to send [21:50:36]*** Cut start [21:50:36]*** Partial cut [21:50:36]*** CUTSNS_PIN = 1 [21:50:36]*** CUTSNS_PIN = 0 [21:50:36]*** Brake cut motor [21:50:37]Read from MH i2c: 01 [21:50:37]MH_I2C_Read... [21:50:37]*** Stop cut motor [21:50:37]*** Cut end [21:50:37]Read from MH i2c: 01 07 00 [21:50:37]MH_I2C_Read... [21:50:37]Read from MH i2c: 01 07 00 AB 00 00 00 00 00 00 FF 0F C0 [21:50:37]process_action close_receipt done [21:50:37]requested_data is exist [21:50:37]produce_requested_data [21:50:37]requested_item fm.sn is exist - process it [21:50:37]wFMCommunicate request_size=4 [21:50:37]MH_SAM_APDU [21:50:37]CAPDU: 80 11 00 00 [21:50:37]Write to MH i2c: E2 08 00 AC 00 80 11 00 00 00 00 00 00 26 [21:50:37]Write i2c OK [21:50:37]MH_I2C_Read... [21:50:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:50:37]Read from MH i2c: E2 [21:50:37]MH_I2C_Read... [21:50:37]Read from MH i2c: E2 17 00 [21:50:37]MH_I2C_Read... [21:50:37]Read from MH i2c: E2 17 00 AC 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 7F [21:50:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:50:37]wFMCommunicate OK [21:50:37]requested_item fd.num is exist - process it [21:50:37]SAM_PROTO_GetFieldsCounters [21:50:37]wFMCommunicate request_size=4 [21:50:37]MH_SAM_APDU [21:50:37]CAPDU: 80 13 00 00 [21:50:37]Write to MH i2c: E2 08 00 AD 00 80 13 00 00 00 00 00 00 29 [21:50:37]Write i2c OK [21:50:37]MH_I2C_Read... [21:50:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:50:37]Read from MH i2c: E2 [21:50:37]MH_I2C_Read... [21:50:37]Read from MH i2c: E2 62 00 [21:50:37]MH_I2C_Read... [21:50:37]Read from MH i2c: E2 62 00 AD 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 39 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 7D [21:50:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 39 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:50:37]wFMCommunicate OK [21:50:37]SAM_PROTO_GetFieldsCounters done [21:50:37]requested_item shift.num is exist - process it [21:50:37]requested_item shift.opened is exist - process it [21:50:37]req_shift_opened [21:50:37]FM_GetShiftState [21:50:37]SAM_PROTO_GetShiftState [21:50:37]wFMCommunicate request_size=4 [21:50:37]MH_SAM_APDU [21:50:37]CAPDU: 80 13 01 00 [21:50:37]Write to MH i2c: E2 08 00 AE 00 80 13 01 00 00 00 00 00 2B [21:50:37]Write i2c OK [21:50:37]MH_I2C_Read... [21:50:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:50:37]Read from MH i2c: E2 [21:50:37]MH_I2C_Read... [21:50:37]Read from MH i2c: E2 0E 00 [21:50:37]MH_I2C_Read... [21:50:37]Read from MH i2c: E2 0E 00 AE 00 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 18 [21:50:37]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [21:50:37]wFMCommunicate OK [21:50:37]SAM_PROTO_GetShiftState done [21:50:37]FM_GetShiftState done [21:50:37]req_shift_opened done [21:50:37]requested_item shift.open_date is exist - process it [21:50:37]req_shift_open_date [21:50:37]req_shift_open_date done [21:50:37]produce_requested_data done [21:50:37]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19001,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [21:50:37]process_action_free close_receipt [21:50:37]json_value_free [21:50:37]json_value_free done [21:50:37]process_json_proto returns [21:50:37]Send response to host [21:50:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19001,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [21:50:37]free response buf [21:50:37]execute_script done [21:50:37]execute_script returns [21:50:37]free content buf [21:50:37]Sock 7.Close socket [21:50:37]Sock 7.Thread stoped [21:50:41]OFD Sender: No OFD packet to send [21:50:46]OFD Sender: No OFD packet to send [21:50:51]OFD Sender: No OFD packet to send [21:50:56]OFD Sender: No OFD packet to send [21:51:01]OFD Sender: No OFD packet to send [21:51:06]OFD Sender: No OFD packet to send [21:51:11]OFD Sender: No OFD packet to send [21:51:16]OFD Sender: No OFD packet to send [21:51:21]OFD Sender: No OFD packet to send [21:51:26]OFD Sender: No OFD packet to send [21:51:31]OFD Sender: No OFD packet to send [21:51:36]OFD Sender: No OFD packet to send [21:51:41]OFD Sender: No OFD packet to send [21:51:46]OFD Sender: No OFD packet to send [21:51:51]OFD Sender: No OFD packet to send [21:51:56]OFD Sender: No OFD packet to send [21:52:01]OFD Sender: No OFD packet to send [21:52:06]OFD Sender: No OFD packet to send [21:52:11]OFD Sender: No OFD packet to send [21:52:16]OFD Sender: No OFD packet to send [21:52:21]OFD Sender: No OFD packet to send [21:52:26]OFD Sender: No OFD packet to send [21:52:31]OFD Sender: No OFD packet to send [21:52:36]OFD Sender: No OFD packet to send [21:52:41]OFD Sender: No OFD packet to send [21:52:46]OFD Sender: No OFD packet to send [21:52:51]OFD Sender: No OFD packet to send [21:52:56]OFD Sender: No OFD packet to send [21:53:01]OFD Sender: No OFD packet to send [21:53:06]OFD Sender: No OFD packet to send [21:53:11]OFD Sender: No OFD packet to send [21:53:13]accept exits with 9 [21:53:13]New connection [21:53:13]New thread 3066695012 created [21:53:13]Thread 3066551652 joined [21:53:13]Waiting for new connection... [21:53:13] Sock 9.Parse request [21:53:13]Sock 9.Check first char [21:53:13]Sock 9.First char is OK [21:53:13]request: POST /json_proto HTTP/1.0 [21:53:13]Method: POST [21:53:13]URL: /json_proto [21:53:13]Method is POST - this is cgi request [21:53:13]url: /json_proto [21:53:13]query_string will be loaded in cgi processing [21:53:13]execute_cgi json_proto POST (null) [21:53:13]execute_cgi path=json_proto method=POST [21:53:13]POST find Content-Length [21:53:13]Host: 172.17.62.196:8080 [21:53:13]Content-Length: 654 [21:53:13]Content-Type: application/json [21:53:13] [21:53:13]POST finish read [21:53:13]Found Content-Length = 654 [21:53:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16923", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:53:13]execute_script... [21:53:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16923", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:53:13]POST & json_proto [21:53:13]process_json_proto [21:53:13]json parsed OK: [21:53:13]protocol is kg_v1.0 [21:53:13]action value=close_receipt [21:53:13]process_action close_receipt [21:53:13]cmd_close_receipt [21:53:13]MH_GetDate [21:53:13]Write to MH i2c: F0 00 00 AF 00 9E [21:53:13]Write i2c OK [21:53:13]MH_I2C_Read... [21:53:13]Read from MH i2c: F0 [21:53:13]MH_I2C_Read... [21:53:13]Read from MH i2c: F0 09 00 [21:53:13]MH_I2C_Read... [21:53:13]Read from MH i2c: F0 09 00 AF 00 00 4A 86 F4 66 CE CC 0E 66 DF [21:53:13]GetLastDocTimeStamp 1727301034 [21:53:13]current date 1727301194 [21:53:13]FM_GetShiftState [21:53:13]SAM_PROTO_GetShiftState [21:53:13]wFMCommunicate request_size=4 [21:53:13]MH_SAM_APDU [21:53:13]CAPDU: 80 13 01 00 [21:53:13]Write to MH i2c: E2 08 00 B0 00 80 13 01 00 00 00 00 00 2D [21:53:13]Write i2c OK [21:53:13]MH_I2C_Read... [21:53:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:53:13]Read from MH i2c: E2 [21:53:13]MH_I2C_Read... [21:53:13]Read from MH i2c: E2 0E 00 [21:53:13]MH_I2C_Read... [21:53:13]Read from MH i2c: E2 0E 00 B0 00 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 1A [21:53:13]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [21:53:13]wFMCommunicate OK [21:53:13]SAM_PROTO_GetShiftState done [21:53:13]FM_GetShiftState done [21:53:13]opened in 1727223091 [21:53:13]opened+sec_in_day 1727309491 [21:53:13]quantity*price = 8500 [21:53:13]sum+1 = 8501 [21:53:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 80 25.09.2024 21:53 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19002 ФПД: 84596623763165 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T215314&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19002&fm=84596623763165&tin=02508201610067®Number=0000000000152968&sum=8500 0 [21:53:14]StoreToDocumentArchive [21:53:14]shift 183 fd 19002 [21:53:14]save to /storage/0183/doc_00019002 [21:53:14]save last doc name /storage/0183/doc_00019002 to /storage/kkm_last_doc_name [21:53:14]save OK [21:53:14]Clear old archive folders... [21:53:14]ProcessDocumentItem done err = 0, tmpTLVsize=294 [21:53:14]tlvbuf is B6E825A0 [21:53:14]SAM_PROTO_ClearQueue [21:53:14]wFMCommunicate request_size=4 [21:53:14]MH_SAM_APDU [21:53:14]CAPDU: 80 09 00 00 [21:53:14]Write to MH i2c: E2 08 00 BD 00 80 09 00 00 00 00 00 00 2F [21:53:14]Write i2c OK [21:53:14]MH_I2C_Read... [21:53:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:53:14]Read from MH i2c: E2 [21:53:14]MH_I2C_Read... [21:53:14]Read from MH i2c: E2 03 00 [21:53:14]MH_I2C_Read... [21:53:14]Read from MH i2c: E2 03 00 BD 00 00 90 00 31 [21:53:14]RAPDU: 90 00 [21:53:14]wFMCommunicate OK [21:53:14]SAM_PROTO_ClearQueue done [21:53:14]KKMCreateOFDPacket [21:53:14]OFDProtocolAddRootSTLVToBuf [21:53:14]FM_MakeSignedData [21:53:14]FM_MakeSignedData [21:53:14]SAM_PROTO_SignData [21:53:14]wFMCommunicate request_size=4 [21:53:14]MH_SAM_APDU [21:53:14]CAPDU: 80 0D 01 02 [21:53:14]Write to MH i2c: E2 08 00 BE 00 80 0D 01 02 00 00 00 00 37 [21:53:14]Write i2c OK [21:53:14]MH_I2C_Read... [21:53:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:53:14]Read from MH i2c: E2 [21:53:14]MH_I2C_Read... [21:53:14]Read from MH i2c: E2 03 00 [21:53:14]MH_I2C_Read... [21:53:14]Read from MH i2c: E2 03 00 BE 00 00 90 00 32 [21:53:14]RAPDU: 90 00 [21:53:14]wFMCommunicate OK [21:53:14]wFMCommunicate request_size=255 [21:53:14]MH_SAM_APDU [21:53:14]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 4A 86 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [21:53:14]Write to MH i2c: E2 02 01 BF 00 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 4A 86 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 4C [21:53:14]Write i2c OK [21:53:14]MH_I2C_Read... [21:53:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:53:15]Read from MH i2c: E2 [21:53:15]MH_I2C_Read... [21:53:15]Read from MH i2c: E2 03 00 [21:53:15]MH_I2C_Read... [21:53:15]Read from MH i2c: E2 03 00 BF 00 00 90 00 33 [21:53:15]RAPDU: 90 00 [21:53:15]wFMCommunicate OK [21:53:15]wFMCommunicate request_size=53 [21:53:15]MH_SAM_APDU [21:53:15]CAPDU: 80 0D 02 02 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3A 4A 00 00 35 04 06 00 4C F0 AF B5 66 DD [21:53:15]Write to MH i2c: E2 38 00 C0 00 80 0D 02 02 30 00 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3A 4A 00 00 35 04 06 00 4C F0 AF B5 66 DD 00 00 A2 [21:53:15]Write i2c OK [21:53:15]MH_I2C_Read... [21:53:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:53:15]Read from MH i2c: E2 [21:53:15]MH_I2C_Read... [21:53:15]Read from MH i2c: E2 03 00 [21:53:15]MH_I2C_Read... [21:53:15]Read from MH i2c: E2 03 00 C0 00 00 90 00 34 [21:53:15]RAPDU: 90 00 [21:53:15]wFMCommunicate OK [21:53:15]wFMCommunicate request_size=4 [21:53:15]MH_SAM_APDU [21:53:15]CAPDU: 80 0D 03 02 [21:53:15]Write to MH i2c: E2 08 00 C1 00 80 0D 03 02 00 00 00 00 3C [21:53:15]Write i2c OK [21:53:15]MH_I2C_Read... [21:53:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:53:15]Read from MH i2c: E2 [21:53:15]MH_I2C_Read... [21:53:15]Read from MH i2c: E2 0B 00 [21:53:15]MH_I2C_Read... [21:53:15]Read from MH i2c: E2 0B 00 C1 00 00 8B 9F F8 26 39 AD 74 9B 90 00 7A [21:53:15]RAPDU: 8B 9F F8 26 39 AD 74 9B 90 00 [21:53:15]wFMCommunicate OK [21:53:15]SAM_PROTO_SignData done [21:53:15]FM_MakeSignedData done [21:53:15]CreateOFDProtocolMessage [21:53:15]wFMCommunicate request_size=4 [21:53:15]MH_SAM_APDU [21:53:15]CAPDU: 80 11 00 00 [21:53:15]Write to MH i2c: E2 08 00 C2 00 80 11 00 00 00 00 00 00 3C [21:53:15]Write i2c OK [21:53:15]MH_I2C_Read... [21:53:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:53:15]Read from MH i2c: E2 [21:53:15]MH_I2C_Read... [21:53:15]Read from MH i2c: E2 17 00 [21:53:15]MH_I2C_Read... [21:53:15]Read from MH i2c: E2 17 00 C2 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 95 [21:53:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:53:15]wFMCommunicate OK [21:53:15]CreateOFDProtocolMessage done [21:53:15]OFDSenderStorePacket 19002 [21:53:15]StoreOFDPacket docnum=19002 [21:53:17]json_value_free done [21:53:17]process_json_proto returns [21:53:17]Send response to host [21:53:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19002,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [21:53:17]free response buf [21:53:17]execute_script done [21:53:17]execute_script returns [21:53:17]free content buf [21:53:17]Sock 9.Close socket [21:53:17]Sock 9.Thread stoped [21:53:21]OFD Sender: No OFD packet to send [21:53:26]OFD Sender: No OFD packet to send [21:53:31]OFD Sender: No OFD packet to send [21:53:36]OFD Sender: No OFD packet to send [21:53:41]OFD Sender: No OFD packet to send [21:53:46]OFD Sender: No OFD packet to send [21:53:51]OFD Sender: No OFD packet to send [21:53:56]OFD Sender: No OFD packet to send [21:54:01]OFD Sender: No OFD packet to send [21:54:06]OFD Sender: No OFD packet to send [21:54:11]OFD Sender: No OFD packet to send [21:54:16]OFD Sender: No OFD packet to send [21:54:21]OFD Sender: No OFD packet to send [21:54:26]OFD Sender: No OFD packet to send [21:54:31]OFD Sender: No OFD packet to send [21:54:36]OFD Sender: No OFD packet to send [21:54:41]OFD Sender: No OFD packet to send [21:54:46]OFD Sender: No OFD packet to send [21:54:51]OFD Sender: No OFD packet to send [21:54:56]OFD Sender: No OFD packet to send [21:55:01]OFD Sender: No OFD packet to send [21:55:06]OFD Sender: No OFD packet to send [21:55:11]OFD Sender: No OFD packet to send [21:55:16]OFD Sender: No OFD packet to send [21:55:21]OFD Sender: No OFD packet to send [21:55:26]OFD Sender: No OFD packet to send [21:55:31]OFD Sender: No OFD packet to send [21:55:36]OFD Sender: No OFD packet to send [21:55:38]ConnectInit Can't connect to host [21:55:41]OFD Sender: No OFD packet to send [21:55:46]OFD Sender: No OFD packet to send [21:55:51]OFD Sender: No OFD packet to send [21:55:56]OFD Sender: No OFD packet to send [21:56:01]OFD Sender: No OFD packet to send [21:56:06]OFD Sender: No OFD packet to send [21:56:11]OFD Sender: No OFD packet to send [21:56:16]OFD Sender: No OFD packet to send [21:56:21]OFD Sender: No OFD packet to send [21:56:26]OFD Sender: No OFD packet to send [21:56:31]OFD Sender: No OFD packet to send [21:56:36]OFD Sender: No OFD packet to send [21:56:41]OFD Sender: No OFD packet to send [21:56:46]OFD Sender: No OFD packet to send [21:56:51]OFD Sender: No OFD packet to send [21:56:56]OFD Sender: No OFD packet to send [21:57:01]OFD Sender: No OFD packet to send [21:57:06]OFD Sender: No OFD packet to send [21:57:11]OFD Sender: No OFD packet to send [21:57:16]OFD Sender: No OFD packet to send [21:57:21]OFD Sender: No OFD packet to send [21:57:26]OFD Sender: No OFD packet to send [21:57:31]OFD Sender: No OFD packet to send [21:57:36]OFD Sender: No OFD packet to send [21:57:41]OFD Sender: No OFD packet to send [21:57:46]OFD Sender: No OFD packet to send [21:57:51]OFD Sender: No OFD packet to send [21:57:56]OFD Sender: No OFD packet to send [21:58:01]OFD Sender: No OFD packet to send [21:58:06]OFD Sender: No OFD packet to send [21:58:11]OFD Sender: No OFD packet to send [21:58:16]OFD Sender: No OFD packet to send [21:58:21]OFD Sender: No OFD packet to send [21:58:26]OFD Sender: No OFD packet to send [21:58:31]OFD Sender: No OFD packet to send [21:58:36]OFD Sender: No OFD packet to send [21:58:41]OFD Sender: No OFD packet to send [21:58:46]accept exits with 7 [21:58:46]New connection [21:58:46]New thread 3066551652 created [21:58:46]Thread 3066695012 joined [21:58:46]Waiting for new connection... [21:58:46] Sock 7.Parse request [21:58:46]Sock 7.Check first char [21:58:46]Sock 7.First char is OK [21:58:46]request: POST /json_proto HTTP/1.0 [21:58:46]Method: POST [21:58:46]URL: /json_proto [21:58:46]Method is POST - this is cgi request [21:58:46]url: /json_proto [21:58:46]query_string will be loaded in cgi processing [21:58:46]execute_cgi json_proto POST (null) [21:58:46]execute_cgi path=json_proto method=POST [21:58:46]POST find Content-Length [21:58:46]Host: 172.17.62.196:8080 [21:58:46]Content-Length: 645 [21:58:46]Content-Type: application/json [21:58:46] [21:58:46]POST finish read [21:58:46]Found Content-Length = 645 [21:58:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16924", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 185.00, "quantity" : 1.000, "sum" : 185.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 185.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:58:46]execute_script... [21:58:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16924", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 185.00, "quantity" : 1.000, "sum" : 185.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 185.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:58:46]POST & json_proto [21:58:46]process_json_proto [21:58:46]json parsed OK: [21:58:46]protocol is kg_v1.0 [21:58:46]action value=close_receipt [21:58:46]process_action close_receipt [21:58:46]cmd_close_receipt [21:58:46]MH_GetDate [21:58:46]Write to MH i2c: F0 00 00 F8 00 E7 [21:58:46]Write i2c OK [21:58:46]MH_I2C_Read... [21:58:46]Read from MH i2c: F0 [21:58:46]MH_I2C_Read... [21:58:46]Read from MH i2c: F0 09 00 [21:58:46]MH_I2C_Read... [21:58:46]Read from MH i2c: F0 09 00 F8 00 00 97 87 F4 66 CE CC 0E 66 76 [21:58:46]GetLastDocTimeStamp 1727301194 [21:58:46]current date 1727301527 [21:58:46]FM_GetShiftState [21:58:46]SAM_PROTO_GetShiftState [21:58:46]wFMCommunicate request_size=4 [21:58:46]MH_SAM_APDU [21:58:46]CAPDU: 80 13 01 00 [21:58:46]Write to MH i2c: E2 08 00 F9 00 80 13 01 00 00 00 00 00 76 [21:58:46]Write i2c OK [21:58:46]MH_I2C_Read... [21:58:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:58:46]Read from MH i2c: E2 [21:58:46]MH_I2C_Read... [21:58:46]Read from MH i2c: E2 0E 00 [21:58:46]MH_I2C_Read... [21:58:46]Read from MH i2c: E2 0E 00 F9 00 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 63 [21:58:46]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [21:58:46]wFMCommunicate OK [21:58:46]SAM_PROTO_GetShiftState done [21:58:46]FM_GetShiftState done [21:58:46]opened in 1727223091 [21:58:46]opened+sec_in_day 1727309491 [21:58:46]quantity*price = 18500 [21:58:46]sum+1 = 18501 [21:58:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 185.00 НСП 1% : 1.64 НДС 12% : 19.65 Наличными: 185.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 81 25.09.2024 21:58 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19003 ФПД: 270611626071306 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T215847&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19003&fm=270611626071306&tin=02508201610067®Number=0000000000152968&sum=18500 0 [21:58:47]StoreToDocumentArchive [21:58:47]shift 183 fd 19003 [21:58:47]save to /storage/0183/doc_00019003 [21:58:47]save last doc name /storage/0183/doc_00019003 to /storage/kkm_last_doc_name [21:58:47]save OK [21:58:47]Clear old archive folders... [21:58:47]ProcessDocumentItem done err = 0, tmpTLVsize=278 [21:58:47]tlvbuf is 01D5B6C0 [21:58:47]SAM_PROTO_ClearQueue [21:58:47]wFMCommunicate request_size=4 [21:58:47]MH_SAM_APDU [21:58:47]CAPDU: 80 09 00 00 [21:58:47]Write to MH i2c: E2 08 00 06 01 80 09 00 00 00 00 00 00 79 [21:58:47]Write i2c OK [21:58:47]MH_I2C_Read... [21:58:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:58:47]Read from MH i2c: E2 [21:58:47]MH_I2C_Read... [21:58:47]Read from MH i2c: E2 03 00 [21:58:47]MH_I2C_Read... [21:58:47]Read from MH i2c: E2 03 00 06 01 00 90 00 7B [21:58:47]RAPDU: 90 00 [21:58:47]wFMCommunicate OK [21:58:47]SAM_PROTO_ClearQueue done [21:58:47]KKMCreateOFDPacket [21:58:47]OFDProtocolAddRootSTLVToBuf [21:58:47]FM_MakeSignedData [21:58:47]FM_MakeSignedData [21:58:47]SAM_PROTO_SignData [21:58:47]wFMCommunicate request_size=4 [21:58:47]MH_SAM_APDU [21:58:47]CAPDU: 80 0D 01 02 [21:58:47]Write to MH i2c: E2 08 00 07 01 80 0D 01 02 00 00 00 00 81 [21:58:47]Write i2c OK [21:58:47]MH_I2C_Read... [21:58:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:58:47]Read from MH i2c: E2 [21:58:47]MH_I2C_Read... [21:58:47]Read from MH i2c: E2 03 00 [21:58:47]MH_I2C_Read... [21:58:47]Read from MH i2c: E2 03 00 07 01 00 90 00 7C [21:58:47]RAPDU: 90 00 [21:58:47]wFMCommunicate OK [21:58:47]wFMCommunicate request_size=255 [21:58:47]MH_SAM_APDU [21:58:47]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 48 00 00 00 00 13 04 06 00 44 48 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 97 87 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 [21:58:47]Write to MH i2c: E2 02 01 08 01 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 48 00 00 00 00 13 04 06 00 44 48 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 97 87 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 00 00 75 [21:58:47]Write i2c OK [21:58:47]MH_I2C_Read... [21:58:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:58:47]Read from MH i2c: E2 [21:58:47]MH_I2C_Read... [21:58:47]Read from MH i2c: E2 03 00 [21:58:47]MH_I2C_Read... [21:58:47]Read from MH i2c: E2 03 00 08 01 00 90 00 7D [21:58:47]RAPDU: 90 00 [21:58:47]wFMCommunicate OK [21:58:47]wFMCommunicate request_size=37 [21:58:47]MH_SAM_APDU [21:58:47]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3B 4A 00 00 35 04 06 00 F6 1E AD D8 15 0A [21:58:47]Write to MH i2c: E2 28 00 09 01 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3B 4A 00 00 35 04 06 00 F6 1E AD D8 15 0A 00 00 1E [21:58:47]Write i2c OK [21:58:47]MH_I2C_Read... [21:58:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:58:48]Read from MH i2c: E2 [21:58:48]MH_I2C_Read... [21:58:48]Read from MH i2c: E2 03 00 [21:58:48]MH_I2C_Read... [21:58:48]Read from MH i2c: E2 03 00 09 01 00 90 00 7E [21:58:48]RAPDU: 90 00 [21:58:48]wFMCommunicate OK [21:58:48]wFMCommunicate request_size=4 [21:58:48]MH_SAM_APDU [21:58:48]CAPDU: 80 0D 03 02 [21:58:48]Write to MH i2c: E2 08 00 0A 01 80 0D 03 02 00 00 00 00 86 [21:58:48]Write i2c OK [21:58:48]MH_I2C_Read... [21:58:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:58:48]Read from MH i2c: E2 [21:58:48]MH_I2C_Read... [21:58:48]Read from MH i2c: E2 0B 00 [21:58:48]MH_I2C_Read... [21:58:48]Read from MH i2c: E2 0B 00 0A 01 00 9E E4 A3 FD 1F 9A A9 70 90 00 7B [21:58:48]RAPDU: 9E E4 A3 FD 1F 9A A9 70 90 00 [21:58:48]wFMCommunicate OK [21:58:48]SAM_PROTO_SignData done [21:58:48]FM_MakeSignedData done [21:58:48]CreateOFDProtocolMessage [21:58:48]wFMCommunicate request_size=4 [21:58:48]MH_SAM_APDU [21:58:48]CAPDU: 80 11 00 00 [21:58:48]Write to MH i2c: E2 08 00 0B 01 80 11 00 00 00 00 00 00 86 [21:58:48]Write i2c OK [21:58:48]MH_I2C_Read... [21:58:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:58:48]Read from MH i2c: E2 [21:58:48]MH_I2C_Read... [21:58:48]Read from MH i2c: E2 17 00 [21:58:48]MH_I2C_Read... [21:58:48]Read from MH i2c: E2 17 00 0B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 DF [21:58:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:58:48]wFMCommunicate OK [21:58:48]CreateOFDProtocolMessage done [21:58:48]OFDSenderStorePacket 19003 [21:58:48]StoreOFDPacket docnum=19003 [21:58:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2A 01 00 00 98 C8 22 01 F2 88 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 48 00 00 00 00 13 04 06 00 44 48 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 97 87 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3B 4A 00 00 35 04 06 00 F6 1E AD D8 15 0A 9E E4 A3 FD 1F 9A A9 70 [21:58:48]CheckFolder [21:58:48]dirname=/storage/ofd_packets [21:58:48]CheckFolder done [21:58:48]ProducePacketName [21:58:48]name=ofd_packets/00019003 [21:58:48]NVStorageSaveData ofd_packets/00019003 [21:58:48]File name is /storage/ofd_packets/00019003 [21:58:48]Write 328 bytes [21:58:48]NVStorageSaveData done [21:58:48]OFDSenderStorePacket done [21:58:48]KKMCreateOFDPacket done [21:58:48]NVStorageSaveData kkm_last_timestamp [21:58:48]File name is /storage/kkm_last_timestamp [21:58:48]Write 4 bytes [21:58:48]NVStorageSaveData done [21:58:48]ExternCall_PrintAddStr [21:58:48]wPrintStart [21:58:48]Write to MH i2c: 01 00 00 0C 01 0D [21:58:48]Write i2c OK [21:58:48]MH_I2C_Read... [21:58:48]Read from MH i2c: 01 [21:58:48]MH_I2C_Read... [21:58:48]Read from MH i2c: 01 07 00 [21:58:48]MH_I2C_Read... [21:58:48]Read from MH i2c: 01 07 00 0C 01 00 00 00 00 00 FF 0F 22 [21:58:48]RasterBufferAndPrint [21:58:48]line Счет N : (3)16924 [21:58:48]line ИНН: 02508201610067 [21:58:48]line Контрольно-Кассовый Чек [21:58:48]line ПРОДАЖА [21:58:48]line Товар: 90162602 [21:58:48]line Энерг напиток Red bull 0,25л [21:58:48]line 1.000 * 185.00 [21:58:48]line = 185.00 [21:58:48]line НДС 12% НСП 1% [21:58:48]line > о реализуемом товаре [21:58:48]line ИТОГО: 185.00 [21:58:48]line НСП 1% : 1.64 [21:58:48]line НДС 12% : 19.65 [21:58:48]line Наличными: 185.00 [21:58:48]line Безнал.: 0.00 [21:58:48]line Место: АЗС № 176 "Партнер Нефть" [21:58:48]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [21:58:48]line СНО: Общий режим [21:58:48]line Чек 81 25.09.2024 21:58 [21:58:48]line Смена: 183 ФФД: 1.0 [21:58:48]line ЗНМ: 0300000010 [21:58:48]line РНМ: 0000000000152968 [21:58:48]line Версия ККМ: v1.0 [21:58:48]line ФМ: 0000000000959456 [21:58:48]line ФД: 19003 [21:58:48]line ФПД: 270611626071306 [21:58:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T215847&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19003&fm=270611626071306&tin=02508201610067®Number=0000000000152968&sum=18500 [21:58:48]line 0 [21:58:48]OFD Sender: Processing packet 19003 [packets to send 7, broken 6] [21:58:48]ProducePacketName [21:58:48]name=ofd_packets/00019003 [21:58:48]OFD Sender: To server: pG, [21:58:48]CommunicateWithHost lk.salyk.kg:30040 [21:58:48]ConnectInit lk.salyk.kg [21:58:48]written 0, free lines is 4095 [21:58:48]Connected sock=10 [21:58:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2A 01 00 00 98 C8 22 01 F2 88 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 44 48 00 00 00 00 13 04 06 00 44 48 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 44 48 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 07 00 00 00 00 07 04 06 00 44 48 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 97 87 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3B 4A 00 00 35 04 06 00 F6 1E AD D8 15 0A 9E E4 A3 FD 1F 9A A9 70 [21:58:48]Write to MH i2c: 01 00 00 34 01 35 [21:58:48]Write i2c OK [21:58:48]MH_I2C_Read... [21:58:48]Read from MH i2c: 01 [21:58:48]MH_I2C_Read... [21:58:48]Read from MH i2c: 01 07 00 [21:58:48]MH_I2C_Read... [21:58:48]Read from MH i2c: 01 07 00 34 01 00 00 00 00 00 20 0D 69 [21:58:48]RasterBufferAndPrint [21:58:48]line [21:58:48]line [21:58:48]line [21:58:48]line [21:58:48]line [21:58:48]written 0, free lines is 3366 [21:58:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 A4 9F 47 00 B1 25 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3B 4A 00 00 F4 03 04 00 F3 30 F4 66 B6 04 01 00 00 FD DF 9B 69 3D CD 0C D4 [21:58:48]CommunicateWithHost err = 0 [21:58:48]CheckOFDResponse [21:58:48]1017 (14) - 77093643461234 [21:58:48]1041 (16) - 0000000000959456 [21:58:48]1040 (4) - 19003 [21:58:48]1012 (4) - 25.09.2024 15:49 [21:58:48]1206 (1) - 0 [21:58:48]OFD Sender: Remove packet 19003 [21:58:48]ProducePacketName [21:58:48]name=ofd_packets/00019003 [21:58:48]NVStorageDeleteData [21:58:48]MH_Cut [21:58:48]Write to MH i2c: D1 01 00 3B 01 01 0E [21:58:48]Write i2c OK [21:58:48]MH_I2C_Read... [21:58:48]Read from MH i2c: D1 [21:58:48]MH_I2C_Read... [21:58:48]Read from MH i2c: D1 01 00 [21:58:48]MH_I2C_Read... [21:58:48]Read from MH i2c: D1 01 00 3B 01 00 0D [21:58:48]Write to MH i2c: 01 00 00 3C 01 3D [21:58:48]Write i2c OK [21:58:48]MH_I2C_Read... [21:58:49]OFD Sender: No OFD packet to send [21:58:49]*** Cut start [21:58:49]*** Partial cut [21:58:49]*** CUTSNS_PIN = 1 [21:58:49]*** CUTSNS_PIN = 0 [21:58:49]*** Brake cut motor [21:58:50]Read from MH i2c: 01 [21:58:50]MH_I2C_Read... [21:58:50]*** Stop cut motor [21:58:50]*** Cut end [21:58:50]Read from MH i2c: 01 07 00 [21:58:50]MH_I2C_Read... [21:58:50]Read from MH i2c: 01 07 00 3C 01 00 00 00 00 00 FF 0F 52 [21:58:50]process_action close_receipt done [21:58:50]requested_data is exist [21:58:50]produce_requested_data [21:58:50]requested_item fm.sn is exist - process it [21:58:50]wFMCommunicate request_size=4 [21:58:50]MH_SAM_APDU [21:58:50]CAPDU: 80 11 00 00 [21:58:50]Write to MH i2c: E2 08 00 3D 01 80 11 00 00 00 00 00 00 B8 [21:58:50]Write i2c OK [21:58:50]MH_I2C_Read... [21:58:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:58:50]Read from MH i2c: E2 [21:58:50]MH_I2C_Read... [21:58:50]Read from MH i2c: E2 17 00 [21:58:50]MH_I2C_Read... [21:58:50]Read from MH i2c: E2 17 00 3D 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 11 [21:58:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [21:58:50]wFMCommunicate OK [21:58:50]requested_item fd.num is exist - process it [21:58:50]SAM_PROTO_GetFieldsCounters [21:58:50]wFMCommunicate request_size=4 [21:58:50]MH_SAM_APDU [21:58:50]CAPDU: 80 13 00 00 [21:58:50]Write to MH i2c: E2 08 00 3E 01 80 13 00 00 00 00 00 00 BB [21:58:50]Write i2c OK [21:58:50]MH_I2C_Read... [21:58:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:58:50]Read from MH i2c: E2 [21:58:50]MH_I2C_Read... [21:58:50]Read from MH i2c: E2 62 00 [21:58:50]MH_I2C_Read... [21:58:50]Read from MH i2c: E2 62 00 3E 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 3B 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 17 [21:58:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 3B 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:58:50]wFMCommunicate OK [21:58:50]SAM_PROTO_GetFieldsCounters done [21:58:50]requested_item shift.num is exist - process it [21:58:50]requested_item shift.opened is exist - process it [21:58:50]req_shift_opened [21:58:50]FM_GetShiftState [21:58:50]SAM_PROTO_GetShiftState [21:58:50]wFMCommunicate request_size=4 [21:58:50]MH_SAM_APDU [21:58:50]CAPDU: 80 13 01 00 [21:58:50]Write to MH i2c: E2 08 00 3F 01 80 13 01 00 00 00 00 00 BD [21:58:50]Write i2c OK [21:58:50]MH_I2C_Read... [21:58:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:58:50]Read from MH i2c: E2 [21:58:50]MH_I2C_Read... [21:58:50]Read from MH i2c: E2 0E 00 [21:58:50]MH_I2C_Read... [21:58:50]Read from MH i2c: E2 0E 00 3F 01 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 AA [21:58:50]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [21:58:50]wFMCommunicate OK [21:58:50]SAM_PROTO_GetShiftState done [21:58:50]FM_GetShiftState done [21:58:50]req_shift_opened done [21:58:50]requested_item shift.open_date is exist - process it [21:58:50]req_shift_open_date [21:58:50]req_shift_open_date done [21:58:50]produce_requested_data done [21:58:50]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19003,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [21:58:50]process_action_free close_receipt [21:58:50]json_value_free [21:58:50]json_value_free done [21:58:50]process_json_proto returns [21:58:50]Send response to host [21:58:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19003,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [21:58:50]free response buf [21:58:50]execute_script done [21:58:50]execute_script returns [21:58:50]free content buf [21:58:50]Sock 7.Close socket [21:58:50]Sock 7.Thread stoped [21:58:54]OFD Sender: No OFD packet to send [21:58:59]OFD Sender: No OFD packet to send [21:59:04]OFD Sender: No OFD packet to send [21:59:09]OFD Sender: No OFD packet to send [21:59:14]OFD Sender: No OFD packet to send [21:59:19]OFD Sender: No OFD packet to send [21:59:24]OFD Sender: No OFD packet to send [21:59:29]OFD Sender: No OFD packet to send [21:59:34]OFD Sender: No OFD packet to send [21:59:39]OFD Sender: No OFD packet to send [21:59:44]OFD Sender: No OFD packet to send [21:59:49]OFD Sender: No OFD packet to send [21:59:54]OFD Sender: No OFD packet to send [21:59:59]OFD Sender: No OFD packet to send [22:00:04]OFD Sender: No OFD packet to send [22:00:09]OFD Sender: No OFD packet to send [22:00:14]OFD Sender: No OFD packet to send [22:00:19]OFD Sender: No OFD packet to send [22:00:24]OFD Sender: No OFD packet to send [22:00:29]OFD Sender: No OFD packet to send [22:00:34]OFD Sender: No OFD packet to send [22:00:39]OFD Sender: No OFD packet to send [22:00:44]OFD Sender: No OFD packet to send [22:00:49]OFD Sender: No OFD packet to send [22:00:54]OFD Sender: No OFD packet to send [22:00:59]OFD Sender: No OFD packet to send [22:01:04]OFD Sender: No OFD packet to send [22:01:09]OFD Sender: No OFD packet to send [22:01:14]OFD Sender: No OFD packet to send [22:01:19]OFD Sender: No OFD packet to send [22:01:24]OFD Sender: No OFD packet to send [22:01:29]OFD Sender: No OFD packet to send [22:01:34]OFD Sender: No OFD packet to send [22:01:39]OFD Sender: No OFD packet to send [22:01:44]OFD Sender: No OFD packet to send [22:01:49]OFD Sender: No OFD packet to send [22:01:54]OFD Sender: No OFD packet to send [22:01:59]OFD Sender: No OFD packet to send [22:02:04]OFD Sender: No OFD packet to send [22:02:09]OFD Sender: No OFD packet to send [22:02:14]OFD Sender: No OFD packet to send [22:02:19]OFD Sender: No OFD packet to send [22:02:24]OFD Sender: No OFD packet to send [22:02:29]OFD Sender: No OFD packet to send [22:02:34]OFD Sender: No OFD packet to send [22:02:39]OFD Sender: No OFD packet to send [22:02:44]OFD Sender: No OFD packet to send [22:02:49]OFD Sender: No OFD packet to send [22:02:54]OFD Sender: No OFD packet to send [22:02:59]OFD Sender: No OFD packet to send [22:03:04]OFD Sender: No OFD packet to send [22:03:09]OFD Sender: No OFD packet to send [22:03:14]OFD Sender: No OFD packet to send [22:03:19]OFD Sender: No OFD packet to send [22:03:24]OFD Sender: No OFD packet to send [22:03:29]OFD Sender: No OFD packet to send [22:03:34]OFD Sender: No OFD packet to send [22:03:39]OFD Sender: No OFD packet to send [22:03:44]OFD Sender: No OFD packet to send [22:03:49]OFD Sender: No OFD packet to send [22:03:54]OFD Sender: No OFD packet to send [22:03:59]OFD Sender: No OFD packet to send [22:04:04]OFD Sender: No OFD packet to send [22:04:09]OFD Sender: No OFD packet to send [22:04:14]OFD Sender: No OFD packet to send [22:04:19]OFD Sender: No OFD packet to send [22:04:24]OFD Sender: No OFD packet to send [22:04:29]OFD Sender: No OFD packet to send [22:04:34]OFD Sender: No OFD packet to send [22:04:39]OFD Sender: No OFD packet to send [22:04:43]accept exits with 9 [22:04:43]New connection [22:04:43]New thread 3066695012 created [22:04:43]Thread 3066551652 joined [22:04:43]Waiting for new connection... [22:04:43] Sock 9.Parse request [22:04:43]Sock 9.Check first char [22:04:43]Sock 9.First char is OK [22:04:43]request: POST /json_proto HTTP/1.0 [22:04:43]Method: POST [22:04:43]URL: /json_proto [22:04:43]Method is POST - this is cgi request [22:04:43]url: /json_proto [22:04:43]query_string will be loaded in cgi processing [22:04:43]execute_cgi json_proto POST (null) [22:04:43]execute_cgi path=json_proto method=POST [22:04:43]POST find Content-Length [22:04:43]Host: 172.17.62.196:8080 [22:04:43]Content-Length: 620 [22:04:43]Content-Type: application/json [22:04:43] [22:04:43]POST finish read [22:04:43]Found Content-Length = 620 [22:04:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16925", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:04:43]execute_script... [22:04:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16925", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:04:43]POST & json_proto [22:04:43]process_json_proto [22:04:43]json parsed OK: [22:04:43]protocol is kg_v1.0 [22:04:43]action value=close_receipt [22:04:43]process_action close_receipt [22:04:43]cmd_close_receipt [22:04:43]MH_GetDate [22:04:43]Write to MH i2c: F0 00 00 40 01 30 [22:04:43]Write i2c OK [22:04:43]MH_I2C_Read... [22:04:43]Read from MH i2c: F0 [22:04:43]MH_I2C_Read... [22:04:43]Read from MH i2c: F0 09 00 [22:04:43]MH_I2C_Read... [22:04:43]Read from MH i2c: F0 09 00 40 01 00 FC 88 F4 66 CE CC 0E 66 25 [22:04:43]GetLastDocTimeStamp 1727301527 [22:04:43]current date 1727301884 [22:04:43]FM_GetShiftState [22:04:43]SAM_PROTO_GetShiftState [22:04:43]wFMCommunicate request_size=4 [22:04:43]MH_SAM_APDU [22:04:43]CAPDU: 80 13 01 00 [22:04:43]Write to MH i2c: E2 08 00 41 01 80 13 01 00 00 00 00 00 BF [22:04:43]Write i2c OK [22:04:43]MH_I2C_Read... [22:04:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:04:43]Read from MH i2c: E2 [22:04:43]MH_I2C_Read... [22:04:43]Read from MH i2c: E2 0E 00 [22:04:43]MH_I2C_Read... [22:04:43]Read from MH i2c: E2 0E 00 41 01 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 AC [22:04:43]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [22:04:43]wFMCommunicate OK [22:04:43]SAM_PROTO_GetShiftState done [22:04:43]FM_GetShiftState done [22:04:43]opened in 1727223091 [22:04:43]opened+sec_in_day 1727309491 [22:04:43]quantity*price = 14400 [22:04:43]sum+1 = 14401 [22:04:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 82 25.09.2024 22:04 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19004 ФПД: 113112448805207 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T220444&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19004&fm=113112448805207&tin=02508201610067®Number=0000000000152968&sum=14400 0 [22:04:44]StoreToDocumentArchive [22:04:44]shift 183 fd 19004 [22:04:44]save to /storage/0183/doc_00019004 [22:04:44]save last doc name /storage/0183/doc_00019004 to /storage/kkm_last_doc_name [22:04:44]save OK [22:04:44]Clear old archive folders... [22:04:44]ProcessDocumentItem done err = 0, tmpTLVsize=273 [22:04:44]tlvbuf is 01D6D590 [22:04:44]SAM_PROTO_ClearQueue [22:04:44]wFMCommunicate request_size=4 [22:04:44]MH_SAM_APDU [22:04:44]CAPDU: 80 09 00 00 [22:04:44]Write to MH i2c: E2 08 00 4E 01 80 09 00 00 00 00 00 00 C1 [22:04:44]Write i2c OK [22:04:44]MH_I2C_Read... [22:04:44]OFD Sender: No OFD packet to send [22:04:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:04:44]Read from MH i2c: E2 [22:04:44]MH_I2C_Read... [22:04:44]Read from MH i2c: E2 03 00 [22:04:44]MH_I2C_Read... [22:04:44]Read from MH i2c: E2 03 00 4E 01 00 90 00 C3 [22:04:44]RAPDU: 90 00 [22:04:44]wFMCommunicate OK [22:04:44]SAM_PROTO_ClearQueue done [22:04:44]KKMCreateOFDPacket [22:04:44]OFDProtocolAddRootSTLVToBuf [22:04:44]FM_MakeSignedData [22:04:44]FM_MakeSignedData [22:04:44]SAM_PROTO_SignData [22:04:44]wFMCommunicate request_size=4 [22:04:44]MH_SAM_APDU [22:04:44]CAPDU: 80 0D 01 02 [22:04:44]Write to MH i2c: E2 08 00 4F 01 80 0D 01 02 00 00 00 00 C9 [22:04:44]Write i2c OK [22:04:44]MH_I2C_Read... [22:04:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:04:44]Read from MH i2c: E2 [22:04:44]MH_I2C_Read... [22:04:44]Read from MH i2c: E2 03 00 [22:04:44]MH_I2C_Read... [22:04:44]Read from MH i2c: E2 03 00 4F 01 00 90 00 C4 [22:04:44]RAPDU: 90 00 [22:04:44]wFMCommunicate OK [22:04:44]wFMCommunicate request_size=255 [22:04:44]MH_SAM_APDU [22:04:44]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 FC 88 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 [22:04:44]Write to MH i2c: E2 02 01 50 01 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 FC 88 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 00 00 20 [22:04:44]Write i2c OK [22:04:44]MH_I2C_Read... [22:04:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:04:45]Read from MH i2c: E2 [22:04:45]MH_I2C_Read... [22:04:45]Read from MH i2c: E2 03 00 [22:04:45]MH_I2C_Read... [22:04:45]Read from MH i2c: E2 03 00 50 01 00 90 00 C5 [22:04:45]RAPDU: 90 00 [22:04:45]wFMCommunicate OK [22:04:45]wFMCommunicate request_size=32 [22:04:45]MH_SAM_APDU [22:04:45]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 34 35 36 10 04 04 00 3C 4A 00 00 35 04 06 00 66 E0 0B 54 A9 57 [22:04:45]Write to MH i2c: E2 23 00 51 01 80 0D 02 02 1B 00 30 30 30 39 35 39 34 35 36 10 04 04 00 3C 4A 00 00 35 04 06 00 66 E0 0B 54 A9 57 00 00 5A [22:04:45]Write i2c OK [22:04:45]MH_I2C_Read... [22:04:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:04:45]Read from MH i2c: E2 [22:04:45]MH_I2C_Read... [22:04:45]Read from MH i2c: E2 03 00 [22:04:45]MH_I2C_Read... [22:04:45]Read from MH i2c: E2 03 00 51 01 00 90 00 C6 [22:04:45]RAPDU: 90 00 [22:04:45]wFMCommunicate OK [22:04:45]wFMCommunicate request_size=4 [22:04:45]MH_SAM_APDU [22:04:45]CAPDU: 80 0D 03 02 [22:04:45]Write to MH i2c: E2 08 00 52 01 80 0D 03 02 00 00 00 00 CE [22:04:45]Write i2c OK [22:04:45]MH_I2C_Read... [22:04:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:04:45]Read from MH i2c: E2 [22:04:45]MH_I2C_Read... [22:04:45]Read from MH i2c: E2 0B 00 [22:04:45]MH_I2C_Read... [22:04:45]Read from MH i2c: E2 0B 00 52 01 00 2B 83 AA 2F EC EA 9F B7 90 00 82 [22:04:45]RAPDU: 2B 83 AA 2F EC EA 9F B7 90 00 [22:04:45]wFMCommunicate OK [22:04:45]SAM_PROTO_SignData done [22:04:45]FM_MakeSignedData done [22:04:45]CreateOFDProtocolMessage [22:04:45]wFMCommunicate request_size=4 [22:04:45]MH_SAM_APDU [22:04:45]CAPDU: 80 11 00 00 [22:04:45]Write to MH i2c: E2 08 00 53 01 80 11 00 00 00 00 00 00 CE [22:04:45]Write i2c OK [22:04:45]MH_I2C_Read... [22:04:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:04:45]Read from MH i2c: E2 [22:04:45]MH_I2C_Read... [22:04:45]Read from MH i2c: E2 17 00 [22:04:45]MH_I2C_Read... [22:04:45]Read from MH i2c: E2 17 00 53 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 27 [22:04:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [22:04:45]wFMCommunicate OK [22:04:45]CreateOFDProtocolMessage done [22:04:45]OFDSenderStorePacket 19004 [22:04:45]StoreOFDPacket docnum=19004 [22:04:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 25 01 00 00 62 C7 1D 01 C8 2A 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 FC 88 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3C 4A 00 00 35 04 06 00 66 E0 0B 54 A9 57 2B 83 AA 2F EC EA 9F B7 [22:04:45]CheckFolder [22:04:45]dirname=/storage/ofd_packets [22:04:45]CheckFolder done [22:04:45]ProducePacketName [22:04:45]name=ofd_packets/00019004 [22:04:45]NVStorageSaveData ofd_packets/00019004 [22:04:45]File name is /storage/ofd_packets/00019004 [22:04:45]Write 323 bytes [22:04:45]NVStorageSaveData done [22:04:45]OFDSenderStorePacket done [22:04:45]KKMCreateOFDPacket done [22:04:45]NVStorageSaveData kkm_last_timestamp [22:04:45]File name is /storage/kkm_last_timestamp [22:04:45]Write 4 bytes [22:04:45]NVStorageSaveData done [22:04:45]ExternCall_PrintAddStr [22:04:45]wPrintStart [22:04:45]Write to MH i2c: 01 00 00 54 01 55 [22:04:45]Write i2c OK [22:04:45]MH_I2C_Read... [22:04:45]Read from MH i2c: 01 [22:04:45]MH_I2C_Read... [22:04:45]Read from MH i2c: 01 07 00 [22:04:45]MH_I2C_Read... [22:04:45]Read from MH i2c: 01 07 00 54 01 00 00 00 00 00 FF 0F 6A [22:04:45]RasterBufferAndPrint [22:04:45]line Счет N : (3)16925 [22:04:45]line ИНН: 02508201610067 [22:04:45]line Контрольно-Кассовый Чек [22:04:45]line ПРОДАЖА [22:04:45]line Товар: 48743570 [22:04:45]line Сигареты Winston XStyle Blue [22:04:45]line 1.000 * 144.00 [22:04:45]line = 144.00 [22:04:45]line НДС 12% НСП 1% [22:04:45]line > о реализуемом товаре [22:04:45]line ИТОГО: 144.00 [22:04:45]line НСП 1% : 1.27 [22:04:45]line НДС 12% : 15.29 [22:04:45]line Наличными: 144.00 [22:04:45]line Безнал.: 0.00 [22:04:45]line Место: АЗС № 176 "Партнер Нефть" [22:04:45]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [22:04:45]line СНО: Общий режим [22:04:45]line Чек 82 25.09.2024 22:04 [22:04:45]line Смена: 183 ФФД: 1.0 [22:04:45]line ЗНМ: 0300000010 [22:04:45]line РНМ: 0000000000152968 [22:04:45]line Версия ККМ: v1.0 [22:04:45]line ФМ: 0000000000959456 [22:04:45]line ФД: 19004 [22:04:45]line ФПД: 113112448805207 [22:04:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T220444&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19004&fm=113112448805207&tin=02508201610067®Number=0000000000152968&sum=14400 [22:04:45]line 0 [22:04:45]OFD Sender: Processing packet 19004 [packets to send 7, broken 6] [22:04:45]ProducePacketName [22:04:45]name=ofd_packets/00019004 [22:04:45]OFD Sender: To server: pG, [22:04:45]CommunicateWithHost lk.salyk.kg:30040 [22:04:45]ConnectInit lk.salyk.kg [22:04:45]written 0, free lines is 4095 [22:04:45]Connected sock=10 [22:04:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 25 01 00 00 62 C7 1D 01 C8 2A 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 FC 88 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3C 4A 00 00 35 04 06 00 66 E0 0B 54 A9 57 2B 83 AA 2F EC EA 9F B7 [22:04:45]Write to MH i2c: 01 00 00 7C 01 7D [22:04:45]Write i2c OK [22:04:45]MH_I2C_Read... [22:04:45]Read from MH i2c: 01 [22:04:45]MH_I2C_Read... [22:04:45]Read from MH i2c: 01 07 00 [22:04:45]MH_I2C_Read... [22:04:45]Read from MH i2c: 01 07 00 7C 01 00 00 00 00 00 0C 0D 9D [22:04:45]RasterBufferAndPrint [22:04:45]line [22:04:45]line [22:04:45]line [22:04:45]line [22:04:45]line [22:04:46]written 0, free lines is 3349 [22:04:46]MH_Cut [22:04:46]Write to MH i2c: D1 01 00 83 01 01 56 [22:04:46]Write i2c OK [22:04:46]MH_I2C_Read... [22:04:46]Read from MH i2c: D1 [22:04:46]MH_I2C_Read... [22:04:46]Read from MH i2c: D1 01 00 [22:04:46]MH_I2C_Read... [22:04:46]Read from MH i2c: D1 01 00 83 01 00 55 [22:04:46]Write to MH i2c: 01 00 00 84 01 85 [22:04:46]Write i2c OK [22:04:46]MH_I2C_Read... [22:04:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 93 64 47 00 FE AC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3C 4A 00 00 F4 03 04 00 58 32 F4 66 B6 04 01 00 00 0F 73 96 EE 72 A6 C2 D8 [22:04:46]CommunicateWithHost err = 0 [22:04:46]CheckOFDResponse [22:04:46]1017 (14) - 77093643461234 [22:04:46]1041 (16) - 0000000000959456 [22:04:46]1040 (4) - 19004 [22:04:46]1012 (4) - 25.09.2024 15:55 [22:04:46]1206 (1) - 0 [22:04:46]OFD Sender: Remove packet 19004 [22:04:46]ProducePacketName [22:04:46]name=ofd_packets/00019004 [22:04:46]NVStorageDeleteData [22:04:46]OFD Sender: No OFD packet to send [22:04:46]*** Cut start [22:04:46]*** Partial cut [22:04:46]*** CUTSNS_PIN = 1 [22:04:46]*** CUTSNS_PIN = 0 [22:04:46]*** Brake cut motor [22:04:47]Read from MH i2c: 01 [22:04:47]MH_I2C_Read... [22:04:47]*** Stop cut motor [22:04:47]*** Cut end [22:04:47]Read from MH i2c: 01 07 00 [22:04:47]MH_I2C_Read... [22:04:47]Read from MH i2c: 01 07 00 84 01 00 00 00 00 00 FF 0F 9A [22:04:47]process_action close_receipt done [22:04:47]requested_data is exist [22:04:47]produce_requested_data [22:04:47]requested_item fm.sn is exist - process it [22:04:47]wFMCommunicate request_size=4 [22:04:47]MH_SAM_APDU [22:04:47]CAPDU: 80 11 00 00 [22:04:47]Write to MH i2c: E2 08 00 85 01 80 11 00 00 00 00 00 00 00 [22:04:47]Write i2c OK [22:04:47]MH_I2C_Read... [22:04:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:04:47]Read from MH i2c: E2 [22:04:47]MH_I2C_Read... [22:04:47]Read from MH i2c: E2 17 00 [22:04:47]MH_I2C_Read... [22:04:47]Read from MH i2c: E2 17 00 85 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 59 [22:04:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [22:04:47]wFMCommunicate OK [22:04:47]requested_item fd.num is exist - process it [22:04:47]SAM_PROTO_GetFieldsCounters [22:04:47]wFMCommunicate request_size=4 [22:04:47]MH_SAM_APDU [22:04:47]CAPDU: 80 13 00 00 [22:04:47]Write to MH i2c: E2 08 00 86 01 80 13 00 00 00 00 00 00 03 [22:04:47]Write i2c OK [22:04:47]MH_I2C_Read... [22:04:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:04:47]Read from MH i2c: E2 [22:04:47]MH_I2C_Read... [22:04:47]Read from MH i2c: E2 62 00 [22:04:47]MH_I2C_Read... [22:04:47]Read from MH i2c: E2 62 00 86 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 3C 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 63 [22:04:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 3C 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:04:47]wFMCommunicate OK [22:04:47]SAM_PROTO_GetFieldsCounters done [22:04:47]requested_item shift.num is exist - process it [22:04:47]requested_item shift.opened is exist - process it [22:04:47]req_shift_opened [22:04:47]FM_GetShiftState [22:04:47]SAM_PROTO_GetShiftState [22:04:47]wFMCommunicate request_size=4 [22:04:47]MH_SAM_APDU [22:04:47]CAPDU: 80 13 01 00 [22:04:47]Write to MH i2c: E2 08 00 87 01 80 13 01 00 00 00 00 00 05 [22:04:47]Write i2c OK [22:04:47]MH_I2C_Read... [22:04:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:04:47]Read from MH i2c: E2 [22:04:47]MH_I2C_Read... [22:04:47]Read from MH i2c: E2 0E 00 [22:04:47]MH_I2C_Read... [22:04:47]Read from MH i2c: E2 0E 00 87 01 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 F2 [22:04:47]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [22:04:47]wFMCommunicate OK [22:04:47]SAM_PROTO_GetShiftState done [22:04:47]FM_GetShiftState done [22:04:47]req_shift_opened done [22:04:47]requested_item shift.open_date is exist - process it [22:04:47]req_shift_open_date [22:04:47]req_shift_open_date done [22:04:47]produce_requested_data done [22:04:47]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19004,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [22:04:47]process_action_free close_receipt [22:04:47]json_value_free [22:04:47]json_value_free done [22:04:47]process_json_proto returns [22:04:47]Send response to host [22:04:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19004,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [22:04:47]free response buf [22:04:47]execute_script done [22:04:47]execute_script returns [22:04:47]free content buf [22:04:47]Sock 9.Close socket [22:04:47]Sock 9.Thread stoped [22:04:51]OFD Sender: No OFD packet to send [22:04:56]OFD Sender: No OFD packet to send [22:05:01]OFD Sender: No OFD packet to send [22:05:06]OFD Sender: No OFD packet to send [22:05:11]OFD Sender: No OFD packet to send [22:05:16]OFD Sender: No OFD packet to send [22:05:21]OFD Sender: No OFD packet to send [22:05:26]OFD Sender: No OFD packet to send [22:05:31]OFD Sender: No OFD packet to send [22:05:36]OFD Sender: No OFD packet to send [22:05:41]OFD Sender: No OFD packet to send [22:05:46]OFD Sender: No OFD packet to send [22:05:51]OFD Sender: No OFD packet to send [22:05:56]OFD Sender: No OFD packet to send [22:06:01]OFD Sender: No OFD packet to send [22:06:06]OFD Sender: No OFD packet to send [22:06:11]OFD Sender: No OFD packet to send [22:06:16]OFD Sender: No OFD packet to send [22:06:21]OFD Sender: No OFD packet to send [22:06:26]OFD Sender: No OFD packet to send [22:06:31]OFD Sender: No OFD packet to send [22:06:36]OFD Sender: No OFD packet to send [22:06:41]OFD Sender: No OFD packet to send [22:06:46]OFD Sender: No OFD packet to send [22:06:51]OFD Sender: No OFD packet to send [22:06:56]OFD Sender: No OFD packet to send [22:07:01]OFD Sender: No OFD packet to send [22:07:06]OFD Sender: No OFD packet to send [22:07:11]OFD Sender: No OFD packet to send [22:07:16]OFD Sender: No OFD packet to send [22:07:21]OFD Sender: No OFD packet to send [22:07:26]OFD Sender: No OFD packet to send [22:07:31]OFD Sender: No OFD packet to send [22:07:36]OFD Sender: No OFD packet to send [22:07:41]OFD Sender: No OFD packet to send [22:07:46]OFD Sender: No OFD packet to send [22:07:51]OFD Sender: No OFD packet to send [22:07:56]OFD Sender: No OFD packet to send [22:08:01]OFD Sender: No OFD packet to send [22:08:06]OFD Sender: No OFD packet to send [22:08:11]OFD Sender: No OFD packet to send [22:08:16]OFD Sender: No OFD packet to send [22:08:21]OFD Sender: No OFD packet to send [22:08:26]OFD Sender: No OFD packet to send [22:08:31]OFD Sender: No OFD packet to send [22:08:36]OFD Sender: No OFD packet to send [22:08:41]OFD Sender: No OFD packet to send [22:08:46]OFD Sender: No OFD packet to send [22:08:51]OFD Sender: No OFD packet to send [22:08:56]OFD Sender: No OFD packet to send [22:09:01]OFD Sender: No OFD packet to send [22:09:06]OFD Sender: No OFD packet to send [22:09:11]OFD Sender: No OFD packet to send [22:09:16]OFD Sender: No OFD packet to send [22:09:21]OFD Sender: No OFD packet to send [22:09:26]OFD Sender: No OFD packet to send [22:09:31]OFD Sender: No OFD packet to send [22:09:36]OFD Sender: No OFD packet to send [22:09:41]OFD Sender: No OFD packet to send [22:09:46]OFD Sender: No OFD packet to send [22:09:51]OFD Sender: No OFD packet to send [22:09:56]OFD Sender: No OFD packet to send [22:10:01]OFD Sender: No OFD packet to send [22:10:06]OFD Sender: No OFD packet to send [22:10:11]OFD Sender: No OFD packet to send [22:10:16]OFD Sender: No OFD packet to send [22:10:21]OFD Sender: No OFD packet to send [22:10:26]OFD Sender: No OFD packet to send [22:10:31]OFD Sender: No OFD packet to send [22:10:36]OFD Sender: No OFD packet to send [22:10:41]OFD Sender: No OFD packet to send [22:10:46]OFD Sender: No OFD packet to send [22:10:51]OFD Sender: No OFD packet to send [22:10:56]OFD Sender: No OFD packet to send [22:11:01]OFD Sender: No OFD packet to send [22:11:06]OFD Sender: No OFD packet to send [22:11:11]OFD Sender: No OFD packet to send [22:11:16]OFD Sender: No OFD packet to send [22:11:21]OFD Sender: No OFD packet to send [22:11:26]OFD Sender: No OFD packet to send [22:11:31]OFD Sender: No OFD packet to send [22:11:36]OFD Sender: No OFD packet to send [22:11:41]OFD Sender: No OFD packet to send [22:11:46]OFD Sender: No OFD packet to send [22:11:51]OFD Sender: No OFD packet to send [22:11:56]OFD Sender: No OFD packet to send [22:12:01]OFD Sender: No OFD packet to send [22:12:06]OFD Sender: No OFD packet to send [22:12:11]OFD Sender: No OFD packet to send [22:12:16]OFD Sender: No OFD packet to send [22:12:21]OFD Sender: No OFD packet to send [22:12:26]OFD Sender: No OFD packet to send [22:12:31]OFD Sender: No OFD packet to send [22:12:36]OFD Sender: No OFD packet to send [22:12:41]OFD Sender: No OFD packet to send [22:12:46]OFD Sender: No OFD packet to send [22:12:51]OFD Sender: No OFD packet to send [22:12:56]OFD Sender: No OFD packet to send [22:13:01]OFD Sender: No OFD packet to send [22:13:06]OFD Sender: No OFD packet to send [22:13:11]OFD Sender: No OFD packet to send [22:13:16]OFD Sender: No OFD packet to send [22:13:21]OFD Sender: No OFD packet to send [22:13:26]OFD Sender: No OFD packet to send [22:13:31]OFD Sender: No OFD packet to send [22:13:36]OFD Sender: No OFD packet to send [22:13:41]OFD Sender: No OFD packet to send [22:13:46]OFD Sender: No OFD packet to send [22:13:51]OFD Sender: No OFD packet to send [22:13:56]OFD Sender: No OFD packet to send [22:14:01]OFD Sender: No OFD packet to send [22:14:06]OFD Sender: No OFD packet to send [22:14:11]OFD Sender: No OFD packet to send [22:14:17]OFD Sender: No OFD packet to send [22:14:22]OFD Sender: No OFD packet to send [22:14:27]OFD Sender: No OFD packet to send [22:14:32]OFD Sender: No OFD packet to send [22:14:37]OFD Sender: No OFD packet to send [22:14:42]OFD Sender: No OFD packet to send [22:14:47]OFD Sender: No OFD packet to send [22:14:52]OFD Sender: No OFD packet to send [22:14:57]OFD Sender: No OFD packet to send [22:15:02]OFD Sender: No OFD packet to send [22:15:07]OFD Sender: No OFD packet to send [22:15:12]OFD Sender: No OFD packet to send [22:15:17]OFD Sender: No OFD packet to send [22:15:22]OFD Sender: No OFD packet to send [22:15:27]OFD Sender: No OFD packet to send [22:15:32]OFD Sender: No OFD packet to send [22:15:37]OFD Sender: No OFD packet to send [22:15:42]OFD Sender: No OFD packet to send [22:15:47]OFD Sender: No OFD packet to send [22:15:52]OFD Sender: No OFD packet to send [22:15:57]OFD Sender: No OFD packet to send [22:16:02]OFD Sender: No OFD packet to send [22:16:07]OFD Sender: No OFD packet to send [22:16:12]OFD Sender: No OFD packet to send [22:16:17]OFD Sender: No OFD packet to send [22:16:22]OFD Sender: No OFD packet to send [22:16:27]OFD Sender: No OFD packet to send [22:16:32]OFD Sender: No OFD packet to send [22:16:37]OFD Sender: No OFD packet to send [22:16:42]OFD Sender: No OFD packet to send [22:16:47]OFD Sender: No OFD packet to send [22:16:52]OFD Sender: No OFD packet to send [22:16:57]OFD Sender: No OFD packet to send [22:17:02]OFD Sender: No OFD packet to send [22:17:07]OFD Sender: No OFD packet to send [22:17:08]accept exits with 7 [22:17:08]New connection [22:17:08]New thread 3066551652 created [22:17:08]Thread 3066695012 joined [22:17:08]Waiting for new connection... [22:17:08] Sock 7.Parse request [22:17:08]Sock 7.Check first char [22:17:08]Sock 7.First char is OK [22:17:08]request: POST /json_proto HTTP/1.0 [22:17:08]Method: POST [22:17:08]URL: /json_proto [22:17:08]Method is POST - this is cgi request [22:17:08]url: /json_proto [22:17:08]query_string will be loaded in cgi processing [22:17:08]execute_cgi json_proto POST (null) [22:17:08]execute_cgi path=json_proto method=POST [22:17:08]POST find Content-Length [22:17:08]Host: 172.17.62.196:8080 [22:17:08]Content-Length: 814 [22:17:08]Content-Type: application/json [22:17:08] [22:17:08]POST finish read [22:17:08]Found Content-Length = 814 [22:17:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16926", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 77.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:17:08]execute_script... [22:17:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16926", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 77.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:17:08]POST & json_proto [22:17:08]process_json_proto [22:17:08]json parsed OK: [22:17:08]protocol is kg_v1.0 [22:17:08]action value=close_receipt [22:17:08]process_action close_receipt [22:17:08]cmd_close_receipt [22:17:08]MH_GetDate [22:17:08]Write to MH i2c: F0 00 00 88 01 78 [22:17:08]Write i2c OK [22:17:08]MH_I2C_Read... [22:17:08]Read from MH i2c: F0 [22:17:08]MH_I2C_Read... [22:17:08]Read from MH i2c: F0 09 00 [22:17:08]MH_I2C_Read... [22:17:08]Read from MH i2c: F0 09 00 88 01 00 E5 8B F4 66 CE CC 0E 66 59 [22:17:08]GetLastDocTimeStamp 1727301884 [22:17:08]current date 1727302629 [22:17:08]FM_GetShiftState [22:17:08]SAM_PROTO_GetShiftState [22:17:08]wFMCommunicate request_size=4 [22:17:08]MH_SAM_APDU [22:17:08]CAPDU: 80 13 01 00 [22:17:08]Write to MH i2c: E2 08 00 89 01 80 13 01 00 00 00 00 00 07 [22:17:08]Write i2c OK [22:17:08]MH_I2C_Read... [22:17:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:17:08]Read from MH i2c: E2 [22:17:08]MH_I2C_Read... [22:17:08]Read from MH i2c: E2 0E 00 [22:17:08]MH_I2C_Read... [22:17:08]Read from MH i2c: E2 0E 00 89 01 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 F4 [22:17:08]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [22:17:08]wFMCommunicate OK [22:17:08]SAM_PROTO_GetShiftState done [22:17:08]FM_GetShiftState done [22:17:08]opened in 1727223091 [22:17:08]opened+sec_in_day 1727309491 [22:17:08]quantity*price = 7700 [22:17:08]sum+1 = 7701 [22:17:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 77.00 НСП 1% : 0.68 НДС 12% : 8.18 Наличными: 0.00 Безнал.: 77.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 83 25.09.2024 22:17 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 19005 ФПД: 148572167604611 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T221709&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19005&fm=148572167604611&tin=02508201610067®Number=0000000000152968&sum=7700 0 [22:17:09]StoreToDocumentArchive [22:17:09]shift 183 fd 19005 [22:17:09]save to /storage/0183/doc_00019005 [22:17:09]save last doc name /storage/0183/doc_00019005 to /storage/kkm_last_doc_name [22:17:09]save OK [22:17:09]Clear old archive folders... [22:17:09]ProcessDocumentItem done err = 0, tmpTLVsize=293 [22:17:09]tlvbuf is 01D6AF10 [22:17:09]SAM_PROTO_ClearQueue [22:17:09]wFMCommunicate request_size=4 [22:17:09]MH_SAM_APDU [22:17:09]CAPDU: 80 09 00 00 [22:17:09]Write to MH i2c: E2 08 00 96 01 80 09 00 00 00 00 00 00 09 [22:17:09]Write i2c OK [22:17:09]MH_I2C_Read... [22:17:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:17:09]Read from MH i2c: E2 [22:17:09]MH_I2C_Read... [22:17:09]Read from MH i2c: E2 03 00 [22:17:09]MH_I2C_Read... [22:17:09]Read from MH i2c: E2 03 00 96 01 00 90 00 0B [22:17:09]RAPDU: 90 00 [22:17:09]wFMCommunicate OK [22:17:09]SAM_PROTO_ClearQueue done [22:17:09]KKMCreateOFDPacket [22:17:09]OFDProtocolAddRootSTLVToBuf [22:17:09]FM_MakeSignedData [22:17:09]FM_MakeSignedData [22:17:09]SAM_PROTO_SignData [22:17:09]wFMCommunicate request_size=4 [22:17:09]MH_SAM_APDU [22:17:09]CAPDU: 80 0D 01 02 [22:17:09]Write to MH i2c: E2 08 00 97 01 80 0D 01 02 00 00 00 00 11 [22:17:09]Write i2c OK [22:17:09]MH_I2C_Read... [22:17:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:17:09]Read from MH i2c: E2 [22:17:09]MH_I2C_Read... [22:17:09]Read from MH i2c: E2 03 00 [22:17:09]MH_I2C_Read... [22:17:09]Read from MH i2c: E2 03 00 97 01 00 90 00 0C [22:17:09]RAPDU: 90 00 [22:17:09]wFMCommunicate OK [22:17:09]wFMCommunicate request_size=255 [22:17:09]MH_SAM_APDU [22:17:09]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 1E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 E5 8B F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [22:17:09]Write to MH i2c: E2 02 01 98 01 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 1E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 E5 8B F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 7A [22:17:09]Write i2c OK [22:17:09]MH_I2C_Read... [22:17:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:17:10]Read from MH i2c: E2 [22:17:10]MH_I2C_Read... [22:17:10]Read from MH i2c: E2 03 00 [22:17:10]MH_I2C_Read... [22:17:10]Read from MH i2c: E2 03 00 98 01 00 90 00 0D [22:17:10]RAPDU: 90 00 [22:17:10]wFMCommunicate OK [22:17:10]wFMCommunicate request_size=52 [22:17:10]MH_SAM_APDU [22:17:10]CAPDU: 80 0D 02 02 2F 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3D 4A 00 00 35 04 06 00 87 20 27 46 09 83 [22:17:10]Write to MH i2c: E2 37 00 99 01 80 0D 02 02 2F 00 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3D 4A 00 00 35 04 06 00 87 20 27 46 09 83 00 00 0A [22:17:10]Write i2c OK [22:17:10]MH_I2C_Read... [22:17:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:17:10]Read from MH i2c: E2 [22:17:10]MH_I2C_Read... [22:17:10]Read from MH i2c: E2 03 00 [22:17:10]MH_I2C_Read... [22:17:10]Read from MH i2c: E2 03 00 99 01 00 90 00 0E [22:17:10]RAPDU: 90 00 [22:17:10]wFMCommunicate OK [22:17:10]wFMCommunicate request_size=4 [22:17:10]MH_SAM_APDU [22:17:10]CAPDU: 80 0D 03 02 [22:17:10]Write to MH i2c: E2 08 00 9A 01 80 0D 03 02 00 00 00 00 16 [22:17:10]Write i2c OK [22:17:10]MH_I2C_Read... [22:17:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:17:10]Read from MH i2c: E2 [22:17:10]MH_I2C_Read... [22:17:10]Read from MH i2c: E2 0B 00 [22:17:10]MH_I2C_Read... [22:17:10]Read from MH i2c: E2 0B 00 9A 01 00 DE 73 F7 EE 9F 29 51 DF 90 00 45 [22:17:10]RAPDU: DE 73 F7 EE 9F 29 51 DF 90 00 [22:17:10]wFMCommunicate OK [22:17:10]SAM_PROTO_SignData done [22:17:10]FM_MakeSignedData done [22:17:10]CreateOFDProtocolMessage [22:17:10]wFMCommunicate request_size=4 [22:17:10]MH_SAM_APDU [22:17:10]CAPDU: 80 11 00 00 [22:17:10]Write to MH i2c: E2 08 00 9B 01 80 11 00 00 00 00 00 00 16 [22:17:10]Write i2c OK [22:17:10]MH_I2C_Read... [22:17:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:17:10]Read from MH i2c: E2 [22:17:10]MH_I2C_Read... [22:17:10]Read from MH i2c: E2 17 00 [22:17:10]MH_I2C_Read... [22:17:10]Read from MH i2c: E2 17 00 9B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 6F [22:17:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [22:17:10]wFMCommunicate OK [22:17:10]CreateOFDProtocolMessage done [22:17:10]OFDSenderStorePacket 19005 [22:17:10]StoreOFDPacket docnum=19005 [22:17:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 28 C8 31 01 8E 0F 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 1E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 E5 8B F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3D 4A 00 00 35 04 06 00 87 20 27 46 09 83 DE 73 F7 EE 9F 29 51 DF [22:17:10]CheckFolder [22:17:10]dirname=/storage/ofd_packets [22:17:10]CheckFolder done [22:17:10]ProducePacketName [22:17:10]name=ofd_packets/00019005 [22:17:10]NVStorageSaveData ofd_packets/00019005 [22:17:10]File name is /storage/ofd_packets/00019005 [22:17:10]Write 343 bytes [22:17:10]NVStorageSaveData done [22:17:10]OFDSenderStorePacket done [22:17:10]KKMCreateOFDPacket done [22:17:10]NVStorageSaveData kkm_last_timestamp [22:17:10]File name is /storage/kkm_last_timestamp [22:17:10]Write 4 bytes [22:17:10]NVStorageSaveData done [22:17:10]ExternCall_PrintAddStr [22:17:10]wPrintStart [22:17:10]Write to MH i2c: 01 00 00 9C 01 9D [22:17:10]Write i2c OK [22:17:10]MH_I2C_Read... [22:17:10]Read from MH i2c: 01 [22:17:10]MH_I2C_Read... [22:17:10]Read from MH i2c: 01 07 00 [22:17:10]MH_I2C_Read... [22:17:10]Read from MH i2c: 01 07 00 9C 01 00 00 00 00 00 FF 0F B2 [22:17:10]RasterBufferAndPrint [22:17:10]line Счет N : (3)16926 [22:17:10]line ИНН: 02508201610067 [22:17:10]line Контрольно-Кассовый Чек [22:17:10]line ПРОДАЖА [22:17:10]line Товар: 4700000480050 [22:17:10]line Напиток Nitro Energy эн green ж/б 0,45л [22:17:10]line 1.000 * 77.00 [22:17:10]line = 77.00 [22:17:10]line НДС 12% НСП 1% [22:17:10]line > о реализуемом товаре [22:17:10]line ИТОГО: 77.00 [22:17:10]line НСП 1% : 0.68 [22:17:10]line НДС 12% : 8.18 [22:17:10]line Наличными: 0.00 [22:17:10]line Безнал.: 77.00 [22:17:10]line Место: АЗС № 176 "Партнер Нефть" [22:17:10]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [22:17:10]line СНО: Общий режим [22:17:10]line Чек 83 25.09.2024 22:17 [22:17:10]line Смена: 183 ФФД: 1.0 [22:17:10]line ЗНМ: 0300000010 [22:17:10]line РНМ: 0000000000152968 [22:17:10]line Версия ККМ: v1.0 [22:17:10]line Платежная система: O! деньги [22:17:10]line ФМ: 0000000000959456 [22:17:10]line ФД: 19005 [22:17:10]line ФПД: 148572167604611 [22:17:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T221709&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19005&fm=148572167604611&tin=02508201610067®Number=0000000000152968&sum=7700 [22:17:10]line 0 [22:17:10]OFD Sender: Processing packet 19005 [packets to send 7, broken 6] [22:17:10]ProducePacketName [22:17:10]name=ofd_packets/00019005 [22:17:10]OFD Sender: To server: pG, [22:17:10]CommunicateWithHost lk.salyk.kg:30040 [22:17:10]ConnectInit lk.salyk.kg [22:17:10]written 0, free lines is 4095 [22:17:10]Connected sock=10 [22:17:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 39 01 00 00 28 C8 31 01 8E 0F 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 1E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 E5 8B F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3D 4A 00 00 35 04 06 00 87 20 27 46 09 83 DE 73 F7 EE 9F 29 51 DF [22:17:11]Write to MH i2c: 01 00 00 C7 01 C8 [22:17:11]Write i2c OK [22:17:11]MH_I2C_Read... [22:17:11]Read from MH i2c: 01 [22:17:11]MH_I2C_Read... [22:17:11]Read from MH i2c: 01 07 00 [22:17:11]MH_I2C_Read... [22:17:11]Read from MH i2c: 01 07 00 C7 01 00 00 00 00 00 E7 0C C2 [22:17:11]RasterBufferAndPrint [22:17:11]line [22:17:11]line [22:17:11]line [22:17:11]line [22:17:11]line [22:17:11]written 0, free lines is 3312 [22:17:11]MH_Cut [22:17:11]Write to MH i2c: D1 01 00 CE 01 01 A1 [22:17:11]Write i2c OK [22:17:11]MH_I2C_Read... [22:17:11]Read from MH i2c: D1 [22:17:11]MH_I2C_Read... [22:17:11]Read from MH i2c: D1 01 00 [22:17:11]MH_I2C_Read... [22:17:11]Read from MH i2c: D1 01 00 CE 01 00 A0 [22:17:11]Write to MH i2c: 01 00 00 CF 01 D0 [22:17:11]Write i2c OK [22:17:11]MH_I2C_Read... [22:17:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 8C E2 47 00 91 8A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3D 4A 00 00 F4 03 04 00 41 35 F4 66 B6 04 01 00 00 F1 4C A5 55 35 E7 38 98 [22:17:11]CommunicateWithHost err = 0 [22:17:11]CheckOFDResponse [22:17:11]1017 (14) - 77093643461234 [22:17:11]1041 (16) - 0000000000959456 [22:17:11]1040 (4) - 19005 [22:17:11]1012 (4) - 25.09.2024 16:07 [22:17:11]1206 (1) - 0 [22:17:11]OFD Sender: Remove packet 19005 [22:17:11]ProducePacketName [22:17:11]name=ofd_packets/00019005 [22:17:11]NVStorageDeleteData [22:17:11]OFD Sender: No OFD packet to send [22:17:11]*** Cut start [22:17:11]*** Partial cut [22:17:11]*** CUTSNS_PIN = 1 [22:17:11]*** CUTSNS_PIN = 0 [22:17:11]*** Brake cut motor [22:17:12]Read from MH i2c: 01 [22:17:12]MH_I2C_Read... [22:17:12]*** Stop cut motor [22:17:12]*** Cut end [22:17:12]Read from MH i2c: 01 07 00 [22:17:12]MH_I2C_Read... [22:17:12]Read from MH i2c: 01 07 00 CF 01 00 00 00 00 00 FF 0F E5 [22:17:12]process_action close_receipt done [22:17:12]requested_data is exist [22:17:12]produce_requested_data [22:17:12]requested_item fm.sn is exist - process it [22:17:12]wFMCommunicate request_size=4 [22:17:12]MH_SAM_APDU [22:17:12]CAPDU: 80 11 00 00 [22:17:12]Write to MH i2c: E2 08 00 D0 01 80 11 00 00 00 00 00 00 4B [22:17:12]Write i2c OK [22:17:12]MH_I2C_Read... [22:17:12]Read from MH i2c: E2 [22:17:12]MH_I2C_Read... [22:17:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:17:12]Read from MH i2c: E2 17 00 [22:17:12]MH_I2C_Read... [22:17:12]Read from MH i2c: E2 17 00 D0 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 A4 [22:17:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [22:17:12]wFMCommunicate OK [22:17:12]requested_item fd.num is exist - process it [22:17:12]SAM_PROTO_GetFieldsCounters [22:17:12]wFMCommunicate request_size=4 [22:17:12]MH_SAM_APDU [22:17:12]CAPDU: 80 13 00 00 [22:17:12]Write to MH i2c: E2 08 00 D1 01 80 13 00 00 00 00 00 00 4E [22:17:12]Write i2c OK [22:17:12]MH_I2C_Read... [22:17:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:17:12]Read from MH i2c: E2 [22:17:12]MH_I2C_Read... [22:17:12]Read from MH i2c: E2 62 00 [22:17:12]MH_I2C_Read... [22:17:12]Read from MH i2c: E2 62 00 D1 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 3D 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 B2 [22:17:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 3D 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:17:12]wFMCommunicate OK [22:17:12]SAM_PROTO_GetFieldsCounters done [22:17:12]requested_item shift.num is exist - process it [22:17:12]requested_item shift.opened is exist - process it [22:17:12]req_shift_opened [22:17:12]FM_GetShiftState [22:17:12]SAM_PROTO_GetShiftState [22:17:12]wFMCommunicate request_size=4 [22:17:12]MH_SAM_APDU [22:17:12]CAPDU: 80 13 01 00 [22:17:12]Write to MH i2c: E2 08 00 D2 01 80 13 01 00 00 00 00 00 50 [22:17:12]Write i2c OK [22:17:12]MH_I2C_Read... [22:17:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:17:12]Read from MH i2c: E2 [22:17:12]MH_I2C_Read... [22:17:12]Read from MH i2c: E2 0E 00 [22:17:12]MH_I2C_Read... [22:17:12]Read from MH i2c: E2 0E 00 D2 01 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 3D [22:17:12]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [22:17:12]wFMCommunicate OK [22:17:12]SAM_PROTO_GetShiftState done [22:17:12]FM_GetShiftState done [22:17:12]req_shift_opened done [22:17:12]requested_item shift.open_date is exist - process it [22:17:12]req_shift_open_date [22:17:12]req_shift_open_date done [22:17:12]produce_requested_data done [22:17:12]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19005,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [22:17:12]process_action_free close_receipt [22:17:12]json_value_free [22:17:12]json_value_free done [22:17:12]process_json_proto returns [22:17:12]Send response to host [22:17:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19005,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [22:17:12]free response buf [22:17:12]execute_script done [22:17:12]execute_script returns [22:17:12]free content buf [22:17:12]Sock 7.Close socket [22:17:12]Sock 7.Thread stoped [22:17:16]OFD Sender: No OFD packet to send [22:17:21]OFD Sender: No OFD packet to send [22:17:26]OFD Sender: No OFD packet to send [22:17:31]OFD Sender: No OFD packet to send [22:17:36]OFD Sender: No OFD packet to send [22:17:41]accept exits with 9 [22:17:41]New connection [22:17:41]New thread 3066695012 created [22:17:41]Thread 3066551652 joined [22:17:41]Waiting for new connection... [22:17:41] Sock 9.Parse request [22:17:41]Sock 9.Check first char [22:17:41]Sock 9.First char is OK [22:17:41]request: POST /json_proto HTTP/1.0 [22:17:41]Method: POST [22:17:41]URL: /json_proto [22:17:41]Method is POST - this is cgi request [22:17:41]url: /json_proto [22:17:41]query_string will be loaded in cgi processing [22:17:41]execute_cgi json_proto POST (null) [22:17:41]execute_cgi path=json_proto method=POST [22:17:41]POST find Content-Length [22:17:41]Host: 172.17.62.196:8080 [22:17:41]Content-Length: 662 [22:17:41]Content-Type: application/json [22:17:41] [22:17:41]POST finish read [22:17:41]Found Content-Length = 662 [22:17:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16927", "tax_sys" : 0, "items" : [ { "code": "4607120854184", "name": "\u0421\u043D\u0435\u043A \u041E\u0440\u0435\u0445\u0438 BEERKa \u0410\u0440\u0430\u0445\u0438\u0441 90\u0433", "price" : 62.00, "quantity" : 1.000, "sum" : 62.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 62.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:17:41]execute_script... [22:17:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16927", "tax_sys" : 0, "items" : [ { "code": "4607120854184", "name": "\u0421\u043D\u0435\u043A \u041E\u0440\u0435\u0445\u0438 BEERKa \u0410\u0440\u0430\u0445\u0438\u0441 90\u0433", "price" : 62.00, "quantity" : 1.000, "sum" : 62.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 62.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:17:41]POST & json_proto [22:17:41]process_json_proto [22:17:41]json parsed OK: [22:17:41]protocol is kg_v1.0 [22:17:41]action value=close_receipt [22:17:41]process_action close_receipt [22:17:41]cmd_close_receipt [22:17:41]MH_GetDate [22:17:41]Write to MH i2c: F0 00 00 D3 01 C3 [22:17:41]Write i2c OK [22:17:41]MH_I2C_Read... [22:17:41]Read from MH i2c: F0 [22:17:41]MH_I2C_Read... [22:17:41]Read from MH i2c: F0 09 00 [22:17:41]MH_I2C_Read... [22:17:41]Read from MH i2c: F0 09 00 D3 01 00 06 8C F4 66 CE CC 0E 66 C6 [22:17:41]GetLastDocTimeStamp 1727302629 [22:17:41]current date 1727302662 [22:17:41]FM_GetShiftState [22:17:41]SAM_PROTO_GetShiftState [22:17:41]wFMCommunicate request_size=4 [22:17:41]MH_SAM_APDU [22:17:41]CAPDU: 80 13 01 00 [22:17:41]Write to MH i2c: E2 08 00 D4 01 80 13 01 00 00 00 00 00 52 [22:17:41]Write i2c OK [22:17:41]MH_I2C_Read... [22:17:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:17:41]Read from MH i2c: E2 [22:17:41]MH_I2C_Read... [22:17:41]Read from MH i2c: E2 0E 00 [22:17:41]MH_I2C_Read... [22:17:41]Read from MH i2c: E2 0E 00 D4 01 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 3F [22:17:41]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [22:17:41]wFMCommunicate OK [22:17:41]SAM_PROTO_GetShiftState done [22:17:41]FM_GetShiftState done [22:17:41]opened in 1727223091 [22:17:41]opened+sec_in_day 1727309491 [22:17:41]quantity*price = 6200 [22:17:41]sum+1 = 6201 [22:17:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 62.00 НСП 1% : 0.55 НДС 12% : 6.58 Наличными: 62.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 84 25.09.2024 22:17 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19006 ФПД: 196387723324094 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T221742&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19006&fm=196387723324094&tin=02508201610067®Number=0000000000152968&sum=6200 0 [22:17:42]StoreToDocumentArchive [22:17:42]shift 183 fd 19006 [22:17:42]save to /storage/0183/doc_00019006 [22:17:42]save last doc name /storage/0183/doc_00019006 to /storage/kkm_last_doc_name [22:17:42]save OK [22:17:42]Clear old archive folders... [22:17:42]ProcessDocumentItem done err = 0, tmpTLVsize=286 [22:17:42]tlvbuf is 01D5AB50 [22:17:42]SAM_PROTO_ClearQueue [22:17:42]wFMCommunicate request_size=4 [22:17:42]MH_SAM_APDU [22:17:42]CAPDU: 80 09 00 00 [22:17:42]Write to MH i2c: E2 08 00 E1 01 80 09 00 00 00 00 00 00 54 [22:17:42]Write i2c OK [22:17:42]MH_I2C_Read... [22:17:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:17:42]Read from MH i2c: E2 [22:17:42]MH_I2C_Read... [22:17:42]Read from MH i2c: E2 03 00 [22:17:42]MH_I2C_Read... [22:17:42]Read from MH i2c: E2 03 00 E1 01 00 90 00 56 [22:17:42]RAPDU: 90 00 [22:17:42]wFMCommunicate OK [22:17:42]SAM_PROTO_ClearQueue done [22:17:42]KKMCreateOFDPacket [22:17:42]OFDProtocolAddRootSTLVToBuf [22:17:42]FM_MakeSignedData [22:17:42]FM_MakeSignedData [22:17:42]SAM_PROTO_SignData [22:17:42]wFMCommunicate request_size=4 [22:17:42]MH_SAM_APDU [22:17:42]CAPDU: 80 0D 01 02 [22:17:42]Write to MH i2c: E2 08 00 E2 01 80 0D 01 02 00 00 00 00 5C [22:17:42]Write i2c OK [22:17:42]MH_I2C_Read... [22:17:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:17:42]Read from MH i2c: E2 [22:17:42]MH_I2C_Read... [22:17:42]Read from MH i2c: E2 03 00 [22:17:42]MH_I2C_Read... [22:17:42]Read from MH i2c: E2 03 00 E2 01 00 90 00 57 [22:17:42]RAPDU: 90 00 [22:17:42]wFMCommunicate OK [22:17:42]wFMCommunicate request_size=255 [22:17:42]MH_SAM_APDU [22:17:42]CAPDU: 80 0D 02 02 FA 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 34 31 38 34 06 04 2C 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9E D1 80 D0 B5 D1 85 D0 B8 20 42 45 45 52 4B 61 20 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 18 00 00 00 00 13 04 06 00 38 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 37 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 02 00 00 00 00 07 04 06 00 38 18 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 06 8C F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 [22:17:42]Write to MH i2c: E2 02 01 E3 01 80 0D 02 02 FA 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 34 31 38 34 06 04 2C 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9E D1 80 D0 B5 D1 85 D0 B8 20 42 45 45 52 4B 61 20 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 18 00 00 00 00 13 04 06 00 38 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 37 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 02 00 00 00 00 07 04 06 00 38 18 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 06 8C F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 00 00 B3 [22:17:42]Write i2c OK [22:17:42]MH_I2C_Read... [22:17:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:17:43]Read from MH i2c: E2 [22:17:43]MH_I2C_Read... [22:17:43]Read from MH i2c: E2 03 00 [22:17:43]MH_I2C_Read... [22:17:43]Read from MH i2c: E2 03 00 E3 01 00 90 00 58 [22:17:43]RAPDU: 90 00 [22:17:43]wFMCommunicate OK [22:17:43]wFMCommunicate request_size=45 [22:17:43]MH_SAM_APDU [22:17:43]CAPDU: 80 0D 02 02 28 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3E 4A 00 00 35 04 06 00 B2 9D 14 7C AA BE [22:17:43]Write to MH i2c: E2 30 00 E4 01 80 0D 02 02 28 00 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3E 4A 00 00 35 04 06 00 B2 9D 14 7C AA BE 00 00 8E [22:17:43]Write i2c OK [22:17:43]MH_I2C_Read... [22:17:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:17:43]Read from MH i2c: E2 [22:17:43]MH_I2C_Read... [22:17:43]Read from MH i2c: E2 03 00 [22:17:43]MH_I2C_Read... [22:17:43]Read from MH i2c: E2 03 00 E4 01 00 90 00 59 [22:17:43]RAPDU: 90 00 [22:17:43]wFMCommunicate OK [22:17:43]wFMCommunicate request_size=4 [22:17:43]MH_SAM_APDU [22:17:43]CAPDU: 80 0D 03 02 [22:17:43]Write to MH i2c: E2 08 00 E5 01 80 0D 03 02 00 00 00 00 61 [22:17:43]Write i2c OK [22:17:43]MH_I2C_Read... [22:17:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:17:43]Read from MH i2c: E2 [22:17:43]MH_I2C_Read... [22:17:43]Read from MH i2c: E2 0B 00 [22:17:43]MH_I2C_Read... [22:17:43]Read from MH i2c: E2 0B 00 E5 01 00 CD 9B F9 3C F0 6B 31 89 90 00 14 [22:17:43]RAPDU: CD 9B F9 3C F0 6B 31 89 90 00 [22:17:43]wFMCommunicate OK [22:17:43]SAM_PROTO_SignData done [22:17:43]FM_MakeSignedData done [22:17:43]CreateOFDProtocolMessage [22:17:43]wFMCommunicate request_size=4 [22:17:43]MH_SAM_APDU [22:17:43]CAPDU: 80 11 00 00 [22:17:43]Write to MH i2c: E2 08 00 E6 01 80 11 00 00 00 00 00 00 61 [22:17:43]Write i2c OK [22:17:43]MH_I2C_Read... [22:17:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:17:43]Read from MH i2c: E2 [22:17:43]MH_I2C_Read... [22:17:43]Read from MH i2c: E2 17 00 [22:17:43]MH_I2C_Read... [22:17:43]Read from MH i2c: E2 17 00 E6 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 BA [22:17:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [22:17:43]wFMCommunicate OK [22:17:43]CreateOFDProtocolMessage done [22:17:43]OFDSenderStorePacket 19006 [22:17:43]StoreOFDPacket docnum=19006 [22:17:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 32 01 00 00 0F 65 2A 01 11 A3 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 34 31 38 34 06 04 2C 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9E D1 80 D0 B5 D1 85 D0 B8 20 42 45 45 52 4B 61 20 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 18 00 00 00 00 13 04 06 00 38 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 37 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 02 00 00 00 00 07 04 06 00 38 18 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 06 8C F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3E 4A 00 00 35 04 06 00 B2 9D 14 7C AA BE CD 9B F9 3C F0 6B 31 89 [22:17:43]CheckFolder [22:17:43]dirname=/storage/ofd_packets [22:17:43]CheckFolder done [22:17:43]ProducePacketName [22:17:43]name=ofd_packets/00019006 [22:17:43]NVStorageSaveData ofd_packets/00019006 [22:17:43]File name is /storage/ofd_packets/00019006 [22:17:43]Write 336 bytes [22:17:43]NVStorageSaveData done [22:17:43]OFDSenderStorePacket done [22:17:43]KKMCreateOFDPacket done [22:17:43]NVStorageSaveData kkm_last_timestamp [22:17:43]File name is /storage/kkm_last_timestamp [22:17:43]Write 4 bytes [22:17:43]NVStorageSaveData done [22:17:43]ExternCall_PrintAddStr [22:17:43]wPrintStart [22:17:43]Write to MH i2c: 01 00 00 E7 01 E8 [22:17:43]Write i2c OK [22:17:43]MH_I2C_Read... [22:17:43]Read from MH i2c: 01 [22:17:43]MH_I2C_Read... [22:17:43]Read from MH i2c: 01 07 00 [22:17:43]MH_I2C_Read... [22:17:43]Read from MH i2c: 01 07 00 E7 01 00 00 00 00 00 FF 0F FD [22:17:43]RasterBufferAndPrint [22:17:43]line Счет N : (3)16927 [22:17:43]line ИНН: 02508201610067 [22:17:43]line Контрольно-Кассовый Чек [22:17:43]line ПРОДАЖА [22:17:43]line Товар: 4607120854184 [22:17:43]line Снек Орехи BEERKa Арахис 90г [22:17:43]line 1.000 * 62.00 [22:17:43]line = 62.00 [22:17:43]line НДС 12% НСП 1% [22:17:43]line > о реализуемом товаре [22:17:43]line ИТОГО: 62.00 [22:17:43]line НСП 1% : 0.55 [22:17:43]line НДС 12% : 6.58 [22:17:43]line Наличными: 62.00 [22:17:43]line Безнал.: 0.00 [22:17:43]line Место: АЗС № 176 "Партнер Нефть" [22:17:43]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [22:17:43]line СНО: Общий режим [22:17:43]line Чек 84 25.09.2024 22:17 [22:17:43]line Смена: 183 ФФД: 1.0 [22:17:43]line ЗНМ: 0300000010 [22:17:43]line РНМ: 0000000000152968 [22:17:43]line Версия ККМ: v1.0 [22:17:43]line ФМ: 0000000000959456 [22:17:43]line ФД: 19006 [22:17:43]line ФПД: 196387723324094 [22:17:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T221742&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19006&fm=196387723324094&tin=02508201610067®Number=0000000000152968&sum=6200 [22:17:43]line 0 [22:17:43]OFD Sender: Processing packet 19006 [packets to send 7, broken 6] [22:17:43]ProducePacketName [22:17:43]name=ofd_packets/00019006 [22:17:43]OFD Sender: To server: pG, [22:17:43]CommunicateWithHost lk.salyk.kg:30040 [22:17:43]ConnectInit lk.salyk.kg [22:17:43]written 0, free lines is 4095 [22:17:43]Connected sock=10 [22:17:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 32 01 00 00 0F 65 2A 01 11 A3 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 34 31 38 34 06 04 2C 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9E D1 80 D0 B5 D1 85 D0 B8 20 42 45 45 52 4B 61 20 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 18 00 00 00 00 13 04 06 00 38 18 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 18 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 37 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 02 00 00 00 00 07 04 06 00 38 18 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 06 8C F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3E 4A 00 00 35 04 06 00 B2 9D 14 7C AA BE CD 9B F9 3C F0 6B 31 89 [22:17:43]Write to MH i2c: 01 00 00 10 02 12 [22:17:44]Write i2c OK [22:17:44]MH_I2C_Read... [22:17:44]Read from MH i2c: 01 [22:17:44]MH_I2C_Read... [22:17:44]Read from MH i2c: 01 07 00 [22:17:44]MH_I2C_Read... [22:17:44]Read from MH i2c: 01 07 00 10 02 00 00 00 00 00 01 0D 27 [22:17:44]RasterBufferAndPrint [22:17:44]line [22:17:44]line [22:17:44]line [22:17:44]line [22:17:44]line [22:17:44]written 0, free lines is 3338 [22:17:44]MH_Cut [22:17:44]Write to MH i2c: D1 01 00 17 02 01 EB [22:17:44]Write i2c OK [22:17:44]MH_I2C_Read... [22:17:44]Read from MH i2c: D1 [22:17:44]MH_I2C_Read... [22:17:44]Read from MH i2c: D1 01 00 [22:17:44]MH_I2C_Read... [22:17:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 2D 7F 47 00 5B 5A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3E 4A 00 00 F4 03 04 00 62 35 F4 66 B6 04 01 00 00 A5 08 19 C3 F9 E8 94 D9 [22:17:44]CommunicateWithHost err = 0 [22:17:44]CheckOFDResponse [22:17:44]1017 (14) - 77093643461234 [22:17:44]1041 (16) - 0000000000959456 [22:17:44]1040 (4) - 19006 [22:17:44]1012 (4) - 25.09.2024 16:08 [22:17:44]1206 (1) - 0 [22:17:44]OFD Sender: Remove packet 19006 [22:17:44]ProducePacketName [22:17:44]name=ofd_packets/00019006 [22:17:44]NVStorageDeleteData [22:17:44]Read from MH i2c: D1 01 00 17 02 00 EA [22:17:44]Write to MH i2c: 01 00 00 18 02 1A [22:17:44]Write i2c OK [22:17:44]MH_I2C_Read... [22:17:44]OFD Sender: No OFD packet to send [22:17:44]*** Cut start [22:17:44]*** Partial cut [22:17:44]*** CUTSNS_PIN = 1 [22:17:44]*** CUTSNS_PIN = 0 [22:17:44]*** Brake cut motor [22:17:45]Read from MH i2c: 01 [22:17:45]MH_I2C_Read... [22:17:45]*** Stop cut motor [22:17:45]*** Cut end [22:17:45]Read from MH i2c: 01 07 00 [22:17:45]MH_I2C_Read... [22:17:45]Read from MH i2c: 01 07 00 18 02 00 00 00 00 00 FF 0F 2F [22:17:45]process_action close_receipt done [22:17:45]requested_data is exist [22:17:45]produce_requested_data [22:17:45]requested_item fm.sn is exist - process it [22:17:45]wFMCommunicate request_size=4 [22:17:45]MH_SAM_APDU [22:17:45]CAPDU: 80 11 00 00 [22:17:45]Write to MH i2c: E2 08 00 19 02 80 11 00 00 00 00 00 00 95 [22:17:45]Write i2c OK [22:17:45]MH_I2C_Read... [22:17:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:17:45]Read from MH i2c: E2 [22:17:45]MH_I2C_Read... [22:17:45]Read from MH i2c: E2 17 00 [22:17:45]MH_I2C_Read... [22:17:45]Read from MH i2c: E2 17 00 19 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 EE [22:17:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [22:17:45]wFMCommunicate OK [22:17:45]requested_item fd.num is exist - process it [22:17:45]SAM_PROTO_GetFieldsCounters [22:17:45]wFMCommunicate request_size=4 [22:17:45]MH_SAM_APDU [22:17:45]CAPDU: 80 13 00 00 [22:17:45]Write to MH i2c: E2 08 00 1A 02 80 13 00 00 00 00 00 00 98 [22:17:45]Write i2c OK [22:17:45]MH_I2C_Read... [22:17:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:17:45]Read from MH i2c: E2 [22:17:45]MH_I2C_Read... [22:17:45]Read from MH i2c: E2 62 00 [22:17:45]MH_I2C_Read... [22:17:45]Read from MH i2c: E2 62 00 1A 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 3E 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 00 [22:17:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 3E 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:17:45]wFMCommunicate OK [22:17:45]SAM_PROTO_GetFieldsCounters done [22:17:45]requested_item shift.num is exist - process it [22:17:45]requested_item shift.opened is exist - process it [22:17:45]req_shift_opened [22:17:45]FM_GetShiftState [22:17:45]SAM_PROTO_GetShiftState [22:17:45]wFMCommunicate request_size=4 [22:17:45]MH_SAM_APDU [22:17:45]CAPDU: 80 13 01 00 [22:17:45]Write to MH i2c: E2 08 00 1B 02 80 13 01 00 00 00 00 00 9A [22:17:45]Write i2c OK [22:17:45]MH_I2C_Read... [22:17:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:17:45]Read from MH i2c: E2 [22:17:45]MH_I2C_Read... [22:17:45]Read from MH i2c: E2 0E 00 [22:17:45]MH_I2C_Read... [22:17:45]Read from MH i2c: E2 0E 00 1B 02 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 87 [22:17:45]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [22:17:45]wFMCommunicate OK [22:17:45]SAM_PROTO_GetShiftState done [22:17:45]FM_GetShiftState done [22:17:45]req_shift_opened done [22:17:45]requested_item shift.open_date is exist - process it [22:17:45]req_shift_open_date [22:17:45]req_shift_open_date done [22:17:45]produce_requested_data done [22:17:45]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19006,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [22:17:45]process_action_free close_receipt [22:17:45]json_value_free [22:17:45]json_value_free done [22:17:45]process_json_proto returns [22:17:45]Send response to host [22:17:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19006,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [22:17:45]free response buf [22:17:45]execute_script done [22:17:45]execute_script returns [22:17:45]free content buf [22:17:45]Sock 9.Close socket [22:17:45]Sock 9.Thread stoped [22:17:49]OFD Sender: No OFD packet to send [22:17:54]OFD Sender: No OFD packet to send [22:17:59]OFD Sender: No OFD packet to send [22:18:04]OFD Sender: No OFD packet to send [22:18:09]OFD Sender: No OFD packet to send [22:18:14]OFD Sender: No OFD packet to send [22:18:19]OFD Sender: No OFD packet to send [22:18:24]OFD Sender: No OFD packet to send [22:18:29]OFD Sender: No OFD packet to send [22:18:34]OFD Sender: No OFD packet to send [22:18:39]OFD Sender: No OFD packet to send [22:18:44]OFD Sender: No OFD packet to send [22:18:49]OFD Sender: No OFD packet to send [22:18:54]OFD Sender: No OFD packet to send [22:18:59]OFD Sender: No OFD packet to send [22:19:04]OFD Sender: No OFD packet to send [22:19:09]OFD Sender: No OFD packet to send [22:19:14]OFD Sender: No OFD packet to send [22:19:19]OFD Sender: No OFD packet to send [22:19:24]OFD Sender: No OFD packet to send [22:19:29]OFD Sender: No OFD packet to send [22:19:34]OFD Sender: No OFD packet to send [22:19:39]OFD Sender: No OFD packet to send [22:19:44]OFD Sender: No OFD packet to send [22:19:49]OFD Sender: No OFD packet to send [22:19:54]OFD Sender: No OFD packet to send [22:19:59]OFD Sender: No OFD packet to send [22:20:04]OFD Sender: No OFD packet to send [22:20:09]OFD Sender: No OFD packet to send [22:20:14]OFD Sender: No OFD packet to send [22:20:19]OFD Sender: No OFD packet to send [22:20:24]OFD Sender: No OFD packet to send [22:20:29]OFD Sender: No OFD packet to send [22:20:34]OFD Sender: No OFD packet to send [22:20:39]OFD Sender: No OFD packet to send [22:20:44]OFD Sender: No OFD packet to send [22:20:49]OFD Sender: No OFD packet to send [22:20:54]OFD Sender: No OFD packet to send [22:20:59]OFD Sender: No OFD packet to send [22:21:04]OFD Sender: No OFD packet to send [22:21:09]OFD Sender: No OFD packet to send [22:21:14]OFD Sender: No OFD packet to send [22:21:19]OFD Sender: No OFD packet to send [22:21:24]OFD Sender: No OFD packet to send [22:21:29]OFD Sender: No OFD packet to send [22:21:34]OFD Sender: No OFD packet to send [22:21:39]OFD Sender: No OFD packet to send [22:21:44]OFD Sender: No OFD packet to send [22:21:49]OFD Sender: No OFD packet to send [22:21:54]OFD Sender: No OFD packet to send [22:21:59]OFD Sender: No OFD packet to send [22:22:04]OFD Sender: No OFD packet to send [22:22:09]OFD Sender: No OFD packet to send [22:22:11]accept exits with 7 [22:22:11]New connection [22:22:11]New thread 3066551652 created [22:22:11]Thread 3066695012 joined [22:22:11]Waiting for new connection... [22:22:11] Sock 7.Parse request [22:22:11]Sock 7.Check first char [22:22:11]Sock 7.First char is OK [22:22:11]request: POST /json_proto HTTP/1.0 [22:22:11]Method: POST [22:22:11]URL: /json_proto [22:22:11]Method is POST - this is cgi request [22:22:11]url: /json_proto [22:22:11]query_string will be loaded in cgi processing [22:22:11]execute_cgi json_proto POST (null) [22:22:11]execute_cgi path=json_proto method=POST [22:22:11]POST find Content-Length [22:22:11]Host: 172.17.62.196:8080 [22:22:11]Content-Length: 645 [22:22:11]Content-Type: application/json [22:22:11] [22:22:11]POST finish read [22:22:11]Found Content-Length = 645 [22:22:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16928", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:22:11]execute_script... [22:22:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16928", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:22:11]POST & json_proto [22:22:11]process_json_proto [22:22:11]json parsed OK: [22:22:11]protocol is kg_v1.0 [22:22:11]action value=close_receipt [22:22:11]process_action close_receipt [22:22:11]cmd_close_receipt [22:22:11]MH_GetDate [22:22:11]Write to MH i2c: F0 00 00 1C 02 0D [22:22:11]Write i2c OK [22:22:11]MH_I2C_Read... [22:22:11]Read from MH i2c: F0 [22:22:11]MH_I2C_Read... [22:22:11]Read from MH i2c: F0 09 00 [22:22:11]MH_I2C_Read... [22:22:11]Read from MH i2c: F0 09 00 1C 02 00 14 8D F4 66 CE CC 0E 66 1F [22:22:11]GetLastDocTimeStamp 1727302662 [22:22:11]current date 1727302932 [22:22:11]FM_GetShiftState [22:22:11]SAM_PROTO_GetShiftState [22:22:11]wFMCommunicate request_size=4 [22:22:11]MH_SAM_APDU [22:22:11]CAPDU: 80 13 01 00 [22:22:11]Write to MH i2c: E2 08 00 1D 02 80 13 01 00 00 00 00 00 9C [22:22:11]Write i2c OK [22:22:11]MH_I2C_Read... [22:22:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:22:11]Read from MH i2c: E2 [22:22:11]MH_I2C_Read... [22:22:11]Read from MH i2c: E2 0E 00 [22:22:11]MH_I2C_Read... [22:22:11]Read from MH i2c: E2 0E 00 1D 02 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 89 [22:22:11]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [22:22:11]wFMCommunicate OK [22:22:11]SAM_PROTO_GetShiftState done [22:22:11]FM_GetShiftState done [22:22:11]opened in 1727223091 [22:22:11]opened+sec_in_day 1727309491 [22:22:11]quantity*price = 13000 [22:22:11]sum+1 = 13001 [22:22:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 85 25.09.2024 22:22 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19007 ФПД: 75663747807210 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T222212&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19007&fm=75663747807210&tin=02508201610067®Number=0000000000152968&sum=13000 0 [22:22:12]StoreToDocumentArchive [22:22:12]shift 183 fd 19007 [22:22:12]save to /storage/0183/doc_00019007 [22:22:12]save last doc name /storage/0183/doc_00019007 to /storage/kkm_last_doc_name [22:22:12]save OK [22:22:12]Clear old archive folders... [22:22:12]ProcessDocumentItem done err = 0, tmpTLVsize=282 [22:22:12]tlvbuf is 01D52A30 [22:22:12]SAM_PROTO_ClearQueue [22:22:12]wFMCommunicate request_size=4 [22:22:12]MH_SAM_APDU [22:22:12]CAPDU: 80 09 00 00 [22:22:12]Write to MH i2c: E2 08 00 2A 02 80 09 00 00 00 00 00 00 9E [22:22:12]Write i2c OK [22:22:12]MH_I2C_Read... [22:22:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:22:12]Read from MH i2c: E2 [22:22:12]MH_I2C_Read... [22:22:12]Read from MH i2c: E2 03 00 [22:22:12]MH_I2C_Read... [22:22:12]Read from MH i2c: E2 03 00 2A 02 00 90 00 A0 [22:22:12]RAPDU: 90 00 [22:22:12]wFMCommunicate OK [22:22:12]SAM_PROTO_ClearQueue done [22:22:12]KKMCreateOFDPacket [22:22:12]OFDProtocolAddRootSTLVToBuf [22:22:12]FM_MakeSignedData [22:22:12]FM_MakeSignedData [22:22:12]SAM_PROTO_SignData [22:22:12]wFMCommunicate request_size=4 [22:22:12]MH_SAM_APDU [22:22:12]CAPDU: 80 0D 01 02 [22:22:12]Write to MH i2c: E2 08 00 2B 02 80 0D 01 02 00 00 00 00 A6 [22:22:12]Write i2c OK [22:22:12]MH_I2C_Read... [22:22:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:22:12]Read from MH i2c: E2 [22:22:12]MH_I2C_Read... [22:22:12]Read from MH i2c: E2 03 00 [22:22:12]MH_I2C_Read... [22:22:12]Read from MH i2c: E2 03 00 2B 02 00 90 00 A1 [22:22:12]RAPDU: 90 00 [22:22:12]wFMCommunicate OK [22:22:12]wFMCommunicate request_size=255 [22:22:12]MH_SAM_APDU [22:22:12]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 14 8D F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 [22:22:12]Write to MH i2c: E2 02 01 2C 02 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 14 8D F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 00 00 C2 [22:22:12]Write i2c OK [22:22:12]MH_I2C_Read... [22:22:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:22:12]Read from MH i2c: E2 [22:22:12]MH_I2C_Read... [22:22:12]Read from MH i2c: E2 03 00 [22:22:12]MH_I2C_Read... [22:22:12]Read from MH i2c: E2 03 00 2C 02 00 90 00 A2 [22:22:12]RAPDU: 90 00 [22:22:12]wFMCommunicate OK [22:22:12]wFMCommunicate request_size=41 [22:22:12]MH_SAM_APDU [22:22:12]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3F 4A 00 00 35 04 06 00 44 D0 D6 CF 77 EA [22:22:12]Write to MH i2c: E2 2C 00 2D 02 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3F 4A 00 00 35 04 06 00 44 D0 D6 CF 77 EA 00 00 21 [22:22:12]Write i2c OK [22:22:12]MH_I2C_Read... [22:22:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:22:13]Read from MH i2c: E2 [22:22:13]MH_I2C_Read... [22:22:13]Read from MH i2c: E2 03 00 [22:22:13]MH_I2C_Read... [22:22:13]Read from MH i2c: E2 03 00 2D 02 00 90 00 A3 [22:22:13]RAPDU: 90 00 [22:22:13]wFMCommunicate OK [22:22:13]wFMCommunicate request_size=4 [22:22:13]MH_SAM_APDU [22:22:13]CAPDU: 80 0D 03 02 [22:22:13]Write to MH i2c: E2 08 00 2E 02 80 0D 03 02 00 00 00 00 AB [22:22:13]Write i2c OK [22:22:13]MH_I2C_Read... [22:22:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:22:13]Read from MH i2c: E2 [22:22:13]MH_I2C_Read... [22:22:13]Read from MH i2c: E2 0B 00 [22:22:13]MH_I2C_Read... [22:22:13]Read from MH i2c: E2 0B 00 2E 02 00 1C 23 4D 43 4E 31 A5 31 90 00 D0 [22:22:13]RAPDU: 1C 23 4D 43 4E 31 A5 31 90 00 [22:22:13]wFMCommunicate OK [22:22:13]SAM_PROTO_SignData done [22:22:13]FM_MakeSignedData done [22:22:13]CreateOFDProtocolMessage [22:22:13]wFMCommunicate request_size=4 [22:22:13]MH_SAM_APDU [22:22:13]CAPDU: 80 11 00 00 [22:22:13]Write to MH i2c: E2 08 00 2F 02 80 11 00 00 00 00 00 00 AB [22:22:13]Write i2c OK [22:22:13]MH_I2C_Read... [22:22:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:22:13]Read from MH i2c: E2 [22:22:13]MH_I2C_Read... [22:22:13]Read from MH i2c: E2 17 00 [22:22:13]MH_I2C_Read... [22:22:13]Read from MH i2c: E2 17 00 2F 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 04 [22:22:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [22:22:13]wFMCommunicate OK [22:22:13]CreateOFDProtocolMessage done [22:22:13]OFDSenderStorePacket 19007 [22:22:13]StoreOFDPacket docnum=19007 [22:22:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 D2 52 26 01 0C 44 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 14 8D F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3F 4A 00 00 35 04 06 00 44 D0 D6 CF 77 EA 1C 23 4D 43 4E 31 A5 31 [22:22:13]CheckFolder [22:22:13]dirname=/storage/ofd_packets [22:22:13]CheckFolder done [22:22:13]ProducePacketName [22:22:13]name=ofd_packets/00019007 [22:22:13]NVStorageSaveData ofd_packets/00019007 [22:22:13]File name is /storage/ofd_packets/00019007 [22:22:13]Write 332 bytes [22:22:13]NVStorageSaveData done [22:22:13]OFDSenderStorePacket done [22:22:13]KKMCreateOFDPacket done [22:22:13]NVStorageSaveData kkm_last_timestamp [22:22:13]File name is /storage/kkm_last_timestamp [22:22:13]Write 4 bytes [22:22:13]NVStorageSaveData done [22:22:13]ExternCall_PrintAddStr [22:22:13]wPrintStart [22:22:13]Write to MH i2c: 01 00 00 30 02 32 [22:22:13]Write i2c OK [22:22:13]MH_I2C_Read... [22:22:13]Read from MH i2c: 01 [22:22:13]MH_I2C_Read... [22:22:13]Read from MH i2c: 01 07 00 [22:22:13]MH_I2C_Read... [22:22:13]Read from MH i2c: 01 07 00 30 02 00 00 00 00 00 FF 0F 47 [22:22:13]RasterBufferAndPrint [22:22:13]line Счет N : (3)16928 [22:22:13]line ИНН: 02508201610067 [22:22:13]line Контрольно-Кассовый Чек [22:22:13]line ПРОДАЖА [22:22:13]line Товар: 2000036220012 [22:22:13]line Кофе Капучино XL(GABB TRADE) [22:22:13]line 1.000 * 130.00 [22:22:13]line = 130.00 [22:22:13]line НДС 12% НСП 1% [22:22:13]line > о реализуемом товаре [22:22:13]line ИТОГО: 130.00 [22:22:13]line НСП 1% : 1.15 [22:22:13]line НДС 12% : 13.80 [22:22:13]line Наличными: 130.00 [22:22:13]line Безнал.: 0.00 [22:22:13]line Место: АЗС № 176 "Партнер Нефть" [22:22:13]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [22:22:13]line СНО: Общий режим [22:22:13]line Чек 85 25.09.2024 22:22 [22:22:13]line Смена: 183 ФФД: 1.0 [22:22:13]line ЗНМ: 0300000010 [22:22:13]line РНМ: 0000000000152968 [22:22:13]line Версия ККМ: v1.0 [22:22:13]line ФМ: 0000000000959456 [22:22:13]line ФД: 19007 [22:22:13]line ФПД: 75663747807210 [22:22:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T222212&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19007&fm=75663747807210&tin=02508201610067®Number=0000000000152968&sum=13000 [22:22:13]line 0 [22:22:13]OFD Sender: Processing packet 19007 [packets to send 7, broken 6] [22:22:13]ProducePacketName [22:22:13]name=ofd_packets/00019007 [22:22:13]OFD Sender: To server: pG, [22:22:13]CommunicateWithHost lk.salyk.kg:30040 [22:22:13]ConnectInit lk.salyk.kg [22:22:13]written 0, free lines is 4095 [22:22:13]Connected sock=10 [22:22:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 2E 01 00 00 D2 52 26 01 0C 44 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 14 8D F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3F 4A 00 00 35 04 06 00 44 D0 D6 CF 77 EA 1C 23 4D 43 4E 31 A5 31 [22:22:13]Write to MH i2c: 01 00 00 59 02 5B [22:22:13]Write i2c OK [22:22:13]MH_I2C_Read... [22:22:13]Read from MH i2c: 01 [22:22:13]MH_I2C_Read... [22:22:13]Read from MH i2c: 01 07 00 [22:22:13]MH_I2C_Read... [22:22:13]Read from MH i2c: 01 07 00 59 02 00 00 00 00 00 0B 0D 7A [22:22:13]RasterBufferAndPrint [22:22:13]line [22:22:13]line [22:22:13]line [22:22:13]line [22:22:13]line [22:22:13]written 0, free lines is 3345 [22:22:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 62 DD 47 00 D0 4C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 3F 4A 00 00 F4 03 04 00 70 36 F4 66 B6 04 01 00 00 36 50 FC 6F F5 4F CE 05 [22:22:13]CommunicateWithHost err = 0 [22:22:13]CheckOFDResponse [22:22:13]1017 (14) - 77093643461234 [22:22:13]1041 (16) - 0000000000959456 [22:22:13]1040 (4) - 19007 [22:22:13]1012 (4) - 25.09.2024 16:12 [22:22:13]1206 (1) - 0 [22:22:13]OFD Sender: Remove packet 19007 [22:22:13]ProducePacketName [22:22:13]name=ofd_packets/00019007 [22:22:13]NVStorageDeleteData [22:22:13]MH_Cut [22:22:13]Write to MH i2c: D1 01 00 60 02 01 34 [22:22:13]Write i2c OK [22:22:13]MH_I2C_Read... [22:22:13]Read from MH i2c: D1 [22:22:13]MH_I2C_Read... [22:22:13]Read from MH i2c: D1 01 00 [22:22:13]MH_I2C_Read... [22:22:13]Read from MH i2c: D1 01 00 60 02 00 33 [22:22:13]Write to MH i2c: 01 00 00 61 02 63 [22:22:13]Write i2c OK [22:22:13]MH_I2C_Read... [22:22:14]OFD Sender: No OFD packet to send [22:22:14]*** Cut start [22:22:14]*** Partial cut [22:22:14]*** CUTSNS_PIN = 1 [22:22:14]*** CUTSNS_PIN = 0 [22:22:14]*** Brake cut motor [22:22:15]Read from MH i2c: 01 [22:22:15]MH_I2C_Read... [22:22:15]*** Stop cut motor [22:22:15]*** Cut end [22:22:15]Read from MH i2c: 01 07 00 [22:22:15]MH_I2C_Read... [22:22:15]Read from MH i2c: 01 07 00 61 02 00 00 00 00 00 FF 0F 78 [22:22:15]process_action close_receipt done [22:22:15]requested_data is exist [22:22:15]produce_requested_data [22:22:15]requested_item fm.sn is exist - process it [22:22:15]wFMCommunicate request_size=4 [22:22:15]MH_SAM_APDU [22:22:15]CAPDU: 80 11 00 00 [22:22:15]Write to MH i2c: E2 08 00 62 02 80 11 00 00 00 00 00 00 DE [22:22:15]Write i2c OK [22:22:15]MH_I2C_Read... [22:22:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:22:15]Read from MH i2c: E2 [22:22:15]MH_I2C_Read... [22:22:15]Read from MH i2c: E2 17 00 [22:22:15]MH_I2C_Read... [22:22:15]Read from MH i2c: E2 17 00 62 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 37 [22:22:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [22:22:15]wFMCommunicate OK [22:22:15]requested_item fd.num is exist - process it [22:22:15]SAM_PROTO_GetFieldsCounters [22:22:15]wFMCommunicate request_size=4 [22:22:15]MH_SAM_APDU [22:22:15]CAPDU: 80 13 00 00 [22:22:15]Write to MH i2c: E2 08 00 63 02 80 13 00 00 00 00 00 00 E1 [22:22:15]Write i2c OK [22:22:15]MH_I2C_Read... [22:22:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:22:15]Read from MH i2c: E2 [22:22:15]MH_I2C_Read... [22:22:15]Read from MH i2c: E2 62 00 [22:22:15]MH_I2C_Read... [22:22:15]Read from MH i2c: E2 62 00 63 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 3F 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 55 00 00 00 5E 04 04 00 55 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 4D [22:22:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 3F 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 55 00 00 00 5E 04 04 00 55 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:22:15]wFMCommunicate OK [22:22:15]SAM_PROTO_GetFieldsCounters done [22:22:15]requested_item shift.num is exist - process it [22:22:15]requested_item shift.opened is exist - process it [22:22:15]req_shift_opened [22:22:15]FM_GetShiftState [22:22:15]SAM_PROTO_GetShiftState [22:22:15]wFMCommunicate request_size=4 [22:22:15]MH_SAM_APDU [22:22:15]CAPDU: 80 13 01 00 [22:22:15]Write to MH i2c: E2 08 00 64 02 80 13 01 00 00 00 00 00 E3 [22:22:15]Write i2c OK [22:22:15]MH_I2C_Read... [22:22:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:22:15]Read from MH i2c: E2 [22:22:15]MH_I2C_Read... [22:22:15]Read from MH i2c: E2 0E 00 [22:22:15]MH_I2C_Read... [22:22:15]Read from MH i2c: E2 0E 00 64 02 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 D0 [22:22:15]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [22:22:15]wFMCommunicate OK [22:22:15]SAM_PROTO_GetShiftState done [22:22:15]FM_GetShiftState done [22:22:15]req_shift_opened done [22:22:15]requested_item shift.open_date is exist - process it [22:22:15]req_shift_open_date [22:22:15]req_shift_open_date done [22:22:15]produce_requested_data done [22:22:15]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19007,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [22:22:15]process_action_free close_receipt [22:22:15]json_value_free [22:22:15]json_value_free done [22:22:15]process_json_proto returns [22:22:15]Send response to host [22:22:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19007,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [22:22:15]free response buf [22:22:15]execute_script done [22:22:15]execute_script returns [22:22:15]free content buf [22:22:15]Sock 7.Close socket [22:22:15]Sock 7.Thread stoped [22:22:19]OFD Sender: No OFD packet to send [22:22:24]OFD Sender: No OFD packet to send [22:22:29]OFD Sender: No OFD packet to send [22:22:34]OFD Sender: No OFD packet to send [22:22:39]OFD Sender: No OFD packet to send [22:22:44]OFD Sender: No OFD packet to send [22:22:49]OFD Sender: No OFD packet to send [22:22:54]OFD Sender: No OFD packet to send [22:22:59]OFD Sender: No OFD packet to send [22:23:04]OFD Sender: No OFD packet to send [22:23:09]OFD Sender: No OFD packet to send [22:23:14]OFD Sender: No OFD packet to send [22:23:19]OFD Sender: No OFD packet to send [22:23:24]OFD Sender: No OFD packet to send [22:23:29]OFD Sender: No OFD packet to send [22:23:34]OFD Sender: No OFD packet to send [22:23:39]OFD Sender: No OFD packet to send [22:23:44]OFD Sender: No OFD packet to send [22:23:49]OFD Sender: No OFD packet to send [22:23:54]OFD Sender: No OFD packet to send [22:23:59]OFD Sender: No OFD packet to send [22:24:04]OFD Sender: No OFD packet to send [22:24:09]OFD Sender: No OFD packet to send [22:24:14]OFD Sender: No OFD packet to send [22:24:19]OFD Sender: No OFD packet to send [22:24:24]OFD Sender: No OFD packet to send [22:24:29]OFD Sender: No OFD packet to send [22:24:34]OFD Sender: No OFD packet to send [22:24:39]OFD Sender: No OFD packet to send [22:24:44]OFD Sender: No OFD packet to send [22:24:49]OFD Sender: No OFD packet to send [22:24:54]OFD Sender: No OFD packet to send [22:24:59]OFD Sender: No OFD packet to send [22:25:04]OFD Sender: No OFD packet to send [22:25:09]OFD Sender: No OFD packet to send [22:25:14]OFD Sender: No OFD packet to send [22:25:19]OFD Sender: No OFD packet to send [22:25:24]OFD Sender: No OFD packet to send [22:25:29]OFD Sender: No OFD packet to send [22:25:34]OFD Sender: No OFD packet to send [22:25:39]OFD Sender: No OFD packet to send [22:25:44]OFD Sender: No OFD packet to send [22:25:49]OFD Sender: No OFD packet to send [22:25:54]OFD Sender: No OFD packet to send [22:25:59]OFD Sender: No OFD packet to send [22:26:04]OFD Sender: No OFD packet to send [22:26:09]OFD Sender: No OFD packet to send [22:26:14]OFD Sender: No OFD packet to send [22:26:19]OFD Sender: No OFD packet to send [22:26:24]OFD Sender: No OFD packet to send [22:26:29]OFD Sender: No OFD packet to send [22:26:34]OFD Sender: No OFD packet to send [22:26:39]OFD Sender: No OFD packet to send [22:26:44]OFD Sender: No OFD packet to send [22:26:49]OFD Sender: No OFD packet to send [22:26:54]OFD Sender: No OFD packet to send [22:26:59]OFD Sender: No OFD packet to send [22:27:04]OFD Sender: No OFD packet to send [22:27:09]OFD Sender: No OFD packet to send [22:27:14]OFD Sender: No OFD packet to send [22:27:19]OFD Sender: No OFD packet to send [22:27:24]OFD Sender: No OFD packet to send [22:27:29]OFD Sender: No OFD packet to send [22:27:34]OFD Sender: No OFD packet to send [22:27:39]OFD Sender: No OFD packet to send [22:27:44]OFD Sender: No OFD packet to send [22:27:49]OFD Sender: No OFD packet to send [22:27:54]OFD Sender: No OFD packet to send [22:27:59]OFD Sender: No OFD packet to send [22:28:04]OFD Sender: No OFD packet to send [22:28:09]OFD Sender: No OFD packet to send [22:28:14]OFD Sender: No OFD packet to send [22:28:19]OFD Sender: No OFD packet to send [22:28:24]OFD Sender: No OFD packet to send [22:28:29]OFD Sender: No OFD packet to send [22:28:34]OFD Sender: No OFD packet to send [22:28:39]OFD Sender: No OFD packet to send [22:28:44]OFD Sender: No OFD packet to send [22:28:49]OFD Sender: No OFD packet to send [22:28:54]OFD Sender: No OFD packet to send [22:28:59]OFD Sender: No OFD packet to send [22:29:04]OFD Sender: No OFD packet to send [22:29:09]OFD Sender: No OFD packet to send [22:29:14]OFD Sender: No OFD packet to send [22:29:19]OFD Sender: No OFD packet to send [22:29:24]OFD Sender: No OFD packet to send [22:29:29]OFD Sender: No OFD packet to send [22:29:34]OFD Sender: No OFD packet to send [22:29:39]OFD Sender: No OFD packet to send [22:29:44]OFD Sender: No OFD packet to send [22:29:49]OFD Sender: No OFD packet to send [22:29:54]OFD Sender: No OFD packet to send [22:29:59]OFD Sender: No OFD packet to send [22:30:04]OFD Sender: No OFD packet to send [22:30:09]OFD Sender: No OFD packet to send [22:30:14]OFD Sender: No OFD packet to send [22:30:19]OFD Sender: No OFD packet to send [22:30:24]OFD Sender: No OFD packet to send [22:30:29]OFD Sender: No OFD packet to send [22:30:34]OFD Sender: No OFD packet to send [22:30:39]OFD Sender: No OFD packet to send [22:30:44]OFD Sender: No OFD packet to send [22:30:49]OFD Sender: No OFD packet to send [22:30:54]OFD Sender: No OFD packet to send [22:30:59]OFD Sender: No OFD packet to send [22:31:04]OFD Sender: No OFD packet to send [22:31:09]OFD Sender: No OFD packet to send [22:31:14]OFD Sender: No OFD packet to send [22:31:19]OFD Sender: No OFD packet to send [22:31:24]OFD Sender: No OFD packet to send [22:31:29]OFD Sender: No OFD packet to send [22:31:34]OFD Sender: No OFD packet to send [22:31:39]OFD Sender: No OFD packet to send [22:31:44]OFD Sender: No OFD packet to send [22:31:49]OFD Sender: No OFD packet to send [22:31:54]OFD Sender: No OFD packet to send [22:31:59]OFD Sender: No OFD packet to send [22:32:04]OFD Sender: No OFD packet to send [22:32:09]OFD Sender: No OFD packet to send [22:32:14]OFD Sender: No OFD packet to send [22:32:19]OFD Sender: No OFD packet to send [22:32:24]OFD Sender: No OFD packet to send [22:32:29]OFD Sender: No OFD packet to send [22:32:34]OFD Sender: No OFD packet to send [22:32:39]OFD Sender: No OFD packet to send [22:32:44]OFD Sender: No OFD packet to send [22:32:49]OFD Sender: No OFD packet to send [22:32:54]OFD Sender: No OFD packet to send [22:32:59]OFD Sender: No OFD packet to send [22:33:04]OFD Sender: No OFD packet to send [22:33:09]OFD Sender: No OFD packet to send [22:33:14]OFD Sender: No OFD packet to send [22:33:19]OFD Sender: No OFD packet to send [22:33:24]OFD Sender: No OFD packet to send [22:33:29]OFD Sender: No OFD packet to send [22:33:34]OFD Sender: No OFD packet to send [22:33:39]OFD Sender: No OFD packet to send [22:33:44]OFD Sender: No OFD packet to send [22:33:49]OFD Sender: No OFD packet to send [22:33:54]OFD Sender: No OFD packet to send [22:33:59]OFD Sender: No OFD packet to send [22:34:04]OFD Sender: No OFD packet to send [22:34:10]OFD Sender: No OFD packet to send [22:34:15]OFD Sender: No OFD packet to send [22:34:20]OFD Sender: No OFD packet to send [22:34:25]OFD Sender: No OFD packet to send [22:34:30]OFD Sender: No OFD packet to send [22:34:35]OFD Sender: No OFD packet to send [22:34:40]OFD Sender: No OFD packet to send [22:34:45]OFD Sender: No OFD packet to send [22:34:50]OFD Sender: No OFD packet to send [22:34:55]OFD Sender: No OFD packet to send [22:35:00]OFD Sender: No OFD packet to send [22:35:05]OFD Sender: No OFD packet to send [22:35:10]OFD Sender: No OFD packet to send [22:35:15]OFD Sender: No OFD packet to send [22:35:20]OFD Sender: No OFD packet to send [22:35:25]OFD Sender: No OFD packet to send [22:35:30]OFD Sender: No OFD packet to send [22:35:35]OFD Sender: No OFD packet to send [22:35:40]OFD Sender: No OFD packet to send [22:35:45]OFD Sender: No OFD packet to send [22:35:50]OFD Sender: No OFD packet to send [22:35:55]OFD Sender: No OFD packet to send [22:36:00]OFD Sender: No OFD packet to send [22:36:05]OFD Sender: No OFD packet to send [22:36:10]OFD Sender: No OFD packet to send [22:36:15]OFD Sender: No OFD packet to send [22:36:20]OFD Sender: No OFD packet to send [22:36:25]OFD Sender: No OFD packet to send [22:36:30]OFD Sender: No OFD packet to send [22:36:35]OFD Sender: No OFD packet to send [22:36:40]OFD Sender: No OFD packet to send [22:36:45]OFD Sender: No OFD packet to send [22:36:50]OFD Sender: No OFD packet to send [22:36:55]OFD Sender: No OFD packet to send [22:37:00]OFD Sender: No OFD packet to send [22:37:05]OFD Sender: No OFD packet to send [22:37:10]OFD Sender: No OFD packet to send [22:37:15]OFD Sender: No OFD packet to send [22:37:20]OFD Sender: No OFD packet to send [22:37:25]OFD Sender: No OFD packet to send [22:37:30]OFD Sender: No OFD packet to send [22:37:35]OFD Sender: No OFD packet to send [22:37:40]OFD Sender: No OFD packet to send [22:37:45]OFD Sender: No OFD packet to send [22:37:50]OFD Sender: No OFD packet to send [22:37:55]OFD Sender: No OFD packet to send [22:38:00]OFD Sender: No OFD packet to send [22:38:05]OFD Sender: No OFD packet to send [22:38:10]OFD Sender: No OFD packet to send [22:38:15]OFD Sender: No OFD packet to send [22:38:20]OFD Sender: No OFD packet to send [22:38:25]OFD Sender: No OFD packet to send [22:38:30]OFD Sender: No OFD packet to send [22:38:35]OFD Sender: No OFD packet to send [22:38:40]OFD Sender: No OFD packet to send [22:38:45]OFD Sender: No OFD packet to send [22:38:50]OFD Sender: No OFD packet to send [22:38:55]OFD Sender: No OFD packet to send [22:39:00]OFD Sender: No OFD packet to send [22:39:05]OFD Sender: No OFD packet to send [22:39:10]OFD Sender: No OFD packet to send [22:39:15]OFD Sender: No OFD packet to send [22:39:20]OFD Sender: No OFD packet to send [22:39:25]OFD Sender: No OFD packet to send [22:39:30]OFD Sender: No OFD packet to send [22:39:35]OFD Sender: No OFD packet to send [22:39:40]OFD Sender: No OFD packet to send [22:39:45]OFD Sender: No OFD packet to send [22:39:50]OFD Sender: No OFD packet to send [22:39:55]OFD Sender: No OFD packet to send [22:40:00]OFD Sender: No OFD packet to send [22:40:05]OFD Sender: No OFD packet to send [22:40:10]OFD Sender: No OFD packet to send [22:40:15]OFD Sender: No OFD packet to send [22:40:20]OFD Sender: No OFD packet to send [22:40:25]OFD Sender: No OFD packet to send [22:40:30]OFD Sender: No OFD packet to send [22:40:35]OFD Sender: No OFD packet to send [22:40:40]OFD Sender: No OFD packet to send [22:40:45]OFD Sender: No OFD packet to send [22:40:50]OFD Sender: No OFD packet to send [22:40:55]OFD Sender: No OFD packet to send [22:41:00]OFD Sender: No OFD packet to send [22:41:05]OFD Sender: No OFD packet to send [22:41:10]OFD Sender: No OFD packet to send [22:41:15]OFD Sender: No OFD packet to send [22:41:20]OFD Sender: No OFD packet to send [22:41:25]OFD Sender: No OFD packet to send [22:41:30]OFD Sender: No OFD packet to send [22:41:35]OFD Sender: No OFD packet to send [22:41:40]OFD Sender: No OFD packet to send [22:41:45]OFD Sender: No OFD packet to send [22:41:50]OFD Sender: No OFD packet to send [22:41:55]OFD Sender: No OFD packet to send [22:42:00]OFD Sender: No OFD packet to send [22:42:05]OFD Sender: No OFD packet to send [22:42:10]OFD Sender: No OFD packet to send [22:42:15]OFD Sender: No OFD packet to send [22:42:20]OFD Sender: No OFD packet to send [22:42:25]OFD Sender: No OFD packet to send [22:42:30]OFD Sender: No OFD packet to send [22:42:35]OFD Sender: No OFD packet to send [22:42:40]OFD Sender: No OFD packet to send [22:42:45]OFD Sender: No OFD packet to send [22:42:50]OFD Sender: No OFD packet to send [22:42:55]OFD Sender: No OFD packet to send [22:43:00]OFD Sender: No OFD packet to send [22:43:05]OFD Sender: No OFD packet to send [22:43:10]OFD Sender: No OFD packet to send [22:43:15]OFD Sender: No OFD packet to send [22:43:20]OFD Sender: No OFD packet to send [22:43:25]OFD Sender: No OFD packet to send [22:43:30]OFD Sender: No OFD packet to send [22:43:35]OFD Sender: No OFD packet to send [22:43:40]OFD Sender: No OFD packet to send [22:43:45]OFD Sender: No OFD packet to send [22:43:50]OFD Sender: No OFD packet to send [22:43:55]OFD Sender: No OFD packet to send [22:44:00]OFD Sender: No OFD packet to send [22:44:05]OFD Sender: No OFD packet to send [22:44:10]OFD Sender: No OFD packet to send [22:44:15]OFD Sender: No OFD packet to send [22:44:20]OFD Sender: No OFD packet to send [22:44:25]OFD Sender: No OFD packet to send [22:44:30]OFD Sender: No OFD packet to send [22:44:35]OFD Sender: No OFD packet to send [22:44:40]OFD Sender: No OFD packet to send [22:44:45]OFD Sender: No OFD packet to send [22:44:50]OFD Sender: No OFD packet to send [22:44:55]OFD Sender: No OFD packet to send [22:45:00]OFD Sender: No OFD packet to send [22:45:05]OFD Sender: No OFD packet to send [22:45:10]OFD Sender: No OFD packet to send [22:45:15]OFD Sender: No OFD packet to send [22:45:20]OFD Sender: No OFD packet to send [22:45:25]OFD Sender: No OFD packet to send [22:45:30]OFD Sender: No OFD packet to send [22:45:35]OFD Sender: No OFD packet to send [22:45:40]OFD Sender: No OFD packet to send [22:45:45]OFD Sender: No OFD packet to send [22:45:50]OFD Sender: No OFD packet to send [22:45:55]OFD Sender: No OFD packet to send [22:46:00]OFD Sender: No OFD packet to send [22:46:05]OFD Sender: No OFD packet to send [22:46:10]OFD Sender: No OFD packet to send [22:46:15]OFD Sender: No OFD packet to send [22:46:20]OFD Sender: No OFD packet to send [22:46:25]OFD Sender: No OFD packet to send [22:46:30]OFD Sender: No OFD packet to send [22:46:35]OFD Sender: No OFD packet to send [22:46:40]OFD Sender: No OFD packet to send [22:46:45]OFD Sender: No OFD packet to send [22:46:50]OFD Sender: No OFD packet to send [22:46:55]OFD Sender: No OFD packet to send [22:47:00]OFD Sender: No OFD packet to send [22:47:05]OFD Sender: No OFD packet to send [22:47:10]OFD Sender: No OFD packet to send [22:47:15]OFD Sender: No OFD packet to send [22:47:20]OFD Sender: No OFD packet to send [22:47:25]OFD Sender: No OFD packet to send [22:47:30]OFD Sender: No OFD packet to send [22:47:35]OFD Sender: No OFD packet to send [22:47:40]OFD Sender: No OFD packet to send [22:47:45]OFD Sender: No OFD packet to send [22:47:50]OFD Sender: No OFD packet to send [22:47:55]OFD Sender: No OFD packet to send [22:48:00]OFD Sender: No OFD packet to send [22:48:05]OFD Sender: No OFD packet to send [22:48:10]OFD Sender: No OFD packet to send [22:48:15]OFD Sender: No OFD packet to send [22:48:20]OFD Sender: No OFD packet to send [22:48:25]OFD Sender: No OFD packet to send [22:48:30]OFD Sender: No OFD packet to send [22:48:35]OFD Sender: No OFD packet to send [22:48:40]OFD Sender: No OFD packet to send [22:48:45]OFD Sender: No OFD packet to send [22:48:50]OFD Sender: No OFD packet to send [22:48:55]OFD Sender: No OFD packet to send [22:49:00]OFD Sender: No OFD packet to send [22:49:05]OFD Sender: No OFD packet to send [22:49:10]OFD Sender: No OFD packet to send [22:49:15]OFD Sender: No OFD packet to send [22:49:20]OFD Sender: No OFD packet to send [22:49:25]OFD Sender: No OFD packet to send [22:49:30]OFD Sender: No OFD packet to send [22:49:35]OFD Sender: No OFD packet to send [22:49:40]OFD Sender: No OFD packet to send [22:49:45]OFD Sender: No OFD packet to send [22:49:50]OFD Sender: No OFD packet to send [22:49:55]OFD Sender: No OFD packet to send [22:50:00]OFD Sender: No OFD packet to send [22:50:05]OFD Sender: No OFD packet to send [22:50:10]OFD Sender: No OFD packet to send [22:50:15]OFD Sender: No OFD packet to send [22:50:20]OFD Sender: No OFD packet to send [22:50:25]OFD Sender: No OFD packet to send [22:50:30]OFD Sender: No OFD packet to send [22:50:35]OFD Sender: No OFD packet to send [22:50:40]OFD Sender: No OFD packet to send [22:50:45]OFD Sender: No OFD packet to send [22:50:50]OFD Sender: No OFD packet to send [22:50:55]OFD Sender: No OFD packet to send [22:51:00]OFD Sender: No OFD packet to send [22:51:05]OFD Sender: No OFD packet to send [22:51:10]OFD Sender: No OFD packet to send [22:51:15]OFD Sender: No OFD packet to send [22:51:20]OFD Sender: No OFD packet to send [22:51:25]OFD Sender: No OFD packet to send [22:51:30]OFD Sender: No OFD packet to send [22:51:35]OFD Sender: No OFD packet to send [22:51:40]OFD Sender: No OFD packet to send [22:51:45]OFD Sender: No OFD packet to send [22:51:50]OFD Sender: No OFD packet to send [22:51:55]OFD Sender: No OFD packet to send [22:52:00]OFD Sender: No OFD packet to send [22:52:05]OFD Sender: No OFD packet to send [22:52:10]OFD Sender: No OFD packet to send [22:52:15]OFD Sender: No OFD packet to send [22:52:20]OFD Sender: No OFD packet to send [22:52:25]OFD Sender: No OFD packet to send [22:52:30]OFD Sender: No OFD packet to send [22:52:35]OFD Sender: No OFD packet to send [22:52:40]OFD Sender: No OFD packet to send [22:52:45]OFD Sender: No OFD packet to send [22:52:50]OFD Sender: No OFD packet to send [22:52:55]OFD Sender: No OFD packet to send [22:53:00]OFD Sender: No OFD packet to send [22:53:05]OFD Sender: No OFD packet to send [22:53:10]OFD Sender: No OFD packet to send [22:53:15]OFD Sender: No OFD packet to send [22:53:20]OFD Sender: No OFD packet to send [22:53:25]OFD Sender: No OFD packet to send [22:53:30]OFD Sender: No OFD packet to send [22:53:35]OFD Sender: No OFD packet to send [22:53:40]OFD Sender: No OFD packet to send [22:53:45]OFD Sender: No OFD packet to send [22:53:50]OFD Sender: No OFD packet to send [22:53:55]OFD Sender: No OFD packet to send [22:54:00]OFD Sender: No OFD packet to send [22:54:05]OFD Sender: No OFD packet to send [22:54:10]OFD Sender: No OFD packet to send [22:54:15]OFD Sender: No OFD packet to send [22:54:20]OFD Sender: No OFD packet to send [22:54:25]OFD Sender: No OFD packet to send [22:54:30]OFD Sender: No OFD packet to send [22:54:35]OFD Sender: No OFD packet to send [22:54:40]OFD Sender: No OFD packet to send [22:54:45]OFD Sender: No OFD packet to send [22:54:50]OFD Sender: No OFD packet to send [22:54:55]OFD Sender: No OFD packet to send [22:55:00]OFD Sender: No OFD packet to send [22:55:05]OFD Sender: No OFD packet to send [22:55:06]accept exits with 9 [22:55:06]New connection [22:55:06]New thread 3066695012 created [22:55:06]Thread 3066551652 joined [22:55:06]Waiting for new connection... [22:55:06] Sock 9.Parse request [22:55:06]Sock 9.Check first char [22:55:06]Sock 9.First char is OK [22:55:06]request: POST /json_proto HTTP/1.0 [22:55:06]Method: POST [22:55:06]URL: /json_proto [22:55:06]Method is POST - this is cgi request [22:55:06]url: /json_proto [22:55:06]query_string will be loaded in cgi processing [22:55:06]execute_cgi json_proto POST (null) [22:55:06]execute_cgi path=json_proto method=POST [22:55:06]POST find Content-Length [22:55:06]Host: 172.17.62.196:8080 [22:55:06]Content-Length: 814 [22:55:06]Content-Type: application/json [22:55:06] [22:55:06]POST finish read [22:55:06]Found Content-Length = 814 [22:55:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16929", "tax_sys" : 0, "items" : [ { "code": "42203100", "name": "\u0416\u0435\u0432 Orbit \u0431\u0430\u043D\u0430\u043D-\u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:55:06]execute_script... [22:55:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16929", "tax_sys" : 0, "items" : [ { "code": "42203100", "name": "\u0416\u0435\u0432 Orbit \u0431\u0430\u043D\u0430\u043D-\u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:55:06]POST & json_proto [22:55:06]process_json_proto [22:55:06]json parsed OK: [22:55:06]protocol is kg_v1.0 [22:55:06]action value=close_receipt [22:55:06]process_action close_receipt [22:55:06]cmd_close_receipt [22:55:06]MH_GetDate [22:55:06]Write to MH i2c: F0 00 00 65 02 56 [22:55:06]Write i2c OK [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: F0 [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: F0 09 00 [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: F0 09 00 65 02 00 CB 94 F4 66 CE CC 0E 66 26 [22:55:06]GetLastDocTimeStamp 1727302932 [22:55:06]current date 1727304907 [22:55:06]FM_GetShiftState [22:55:06]SAM_PROTO_GetShiftState [22:55:06]wFMCommunicate request_size=4 [22:55:06]MH_SAM_APDU [22:55:06]CAPDU: 80 13 01 00 [22:55:06]Write to MH i2c: E2 08 00 66 02 80 13 01 00 00 00 00 00 E5 [22:55:06]Write i2c OK [22:55:06]MH_I2C_Read... [22:55:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:55:06]Read from MH i2c: E2 [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: E2 0E 00 [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: E2 0E 00 66 02 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 D2 [22:55:06]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [22:55:06]wFMCommunicate OK [22:55:06]SAM_PROTO_GetShiftState done [22:55:06]FM_GetShiftState done [22:55:06]opened in 1727223091 [22:55:06]opened+sec_in_day 1727309491 [22:55:06]quantity*price = 4500 [22:55:06]sum+1 = 4501 [22:55:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 0.00 Безнал.: 45.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 86 25.09.2024 22:55 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 19008 ФПД: 89853311732029 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T225507&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19008&fm=89853311732029&tin=02508201610067®Number=0000000000152968&sum=4500 0 [22:55:07]StoreToDocumentArchive [22:55:07]shift 183 fd 19008 [22:55:07]save to /storage/0183/doc_00019008 [22:55:07]save last doc name /storage/0183/doc_00019008 to /storage/kkm_last_doc_name [22:55:07]save OK [22:55:07]Clear old archive folders... [22:55:07]ProcessDocumentItem done err = 0, tmpTLVsize=277 [22:55:07]tlvbuf is 01D57540 [22:55:07]SAM_PROTO_ClearQueue [22:55:07]wFMCommunicate request_size=4 [22:55:07]MH_SAM_APDU [22:55:07]CAPDU: 80 09 00 00 [22:55:07]Write to MH i2c: E2 08 00 73 02 80 09 00 00 00 00 00 00 E7 [22:55:07]Write i2c OK [22:55:07]MH_I2C_Read... [22:55:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:55:07]Read from MH i2c: E2 [22:55:07]MH_I2C_Read... [22:55:07]Read from MH i2c: E2 03 00 [22:55:07]MH_I2C_Read... [22:55:07]Read from MH i2c: E2 03 00 73 02 00 90 00 E9 [22:55:07]RAPDU: 90 00 [22:55:07]wFMCommunicate OK [22:55:07]SAM_PROTO_ClearQueue done [22:55:07]KKMCreateOFDPacket [22:55:07]OFDProtocolAddRootSTLVToBuf [22:55:07]FM_MakeSignedData [22:55:07]FM_MakeSignedData [22:55:07]SAM_PROTO_SignData [22:55:07]wFMCommunicate request_size=4 [22:55:07]MH_SAM_APDU [22:55:07]CAPDU: 80 0D 01 02 [22:55:07]Write to MH i2c: E2 08 00 74 02 80 0D 01 02 00 00 00 00 EF [22:55:07]Write i2c OK [22:55:07]MH_I2C_Read... [22:55:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:55:07]Read from MH i2c: E2 [22:55:07]MH_I2C_Read... [22:55:07]Read from MH i2c: E2 03 00 [22:55:07]MH_I2C_Read... [22:55:07]Read from MH i2c: E2 03 00 74 02 00 90 00 EA [22:55:07]RAPDU: 90 00 [22:55:07]wFMCommunicate OK [22:55:07]wFMCommunicate request_size=255 [22:55:07]MH_SAM_APDU [22:55:07]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 CB 94 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 [22:55:07]Write to MH i2c: E2 02 01 75 02 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 CB 94 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 00 00 4F [22:55:07]Write i2c OK [22:55:07]MH_I2C_Read... [22:55:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:55:08]Read from MH i2c: E2 [22:55:08]MH_I2C_Read... [22:55:08]Read from MH i2c: E2 03 00 [22:55:08]MH_I2C_Read... [22:55:08]Read from MH i2c: E2 03 00 75 02 00 90 00 EB [22:55:08]RAPDU: 90 00 [22:55:08]wFMCommunicate OK [22:55:08]wFMCommunicate request_size=36 [22:55:08]MH_SAM_APDU [22:55:08]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 40 4A 00 00 35 04 06 00 51 B8 9A BA 49 3D [22:55:08]Write to MH i2c: E2 27 00 76 02 80 0D 02 02 1F 00 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 40 4A 00 00 35 04 06 00 51 B8 9A BA 49 3D 00 00 8A [22:55:08]Write i2c OK [22:55:08]MH_I2C_Read... [22:55:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:55:08]Read from MH i2c: E2 [22:55:08]MH_I2C_Read... [22:55:08]Read from MH i2c: E2 03 00 [22:55:08]MH_I2C_Read... [22:55:08]Read from MH i2c: E2 03 00 76 02 00 90 00 EC [22:55:08]RAPDU: 90 00 [22:55:08]wFMCommunicate OK [22:55:08]wFMCommunicate request_size=4 [22:55:08]MH_SAM_APDU [22:55:08]CAPDU: 80 0D 03 02 [22:55:08]Write to MH i2c: E2 08 00 77 02 80 0D 03 02 00 00 00 00 F4 [22:55:08]Write i2c OK [22:55:08]MH_I2C_Read... [22:55:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:55:08]Read from MH i2c: E2 [22:55:08]MH_I2C_Read... [22:55:08]Read from MH i2c: E2 0B 00 [22:55:08]MH_I2C_Read... [22:55:08]Read from MH i2c: E2 0B 00 77 02 00 EA 97 1C D5 DC 9C FC 56 90 00 31 [22:55:08]RAPDU: EA 97 1C D5 DC 9C FC 56 90 00 [22:55:08]wFMCommunicate OK [22:55:08]SAM_PROTO_SignData done [22:55:08]FM_MakeSignedData done [22:55:08]CreateOFDProtocolMessage [22:55:08]wFMCommunicate request_size=4 [22:55:08]MH_SAM_APDU [22:55:08]CAPDU: 80 11 00 00 [22:55:08]Write to MH i2c: E2 08 00 78 02 80 11 00 00 00 00 00 00 F4 [22:55:08]Write i2c OK [22:55:08]MH_I2C_Read... [22:55:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:55:08]Read from MH i2c: E2 [22:55:08]MH_I2C_Read... [22:55:08]Read from MH i2c: E2 17 00 [22:55:08]MH_I2C_Read... [22:55:08]Read from MH i2c: E2 17 00 78 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 4D [22:55:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [22:55:08]wFMCommunicate OK [22:55:08]CreateOFDProtocolMessage done [22:55:08]OFDSenderStorePacket 19008 [22:55:08]StoreOFDPacket docnum=19008 [22:55:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 29 01 00 00 FC 4D 21 01 E8 30 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 CB 94 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 40 4A 00 00 35 04 06 00 51 B8 9A BA 49 3D EA 97 1C D5 DC 9C FC 56 [22:55:08]CheckFolder [22:55:08]dirname=/storage/ofd_packets [22:55:08]CheckFolder done [22:55:08]ProducePacketName [22:55:08]name=ofd_packets/00019008 [22:55:08]NVStorageSaveData ofd_packets/00019008 [22:55:08]File name is /storage/ofd_packets/00019008 [22:55:08]Write 327 bytes [22:55:08]NVStorageSaveData done [22:55:08]OFDSenderStorePacket done [22:55:08]KKMCreateOFDPacket done [22:55:08]NVStorageSaveData kkm_last_timestamp [22:55:08]File name is /storage/kkm_last_timestamp [22:55:08]Write 4 bytes [22:55:08]NVStorageSaveData done [22:55:08]ExternCall_PrintAddStr [22:55:08]wPrintStart [22:55:08]Write to MH i2c: 01 00 00 79 02 7B [22:55:08]Write i2c OK [22:55:08]MH_I2C_Read... [22:55:08]Read from MH i2c: 01 [22:55:08]MH_I2C_Read... [22:55:08]Read from MH i2c: 01 07 00 [22:55:08]MH_I2C_Read... [22:55:08]Read from MH i2c: 01 07 00 79 02 00 00 00 00 00 FF 0F 90 [22:55:08]RasterBufferAndPrint [22:55:08]line Счет N : (3)16929 [22:55:08]line ИНН: 02508201610067 [22:55:08]line Контрольно-Кассовый Чек [22:55:08]line ПРОДАЖА [22:55:08]line Товар: 42203100 [22:55:08]line Жев Orbit банан-клубника [22:55:08]line 1.000 * 45.00 [22:55:08]line = 45.00 [22:55:08]line НДС 12% НСП 1% [22:55:08]line > о реализуемом товаре [22:55:08]line ИТОГО: 45.00 [22:55:08]line НСП 1% : 0.40 [22:55:08]line НДС 12% : 4.78 [22:55:08]line Наличными: 0.00 [22:55:08]line Безнал.: 45.00 [22:55:08]line Место: АЗС № 176 "Партнер Нефть" [22:55:08]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [22:55:08]line СНО: Общий режим [22:55:08]line Чек 86 25.09.2024 22:55 [22:55:08]line Смена: 183 ФФД: 1.0 [22:55:08]line ЗНМ: 0300000010 [22:55:08]line РНМ: 0000000000152968 [22:55:08]line Версия ККМ: v1.0 [22:55:08]line Платежная система: O! деньги [22:55:08]line ФМ: 0000000000959456 [22:55:08]line ФД: 19008 [22:55:08]line ФПД: 89853311732029 [22:55:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T225507&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19008&fm=89853311732029&tin=02508201610067®Number=0000000000152968&sum=4500 [22:55:08]line 0 [22:55:08]OFD Sender: Processing packet 19008 [packets to send 7, broken 6] [22:55:08]ProducePacketName [22:55:08]name=ofd_packets/00019008 [22:55:08]OFD Sender: To server: pG, [22:55:08]CommunicateWithHost lk.salyk.kg:30040 [22:55:08]ConnectInit lk.salyk.kg [22:55:08]written 0, free lines is 4095 [22:55:08]Connected sock=10 [22:55:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 29 01 00 00 FC 4D 21 01 E8 30 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B1 D0 B0 D0 BD D0 B0 D0 BD 2D D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 CB 94 F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 40 4A 00 00 35 04 06 00 51 B8 9A BA 49 3D EA 97 1C D5 DC 9C FC 56 [22:55:09]Write to MH i2c: 01 00 00 A3 02 A5 [22:55:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 0E E2 47 00 1A EF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 40 4A 00 00 F4 03 04 00 27 3E F4 66 B6 04 01 00 00 03 8C D1 DA 7F 0E AB 8E [22:55:09]CommunicateWithHost err = 0 [22:55:09]CheckOFDResponse [22:55:09]1017 (14) - 77093643461234 [22:55:09]1041 (16) - 0000000000959456 [22:55:09]1040 (4) - 19008 [22:55:09]1012 (4) - 25.09.2024 16:45 [22:55:09]1206 (1) - 0 [22:55:09]OFD Sender: Remove packet 19008 [22:55:09]ProducePacketName [22:55:09]name=ofd_packets/00019008 [22:55:09]NVStorageDeleteData [22:55:09]Write i2c OK [22:55:09]MH_I2C_Read... [22:55:09]Read from MH i2c: 01 [22:55:09]MH_I2C_Read... [22:55:09]Read from MH i2c: 01 07 00 [22:55:09]MH_I2C_Read... [22:55:09]Read from MH i2c: 01 07 00 A3 02 00 00 00 00 00 07 0D C0 [22:55:09]RasterBufferAndPrint [22:55:09]line [22:55:09]line [22:55:09]line [22:55:09]line [22:55:09]line [22:55:09]written 0, free lines is 3368 [22:55:09]MH_Cut [22:55:09]Write to MH i2c: D1 01 00 AA 02 01 7E [22:55:09]Write i2c OK [22:55:09]MH_I2C_Read... [22:55:09]Read from MH i2c: D1 [22:55:09]MH_I2C_Read... [22:55:09]Read from MH i2c: D1 01 00 [22:55:09]MH_I2C_Read... [22:55:09]Read from MH i2c: D1 01 00 AA 02 00 7D [22:55:09]Write to MH i2c: 01 00 00 AB 02 AD [22:55:09]Write i2c OK [22:55:09]MH_I2C_Read... [22:55:09]OFD Sender: No OFD packet to send [22:55:09]*** Cut start [22:55:09]*** Partial cut [22:55:09]*** CUTSNS_PIN = 1 [22:55:09]*** CUTSNS_PIN = 0 [22:55:09]*** Brake cut motor [22:55:10]Read from MH i2c: 01 [22:55:10]MH_I2C_Read... [22:55:10]*** Stop cut motor [22:55:10]*** Cut end [22:55:10]Read from MH i2c: 01 07 00 [22:55:10]MH_I2C_Read... [22:55:10]Read from MH i2c: 01 07 00 AB 02 00 00 00 00 00 FF 0F C2 [22:55:10]process_action close_receipt done [22:55:10]requested_data is exist [22:55:10]produce_requested_data [22:55:10]requested_item fm.sn is exist - process it [22:55:10]wFMCommunicate request_size=4 [22:55:10]MH_SAM_APDU [22:55:10]CAPDU: 80 11 00 00 [22:55:10]Write to MH i2c: E2 08 00 AC 02 80 11 00 00 00 00 00 00 28 [22:55:10]Write i2c OK [22:55:10]MH_I2C_Read... [22:55:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:55:10]Read from MH i2c: E2 [22:55:10]MH_I2C_Read... [22:55:10]Read from MH i2c: E2 17 00 [22:55:10]MH_I2C_Read... [22:55:10]Read from MH i2c: E2 17 00 AC 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 81 [22:55:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [22:55:10]wFMCommunicate OK [22:55:10]requested_item fd.num is exist - process it [22:55:10]SAM_PROTO_GetFieldsCounters [22:55:10]wFMCommunicate request_size=4 [22:55:10]MH_SAM_APDU [22:55:10]CAPDU: 80 13 00 00 [22:55:10]Write to MH i2c: E2 08 00 AD 02 80 13 00 00 00 00 00 00 2B [22:55:10]Write i2c OK [22:55:10]MH_I2C_Read... [22:55:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:55:10]Read from MH i2c: E2 [22:55:10]MH_I2C_Read... [22:55:10]Read from MH i2c: E2 62 00 [22:55:10]MH_I2C_Read... [22:55:10]Read from MH i2c: E2 62 00 AD 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 40 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 9B [22:55:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 40 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:55:10]wFMCommunicate OK [22:55:10]SAM_PROTO_GetFieldsCounters done [22:55:10]requested_item shift.num is exist - process it [22:55:10]requested_item shift.opened is exist - process it [22:55:10]req_shift_opened [22:55:10]FM_GetShiftState [22:55:10]SAM_PROTO_GetShiftState [22:55:10]wFMCommunicate request_size=4 [22:55:10]MH_SAM_APDU [22:55:10]CAPDU: 80 13 01 00 [22:55:10]Write to MH i2c: E2 08 00 AE 02 80 13 01 00 00 00 00 00 2D [22:55:10]Write i2c OK [22:55:10]MH_I2C_Read... [22:55:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:55:10]Read from MH i2c: E2 [22:55:10]MH_I2C_Read... [22:55:10]Read from MH i2c: E2 0E 00 [22:55:10]MH_I2C_Read... [22:55:10]Read from MH i2c: E2 0E 00 AE 02 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 1A [22:55:10]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [22:55:10]wFMCommunicate OK [22:55:10]SAM_PROTO_GetShiftState done [22:55:10]FM_GetShiftState done [22:55:10]req_shift_opened done [22:55:10]requested_item shift.open_date is exist - process it [22:55:10]req_shift_open_date [22:55:10]req_shift_open_date done [22:55:10]produce_requested_data done [22:55:10]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19008,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [22:55:10]process_action_free close_receipt [22:55:10]json_value_free [22:55:10]json_value_free done [22:55:10]process_json_proto returns [22:55:10]Send response to host [22:55:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19008,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [22:55:10]free response buf [22:55:10]execute_script done [22:55:10]execute_script returns [22:55:10]free content buf [22:55:10]Sock 9.Close socket [22:55:10]Sock 9.Thread stoped [22:55:14]OFD Sender: No OFD packet to send [22:55:19]OFD Sender: No OFD packet to send [22:55:24]OFD Sender: No OFD packet to send [22:55:29]OFD Sender: No OFD packet to send [22:55:34]OFD Sender: No OFD packet to send [22:55:39]OFD Sender: No OFD packet to send [22:55:44]OFD Sender: No OFD packet to send [22:55:49]OFD Sender: No OFD packet to send [22:55:54]OFD Sender: No OFD packet to send [22:55:59]OFD Sender: No OFD packet to send [22:56:04]OFD Sender: No OFD packet to send [22:56:09]OFD Sender: No OFD packet to send [22:56:14]OFD Sender: No OFD packet to send [22:56:19]OFD Sender: No OFD packet to send [22:56:24]OFD Sender: No OFD packet to send [22:56:29]OFD Sender: No OFD packet to send [22:56:34]OFD Sender: No OFD packet to send [22:56:39]OFD Sender: No OFD packet to send [22:56:44]OFD Sender: No OFD packet to send [22:56:49]OFD Sender: No OFD packet to send [22:56:54]OFD Sender: No OFD packet to send [22:56:59]OFD Sender: No OFD packet to send [22:57:04]OFD Sender: No OFD packet to send [22:57:09]OFD Sender: No OFD packet to send [22:57:14]OFD Sender: No OFD packet to send [22:57:19]OFD Sender: No OFD packet to send [22:57:24]OFD Sender: No OFD packet to send [22:57:29]OFD Sender: No OFD packet to send [22:57:34]OFD Sender: No OFD packet to send [22:57:39]OFD Sender: No OFD packet to send [22:57:44]OFD Sender: No OFD packet to send [22:57:49]OFD Sender: No OFD packet to send [22:57:54]OFD Sender: No OFD packet to send [22:57:59]OFD Sender: No OFD packet to send [22:58:04]OFD Sender: No OFD packet to send [22:58:09]OFD Sender: No OFD packet to send [22:58:14]OFD Sender: No OFD packet to send [22:58:19]OFD Sender: No OFD packet to send [22:58:24]OFD Sender: No OFD packet to send [22:58:29]OFD Sender: No OFD packet to send [22:58:34]OFD Sender: No OFD packet to send [22:58:39]OFD Sender: No OFD packet to send [22:58:44]OFD Sender: No OFD packet to send [22:58:49]OFD Sender: No OFD packet to send [22:58:54]OFD Sender: No OFD packet to send [22:58:59]OFD Sender: No OFD packet to send [22:59:04]OFD Sender: No OFD packet to send [22:59:09]OFD Sender: No OFD packet to send [22:59:14]OFD Sender: No OFD packet to send [22:59:19]OFD Sender: No OFD packet to send [22:59:24]OFD Sender: No OFD packet to send [22:59:29]OFD Sender: No OFD packet to send [22:59:34]OFD Sender: No OFD packet to send [22:59:39]OFD Sender: No OFD packet to send [22:59:44]OFD Sender: No OFD packet to send [22:59:49]OFD Sender: No OFD packet to send [22:59:54]OFD Sender: No OFD packet to send [22:59:59]OFD Sender: No OFD packet to send [23:00:04]OFD Sender: No OFD packet to send [23:00:09]OFD Sender: No OFD packet to send [23:00:14]OFD Sender: No OFD packet to send [23:00:19]OFD Sender: No OFD packet to send [23:00:24]OFD Sender: No OFD packet to send [23:00:29]OFD Sender: No OFD packet to send [23:00:34]OFD Sender: No OFD packet to send [23:00:39]OFD Sender: No OFD packet to send [23:00:44]OFD Sender: No OFD packet to send [23:00:49]OFD Sender: No OFD packet to send [23:00:54]OFD Sender: No OFD packet to send [23:00:59]OFD Sender: No OFD packet to send [23:01:04]OFD Sender: No OFD packet to send [23:01:09]OFD Sender: No OFD packet to send [23:01:14]OFD Sender: No OFD packet to send [23:01:19]OFD Sender: No OFD packet to send [23:01:24]OFD Sender: No OFD packet to send [23:01:29]OFD Sender: No OFD packet to send [23:01:34]OFD Sender: No OFD packet to send [23:01:39]OFD Sender: No OFD packet to send [23:01:44]OFD Sender: No OFD packet to send [23:01:49]OFD Sender: No OFD packet to send [23:01:54]OFD Sender: No OFD packet to send [23:01:59]OFD Sender: No OFD packet to send [23:02:04]OFD Sender: No OFD packet to send [23:02:09]OFD Sender: No OFD packet to send [23:02:14]OFD Sender: No OFD packet to send [23:02:19]OFD Sender: No OFD packet to send [23:02:24]OFD Sender: No OFD packet to send [23:02:29]OFD Sender: No OFD packet to send [23:02:34]OFD Sender: No OFD packet to send [23:02:39]OFD Sender: No OFD packet to send [23:02:44]OFD Sender: No OFD packet to send [23:02:49]OFD Sender: No OFD packet to send [23:02:54]OFD Sender: No OFD packet to send [23:02:59]OFD Sender: No OFD packet to send [23:03:04]OFD Sender: No OFD packet to send [23:03:09]OFD Sender: No OFD packet to send [23:03:14]OFD Sender: No OFD packet to send [23:03:19]OFD Sender: No OFD packet to send [23:03:24]OFD Sender: No OFD packet to send [23:03:29]OFD Sender: No OFD packet to send [23:03:34]OFD Sender: No OFD packet to send [23:03:39]OFD Sender: No OFD packet to send [23:03:44]OFD Sender: No OFD packet to send [23:03:49]OFD Sender: No OFD packet to send [23:03:54]OFD Sender: No OFD packet to send [23:03:59]OFD Sender: No OFD packet to send [23:04:04]OFD Sender: No OFD packet to send [23:04:09]OFD Sender: No OFD packet to send [23:04:14]OFD Sender: No OFD packet to send [23:04:19]OFD Sender: No OFD packet to send [23:04:24]OFD Sender: No OFD packet to send [23:04:30]OFD Sender: No OFD packet to send [23:04:35]OFD Sender: No OFD packet to send [23:04:40]OFD Sender: No OFD packet to send [23:04:45]OFD Sender: No OFD packet to send [23:04:50]OFD Sender: No OFD packet to send [23:04:55]OFD Sender: No OFD packet to send [23:05:00]OFD Sender: No OFD packet to send [23:05:05]OFD Sender: No OFD packet to send [23:05:10]OFD Sender: No OFD packet to send [23:05:15]OFD Sender: No OFD packet to send [23:05:20]OFD Sender: No OFD packet to send [23:05:25]OFD Sender: No OFD packet to send [23:05:30]OFD Sender: No OFD packet to send [23:05:35]OFD Sender: No OFD packet to send [23:05:40]OFD Sender: No OFD packet to send [23:05:45]OFD Sender: No OFD packet to send [23:05:50]OFD Sender: No OFD packet to send [23:05:55]OFD Sender: No OFD packet to send [23:06:00]OFD Sender: No OFD packet to send [23:06:05]OFD Sender: No OFD packet to send [23:06:10]OFD Sender: No OFD packet to send [23:06:15]OFD Sender: No OFD packet to send [23:06:20]OFD Sender: No OFD packet to send [23:06:25]OFD Sender: No OFD packet to send [23:06:30]OFD Sender: No OFD packet to send [23:06:35]OFD Sender: No OFD packet to send [23:06:40]OFD Sender: No OFD packet to send [23:06:45]OFD Sender: No OFD packet to send [23:06:50]OFD Sender: No OFD packet to send [23:06:55]OFD Sender: No OFD packet to send [23:07:00]OFD Sender: No OFD packet to send [23:07:05]OFD Sender: No OFD packet to send [23:07:10]OFD Sender: No OFD packet to send [23:07:15]OFD Sender: No OFD packet to send [23:07:20]OFD Sender: No OFD packet to send [23:07:25]OFD Sender: No OFD packet to send [23:07:30]OFD Sender: No OFD packet to send [23:07:35]OFD Sender: No OFD packet to send [23:07:40]OFD Sender: No OFD packet to send [23:07:45]OFD Sender: No OFD packet to send [23:07:50]OFD Sender: No OFD packet to send [23:07:55]OFD Sender: No OFD packet to send [23:08:00]OFD Sender: No OFD packet to send [23:08:05]OFD Sender: No OFD packet to send [23:08:10]OFD Sender: No OFD packet to send [23:08:15]OFD Sender: No OFD packet to send [23:08:20]OFD Sender: No OFD packet to send [23:08:25]OFD Sender: No OFD packet to send [23:08:30]OFD Sender: No OFD packet to send [23:08:35]OFD Sender: No OFD packet to send [23:08:40]OFD Sender: No OFD packet to send [23:08:45]OFD Sender: No OFD packet to send [23:08:50]OFD Sender: No OFD packet to send [23:08:55]OFD Sender: No OFD packet to send [23:09:00]OFD Sender: No OFD packet to send [23:09:05]OFD Sender: No OFD packet to send [23:09:10]OFD Sender: No OFD packet to send [23:09:15]OFD Sender: No OFD packet to send [23:09:20]OFD Sender: No OFD packet to send [23:09:25]OFD Sender: No OFD packet to send [23:09:30]OFD Sender: No OFD packet to send [23:09:35]OFD Sender: No OFD packet to send [23:09:40]OFD Sender: No OFD packet to send [23:09:45]OFD Sender: No OFD packet to send [23:09:50]OFD Sender: No OFD packet to send [23:09:55]OFD Sender: No OFD packet to send [23:10:00]OFD Sender: No OFD packet to send [23:10:05]OFD Sender: No OFD packet to send [23:10:10]OFD Sender: No OFD packet to send [23:10:15]OFD Sender: No OFD packet to send [23:10:20]OFD Sender: No OFD packet to send [23:10:25]OFD Sender: No OFD packet to send [23:10:30]OFD Sender: No OFD packet to send [23:10:35]OFD Sender: No OFD packet to send [23:10:40]OFD Sender: No OFD packet to send [23:10:45]OFD Sender: No OFD packet to send [23:10:50]OFD Sender: No OFD packet to send [23:10:55]OFD Sender: No OFD packet to send [23:11:00]OFD Sender: No OFD packet to send [23:11:05]OFD Sender: No OFD packet to send [23:11:10]OFD Sender: No OFD packet to send [23:11:15]OFD Sender: No OFD packet to send [23:11:20]OFD Sender: No OFD packet to send [23:11:25]OFD Sender: No OFD packet to send [23:11:30]OFD Sender: No OFD packet to send [23:11:35]OFD Sender: No OFD packet to send [23:11:40]OFD Sender: No OFD packet to send [23:11:45]OFD Sender: No OFD packet to send [23:11:50]OFD Sender: No OFD packet to send [23:11:55]OFD Sender: No OFD packet to send [23:12:00]OFD Sender: No OFD packet to send [23:12:05]OFD Sender: No OFD packet to send [23:12:10]OFD Sender: No OFD packet to send [23:12:15]OFD Sender: No OFD packet to send [23:12:20]OFD Sender: No OFD packet to send [23:12:25]OFD Sender: No OFD packet to send [23:12:30]OFD Sender: No OFD packet to send [23:12:35]OFD Sender: No OFD packet to send [23:12:40]OFD Sender: No OFD packet to send [23:12:45]OFD Sender: No OFD packet to send [23:12:50]OFD Sender: No OFD packet to send [23:12:55]OFD Sender: No OFD packet to send [23:13:00]OFD Sender: No OFD packet to send [23:13:05]OFD Sender: No OFD packet to send [23:13:10]OFD Sender: No OFD packet to send [23:13:15]OFD Sender: No OFD packet to send [23:13:20]OFD Sender: No OFD packet to send [23:13:25]OFD Sender: No OFD packet to send [23:13:30]OFD Sender: No OFD packet to send [23:13:35]OFD Sender: No OFD packet to send [23:13:40]OFD Sender: No OFD packet to send [23:13:45]OFD Sender: No OFD packet to send [23:13:50]OFD Sender: No OFD packet to send [23:13:55]OFD Sender: No OFD packet to send [23:14:00]OFD Sender: No OFD packet to send [23:14:05]OFD Sender: No OFD packet to send [23:14:10]OFD Sender: No OFD packet to send [23:14:15]OFD Sender: No OFD packet to send [23:14:20]OFD Sender: No OFD packet to send [23:14:25]OFD Sender: No OFD packet to send [23:14:30]OFD Sender: No OFD packet to send [23:14:35]OFD Sender: No OFD packet to send [23:14:40]OFD Sender: No OFD packet to send [23:14:45]OFD Sender: No OFD packet to send [23:14:50]OFD Sender: No OFD packet to send [23:14:55]OFD Sender: No OFD packet to send [23:15:00]OFD Sender: No OFD packet to send [23:15:05]OFD Sender: No OFD packet to send [23:15:10]OFD Sender: No OFD packet to send [23:15:15]OFD Sender: No OFD packet to send [23:15:20]OFD Sender: No OFD packet to send [23:15:25]OFD Sender: No OFD packet to send [23:15:30]OFD Sender: No OFD packet to send [23:15:35]OFD Sender: No OFD packet to send [23:15:40]OFD Sender: No OFD packet to send [23:15:45]OFD Sender: No OFD packet to send [23:15:50]OFD Sender: No OFD packet to send [23:15:55]OFD Sender: No OFD packet to send [23:16:00]OFD Sender: No OFD packet to send [23:16:05]OFD Sender: No OFD packet to send [23:16:10]OFD Sender: No OFD packet to send [23:16:15]OFD Sender: No OFD packet to send [23:16:20]OFD Sender: No OFD packet to send [23:16:25]OFD Sender: No OFD packet to send [23:16:30]OFD Sender: No OFD packet to send [23:16:35]OFD Sender: No OFD packet to send [23:16:40]OFD Sender: No OFD packet to send [23:16:45]OFD Sender: No OFD packet to send [23:16:50]OFD Sender: No OFD packet to send [23:16:55]OFD Sender: No OFD packet to send [23:17:00]OFD Sender: No OFD packet to send [23:17:05]OFD Sender: No OFD packet to send [23:17:10]OFD Sender: No OFD packet to send [23:17:15]OFD Sender: No OFD packet to send [23:17:20]OFD Sender: No OFD packet to send [23:17:25]OFD Sender: No OFD packet to send [23:17:30]OFD Sender: No OFD packet to send [23:17:35]OFD Sender: No OFD packet to send [23:17:40]OFD Sender: No OFD packet to send [23:17:45]OFD Sender: No OFD packet to send [23:17:50]OFD Sender: No OFD packet to send [23:17:55]OFD Sender: No OFD packet to send [23:18:00]OFD Sender: No OFD packet to send [23:18:05]OFD Sender: No OFD packet to send [23:18:10]OFD Sender: No OFD packet to send [23:18:15]OFD Sender: No OFD packet to send [23:18:20]OFD Sender: No OFD packet to send [23:18:25]OFD Sender: No OFD packet to send [23:18:30]OFD Sender: No OFD packet to send [23:18:35]OFD Sender: No OFD packet to send [23:18:40]OFD Sender: No OFD packet to send [23:18:45]OFD Sender: No OFD packet to send [23:18:50]OFD Sender: No OFD packet to send [23:18:55]OFD Sender: No OFD packet to send [23:19:00]OFD Sender: No OFD packet to send [23:19:05]OFD Sender: No OFD packet to send [23:19:10]OFD Sender: No OFD packet to send [23:19:15]OFD Sender: No OFD packet to send [23:19:20]OFD Sender: No OFD packet to send [23:19:25]OFD Sender: No OFD packet to send [23:19:30]OFD Sender: No OFD packet to send [23:19:35]OFD Sender: No OFD packet to send [23:19:40]OFD Sender: No OFD packet to send [23:19:45]OFD Sender: No OFD packet to send [23:19:50]OFD Sender: No OFD packet to send [23:19:55]OFD Sender: No OFD packet to send [23:20:00]OFD Sender: No OFD packet to send [23:20:05]OFD Sender: No OFD packet to send [23:20:10]OFD Sender: No OFD packet to send [23:20:15]OFD Sender: No OFD packet to send [23:20:20]OFD Sender: No OFD packet to send [23:20:25]OFD Sender: No OFD packet to send [23:20:30]OFD Sender: No OFD packet to send [23:20:35]OFD Sender: No OFD packet to send [23:20:40]OFD Sender: No OFD packet to send [23:20:45]OFD Sender: No OFD packet to send [23:20:50]OFD Sender: No OFD packet to send [23:20:55]OFD Sender: No OFD packet to send [23:21:00]OFD Sender: No OFD packet to send [23:21:05]OFD Sender: No OFD packet to send [23:21:10]OFD Sender: No OFD packet to send [23:21:15]OFD Sender: No OFD packet to send [23:21:20]OFD Sender: No OFD packet to send [23:21:25]OFD Sender: No OFD packet to send [23:21:30]OFD Sender: No OFD packet to send [23:21:35]OFD Sender: No OFD packet to send [23:21:40]OFD Sender: No OFD packet to send [23:21:45]OFD Sender: No OFD packet to send [23:21:50]OFD Sender: No OFD packet to send [23:21:55]OFD Sender: No OFD packet to send [23:22:00]OFD Sender: No OFD packet to send [23:22:05]OFD Sender: No OFD packet to send [23:22:10]OFD Sender: No OFD packet to send [23:22:15]OFD Sender: No OFD packet to send [23:22:20]OFD Sender: No OFD packet to send [23:22:25]OFD Sender: No OFD packet to send [23:22:30]OFD Sender: No OFD packet to send [23:22:35]OFD Sender: No OFD packet to send [23:22:40]OFD Sender: No OFD packet to send [23:22:45]OFD Sender: No OFD packet to send [23:22:50]OFD Sender: No OFD packet to send [23:22:55]OFD Sender: No OFD packet to send [23:23:00]OFD Sender: No OFD packet to send [23:23:05]OFD Sender: No OFD packet to send [23:23:10]OFD Sender: No OFD packet to send [23:23:13]accept exits with 7 [23:23:13]New connection [23:23:13]New thread 3066551652 created [23:23:13]Thread 3066695012 joined [23:23:13]Waiting for new connection... [23:23:13] Sock 7.Parse request [23:23:13]Sock 7.Check first char [23:23:13]Sock 7.First char is OK [23:23:13]request: POST /json_proto HTTP/1.0 [23:23:13]Method: POST [23:23:13]URL: /json_proto [23:23:13]Method is POST - this is cgi request [23:23:13]url: /json_proto [23:23:13]query_string will be loaded in cgi processing [23:23:13]execute_cgi json_proto POST (null) [23:23:13]execute_cgi path=json_proto method=POST [23:23:13]POST find Content-Length [23:23:13]Host: 172.17.62.196:8080 [23:23:13]Content-Length: 774 [23:23:13]Content-Type: application/json [23:23:13] [23:23:13]POST finish read [23:23:13]Found Content-Length = 774 [23:23:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16930", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:23:13]execute_script... [23:23:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16930", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:23:13]POST & json_proto [23:23:13]process_json_proto [23:23:13]json parsed OK: [23:23:13]protocol is kg_v1.0 [23:23:13]action value=close_receipt [23:23:13]process_action close_receipt [23:23:13]cmd_close_receipt [23:23:13]MH_GetDate [23:23:13]Write to MH i2c: F0 00 00 AF 02 A0 [23:23:13]Write i2c OK [23:23:13]MH_I2C_Read... [23:23:13]Read from MH i2c: F0 [23:23:13]MH_I2C_Read... [23:23:13]Read from MH i2c: F0 09 00 [23:23:13]MH_I2C_Read... [23:23:13]Read from MH i2c: F0 09 00 AF 02 00 62 9B F4 66 CE CC 0E 66 0E [23:23:13]GetLastDocTimeStamp 1727304907 [23:23:13]current date 1727306594 [23:23:13]FM_GetShiftState [23:23:13]SAM_PROTO_GetShiftState [23:23:13]wFMCommunicate request_size=4 [23:23:13]MH_SAM_APDU [23:23:13]CAPDU: 80 13 01 00 [23:23:13]Write to MH i2c: E2 08 00 B0 02 80 13 01 00 00 00 00 00 2F [23:23:13]Write i2c OK [23:23:13]MH_I2C_Read... [23:23:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:23:13]Read from MH i2c: E2 [23:23:13]MH_I2C_Read... [23:23:13]Read from MH i2c: E2 0E 00 [23:23:13]MH_I2C_Read... [23:23:13]Read from MH i2c: E2 0E 00 B0 02 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 1C [23:23:13]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [23:23:13]wFMCommunicate OK [23:23:13]SAM_PROTO_GetShiftState done [23:23:13]FM_GetShiftState done [23:23:13]opened in 1727223091 [23:23:13]opened+sec_in_day 1727309491 [23:23:13]quantity*price = 11000 [23:23:13]sum+1 = 11001 [23:23:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 0.00 Безнал.: 110.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 87 25.09.2024 23:23 Смена: 183 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 19009 ФПД: 74057695450218 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T232314&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19009&fm=74057695450218&tin=02508201610067®Number=0000000000152968&sum=11000 0 [23:23:14]StoreToDocumentArchive [23:23:14]shift 183 fd 19009 [23:23:14]save to /storage/0183/doc_00019009 [23:23:14]save last doc name /storage/0183/doc_00019009 to /storage/kkm_last_doc_name [23:23:14]save OK [23:23:14]Clear old archive folders... [23:23:14]ProcessDocumentItem done err = 0, tmpTLVsize=266 [23:23:14]tlvbuf is 01D80640 [23:23:14]SAM_PROTO_ClearQueue [23:23:14]wFMCommunicate request_size=4 [23:23:14]MH_SAM_APDU [23:23:14]CAPDU: 80 09 00 00 [23:23:14]Write to MH i2c: E2 08 00 BD 02 80 09 00 00 00 00 00 00 31 [23:23:14]Write i2c OK [23:23:14]MH_I2C_Read... [23:23:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:23:14]Read from MH i2c: E2 [23:23:14]MH_I2C_Read... [23:23:14]Read from MH i2c: E2 03 00 [23:23:14]MH_I2C_Read... [23:23:14]Read from MH i2c: E2 03 00 BD 02 00 90 00 33 [23:23:14]RAPDU: 90 00 [23:23:14]wFMCommunicate OK [23:23:14]SAM_PROTO_ClearQueue done [23:23:14]KKMCreateOFDPacket [23:23:14]OFDProtocolAddRootSTLVToBuf [23:23:14]FM_MakeSignedData [23:23:14]FM_MakeSignedData [23:23:14]SAM_PROTO_SignData [23:23:14]wFMCommunicate request_size=4 [23:23:14]MH_SAM_APDU [23:23:14]CAPDU: 80 0D 01 02 [23:23:14]Write to MH i2c: E2 08 00 BE 02 80 0D 01 02 00 00 00 00 39 [23:23:14]Write i2c OK [23:23:14]MH_I2C_Read... [23:23:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:23:14]Read from MH i2c: E2 [23:23:14]MH_I2C_Read... [23:23:14]Read from MH i2c: E2 03 00 [23:23:14]MH_I2C_Read... [23:23:14]Read from MH i2c: E2 03 00 BE 02 00 90 00 34 [23:23:14]RAPDU: 90 00 [23:23:14]wFMCommunicate OK [23:23:14]wFMCommunicate request_size=255 [23:23:14]MH_SAM_APDU [23:23:14]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 62 9B F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 [23:23:14]Write to MH i2c: E2 02 01 BF 02 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 62 9B F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 00 00 1E [23:23:14]Write i2c OK [23:23:14]MH_I2C_Read... [23:23:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:23:15]Read from MH i2c: E2 [23:23:15]MH_I2C_Read... [23:23:15]Read from MH i2c: E2 03 00 [23:23:15]MH_I2C_Read... [23:23:15]Read from MH i2c: E2 03 00 BF 02 00 90 00 35 [23:23:15]RAPDU: 90 00 [23:23:15]wFMCommunicate OK [23:23:15]wFMCommunicate request_size=25 [23:23:15]MH_SAM_APDU [23:23:15]CAPDU: 80 0D 02 02 14 35 36 10 04 04 00 41 4A 00 00 35 04 06 00 43 5A E6 A1 54 6A [23:23:15]Write to MH i2c: E2 1C 00 C0 02 80 0D 02 02 14 00 35 36 10 04 04 00 41 4A 00 00 35 04 06 00 43 5A E6 A1 54 6A 00 00 93 [23:23:15]Write i2c OK [23:23:15]MH_I2C_Read... [23:23:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:23:15]Read from MH i2c: E2 [23:23:15]MH_I2C_Read... [23:23:15]Read from MH i2c: E2 03 00 [23:23:15]MH_I2C_Read... [23:23:15]Read from MH i2c: E2 03 00 C0 02 00 90 00 36 [23:23:15]RAPDU: 90 00 [23:23:15]wFMCommunicate OK [23:23:15]wFMCommunicate request_size=4 [23:23:15]MH_SAM_APDU [23:23:15]CAPDU: 80 0D 03 02 [23:23:15]Write to MH i2c: E2 08 00 C1 02 80 0D 03 02 00 00 00 00 3E [23:23:15]Write i2c OK [23:23:15]MH_I2C_Read... [23:23:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:23:15]Read from MH i2c: E2 [23:23:15]MH_I2C_Read... [23:23:15]Read from MH i2c: E2 0B 00 [23:23:15]MH_I2C_Read... [23:23:15]Read from MH i2c: E2 0B 00 C1 02 00 54 CE BF 6F 61 B4 DC AF 90 00 2F [23:23:15]RAPDU: 54 CE BF 6F 61 B4 DC AF 90 00 [23:23:15]wFMCommunicate OK [23:23:15]SAM_PROTO_SignData done [23:23:15]FM_MakeSignedData done [23:23:15]CreateOFDProtocolMessage [23:23:15]wFMCommunicate request_size=4 [23:23:15]MH_SAM_APDU [23:23:15]CAPDU: 80 11 00 00 [23:23:15]Write to MH i2c: E2 08 00 C2 02 80 11 00 00 00 00 00 00 3E [23:23:15]Write i2c OK [23:23:15]MH_I2C_Read... [23:23:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:23:15]Read from MH i2c: E2 [23:23:15]MH_I2C_Read... [23:23:15]Read from MH i2c: E2 17 00 [23:23:15]MH_I2C_Read... [23:23:15]Read from MH i2c: E2 17 00 C2 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 97 [23:23:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [23:23:15]wFMCommunicate OK [23:23:15]CreateOFDProtocolMessage done [23:23:15]OFDSenderStorePacket 19009 [23:23:15]StoreOFDPacket docnum=19009 [23:23:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 1E 01 00 00 55 97 16 01 7B 32 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 62 9B F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 41 4A 00 00 35 04 06 00 43 5A E6 A1 54 6A 54 CE BF 6F 61 B4 DC AF [23:23:15]CheckFolder [23:23:15]dirname=/storage/ofd_packets [23:23:15]CheckFolder done [23:23:15]ProducePacketName [23:23:15]name=ofd_packets/00019009 [23:23:15]NVStorageSaveData ofd_packets/00019009 [23:23:15]File name is /storage/ofd_packets/00019009 [23:23:15]Write 316 bytes [23:23:15]NVStorageSaveData done [23:23:15]OFDSenderStorePacket done [23:23:15]KKMCreateOFDPacket done [23:23:15]NVStorageSaveData kkm_last_timestamp [23:23:15]File name is /storage/kkm_last_timestamp [23:23:15]Write 4 bytes [23:23:15]NVStorageSaveData done [23:23:15]ExternCall_PrintAddStr [23:23:15]wPrintStart [23:23:15]Write to MH i2c: 01 00 00 C3 02 C5 [23:23:15]Write i2c OK [23:23:15]MH_I2C_Read... [23:23:15]Read from MH i2c: 01 [23:23:15]MH_I2C_Read... [23:23:15]Read from MH i2c: 01 07 00 [23:23:15]MH_I2C_Read... [23:23:15]Read from MH i2c: 01 07 00 C3 02 00 00 00 00 00 FF 0F DA [23:23:15]RasterBufferAndPrint [23:23:15]line Счет N : (3)16930 [23:23:15]line ИНН: 02508201610067 [23:23:15]line Контрольно-Кассовый Чек [23:23:15]line ПРОДАЖА [23:23:15]line Товар: 4870001570071 [23:23:15]line Напиток Pepsi 1л [23:23:15]line 1.000 * 110.00 [23:23:15]line = 110.00 [23:23:15]line НДС 12% НСП 1% [23:23:15]line > о реализуемом товаре [23:23:15]line ИТОГО: 110.00 [23:23:15]line НСП 1% : 0.97 [23:23:15]line НДС 12% : 11.68 [23:23:15]line Наличными: 0.00 [23:23:15]line Безнал.: 110.00 [23:23:15]line Место: АЗС № 176 "Партнер Нефть" [23:23:15]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [23:23:15]line СНО: Общий режим [23:23:15]line Чек 87 25.09.2024 23:23 [23:23:15]line Смена: 183 ФФД: 1.0 [23:23:15]line ЗНМ: 0300000010 [23:23:15]line РНМ: 0000000000152968 [23:23:15]line Версия ККМ: v1.0 [23:23:15]line Платежная система: O! деньги [23:23:15]line ФМ: 0000000000959456 [23:23:15]line ФД: 19009 [23:23:15]line ФПД: 74057695450218 [23:23:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T232314&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19009&fm=74057695450218&tin=02508201610067®Number=0000000000152968&sum=11000 [23:23:15]line 0 [23:23:15]OFD Sender: Processing packet 19009 [packets to send 7, broken 6] [23:23:15]ProducePacketName [23:23:15]name=ofd_packets/00019009 [23:23:15]OFD Sender: To server: pG, [23:23:15]CommunicateWithHost lk.salyk.kg:30040 [23:23:15]ConnectInit lk.salyk.kg [23:23:15]written 0, free lines is 4095 [23:23:15]Connected sock=10 [23:23:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 1E 01 00 00 55 97 16 01 7B 32 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 62 9B F4 66 0E 04 04 00 B7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 41 4A 00 00 35 04 06 00 43 5A E6 A1 54 6A 54 CE BF 6F 61 B4 DC AF [23:23:16]Write to MH i2c: 01 00 00 ED 02 EF [23:23:16]Write i2c OK [23:23:16]MH_I2C_Read... [23:23:16]Read from MH i2c: 01 [23:23:16]MH_I2C_Read... [23:23:16]Read from MH i2c: 01 07 00 [23:23:16]MH_I2C_Read... [23:23:16]Read from MH i2c: 01 07 00 ED 02 00 00 00 00 00 FC 0C FE [23:23:16]RasterBufferAndPrint [23:23:16]line [23:23:16]line [23:23:16]line [23:23:16]line [23:23:16]line [23:23:16]written 0, free lines is 3330 [23:23:16]MH_Cut [23:23:16]Write to MH i2c: D1 01 00 F4 02 01 C8 [23:23:16]Write i2c OK [23:23:16]MH_I2C_Read... [23:23:16]Read from MH i2c: D1 [23:23:16]MH_I2C_Read... [23:23:16]Read from MH i2c: D1 01 00 [23:23:16]MH_I2C_Read... [23:23:16]Read from MH i2c: D1 01 00 F4 02 00 C7 [23:23:16]Write to MH i2c: 01 00 00 F5 02 F7 [23:23:16]Write i2c OK [23:23:16]MH_I2C_Read... [23:23:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 24 BA 47 00 CC FF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 41 4A 00 00 F4 03 04 00 BE 44 F4 66 B6 04 01 00 00 4C 63 B7 A0 89 24 AD 90 [23:23:16]CommunicateWithHost err = 0 [23:23:16]CheckOFDResponse [23:23:16]1017 (14) - 77093643461234 [23:23:16]1041 (16) - 0000000000959456 [23:23:16]1040 (4) - 19009 [23:23:16]1012 (4) - 25.09.2024 17:13 [23:23:16]1206 (1) - 0 [23:23:16]OFD Sender: Remove packet 19009 [23:23:16]ProducePacketName [23:23:16]name=ofd_packets/00019009 [23:23:16]NVStorageDeleteData [23:23:16]OFD Sender: No OFD packet to send [23:23:16]*** Cut start [23:23:16]*** Partial cut [23:23:16]*** CUTSNS_PIN = 1 [23:23:16]*** CUTSNS_PIN = 0 [23:23:16]*** Brake cut motor [23:23:17]Read from MH i2c: 01 [23:23:17]MH_I2C_Read... [23:23:17]*** Stop cut motor [23:23:17]*** Cut end [23:23:17]Read from MH i2c: 01 07 00 [23:23:17]MH_I2C_Read... [23:23:17]Read from MH i2c: 01 07 00 F5 02 00 00 00 00 00 FF 0F 0C [23:23:17]process_action close_receipt done [23:23:17]requested_data is exist [23:23:17]produce_requested_data [23:23:17]requested_item fm.sn is exist - process it [23:23:17]wFMCommunicate request_size=4 [23:23:17]MH_SAM_APDU [23:23:17]CAPDU: 80 11 00 00 [23:23:17]Write to MH i2c: E2 08 00 F6 02 80 11 00 00 00 00 00 00 72 [23:23:17]Write i2c OK [23:23:17]MH_I2C_Read... [23:23:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:23:17]Read from MH i2c: E2 [23:23:17]MH_I2C_Read... [23:23:17]Read from MH i2c: E2 17 00 [23:23:17]MH_I2C_Read... [23:23:17]Read from MH i2c: E2 17 00 F6 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 CB [23:23:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [23:23:17]wFMCommunicate OK [23:23:17]requested_item fd.num is exist - process it [23:23:17]SAM_PROTO_GetFieldsCounters [23:23:17]wFMCommunicate request_size=4 [23:23:17]MH_SAM_APDU [23:23:17]CAPDU: 80 13 00 00 [23:23:17]Write to MH i2c: E2 08 00 F7 02 80 13 00 00 00 00 00 00 75 [23:23:17]Write i2c OK [23:23:17]MH_I2C_Read... [23:23:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:23:17]Read from MH i2c: E2 [23:23:17]MH_I2C_Read... [23:23:17]Read from MH i2c: E2 62 00 [23:23:17]MH_I2C_Read... [23:23:17]Read from MH i2c: E2 62 00 F7 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 41 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 E9 [23:23:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 41 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:23:17]wFMCommunicate OK [23:23:17]SAM_PROTO_GetFieldsCounters done [23:23:17]requested_item shift.num is exist - process it [23:23:17]requested_item shift.opened is exist - process it [23:23:17]req_shift_opened [23:23:17]FM_GetShiftState [23:23:17]SAM_PROTO_GetShiftState [23:23:17]wFMCommunicate request_size=4 [23:23:17]MH_SAM_APDU [23:23:17]CAPDU: 80 13 01 00 [23:23:17]Write to MH i2c: E2 08 00 F8 02 80 13 01 00 00 00 00 00 77 [23:23:17]Write i2c OK [23:23:17]MH_I2C_Read... [23:23:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:23:17]Read from MH i2c: E2 [23:23:17]MH_I2C_Read... [23:23:17]Read from MH i2c: E2 0E 00 [23:23:17]MH_I2C_Read... [23:23:17]Read from MH i2c: E2 0E 00 F8 02 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 64 [23:23:17]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [23:23:17]wFMCommunicate OK [23:23:17]SAM_PROTO_GetShiftState done [23:23:17]FM_GetShiftState done [23:23:17]req_shift_opened done [23:23:17]requested_item shift.open_date is exist - process it [23:23:17]req_shift_open_date [23:23:17]req_shift_open_date done [23:23:17]produce_requested_data done [23:23:17]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19009,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [23:23:17]process_action_free close_receipt [23:23:17]json_value_free [23:23:17]json_value_free done [23:23:17]process_json_proto returns [23:23:17]Send response to host [23:23:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19009,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [23:23:17]free response buf [23:23:17]execute_script done [23:23:17]execute_script returns [23:23:17]free content buf [23:23:17]Sock 7.Close socket [23:23:17]Sock 7.Thread stoped [23:23:21]OFD Sender: No OFD packet to send [23:23:26]OFD Sender: No OFD packet to send [23:23:31]OFD Sender: No OFD packet to send [23:23:36]OFD Sender: No OFD packet to send [23:23:41]OFD Sender: No OFD packet to send [23:23:46]OFD Sender: No OFD packet to send [23:23:51]OFD Sender: No OFD packet to send [23:23:56]OFD Sender: No OFD packet to send [23:24:01]OFD Sender: No OFD packet to send [23:24:06]OFD Sender: No OFD packet to send [23:24:11]OFD Sender: No OFD packet to send [23:24:16]OFD Sender: No OFD packet to send [23:24:21]OFD Sender: No OFD packet to send [23:24:26]OFD Sender: No OFD packet to send [23:24:31]OFD Sender: No OFD packet to send [23:24:36]OFD Sender: No OFD packet to send [23:24:41]OFD Sender: No OFD packet to send [23:24:46]OFD Sender: No OFD packet to send [23:24:51]OFD Sender: No OFD packet to send [23:24:56]OFD Sender: No OFD packet to send [23:25:01]OFD Sender: No OFD packet to send [23:25:06]OFD Sender: No OFD packet to send [23:25:11]OFD Sender: No OFD packet to send [23:25:16]OFD Sender: No OFD packet to send [23:25:21]OFD Sender: No OFD packet to send [23:25:26]OFD Sender: No OFD packet to send [23:25:31]OFD Sender: No OFD packet to send [23:25:36]OFD Sender: No OFD packet to send [23:25:41]OFD Sender: No OFD packet to send [23:25:46]OFD Sender: No OFD packet to send [23:25:51]OFD Sender: No OFD packet to send [23:25:56]OFD Sender: No OFD packet to send [23:26:01]OFD Sender: No OFD packet to send [23:26:06]OFD Sender: No OFD packet to send [23:26:11]OFD Sender: No OFD packet to send [23:26:16]OFD Sender: No OFD packet to send [23:26:21]OFD Sender: No OFD packet to send [23:26:26]OFD Sender: No OFD packet to send [23:26:31]OFD Sender: No OFD packet to send [23:26:36]OFD Sender: No OFD packet to send [23:26:41]OFD Sender: No OFD packet to send [23:26:46]OFD Sender: No OFD packet to send [23:26:51]OFD Sender: No OFD packet to send [23:26:56]OFD Sender: No OFD packet to send [23:27:01]OFD Sender: No OFD packet to send [23:27:06]OFD Sender: No OFD packet to send [23:27:11]OFD Sender: No OFD packet to send [23:27:16]OFD Sender: No OFD packet to send [23:27:21]OFD Sender: No OFD packet to send [23:27:26]OFD Sender: No OFD packet to send [23:27:31]OFD Sender: No OFD packet to send [23:27:36]OFD Sender: No OFD packet to send [23:27:41]OFD Sender: No OFD packet to send [23:27:46]OFD Sender: No OFD packet to send [23:27:51]OFD Sender: No OFD packet to send [23:27:56]OFD Sender: No OFD packet to send [23:28:01]OFD Sender: No OFD packet to send [23:28:06]OFD Sender: No OFD packet to send [23:28:11]OFD Sender: No OFD packet to send [23:28:16]OFD Sender: No OFD packet to send [23:28:21]OFD Sender: No OFD packet to send [23:28:26]OFD Sender: No OFD packet to send [23:28:31]OFD Sender: No OFD packet to send [23:28:36]OFD Sender: No OFD packet to send [23:28:41]OFD Sender: No OFD packet to send [23:28:46]OFD Sender: No OFD packet to send [23:28:51]OFD Sender: No OFD packet to send [23:28:56]OFD Sender: No OFD packet to send [23:29:01]OFD Sender: No OFD packet to send [23:29:06]OFD Sender: No OFD packet to send [23:29:11]OFD Sender: No OFD packet to send [23:29:16]OFD Sender: No OFD packet to send [23:29:21]OFD Sender: No OFD packet to send [23:29:26]OFD Sender: No OFD packet to send [23:29:31]OFD Sender: No OFD packet to send [23:29:36]OFD Sender: No OFD packet to send [23:29:41]OFD Sender: No OFD packet to send [23:29:46]OFD Sender: No OFD packet to send [23:29:51]OFD Sender: No OFD packet to send [23:29:56]OFD Sender: No OFD packet to send [23:30:01]OFD Sender: No OFD packet to send [23:30:06]OFD Sender: No OFD packet to send [23:30:11]OFD Sender: No OFD packet to send [23:30:16]OFD Sender: No OFD packet to send [23:30:21]OFD Sender: No OFD packet to send [23:30:26]OFD Sender: No OFD packet to send [23:30:31]OFD Sender: No OFD packet to send [23:30:36]OFD Sender: No OFD packet to send [23:30:41]OFD Sender: No OFD packet to send [23:30:46]OFD Sender: No OFD packet to send [23:30:51]OFD Sender: No OFD packet to send [23:30:56]OFD Sender: No OFD packet to send [23:31:01]OFD Sender: No OFD packet to send [23:31:06]OFD Sender: No OFD packet to send [23:31:11]OFD Sender: No OFD packet to send [23:31:16]OFD Sender: No OFD packet to send [23:31:21]OFD Sender: No OFD packet to send [23:31:26]OFD Sender: No OFD packet to send [23:31:31]OFD Sender: No OFD packet to send [23:31:36]OFD Sender: No OFD packet to send [23:31:41]OFD Sender: No OFD packet to send [23:31:46]OFD Sender: No OFD packet to send [23:31:51]OFD Sender: No OFD packet to send [23:31:56]OFD Sender: No OFD packet to send [23:32:01]OFD Sender: No OFD packet to send [23:32:06]OFD Sender: No OFD packet to send [23:32:11]OFD Sender: No OFD packet to send [23:32:16]OFD Sender: No OFD packet to send [23:32:21]OFD Sender: No OFD packet to send [23:32:26]OFD Sender: No OFD packet to send [23:32:31]OFD Sender: No OFD packet to send [23:32:36]OFD Sender: No OFD packet to send [23:32:41]OFD Sender: No OFD packet to send [23:32:46]OFD Sender: No OFD packet to send [23:32:51]OFD Sender: No OFD packet to send [23:32:56]OFD Sender: No OFD packet to send [23:33:01]OFD Sender: No OFD packet to send [23:33:07]OFD Sender: No OFD packet to send [23:33:12]OFD Sender: No OFD packet to send [23:33:17]OFD Sender: No OFD packet to send [23:33:22]OFD Sender: No OFD packet to send [23:33:27]OFD Sender: No OFD packet to send [23:33:32]OFD Sender: No OFD packet to send [23:33:37]OFD Sender: No OFD packet to send [23:33:42]OFD Sender: No OFD packet to send [23:33:47]OFD Sender: No OFD packet to send [23:33:52]OFD Sender: No OFD packet to send [23:33:57]OFD Sender: No OFD packet to send [23:34:02]OFD Sender: No OFD packet to send [23:34:07]OFD Sender: No OFD packet to send [23:34:12]OFD Sender: No OFD packet to send [23:34:17]OFD Sender: No OFD packet to send [23:34:22]OFD Sender: No OFD packet to send [23:34:27]OFD Sender: No OFD packet to send [23:34:32]OFD Sender: No OFD packet to send [23:34:37]OFD Sender: No OFD packet to send [23:34:42]OFD Sender: No OFD packet to send [23:34:47]OFD Sender: No OFD packet to send [23:34:52]OFD Sender: No OFD packet to send [23:34:57]OFD Sender: No OFD packet to send [23:35:02]OFD Sender: No OFD packet to send [23:35:07]OFD Sender: No OFD packet to send [23:35:12]OFD Sender: No OFD packet to send [23:35:17]OFD Sender: No OFD packet to send [23:35:22]OFD Sender: No OFD packet to send [23:35:27]OFD Sender: No OFD packet to send [23:35:32]OFD Sender: No OFD packet to send [23:35:37]OFD Sender: No OFD packet to send [23:35:42]OFD Sender: No OFD packet to send [23:35:47]OFD Sender: No OFD packet to send [23:35:52]OFD Sender: No OFD packet to send [23:35:57]OFD Sender: No OFD packet to send [23:36:02]OFD Sender: No OFD packet to send [23:36:07]OFD Sender: No OFD packet to send [23:36:12]OFD Sender: No OFD packet to send [23:36:17]OFD Sender: No OFD packet to send [23:36:22]OFD Sender: No OFD packet to send [23:36:27]OFD Sender: No OFD packet to send [23:36:32]OFD Sender: No OFD packet to send [23:36:37]OFD Sender: No OFD packet to send [23:36:42]OFD Sender: No OFD packet to send [23:36:47]OFD Sender: No OFD packet to send [23:36:52]OFD Sender: No OFD packet to send [23:36:57]OFD Sender: No OFD packet to send [23:37:02]OFD Sender: No OFD packet to send [23:37:07]OFD Sender: No OFD packet to send [23:37:12]OFD Sender: No OFD packet to send [23:37:17]OFD Sender: No OFD packet to send [23:37:22]OFD Sender: No OFD packet to send [23:37:27]OFD Sender: No OFD packet to send [23:37:32]OFD Sender: No OFD packet to send [23:37:37]OFD Sender: No OFD packet to send [23:37:42]OFD Sender: No OFD packet to send [23:37:47]OFD Sender: No OFD packet to send [23:37:52]OFD Sender: No OFD packet to send [23:37:57]OFD Sender: No OFD packet to send [23:38:02]OFD Sender: No OFD packet to send [23:38:07]OFD Sender: No OFD packet to send [23:38:12]OFD Sender: No OFD packet to send [23:38:17]OFD Sender: No OFD packet to send [23:38:22]OFD Sender: No OFD packet to send [23:38:27]OFD Sender: No OFD packet to send [23:38:32]OFD Sender: No OFD packet to send [23:38:37]OFD Sender: No OFD packet to send [23:38:42]OFD Sender: No OFD packet to send [23:38:47]OFD Sender: No OFD packet to send [23:38:52]OFD Sender: No OFD packet to send [23:38:57]OFD Sender: No OFD packet to send [23:39:02]OFD Sender: No OFD packet to send [23:39:07]OFD Sender: No OFD packet to send [23:39:12]OFD Sender: No OFD packet to send [23:39:17]OFD Sender: No OFD packet to send [23:39:22]OFD Sender: No OFD packet to send [23:39:27]OFD Sender: No OFD packet to send [23:39:32]OFD Sender: No OFD packet to send [23:39:37]OFD Sender: No OFD packet to send [23:39:42]OFD Sender: No OFD packet to send [23:39:47]OFD Sender: No OFD packet to send [23:39:52]OFD Sender: No OFD packet to send [23:39:57]OFD Sender: No OFD packet to send [23:40:02]OFD Sender: No OFD packet to send [23:40:07]OFD Sender: No OFD packet to send [23:40:12]OFD Sender: No OFD packet to send [23:40:17]OFD Sender: No OFD packet to send [23:40:22]OFD Sender: No OFD packet to send [23:40:27]OFD Sender: No OFD packet to send [23:40:32]OFD Sender: No OFD packet to send [23:40:37]OFD Sender: No OFD packet to send [23:40:42]OFD Sender: No OFD packet to send [23:40:47]OFD Sender: No OFD packet to send [23:40:52]OFD Sender: No OFD packet to send [23:40:57]OFD Sender: No OFD packet to send [23:41:02]OFD Sender: No OFD packet to send [23:41:07]OFD Sender: No OFD packet to send [23:41:12]OFD Sender: No OFD packet to send [23:41:17]OFD Sender: No OFD packet to send [23:41:22]OFD Sender: No OFD packet to send [23:41:27]OFD Sender: No OFD packet to send [23:41:32]OFD Sender: No OFD packet to send [23:41:37]OFD Sender: No OFD packet to send [23:41:42]OFD Sender: No OFD packet to send [23:41:47]OFD Sender: No OFD packet to send [23:41:52]OFD Sender: No OFD packet to send [23:41:57]OFD Sender: No OFD packet to send [23:42:02]OFD Sender: No OFD packet to send [23:42:07]OFD Sender: No OFD packet to send [23:42:12]OFD Sender: No OFD packet to send [23:42:17]OFD Sender: No OFD packet to send [23:42:22]OFD Sender: No OFD packet to send [23:42:27]OFD Sender: No OFD packet to send [23:42:32]OFD Sender: No OFD packet to send [23:42:37]OFD Sender: No OFD packet to send [23:42:42]OFD Sender: No OFD packet to send [23:42:47]OFD Sender: No OFD packet to send [23:42:52]OFD Sender: No OFD packet to send [23:42:57]OFD Sender: No OFD packet to send [23:43:02]OFD Sender: No OFD packet to send [23:43:07]OFD Sender: No OFD packet to send [23:43:12]OFD Sender: No OFD packet to send [23:43:17]OFD Sender: No OFD packet to send [23:43:22]OFD Sender: No OFD packet to send [23:43:27]OFD Sender: No OFD packet to send [23:43:32]OFD Sender: No OFD packet to send [23:43:37]OFD Sender: No OFD packet to send [23:43:42]OFD Sender: No OFD packet to send [23:43:47]OFD Sender: No OFD packet to send [23:43:52]OFD Sender: No OFD packet to send [23:43:57]OFD Sender: No OFD packet to send [23:44:02]OFD Sender: No OFD packet to send [23:44:07]OFD Sender: No OFD packet to send [23:44:12]OFD Sender: No OFD packet to send [23:44:17]OFD Sender: No OFD packet to send [23:44:22]OFD Sender: No OFD packet to send [23:44:27]OFD Sender: No OFD packet to send [23:44:32]OFD Sender: No OFD packet to send [23:44:37]OFD Sender: No OFD packet to send [23:44:42]OFD Sender: No OFD packet to send [23:44:47]OFD Sender: No OFD packet to send [23:44:52]OFD Sender: No OFD packet to send [23:44:57]OFD Sender: No OFD packet to send [23:45:02]OFD Sender: No OFD packet to send [23:45:07]OFD Sender: No OFD packet to send [23:45:12]OFD Sender: No OFD packet to send [23:45:17]OFD Sender: No OFD packet to send [23:45:22]OFD Sender: No OFD packet to send [23:45:27]OFD Sender: No OFD packet to send [23:45:32]OFD Sender: No OFD packet to send [23:45:37]OFD Sender: No OFD packet to send [23:45:42]OFD Sender: No OFD packet to send [23:45:47]OFD Sender: No OFD packet to send [23:45:52]OFD Sender: No OFD packet to send [23:45:57]OFD Sender: No OFD packet to send [23:46:02]OFD Sender: No OFD packet to send [23:46:07]OFD Sender: No OFD packet to send [23:46:12]OFD Sender: No OFD packet to send [23:46:17]OFD Sender: No OFD packet to send [23:46:22]OFD Sender: No OFD packet to send [23:46:27]OFD Sender: No OFD packet to send [23:46:32]OFD Sender: No OFD packet to send [23:46:37]OFD Sender: No OFD packet to send [23:46:42]OFD Sender: No OFD packet to send [23:46:47]OFD Sender: No OFD packet to send [23:46:52]OFD Sender: No OFD packet to send [23:46:57]OFD Sender: No OFD packet to send [23:47:02]OFD Sender: No OFD packet to send [23:47:07]OFD Sender: No OFD packet to send [23:47:12]OFD Sender: No OFD packet to send [23:47:17]OFD Sender: No OFD packet to send [23:47:22]OFD Sender: No OFD packet to send [23:47:27]OFD Sender: No OFD packet to send [23:47:32]OFD Sender: No OFD packet to send [23:47:37]OFD Sender: No OFD packet to send [23:47:42]OFD Sender: No OFD packet to send [23:47:47]OFD Sender: No OFD packet to send [23:47:52]OFD Sender: No OFD packet to send [23:47:57]OFD Sender: No OFD packet to send [23:48:02]OFD Sender: No OFD packet to send [23:48:07]OFD Sender: No OFD packet to send [23:48:12]OFD Sender: No OFD packet to send [23:48:17]OFD Sender: No OFD packet to send [23:48:22]OFD Sender: No OFD packet to send [23:48:27]OFD Sender: No OFD packet to send [23:48:32]OFD Sender: No OFD packet to send [23:48:37]OFD Sender: No OFD packet to send [23:48:42]OFD Sender: No OFD packet to send [23:48:47]OFD Sender: No OFD packet to send [23:48:52]OFD Sender: No OFD packet to send [23:48:57]OFD Sender: No OFD packet to send [23:49:02]OFD Sender: No OFD packet to send [23:49:07]OFD Sender: No OFD packet to send [23:49:12]OFD Sender: No OFD packet to send [23:49:17]OFD Sender: No OFD packet to send [23:49:22]OFD Sender: No OFD packet to send [23:49:27]OFD Sender: No OFD packet to send [23:49:32]OFD Sender: No OFD packet to send [23:49:37]OFD Sender: No OFD packet to send [23:49:42]OFD Sender: No OFD packet to send [23:49:47]OFD Sender: No OFD packet to send [23:49:52]OFD Sender: No OFD packet to send [23:49:57]OFD Sender: No OFD packet to send [23:50:02]OFD Sender: No OFD packet to send [23:50:07]OFD Sender: No OFD packet to send [23:50:12]OFD Sender: No OFD packet to send [23:50:17]OFD Sender: No OFD packet to send [23:50:22]OFD Sender: No OFD packet to send [23:50:27]OFD Sender: No OFD packet to send [23:50:32]OFD Sender: No OFD packet to send [23:50:37]OFD Sender: No OFD packet to send [23:50:42]OFD Sender: No OFD packet to send [23:50:47]OFD Sender: No OFD packet to send [23:50:52]OFD Sender: No OFD packet to send [23:50:57]OFD Sender: No OFD packet to send [23:51:02]OFD Sender: No OFD packet to send [23:51:07]OFD Sender: No OFD packet to send [23:51:12]OFD Sender: No OFD packet to send [23:51:17]OFD Sender: No OFD packet to send [23:51:22]OFD Sender: No OFD packet to send [23:51:27]OFD Sender: No OFD packet to send [23:51:32]OFD Sender: No OFD packet to send [23:51:37]OFD Sender: No OFD packet to send [23:51:42]OFD Sender: No OFD packet to send [23:51:47]OFD Sender: No OFD packet to send [23:51:52]OFD Sender: No OFD packet to send [23:51:57]OFD Sender: No OFD packet to send [23:52:02]OFD Sender: No OFD packet to send [23:52:07]OFD Sender: No OFD packet to send [23:52:12]OFD Sender: No OFD packet to send [23:52:17]OFD Sender: No OFD packet to send [23:52:22]OFD Sender: No OFD packet to send [23:52:27]OFD Sender: No OFD packet to send [23:52:32]OFD Sender: No OFD packet to send [23:52:37]OFD Sender: No OFD packet to send [23:52:42]OFD Sender: No OFD packet to send [23:52:47]OFD Sender: No OFD packet to send [23:52:52]OFD Sender: No OFD packet to send [23:52:57]OFD Sender: No OFD packet to send [23:53:02]OFD Sender: No OFD packet to send [23:53:07]OFD Sender: No OFD packet to send [23:53:12]OFD Sender: No OFD packet to send [23:53:17]OFD Sender: No OFD packet to send [23:53:22]OFD Sender: No OFD packet to send [23:53:27]OFD Sender: No OFD packet to send [23:53:32]OFD Sender: No OFD packet to send [23:53:37]OFD Sender: No OFD packet to send [23:53:42]OFD Sender: No OFD packet to send [23:53:47]OFD Sender: No OFD packet to send [23:53:52]OFD Sender: No OFD packet to send [23:53:57]OFD Sender: No OFD packet to send [23:54:02]OFD Sender: No OFD packet to send [23:54:07]OFD Sender: No OFD packet to send [23:54:12]OFD Sender: No OFD packet to send [23:54:17]OFD Sender: No OFD packet to send [23:54:22]OFD Sender: No OFD packet to send [23:54:27]OFD Sender: No OFD packet to send [23:54:32]OFD Sender: No OFD packet to send [23:54:37]OFD Sender: No OFD packet to send [23:54:43]OFD Sender: No OFD packet to send [23:54:48]OFD Sender: No OFD packet to send [23:54:53]OFD Sender: No OFD packet to send [23:54:58]OFD Sender: No OFD packet to send [23:55:03]OFD Sender: No OFD packet to send [23:55:08]OFD Sender: No OFD packet to send [23:55:13]OFD Sender: No OFD packet to send [23:55:18]OFD Sender: No OFD packet to send [23:55:23]OFD Sender: No OFD packet to send [23:55:28]OFD Sender: No OFD packet to send [23:55:33]OFD Sender: No OFD packet to send [23:55:38]OFD Sender: No OFD packet to send [23:55:43]OFD Sender: No OFD packet to send [23:55:48]OFD Sender: No OFD packet to send [23:55:53]OFD Sender: No OFD packet to send [23:55:58]OFD Sender: No OFD packet to send [23:56:03]OFD Sender: No OFD packet to send [23:56:08]OFD Sender: No OFD packet to send [23:56:13]OFD Sender: No OFD packet to send [23:56:18]OFD Sender: No OFD packet to send [23:56:23]OFD Sender: No OFD packet to send [23:56:28]OFD Sender: No OFD packet to send [23:56:33]OFD Sender: No OFD packet to send [23:56:38]OFD Sender: No OFD packet to send [23:56:43]OFD Sender: No OFD packet to send [23:56:48]OFD Sender: No OFD packet to send [23:56:53]OFD Sender: No OFD packet to send [23:56:58]OFD Sender: No OFD packet to send [23:57:03]OFD Sender: No OFD packet to send [23:57:08]OFD Sender: No OFD packet to send [23:57:13]OFD Sender: No OFD packet to send [23:57:18]OFD Sender: No OFD packet to send [23:57:23]OFD Sender: No OFD packet to send [23:57:28]OFD Sender: No OFD packet to send [23:57:33]OFD Sender: No OFD packet to send [23:57:38]OFD Sender: No OFD packet to send [23:57:43]OFD Sender: No OFD packet to send [23:57:48]OFD Sender: No OFD packet to send [23:57:53]OFD Sender: No OFD packet to send [23:57:58]OFD Sender: No OFD packet to send [23:58:03]OFD Sender: No OFD packet to send [23:58:08]OFD Sender: No OFD packet to send [23:58:13]OFD Sender: No OFD packet to send [23:58:18]OFD Sender: No OFD packet to send [23:58:23]OFD Sender: No OFD packet to send [23:58:28]OFD Sender: No OFD packet to send [23:58:33]OFD Sender: No OFD packet to send [23:58:38]OFD Sender: No OFD packet to send [23:58:43]OFD Sender: No OFD packet to send [23:58:48]OFD Sender: No OFD packet to send [23:58:53]OFD Sender: No OFD packet to send [23:58:58]OFD Sender: No OFD packet to send [23:59:03]OFD Sender: No OFD packet to send [23:59:08]OFD Sender: No OFD packet to send [23:59:13]OFD Sender: No OFD packet to send [23:59:18]OFD Sender: No OFD packet to send [23:59:23]OFD Sender: No OFD packet to send [23:59:28]OFD Sender: No OFD packet to send [23:59:33]OFD Sender: No OFD packet to send [23:59:38]OFD Sender: No OFD packet to send [23:59:43]OFD Sender: No OFD packet to send [23:59:48]OFD Sender: No OFD packet to send [23:59:53]OFD Sender: No OFD packet to send [23:59:58]OFD Sender: No OFD packet to send [00:00:03]OFD Sender: No OFD packet to send [00:00:08]OFD Sender: No OFD packet to send [00:00:13]OFD Sender: No OFD packet to send [00:00:18]OFD Sender: No OFD packet to send [00:00:23]OFD Sender: No OFD packet to send [00:00:28]OFD Sender: No OFD packet to send [00:00:33]OFD Sender: No OFD packet to send [00:00:38]OFD Sender: No OFD packet to send [00:00:43]OFD Sender: No OFD packet to send [00:00:48]OFD Sender: No OFD packet to send [00:00:53]OFD Sender: No OFD packet to send [00:00:58]OFD Sender: No OFD packet to send [00:01:03]OFD Sender: No OFD packet to send [00:01:08]OFD Sender: No OFD packet to send [00:01:13]OFD Sender: No OFD packet to send [00:01:18]OFD Sender: No OFD packet to send [00:01:23]OFD Sender: No OFD packet to send [00:01:28]OFD Sender: No OFD packet to send [00:01:33]OFD Sender: No OFD packet to send [00:01:38]OFD Sender: No OFD packet to send [00:01:43]OFD Sender: No OFD packet to send [00:01:48]OFD Sender: No OFD packet to send [00:01:53]OFD Sender: No OFD packet to send [00:01:58]OFD Sender: No OFD packet to send [00:02:03]OFD Sender: No OFD packet to send [00:02:08]OFD Sender: No OFD packet to send [00:02:13]OFD Sender: No OFD packet to send [00:02:18]OFD Sender: No OFD packet to send [00:02:23]OFD Sender: No OFD packet to send [00:02:28]OFD Sender: No OFD packet to send [00:02:33]OFD Sender: No OFD packet to send [00:02:38]OFD Sender: No OFD packet to send [00:02:43]OFD Sender: No OFD packet to send [00:02:48]OFD Sender: No OFD packet to send [00:02:53]OFD Sender: No OFD packet to send [00:02:58]OFD Sender: No OFD packet to send [00:03:03]OFD Sender: No OFD packet to send [00:03:08]OFD Sender: No OFD packet to send [00:03:13]OFD Sender: No OFD packet to send [00:03:18]OFD Sender: No OFD packet to send [00:03:23]OFD Sender: No OFD packet to send [00:03:28]OFD Sender: No OFD packet to send [00:03:33]OFD Sender: No OFD packet to send [00:03:38]OFD Sender: No OFD packet to send [00:03:43]OFD Sender: No OFD packet to send [00:03:48]OFD Sender: No OFD packet to send [00:03:53]OFD Sender: No OFD packet to send [00:03:58]OFD Sender: No OFD packet to send [00:04:03]OFD Sender: No OFD packet to send [00:04:08]OFD Sender: No OFD packet to send [00:04:13]OFD Sender: No OFD packet to send [00:04:18]OFD Sender: No OFD packet to send [00:04:23]OFD Sender: No OFD packet to send [00:04:28]OFD Sender: No OFD packet to send [00:04:33]OFD Sender: No OFD packet to send [00:04:38]OFD Sender: No OFD packet to send [00:04:43]OFD Sender: No OFD packet to send [00:04:48]OFD Sender: No OFD packet to send [00:04:53]OFD Sender: No OFD packet to send [00:04:58]OFD Sender: No OFD packet to send [00:05:03]OFD Sender: No OFD packet to send [00:05:08]OFD Sender: No OFD packet to send [00:05:13]OFD Sender: No OFD packet to send [00:05:18]OFD Sender: No OFD packet to send [00:05:23]OFD Sender: No OFD packet to send [00:05:28]OFD Sender: No OFD packet to send [00:05:33]OFD Sender: No OFD packet to send [00:05:38]OFD Sender: No OFD packet to send [00:05:43]OFD Sender: No OFD packet to send [00:05:48]OFD Sender: No OFD packet to send [00:05:53]OFD Sender: No OFD packet to send [00:05:58]OFD Sender: No OFD packet to send [00:06:03]OFD Sender: No OFD packet to send [00:06:08]OFD Sender: No OFD packet to send [00:06:13]OFD Sender: No OFD packet to send [00:06:18]OFD Sender: No OFD packet to send [00:06:23]OFD Sender: No OFD packet to send [00:06:28]OFD Sender: No OFD packet to send [00:06:33]OFD Sender: No OFD packet to send [00:06:38]OFD Sender: No OFD packet to send [00:06:43]OFD Sender: No OFD packet to send [00:06:48]OFD Sender: No OFD packet to send [00:06:53]OFD Sender: No OFD packet to send [00:06:58]OFD Sender: No OFD packet to send [00:07:03]OFD Sender: No OFD packet to send [00:07:08]OFD Sender: No OFD packet to send [00:07:13]OFD Sender: No OFD packet to send [00:07:17]accept exits with 9 [00:07:17]New connection [00:07:17]New thread 3066695012 created [00:07:17]Thread 3066551652 joined [00:07:17]Waiting for new connection... [00:07:17] Sock 9.Parse request [00:07:17]Sock 9.Check first char [00:07:17]Sock 9.First char is OK [00:07:17]request: POST /json_proto HTTP/1.0 [00:07:17]Method: POST [00:07:17]URL: /json_proto [00:07:17]Method is POST - this is cgi request [00:07:17]url: /json_proto [00:07:17]query_string will be loaded in cgi processing [00:07:17]execute_cgi json_proto POST (null) [00:07:17]execute_cgi path=json_proto method=POST [00:07:17]POST find Content-Length [00:07:17]Host: 172.17.62.196:8080 [00:07:17]Content-Length: 215 [00:07:17]Content-Type: application/json [00:07:17] [00:07:17]POST finish read [00:07:17]Found Content-Length = 215 [00:07:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:07:17]execute_script... [00:07:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:07:17]POST & json_proto [00:07:17]process_json_proto [00:07:17]json parsed OK: [00:07:17]protocol is kg_v1.0 [00:07:17]action value=get_value [00:07:17]process_action get_value [00:07:17]cmd_get_value [00:07:17]process_action get_value done [00:07:17]requested_data is exist [00:07:17]produce_requested_data [00:07:17]requested_item kkm.sn is exist - process it [00:07:17]requested_item kkm.ver is exist - process it [00:07:17]requested_item fm.sn is exist - process it [00:07:17]wFMCommunicate request_size=4 [00:07:17]MH_SAM_APDU [00:07:17]CAPDU: 80 11 00 00 [00:07:17]Write to MH i2c: E2 08 00 F9 02 80 11 00 00 00 00 00 00 75 [00:07:17]Write i2c OK [00:07:17]MH_I2C_Read... [00:07:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:07:17]Read from MH i2c: E2 [00:07:17]MH_I2C_Read... [00:07:17]Read from MH i2c: E2 17 00 [00:07:17]MH_I2C_Read... [00:07:17]Read from MH i2c: E2 17 00 F9 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 CE [00:07:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [00:07:17]wFMCommunicate OK [00:07:17]requested_item fd.num is exist - process it [00:07:17]SAM_PROTO_GetFieldsCounters [00:07:17]wFMCommunicate request_size=4 [00:07:17]MH_SAM_APDU [00:07:17]CAPDU: 80 13 00 00 [00:07:17]Write to MH i2c: E2 08 00 FA 02 80 13 00 00 00 00 00 00 78 [00:07:17]Write i2c OK [00:07:17]MH_I2C_Read... [00:07:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:07:17]Read from MH i2c: E2 [00:07:17]MH_I2C_Read... [00:07:17]Read from MH i2c: E2 62 00 [00:07:17]MH_I2C_Read... [00:07:17]Read from MH i2c: E2 62 00 FA 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 41 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 EC [00:07:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 41 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:07:17]wFMCommunicate OK [00:07:17]SAM_PROTO_GetFieldsCounters done [00:07:17]requested_item shift.num is exist - process it [00:07:17]requested_item shift.opened is exist - process it [00:07:17]req_shift_opened [00:07:17]FM_GetShiftState [00:07:17]SAM_PROTO_GetShiftState [00:07:17]wFMCommunicate request_size=4 [00:07:17]MH_SAM_APDU [00:07:17]CAPDU: 80 13 01 00 [00:07:17]Write to MH i2c: E2 08 00 FB 02 80 13 01 00 00 00 00 00 7A [00:07:17]Write i2c OK [00:07:17]MH_I2C_Read... [00:07:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:07:17]Read from MH i2c: E2 [00:07:17]MH_I2C_Read... [00:07:17]Read from MH i2c: E2 0E 00 [00:07:17]MH_I2C_Read... [00:07:17]Read from MH i2c: E2 0E 00 FB 02 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 67 [00:07:17]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [00:07:17]wFMCommunicate OK [00:07:17]SAM_PROTO_GetShiftState done [00:07:17]FM_GetShiftState done [00:07:17]req_shift_opened done [00:07:17]requested_item shift.open_date is exist - process it [00:07:17]req_shift_open_date [00:07:17]req_shift_open_date done [00:07:17]produce_requested_data done [00:07:17]produce_requested_data return {"kkm.sn":"0300000010","kkm.ver":"v1.0","fm.sn":"0000000000959456","fd.num":19009,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [00:07:17]process_action_free get_value [00:07:17]json_value_free [00:07:17]json_value_free done [00:07:17]process_json_proto returns [00:07:17]Send response to host [00:07:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000010","kkm.ver":"v1.0","fm.sn":"0000000000959456","fd.num":19009,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [00:07:17]free response buf [00:07:17]execute_script done [00:07:17]execute_script returns [00:07:17]free content buf [00:07:17]Sock 9.Close socket [00:07:17]Sock 9.Thread stoped [00:07:17]accept exits with 7 [00:07:17]New connection [00:07:17]New thread 3066551652 created [00:07:17]Thread 3066695012 joined [00:07:17]Waiting for new connection... [00:07:17] Sock 7.Parse request [00:07:17]Sock 7.Check first char [00:07:17]Sock 7.First char is OK [00:07:17]request: POST /json_proto HTTP/1.0 [00:07:17]Method: POST [00:07:17]URL: /json_proto [00:07:17]Method is POST - this is cgi request [00:07:17]url: /json_proto [00:07:17]query_string will be loaded in cgi processing [00:07:17]execute_cgi json_proto POST (null) [00:07:17]execute_cgi path=json_proto method=POST [00:07:17]POST find Content-Length [00:07:17]Host: 172.17.62.196:8080 [00:07:17]Content-Length: 331 [00:07:17]Content-Type: application/json [00:07:17] [00:07:17]POST finish read [00:07:17]Found Content-Length = 331 [00:07:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:07:17]execute_script... [00:07:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:07:17]POST & json_proto [00:07:17]process_json_proto [00:07:17]json parsed OK: [00:07:17]protocol is kg_v1.0 [00:07:17]action value=get_value [00:07:18]process_action get_value [00:07:18]cmd_get_value [00:07:18]process_action get_value done [00:07:18]requested_data is exist [00:07:18]produce_requested_data [00:07:18]requested_item fm.sale.total is exist - process it [00:07:18]SAM_PROTO_GetFMData [00:07:18]wFMCommunicate request_size=4 [00:07:18]MH_SAM_APDU [00:07:18]CAPDU: 80 13 03 00 [00:07:18]Write to MH i2c: E2 08 00 FC 02 80 13 03 00 00 00 00 00 7D [00:07:18]Write i2c OK [00:07:18]MH_I2C_Read... [00:07:18]OFD Sender: No OFD packet to send [00:07:18]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:07:18]Read from MH i2c: E2 [00:07:18]MH_I2C_Read... [00:07:18]Read from MH i2c: E2 FD 00 [00:07:18]MH_I2C_Read... [00:07:18]Read from MH i2c: E2 FD 00 FC 02 00 BE 04 85 04 BA 04 6E 04 04 00 D3 48 00 00 69 04 A0 00 6F 04 04 00 C4 48 00 00 B1 04 04 00 D8 16 DA 31 70 04 04 00 60 43 60 1F 72 04 04 00 78 D3 79 12 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E4 64 4B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4A EC 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 8F [00:07:18]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 D3 48 00 00 69 04 A0 00 6F 04 04 00 C4 48 00 00 B1 04 04 00 D8 16 DA 31 70 04 04 00 60 43 60 1F 72 04 04 00 78 D3 79 12 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E4 64 4B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4A EC 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 [00:07:18]wFMCommunicate OK [00:07:18]wFMCommunicate request_size=4 [00:07:18]MH_SAM_APDU [00:07:18]CAPDU: 80 17 00 00 [00:07:18]Write to MH i2c: E2 08 00 FD 02 80 17 00 00 00 00 00 00 7F [00:07:18]Write i2c OK [00:07:18]MH_I2C_Read... [00:07:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:18]Read from MH i2c: E2 [00:07:18]MH_I2C_Read... [00:07:18]Read from MH i2c: E2 FD 00 [00:07:18]MH_I2C_Read... [00:07:18]Read from MH i2c: E2 FD 00 FD 02 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 AF [00:07:18]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 [00:07:18]wFMCommunicate OK [00:07:18]wFMCommunicate request_size=4 [00:07:18]MH_SAM_APDU [00:07:18]CAPDU: 80 17 00 00 [00:07:18]Write to MH i2c: E2 08 00 FE 02 80 17 00 00 00 00 00 00 80 [00:07:18]Write i2c OK [00:07:18]MH_I2C_Read... [00:07:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:19]Read from MH i2c: E2 [00:07:19]MH_I2C_Read... [00:07:19]Read from MH i2c: E2 FD 00 [00:07:19]MH_I2C_Read... [00:07:19]Read from MH i2c: E2 FD 00 FE 02 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 B2 [00:07:19]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:07:19]wFMCommunicate OK [00:07:19]wFMCommunicate request_size=4 [00:07:19]MH_SAM_APDU [00:07:19]CAPDU: 80 17 00 00 [00:07:19]Write to MH i2c: E2 08 00 FF 02 80 17 00 00 00 00 00 00 81 [00:07:19]Write i2c OK [00:07:19]MH_I2C_Read... [00:07:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:19]Read from MH i2c: E2 [00:07:19]MH_I2C_Read... [00:07:19]Read from MH i2c: E2 FD 00 [00:07:19]MH_I2C_Read... [00:07:19]Read from MH i2c: E2 FD 00 FF 02 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 FC [00:07:19]RAPDU: 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:07:19]wFMCommunicate OK [00:07:19]wFMCommunicate request_size=4 [00:07:19]MH_SAM_APDU [00:07:19]CAPDU: 80 17 00 00 [00:07:19]Write to MH i2c: E2 08 00 00 03 80 17 00 00 00 00 00 00 83 [00:07:19]Write i2c OK [00:07:19]MH_I2C_Read... [00:07:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:07:19]Read from MH i2c: E2 [00:07:19]MH_I2C_Read... [00:07:19]Read from MH i2c: E2 DB 00 [00:07:19]MH_I2C_Read... [00:07:19]Read from MH i2c: E2 DB 00 00 03 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 65 [00:07:19]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:07:19]wFMCommunicate OK [00:07:19]SAM_PROTO_GetFMData done [00:07:19]requested_item fm.sale_refund.total is exist - process it [00:07:19]requested_item fm.buy.total is exist - process it [00:07:19]requested_item shift.sale.total is exist - process it [00:07:19]SAM_PROTO_GetShiftData [00:07:19]wFMCommunicate request_size=4 [00:07:19]MH_SAM_APDU [00:07:19]CAPDU: 80 13 02 00 [00:07:19]Write to MH i2c: E2 08 00 01 03 80 13 02 00 00 00 00 00 82 [00:07:19]Write i2c OK [00:07:19]MH_I2C_Read... [00:07:20]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:07:20]Read from MH i2c: E2 [00:07:20]MH_I2C_Read... [00:07:20]Read from MH i2c: E2 FD 00 [00:07:20]MH_I2C_Read... [00:07:20]Read from MH i2c: E2 FD 00 01 03 00 AE 04 AA 04 AA 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 57 00 00 00 B1 04 03 00 F4 8A 17 70 04 03 00 88 CD 13 72 04 03 00 6C BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 06 80 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4C 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 23 [00:07:20]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 57 00 00 00 B1 04 03 00 F4 8A 17 70 04 03 00 88 CD 13 72 04 03 00 6C BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 06 80 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4C 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:07:20]wFMCommunicate OK [00:07:20]wFMCommunicate request_size=4 [00:07:20]MH_SAM_APDU [00:07:20]CAPDU: 80 17 00 00 [00:07:20]Write to MH i2c: E2 08 00 02 03 80 17 00 00 00 00 00 00 85 [00:07:20]Write i2c OK [00:07:20]MH_I2C_Read... [00:07:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:20]Read from MH i2c: E2 [00:07:20]MH_I2C_Read... [00:07:20]Read from MH i2c: E2 FD 00 [00:07:20]MH_I2C_Read... [00:07:20]Read from MH i2c: E2 FD 00 02 03 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 A7 [00:07:20]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:07:20]wFMCommunicate OK [00:07:20]wFMCommunicate request_size=4 [00:07:20]MH_SAM_APDU [00:07:20]CAPDU: 80 17 00 00 [00:07:20]Write to MH i2c: E2 08 00 03 03 80 17 00 00 00 00 00 00 86 [00:07:20]Write i2c OK [00:07:20]MH_I2C_Read... [00:07:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:20]Read from MH i2c: E2 [00:07:20]MH_I2C_Read... [00:07:20]Read from MH i2c: E2 FD 00 [00:07:20]MH_I2C_Read... [00:07:20]Read from MH i2c: E2 FD 00 03 03 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 3D [00:07:20]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:07:20]wFMCommunicate OK [00:07:20]wFMCommunicate request_size=4 [00:07:20]MH_SAM_APDU [00:07:20]CAPDU: 80 17 00 00 [00:07:20]Write to MH i2c: E2 08 00 04 03 80 17 00 00 00 00 00 00 87 [00:07:20]Write i2c OK [00:07:20]MH_I2C_Read... [00:07:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:21]Read from MH i2c: E2 [00:07:21]MH_I2C_Read... [00:07:21]Read from MH i2c: E2 FD 00 [00:07:21]MH_I2C_Read... [00:07:21]Read from MH i2c: E2 FD 00 04 03 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 F9 [00:07:21]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:07:21]wFMCommunicate OK [00:07:21]wFMCommunicate request_size=4 [00:07:21]MH_SAM_APDU [00:07:21]CAPDU: 80 17 00 00 [00:07:21]Write to MH i2c: E2 08 00 05 03 80 17 00 00 00 00 00 00 88 [00:07:21]Write i2c OK [00:07:21]MH_I2C_Read... [00:07:21]Read from MH i2c: E2 [00:07:21]MH_I2C_Read... [00:07:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:07:21]Read from MH i2c: E2 CB 00 [00:07:21]MH_I2C_Read... [00:07:21]Read from MH i2c: E2 CB 00 05 03 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 71 [00:07:21]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:07:21]wFMCommunicate OK [00:07:21]SAM_PROTO_GetShiftData done [00:07:21]requested_item shift.sale.total_cash is exist - process it [00:07:21]requested_item shift.sale_refund.total is exist - process it [00:07:21]requested_item shift.sale_refund.total_cash is exist - process it [00:07:21]requested_item shift.buy.total is exist - process it [00:07:21]requested_item shift.buy.total_cash is exist - process it [00:07:21]produce_requested_data done [00:07:21]produce_requested_data return {"fm.sale.total":8363762.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":15429.00,"shift.sale.total_cash":12978.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:07:21]process_action_free get_value [00:07:21]json_value_free [00:07:21]json_value_free done [00:07:21]process_json_proto returns [00:07:21]Send response to host [00:07:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8363762.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":15429.00,"shift.sale.total_cash":12978.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:07:21]free response buf [00:07:21]execute_script done [00:07:21]execute_script returns [00:07:21]free content buf [00:07:21]Sock 7.Close socket [00:07:21]Sock 7.Thread stoped [00:07:21]accept exits with 9 [00:07:21]New connection [00:07:21]New thread 3066695012 created [00:07:21]Thread 3066551652 joined [00:07:21]Waiting for new connection... [00:07:21] Sock 9.Parse request [00:07:21]Sock 9.Check first char [00:07:21]Sock 9.First char is OK [00:07:21]request: POST /json_proto HTTP/1.0 [00:07:21]Method: POST [00:07:21]URL: /json_proto [00:07:21]Method is POST - this is cgi request [00:07:21]url: /json_proto [00:07:21]query_string will be loaded in cgi processing [00:07:21]execute_cgi json_proto POST (null) [00:07:21]execute_cgi path=json_proto method=POST [00:07:21]POST find Content-Length [00:07:21]Host: 172.17.62.196:8080 [00:07:21]Content-Length: 331 [00:07:21]Content-Type: application/json [00:07:21] [00:07:21]POST finish read [00:07:21]Found Content-Length = 331 [00:07:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:07:21]execute_script... [00:07:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:07:21]POST & json_proto [00:07:21]process_json_proto [00:07:21]json parsed OK: [00:07:21]protocol is kg_v1.0 [00:07:21]action value=get_value [00:07:21]process_action get_value [00:07:21]cmd_get_value [00:07:21]process_action get_value done [00:07:21]requested_data is exist [00:07:21]produce_requested_data [00:07:21]requested_item fm.sale.total is exist - process it [00:07:21]SAM_PROTO_GetFMData [00:07:21]wFMCommunicate request_size=4 [00:07:21]MH_SAM_APDU [00:07:21]CAPDU: 80 13 03 00 [00:07:21]Write to MH i2c: E2 08 00 06 03 80 13 03 00 00 00 00 00 88 [00:07:21]Write i2c OK [00:07:21]MH_I2C_Read... [00:07:21]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:07:21]Read from MH i2c: E2 [00:07:21]MH_I2C_Read... [00:07:21]Read from MH i2c: E2 FD 00 [00:07:21]MH_I2C_Read... [00:07:21]Read from MH i2c: E2 FD 00 06 03 00 BE 04 85 04 BA 04 6E 04 04 00 D3 48 00 00 69 04 A0 00 6F 04 04 00 C4 48 00 00 B1 04 04 00 D8 16 DA 31 70 04 04 00 60 43 60 1F 72 04 04 00 78 D3 79 12 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E4 64 4B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4A EC 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 9A [00:07:21]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 D3 48 00 00 69 04 A0 00 6F 04 04 00 C4 48 00 00 B1 04 04 00 D8 16 DA 31 70 04 04 00 60 43 60 1F 72 04 04 00 78 D3 79 12 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E4 64 4B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4A EC 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 [00:07:22]wFMCommunicate OK [00:07:22]wFMCommunicate request_size=4 [00:07:22]MH_SAM_APDU [00:07:22]CAPDU: 80 17 00 00 [00:07:22]Write to MH i2c: E2 08 00 07 03 80 17 00 00 00 00 00 00 8A [00:07:22]Write i2c OK [00:07:22]MH_I2C_Read... [00:07:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:22]Read from MH i2c: E2 [00:07:22]MH_I2C_Read... [00:07:22]Read from MH i2c: E2 FD 00 [00:07:22]MH_I2C_Read... [00:07:22]Read from MH i2c: E2 FD 00 07 03 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 BA [00:07:22]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 [00:07:22]wFMCommunicate OK [00:07:22]wFMCommunicate request_size=4 [00:07:22]MH_SAM_APDU [00:07:22]CAPDU: 80 17 00 00 [00:07:22]Write to MH i2c: E2 08 00 08 03 80 17 00 00 00 00 00 00 8B [00:07:22]Write i2c OK [00:07:22]MH_I2C_Read... [00:07:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:22]Read from MH i2c: E2 [00:07:22]MH_I2C_Read... [00:07:22]Read from MH i2c: E2 FD 00 [00:07:22]MH_I2C_Read... [00:07:22]Read from MH i2c: E2 FD 00 08 03 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 BD [00:07:22]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:07:22]wFMCommunicate OK [00:07:22]wFMCommunicate request_size=4 [00:07:22]MH_SAM_APDU [00:07:22]CAPDU: 80 17 00 00 [00:07:22]Write to MH i2c: E2 08 00 09 03 80 17 00 00 00 00 00 00 8C [00:07:22]Write i2c OK [00:07:22]MH_I2C_Read... [00:07:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:22]Read from MH i2c: E2 [00:07:22]MH_I2C_Read... [00:07:22]Read from MH i2c: E2 FD 00 [00:07:22]MH_I2C_Read... [00:07:22]Read from MH i2c: E2 FD 00 09 03 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 07 [00:07:23]RAPDU: 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:07:23]wFMCommunicate OK [00:07:23]wFMCommunicate request_size=4 [00:07:23]MH_SAM_APDU [00:07:23]CAPDU: 80 17 00 00 [00:07:23]Write to MH i2c: E2 08 00 0A 03 80 17 00 00 00 00 00 00 8D [00:07:23]Write i2c OK [00:07:23]MH_I2C_Read... [00:07:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:07:23]Read from MH i2c: E2 [00:07:23]MH_I2C_Read... [00:07:23]Read from MH i2c: E2 DB 00 [00:07:23]MH_I2C_Read... [00:07:23]Read from MH i2c: E2 DB 00 0A 03 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 6F [00:07:23]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:07:23]wFMCommunicate OK [00:07:23]SAM_PROTO_GetFMData done [00:07:23]requested_item fm.sale_refund.total is exist - process it [00:07:23]requested_item fm.buy.total is exist - process it [00:07:23]requested_item shift.sale.total is exist - process it [00:07:23]SAM_PROTO_GetShiftData [00:07:23]wFMCommunicate request_size=4 [00:07:23]MH_SAM_APDU [00:07:23]CAPDU: 80 13 02 00 [00:07:23]Write to MH i2c: E2 08 00 0B 03 80 13 02 00 00 00 00 00 8C [00:07:23]Write i2c OK [00:07:23]MH_I2C_Read... [00:07:23]OFD Sender: No OFD packet to send [00:07:23]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:07:23]Read from MH i2c: E2 [00:07:23]MH_I2C_Read... [00:07:23]Read from MH i2c: E2 FD 00 [00:07:23]MH_I2C_Read... [00:07:23]Read from MH i2c: E2 FD 00 0B 03 00 AE 04 AA 04 AA 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 57 00 00 00 B1 04 03 00 F4 8A 17 70 04 03 00 88 CD 13 72 04 03 00 6C BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 06 80 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4C 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 2D [00:07:23]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 57 00 00 00 B1 04 03 00 F4 8A 17 70 04 03 00 88 CD 13 72 04 03 00 6C BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 06 80 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4C 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:07:24]wFMCommunicate OK [00:07:24]wFMCommunicate request_size=4 [00:07:24]MH_SAM_APDU [00:07:24]CAPDU: 80 17 00 00 [00:07:24]Write to MH i2c: E2 08 00 0C 03 80 17 00 00 00 00 00 00 8F [00:07:24]Write i2c OK [00:07:24]MH_I2C_Read... [00:07:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:24]Read from MH i2c: E2 [00:07:24]MH_I2C_Read... [00:07:24]Read from MH i2c: E2 FD 00 [00:07:24]MH_I2C_Read... [00:07:24]Read from MH i2c: E2 FD 00 0C 03 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 B1 [00:07:24]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:07:24]wFMCommunicate OK [00:07:24]wFMCommunicate request_size=4 [00:07:24]MH_SAM_APDU [00:07:24]CAPDU: 80 17 00 00 [00:07:24]Write to MH i2c: E2 08 00 0D 03 80 17 00 00 00 00 00 00 90 [00:07:24]Write i2c OK [00:07:24]MH_I2C_Read... [00:07:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:24]Read from MH i2c: E2 [00:07:24]MH_I2C_Read... [00:07:24]Read from MH i2c: E2 FD 00 [00:07:24]MH_I2C_Read... [00:07:24]Read from MH i2c: E2 FD 00 0D 03 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 47 [00:07:24]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:07:24]wFMCommunicate OK [00:07:24]wFMCommunicate request_size=4 [00:07:24]MH_SAM_APDU [00:07:24]CAPDU: 80 17 00 00 [00:07:24]Write to MH i2c: E2 08 00 0E 03 80 17 00 00 00 00 00 00 91 [00:07:24]Write i2c OK [00:07:24]MH_I2C_Read... [00:07:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:25]Read from MH i2c: E2 [00:07:25]MH_I2C_Read... [00:07:25]Read from MH i2c: E2 FD 00 [00:07:25]MH_I2C_Read... [00:07:25]Read from MH i2c: E2 FD 00 0E 03 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 03 [00:07:25]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:07:25]wFMCommunicate OK [00:07:25]wFMCommunicate request_size=4 [00:07:25]MH_SAM_APDU [00:07:25]CAPDU: 80 17 00 00 [00:07:25]Write to MH i2c: E2 08 00 0F 03 80 17 00 00 00 00 00 00 92 [00:07:25]Write i2c OK [00:07:25]MH_I2C_Read... [00:07:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:07:25]Read from MH i2c: E2 [00:07:25]MH_I2C_Read... [00:07:25]Read from MH i2c: E2 CB 00 [00:07:25]MH_I2C_Read... [00:07:25]Read from MH i2c: E2 CB 00 0F 03 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7B [00:07:25]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:07:25]wFMCommunicate OK [00:07:25]SAM_PROTO_GetShiftData done [00:07:25]requested_item shift.sale.total_cash is exist - process it [00:07:25]requested_item shift.sale_refund.total is exist - process it [00:07:25]requested_item shift.sale_refund.total_cash is exist - process it [00:07:25]requested_item shift.buy.total is exist - process it [00:07:25]requested_item shift.buy.total_cash is exist - process it [00:07:25]produce_requested_data done [00:07:25]produce_requested_data return {"fm.sale.total":8363762.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":15429.00,"shift.sale.total_cash":12978.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:07:25]process_action_free get_value [00:07:25]json_value_free [00:07:25]json_value_free done [00:07:25]process_json_proto returns [00:07:25]Send response to host [00:07:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8363762.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":15429.00,"shift.sale.total_cash":12978.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:07:25]free response buf [00:07:25]execute_script done [00:07:25]execute_script returns [00:07:25]free content buf [00:07:25]Sock 9.Close socket [00:07:25]Sock 9.Thread stoped [00:07:25]accept exits with 7 [00:07:25]New connection [00:07:25]New thread 3066551652 created [00:07:25]Thread 3066695012 joined [00:07:25]Waiting for new connection... [00:07:25] Sock 7.Parse request [00:07:25]Sock 7.Check first char [00:07:25]Sock 7.First char is OK [00:07:25]request: POST /json_proto HTTP/1.0 [00:07:25]Method: POST [00:07:25]URL: /json_proto [00:07:25]Method is POST - this is cgi request [00:07:25]url: /json_proto [00:07:25]query_string will be loaded in cgi processing [00:07:25]execute_cgi json_proto POST (null) [00:07:25]execute_cgi path=json_proto method=POST [00:07:25]POST find Content-Length [00:07:25]Host: 172.17.62.196:8080 [00:07:25]Content-Length: 287 [00:07:25]Content-Type: application/json [00:07:25] [00:07:25]POST finish read [00:07:25]Found Content-Length = 287 [00:07:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0410\u0431\u0434\u044B\u0440\u0430\u0445\u043C\u0430\u043D\u043E\u0432\u0430 \u0416. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:07:25]execute_script... [00:07:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0410\u0431\u0434\u044B\u0440\u0430\u0445\u043C\u0430\u043D\u043E\u0432\u0430 \u0416. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:07:25]POST & json_proto [00:07:25]process_json_proto [00:07:25]json parsed OK: [00:07:25]protocol is kg_v1.0 [00:07:25]action value=x_report [00:07:25]process_action x_report [00:07:25]cmd_x_report [00:07:25]MH_GetDate [00:07:25]Write to MH i2c: F0 00 00 10 03 02 [00:07:25]Write i2c OK [00:07:25]MH_I2C_Read... [00:07:25]Read from MH i2c: F0 [00:07:25]MH_I2C_Read... [00:07:25]Read from MH i2c: F0 09 00 [00:07:25]MH_I2C_Read... [00:07:25]Read from MH i2c: F0 09 00 10 03 00 BE A5 F4 66 CE CC 0E 66 D6 [00:07:25]GetLastDocTimeStamp 1727306594 [00:07:25]current date 1727309246 [00:07:25]FM_GetShiftState [00:07:25]SAM_PROTO_GetShiftState [00:07:25]wFMCommunicate request_size=4 [00:07:25]MH_SAM_APDU [00:07:25]CAPDU: 80 13 01 00 [00:07:25]Write to MH i2c: E2 08 00 11 03 80 13 01 00 00 00 00 00 91 [00:07:25]Write i2c OK [00:07:25]MH_I2C_Read... [00:07:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:07:25]Read from MH i2c: E2 [00:07:25]MH_I2C_Read... [00:07:25]Read from MH i2c: E2 0E 00 [00:07:25]MH_I2C_Read... [00:07:25]Read from MH i2c: E2 0E 00 11 03 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 7E [00:07:25]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [00:07:25]wFMCommunicate OK [00:07:25]SAM_PROTO_GetShiftState done [00:07:25]FM_GetShiftState done [00:07:25]KKMCreateXReportDocument [00:07:25]Load OK [00:07:25]Malloc new data [00:07:25]MH_GetDate [00:07:25]Write to MH i2c: F0 00 00 12 03 04 [00:07:25]Write i2c OK [00:07:25]MH_I2C_Read... [00:07:25]Read from MH i2c: F0 [00:07:25]MH_I2C_Read... [00:07:25]Read from MH i2c: F0 09 00 [00:07:25]MH_I2C_Read... [00:07:25]Read from MH i2c: F0 09 00 12 03 00 BE A5 F4 66 CE CC 0E 66 D8 [00:07:25]Malloc new data [00:07:25]Malloc new data [00:07:25]wFMCommunicate request_size=4 [00:07:25]MH_SAM_APDU [00:07:25]CAPDU: 80 11 00 00 [00:07:25]Write to MH i2c: E2 08 00 13 03 80 11 00 00 00 00 00 00 90 [00:07:25]Write i2c OK [00:07:25]MH_I2C_Read... [00:07:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:07:25]Read from MH i2c: E2 [00:07:25]MH_I2C_Read... [00:07:25]Read from MH i2c: E2 17 00 [00:07:25]MH_I2C_Read... [00:07:25]Read from MH i2c: E2 17 00 13 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 E9 [00:07:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [00:07:25]wFMCommunicate OK [00:07:25]SAM_PROTO_GetFieldsCounters [00:07:25]wFMCommunicate request_size=4 [00:07:25]MH_SAM_APDU [00:07:25]CAPDU: 80 13 00 00 [00:07:25]Write to MH i2c: E2 08 00 14 03 80 13 00 00 00 00 00 00 93 [00:07:25]Write i2c OK [00:07:25]MH_I2C_Read... [00:07:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:07:25]Read from MH i2c: E2 [00:07:25]MH_I2C_Read... [00:07:25]Read from MH i2c: E2 62 00 [00:07:25]MH_I2C_Read... [00:07:25]Read from MH i2c: E2 62 00 14 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 41 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 07 [00:07:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 41 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:07:26]wFMCommunicate OK [00:07:26]SAM_PROTO_GetFieldsCounters done [00:07:26]Malloc new data [00:07:26]Malloc new data [00:07:26]Malloc new data [00:07:26]KKMCreateXReportDocument OK [00:07:26]KKMSetXReportData OK [00:07:26]KKMPrepareXReportFMData [00:07:26]SAM_PROTO_GetShiftData [00:07:26]wFMCommunicate request_size=4 [00:07:26]MH_SAM_APDU [00:07:26]CAPDU: 80 13 02 00 [00:07:26]Write to MH i2c: E2 08 00 15 03 80 13 02 00 00 00 00 00 96 [00:07:26]Write i2c OK [00:07:26]MH_I2C_Read... [00:07:26]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:07:26]Read from MH i2c: E2 [00:07:26]MH_I2C_Read... [00:07:26]Read from MH i2c: E2 FD 00 [00:07:26]MH_I2C_Read... [00:07:26]Read from MH i2c: E2 FD 00 15 03 00 AE 04 AA 04 AA 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 57 00 00 00 B1 04 03 00 F4 8A 17 70 04 03 00 88 CD 13 72 04 03 00 6C BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 06 80 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4C 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 37 [00:07:26]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 57 00 00 00 B1 04 03 00 F4 8A 17 70 04 03 00 88 CD 13 72 04 03 00 6C BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 06 80 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4C 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:07:26]wFMCommunicate OK [00:07:26]wFMCommunicate request_size=4 [00:07:26]MH_SAM_APDU [00:07:26]CAPDU: 80 17 00 00 [00:07:26]Write to MH i2c: E2 08 00 16 03 80 17 00 00 00 00 00 00 99 [00:07:26]Write i2c OK [00:07:26]MH_I2C_Read... [00:07:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:26]Read from MH i2c: E2 [00:07:26]MH_I2C_Read... [00:07:26]Read from MH i2c: E2 FD 00 [00:07:26]MH_I2C_Read... [00:07:26]Read from MH i2c: E2 FD 00 16 03 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BB [00:07:27]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:07:27]wFMCommunicate OK [00:07:27]wFMCommunicate request_size=4 [00:07:27]MH_SAM_APDU [00:07:27]CAPDU: 80 17 00 00 [00:07:27]Write to MH i2c: E2 08 00 17 03 80 17 00 00 00 00 00 00 9A [00:07:27]Write i2c OK [00:07:27]MH_I2C_Read... [00:07:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:27]Read from MH i2c: E2 [00:07:27]MH_I2C_Read... [00:07:27]Read from MH i2c: E2 FD 00 [00:07:27]MH_I2C_Read... [00:07:27]Read from MH i2c: E2 FD 00 17 03 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 51 [00:07:27]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:07:27]wFMCommunicate OK [00:07:27]wFMCommunicate request_size=4 [00:07:27]MH_SAM_APDU [00:07:27]CAPDU: 80 17 00 00 [00:07:27]Write to MH i2c: E2 08 00 18 03 80 17 00 00 00 00 00 00 9B [00:07:27]Write i2c OK [00:07:27]MH_I2C_Read... [00:07:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:27]Read from MH i2c: E2 [00:07:27]MH_I2C_Read... [00:07:27]Read from MH i2c: E2 FD 00 [00:07:27]MH_I2C_Read... [00:07:27]Read from MH i2c: E2 FD 00 18 03 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 0D [00:07:27]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:07:28]wFMCommunicate OK [00:07:28]wFMCommunicate request_size=4 [00:07:28]MH_SAM_APDU [00:07:28]CAPDU: 80 17 00 00 [00:07:28]Write to MH i2c: E2 08 00 19 03 80 17 00 00 00 00 00 00 9C [00:07:28]Write i2c OK [00:07:28]MH_I2C_Read... [00:07:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:07:28]Read from MH i2c: E2 [00:07:28]MH_I2C_Read... [00:07:28]Read from MH i2c: E2 CB 00 [00:07:28]MH_I2C_Read... [00:07:28]Read from MH i2c: E2 CB 00 19 03 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [00:07:28]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:07:28]wFMCommunicate OK [00:07:28]SAM_PROTO_GetShiftData done [00:07:28]1194 (1194) - счетчики итогов смены [00:07:28] 1134 (4) - 87 - количество чеков со всеми признаками расчетов [00:07:28] 1129 (155) - счетчики операций «приход» [00:07:28] 1135 (4) - 87 - количество чеков по признаку расчетов [00:07:28] 1201 (3) - 15429.00 - общая итоговая сумма в чеках [00:07:28] 1136 (3) - 12978.00 - итоговая сумма в чеках наличными [00:07:28] 1138 (3) - 2451.00 - итоговая сумма в чеках безналичными [00:07:28] 1024 (122) - суммы налогов [00:07:28] 1006 (9) - суммы НДС [00:07:28] 1010 (1) - 0% - код ставки НДС [00:07:28] 1011 (0) - 0.00 - сумма НДС по ставке [00:07:28] 1006 (12) - суммы НДС [00:07:28] 1010 (1) - 12% - код ставки НДС [00:07:28] 1011 (3) - 1638.46 - сумма НДС по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 0% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (11) - суммы НСП [00:07:28] 1014 (1) - 1% - код ставки НСП [00:07:28] 1015 (2) - 136.44 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 2% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 3% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 5% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 0,50% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 1,50% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1130 (141) - счетчики операций «возврат прихода» [00:07:28] 1135 (4) - 0 - количество чеков по признаку расчетов [00:07:28] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:07:28] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:07:28] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:07:28] 1024 (117) - суммы налогов [00:07:28] 1006 (9) - суммы НДС [00:07:28] 1010 (1) - 0% - код ставки НДС [00:07:28] 1011 (0) - 0.00 - сумма НДС по ставке [00:07:28] 1006 (9) - суммы НДС [00:07:28] 1010 (1) - 12% - код ставки НДС [00:07:28] 1011 (0) - 0.00 - сумма НДС по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 0% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 1% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 2% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 3% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 5% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 0,50% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 1,50% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1131 (141) - счетчики операций «расход» [00:07:28] 1135 (4) - 0 - количество чеков по признаку расчетов [00:07:28] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:07:28] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:07:28] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:07:28] 1024 (117) - суммы налогов [00:07:28] 1006 (9) - суммы НДС [00:07:28] 1010 (1) - 0% - код ставки НДС [00:07:28] 1011 (0) - 0.00 - сумма НДС по ставке [00:07:28] 1006 (9) - суммы НДС [00:07:28] 1010 (1) - 12% - код ставки НДС [00:07:28] 1011 (0) - 0.00 - сумма НДС по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 0% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 1% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 2% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 3% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 5% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 0,50% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 1,50% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1132 (141) - счетчики операций «возврат расхода» [00:07:28] 1135 (4) - 0 - количество чеков по признаку расчетов [00:07:28] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:07:28] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:07:28] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:07:28] 1024 (117) - суммы налогов [00:07:28] 1006 (9) - суммы НДС [00:07:28] 1010 (1) - 0% - код ставки НДС [00:07:28] 1011 (0) - 0.00 - сумма НДС по ставке [00:07:28] 1006 (9) - суммы НДС [00:07:28] 1010 (1) - 12% - код ставки НДС [00:07:28] 1011 (0) - 0.00 - сумма НДС по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 0% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 1% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 2% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 3% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 5% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 0,50% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1007 (9) - суммы НСП [00:07:28] 1014 (1) - 1,50% - код ставки НСП [00:07:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:07:28] 1133 (588) - - счетчики коррекции - не используются [00:07:28]SetTLVBufToDocument [00:07:28]Processing tag 1194 (04AA) [00:07:28]Load OK [00:07:28]SetTLVBufToDocument [00:07:28]Processing tag 1134 (046E) [00:07:28]Malloc new data [00:07:28]Processing tag 1129 (0469) [00:07:28]Load OK [00:07:28]SetTLVBufToDocument [00:07:28]Processing tag 1135 (046F) [00:07:28]Malloc new data [00:07:28]Processing tag 1201 (04B1) [00:07:28]Malloc new data [00:07:28]Processing tag 1136 (0470) [00:07:28]Malloc new data [00:07:28]Processing tag 1138 (0472) [00:07:28]Malloc new data [00:07:28]Processing tag 1024 (0400) [00:07:28]Load OK [00:07:28]SetTLVBufToDocument [00:07:28]Processing tag 1006 (03EE) [00:07:28]Load OK [00:07:28]SetTLVBufToDocument [00:07:28]Processing tag 1010 (03F2) [00:07:29]Malloc new data [00:07:29]Processing tag 1011 (03F3) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1006 (03EE) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1010 (03F2) [00:07:29]Malloc new data [00:07:29]Processing tag 1011 (03F3) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]OFD Sender: No OFD packet to send [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]SetTLVBufToDocument err=0 [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1130 (046A) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1135 (046F) [00:07:29]Malloc new data [00:07:29]Processing tag 1201 (04B1) [00:07:29]Malloc new data [00:07:29]Processing tag 1136 (0470) [00:07:29]Malloc new data [00:07:29]Processing tag 1138 (0472) [00:07:29]Malloc new data [00:07:29]Processing tag 1024 (0400) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1006 (03EE) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1010 (03F2) [00:07:29]Malloc new data [00:07:29]Processing tag 1011 (03F3) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1006 (03EE) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1010 (03F2) [00:07:29]Malloc new data [00:07:29]Processing tag 1011 (03F3) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]SetTLVBufToDocument err=0 [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1131 (046B) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1135 (046F) [00:07:29]Malloc new data [00:07:29]Processing tag 1201 (04B1) [00:07:29]Malloc new data [00:07:29]Processing tag 1136 (0470) [00:07:29]Malloc new data [00:07:29]Processing tag 1138 (0472) [00:07:29]Malloc new data [00:07:29]Processing tag 1024 (0400) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1006 (03EE) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1010 (03F2) [00:07:29]Malloc new data [00:07:29]Processing tag 1011 (03F3) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1006 (03EE) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1010 (03F2) [00:07:29]Malloc new data [00:07:29]Processing tag 1011 (03F3) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]SetTLVBufToDocument err=0 [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1132 (046C) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1135 (046F) [00:07:29]Malloc new data [00:07:29]Processing tag 1201 (04B1) [00:07:29]Malloc new data [00:07:29]Processing tag 1136 (0470) [00:07:29]Malloc new data [00:07:29]Processing tag 1138 (0472) [00:07:29]Malloc new data [00:07:29]Processing tag 1024 (0400) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1006 (03EE) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1010 (03F2) [00:07:29]Malloc new data [00:07:29]Processing tag 1011 (03F3) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1006 (03EE) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1010 (03F2) [00:07:29]Malloc new data [00:07:29]Processing tag 1011 (03F3) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1007 (03EF) [00:07:29]Load OK [00:07:29]SetTLVBufToDocument [00:07:29]Processing tag 1014 (03F6) [00:07:29]Malloc new data [00:07:29]Processing tag 1015 (03F7) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]SetTLVBufToDocument err=0 [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Processing tag 1133 (046D) [00:07:29]Malloc new data [00:07:29]SetTLVBufToDocument err=0 [00:07:29]SetTLVBufToDocument err=0 [00:07:29]Malloc new data [00:07:29]SAM_PROTO_GetFMData [00:07:29]wFMCommunicate request_size=4 [00:07:29]MH_SAM_APDU [00:07:29]CAPDU: 80 13 03 00 [00:07:29]Write to MH i2c: E2 08 00 1A 03 80 13 03 00 00 00 00 00 9C [00:07:29]Write i2c OK [00:07:29]MH_I2C_Read... [00:07:30]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:07:30]Read from MH i2c: E2 [00:07:30]MH_I2C_Read... [00:07:30]Read from MH i2c: E2 FD 00 [00:07:30]MH_I2C_Read... [00:07:30]Read from MH i2c: E2 FD 00 1A 03 00 BE 04 85 04 BA 04 6E 04 04 00 D3 48 00 00 69 04 A0 00 6F 04 04 00 C4 48 00 00 B1 04 04 00 D8 16 DA 31 70 04 04 00 60 43 60 1F 72 04 04 00 78 D3 79 12 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E4 64 4B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4A EC 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 AE [00:07:30]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 D3 48 00 00 69 04 A0 00 6F 04 04 00 C4 48 00 00 B1 04 04 00 D8 16 DA 31 70 04 04 00 60 43 60 1F 72 04 04 00 78 D3 79 12 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E4 64 4B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4A EC 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 [00:07:30]wFMCommunicate OK [00:07:30]wFMCommunicate request_size=4 [00:07:30]MH_SAM_APDU [00:07:30]CAPDU: 80 17 00 00 [00:07:30]Write to MH i2c: E2 08 00 1B 03 80 17 00 00 00 00 00 00 9E [00:07:30]Write i2c OK [00:07:30]MH_I2C_Read... [00:07:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:30]Read from MH i2c: E2 [00:07:30]MH_I2C_Read... [00:07:30]Read from MH i2c: E2 FD 00 [00:07:30]MH_I2C_Read... [00:07:30]Read from MH i2c: E2 FD 00 1B 03 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 CE [00:07:30]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 [00:07:30]wFMCommunicate OK [00:07:30]wFMCommunicate request_size=4 [00:07:30]MH_SAM_APDU [00:07:30]CAPDU: 80 17 00 00 [00:07:30]Write to MH i2c: E2 08 00 1C 03 80 17 00 00 00 00 00 00 9F [00:07:30]Write i2c OK [00:07:30]MH_I2C_Read... [00:07:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:31]Read from MH i2c: E2 [00:07:31]MH_I2C_Read... [00:07:31]Read from MH i2c: E2 FD 00 [00:07:31]MH_I2C_Read... [00:07:31]Read from MH i2c: E2 FD 00 1C 03 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 D1 [00:07:31]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:07:31]wFMCommunicate OK [00:07:31]wFMCommunicate request_size=4 [00:07:31]MH_SAM_APDU [00:07:31]CAPDU: 80 17 00 00 [00:07:31]Write to MH i2c: E2 08 00 1D 03 80 17 00 00 00 00 00 00 A0 [00:07:31]Write i2c OK [00:07:31]MH_I2C_Read... [00:07:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:31]Read from MH i2c: E2 [00:07:31]MH_I2C_Read... [00:07:31]Read from MH i2c: E2 FD 00 [00:07:31]MH_I2C_Read... [00:07:31]Read from MH i2c: E2 FD 00 1D 03 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 1B [00:07:31]RAPDU: 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:07:31]wFMCommunicate OK [00:07:31]wFMCommunicate request_size=4 [00:07:31]MH_SAM_APDU [00:07:31]CAPDU: 80 17 00 00 [00:07:31]Write to MH i2c: E2 08 00 1E 03 80 17 00 00 00 00 00 00 A1 [00:07:31]Write i2c OK [00:07:31]MH_I2C_Read... [00:07:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:07:32]Read from MH i2c: E2 [00:07:32]MH_I2C_Read... [00:07:32]Read from MH i2c: E2 DB 00 [00:07:32]MH_I2C_Read... [00:07:32]Read from MH i2c: E2 DB 00 1E 03 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 83 [00:07:32]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:07:32]wFMCommunicate OK [00:07:32]SAM_PROTO_GetFMData done [00:07:32]FM_GetFMData:85 04 BA 04 6E 04 04 00 D3 48 00 00 69 04 A0 00 6F 04 04 00 C4 48 00 00 B1 04 04 00 D8 16 DA 31 70 04 04 00 60 43 60 1F 72 04 04 00 78 D3 79 12 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E4 64 4B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4A EC 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:07:33]oper:6F 04 04 00 C4 48 00 00 B1 04 04 00 D8 16 DA 31 70 04 04 00 60 43 60 1F 72 04 04 00 78 D3 79 12 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E4 64 4B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4A EC 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:07:33]total:D8 16 DA 31 [00:07:33]Malloc new data [00:07:33]oper:6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:07:33]total:00 8C 55 [00:07:33]Malloc new data [00:07:33]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:07:33]total: [00:07:33]Malloc new data [00:07:33]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:07:33]total: [00:07:33]Malloc new data [00:07:33]KKMPrepareXReportFMData err=0 [00:07:33]Х отчет ИНН: 02508201610067 Кассир: Абдырахманова Ж. 26.09.2024 00:07 Смена: 10 РНМ: 0000000000152968 ЗНМ: 0300000010 СНО: Общий режим Всего чеков: 87 ИТОГИ ПРИХОД Чеков: 87 Общий итог: 15429.00 Итого наличными: 12978.00 Итого безнал.: 2451.00 НДС 0% : 0.00 НДС 12% : 1638.46 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 136.44 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ РАСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ ВОЗВРАТ РАСХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 Сумма внесений: 0.00 Сумма выплат: 0.00 Нал. в кассе: 12978.00 НС Приход: 8363762.80 НС Возвр.Прихода: 56064.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000959456 [00:07:33]StoreToDocumentArchive [00:07:33]MH_GetDate [00:07:33]Write to MH i2c: F0 00 00 1F 03 11 [00:07:33]Write i2c OK [00:07:33]MH_I2C_Read... [00:07:33]Read from MH i2c: F0 [00:07:33]MH_I2C_Read... [00:07:33]Read from MH i2c: F0 09 00 [00:07:33]MH_I2C_Read... [00:07:33]Read from MH i2c: F0 09 00 1F 03 00 C6 A5 F4 66 CE CC 0E 66 ED [00:07:33]shift 10 fd 1727309254 [00:07:33]Create dir for shift 0010 [00:07:33]save to /storage/0010/doc_1727309254 [00:07:33]save last doc name /storage/0010/doc_1727309254 to /storage/kkm_last_doc_name [00:07:33]save OK [00:07:33]Clear old archive folders... [00:07:33]NVStorageSaveData kkm_last_timestamp [00:07:33]File name is /storage/kkm_last_timestamp [00:07:33]Write 4 bytes [00:07:33]NVStorageSaveData done [00:07:33]ExternCall_PrintAddStr [00:07:33]wPrintStart [00:07:33]Write to MH i2c: 01 00 00 20 03 23 [00:07:33]Write i2c OK [00:07:33]MH_I2C_Read... [00:07:33]Read from MH i2c: 01 [00:07:33]MH_I2C_Read... [00:07:33]Read from MH i2c: 01 07 00 [00:07:33]MH_I2C_Read... [00:07:33]Read from MH i2c: 01 07 00 20 03 00 00 00 00 00 FF 0F 38 [00:07:33]RasterBufferAndPrint [00:07:33]line Х отчет [00:07:33]line ИНН: 02508201610067 [00:07:33]line Кассир: Абдырахманова Ж. [00:07:33]line 26.09.2024 00:07 [00:07:33]line Смена: 10 [00:07:33]line РНМ: 0000000000152968 [00:07:33]line ЗНМ: 0300000010 [00:07:33]line СНО: Общий режим [00:07:33]line Всего чеков: 87 [00:07:33]line ИТОГИ ПРИХОД [00:07:33]line Чеков: 87 [00:07:33]line Общий итог: 15429.00 [00:07:33]line Итого наличными: 12978.00 [00:07:33]line Итого безнал.: 2451.00 [00:07:33]line НДС 0% : 0.00 [00:07:33]line НДС 12% : 1638.46 [00:07:33]line НСП 0% : 0.00 [00:07:33]line НСП 1,50% : 0.00 [00:07:33]line НСП 0,50% : 0.00 [00:07:33]line НСП 5% : 0.00 [00:07:33]line НСП 3% : 0.00 [00:07:33]line НСП 2% : 0.00 [00:07:33]line НСП 1% : 136.44 [00:07:33]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:07:33]line Чеков: 0 [00:07:33]line Общий итог: 0.00 [00:07:33]line Итого наличными: 0.00 [00:07:33]line Итого безнал.: 0.00 [00:07:33]line НДС 0% : 0.00 [00:07:33]line НДС 12% : 0.00 [00:07:33]line НСП 0% : 0.00 [00:07:33]line НСП 1,50% : 0.00 [00:07:33]line НСП 0,50% : 0.00 [00:07:33]line НСП 5% : 0.00 [00:07:33]line НСП 3% : 0.00 [00:07:33]line НСП 2% : 0.00 [00:07:33]line НСП 1% : 0.00 [00:07:33]line ИТОГИ РАСХОД [00:07:33]line Чеков: 0 [00:07:33]line Общий итог: 0.00 [00:07:33]line Итого наличными: 0.00 [00:07:33]line Итого безнал.: 0.00 [00:07:33]line НДС 0% : 0.00 [00:07:33]line НДС 12% : 0.00 [00:07:33]line НСП 0% : 0.00 [00:07:33]line НСП 1,50% : 0.00 [00:07:33]line НСП 0,50% : 0.00 [00:07:33]line НСП 5% : 0.00 [00:07:33]line НСП 3% : 0.00 [00:07:33]line НСП 2% : 0.00 [00:07:33]line НСП 1% : 0.00 [00:07:33]line ИТОГИ ВОЗВРАТ РАСХОДА [00:07:33]line Чеков: 0 [00:07:33]line Общий итог: 0.00 [00:07:33]line Итого наличными: 0.00 [00:07:33]line Итого безнал.: 0.00 [00:07:33]line НДС 0% : 0.00 [00:07:33]line НДС 12% : 0.00 [00:07:33]line НСП 0% : 0.00 [00:07:33]line НСП 1,50% : 0.00 [00:07:33]line НСП 0,50% : 0.00 [00:07:33]line НСП 5% : 0.00 [00:07:33]line НСП 3% : 0.00 [00:07:33]line НСП 2% : 0.00 [00:07:33]line НСП 1% : 0.00 [00:07:33]line Сумма внесений: 0.00 [00:07:33]line Сумма выплат: 0.00 [00:07:33]line Нал. в кассе: 12978.00 [00:07:33]line НС Приход: 8363762.80 [00:07:33]line НС Возвр.Прихода: 56064.00 [00:07:33]line НС Расход: 0.00 [00:07:33]line НС Возвр.Расхода: 0.00 [00:07:33]line ФМ: 0000000000959456 [00:07:33]written 0, free lines is 4095 [00:07:34]OFD Sender: No OFD packet to send [00:07:34]Write to MH i2c: 01 00 00 6B 03 6E [00:07:34]Write i2c OK [00:07:34]MH_I2C_Read... [00:07:34]Read from MH i2c: 01 [00:07:34]MH_I2C_Read... [00:07:34]Read from MH i2c: 01 07 00 [00:07:34]MH_I2C_Read... [00:07:34]Read from MH i2c: 01 07 00 6B 03 00 00 00 00 00 1E 0B 9E [00:07:34]RasterBufferAndPrint [00:07:34]line [00:07:34]line [00:07:34]line [00:07:34]line [00:07:34]line [00:07:34]written 0, free lines is 2882 [00:07:34]MH_Cut [00:07:34]Write to MH i2c: D1 01 00 72 03 01 47 [00:07:34]Write i2c OK [00:07:34]MH_I2C_Read... [00:07:34]Read from MH i2c: D1 [00:07:34]MH_I2C_Read... [00:07:34]Read from MH i2c: D1 01 00 [00:07:34]MH_I2C_Read... [00:07:34]Read from MH i2c: D1 01 00 72 03 00 46 [00:07:34]Write to MH i2c: 01 00 00 73 03 76 [00:07:34]Write i2c OK [00:07:34]MH_I2C_Read... [00:07:35]*** Cut start [00:07:35]*** Partial cut [00:07:35]*** CUTSNS_PIN = 1 [00:07:35]*** CUTSNS_PIN = 0 [00:07:35]*** Brake cut motor [00:07:35]Read from MH i2c: 01 [00:07:35]MH_I2C_Read... [00:07:35]*** Stop cut motor [00:07:35]*** Cut end [00:07:35]Read from MH i2c: 01 07 00 [00:07:35]MH_I2C_Read... [00:07:35]Read from MH i2c: 01 07 00 73 03 00 00 00 00 00 FF 0F 8B [00:07:35]process_action x_report done [00:07:35]requested_data is exist [00:07:35]produce_requested_data [00:07:35]requested_item fd.num is exist - process it [00:07:35]SAM_PROTO_GetFieldsCounters [00:07:35]wFMCommunicate request_size=4 [00:07:35]MH_SAM_APDU [00:07:35]CAPDU: 80 13 00 00 [00:07:35]Write to MH i2c: E2 08 00 74 03 80 13 00 00 00 00 00 00 F3 [00:07:35]Write i2c OK [00:07:35]MH_I2C_Read... [00:07:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:07:36]Read from MH i2c: E2 [00:07:36]MH_I2C_Read... [00:07:36]Read from MH i2c: E2 62 00 [00:07:36]MH_I2C_Read... [00:07:36]Read from MH i2c: E2 62 00 74 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 41 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 67 [00:07:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 41 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:07:36]wFMCommunicate OK [00:07:36]SAM_PROTO_GetFieldsCounters done [00:07:36]requested_item shift.num is exist - process it [00:07:36]requested_item shift.opened is exist - process it [00:07:36]req_shift_opened [00:07:36]FM_GetShiftState [00:07:36]SAM_PROTO_GetShiftState [00:07:36]wFMCommunicate request_size=4 [00:07:36]MH_SAM_APDU [00:07:36]CAPDU: 80 13 01 00 [00:07:36]Write to MH i2c: E2 08 00 75 03 80 13 01 00 00 00 00 00 F5 [00:07:36]Write i2c OK [00:07:36]MH_I2C_Read... [00:07:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:07:36]Read from MH i2c: E2 [00:07:36]MH_I2C_Read... [00:07:36]Read from MH i2c: E2 0E 00 [00:07:36]MH_I2C_Read... [00:07:36]Read from MH i2c: E2 0E 00 75 03 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 E2 [00:07:36]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [00:07:36]wFMCommunicate OK [00:07:36]SAM_PROTO_GetShiftState done [00:07:36]FM_GetShiftState done [00:07:36]req_shift_opened done [00:07:36]requested_item shift.open_date is exist - process it [00:07:36]req_shift_open_date [00:07:36]req_shift_open_date done [00:07:36]produce_requested_data done [00:07:36]produce_requested_data return {"fd.num":19009,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [00:07:36]process_action_free x_report [00:07:36]json_value_free [00:07:36]json_value_free done [00:07:36]process_json_proto returns [00:07:36]Send response to host [00:07:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":19009,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [00:07:36]free response buf [00:07:36]execute_script done [00:07:36]execute_script returns [00:07:36]free content buf [00:07:36]Sock 7.Close socket [00:07:36]Sock 7.Thread stoped [00:07:39]OFD Sender: No OFD packet to send [00:07:44]OFD Sender: No OFD packet to send [00:07:49]OFD Sender: No OFD packet to send [00:07:54]OFD Sender: No OFD packet to send [00:07:59]OFD Sender: No OFD packet to send [00:08:04]OFD Sender: No OFD packet to send [00:08:09]OFD Sender: No OFD packet to send [00:08:10]accept exits with 9 [00:08:10]New connection [00:08:10]New thread 3066695012 created [00:08:10]Thread 3066551652 joined [00:08:10]Waiting for new connection... [00:08:10] Sock 9.Parse request [00:08:10]Sock 9.Check first char [00:08:10]Sock 9.First char is OK [00:08:10]request: POST /json_proto HTTP/1.0 [00:08:10]Method: POST [00:08:10]URL: /json_proto [00:08:10]Method is POST - this is cgi request [00:08:10]url: /json_proto [00:08:10]query_string will be loaded in cgi processing [00:08:10]execute_cgi json_proto POST (null) [00:08:10]execute_cgi path=json_proto method=POST [00:08:10]POST find Content-Length [00:08:10]Host: 172.17.62.196:8080 [00:08:10]Content-Length: 215 [00:08:10]Content-Type: application/json [00:08:10] [00:08:10]POST finish read [00:08:10]Found Content-Length = 215 [00:08:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:08:10]execute_script... [00:08:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:08:10]POST & json_proto [00:08:10]process_json_proto [00:08:10]json parsed OK: [00:08:10]protocol is kg_v1.0 [00:08:10]action value=get_value [00:08:10]process_action get_value [00:08:10]cmd_get_value [00:08:10]process_action get_value done [00:08:10]requested_data is exist [00:08:10]produce_requested_data [00:08:10]requested_item kkm.sn is exist - process it [00:08:10]requested_item kkm.ver is exist - process it [00:08:10]requested_item fm.sn is exist - process it [00:08:10]wFMCommunicate request_size=4 [00:08:10]MH_SAM_APDU [00:08:10]CAPDU: 80 11 00 00 [00:08:10]Write to MH i2c: E2 08 00 76 03 80 11 00 00 00 00 00 00 F3 [00:08:10]Write i2c OK [00:08:10]MH_I2C_Read... [00:08:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:08:10]Read from MH i2c: E2 [00:08:10]MH_I2C_Read... [00:08:10]Read from MH i2c: E2 17 00 [00:08:10]MH_I2C_Read... [00:08:10]Read from MH i2c: E2 17 00 76 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 4C [00:08:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [00:08:10]wFMCommunicate OK [00:08:10]requested_item fd.num is exist - process it [00:08:10]SAM_PROTO_GetFieldsCounters [00:08:10]wFMCommunicate request_size=4 [00:08:10]MH_SAM_APDU [00:08:10]CAPDU: 80 13 00 00 [00:08:10]Write to MH i2c: E2 08 00 77 03 80 13 00 00 00 00 00 00 F6 [00:08:10]Write i2c OK [00:08:10]MH_I2C_Read... [00:08:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:08:10]Read from MH i2c: E2 [00:08:10]MH_I2C_Read... [00:08:10]Read from MH i2c: E2 62 00 [00:08:10]MH_I2C_Read... [00:08:10]Read from MH i2c: E2 62 00 77 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 41 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 6A [00:08:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 41 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:08:10]wFMCommunicate OK [00:08:10]SAM_PROTO_GetFieldsCounters done [00:08:10]requested_item shift.num is exist - process it [00:08:10]requested_item shift.opened is exist - process it [00:08:10]req_shift_opened [00:08:10]FM_GetShiftState [00:08:10]SAM_PROTO_GetShiftState [00:08:10]wFMCommunicate request_size=4 [00:08:10]MH_SAM_APDU [00:08:10]CAPDU: 80 13 01 00 [00:08:10]Write to MH i2c: E2 08 00 78 03 80 13 01 00 00 00 00 00 F8 [00:08:10]Write i2c OK [00:08:10]MH_I2C_Read... [00:08:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:08:10]Read from MH i2c: E2 [00:08:10]MH_I2C_Read... [00:08:10]Read from MH i2c: E2 0E 00 [00:08:10]MH_I2C_Read... [00:08:10]Read from MH i2c: E2 0E 00 78 03 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 E5 [00:08:10]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [00:08:10]wFMCommunicate OK [00:08:10]SAM_PROTO_GetShiftState done [00:08:10]FM_GetShiftState done [00:08:10]req_shift_opened done [00:08:10]requested_item shift.open_date is exist - process it [00:08:10]req_shift_open_date [00:08:10]req_shift_open_date done [00:08:10]produce_requested_data done [00:08:10]produce_requested_data return {"kkm.sn":"0300000010","kkm.ver":"v1.0","fm.sn":"0000000000959456","fd.num":19009,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091} [00:08:10]process_action_free get_value [00:08:10]json_value_free [00:08:10]json_value_free done [00:08:10]process_json_proto returns [00:08:10]Send response to host [00:08:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000010","kkm.ver":"v1.0","fm.sn":"0000000000959456","fd.num":19009,"shift.num":183,"shift.opened":1,"shift.open_date":1727223091}}} [00:08:10]free response buf [00:08:10]execute_script done [00:08:10]execute_script returns [00:08:10]free content buf [00:08:10]Sock 9.Close socket [00:08:10]Sock 9.Thread stoped [00:08:10]accept exits with 7 [00:08:10]New connection [00:08:10]New thread 3066551652 created [00:08:10]Thread 3066695012 joined [00:08:10]Waiting for new connection... [00:08:10] Sock 7.Parse request [00:08:10]Sock 7.Check first char [00:08:10]Sock 7.First char is OK [00:08:10]request: POST /json_proto HTTP/1.0 [00:08:10]Method: POST [00:08:10]URL: /json_proto [00:08:10]Method is POST - this is cgi request [00:08:10]url: /json_proto [00:08:10]query_string will be loaded in cgi processing [00:08:10]execute_cgi json_proto POST (null) [00:08:10]execute_cgi path=json_proto method=POST [00:08:10]POST find Content-Length [00:08:10]Host: 172.17.62.196:8080 [00:08:10]Content-Length: 331 [00:08:10]Content-Type: application/json [00:08:10] [00:08:10]POST finish read [00:08:10]Found Content-Length = 331 [00:08:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:08:10]execute_script... [00:08:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:08:10]POST & json_proto [00:08:10]process_json_proto [00:08:10]json parsed OK: [00:08:10]protocol is kg_v1.0 [00:08:10]action value=get_value [00:08:10]process_action get_value [00:08:10]cmd_get_value [00:08:10]process_action get_value done [00:08:10]requested_data is exist [00:08:10]produce_requested_data [00:08:10]requested_item fm.sale.total is exist - process it [00:08:10]SAM_PROTO_GetFMData [00:08:10]wFMCommunicate request_size=4 [00:08:10]MH_SAM_APDU [00:08:10]CAPDU: 80 13 03 00 [00:08:10]Write to MH i2c: E2 08 00 79 03 80 13 03 00 00 00 00 00 FB [00:08:10]Write i2c OK [00:08:10]MH_I2C_Read... [00:08:11]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:08:11]Read from MH i2c: E2 [00:08:11]MH_I2C_Read... [00:08:11]Read from MH i2c: E2 FD 00 [00:08:11]MH_I2C_Read... [00:08:11]Read from MH i2c: E2 FD 00 79 03 00 BE 04 85 04 BA 04 6E 04 04 00 D3 48 00 00 69 04 A0 00 6F 04 04 00 C4 48 00 00 B1 04 04 00 D8 16 DA 31 70 04 04 00 60 43 60 1F 72 04 04 00 78 D3 79 12 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E4 64 4B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4A EC 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 0D [00:08:11]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 D3 48 00 00 69 04 A0 00 6F 04 04 00 C4 48 00 00 B1 04 04 00 D8 16 DA 31 70 04 04 00 60 43 60 1F 72 04 04 00 78 D3 79 12 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E4 64 4B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4A EC 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 [00:08:11]wFMCommunicate OK [00:08:11]wFMCommunicate request_size=4 [00:08:11]MH_SAM_APDU [00:08:11]CAPDU: 80 17 00 00 [00:08:11]Write to MH i2c: E2 08 00 7A 03 80 17 00 00 00 00 00 00 FD [00:08:11]Write i2c OK [00:08:11]MH_I2C_Read... [00:08:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:11]Read from MH i2c: E2 [00:08:11]MH_I2C_Read... [00:08:11]Read from MH i2c: E2 FD 00 [00:08:11]MH_I2C_Read... [00:08:11]Read from MH i2c: E2 FD 00 7A 03 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 2D [00:08:11]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 [00:08:11]wFMCommunicate OK [00:08:11]wFMCommunicate request_size=4 [00:08:11]MH_SAM_APDU [00:08:11]CAPDU: 80 17 00 00 [00:08:11]Write to MH i2c: E2 08 00 7B 03 80 17 00 00 00 00 00 00 FE [00:08:11]Write i2c OK [00:08:11]MH_I2C_Read... [00:08:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:11]Read from MH i2c: E2 [00:08:11]MH_I2C_Read... [00:08:11]Read from MH i2c: E2 FD 00 [00:08:11]MH_I2C_Read... [00:08:11]Read from MH i2c: E2 FD 00 7B 03 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 30 [00:08:11]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:08:11]wFMCommunicate OK [00:08:11]wFMCommunicate request_size=4 [00:08:11]MH_SAM_APDU [00:08:11]CAPDU: 80 17 00 00 [00:08:11]Write to MH i2c: E2 08 00 7C 03 80 17 00 00 00 00 00 00 FF [00:08:11]Write i2c OK [00:08:11]MH_I2C_Read... [00:08:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:12]Read from MH i2c: E2 [00:08:12]MH_I2C_Read... [00:08:12]Read from MH i2c: E2 FD 00 [00:08:12]MH_I2C_Read... [00:08:12]Read from MH i2c: E2 FD 00 7C 03 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 7A [00:08:12]RAPDU: 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:08:12]wFMCommunicate OK [00:08:12]wFMCommunicate request_size=4 [00:08:12]MH_SAM_APDU [00:08:12]CAPDU: 80 17 00 00 [00:08:12]Write to MH i2c: E2 08 00 7D 03 80 17 00 00 00 00 00 00 00 [00:08:12]Write i2c OK [00:08:12]MH_I2C_Read... [00:08:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:08:12]Read from MH i2c: E2 [00:08:12]MH_I2C_Read... [00:08:12]Read from MH i2c: E2 DB 00 [00:08:12]MH_I2C_Read... [00:08:12]Read from MH i2c: E2 DB 00 7D 03 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E2 [00:08:12]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:08:12]wFMCommunicate OK [00:08:12]SAM_PROTO_GetFMData done [00:08:12]requested_item fm.sale_refund.total is exist - process it [00:08:12]requested_item fm.buy.total is exist - process it [00:08:12]requested_item shift.sale.total is exist - process it [00:08:12]SAM_PROTO_GetShiftData [00:08:12]wFMCommunicate request_size=4 [00:08:12]MH_SAM_APDU [00:08:12]CAPDU: 80 13 02 00 [00:08:12]Write to MH i2c: E2 08 00 7E 03 80 13 02 00 00 00 00 00 FF [00:08:12]Write i2c OK [00:08:12]MH_I2C_Read... [00:08:12]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:08:12]Read from MH i2c: E2 [00:08:12]MH_I2C_Read... [00:08:12]Read from MH i2c: E2 FD 00 [00:08:12]MH_I2C_Read... [00:08:12]Read from MH i2c: E2 FD 00 7E 03 00 AE 04 AA 04 AA 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 57 00 00 00 B1 04 03 00 F4 8A 17 70 04 03 00 88 CD 13 72 04 03 00 6C BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 06 80 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4C 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 A0 [00:08:12]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 57 00 00 00 B1 04 03 00 F4 8A 17 70 04 03 00 88 CD 13 72 04 03 00 6C BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 06 80 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4C 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:08:12]wFMCommunicate OK [00:08:12]wFMCommunicate request_size=4 [00:08:12]MH_SAM_APDU [00:08:12]CAPDU: 80 17 00 00 [00:08:12]Write to MH i2c: E2 08 00 7F 03 80 17 00 00 00 00 00 00 02 [00:08:12]Write i2c OK [00:08:12]MH_I2C_Read... [00:08:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:13]Read from MH i2c: E2 [00:08:13]MH_I2C_Read... [00:08:13]Read from MH i2c: E2 FD 00 [00:08:13]MH_I2C_Read... [00:08:13]Read from MH i2c: E2 FD 00 7F 03 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 24 [00:08:13]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:08:13]wFMCommunicate OK [00:08:13]wFMCommunicate request_size=4 [00:08:13]MH_SAM_APDU [00:08:13]CAPDU: 80 17 00 00 [00:08:13]Write to MH i2c: E2 08 00 80 03 80 17 00 00 00 00 00 00 03 [00:08:13]Write i2c OK [00:08:13]MH_I2C_Read... [00:08:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:13]Read from MH i2c: E2 [00:08:13]MH_I2C_Read... [00:08:13]Read from MH i2c: E2 FD 00 [00:08:13]MH_I2C_Read... [00:08:13]Read from MH i2c: E2 FD 00 80 03 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 BA [00:08:13]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:08:13]wFMCommunicate OK [00:08:13]wFMCommunicate request_size=4 [00:08:13]MH_SAM_APDU [00:08:13]CAPDU: 80 17 00 00 [00:08:13]Write to MH i2c: E2 08 00 81 03 80 17 00 00 00 00 00 00 04 [00:08:13]Write i2c OK [00:08:13]MH_I2C_Read... [00:08:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:13]Read from MH i2c: E2 [00:08:13]MH_I2C_Read... [00:08:13]Read from MH i2c: E2 FD 00 [00:08:13]MH_I2C_Read... [00:08:13]Read from MH i2c: E2 FD 00 81 03 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 76 [00:08:13]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:08:13]wFMCommunicate OK [00:08:13]wFMCommunicate request_size=4 [00:08:13]MH_SAM_APDU [00:08:13]CAPDU: 80 17 00 00 [00:08:13]Write to MH i2c: E2 08 00 82 03 80 17 00 00 00 00 00 00 05 [00:08:13]Write i2c OK [00:08:13]MH_I2C_Read... [00:08:14]Read from MH i2c: E2 [00:08:14]MH_I2C_Read... [00:08:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:08:14]Read from MH i2c: E2 CB 00 [00:08:14]MH_I2C_Read... [00:08:14]Read from MH i2c: E2 CB 00 82 03 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 EE [00:08:14]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:08:14]wFMCommunicate OK [00:08:14]SAM_PROTO_GetShiftData done [00:08:14]requested_item shift.sale.total_cash is exist - process it [00:08:14]requested_item shift.sale_refund.total is exist - process it [00:08:14]requested_item shift.sale_refund.total_cash is exist - process it [00:08:14]requested_item shift.buy.total is exist - process it [00:08:14]requested_item shift.buy.total_cash is exist - process it [00:08:14]produce_requested_data done [00:08:14]produce_requested_data return {"fm.sale.total":8363762.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":15429.00,"shift.sale.total_cash":12978.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:08:14]process_action_free get_value [00:08:14]json_value_free [00:08:14]json_value_free done [00:08:14]process_json_proto returns [00:08:14]Send response to host [00:08:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8363762.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":15429.00,"shift.sale.total_cash":12978.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:08:14]free response buf [00:08:14]execute_script done [00:08:14]execute_script returns [00:08:14]free content buf [00:08:14]Sock 7.Close socket [00:08:14]Sock 7.Thread stoped [00:08:14]OFD Sender: No OFD packet to send [00:08:14]accept exits with 9 [00:08:14]New connection [00:08:14]New thread 3066695012 created [00:08:14]Thread 3066551652 joined [00:08:14]Waiting for new connection... [00:08:14] Sock 9.Parse request [00:08:14]Sock 9.Check first char [00:08:14]Sock 9.First char is OK [00:08:14]request: POST /json_proto HTTP/1.0 [00:08:14]Method: POST [00:08:14]URL: /json_proto [00:08:14]Method is POST - this is cgi request [00:08:14]url: /json_proto [00:08:14]query_string will be loaded in cgi processing [00:08:14]execute_cgi json_proto POST (null) [00:08:14]execute_cgi path=json_proto method=POST [00:08:14]POST find Content-Length [00:08:14]Host: 172.17.62.196:8080 [00:08:14]Content-Length: 331 [00:08:14]Content-Type: application/json [00:08:14] [00:08:14]POST finish read [00:08:14]Found Content-Length = 331 [00:08:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:08:14]execute_script... [00:08:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:08:14]POST & json_proto [00:08:14]process_json_proto [00:08:14]json parsed OK: [00:08:14]protocol is kg_v1.0 [00:08:14]action value=get_value [00:08:14]process_action get_value [00:08:14]cmd_get_value [00:08:14]process_action get_value done [00:08:14]requested_data is exist [00:08:14]produce_requested_data [00:08:14]requested_item fm.sale.total is exist - process it [00:08:14]SAM_PROTO_GetFMData [00:08:14]wFMCommunicate request_size=4 [00:08:14]MH_SAM_APDU [00:08:14]CAPDU: 80 13 03 00 [00:08:14]Write to MH i2c: E2 08 00 83 03 80 13 03 00 00 00 00 00 05 [00:08:14]Write i2c OK [00:08:14]MH_I2C_Read... [00:08:14]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:08:14]Read from MH i2c: E2 [00:08:14]MH_I2C_Read... [00:08:14]Read from MH i2c: E2 FD 00 [00:08:14]MH_I2C_Read... [00:08:14]Read from MH i2c: E2 FD 00 83 03 00 BE 04 85 04 BA 04 6E 04 04 00 D3 48 00 00 69 04 A0 00 6F 04 04 00 C4 48 00 00 B1 04 04 00 D8 16 DA 31 70 04 04 00 60 43 60 1F 72 04 04 00 78 D3 79 12 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E4 64 4B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4A EC 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 17 [00:08:15]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 D3 48 00 00 69 04 A0 00 6F 04 04 00 C4 48 00 00 B1 04 04 00 D8 16 DA 31 70 04 04 00 60 43 60 1F 72 04 04 00 78 D3 79 12 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E4 64 4B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4A EC 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 [00:08:15]wFMCommunicate OK [00:08:15]wFMCommunicate request_size=4 [00:08:15]MH_SAM_APDU [00:08:15]CAPDU: 80 17 00 00 [00:08:15]Write to MH i2c: E2 08 00 84 03 80 17 00 00 00 00 00 00 07 [00:08:15]Write i2c OK [00:08:15]MH_I2C_Read... [00:08:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:15]Read from MH i2c: E2 [00:08:15]MH_I2C_Read... [00:08:15]Read from MH i2c: E2 FD 00 [00:08:15]MH_I2C_Read... [00:08:15]Read from MH i2c: E2 FD 00 84 03 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 37 [00:08:15]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 [00:08:15]wFMCommunicate OK [00:08:15]wFMCommunicate request_size=4 [00:08:15]MH_SAM_APDU [00:08:15]CAPDU: 80 17 00 00 [00:08:15]Write to MH i2c: E2 08 00 85 03 80 17 00 00 00 00 00 00 08 [00:08:15]Write i2c OK [00:08:15]MH_I2C_Read... [00:08:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:15]Read from MH i2c: E2 [00:08:15]MH_I2C_Read... [00:08:15]Read from MH i2c: E2 FD 00 [00:08:15]MH_I2C_Read... [00:08:15]Read from MH i2c: E2 FD 00 85 03 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 3A [00:08:15]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:08:15]wFMCommunicate OK [00:08:15]wFMCommunicate request_size=4 [00:08:15]MH_SAM_APDU [00:08:15]CAPDU: 80 17 00 00 [00:08:15]Write to MH i2c: E2 08 00 86 03 80 17 00 00 00 00 00 00 09 [00:08:15]Write i2c OK [00:08:15]MH_I2C_Read... [00:08:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:16]Read from MH i2c: E2 [00:08:16]MH_I2C_Read... [00:08:16]Read from MH i2c: E2 FD 00 [00:08:16]MH_I2C_Read... [00:08:16]Read from MH i2c: E2 FD 00 86 03 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 84 [00:08:16]RAPDU: 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:08:16]wFMCommunicate OK [00:08:16]wFMCommunicate request_size=4 [00:08:16]MH_SAM_APDU [00:08:16]CAPDU: 80 17 00 00 [00:08:16]Write to MH i2c: E2 08 00 87 03 80 17 00 00 00 00 00 00 0A [00:08:16]Write i2c OK [00:08:16]MH_I2C_Read... [00:08:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:08:16]Read from MH i2c: E2 [00:08:16]MH_I2C_Read... [00:08:16]Read from MH i2c: E2 DB 00 [00:08:16]MH_I2C_Read... [00:08:16]Read from MH i2c: E2 DB 00 87 03 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 EC [00:08:16]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:08:16]wFMCommunicate OK [00:08:16]SAM_PROTO_GetFMData done [00:08:16]requested_item fm.sale_refund.total is exist - process it [00:08:16]requested_item fm.buy.total is exist - process it [00:08:16]requested_item shift.sale.total is exist - process it [00:08:16]SAM_PROTO_GetShiftData [00:08:16]wFMCommunicate request_size=4 [00:08:16]MH_SAM_APDU [00:08:16]CAPDU: 80 13 02 00 [00:08:16]Write to MH i2c: E2 08 00 88 03 80 13 02 00 00 00 00 00 09 [00:08:16]Write i2c OK [00:08:16]MH_I2C_Read... [00:08:17]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:08:17]Read from MH i2c: E2 [00:08:17]MH_I2C_Read... [00:08:17]Read from MH i2c: E2 FD 00 [00:08:17]MH_I2C_Read... [00:08:17]Read from MH i2c: E2 FD 00 88 03 00 AE 04 AA 04 AA 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 57 00 00 00 B1 04 03 00 F4 8A 17 70 04 03 00 88 CD 13 72 04 03 00 6C BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 06 80 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4C 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 AA [00:08:17]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 57 00 00 00 B1 04 03 00 F4 8A 17 70 04 03 00 88 CD 13 72 04 03 00 6C BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 06 80 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4C 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:08:17]wFMCommunicate OK [00:08:17]wFMCommunicate request_size=4 [00:08:17]MH_SAM_APDU [00:08:17]CAPDU: 80 17 00 00 [00:08:17]Write to MH i2c: E2 08 00 89 03 80 17 00 00 00 00 00 00 0C [00:08:17]Write i2c OK [00:08:17]MH_I2C_Read... [00:08:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:17]Read from MH i2c: E2 [00:08:17]MH_I2C_Read... [00:08:17]Read from MH i2c: E2 FD 00 [00:08:17]MH_I2C_Read... [00:08:17]Read from MH i2c: E2 FD 00 89 03 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 2E [00:08:17]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:08:17]wFMCommunicate OK [00:08:17]wFMCommunicate request_size=4 [00:08:17]MH_SAM_APDU [00:08:17]CAPDU: 80 17 00 00 [00:08:17]Write to MH i2c: E2 08 00 8A 03 80 17 00 00 00 00 00 00 0D [00:08:17]Write i2c OK [00:08:17]MH_I2C_Read... [00:08:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:18]Read from MH i2c: E2 [00:08:18]MH_I2C_Read... [00:08:18]Read from MH i2c: E2 FD 00 [00:08:18]MH_I2C_Read... [00:08:18]Read from MH i2c: E2 FD 00 8A 03 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 C4 [00:08:18]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:08:18]wFMCommunicate OK [00:08:18]wFMCommunicate request_size=4 [00:08:18]MH_SAM_APDU [00:08:18]CAPDU: 80 17 00 00 [00:08:18]Write to MH i2c: E2 08 00 8B 03 80 17 00 00 00 00 00 00 0E [00:08:18]Write i2c OK [00:08:18]MH_I2C_Read... [00:08:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:18]Read from MH i2c: E2 [00:08:18]MH_I2C_Read... [00:08:18]Read from MH i2c: E2 FD 00 [00:08:18]MH_I2C_Read... [00:08:18]Read from MH i2c: E2 FD 00 8B 03 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 80 [00:08:18]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:08:18]wFMCommunicate OK [00:08:18]wFMCommunicate request_size=4 [00:08:18]MH_SAM_APDU [00:08:18]CAPDU: 80 17 00 00 [00:08:18]Write to MH i2c: E2 08 00 8C 03 80 17 00 00 00 00 00 00 0F [00:08:18]Write i2c OK [00:08:18]MH_I2C_Read... [00:08:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:08:19]Read from MH i2c: E2 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: E2 CB 00 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: E2 CB 00 8C 03 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F8 [00:08:19]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:08:19]wFMCommunicate OK [00:08:19]SAM_PROTO_GetShiftData done [00:08:19]requested_item shift.sale.total_cash is exist - process it [00:08:19]requested_item shift.sale_refund.total is exist - process it [00:08:19]requested_item shift.sale_refund.total_cash is exist - process it [00:08:19]requested_item shift.buy.total is exist - process it [00:08:19]requested_item shift.buy.total_cash is exist - process it [00:08:19]produce_requested_data done [00:08:19]produce_requested_data return {"fm.sale.total":8363762.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":15429.00,"shift.sale.total_cash":12978.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:08:19]process_action_free get_value [00:08:19]json_value_free [00:08:19]json_value_free done [00:08:19]process_json_proto returns [00:08:19]Send response to host [00:08:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8363762.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":15429.00,"shift.sale.total_cash":12978.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:08:19]free response buf [00:08:19]execute_script done [00:08:19]execute_script returns [00:08:19]free content buf [00:08:19]Sock 9.Close socket [00:08:19]Sock 9.Thread stoped [00:08:19]accept exits with 7 [00:08:19]New connection [00:08:19]New thread 3066551652 created [00:08:19]Thread 3066695012 joined [00:08:19]Waiting for new connection... [00:08:19] Sock 7.Parse request [00:08:19]Sock 7.Check first char [00:08:19]Sock 7.First char is OK [00:08:19]request: POST /json_proto HTTP/1.0 [00:08:19]Method: POST [00:08:19]URL: /json_proto [00:08:19]Method is POST - this is cgi request [00:08:19]url: /json_proto [00:08:19]query_string will be loaded in cgi processing [00:08:19]execute_cgi json_proto POST (null) [00:08:19]execute_cgi path=json_proto method=POST [00:08:19]POST find Content-Length [00:08:19]Host: 172.17.62.196:8080 [00:08:19]Content-Length: 290 [00:08:19]Content-Type: application/json [00:08:19] [00:08:19]POST finish read [00:08:19]Found Content-Length = 290 [00:08:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0410\u0431\u0434\u044B\u0440\u0430\u0445\u043C\u0430\u043D\u043E\u0432\u0430 \u0416. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:08:19]execute_script... [00:08:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0410\u0431\u0434\u044B\u0440\u0430\u0445\u043C\u0430\u043D\u043E\u0432\u0430 \u0416. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:08:19]POST & json_proto [00:08:19]process_json_proto [00:08:19]json parsed OK: [00:08:19]protocol is kg_v1.0 [00:08:19]action value=close_shift [00:08:19]process_action close_shift [00:08:19]cmd_close_shift [00:08:19]MH_GetDate [00:08:19]Write to MH i2c: F0 00 00 8D 03 7F [00:08:19]Write i2c OK [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: F0 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: F0 09 00 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: F0 09 00 8D 03 00 F4 A5 F4 66 CE CC 0E 66 89 [00:08:19]GetLastDocTimeStamp 1727309246 [00:08:19]current date 1727309300 [00:08:19]FM_GetShiftState [00:08:19]SAM_PROTO_GetShiftState [00:08:19]wFMCommunicate request_size=4 [00:08:19]MH_SAM_APDU [00:08:19]CAPDU: 80 13 01 00 [00:08:19]Write to MH i2c: E2 08 00 8E 03 80 13 01 00 00 00 00 00 0E [00:08:19]Write i2c OK [00:08:19]MH_I2C_Read... [00:08:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:08:19]Read from MH i2c: E2 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: E2 0E 00 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: E2 0E 00 8E 03 00 09 00 01 33 55 F3 66 00 00 00 00 90 00 FB [00:08:19]RAPDU: 09 00 01 33 55 F3 66 00 00 00 00 90 00 [00:08:19]wFMCommunicate OK [00:08:19]SAM_PROTO_GetShiftState done [00:08:19]FM_GetShiftState done [00:08:19]KKMCreateCloseShiftDocument [00:08:19]Load OK [00:08:19]Malloc new data [00:08:19]MH_GetDate [00:08:19]Write to MH i2c: F0 00 00 8F 03 81 [00:08:19]OFD Sender: No OFD packet to send [00:08:19]Write i2c OK [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: F0 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: F0 09 00 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: F0 09 00 8F 03 00 F4 A5 F4 66 CE CC 0E 66 8B [00:08:19]Malloc new data [00:08:19]Malloc new data [00:08:19]Malloc new data [00:08:19]Malloc new data [00:08:19]KKMCreateCloseShiftDocument OK [00:08:19]KKMSetCloseShiftData OK [00:08:19]ProcessDocumentItem done err = 0, tmpTLVsize=81 [00:08:19]tlvbuf is 01E57B10 [00:08:19]KKMLoadAndSignCloseShiftData [00:08:19]SAM_PROTO_ProcessDocument [00:08:19]wFMCommunicate request_size=9 [00:08:19]MH_SAM_APDU [00:08:19]CAPDU: 80 15 01 00 04 05 00 51 00 [00:08:19]Write to MH i2c: E2 0C 00 90 03 80 15 01 00 04 00 05 00 51 00 00 00 70 [00:08:19]Write i2c OK [00:08:19]MH_I2C_Read... [00:08:19]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:08:19]Read from MH i2c: E2 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: E2 03 00 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: E2 03 00 90 03 00 90 00 07 [00:08:19]RAPDU: 90 00 [00:08:19]wFMCommunicate OK [00:08:19]wFMCommunicate request_size=23 [00:08:19]MH_SAM_APDU [00:08:19]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:08:19]Write to MH i2c: E2 1A 00 91 03 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 09 [00:08:19]Write i2c OK [00:08:19]MH_I2C_Read... [00:08:19]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:08:19]Read from MH i2c: E2 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: E2 03 00 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: E2 03 00 91 03 00 90 00 08 [00:08:19]RAPDU: 90 00 [00:08:19]wFMCommunicate OK [00:08:19]wFMCommunicate request_size=40 [00:08:19]MH_SAM_APDU [00:08:19]CAPDU: 80 15 02 00 23 FD 03 1F 00 D0 90 D0 B1 D0 B4 D1 8B D1 80 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 96 2E 20 [00:08:19]Write to MH i2c: E2 2B 00 92 03 80 15 02 00 23 00 FD 03 1F 00 D0 90 D0 B1 D0 B4 D1 8B D1 80 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 96 2E 20 00 00 5F [00:08:19]Write i2c OK [00:08:19]MH_I2C_Read... [00:08:19]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:08:19]Read from MH i2c: E2 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: E2 03 00 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: E2 03 00 92 03 00 90 00 09 [00:08:19]RAPDU: 90 00 [00:08:19]wFMCommunicate OK [00:08:19]wFMCommunicate request_size=13 [00:08:19]MH_SAM_APDU [00:08:19]CAPDU: 80 15 02 00 08 F4 03 04 00 F4 A5 F4 66 [00:08:19]Write to MH i2c: E2 10 00 93 03 80 15 02 00 08 00 F4 03 04 00 F4 A5 F4 66 00 00 14 [00:08:19]Write i2c OK [00:08:19]MH_I2C_Read... [00:08:19]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:08:19]Read from MH i2c: E2 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: E2 03 00 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: E2 03 00 93 03 00 90 00 0A [00:08:19]RAPDU: 90 00 [00:08:19]wFMCommunicate OK [00:08:19]wFMCommunicate request_size=25 [00:08:19]MH_SAM_APDU [00:08:19]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 [00:08:19]Write to MH i2c: E2 1C 00 94 03 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 00 00 7F [00:08:19]Write i2c OK [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: E2 [00:08:19]MH_I2C_Read... [00:08:19]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:08:19]Read from MH i2c: E2 03 00 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: E2 03 00 94 03 00 90 00 0B [00:08:19]RAPDU: 90 00 [00:08:19]wFMCommunicate OK [00:08:19]wFMCommunicate request_size=4 [00:08:19]MH_SAM_APDU [00:08:19]CAPDU: 80 15 03 00 [00:08:19]Write to MH i2c: E2 08 00 95 03 80 15 03 00 00 00 00 00 19 [00:08:19]Write i2c OK [00:08:19]MH_I2C_Read... [00:08:20]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:08:20]Read from MH i2c: E2 [00:08:20]MH_I2C_Read... [00:08:20]Read from MH i2c: E2 FD 00 [00:08:20]MH_I2C_Read... [00:08:20]Read from MH i2c: E2 FD 00 95 03 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 42 4A 00 00 0E 04 04 00 B7 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 59 00 00 00 AA 04 AA 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 57 00 00 00 B1 04 03 00 F4 8A 17 70 04 03 00 88 CD 13 72 04 03 00 6C BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 06 80 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4C 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 52 [00:08:20]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 42 4A 00 00 0E 04 04 00 B7 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 59 00 00 00 AA 04 AA 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 57 00 00 00 B1 04 03 00 F4 8A 17 70 04 03 00 88 CD 13 72 04 03 00 6C BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 06 80 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4C 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:08:20]wFMCommunicate OK [00:08:20]SAM_PROTO_ProcessDocument answer len = 1265 [00:08:20]SAM_PROTO_ProcessDocument remain to read = 1017 [00:08:20]wFMCommunicate request_size=4 [00:08:20]MH_SAM_APDU [00:08:20]CAPDU: 80 17 00 00 [00:08:20]Write to MH i2c: E2 08 00 96 03 80 17 00 00 00 00 00 00 19 [00:08:20]Write i2c OK [00:08:20]MH_I2C_Read... [00:08:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:20]Read from MH i2c: E2 [00:08:20]MH_I2C_Read... [00:08:20]Read from MH i2c: E2 FD 00 [00:08:20]MH_I2C_Read... [00:08:20]Read from MH i2c: E2 FD 00 96 03 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 62 [00:08:21]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:08:21]wFMCommunicate OK [00:08:21]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:08:21]SAM_PROTO_ProcessDocument remain to read = 767 [00:08:21]wFMCommunicate request_size=4 [00:08:21]MH_SAM_APDU [00:08:21]CAPDU: 80 17 00 00 [00:08:21]Write to MH i2c: E2 08 00 97 03 80 17 00 00 00 00 00 00 1A [00:08:21]Write i2c OK [00:08:21]MH_I2C_Read... [00:08:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:21]Read from MH i2c: E2 [00:08:21]MH_I2C_Read... [00:08:21]Read from MH i2c: E2 FD 00 [00:08:21]MH_I2C_Read... [00:08:21]Read from MH i2c: E2 FD 00 97 03 00 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 7C [00:08:21]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:08:21]wFMCommunicate OK [00:08:21]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:08:21]SAM_PROTO_ProcessDocument remain to read = 517 [00:08:21]wFMCommunicate request_size=4 [00:08:21]MH_SAM_APDU [00:08:21]CAPDU: 80 17 00 00 [00:08:21]Write to MH i2c: E2 08 00 98 03 80 17 00 00 00 00 00 00 1B [00:08:21]Write i2c OK [00:08:21]MH_I2C_Read... [00:08:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:22]Read from MH i2c: E2 [00:08:22]MH_I2C_Read... [00:08:22]Read from MH i2c: E2 FD 00 [00:08:22]MH_I2C_Read... [00:08:22]Read from MH i2c: E2 FD 00 98 03 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 A5 [00:08:22]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 [00:08:22]wFMCommunicate OK [00:08:22]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:08:22]SAM_PROTO_ProcessDocument remain to read = 267 [00:08:22]wFMCommunicate request_size=4 [00:08:22]MH_SAM_APDU [00:08:22]CAPDU: 80 17 00 00 [00:08:22]Write to MH i2c: E2 08 00 99 03 80 17 00 00 00 00 00 00 1C [00:08:22]Write i2c OK [00:08:22]MH_I2C_Read... [00:08:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:22]Read from MH i2c: E2 [00:08:22]MH_I2C_Read... [00:08:22]Read from MH i2c: E2 FD 00 [00:08:22]MH_I2C_Read... [00:08:22]Read from MH i2c: E2 FD 00 99 03 00 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 E4 [00:08:22]RAPDU: 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:08:22]wFMCommunicate OK [00:08:22]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:08:22]SAM_PROTO_ProcessDocument remain to read = 17 [00:08:22]wFMCommunicate request_size=4 [00:08:22]MH_SAM_APDU [00:08:22]CAPDU: 80 17 00 00 [00:08:22]Write to MH i2c: E2 08 00 9A 03 80 17 00 00 00 00 00 00 1D [00:08:22]Write i2c OK [00:08:22]MH_I2C_Read... [00:08:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [00:08:22]Read from MH i2c: E2 [00:08:22]MH_I2C_Read... [00:08:22]Read from MH i2c: E2 14 00 [00:08:22]MH_I2C_Read... [00:08:22]Read from MH i2c: E2 14 00 9A 03 00 01 00 06 F7 03 00 00 35 04 06 00 F0 99 5C A5 11 F5 90 00 F2 [00:08:22]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 F0 99 5C A5 11 F5 90 00 [00:08:22]wFMCommunicate OK [00:08:22]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [00:08:22]SAM_PROTO_ProcessDocument done [00:08:22]1209 (1) - 1.0 - номер версии ФФД [00:08:22]1041 (16) - 0000000000959456 - номер ФМ [00:08:22]1040 (4) - 19010 - номер ФД [00:08:22]1038 (4) - 183 - номер смены [00:08:22]1118 (4) - 87 - количество кассовых чеков за смену [00:08:22]1111 (4) - 89 - общее количество ФД за смену [00:08:22]1194 (1194) - счетчики итогов смены [00:08:22] 1134 (4) - 87 - количество чеков со всеми признаками расчетов [00:08:22] 1129 (155) - счетчики операций «приход» [00:08:22] 1135 (4) - 87 - количество чеков по признаку расчетов [00:08:22] 1201 (3) - 15429.00 - общая итоговая сумма в чеках [00:08:22] 1136 (3) - 12978.00 - итоговая сумма в чеках наличными [00:08:22] 1138 (3) - 2451.00 - итоговая сумма в чеках безналичными [00:08:22] 1024 (122) - суммы налогов [00:08:22] 1006 (9) - суммы НДС [00:08:22] 1010 (1) - 0% - код ставки НДС [00:08:22] 1011 (0) - 0.00 - сумма НДС по ставке [00:08:22] 1006 (12) - суммы НДС [00:08:22] 1010 (1) - 12% - код ставки НДС [00:08:22] 1011 (3) - 1638.46 - сумма НДС по ставке [00:08:22] 1007 (9) - суммы НСП [00:08:22] 1014 (1) - 0% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (11) - суммы НСП [00:08:23] 1014 (1) - 1% - код ставки НСП [00:08:23] 1015 (2) - 136.44 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 2% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 3% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 5% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 0,50% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 1,50% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1130 (141) - счетчики операций «возврат прихода» [00:08:23] 1135 (4) - 0 - количество чеков по признаку расчетов [00:08:23] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:08:23] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:08:23] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:08:23] 1024 (117) - суммы налогов [00:08:23] 1006 (9) - суммы НДС [00:08:23] 1010 (1) - 0% - код ставки НДС [00:08:23] 1011 (0) - 0.00 - сумма НДС по ставке [00:08:23] 1006 (9) - суммы НДС [00:08:23] 1010 (1) - 12% - код ставки НДС [00:08:23] 1011 (0) - 0.00 - сумма НДС по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 0% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 1% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 2% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 3% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 5% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 0,50% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 1,50% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1131 (141) - счетчики операций «расход» [00:08:23] 1135 (4) - 0 - количество чеков по признаку расчетов [00:08:23] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:08:23] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:08:23] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:08:23] 1024 (117) - суммы налогов [00:08:23] 1006 (9) - суммы НДС [00:08:23] 1010 (1) - 0% - код ставки НДС [00:08:23] 1011 (0) - 0.00 - сумма НДС по ставке [00:08:23] 1006 (9) - суммы НДС [00:08:23] 1010 (1) - 12% - код ставки НДС [00:08:23] 1011 (0) - 0.00 - сумма НДС по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 0% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 1% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 2% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 3% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 5% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 0,50% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 1,50% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1132 (141) - счетчики операций «возврат расхода» [00:08:23] 1135 (4) - 0 - количество чеков по признаку расчетов [00:08:23] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:08:23] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:08:23] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:08:23] 1024 (117) - суммы налогов [00:08:23] 1006 (9) - суммы НДС [00:08:23] 1010 (1) - 0% - код ставки НДС [00:08:23] 1011 (0) - 0.00 - сумма НДС по ставке [00:08:23] 1006 (9) - суммы НДС [00:08:23] 1010 (1) - 12% - код ставки НДС [00:08:23] 1011 (0) - 0.00 - сумма НДС по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 0% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 1% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 2% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 3% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 5% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 0,50% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1007 (9) - суммы НСП [00:08:23] 1014 (1) - 1,50% - код ставки НСП [00:08:23] 1015 (0) - 0.00 - сумма НСП по ставке [00:08:23] 1133 (588) - - счетчики коррекции - не используются [00:08:23]1077 (6) - 264541474984437 - ФПД [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1209 (04B9) [00:08:23]Malloc new data [00:08:23]Processing tag 1041 (0411) [00:08:23]Processing tag 1040 (0410) [00:08:23]Malloc new data [00:08:23]Processing tag 1038 (040E) [00:08:23]Malloc new data [00:08:23]Processing tag 1118 (045E) [00:08:23]Malloc new data [00:08:23]Processing tag 1111 (0457) [00:08:23]Malloc new data [00:08:23]Processing tag 1194 (04AA) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1134 (046E) [00:08:23]Malloc new data [00:08:23]Processing tag 1129 (0469) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1135 (046F) [00:08:23]Malloc new data [00:08:23]Processing tag 1201 (04B1) [00:08:23]Malloc new data [00:08:23]Processing tag 1136 (0470) [00:08:23]Malloc new data [00:08:23]Processing tag 1138 (0472) [00:08:23]Malloc new data [00:08:23]Processing tag 1024 (0400) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1006 (03EE) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1010 (03F2) [00:08:23]Malloc new data [00:08:23]Processing tag 1011 (03F3) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1006 (03EE) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1010 (03F2) [00:08:23]Malloc new data [00:08:23]Processing tag 1011 (03F3) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]SetTLVBufToDocument err=0 [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1130 (046A) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1135 (046F) [00:08:23]Malloc new data [00:08:23]Processing tag 1201 (04B1) [00:08:23]Malloc new data [00:08:23]Processing tag 1136 (0470) [00:08:23]Malloc new data [00:08:23]Processing tag 1138 (0472) [00:08:23]Malloc new data [00:08:23]Processing tag 1024 (0400) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1006 (03EE) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1010 (03F2) [00:08:23]Malloc new data [00:08:23]Processing tag 1011 (03F3) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1006 (03EE) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1010 (03F2) [00:08:23]Malloc new data [00:08:23]Processing tag 1011 (03F3) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]SetTLVBufToDocument err=0 [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1131 (046B) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1135 (046F) [00:08:23]Malloc new data [00:08:23]Processing tag 1201 (04B1) [00:08:23]Malloc new data [00:08:23]Processing tag 1136 (0470) [00:08:23]Malloc new data [00:08:23]Processing tag 1138 (0472) [00:08:23]Malloc new data [00:08:23]Processing tag 1024 (0400) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1006 (03EE) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1010 (03F2) [00:08:23]Malloc new data [00:08:23]Processing tag 1011 (03F3) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1006 (03EE) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1010 (03F2) [00:08:23]Malloc new data [00:08:23]Processing tag 1011 (03F3) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]SetTLVBufToDocument err=0 [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1132 (046C) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1135 (046F) [00:08:23]Malloc new data [00:08:23]Processing tag 1201 (04B1) [00:08:23]Malloc new data [00:08:23]Processing tag 1136 (0470) [00:08:23]Malloc new data [00:08:23]Processing tag 1138 (0472) [00:08:23]Malloc new data [00:08:23]Processing tag 1024 (0400) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1006 (03EE) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1010 (03F2) [00:08:23]Malloc new data [00:08:23]Processing tag 1011 (03F3) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1006 (03EE) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1010 (03F2) [00:08:23]Malloc new data [00:08:23]Processing tag 1011 (03F3) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:23]Processing tag 1015 (03F7) [00:08:23]Malloc new data [00:08:23]SetTLVBufToDocument err=0 [00:08:23]Processing tag 1007 (03EF) [00:08:23]Load OK [00:08:23]SetTLVBufToDocument [00:08:23]Processing tag 1014 (03F6) [00:08:23]Malloc new data [00:08:24]Processing tag 1015 (03F7) [00:08:24]Malloc new data [00:08:24]SetTLVBufToDocument err=0 [00:08:24]Processing tag 1007 (03EF) [00:08:24]Load OK [00:08:24]SetTLVBufToDocument [00:08:24]Processing tag 1014 (03F6) [00:08:24]Malloc new data [00:08:24]Processing tag 1015 (03F7) [00:08:24]Malloc new data [00:08:24]SetTLVBufToDocument err=0 [00:08:24]SetTLVBufToDocument err=0 [00:08:24]SetTLVBufToDocument err=0 [00:08:24]Processing tag 1133 (046D) [00:08:24]Malloc new data [00:08:24]SetTLVBufToDocument err=0 [00:08:24]Processing tag 1077 (0435) [00:08:24]Malloc new data [00:08:24]SetTLVBufToDocument err=0 [00:08:24]Malloc new data [00:08:24]SAM_PROTO_GetFMData [00:08:24]wFMCommunicate request_size=4 [00:08:24]MH_SAM_APDU [00:08:24]CAPDU: 80 13 03 00 [00:08:24]Write to MH i2c: E2 08 00 9B 03 80 13 03 00 00 00 00 00 1D [00:08:24]Write i2c OK [00:08:24]MH_I2C_Read... [00:08:24]OFD Sender: No OFD packet to send [00:08:24]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:08:24]Read from MH i2c: E2 [00:08:24]MH_I2C_Read... [00:08:24]Read from MH i2c: E2 FD 00 [00:08:24]MH_I2C_Read... [00:08:24]Read from MH i2c: E2 FD 00 9B 03 00 BE 04 85 04 BA 04 6E 04 04 00 D3 48 00 00 69 04 A0 00 6F 04 04 00 C4 48 00 00 B1 04 04 00 D8 16 DA 31 70 04 04 00 60 43 60 1F 72 04 04 00 78 D3 79 12 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E4 64 4B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4A EC 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 2F [00:08:24]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 D3 48 00 00 69 04 A0 00 6F 04 04 00 C4 48 00 00 B1 04 04 00 D8 16 DA 31 70 04 04 00 60 43 60 1F 72 04 04 00 78 D3 79 12 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E4 64 4B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4A EC 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 [00:08:25]wFMCommunicate OK [00:08:25]wFMCommunicate request_size=4 [00:08:25]MH_SAM_APDU [00:08:25]CAPDU: 80 17 00 00 [00:08:25]Write to MH i2c: E2 08 00 9C 03 80 17 00 00 00 00 00 00 1F [00:08:25]Write i2c OK [00:08:25]MH_I2C_Read... [00:08:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:25]Read from MH i2c: E2 [00:08:25]MH_I2C_Read... [00:08:25]Read from MH i2c: E2 FD 00 [00:08:25]MH_I2C_Read... [00:08:25]Read from MH i2c: E2 FD 00 9C 03 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 4F [00:08:25]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 [00:08:25]wFMCommunicate OK [00:08:25]wFMCommunicate request_size=4 [00:08:25]MH_SAM_APDU [00:08:25]CAPDU: 80 17 00 00 [00:08:25]Write to MH i2c: E2 08 00 9D 03 80 17 00 00 00 00 00 00 20 [00:08:25]Write i2c OK [00:08:25]MH_I2C_Read... [00:08:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:25]Read from MH i2c: E2 [00:08:25]MH_I2C_Read... [00:08:25]Read from MH i2c: E2 FD 00 [00:08:25]MH_I2C_Read... [00:08:25]Read from MH i2c: E2 FD 00 9D 03 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 52 [00:08:26]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:08:26]wFMCommunicate OK [00:08:26]wFMCommunicate request_size=4 [00:08:26]MH_SAM_APDU [00:08:26]CAPDU: 80 17 00 00 [00:08:26]Write to MH i2c: E2 08 00 9E 03 80 17 00 00 00 00 00 00 21 [00:08:26]Write i2c OK [00:08:26]MH_I2C_Read... [00:08:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:26]Read from MH i2c: E2 [00:08:26]MH_I2C_Read... [00:08:26]Read from MH i2c: E2 FD 00 [00:08:26]MH_I2C_Read... [00:08:26]Read from MH i2c: E2 FD 00 9E 03 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 9C [00:08:26]RAPDU: 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:08:26]wFMCommunicate OK [00:08:26]wFMCommunicate request_size=4 [00:08:26]MH_SAM_APDU [00:08:26]CAPDU: 80 17 00 00 [00:08:26]Write to MH i2c: E2 08 00 9F 03 80 17 00 00 00 00 00 00 22 [00:08:26]Write i2c OK [00:08:26]MH_I2C_Read... [00:08:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:08:27]Read from MH i2c: E2 [00:08:27]MH_I2C_Read... [00:08:27]Read from MH i2c: E2 DB 00 [00:08:27]MH_I2C_Read... [00:08:27]Read from MH i2c: E2 DB 00 9F 03 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 04 [00:08:27]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:08:27]wFMCommunicate OK [00:08:27]SAM_PROTO_GetFMData done [00:08:27]Malloc new data [00:08:27]Malloc new data [00:08:27]Malloc new data [00:08:27]Malloc new data [00:08:27]KKMLoadAndSignCloseShiftData err=0 [00:08:27]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Абдырахманова Ж. 26.09.2024 00:08 Смена: 183 РНМ: 0000000000152968 ЗНМ: 0300000010 СНО: Общий режим Чеков за смену: 87 ФД за смену: 89 Всего чеков: 87 ИТОГИ ПРИХОД Чеков: 87 Общий итог: 15429.00 Итого наличными: 12978.00 Итого безнал.: 2451.00 НДС 0% : 0.00 НДС 12% : 1638.46 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 136.44 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ РАСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ ВОЗВРАТ РАСХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 Сумма внесений: 0.00 Сумма выплат: 0.00 Нал. в кассе: 12978.00 НС Приход: 8363762.80 НС Возвр.Прихода: 56064.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 19010 ФМ: 0000000000959456 ФПД: 264541474984437 [00:08:27]StoreToDocumentArchive [00:08:27]shift 183 fd 19010 [00:08:27]save to /storage/0183/doc_00019010 [00:08:27]save last doc name /storage/0183/doc_00019010 to /storage/kkm_last_doc_name [00:08:27]save OK [00:08:27]Clear old archive folders... [00:08:27]Remove dir /storage/0010 [00:08:27]opendir ok [00:08:27]file . [00:08:27]file .. [00:08:27]file doc_1727309254 [00:08:27]remove file /storage/0010/doc_1727309254 [00:08:27]remove dir /storage/0010 [00:08:27]NVStorageSaveData kkm_registers [00:08:27]File name is /storage/kkm_registers [00:08:27]Write 24 bytes [00:08:27]NVStorageSaveData done [00:08:27]NVStorageSaveData kkm_registers [00:08:27]File name is /storage/kkm_registers [00:08:27]Write 24 bytes [00:08:27]NVStorageSaveData done [00:08:27]ProcessDocumentItem done err = 0, tmpTLVsize=1389 [00:08:27]tlvbuf is 01D53310 [00:08:27]SAM_PROTO_ClearQueue [00:08:27]wFMCommunicate request_size=4 [00:08:27]MH_SAM_APDU [00:08:27]CAPDU: 80 09 00 00 [00:08:27]Write to MH i2c: E2 08 00 A0 03 80 09 00 00 00 00 00 00 15 [00:08:27]Write i2c OK [00:08:27]MH_I2C_Read... [00:08:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:08:27]Read from MH i2c: E2 [00:08:27]MH_I2C_Read... [00:08:27]Read from MH i2c: E2 03 00 [00:08:27]MH_I2C_Read... [00:08:27]Read from MH i2c: E2 03 00 A0 03 00 90 00 17 [00:08:27]RAPDU: 90 00 [00:08:27]wFMCommunicate OK [00:08:27]SAM_PROTO_ClearQueue done [00:08:27]KKMCreateOFDPacket [00:08:27]OFDProtocolAddRootSTLVToBuf [00:08:27]FM_MakeSignedData [00:08:27]FM_MakeSignedData [00:08:27]SAM_PROTO_SignData [00:08:27]wFMCommunicate request_size=4 [00:08:27]MH_SAM_APDU [00:08:27]CAPDU: 80 0D 01 02 [00:08:27]Write to MH i2c: E2 08 00 A1 03 80 0D 01 02 00 00 00 00 1D [00:08:27]Write i2c OK [00:08:27]MH_I2C_Read... [00:08:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:08:27]Read from MH i2c: E2 [00:08:27]MH_I2C_Read... [00:08:27]Read from MH i2c: E2 03 00 [00:08:27]MH_I2C_Read... [00:08:27]Read from MH i2c: E2 03 00 A1 03 00 90 00 18 [00:08:27]RAPDU: 90 00 [00:08:27]wFMCommunicate OK [00:08:27]wFMCommunicate request_size=255 [00:08:27]MH_SAM_APDU [00:08:27]CAPDU: 80 0D 02 02 FA 05 00 6D 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1F 00 D0 90 D0 B1 D0 B4 D1 8B D1 80 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 96 2E 20 F4 03 04 00 F4 A5 F4 66 0E 04 04 00 B7 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 5E 04 04 00 57 00 00 00 57 04 04 00 59 00 00 00 AA 04 D5 04 6E 04 04 00 57 00 00 00 69 04 A2 00 6F 04 04 00 57 00 00 00 B1 04 03 00 F4 8A 17 70 04 03 00 88 CD 13 72 04 03 00 6C BD 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 06 80 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF [00:08:27]Write to MH i2c: E2 02 01 A2 03 80 0D 02 02 FA 00 05 00 6D 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1F 00 D0 90 D0 B1 D0 B4 D1 8B D1 80 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 96 2E 20 F4 03 04 00 F4 A5 F4 66 0E 04 04 00 B7 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 5E 04 04 00 57 00 00 00 57 04 04 00 59 00 00 00 AA 04 D5 04 6E 04 04 00 57 00 00 00 69 04 A2 00 6F 04 04 00 57 00 00 00 B1 04 03 00 F4 8A 17 70 04 03 00 88 CD 13 72 04 03 00 6C BD 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 06 80 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 00 00 35 [00:08:28]Write i2c OK [00:08:28]MH_I2C_Read... [00:08:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:08:28]Read from MH i2c: E2 [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: E2 03 00 [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: E2 03 00 A2 03 00 90 00 19 [00:08:28]RAPDU: 90 00 [00:08:28]wFMCommunicate OK [00:08:28]wFMCommunicate request_size=255 [00:08:28]MH_SAM_APDU [00:08:28]CAPDU: 80 0D 02 02 FA 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4C 35 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 [00:08:28]Write to MH i2c: E2 02 01 A3 03 80 0D 02 02 FA 00 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4C 35 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 00 00 1C [00:08:28]Write i2c OK [00:08:28]MH_I2C_Read... [00:08:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:08:28]Read from MH i2c: E2 [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: E2 03 00 [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: E2 03 00 A3 03 00 90 00 1A [00:08:28]RAPDU: 90 00 [00:08:28]wFMCommunicate OK [00:08:28]wFMCommunicate request_size=255 [00:08:28]MH_SAM_APDU [00:08:28]CAPDU: 80 0D 02 02 FA 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF [00:08:29]Write to MH i2c: E2 02 01 A4 03 80 0D 02 02 FA 00 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 00 00 D9 [00:08:29]Write i2c OK [00:08:29]MH_I2C_Read... [00:08:29]OFD Sender: No OFD packet to send [00:08:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:08:29]Read from MH i2c: E2 [00:08:29]MH_I2C_Read... [00:08:29]Read from MH i2c: E2 03 00 [00:08:29]MH_I2C_Read... [00:08:29]Read from MH i2c: E2 03 00 A4 03 00 90 00 1B [00:08:29]RAPDU: 90 00 [00:08:29]wFMCommunicate OK [00:08:29]wFMCommunicate request_size=255 [00:08:29]MH_SAM_APDU [00:08:29]CAPDU: 80 0D 02 02 FA 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 [00:08:29]Write to MH i2c: E2 02 01 A5 03 80 0D 02 02 FA 00 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 00 00 F9 [00:08:29]Write i2c OK [00:08:29]MH_I2C_Read... [00:08:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:08:30]Read from MH i2c: E2 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: E2 03 00 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: E2 03 00 A5 03 00 90 00 1C [00:08:30]RAPDU: 90 00 [00:08:30]wFMCommunicate OK [00:08:30]wFMCommunicate request_size=255 [00:08:30]MH_SAM_APDU [00:08:30]CAPDU: 80 0D 02 02 FA EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 [00:08:30]Write to MH i2c: E2 02 01 A6 03 80 0D 02 02 FA 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 00 B3 [00:08:30]Write i2c OK [00:08:30]MH_I2C_Read... [00:08:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:08:30]Read from MH i2c: E2 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: E2 03 00 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: E2 03 00 A6 03 00 90 00 1D [00:08:30]RAPDU: 90 00 [00:08:30]wFMCommunicate OK [00:08:30]wFMCommunicate request_size=148 [00:08:30]MH_SAM_APDU [00:08:30]CAPDU: 80 0D 02 02 8F 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 42 4A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 35 04 06 00 F0 99 5C A5 11 F5 [00:08:31]Write to MH i2c: E2 97 00 A7 03 80 0D 02 02 8F 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 42 4A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 35 04 06 00 F0 99 5C A5 11 F5 00 00 85 [00:08:31]Write i2c OK [00:08:31]MH_I2C_Read... [00:08:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:08:31]Read from MH i2c: E2 [00:08:31]MH_I2C_Read... [00:08:31]Read from MH i2c: E2 03 00 [00:08:31]MH_I2C_Read... [00:08:31]Read from MH i2c: E2 03 00 A7 03 00 90 00 1E [00:08:31]RAPDU: 90 00 [00:08:31]wFMCommunicate OK [00:08:31]wFMCommunicate request_size=4 [00:08:31]MH_SAM_APDU [00:08:31]CAPDU: 80 0D 03 02 [00:08:31]Write to MH i2c: E2 08 00 A8 03 80 0D 03 02 00 00 00 00 26 [00:08:31]Write i2c OK [00:08:31]MH_I2C_Read... [00:08:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:08:31]Read from MH i2c: E2 [00:08:31]MH_I2C_Read... [00:08:31]Read from MH i2c: E2 0B 00 [00:08:31]MH_I2C_Read... [00:08:31]Read from MH i2c: E2 0B 00 A8 03 00 5A BA 32 58 BE 5A 9A E8 90 00 5F [00:08:31]RAPDU: 5A BA 32 58 BE 5A 9A E8 90 00 [00:08:31]wFMCommunicate OK [00:08:31]SAM_PROTO_SignData done [00:08:31]FM_MakeSignedData done [00:08:31]CreateOFDProtocolMessage [00:08:31]wFMCommunicate request_size=4 [00:08:31]MH_SAM_APDU [00:08:31]CAPDU: 80 11 00 00 [00:08:31]Write to MH i2c: E2 08 00 A9 03 80 11 00 00 00 00 00 00 26 [00:08:31]Write i2c OK [00:08:31]MH_I2C_Read... [00:08:31]Read from MH i2c: E2 [00:08:31]MH_I2C_Read... [00:08:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:08:31]Read from MH i2c: E2 17 00 [00:08:31]MH_I2C_Read... [00:08:31]Read from MH i2c: E2 17 00 A9 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 7F [00:08:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [00:08:31]wFMCommunicate OK [00:08:31]CreateOFDProtocolMessage done [00:08:31]OFDSenderStorePacket 19010 [00:08:31]StoreOFDPacket docnum=19010 [00:08:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 81 05 00 00 1A EA 79 05 33 15 5A 05 01 00 05 00 6D 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1F 00 D0 90 D0 B1 D0 B4 D1 8B D1 80 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 96 2E 20 F4 03 04 00 F4 A5 F4 66 0E 04 04 00 B7 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 5E 04 04 00 57 00 00 00 57 04 04 00 59 00 00 00 AA 04 D5 04 6E 04 04 00 57 00 00 00 69 04 A2 00 6F 04 04 00 57 00 00 00 B1 04 03 00 F4 8A 17 70 04 03 00 88 CD 13 72 04 03 00 6C BD 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 06 80 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4C 35 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 42 4A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 35 04 06 00 F0 99 5C A5 11 F5 5A BA 32 58 BE 5A 9A E8 [00:08:31]CheckFolder [00:08:31]dirname=/storage/ofd_packets [00:08:31]CheckFolder done [00:08:31]ProducePacketName [00:08:31]name=ofd_packets/00019010 [00:08:31]NVStorageSaveData ofd_packets/00019010 [00:08:31]File name is /storage/ofd_packets/00019010 [00:08:31]Write 1439 bytes [00:08:31]NVStorageSaveData done [00:08:31]OFDSenderStorePacket done [00:08:31]KKMCreateOFDPacket done [00:08:31]NVStorageSaveData kkm_last_timestamp [00:08:31]File name is /storage/kkm_last_timestamp [00:08:31]Write 4 bytes [00:08:31]NVStorageSaveData done [00:08:31]ExternCall_PrintAddStr [00:08:31]wPrintStart [00:08:31]Write to MH i2c: 01 00 00 AA 03 AD [00:08:31]Write i2c OK [00:08:31]MH_I2C_Read... [00:08:31]Read from MH i2c: 01 [00:08:31]MH_I2C_Read... [00:08:31]Read from MH i2c: 01 07 00 [00:08:31]MH_I2C_Read... [00:08:31]Read from MH i2c: 01 07 00 AA 03 00 00 00 00 00 FF 0F C2 [00:08:31]RasterBufferAndPrint [00:08:31]line Отчет о закрытии смены [00:08:31]line ФФД: 1.0 [00:08:31]line ИНН: 02508201610067 [00:08:31]line Кассир: Абдырахманова Ж. [00:08:31]line 26.09.2024 00:08 [00:08:31]line Смена: 183 [00:08:31]line РНМ: 0000000000152968 [00:08:31]line ЗНМ: 0300000010 [00:08:31]line СНО: Общий режим [00:08:31]line Чеков за смену: 87 [00:08:31]line ФД за смену: 89 [00:08:31]line Всего чеков: 87 [00:08:31]line ИТОГИ ПРИХОД [00:08:31]line Чеков: 87 [00:08:31]line Общий итог: 15429.00 [00:08:31]line Итого наличными: 12978.00 [00:08:31]line Итого безнал.: 2451.00 [00:08:31]line НДС 0% : 0.00 [00:08:31]line НДС 12% : 1638.46 [00:08:31]line НСП 0% : 0.00 [00:08:31]OFD Sender: Processing packet 19010 [packets to send 7, broken 6] [00:08:31]line НСП 1,50% : 0.00 [00:08:31]ProducePacketName [00:08:31]line НСП 0,50% : 0.00 [00:08:31]name=ofd_packets/00019010 [00:08:31]line НСП 5% : 0.00 [00:08:31]OFD Sender: To server: pG, [00:08:31]CommunicateWithHost lk.salyk.kg:30040 [00:08:31]line НСП 3% : 0.00 [00:08:31]ConnectInit lk.salyk.kg [00:08:31]line НСП 2% : 0.00 [00:08:32]line НСП 1% : 136.44 [00:08:32]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:08:32]line Чеков: 0 [00:08:32]line Общий итог: 0.00 [00:08:32]line Итого наличными: 0.00 [00:08:32]line Итого безнал.: 0.00 [00:08:32]line НДС 0% : 0.00 [00:08:32]line НДС 12% : 0.00 [00:08:32]line НСП 0% : 0.00 [00:08:32]line НСП 1,50% : 0.00 [00:08:32]line НСП 0,50% : 0.00 [00:08:32]line НСП 5% : 0.00 [00:08:32]line НСП 3% : 0.00 [00:08:32]line НСП 2% : 0.00 [00:08:32]line НСП 1% : 0.00 [00:08:32]line ИТОГИ РАСХОД [00:08:32]line Чеков: 0 [00:08:32]line Общий итог: 0.00 [00:08:32]line Итого наличными: 0.00 [00:08:32]line Итого безнал.: 0.00 [00:08:32]line НДС 0% : 0.00 [00:08:32]line НДС 12% : 0.00 [00:08:32]line НСП 0% : 0.00 [00:08:32]line НСП 1,50% : 0.00 [00:08:32]line НСП 0,50% : 0.00 [00:08:32]line НСП 5% : 0.00 [00:08:32]line НСП 3% : 0.00 [00:08:32]line НСП 2% : 0.00 [00:08:32]line НСП 1% : 0.00 [00:08:32]line ИТОГИ ВОЗВРАТ РАСХОДА [00:08:32]line Чеков: 0 [00:08:32]line Общий итог: 0.00 [00:08:32]line Итого наличными: 0.00 [00:08:32]line Итого безнал.: 0.00 [00:08:32]line НДС 0% : 0.00 [00:08:32]line НДС 12% : 0.00 [00:08:32]line НСП 0% : 0.00 [00:08:32]line НСП 1,50% : 0.00 [00:08:32]line НСП 0,50% : 0.00 [00:08:32]line НСП 5% : 0.00 [00:08:32]line НСП 3% : 0.00 [00:08:32]line НСП 2% : 0.00 [00:08:32]line НСП 1% : 0.00 [00:08:32]line Сумма внесений: 0.00 [00:08:32]line Сумма выплат: 0.00 [00:08:32]line Нал. в кассе: 12978.00 [00:08:32]line НС Приход: 8363762.80 [00:08:32]line НС Возвр.Прихода: 56064.00 [00:08:32]line НС Расход: 0.00 [00:08:32]line НС Возвр.Расхода: 0.00 [00:08:32]line ФД: 19010 [00:08:32]line ФМ: 0000000000959456 [00:08:32]line ФПД: 264541474984437 [00:08:32]written 0, free lines is 4095 [00:08:32]Connected sock=10 [00:08:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 81 05 00 00 1A EA 79 05 33 15 5A 05 01 00 05 00 6D 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1F 00 D0 90 D0 B1 D0 B4 D1 8B D1 80 D0 B0 D1 85 D0 BC D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 96 2E 20 F4 03 04 00 F4 A5 F4 66 0E 04 04 00 B7 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 5E 04 04 00 57 00 00 00 57 04 04 00 59 00 00 00 AA 04 D5 04 6E 04 04 00 57 00 00 00 69 04 A2 00 6F 04 04 00 57 00 00 00 B1 04 03 00 F4 8A 17 70 04 03 00 88 CD 13 72 04 03 00 6C BD 03 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 06 80 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4C 35 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 42 4A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 35 04 06 00 F0 99 5C A5 11 F5 5A BA 32 58 BE 5A 9A E8 [00:08:34]Write to MH i2c: 01 00 00 FA 03 FD [00:08:34]Write i2c OK [00:08:34]MH_I2C_Read... [00:08:34]Read from MH i2c: 01 [00:08:34]MH_I2C_Read... [00:08:34]Read from MH i2c: 01 07 00 [00:08:34]MH_I2C_Read... [00:08:34]Read from MH i2c: 01 07 00 FA 03 00 00 00 00 00 FF 0F 12 [00:08:34]RasterBufferAndPrint [00:08:34]line [00:08:34]line [00:08:34]line [00:08:34]line [00:08:34]line [00:08:34]written 0, free lines is 4095 [00:08:34]MH_Cut [00:08:34]Write to MH i2c: D1 01 00 01 04 01 D7 [00:08:34]Write i2c OK [00:08:34]MH_I2C_Read... [00:08:34]Read from MH i2c: D1 [00:08:34]MH_I2C_Read... [00:08:34]Read from MH i2c: D1 01 00 [00:08:34]MH_I2C_Read... [00:08:34]Read from MH i2c: D1 01 00 01 04 00 D6 [00:08:34]Write to MH i2c: 01 00 00 02 04 06 [00:08:34]Write i2c OK [00:08:34]MH_I2C_Read... [00:08:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 35 D6 47 00 FE 23 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 *** Cut start [00:08:34]30 30 39 35 *** Partial cut [00:08:34]39 34 35 36 10 04 04 00 42 4A 00 00 F4 03 04 00 5C 4F F4 66 B6 04 01 00 00 7E EA 52 *** CUTSNS_PIN = 1 [00:08:34]D0 *** CUTSNS_PIN = 0 [00:08:34]57 BA E9 48 [00:08:34]CommunicateWithHost err = 0 [00:08:34]CheckOFDResponse [00:08:34]1017 (14) - 77093643461234 [00:08:34]1041 (16) - 0000000000959456 [00:08:34]1040 (4) - 19010 [00:08:34]1012 (4) - 25.09.2024 17:58 [00:08:34]1206 (1) - 0 [00:08:34]OFD Sender: Remove packet 19010 [00:08:34]ProducePacketName [00:08:34]name=ofd_packets/00019010 [00:08:34]NVStorageDeleteData [00:08:34]*** Brake cut motor [00:08:34]Read from MH i2c: 01 [00:08:34]MH_I2C_Read... [00:08:34]*** Stop cut motor [00:08:34]*** Cut end [00:08:34]Read from MH i2c: 01 07 00 [00:08:34]MH_I2C_Read... [00:08:35]Read from MH i2c: 01 07 00 02 04 00 00 00 00 00 FF 0F 1B [00:08:35]process_action close_shift done [00:08:35]requested_data is exist [00:08:35]produce_requested_data [00:08:35]requested_item fd.num is exist - process it [00:08:35]SAM_PROTO_GetFieldsCounters [00:08:35]wFMCommunicate request_size=4 [00:08:35]MH_SAM_APDU [00:08:35]CAPDU: 80 13 00 00 [00:08:35]Write to MH i2c: E2 08 00 03 04 80 13 00 00 00 00 00 00 83 [00:08:35]Write i2c OK [00:08:35]MH_I2C_Read... [00:08:35]OFD Sender: No OFD packet to send [00:08:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:08:35]Read from MH i2c: E2 [00:08:35]MH_I2C_Read... [00:08:35]Read from MH i2c: E2 62 00 [00:08:35]MH_I2C_Read... [00:08:35]Read from MH i2c: E2 62 00 03 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 42 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 F9 [00:08:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 42 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:08:35]wFMCommunicate OK [00:08:35]SAM_PROTO_GetFieldsCounters done [00:08:35]requested_item shift.num is exist - process it [00:08:35]requested_item shift.opened is exist - process it [00:08:35]req_shift_opened [00:08:35]FM_GetShiftState [00:08:35]SAM_PROTO_GetShiftState [00:08:35]wFMCommunicate request_size=4 [00:08:35]MH_SAM_APDU [00:08:35]CAPDU: 80 13 01 00 [00:08:35]Write to MH i2c: E2 08 00 04 04 80 13 01 00 00 00 00 00 85 [00:08:35]Write i2c OK [00:08:35]MH_I2C_Read... [00:08:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:08:35]Read from MH i2c: E2 [00:08:35]MH_I2C_Read... [00:08:35]Read from MH i2c: E2 0E 00 [00:08:35]MH_I2C_Read... [00:08:35]Read from MH i2c: E2 0E 00 04 04 00 09 00 00 00 00 00 00 00 00 00 00 90 00 90 [00:08:35]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:08:35]wFMCommunicate OK [00:08:35]SAM_PROTO_GetShiftState done [00:08:35]FM_GetShiftState done [00:08:35]req_shift_opened done [00:08:35]requested_item shift.open_date is exist - process it [00:08:35]req_shift_open_date [00:08:35]FM_GetShiftState [00:08:35]SAM_PROTO_GetShiftState [00:08:35]wFMCommunicate request_size=4 [00:08:35]MH_SAM_APDU [00:08:35]CAPDU: 80 13 01 00 [00:08:35]Write to MH i2c: E2 08 00 05 04 80 13 01 00 00 00 00 00 86 [00:08:35]Write i2c OK [00:08:35]MH_I2C_Read... [00:08:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:08:35]Read from MH i2c: E2 [00:08:35]MH_I2C_Read... [00:08:35]Read from MH i2c: E2 0E 00 [00:08:35]MH_I2C_Read... [00:08:35]Read from MH i2c: E2 0E 00 05 04 00 09 00 00 00 00 00 00 00 00 00 00 90 00 91 [00:08:35]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:08:35]wFMCommunicate OK [00:08:35]SAM_PROTO_GetShiftState done [00:08:35]FM_GetShiftState done [00:08:35]req_shift_open_date done [00:08:35]produce_requested_data done [00:08:35]produce_requested_data return {"fd.num":19010,"shift.num":183,"shift.opened":0,"shift.open_date":0} [00:08:35]process_action_free close_shift [00:08:35]json_value_free [00:08:35]json_value_free done [00:08:35]process_json_proto returns [00:08:35]Send response to host [00:08:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":19010,"shift.num":183,"shift.opened":0,"shift.open_date":0}}} [00:08:35]free response buf [00:08:35]execute_script done [00:08:35]execute_script returns [00:08:35]free content buf [00:08:35]Sock 7.Close socket [00:08:35]Sock 7.Thread stoped [00:08:40]OFD Sender: No OFD packet to send [00:08:45]OFD Sender: No OFD packet to send [00:08:50]OFD Sender: No OFD packet to send [00:08:55]OFD Sender: No OFD packet to send [00:09:00]OFD Sender: No OFD packet to send [00:09:05]OFD Sender: No OFD packet to send [00:09:10]OFD Sender: No OFD packet to send [00:09:15]OFD Sender: No OFD packet to send [00:09:20]OFD Sender: No OFD packet to send [00:09:25]OFD Sender: No OFD packet to send [00:09:30]OFD Sender: No OFD packet to send [00:09:35]OFD Sender: No OFD packet to send [00:09:40]OFD Sender: No OFD packet to send [00:09:45]OFD Sender: No OFD packet to send [00:09:50]OFD Sender: No OFD packet to send [00:09:55]OFD Sender: No OFD packet to send [00:10:00]OFD Sender: No OFD packet to send [00:10:05]OFD Sender: No OFD packet to send [00:10:10]OFD Sender: No OFD packet to send [00:10:15]OFD Sender: No OFD packet to send [00:10:20]OFD Sender: No OFD packet to send [00:10:25]OFD Sender: No OFD packet to send [00:10:30]OFD Sender: No OFD packet to send [00:10:35]OFD Sender: No OFD packet to send [00:10:40]OFD Sender: No OFD packet to send [00:10:45]OFD Sender: No OFD packet to send [00:10:50]OFD Sender: No OFD packet to send [00:10:55]OFD Sender: No OFD packet to send [00:11:00]OFD Sender: No OFD packet to send [00:11:05]OFD Sender: No OFD packet to send [00:11:10]OFD Sender: No OFD packet to send [00:11:15]OFD Sender: No OFD packet to send [00:11:20]OFD Sender: No OFD packet to send [00:11:25]OFD Sender: No OFD packet to send [00:11:30]OFD Sender: No OFD packet to send [00:11:35]OFD Sender: No OFD packet to send [00:11:40]OFD Sender: No OFD packet to send [00:11:45]OFD Sender: No OFD packet to send [00:11:50]OFD Sender: No OFD packet to send [00:11:55]OFD Sender: No OFD packet to send [00:12:00]OFD Sender: No OFD packet to send [00:12:05]OFD Sender: No OFD packet to send [00:12:10]OFD Sender: No OFD packet to send [00:12:15]OFD Sender: No OFD packet to send [00:12:20]OFD Sender: No OFD packet to send [00:12:25]OFD Sender: No OFD packet to send [00:12:30]OFD Sender: No OFD packet to send [00:12:35]OFD Sender: No OFD packet to send [00:12:40]OFD Sender: No OFD packet to send [00:12:45]OFD Sender: No OFD packet to send [00:12:50]OFD Sender: No OFD packet to send [00:12:55]OFD Sender: No OFD packet to send [00:13:00]OFD Sender: No OFD packet to send [00:13:05]OFD Sender: No OFD packet to send [00:13:10]OFD Sender: No OFD packet to send [00:13:15]OFD Sender: No OFD packet to send [00:13:20]OFD Sender: No OFD packet to send [00:13:25]OFD Sender: No OFD packet to send [00:13:30]OFD Sender: No OFD packet to send [00:13:35]OFD Sender: No OFD packet to send [00:13:40]OFD Sender: No OFD packet to send [00:13:45]OFD Sender: No OFD packet to send [00:13:50]OFD Sender: No OFD packet to send [00:13:55]OFD Sender: No OFD packet to send [00:14:00]OFD Sender: No OFD packet to send [00:14:05]OFD Sender: No OFD packet to send [00:14:09]accept exits with 9 [00:14:09]New connection [00:14:09]New thread 3066695012 created [00:14:09]Thread 3066551652 joined [00:14:09]Waiting for new connection... [00:14:09] Sock 9.Parse request [00:14:09]Sock 9.Check first char [00:14:09]Sock 9.First char is OK [00:14:09]request: POST /json_proto HTTP/1.0 [00:14:09]Method: POST [00:14:09]URL: /json_proto [00:14:09]Method is POST - this is cgi request [00:14:09]url: /json_proto [00:14:09]query_string will be loaded in cgi processing [00:14:09]execute_cgi json_proto POST (null) [00:14:09]execute_cgi path=json_proto method=POST [00:14:09]POST find Content-Length [00:14:09]Host: 172.17.62.196:8080 [00:14:09]Content-Length: 215 [00:14:09]Content-Type: application/json [00:14:09] [00:14:09]POST finish read [00:14:09]Found Content-Length = 215 [00:14:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:14:09]execute_script... [00:14:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:14:09]POST & json_proto [00:14:09]process_json_proto [00:14:09]json parsed OK: [00:14:09]protocol is kg_v1.0 [00:14:09]action value=get_value [00:14:09]process_action get_value [00:14:09]cmd_get_value [00:14:09]process_action get_value done [00:14:09]requested_data is exist [00:14:09]produce_requested_data [00:14:09]requested_item kkm.sn is exist - process it [00:14:09]requested_item kkm.ver is exist - process it [00:14:09]requested_item fm.sn is exist - process it [00:14:09]wFMCommunicate request_size=4 [00:14:09]MH_SAM_APDU [00:14:09]CAPDU: 80 11 00 00 [00:14:09]Write to MH i2c: E2 08 00 06 04 80 11 00 00 00 00 00 00 84 [00:14:09]Write i2c OK [00:14:09]MH_I2C_Read... [00:14:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:14:09]Read from MH i2c: E2 [00:14:09]MH_I2C_Read... [00:14:09]Read from MH i2c: E2 17 00 [00:14:09]MH_I2C_Read... [00:14:09]Read from MH i2c: E2 17 00 06 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 DD [00:14:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [00:14:09]wFMCommunicate OK [00:14:09]requested_item fd.num is exist - process it [00:14:09]SAM_PROTO_GetFieldsCounters [00:14:09]wFMCommunicate request_size=4 [00:14:09]MH_SAM_APDU [00:14:09]CAPDU: 80 13 00 00 [00:14:09]Write to MH i2c: E2 08 00 07 04 80 13 00 00 00 00 00 00 87 [00:14:09]Write i2c OK [00:14:09]MH_I2C_Read... [00:14:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:14:09]Read from MH i2c: E2 [00:14:09]MH_I2C_Read... [00:14:09]Read from MH i2c: E2 62 00 [00:14:09]MH_I2C_Read... [00:14:09]Read from MH i2c: E2 62 00 07 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 42 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 FD [00:14:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 42 4A 00 00 0E 04 04 00 B7 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:14:09]wFMCommunicate OK [00:14:09]SAM_PROTO_GetFieldsCounters done [00:14:09]requested_item shift.num is exist - process it [00:14:09]requested_item shift.opened is exist - process it [00:14:09]req_shift_opened [00:14:09]FM_GetShiftState [00:14:09]SAM_PROTO_GetShiftState [00:14:09]wFMCommunicate request_size=4 [00:14:09]MH_SAM_APDU [00:14:09]CAPDU: 80 13 01 00 [00:14:09]Write to MH i2c: E2 08 00 08 04 80 13 01 00 00 00 00 00 89 [00:14:09]Write i2c OK [00:14:09]MH_I2C_Read... [00:14:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:09]Read from MH i2c: E2 [00:14:09]MH_I2C_Read... [00:14:09]Read from MH i2c: E2 0E 00 [00:14:09]MH_I2C_Read... [00:14:09]Read from MH i2c: E2 0E 00 08 04 00 09 00 00 00 00 00 00 00 00 00 00 90 00 94 [00:14:09]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:14:09]wFMCommunicate OK [00:14:09]SAM_PROTO_GetShiftState done [00:14:09]FM_GetShiftState done [00:14:09]req_shift_opened done [00:14:09]requested_item shift.open_date is exist - process it [00:14:09]req_shift_open_date [00:14:09]FM_GetShiftState [00:14:09]SAM_PROTO_GetShiftState [00:14:09]wFMCommunicate request_size=4 [00:14:09]MH_SAM_APDU [00:14:09]CAPDU: 80 13 01 00 [00:14:09]Write to MH i2c: E2 08 00 09 04 80 13 01 00 00 00 00 00 8A [00:14:09]Write i2c OK [00:14:09]MH_I2C_Read... [00:14:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:09]Read from MH i2c: E2 [00:14:09]MH_I2C_Read... [00:14:09]Read from MH i2c: E2 0E 00 [00:14:09]MH_I2C_Read... [00:14:09]Read from MH i2c: E2 0E 00 09 04 00 09 00 00 00 00 00 00 00 00 00 00 90 00 95 [00:14:09]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:14:09]wFMCommunicate OK [00:14:09]SAM_PROTO_GetShiftState done [00:14:09]FM_GetShiftState done [00:14:09]req_shift_open_date done [00:14:09]produce_requested_data done [00:14:09]produce_requested_data return {"kkm.sn":"0300000010","kkm.ver":"v1.0","fm.sn":"0000000000959456","fd.num":19010,"shift.num":183,"shift.opened":0,"shift.open_date":0} [00:14:09]process_action_free get_value [00:14:09]json_value_free [00:14:09]json_value_free done [00:14:09]process_json_proto returns [00:14:09]Send response to host [00:14:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000010","kkm.ver":"v1.0","fm.sn":"0000000000959456","fd.num":19010,"shift.num":183,"shift.opened":0,"shift.open_date":0}}} [00:14:09]free response buf [00:14:09]execute_script done [00:14:09]execute_script returns [00:14:09]free content buf [00:14:09]Sock 9.Close socket [00:14:09]Sock 9.Thread stoped [00:14:09]accept exits with 7 [00:14:09]New connection [00:14:09]New thread 3066551652 created [00:14:09]Thread 3066695012 joined [00:14:09]Waiting for new connection... [00:14:09] Sock 7.Parse request [00:14:09]Sock 7.Check first char [00:14:09]Sock 7.First char is OK [00:14:09]request: POST /json_proto HTTP/1.0 [00:14:09]Method: POST [00:14:09]URL: /json_proto [00:14:09]Method is POST - this is cgi request [00:14:09]url: /json_proto [00:14:09]query_string will be loaded in cgi processing [00:14:09]execute_cgi json_proto POST (null) [00:14:09]execute_cgi path=json_proto method=POST [00:14:09]POST find Content-Length [00:14:09]Host: 172.17.62.196:8080 [00:14:09]Content-Length: 331 [00:14:09]Content-Type: application/json [00:14:09] [00:14:09]POST finish read [00:14:09]Found Content-Length = 331 [00:14:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:14:09]execute_script... [00:14:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:14:09]POST & json_proto [00:14:09]process_json_proto [00:14:09]json parsed OK: [00:14:09]protocol is kg_v1.0 [00:14:10]action value=get_value [00:14:10]process_action get_value [00:14:10]cmd_get_value [00:14:10]process_action get_value done [00:14:10]requested_data is exist [00:14:10]produce_requested_data [00:14:10]requested_item fm.sale.total is exist - process it [00:14:10]SAM_PROTO_GetFMData [00:14:10]wFMCommunicate request_size=4 [00:14:10]MH_SAM_APDU [00:14:10]CAPDU: 80 13 03 00 [00:14:10]Write to MH i2c: E2 08 00 0A 04 80 13 03 00 00 00 00 00 8D [00:14:10]Write i2c OK [00:14:10]MH_I2C_Read... [00:14:10]OFD Sender: No OFD packet to send [00:14:10]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:14:10]Read from MH i2c: E2 [00:14:10]MH_I2C_Read... [00:14:10]Read from MH i2c: E2 FD 00 [00:14:10]MH_I2C_Read... [00:14:10]Read from MH i2c: E2 FD 00 0A 04 00 BE 04 85 04 BA 04 6E 04 04 00 D3 48 00 00 69 04 A0 00 6F 04 04 00 C4 48 00 00 B1 04 04 00 D8 16 DA 31 70 04 04 00 60 43 60 1F 72 04 04 00 78 D3 79 12 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E4 64 4B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4A EC 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 9F [00:14:10]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 D3 48 00 00 69 04 A0 00 6F 04 04 00 C4 48 00 00 B1 04 04 00 D8 16 DA 31 70 04 04 00 60 43 60 1F 72 04 04 00 78 D3 79 12 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E4 64 4B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4A EC 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 [00:14:10]wFMCommunicate OK [00:14:10]wFMCommunicate request_size=4 [00:14:10]MH_SAM_APDU [00:14:10]CAPDU: 80 17 00 00 [00:14:10]Write to MH i2c: E2 08 00 0B 04 80 17 00 00 00 00 00 00 8F [00:14:10]Write i2c OK [00:14:10]MH_I2C_Read... [00:14:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:10]Read from MH i2c: E2 [00:14:10]MH_I2C_Read... [00:14:10]Read from MH i2c: E2 FD 00 [00:14:10]MH_I2C_Read... [00:14:10]Read from MH i2c: E2 FD 00 0B 04 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 BF [00:14:10]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 [00:14:10]wFMCommunicate OK [00:14:10]wFMCommunicate request_size=4 [00:14:10]MH_SAM_APDU [00:14:10]CAPDU: 80 17 00 00 [00:14:10]Write to MH i2c: E2 08 00 0C 04 80 17 00 00 00 00 00 00 90 [00:14:10]Write i2c OK [00:14:10]MH_I2C_Read... [00:14:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:11]Read from MH i2c: E2 [00:14:11]MH_I2C_Read... [00:14:11]Read from MH i2c: E2 FD 00 [00:14:11]MH_I2C_Read... [00:14:11]Read from MH i2c: E2 FD 00 0C 04 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 C2 [00:14:11]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:14:11]wFMCommunicate OK [00:14:11]wFMCommunicate request_size=4 [00:14:11]MH_SAM_APDU [00:14:11]CAPDU: 80 17 00 00 [00:14:11]Write to MH i2c: E2 08 00 0D 04 80 17 00 00 00 00 00 00 91 [00:14:11]Write i2c OK [00:14:11]MH_I2C_Read... [00:14:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:11]Read from MH i2c: E2 [00:14:11]MH_I2C_Read... [00:14:11]Read from MH i2c: E2 FD 00 [00:14:11]MH_I2C_Read... [00:14:11]Read from MH i2c: E2 FD 00 0D 04 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 0C [00:14:11]RAPDU: 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:14:11]wFMCommunicate OK [00:14:11]wFMCommunicate request_size=4 [00:14:11]MH_SAM_APDU [00:14:11]CAPDU: 80 17 00 00 [00:14:11]Write to MH i2c: E2 08 00 0E 04 80 17 00 00 00 00 00 00 92 [00:14:11]Write i2c OK [00:14:11]MH_I2C_Read... [00:14:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:14:11]Read from MH i2c: E2 [00:14:11]MH_I2C_Read... [00:14:11]Read from MH i2c: E2 DB 00 [00:14:11]MH_I2C_Read... [00:14:11]Read from MH i2c: E2 DB 00 0E 04 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 74 [00:14:11]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:14:11]wFMCommunicate OK [00:14:11]SAM_PROTO_GetFMData done [00:14:11]requested_item fm.sale_refund.total is exist - process it [00:14:11]requested_item fm.buy.total is exist - process it [00:14:11]requested_item shift.sale.total is exist - process it [00:14:11]SAM_PROTO_GetShiftData [00:14:11]wFMCommunicate request_size=4 [00:14:11]MH_SAM_APDU [00:14:11]CAPDU: 80 13 02 00 [00:14:11]Write to MH i2c: E2 08 00 0F 04 80 13 02 00 00 00 00 00 91 [00:14:11]Write i2c OK [00:14:11]MH_I2C_Read... [00:14:12]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:14:12]Read from MH i2c: E2 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: E2 FD 00 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: E2 FD 00 0F 04 00 AE 04 AA 04 AA 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 57 00 00 00 B1 04 03 00 F4 8A 17 70 04 03 00 88 CD 13 72 04 03 00 6C BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 06 80 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4C 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 32 [00:14:12]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 57 00 00 00 B1 04 03 00 F4 8A 17 70 04 03 00 88 CD 13 72 04 03 00 6C BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 06 80 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4C 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:14:12]wFMCommunicate OK [00:14:12]wFMCommunicate request_size=4 [00:14:12]MH_SAM_APDU [00:14:12]CAPDU: 80 17 00 00 [00:14:12]Write to MH i2c: E2 08 00 10 04 80 17 00 00 00 00 00 00 94 [00:14:12]Write i2c OK [00:14:12]MH_I2C_Read... [00:14:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:12]Read from MH i2c: E2 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: E2 FD 00 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: E2 FD 00 10 04 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 B6 [00:14:12]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:14:12]wFMCommunicate OK [00:14:12]wFMCommunicate request_size=4 [00:14:12]MH_SAM_APDU [00:14:12]CAPDU: 80 17 00 00 [00:14:12]Write to MH i2c: E2 08 00 11 04 80 17 00 00 00 00 00 00 95 [00:14:12]Write i2c OK [00:14:12]MH_I2C_Read... [00:14:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:12]Read from MH i2c: E2 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: E2 FD 00 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: E2 FD 00 11 04 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 4C [00:14:12]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:14:12]wFMCommunicate OK [00:14:12]wFMCommunicate request_size=4 [00:14:12]MH_SAM_APDU [00:14:12]CAPDU: 80 17 00 00 [00:14:12]Write to MH i2c: E2 08 00 12 04 80 17 00 00 00 00 00 00 96 [00:14:12]Write i2c OK [00:14:12]MH_I2C_Read... [00:14:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:12]Read from MH i2c: E2 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: E2 FD 00 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: E2 FD 00 12 04 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 08 [00:14:12]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:14:12]wFMCommunicate OK [00:14:12]wFMCommunicate request_size=4 [00:14:12]MH_SAM_APDU [00:14:12]CAPDU: 80 17 00 00 [00:14:12]Write to MH i2c: E2 08 00 13 04 80 17 00 00 00 00 00 00 97 [00:14:12]Write i2c OK [00:14:12]MH_I2C_Read... [00:14:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:14:13]Read from MH i2c: E2 [00:14:13]MH_I2C_Read... [00:14:13]Read from MH i2c: E2 CB 00 [00:14:13]MH_I2C_Read... [00:14:13]Read from MH i2c: E2 CB 00 13 04 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 80 [00:14:13]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:14:13]wFMCommunicate OK [00:14:13]SAM_PROTO_GetShiftData done [00:14:13]requested_item shift.sale.total_cash is exist - process it [00:14:13]requested_item shift.sale_refund.total is exist - process it [00:14:13]requested_item shift.sale_refund.total_cash is exist - process it [00:14:13]requested_item shift.buy.total is exist - process it [00:14:13]requested_item shift.buy.total_cash is exist - process it [00:14:13]produce_requested_data done [00:14:13]produce_requested_data return {"fm.sale.total":8363762.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":15429.00,"shift.sale.total_cash":12978.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:14:13]process_action_free get_value [00:14:13]json_value_free [00:14:13]json_value_free done [00:14:13]process_json_proto returns [00:14:13]Send response to host [00:14:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8363762.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":15429.00,"shift.sale.total_cash":12978.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:14:13]free response buf [00:14:13]execute_script done [00:14:13]execute_script returns [00:14:13]free content buf [00:14:13]Sock 7.Close socket [00:14:13]Sock 7.Thread stoped [00:14:14]accept exits with 9 [00:14:14]New connection [00:14:14]New thread 3066695012 created [00:14:14]Thread 3066551652 joined [00:14:14]Waiting for new connection... [00:14:14] Sock 9.Parse request [00:14:14]Sock 9.Check first char [00:14:14]Sock 9.First char is OK [00:14:14]request: POST /json_proto HTTP/1.0 [00:14:14]Method: POST [00:14:14]URL: /json_proto [00:14:14]Method is POST - this is cgi request [00:14:14]url: /json_proto [00:14:14]query_string will be loaded in cgi processing [00:14:14]execute_cgi json_proto POST (null) [00:14:14]execute_cgi path=json_proto method=POST [00:14:14]POST find Content-Length [00:14:14]Host: 172.17.62.196:8080 [00:14:14]Content-Length: 253 [00:14:14]Content-Type: application/json [00:14:14] [00:14:14]POST finish read [00:14:14]Found Content-Length = 253 [00:14:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041C\u0430\u043C\u0435\u0434\u043E\u0432 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:14:14]execute_script... [00:14:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041C\u0430\u043C\u0435\u0434\u043E\u0432 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:14:14]POST & json_proto [00:14:14]process_json_proto [00:14:14]json parsed OK: [00:14:14]protocol is kg_v1.0 [00:14:14]action value=open_shift [00:14:14]process_action open_shift [00:14:14]cmd_open_shift [00:14:14]MH_GetDate [00:14:14]Write to MH i2c: F0 00 00 14 04 07 [00:14:14]Write i2c OK [00:14:14]MH_I2C_Read... [00:14:14]Read from MH i2c: F0 [00:14:14]MH_I2C_Read... [00:14:14]Read from MH i2c: F0 09 00 [00:14:14]MH_I2C_Read... [00:14:14]Read from MH i2c: F0 09 00 14 04 00 58 A7 F4 66 CE CC 0E 66 77 [00:14:14]GetLastDocTimeStamp 1727309300 [00:14:14]current date 1727309656 [00:14:14]FM_GetShiftState [00:14:14]SAM_PROTO_GetShiftState [00:14:14]wFMCommunicate request_size=4 [00:14:14]MH_SAM_APDU [00:14:14]CAPDU: 80 13 01 00 [00:14:14]Write to MH i2c: E2 08 00 15 04 80 13 01 00 00 00 00 00 96 [00:14:14]Write i2c OK [00:14:14]MH_I2C_Read... [00:14:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:14]Read from MH i2c: E2 [00:14:14]MH_I2C_Read... [00:14:14]Read from MH i2c: E2 0E 00 [00:14:14]MH_I2C_Read... [00:14:14]Read from MH i2c: E2 0E 00 15 04 00 09 00 00 00 00 00 00 00 00 00 00 90 00 A1 [00:14:14]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:14:14]wFMCommunicate OK [00:14:14]SAM_PROTO_GetShiftState done [00:14:14]FM_GetShiftState done [00:14:14]KKMCreateOpenShiftDocument [00:14:14]Load OK [00:14:14]Malloc new data [00:14:14]MH_GetDate [00:14:14]Write to MH i2c: F0 00 00 16 04 09 [00:14:14]Write i2c OK [00:14:14]MH_I2C_Read... [00:14:14]Read from MH i2c: F0 [00:14:14]MH_I2C_Read... [00:14:14]Read from MH i2c: F0 09 00 [00:14:14]MH_I2C_Read... [00:14:14]Read from MH i2c: F0 09 00 16 04 00 58 A7 F4 66 CE CC 0E 66 79 [00:14:14]Malloc new data [00:14:14]KKMCreateOpenShiftDocument OK [00:14:14]KKMSetOpenShiftData OK [00:14:14]ProcessDocumentItem done err = 0, tmpTLVsize=204 [00:14:14]tlvbuf is 01E76E80 [00:14:14]KKMLoadAndSignOpenShiftData [00:14:14]SAM_PROTO_ProcessDocument [00:14:14]wFMCommunicate request_size=9 [00:14:14]MH_SAM_APDU [00:14:14]CAPDU: 80 15 01 00 04 02 00 CC 00 [00:14:14]Write to MH i2c: E2 0C 00 17 04 80 15 01 00 04 00 02 00 CC 00 00 00 70 [00:14:14]Write i2c OK [00:14:14]MH_I2C_Read... [00:14:14]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:14:14]Read from MH i2c: E2 [00:14:14]MH_I2C_Read... [00:14:14]Read from MH i2c: E2 03 00 [00:14:14]MH_I2C_Read... [00:14:14]Read from MH i2c: E2 03 00 17 04 00 90 00 8F [00:14:14]RAPDU: 90 00 [00:14:14]wFMCommunicate OK [00:14:14]wFMCommunicate request_size=23 [00:14:14]MH_SAM_APDU [00:14:14]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:14:14]Write to MH i2c: E2 1A 00 18 04 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 91 [00:14:14]Write i2c OK [00:14:14]MH_I2C_Read... [00:14:14]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:14]Read from MH i2c: E2 [00:14:14]MH_I2C_Read... [00:14:14]Read from MH i2c: E2 03 00 [00:14:15]MH_I2C_Read... [00:14:15]Read from MH i2c: E2 03 00 18 04 00 90 00 90 [00:14:15]RAPDU: 90 00 [00:14:15]wFMCommunicate OK [00:14:15]wFMCommunicate request_size=28 [00:14:15]MH_SAM_APDU [00:14:15]CAPDU: 80 15 02 00 17 FD 03 13 00 D0 9C D0 B0 D0 BC D0 B5 D0 B4 D0 BE D0 B2 20 D0 AD 2E 20 [00:14:15]Write to MH i2c: E2 1F 00 19 04 80 15 02 00 17 00 FD 03 13 00 D0 9C D0 B0 D0 BC D0 B5 D0 B4 D0 BE D0 B2 20 D0 AD 2E 20 00 00 5A [00:14:15]Write i2c OK [00:14:15]MH_I2C_Read... [00:14:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:15]Read from MH i2c: E2 [00:14:15]MH_I2C_Read... [00:14:15]Read from MH i2c: E2 03 00 [00:14:15]MH_I2C_Read... [00:14:15]Read from MH i2c: E2 03 00 19 04 00 90 00 91 [00:14:15]RAPDU: 90 00 [00:14:15]wFMCommunicate OK [00:14:15]wFMCommunicate request_size=94 [00:14:15]MH_SAM_APDU [00:14:15]CAPDU: 80 15 02 00 59 F1 03 55 00 37 32 30 30 30 30 2C 20 D0 B3 2E 20 D0 9E D1 88 2C 20 D0 9F D0 B0 D0 BC D0 B8 D1 80 D1 81 D0 BA D0 B8 D0 B9 20 D1 82 D1 80 D0 B0 D0 BA D1 82 20 31 20 D0 BA D0 BC 2C 20 D0 B4 2E 20 31 30 32 2C 20 34 30 2E 35 33 34 39 36 33 2C 20 37 32 2E 38 31 36 37 39 30 [00:14:15]Write to MH i2c: E2 61 00 1A 04 80 15 02 00 59 00 F1 03 55 00 37 32 30 30 30 30 2C 20 D0 B3 2E 20 D0 9E D1 88 2C 20 D0 9F D0 B0 D0 BC D0 B8 D1 80 D1 81 D0 BA D0 B8 D0 B9 20 D1 82 D1 80 D0 B0 D0 BA D1 82 20 31 20 D0 BA D0 BC 2C 20 D0 B4 2E 20 31 30 32 2C 20 34 30 2E 35 33 34 39 36 33 2C 20 37 32 2E 38 31 36 37 39 30 00 00 CA [00:14:15]Write i2c OK [00:14:15]MH_I2C_Read... [00:14:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:15]Read from MH i2c: E2 [00:14:15]MH_I2C_Read... [00:14:15]Read from MH i2c: E2 03 00 [00:14:15]MH_I2C_Read... [00:14:15]Read from MH i2c: E2 03 00 1A 04 00 90 00 92 [00:14:15]RAPDU: 90 00 [00:14:15]wFMCommunicate OK [00:14:15]wFMCommunicate request_size=51 [00:14:15]MH_SAM_APDU [00:14:15]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 37 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 [00:14:15]Write to MH i2c: E2 36 00 1B 04 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 37 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 00 00 4F [00:14:15]Write i2c OK [00:14:15]MH_I2C_Read... [00:14:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:15]Read from MH i2c: E2 [00:14:15]MH_I2C_Read... [00:14:15]Read from MH i2c: E2 03 00 [00:14:15]MH_I2C_Read... [00:14:15]Read from MH i2c: E2 03 00 1B 04 00 90 00 93 [00:14:15]RAPDU: 90 00 [00:14:15]wFMCommunicate OK [00:14:15]wFMCommunicate request_size=13 [00:14:15]MH_SAM_APDU [00:14:15]CAPDU: 80 15 02 00 08 F4 03 04 00 58 A7 F4 66 [00:14:15]Write to MH i2c: E2 10 00 1C 04 80 15 02 00 08 00 F4 03 04 00 58 A7 F4 66 00 00 04 [00:14:15]Write i2c OK [00:14:15]MH_I2C_Read... [00:14:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:15]Read from MH i2c: E2 [00:14:15]MH_I2C_Read... [00:14:15]Read from MH i2c: E2 03 00 [00:14:15]MH_I2C_Read... [00:14:15]Read from MH i2c: E2 03 00 1C 04 00 90 00 94 [00:14:15]RAPDU: 90 00 [00:14:15]wFMCommunicate OK [00:14:15]wFMCommunicate request_size=25 [00:14:15]MH_SAM_APDU [00:14:15]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 [00:14:15]Write to MH i2c: E2 1C 00 1D 04 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 00 00 09 [00:14:15]Write i2c OK [00:14:15]MH_I2C_Read... [00:14:15]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:15]Read from MH i2c: E2 [00:14:15]MH_I2C_Read... [00:14:15]Read from MH i2c: E2 03 00 [00:14:15]MH_I2C_Read... [00:14:15]Read from MH i2c: E2 03 00 1D 04 00 90 00 95 [00:14:15]RAPDU: 90 00 [00:14:15]wFMCommunicate OK [00:14:15]wFMCommunicate request_size=4 [00:14:15]MH_SAM_APDU [00:14:15]CAPDU: 80 15 03 00 [00:14:15]Write to MH i2c: E2 08 00 1E 04 80 15 03 00 00 00 00 00 A3 [00:14:15]Write i2c OK [00:14:15]MH_I2C_Read... [00:14:15]OFD Sender: No OFD packet to send [00:14:15]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:14:15]Read from MH i2c: E2 [00:14:15]MH_I2C_Read... [00:14:15]Read from MH i2c: E2 38 00 [00:14:15]MH_I2C_Read... [00:14:15]Read from MH i2c: E2 38 00 1E 04 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 43 4A 00 00 0E 04 04 00 B8 00 00 00 35 04 06 00 4B 44 C0 EF F2 6D 90 00 57 [00:14:15]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 43 4A 00 00 0E 04 04 00 B8 00 00 00 35 04 06 00 4B 44 C0 EF F2 6D 90 00 [00:14:15]wFMCommunicate OK [00:14:15]SAM_PROTO_ProcessDocument answer len = 51 [00:14:15]SAM_PROTO_ProcessDocument done [00:14:15]SetTLVBufToDocument [00:14:15]Processing tag 1209 (04B9) [00:14:15]Malloc new data [00:14:15]Processing tag 1041 (0411) [00:14:15]Processing tag 1040 (0410) [00:14:15]Malloc new data [00:14:15]Processing tag 1038 (040E) [00:14:15]Malloc new data [00:14:15]Processing tag 1077 (0435) [00:14:15]Malloc new data [00:14:15]SetTLVBufToDocument err=0 [00:14:15]KKMLoadAndSignOpenShiftData store KKM data [00:14:15]KKMLoadAndSignOpenShiftData err=0 [00:14:15]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Мамедов Э. Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 Место: АЗС № 176 "Партнер Нефть" 26.09.2024 00:14 Смена: 184 РНМ: 0000000000152968 ЗНМ: 0300000010 ФД: 19011 ФМ: 0000000000959456 ФПД: 82758666809965 [00:14:15]StoreToDocumentArchive [00:14:15]shift 184 fd 19011 [00:14:15]Create dir for shift 0184 [00:14:15]save to /storage/0184/doc_00019011 [00:14:15]save last doc name /storage/0184/doc_00019011 to /storage/kkm_last_doc_name [00:14:15]save OK [00:14:15]Clear old archive folders... [00:14:15]Remove dir /storage/0183 [00:14:15]opendir ok [00:14:15]file . [00:14:15]file .. [00:14:15]file doc_00018922 [00:14:15]remove file /storage/0183/doc_00018922 [00:14:15]file doc_00018923 [00:14:15]remove file /storage/0183/doc_00018923 [00:14:15]file doc_00018924 [00:14:15]remove file /storage/0183/doc_00018924 [00:14:15]file doc_00018925 [00:14:15]remove file /storage/0183/doc_00018925 [00:14:15]file doc_00018926 [00:14:15]remove file /storage/0183/doc_00018926 [00:14:15]file doc_00018927 [00:14:15]remove file /storage/0183/doc_00018927 [00:14:15]file doc_00018928 [00:14:15]remove file /storage/0183/doc_00018928 [00:14:15]file doc_00018929 [00:14:15]remove file /storage/0183/doc_00018929 [00:14:15]file doc_00018930 [00:14:15]remove file /storage/0183/doc_00018930 [00:14:15]file doc_00018931 [00:14:15]remove file /storage/0183/doc_00018931 [00:14:15]file doc_00018932 [00:14:15]remove file /storage/0183/doc_00018932 [00:14:15]file doc_00018933 [00:14:15]remove file /storage/0183/doc_00018933 [00:14:15]file doc_00018934 [00:14:15]remove file /storage/0183/doc_00018934 [00:14:15]file doc_00018935 [00:14:15]remove file /storage/0183/doc_00018935 [00:14:15]file doc_00018936 [00:14:15]remove file /storage/0183/doc_00018936 [00:14:15]file doc_00018937 [00:14:15]remove file /storage/0183/doc_00018937 [00:14:15]file doc_00018938 [00:14:15]remove file /storage/0183/doc_00018938 [00:14:15]file doc_00018939 [00:14:15]remove file /storage/0183/doc_00018939 [00:14:15]file doc_00018940 [00:14:15]remove file /storage/0183/doc_00018940 [00:14:15]file doc_00018941 [00:14:15]remove file /storage/0183/doc_00018941 [00:14:15]file doc_00018942 [00:14:15]remove file /storage/0183/doc_00018942 [00:14:15]file doc_00018943 [00:14:15]remove file /storage/0183/doc_00018943 [00:14:15]file doc_00018944 [00:14:15]remove file /storage/0183/doc_00018944 [00:14:15]file doc_00018945 [00:14:15]remove file /storage/0183/doc_00018945 [00:14:15]file doc_00018946 [00:14:15]remove file /storage/0183/doc_00018946 [00:14:15]file doc_00018947 [00:14:15]remove file /storage/0183/doc_00018947 [00:14:15]file doc_00018948 [00:14:15]remove file /storage/0183/doc_00018948 [00:14:15]file doc_00018949 [00:14:15]remove file /storage/0183/doc_00018949 [00:14:15]file doc_00018950 [00:14:15]remove file /storage/0183/doc_00018950 [00:14:15]file doc_00018951 [00:14:15]remove file /storage/0183/doc_00018951 [00:14:15]file doc_00018952 [00:14:15]remove file /storage/0183/doc_00018952 [00:14:15]file doc_00018953 [00:14:15]remove file /storage/0183/doc_00018953 [00:14:15]file doc_00018954 [00:14:15]remove file /storage/0183/doc_00018954 [00:14:15]file doc_00018955 [00:14:15]remove file /storage/0183/doc_00018955 [00:14:15]file doc_00018956 [00:14:15]remove file /storage/0183/doc_00018956 [00:14:15]file doc_00018957 [00:14:15]remove file /storage/0183/doc_00018957 [00:14:15]file doc_00018958 [00:14:15]remove file /storage/0183/doc_00018958 [00:14:15]file doc_00018959 [00:14:15]remove file /storage/0183/doc_00018959 [00:14:15]file doc_00018960 [00:14:15]remove file /storage/0183/doc_00018960 [00:14:15]file doc_00018961 [00:14:15]remove file /storage/0183/doc_00018961 [00:14:15]file doc_00018962 [00:14:15]remove file /storage/0183/doc_00018962 [00:14:15]file doc_00018963 [00:14:15]remove file /storage/0183/doc_00018963 [00:14:15]file doc_00018964 [00:14:15]remove file /storage/0183/doc_00018964 [00:14:15]file doc_00018965 [00:14:15]remove file /storage/0183/doc_00018965 [00:14:15]file doc_00018966 [00:14:15]remove file /storage/0183/doc_00018966 [00:14:15]file doc_00018967 [00:14:15]remove file /storage/0183/doc_00018967 [00:14:15]file doc_00018968 [00:14:15]remove file /storage/0183/doc_00018968 [00:14:15]file doc_00018969 [00:14:15]remove file /storage/0183/doc_00018969 [00:14:15]file doc_00018970 [00:14:15]remove file /storage/0183/doc_00018970 [00:14:15]file doc_00018971 [00:14:15]remove file /storage/0183/doc_00018971 [00:14:15]file doc_00018972 [00:14:15]remove file /storage/0183/doc_00018972 [00:14:15]file doc_00018973 [00:14:15]remove file /storage/0183/doc_00018973 [00:14:15]file doc_00018974 [00:14:15]remove file /storage/0183/doc_00018974 [00:14:15]file doc_00018975 [00:14:15]remove file /storage/0183/doc_00018975 [00:14:15]file doc_00018976 [00:14:15]remove file /storage/0183/doc_00018976 [00:14:15]file doc_00018977 [00:14:15]remove file /storage/0183/doc_00018977 [00:14:15]file doc_00018978 [00:14:15]remove file /storage/0183/doc_00018978 [00:14:15]file doc_00018979 [00:14:15]remove file /storage/0183/doc_00018979 [00:14:15]file doc_00018980 [00:14:15]remove file /storage/0183/doc_00018980 [00:14:15]file doc_00018981 [00:14:15]remove file /storage/0183/doc_00018981 [00:14:15]file doc_00018982 [00:14:15]remove file /storage/0183/doc_00018982 [00:14:15]file doc_00018983 [00:14:15]remove file /storage/0183/doc_00018983 [00:14:15]file doc_00018984 [00:14:15]remove file /storage/0183/doc_00018984 [00:14:15]file doc_00018985 [00:14:15]remove file /storage/0183/doc_00018985 [00:14:15]file doc_00018986 [00:14:15]remove file /storage/0183/doc_00018986 [00:14:15]file doc_00018987 [00:14:15]remove file /storage/0183/doc_00018987 [00:14:15]file doc_00018988 [00:14:15]remove file /storage/0183/doc_00018988 [00:14:15]file doc_00018989 [00:14:15]remove file /storage/0183/doc_00018989 [00:14:15]file doc_00018990 [00:14:15]remove file /storage/0183/doc_00018990 [00:14:15]file doc_00018991 [00:14:16]remove file /storage/0183/doc_00018991 [00:14:16]file doc_00018992 [00:14:16]remove file /storage/0183/doc_00018992 [00:14:16]file doc_00018993 [00:14:16]remove file /storage/0183/doc_00018993 [00:14:16]file doc_00018994 [00:14:16]remove file /storage/0183/doc_00018994 [00:14:16]file doc_00018995 [00:14:16]remove file /storage/0183/doc_00018995 [00:14:16]file doc_00018996 [00:14:16]remove file /storage/0183/doc_00018996 [00:14:16]file doc_00018997 [00:14:16]remove file /storage/0183/doc_00018997 [00:14:16]file doc_00018998 [00:14:16]remove file /storage/0183/doc_00018998 [00:14:16]file doc_00018999 [00:14:16]remove file /storage/0183/doc_00018999 [00:14:16]file doc_00019000 [00:14:16]remove file /storage/0183/doc_00019000 [00:14:16]file doc_00019001 [00:14:16]remove file /storage/0183/doc_00019001 [00:14:16]file doc_00019002 [00:14:16]remove file /storage/0183/doc_00019002 [00:14:16]file doc_00019003 [00:14:16]remove file /storage/0183/doc_00019003 [00:14:16]file doc_00019004 [00:14:16]remove file /storage/0183/doc_00019004 [00:14:16]file doc_00019005 [00:14:16]remove file /storage/0183/doc_00019005 [00:14:16]file doc_00019006 [00:14:16]remove file /storage/0183/doc_00019006 [00:14:16]file doc_00019007 [00:14:16]remove file /storage/0183/doc_00019007 [00:14:16]file doc_00019008 [00:14:16]remove file /storage/0183/doc_00019008 [00:14:16]file doc_00019009 [00:14:16]remove file /storage/0183/doc_00019009 [00:14:16]file doc_00019010 [00:14:16]remove file /storage/0183/doc_00019010 [00:14:16]remove dir /storage/0183 [00:14:16]ProcessDocumentItem done err = 0, tmpTLVsize=255 [00:14:16]tlvbuf is 01D6E300 [00:14:16]SAM_PROTO_ClearQueue [00:14:16]wFMCommunicate request_size=4 [00:14:16]MH_SAM_APDU [00:14:16]CAPDU: 80 09 00 00 [00:14:16]Write to MH i2c: E2 08 00 1F 04 80 09 00 00 00 00 00 00 95 [00:14:16]Write i2c OK [00:14:16]MH_I2C_Read... [00:14:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:14:16]Read from MH i2c: E2 [00:14:16]MH_I2C_Read... [00:14:16]Read from MH i2c: E2 03 00 [00:14:16]MH_I2C_Read... [00:14:16]Read from MH i2c: E2 03 00 1F 04 00 90 00 97 [00:14:16]RAPDU: 90 00 [00:14:16]wFMCommunicate OK [00:14:16]SAM_PROTO_ClearQueue done [00:14:16]KKMCreateOFDPacket [00:14:16]OFDProtocolAddRootSTLVToBuf [00:14:16]FM_MakeSignedData [00:14:16]FM_MakeSignedData [00:14:16]SAM_PROTO_SignData [00:14:16]wFMCommunicate request_size=4 [00:14:16]MH_SAM_APDU [00:14:16]CAPDU: 80 0D 01 02 [00:14:16]Write to MH i2c: E2 08 00 20 04 80 0D 01 02 00 00 00 00 9D [00:14:16]Write i2c OK [00:14:16]MH_I2C_Read... [00:14:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:14:16]Read from MH i2c: E2 [00:14:16]MH_I2C_Read... [00:14:16]Read from MH i2c: E2 03 00 [00:14:16]MH_I2C_Read... [00:14:16]Read from MH i2c: E2 03 00 20 04 00 90 00 98 [00:14:16]RAPDU: 90 00 [00:14:16]wFMCommunicate OK [00:14:16]wFMCommunicate request_size=255 [00:14:16]MH_SAM_APDU [00:14:16]CAPDU: 80 0D 02 02 FA 02 00 FF 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 13 00 D0 9C D0 B0 D0 BC D0 B5 D0 B4 D0 BE D0 B2 20 D0 AD 2E 20 F1 03 55 00 37 32 30 30 30 30 2C 20 D0 B3 2E 20 D0 9E D1 88 2C 20 D0 9F D0 B0 D0 BC D0 B8 D1 80 D1 81 D0 BA D0 B8 D0 B9 20 D1 82 D1 80 D0 B0 D0 BA D1 82 20 31 20 D0 BA D0 BC 2C 20 D0 B4 2E 20 31 30 32 2C 20 34 30 2E 35 33 34 39 36 33 2C 20 37 32 2E 38 31 36 37 39 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 37 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 58 A7 F4 66 0E 04 04 00 B8 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 43 4A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 35 [00:14:16]Write to MH i2c: E2 02 01 21 04 80 0D 02 02 FA 00 02 00 FF 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 13 00 D0 9C D0 B0 D0 BC D0 B5 D0 B4 D0 BE D0 B2 20 D0 AD 2E 20 F1 03 55 00 37 32 30 30 30 30 2C 20 D0 B3 2E 20 D0 9E D1 88 2C 20 D0 9F D0 B0 D0 BC D0 B8 D1 80 D1 81 D0 BA D0 B8 D0 B9 20 D1 82 D1 80 D0 B0 D0 BA D1 82 20 31 20 D0 BA D0 BC 2C 20 D0 B4 2E 20 31 30 32 2C 20 34 30 2E 35 33 34 39 36 33 2C 20 37 32 2E 38 31 36 37 39 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 37 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 58 A7 F4 66 0E 04 04 00 B8 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 43 4A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 35 00 00 09 [00:14:16]Write i2c OK [00:14:16]MH_I2C_Read... [00:14:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:14:16]Read from MH i2c: E2 [00:14:16]MH_I2C_Read... [00:14:16]Read from MH i2c: E2 03 00 [00:14:16]MH_I2C_Read... [00:14:16]Read from MH i2c: E2 03 00 21 04 00 90 00 99 [00:14:16]RAPDU: 90 00 [00:14:16]wFMCommunicate OK [00:14:16]wFMCommunicate request_size=14 [00:14:16]MH_SAM_APDU [00:14:16]CAPDU: 80 0D 02 02 09 04 06 00 4B 44 C0 EF F2 6D [00:14:16]Write to MH i2c: E2 11 00 22 04 80 0D 02 02 09 00 04 06 00 4B 44 C0 EF F2 6D 00 00 59 [00:14:16]Write i2c OK [00:14:16]MH_I2C_Read... [00:14:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:14:16]Read from MH i2c: E2 [00:14:16]MH_I2C_Read... [00:14:16]Read from MH i2c: E2 03 00 [00:14:16]MH_I2C_Read... [00:14:16]Read from MH i2c: E2 03 00 22 04 00 90 00 9A [00:14:16]RAPDU: 90 00 [00:14:16]wFMCommunicate OK [00:14:16]wFMCommunicate request_size=4 [00:14:16]MH_SAM_APDU [00:14:16]CAPDU: 80 0D 03 02 [00:14:16]Write to MH i2c: E2 08 00 23 04 80 0D 03 02 00 00 00 00 A2 [00:14:16]Write i2c OK [00:14:16]MH_I2C_Read... [00:14:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:14:16]Read from MH i2c: E2 [00:14:16]MH_I2C_Read... [00:14:16]Read from MH i2c: E2 0B 00 [00:14:16]MH_I2C_Read... [00:14:16]Read from MH i2c: E2 0B 00 23 04 00 89 5F 53 B2 2E 6D 61 7F 90 00 0B [00:14:16]RAPDU: 89 5F 53 B2 2E 6D 61 7F 90 00 [00:14:16]wFMCommunicate OK [00:14:16]SAM_PROTO_SignData done [00:14:16]FM_MakeSignedData done [00:14:16]CreateOFDProtocolMessage [00:14:16]wFMCommunicate request_size=4 [00:14:16]MH_SAM_APDU [00:14:16]CAPDU: 80 11 00 00 [00:14:16]Write to MH i2c: E2 08 00 24 04 80 11 00 00 00 00 00 00 A2 [00:14:16]Write i2c OK [00:14:16]MH_I2C_Read... [00:14:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:14:16]Read from MH i2c: E2 [00:14:16]MH_I2C_Read... [00:14:16]Read from MH i2c: E2 17 00 [00:14:16]MH_I2C_Read... [00:14:16]Read from MH i2c: E2 17 00 24 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 FB [00:14:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [00:14:16]wFMCommunicate OK [00:14:16]CreateOFDProtocolMessage done [00:14:16]OFDSenderStorePacket 19011 [00:14:16]StoreOFDPacket docnum=19011 [00:14:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 13 01 00 00 81 F0 0B 01 59 09 5A 02 01 00 02 00 FF 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 13 00 D0 9C D0 B0 D0 BC D0 B5 D0 B4 D0 BE D0 B2 20 D0 AD 2E 20 F1 03 55 00 37 32 30 30 30 30 2C 20 D0 B3 2E 20 D0 9E D1 88 2C 20 D0 9F D0 B0 D0 BC D0 B8 D1 80 D1 81 D0 BA D0 B8 D0 B9 20 D1 82 D1 80 D0 B0 D0 BA D1 82 20 31 20 D0 BA D0 BC 2C 20 D0 B4 2E 20 31 30 32 2C 20 34 30 2E 35 33 34 39 36 33 2C 20 37 32 2E 38 31 36 37 39 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 37 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 58 A7 F4 66 0E 04 04 00 B8 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 43 4A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 35 04 06 00 4B 44 C0 EF F2 6D 89 5F 53 B2 2E 6D 61 7F [00:14:16]CheckFolder [00:14:16]dirname=/storage/ofd_packets [00:14:16]CheckFolder done [00:14:16]ProducePacketName [00:14:16]name=ofd_packets/00019011 [00:14:16]NVStorageSaveData ofd_packets/00019011 [00:14:16]File name is /storage/ofd_packets/00019011 [00:14:16]Write 305 bytes [00:14:16]NVStorageSaveData done [00:14:16]OFDSenderStorePacket done [00:14:16]KKMCreateOFDPacket done [00:14:16]NVStorageSaveData kkm_last_timestamp [00:14:16]File name is /storage/kkm_last_timestamp [00:14:16]Write 4 bytes [00:14:16]NVStorageSaveData done [00:14:16]ExternCall_PrintAddStr [00:14:16]wPrintStart [00:14:16]Write to MH i2c: 01 00 00 25 04 29 [00:14:16]Write i2c OK [00:14:16]MH_I2C_Read... [00:14:16]Read from MH i2c: 01 [00:14:16]MH_I2C_Read... [00:14:16]Read from MH i2c: 01 07 00 [00:14:16]MH_I2C_Read... [00:14:16]Read from MH i2c: 01 07 00 25 04 00 00 00 00 00 FF 0F 3E [00:14:16]RasterBufferAndPrint [00:14:16]line Отчет об открытии смены [00:14:16]line ФФД: 1.0 [00:14:16]line ИНН: 02508201610067 [00:14:16]line Кассир: Мамедов Э. [00:14:16]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [00:14:16]line Место: АЗС № 176 "Партнер Нефть" [00:14:16]line 26.09.2024 00:14 [00:14:16]line Смена: 184 [00:14:16]line РНМ: 0000000000152968 [00:14:16]line ЗНМ: 0300000010 [00:14:16]line ФД: 19011 [00:14:16]line ФМ: 0000000000959456 [00:14:16]line ФПД: 82758666809965 [00:14:16]written 0, free lines is 4095 [00:14:16]OFD Sender: Processing packet 19011 [packets to send 7, broken 6] [00:14:16]ProducePacketName [00:14:16]name=ofd_packets/00019011 [00:14:16]OFD Sender: To server: pG, [00:14:16]CommunicateWithHost lk.salyk.kg:30040 [00:14:16]ConnectInit lk.salyk.kg [00:14:16]Connected sock=10 [00:14:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 13 01 00 00 81 F0 0B 01 59 09 5A 02 01 00 02 00 FF 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 13 00 D0 9C D0 B0 D0 BC D0 B5 D0 B4 D0 BE D0 B2 20 D0 AD 2E 20 F1 03 55 00 37 32 30 30 30 30 2C 20 D0 B3 2E 20 D0 9E D1 88 2C 20 D0 9F D0 B0 D0 BC D0 B8 D1 80 D1 81 D0 BA D0 B8 D0 B9 20 D1 82 D1 80 D0 B0 D0 BA D1 82 20 31 20 D0 BA D0 BC 2C 20 D0 B4 2E 20 31 30 32 2C 20 34 30 2E 35 33 34 39 36 33 2C 20 37 32 2E 38 31 36 37 39 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 37 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 58 A7 F4 66 0E 04 04 00 B8 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 43 4A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 35 04 06 00 4B 44 C0 EF F2 6D 89 5F 53 B2 2E 6D 61 7F [00:14:17]Write to MH i2c: 01 00 00 37 04 3B [00:14:17]Write i2c OK [00:14:17]MH_I2C_Read... [00:14:17]Read from MH i2c: 01 [00:14:17]MH_I2C_Read... [00:14:17]Read from MH i2c: 01 07 00 [00:14:17]MH_I2C_Read... [00:14:17]Read from MH i2c: 01 07 00 37 04 00 00 00 00 00 9C 0E EC [00:14:17]RasterBufferAndPrint [00:14:17]line [00:14:17]line [00:14:17]line [00:14:17]line [00:14:17]line [00:14:17]written 0, free lines is 3754 [00:14:17]MH_Cut [00:14:17]Write to MH i2c: D1 01 00 3E 04 01 14 [00:14:17]Write i2c OK [00:14:17]MH_I2C_Read... [00:14:17]Read from MH i2c: D1 [00:14:17]MH_I2C_Read... [00:14:17]Read from MH i2c: D1 01 00 [00:14:17]MH_I2C_Read... [00:14:17]Read from MH i2c: D1 01 00 3E 04 00 13 [00:14:17]Write to MH i2c: 01 00 00 3F 04 43 [00:14:17]Write i2c OK [00:14:17]MH_I2C_Read... [00:14:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 11 07 47 00 59 E9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 43 4A 00 00 F4 03 04 00 B3 50 F4 66 B6 04 01 00 00 B0 FC 66 88 CF 03 D1 F2 [00:14:17]CommunicateWithHost err = 0 [00:14:17]CheckOFDResponse [00:14:17]1017 (14) - 77093643461234 [00:14:17]1041 (16) - 0000000000959456 [00:14:17]1040 (4) - 19011 [00:14:17]1012 (4) - 25.09.2024 18:04 [00:14:17]1206 (1) - 0 [00:14:17]OFD Sender: Remove packet 19011 [00:14:17]ProducePacketName [00:14:17]name=ofd_packets/00019011 [00:14:17]NVStorageDeleteData [00:14:17]*** Cut start [00:14:17]*** Partial cut [00:14:17]*** CUTSNS_PIN = 1 [00:14:17]*** CUTSNS_PIN = 0 [00:14:17]*** Brake cut motor [00:14:17]OFD Sender: No OFD packet to send [00:14:18]Read from MH i2c: 01 [00:14:18]MH_I2C_Read... [00:14:18]*** Stop cut motor [00:14:18]*** Cut end [00:14:18]Read from MH i2c: 01 07 00 [00:14:18]MH_I2C_Read... [00:14:18]Read from MH i2c: 01 07 00 3F 04 00 00 00 00 00 FF 0F 58 [00:14:18]process_action open_shift done [00:14:18]requested_data is exist [00:14:18]produce_requested_data [00:14:18]requested_item fd.num is exist - process it [00:14:18]SAM_PROTO_GetFieldsCounters [00:14:18]wFMCommunicate request_size=4 [00:14:18]MH_SAM_APDU [00:14:18]CAPDU: 80 13 00 00 [00:14:18]Write to MH i2c: E2 08 00 40 04 80 13 00 00 00 00 00 00 C0 [00:14:18]Write i2c OK [00:14:18]MH_I2C_Read... [00:14:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:14:18]Read from MH i2c: E2 [00:14:18]MH_I2C_Read... [00:14:18]Read from MH i2c: E2 62 00 [00:14:18]MH_I2C_Read... [00:14:18]Read from MH i2c: E2 62 00 40 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 43 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 32 [00:14:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 43 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:14:18]wFMCommunicate OK [00:14:18]SAM_PROTO_GetFieldsCounters done [00:14:18]requested_item shift.num is exist - process it [00:14:18]requested_item shift.opened is exist - process it [00:14:18]req_shift_opened [00:14:18]FM_GetShiftState [00:14:18]SAM_PROTO_GetShiftState [00:14:18]wFMCommunicate request_size=4 [00:14:18]MH_SAM_APDU [00:14:18]CAPDU: 80 13 01 00 [00:14:18]Write to MH i2c: E2 08 00 41 04 80 13 01 00 00 00 00 00 C2 [00:14:18]Write i2c OK [00:14:18]MH_I2C_Read... [00:14:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:18]Read from MH i2c: E2 [00:14:18]MH_I2C_Read... [00:14:18]Read from MH i2c: E2 0E 00 [00:14:18]MH_I2C_Read... [00:14:18]Read from MH i2c: E2 0E 00 41 04 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 27 [00:14:18]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [00:14:18]wFMCommunicate OK [00:14:18]SAM_PROTO_GetShiftState done [00:14:18]FM_GetShiftState done [00:14:18]req_shift_opened done [00:14:18]requested_item shift.open_date is exist - process it [00:14:18]req_shift_open_date [00:14:18]req_shift_open_date done [00:14:18]produce_requested_data done [00:14:18]produce_requested_data return {"fd.num":19011,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [00:14:18]process_action_free open_shift [00:14:18]json_value_free [00:14:18]json_value_free done [00:14:18]process_json_proto returns [00:14:18]Send response to host [00:14:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":19011,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [00:14:18]free response buf [00:14:18]execute_script done [00:14:18]execute_script returns [00:14:18]free content buf [00:14:18]Sock 9.Close socket [00:14:18]Sock 9.Thread stoped [00:14:18]accept exits with 7 [00:14:18]New connection [00:14:18]New thread 3066551652 created [00:14:18]Thread 3066695012 joined [00:14:18]Waiting for new connection... [00:14:18] Sock 7.Parse request [00:14:18]Sock 7.Check first char [00:14:18]Sock 7.First char is OK [00:14:18]request: POST /json_proto HTTP/1.0 [00:14:18]Method: POST [00:14:18]URL: /json_proto [00:14:18]Method is POST - this is cgi request [00:14:18]url: /json_proto [00:14:18]query_string will be loaded in cgi processing [00:14:18]execute_cgi json_proto POST (null) [00:14:18]execute_cgi path=json_proto method=POST [00:14:18]POST find Content-Length [00:14:18]Host: 172.17.62.196:8080 [00:14:18]Content-Length: 331 [00:14:18]Content-Type: application/json [00:14:18] [00:14:18]POST finish read [00:14:18]Found Content-Length = 331 [00:14:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:14:18]execute_script... [00:14:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:14:18]POST & json_proto [00:14:18]process_json_proto [00:14:18]json parsed OK: [00:14:18]protocol is kg_v1.0 [00:14:18]action value=get_value [00:14:18]process_action get_value [00:14:18]cmd_get_value [00:14:18]process_action get_value done [00:14:18]requested_data is exist [00:14:18]produce_requested_data [00:14:18]requested_item fm.sale.total is exist - process it [00:14:18]SAM_PROTO_GetFMData [00:14:18]wFMCommunicate request_size=4 [00:14:18]MH_SAM_APDU [00:14:18]CAPDU: 80 13 03 00 [00:14:18]Write to MH i2c: E2 08 00 42 04 80 13 03 00 00 00 00 00 C5 [00:14:18]Write i2c OK [00:14:18]MH_I2C_Read... [00:14:18]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:14:18]Read from MH i2c: E2 [00:14:18]MH_I2C_Read... [00:14:18]Read from MH i2c: E2 FD 00 [00:14:18]MH_I2C_Read... [00:14:18]Read from MH i2c: E2 FD 00 42 04 00 BE 04 85 04 BA 04 6E 04 04 00 D3 48 00 00 69 04 A0 00 6F 04 04 00 C4 48 00 00 B1 04 04 00 D8 16 DA 31 70 04 04 00 60 43 60 1F 72 04 04 00 78 D3 79 12 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E4 64 4B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4A EC 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 D7 [00:14:18]RAPDU: BE 04 85 04 BA 04 6E 04 04 00 D3 48 00 00 69 04 A0 00 6F 04 04 00 C4 48 00 00 B1 04 04 00 D8 16 DA 31 70 04 04 00 60 43 60 1F 72 04 04 00 78 D3 79 12 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 E4 64 4B 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 4A EC 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 00 8C 55 70 04 03 00 00 8C 55 72 04 00 00 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CF 15 09 EF 03 09 00 F6 03 01 00 00 90 00 [00:14:18]wFMCommunicate OK [00:14:18]wFMCommunicate request_size=4 [00:14:18]MH_SAM_APDU [00:14:18]CAPDU: 80 17 00 00 [00:14:18]Write to MH i2c: E2 08 00 43 04 80 17 00 00 00 00 00 00 C7 [00:14:18]Write i2c OK [00:14:18]MH_I2C_Read... [00:14:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:19]Read from MH i2c: E2 [00:14:19]MH_I2C_Read... [00:14:19]Read from MH i2c: E2 FD 00 [00:14:19]MH_I2C_Read... [00:14:19]Read from MH i2c: E2 FD 00 43 04 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 F7 [00:14:19]RAPDU: F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF C1 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 90 00 [00:14:19]wFMCommunicate OK [00:14:19]wFMCommunicate request_size=4 [00:14:19]MH_SAM_APDU [00:14:19]CAPDU: 80 17 00 00 [00:14:19]Write to MH i2c: E2 08 00 44 04 80 17 00 00 00 00 00 00 C8 [00:14:19]Write i2c OK [00:14:19]MH_I2C_Read... [00:14:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:19]Read from MH i2c: E2 [00:14:19]MH_I2C_Read... [00:14:19]Read from MH i2c: E2 FD 00 [00:14:19]MH_I2C_Read... [00:14:19]Read from MH i2c: E2 FD 00 44 04 00 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 FA [00:14:19]RAPDU: 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:14:19]wFMCommunicate OK [00:14:19]wFMCommunicate request_size=4 [00:14:19]MH_SAM_APDU [00:14:19]CAPDU: 80 17 00 00 [00:14:19]Write to MH i2c: E2 08 00 45 04 80 17 00 00 00 00 00 00 C9 [00:14:19]Write i2c OK [00:14:19]MH_I2C_Read... [00:14:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:19]Read from MH i2c: E2 [00:14:19]MH_I2C_Read... [00:14:19]Read from MH i2c: E2 FD 00 [00:14:19]MH_I2C_Read... [00:14:19]Read from MH i2c: E2 FD 00 45 04 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 44 [00:14:20]RAPDU: 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:14:20]wFMCommunicate OK [00:14:20]wFMCommunicate request_size=4 [00:14:20]MH_SAM_APDU [00:14:20]CAPDU: 80 17 00 00 [00:14:20]Write to MH i2c: E2 08 00 46 04 80 17 00 00 00 00 00 00 CA [00:14:20]Write i2c OK [00:14:20]MH_I2C_Read... [00:14:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 216! [00:14:20]Read from MH i2c: E2 [00:14:20]MH_I2C_Read... [00:14:20]Read from MH i2c: E2 DB 00 [00:14:20]MH_I2C_Read... [00:14:20]Read from MH i2c: E2 DB 00 46 04 00 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 AC [00:14:20]RAPDU: 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:14:20]wFMCommunicate OK [00:14:20]SAM_PROTO_GetFMData done [00:14:20]requested_item fm.sale_refund.total is exist - process it [00:14:20]requested_item fm.buy.total is exist - process it [00:14:20]requested_item shift.sale.total is exist - process it [00:14:20]SAM_PROTO_GetShiftData [00:14:20]wFMCommunicate request_size=4 [00:14:20]MH_SAM_APDU [00:14:20]CAPDU: 80 13 02 00 [00:14:20]Write to MH i2c: E2 08 00 47 04 80 13 02 00 00 00 00 00 C9 [00:14:20]Write i2c OK [00:14:20]MH_I2C_Read... [00:14:21]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:14:21]Read from MH i2c: E2 [00:14:21]MH_I2C_Read... [00:14:21]Read from MH i2c: E2 FD 00 [00:14:21]MH_I2C_Read... [00:14:21]Read from MH i2c: E2 FD 00 47 04 00 A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 3C [00:14:21]RAPDU: A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [00:14:21]wFMCommunicate OK [00:14:21]wFMCommunicate request_size=4 [00:14:21]MH_SAM_APDU [00:14:21]CAPDU: 80 17 00 00 [00:14:21]Write to MH i2c: E2 08 00 48 04 80 17 00 00 00 00 00 00 CC [00:14:21]Write i2c OK [00:14:21]MH_I2C_Read... [00:14:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:21]Read from MH i2c: E2 [00:14:21]MH_I2C_Read... [00:14:21]Read from MH i2c: E2 FD 00 [00:14:21]MH_I2C_Read... [00:14:21]Read from MH i2c: E2 FD 00 48 04 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 D4 [00:14:21]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 [00:14:21]wFMCommunicate OK [00:14:21]wFMCommunicate request_size=4 [00:14:21]MH_SAM_APDU [00:14:21]CAPDU: 80 17 00 00 [00:14:21]Write to MH i2c: E2 08 00 49 04 80 17 00 00 00 00 00 00 CD [00:14:21]Write i2c OK [00:14:21]MH_I2C_Read... [00:14:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:21]Read from MH i2c: E2 [00:14:21]MH_I2C_Read... [00:14:21]Read from MH i2c: E2 FD 00 [00:14:21]MH_I2C_Read... [00:14:21]Read from MH i2c: E2 FD 00 49 04 00 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 9F [00:14:21]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 [00:14:22]wFMCommunicate OK [00:14:22]wFMCommunicate request_size=4 [00:14:22]MH_SAM_APDU [00:14:22]CAPDU: 80 17 00 00 [00:14:22]Write to MH i2c: E2 08 00 4A 04 80 17 00 00 00 00 00 00 CE [00:14:22]Write i2c OK [00:14:22]MH_I2C_Read... [00:14:22]Read from MH i2c: E2 [00:14:22]MH_I2C_Read... [00:14:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:22]Read from MH i2c: E2 FD 00 [00:14:22]MH_I2C_Read... [00:14:22]Read from MH i2c: E2 FD 00 4A 04 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 40 [00:14:22]RAPDU: 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 [00:14:22]wFMCommunicate OK [00:14:22]wFMCommunicate request_size=4 [00:14:22]MH_SAM_APDU [00:14:22]CAPDU: 80 17 00 00 [00:14:22]Write to MH i2c: E2 08 00 4B 04 80 17 00 00 00 00 00 00 CF [00:14:22]Write i2c OK [00:14:22]MH_I2C_Read... [00:14:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:14:22]Read from MH i2c: E2 [00:14:22]MH_I2C_Read... [00:14:22]Read from MH i2c: E2 BD 00 [00:14:22]MH_I2C_Read... [00:14:22]Read from MH i2c: E2 BD 00 4B 04 00 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B5 [00:14:22]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:14:22]wFMCommunicate OK [00:14:22]SAM_PROTO_GetShiftData done [00:14:22]requested_item shift.sale.total_cash is exist - process it [00:14:22]requested_item shift.sale_refund.total is exist - process it [00:14:22]requested_item shift.sale_refund.total_cash is exist - process it [00:14:22]requested_item shift.buy.total is exist - process it [00:14:22]requested_item shift.buy.total_cash is exist - process it [00:14:22]produce_requested_data done [00:14:22]produce_requested_data return {"fm.sale.total":8363762.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:14:22]process_action_free get_value [00:14:22]json_value_free [00:14:22]json_value_free done [00:14:22]process_json_proto returns [00:14:22]Send response to host [00:14:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8363762.80,"fm.sale_refund.total":56064.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:14:22]free response buf [00:14:22]execute_script done [00:14:22]execute_script returns [00:14:22]free content buf [00:14:22]Sock 7.Close socket [00:14:22]Sock 7.Thread stoped [00:14:22]OFD Sender: No OFD packet to send [00:14:27]OFD Sender: No OFD packet to send [00:14:32]OFD Sender: No OFD packet to send [00:14:37]OFD Sender: No OFD packet to send [00:14:42]OFD Sender: No OFD packet to send [00:14:47]OFD Sender: No OFD packet to send [00:14:52]OFD Sender: No OFD packet to send [00:14:57]OFD Sender: No OFD packet to send [00:15:02]OFD Sender: No OFD packet to send [00:15:07]OFD Sender: No OFD packet to send [00:15:12]OFD Sender: No OFD packet to send [00:15:17]OFD Sender: No OFD packet to send [00:15:22]OFD Sender: No OFD packet to send [00:15:27]OFD Sender: No OFD packet to send [00:15:32]OFD Sender: No OFD packet to send [00:15:38]OFD Sender: No OFD packet to send [00:15:43]OFD Sender: No OFD packet to send [00:15:48]OFD Sender: No OFD packet to send [00:15:53]OFD Sender: No OFD packet to send [00:15:58]OFD Sender: No OFD packet to send [00:16:03]OFD Sender: No OFD packet to send [00:16:08]OFD Sender: No OFD packet to send [00:16:13]OFD Sender: No OFD packet to send [00:16:18]OFD Sender: No OFD packet to send [00:16:23]OFD Sender: No OFD packet to send [00:16:28]OFD Sender: No OFD packet to send [00:16:33]OFD Sender: No OFD packet to send [00:16:38]OFD Sender: No OFD packet to send [00:16:43]OFD Sender: No OFD packet to send [00:16:48]OFD Sender: No OFD packet to send [00:16:53]OFD Sender: No OFD packet to send [00:16:58]OFD Sender: No OFD packet to send [00:17:03]OFD Sender: No OFD packet to send [00:17:08]OFD Sender: No OFD packet to send [00:17:13]OFD Sender: No OFD packet to send [00:17:18]OFD Sender: No OFD packet to send [00:17:23]OFD Sender: No OFD packet to send [00:17:28]OFD Sender: No OFD packet to send [00:17:33]OFD Sender: No OFD packet to send [00:17:38]OFD Sender: No OFD packet to send [00:17:43]OFD Sender: No OFD packet to send [00:17:48]OFD Sender: No OFD packet to send [00:17:53]OFD Sender: No OFD packet to send [00:17:58]OFD Sender: No OFD packet to send [00:18:03]OFD Sender: No OFD packet to send [00:18:08]OFD Sender: No OFD packet to send [00:18:13]OFD Sender: No OFD packet to send [00:18:18]OFD Sender: No OFD packet to send [00:18:23]OFD Sender: No OFD packet to send [00:18:28]OFD Sender: No OFD packet to send [00:18:33]OFD Sender: No OFD packet to send [00:18:38]OFD Sender: No OFD packet to send [00:18:43]OFD Sender: No OFD packet to send [00:18:48]OFD Sender: No OFD packet to send [00:18:53]OFD Sender: No OFD packet to send [00:18:58]OFD Sender: No OFD packet to send [00:19:03]OFD Sender: No OFD packet to send [00:19:08]OFD Sender: No OFD packet to send [00:19:13]OFD Sender: No OFD packet to send [00:19:18]OFD Sender: No OFD packet to send [00:19:23]OFD Sender: No OFD packet to send [00:19:28]OFD Sender: No OFD packet to send [00:19:33]OFD Sender: No OFD packet to send [00:19:38]OFD Sender: No OFD packet to send [00:19:43]OFD Sender: No OFD packet to send [00:19:48]OFD Sender: No OFD packet to send [00:19:53]OFD Sender: No OFD packet to send [00:19:58]OFD Sender: No OFD packet to send [00:20:03]OFD Sender: No OFD packet to send [00:20:08]OFD Sender: No OFD packet to send [00:20:13]OFD Sender: No OFD packet to send [00:20:18]OFD Sender: No OFD packet to send [00:20:23]OFD Sender: No OFD packet to send [00:20:28]OFD Sender: No OFD packet to send [00:20:33]OFD Sender: No OFD packet to send [00:20:38]OFD Sender: No OFD packet to send [00:20:43]OFD Sender: No OFD packet to send [00:20:48]OFD Sender: No OFD packet to send [00:20:53]OFD Sender: No OFD packet to send [00:20:58]OFD Sender: No OFD packet to send [00:21:03]OFD Sender: No OFD packet to send [00:21:08]OFD Sender: No OFD packet to send [00:21:13]OFD Sender: No OFD packet to send [00:21:18]OFD Sender: No OFD packet to send [00:21:23]OFD Sender: No OFD packet to send [00:21:28]OFD Sender: No OFD packet to send [00:21:33]OFD Sender: No OFD packet to send [00:21:38]OFD Sender: No OFD packet to send [00:21:43]OFD Sender: No OFD packet to send [00:21:48]OFD Sender: No OFD packet to send [00:21:53]OFD Sender: No OFD packet to send [00:21:58]OFD Sender: No OFD packet to send [00:22:03]OFD Sender: No OFD packet to send [00:22:08]OFD Sender: No OFD packet to send [00:22:13]OFD Sender: No OFD packet to send [00:22:18]OFD Sender: No OFD packet to send [00:22:23]OFD Sender: No OFD packet to send [00:22:28]OFD Sender: No OFD packet to send [00:22:33]OFD Sender: No OFD packet to send [00:22:38]OFD Sender: No OFD packet to send [00:22:43]OFD Sender: No OFD packet to send [00:22:48]OFD Sender: No OFD packet to send [00:22:53]OFD Sender: No OFD packet to send [00:22:58]OFD Sender: No OFD packet to send [00:23:03]OFD Sender: No OFD packet to send [00:23:08]OFD Sender: No OFD packet to send [00:23:13]OFD Sender: No OFD packet to send [00:23:18]OFD Sender: No OFD packet to send [00:23:23]OFD Sender: No OFD packet to send [00:23:28]OFD Sender: No OFD packet to send [00:23:33]OFD Sender: No OFD packet to send [00:23:38]OFD Sender: No OFD packet to send [00:23:43]OFD Sender: No OFD packet to send [00:23:48]OFD Sender: No OFD packet to send [00:23:53]OFD Sender: No OFD packet to send [00:23:58]OFD Sender: No OFD packet to send [00:24:03]OFD Sender: No OFD packet to send [00:24:08]OFD Sender: No OFD packet to send [00:24:13]OFD Sender: No OFD packet to send [00:24:18]OFD Sender: No OFD packet to send [00:24:23]OFD Sender: No OFD packet to send [00:24:28]OFD Sender: No OFD packet to send [00:24:33]OFD Sender: No OFD packet to send [00:24:38]OFD Sender: No OFD packet to send [00:24:43]OFD Sender: No OFD packet to send [00:24:48]OFD Sender: No OFD packet to send [00:24:53]OFD Sender: No OFD packet to send [00:24:58]OFD Sender: No OFD packet to send [00:25:03]OFD Sender: No OFD packet to send [00:25:08]OFD Sender: No OFD packet to send [00:25:13]OFD Sender: No OFD packet to send [00:25:18]OFD Sender: No OFD packet to send [00:25:23]OFD Sender: No OFD packet to send [00:25:28]OFD Sender: No OFD packet to send [00:25:33]OFD Sender: No OFD packet to send [00:25:38]OFD Sender: No OFD packet to send [00:25:43]OFD Sender: No OFD packet to send [00:25:48]OFD Sender: No OFD packet to send [00:25:53]OFD Sender: No OFD packet to send [00:25:58]OFD Sender: No OFD packet to send [00:26:03]OFD Sender: No OFD packet to send [00:26:08]OFD Sender: No OFD packet to send [00:26:13]OFD Sender: No OFD packet to send [00:26:18]OFD Sender: No OFD packet to send [00:26:23]OFD Sender: No OFD packet to send [00:26:28]OFD Sender: No OFD packet to send [00:26:33]OFD Sender: No OFD packet to send [00:26:38]OFD Sender: No OFD packet to send [00:26:43]OFD Sender: No OFD packet to send [00:26:48]OFD Sender: No OFD packet to send [00:26:53]OFD Sender: No OFD packet to send [00:26:58]OFD Sender: No OFD packet to send [00:27:03]OFD Sender: No OFD packet to send [00:27:08]OFD Sender: No OFD packet to send [00:27:13]OFD Sender: No OFD packet to send [00:27:18]OFD Sender: No OFD packet to send [00:27:23]OFD Sender: No OFD packet to send [00:27:28]OFD Sender: No OFD packet to send [00:27:33]OFD Sender: No OFD packet to send [00:27:38]OFD Sender: No OFD packet to send [00:27:43]OFD Sender: No OFD packet to send [00:27:48]OFD Sender: No OFD packet to send [00:27:53]OFD Sender: No OFD packet to send [00:27:58]OFD Sender: No OFD packet to send [00:28:03]OFD Sender: No OFD packet to send [00:28:08]OFD Sender: No OFD packet to send [00:28:13]OFD Sender: No OFD packet to send [00:28:18]OFD Sender: No OFD packet to send [00:28:23]OFD Sender: No OFD packet to send [00:28:28]OFD Sender: No OFD packet to send [00:28:33]OFD Sender: No OFD packet to send [00:28:38]OFD Sender: No OFD packet to send [00:28:43]OFD Sender: No OFD packet to send [00:28:48]OFD Sender: No OFD packet to send [00:28:53]OFD Sender: No OFD packet to send [00:28:58]OFD Sender: No OFD packet to send [00:29:03]OFD Sender: No OFD packet to send [00:29:08]OFD Sender: No OFD packet to send [00:29:13]OFD Sender: No OFD packet to send [00:29:18]OFD Sender: No OFD packet to send [00:29:23]OFD Sender: No OFD packet to send [00:29:28]OFD Sender: No OFD packet to send [00:29:33]OFD Sender: No OFD packet to send [00:29:38]OFD Sender: No OFD packet to send [00:29:43]OFD Sender: No OFD packet to send [00:29:48]OFD Sender: No OFD packet to send [00:29:53]OFD Sender: No OFD packet to send [00:29:58]OFD Sender: No OFD packet to send [00:30:03]OFD Sender: No OFD packet to send [00:30:08]OFD Sender: No OFD packet to send [00:30:13]OFD Sender: No OFD packet to send [00:30:18]OFD Sender: No OFD packet to send [00:30:23]OFD Sender: No OFD packet to send [00:30:28]OFD Sender: No OFD packet to send [00:30:33]OFD Sender: No OFD packet to send [00:30:38]OFD Sender: No OFD packet to send [00:30:43]OFD Sender: No OFD packet to send [00:30:48]OFD Sender: No OFD packet to send [00:30:53]OFD Sender: No OFD packet to send [00:30:58]OFD Sender: No OFD packet to send [00:31:03]OFD Sender: No OFD packet to send [00:31:08]OFD Sender: No OFD packet to send [00:31:13]OFD Sender: No OFD packet to send [00:31:18]OFD Sender: No OFD packet to send [00:31:23]OFD Sender: No OFD packet to send [00:31:28]OFD Sender: No OFD packet to send [00:31:33]OFD Sender: No OFD packet to send [00:31:38]OFD Sender: No OFD packet to send [00:31:43]OFD Sender: No OFD packet to send [00:31:48]OFD Sender: No OFD packet to send [00:31:53]OFD Sender: No OFD packet to send [00:31:58]OFD Sender: No OFD packet to send [00:32:03]OFD Sender: No OFD packet to send [00:32:08]OFD Sender: No OFD packet to send [00:32:13]OFD Sender: No OFD packet to send [00:32:18]OFD Sender: No OFD packet to send [00:32:23]OFD Sender: No OFD packet to send [00:32:28]OFD Sender: No OFD packet to send [00:32:33]OFD Sender: No OFD packet to send [00:32:38]OFD Sender: No OFD packet to send [00:32:43]OFD Sender: No OFD packet to send [00:32:48]OFD Sender: No OFD packet to send [00:32:53]OFD Sender: No OFD packet to send [00:32:58]OFD Sender: No OFD packet to send [00:33:03]OFD Sender: No OFD packet to send [00:33:08]OFD Sender: No OFD packet to send [00:33:13]OFD Sender: No OFD packet to send [00:33:18]OFD Sender: No OFD packet to send [00:33:23]OFD Sender: No OFD packet to send [00:33:28]OFD Sender: No OFD packet to send [00:33:33]OFD Sender: No OFD packet to send [00:33:38]OFD Sender: No OFD packet to send [00:33:43]OFD Sender: No OFD packet to send [00:33:48]OFD Sender: No OFD packet to send [00:33:53]OFD Sender: No OFD packet to send [00:33:58]OFD Sender: No OFD packet to send [00:34:03]OFD Sender: No OFD packet to send [00:34:08]OFD Sender: No OFD packet to send [00:34:13]OFD Sender: No OFD packet to send [00:34:18]OFD Sender: No OFD packet to send [00:34:23]OFD Sender: No OFD packet to send [00:34:28]OFD Sender: No OFD packet to send [00:34:33]OFD Sender: No OFD packet to send [00:34:38]OFD Sender: No OFD packet to send [00:34:43]OFD Sender: No OFD packet to send [00:34:48]OFD Sender: No OFD packet to send [00:34:53]OFD Sender: No OFD packet to send [00:34:58]OFD Sender: No OFD packet to send [00:35:03]OFD Sender: No OFD packet to send [00:35:08]OFD Sender: No OFD packet to send [00:35:13]OFD Sender: No OFD packet to send [00:35:18]OFD Sender: No OFD packet to send [00:35:23]OFD Sender: No OFD packet to send [00:35:28]OFD Sender: No OFD packet to send [00:35:33]OFD Sender: No OFD packet to send [00:35:38]OFD Sender: No OFD packet to send [00:35:43]OFD Sender: No OFD packet to send [00:35:48]OFD Sender: No OFD packet to send [00:35:53]OFD Sender: No OFD packet to send [00:35:58]OFD Sender: No OFD packet to send [00:36:03]OFD Sender: No OFD packet to send [00:36:08]OFD Sender: No OFD packet to send [00:36:13]OFD Sender: No OFD packet to send [00:36:18]OFD Sender: No OFD packet to send [00:36:23]OFD Sender: No OFD packet to send [00:36:28]OFD Sender: No OFD packet to send [00:36:33]OFD Sender: No OFD packet to send [00:36:38]OFD Sender: No OFD packet to send [00:36:43]OFD Sender: No OFD packet to send [00:36:48]OFD Sender: No OFD packet to send [00:36:53]OFD Sender: No OFD packet to send [00:36:58]OFD Sender: No OFD packet to send [00:37:03]OFD Sender: No OFD packet to send [00:37:08]OFD Sender: No OFD packet to send [00:37:14]OFD Sender: No OFD packet to send [00:37:19]OFD Sender: No OFD packet to send [00:37:24]OFD Sender: No OFD packet to send [00:37:29]OFD Sender: No OFD packet to send [00:37:34]OFD Sender: No OFD packet to send [00:37:39]OFD Sender: No OFD packet to send [00:37:44]OFD Sender: No OFD packet to send [00:37:49]OFD Sender: No OFD packet to send [00:37:54]OFD Sender: No OFD packet to send [00:37:59]OFD Sender: No OFD packet to send [00:38:04]OFD Sender: No OFD packet to send [00:38:09]OFD Sender: No OFD packet to send [00:38:14]OFD Sender: No OFD packet to send [00:38:19]OFD Sender: No OFD packet to send [00:38:24]OFD Sender: No OFD packet to send [00:38:29]OFD Sender: No OFD packet to send [00:38:34]OFD Sender: No OFD packet to send [00:38:39]OFD Sender: No OFD packet to send [00:38:44]OFD Sender: No OFD packet to send [00:38:49]OFD Sender: No OFD packet to send [00:38:54]OFD Sender: No OFD packet to send [00:38:59]OFD Sender: No OFD packet to send [00:39:04]OFD Sender: No OFD packet to send [00:39:09]OFD Sender: No OFD packet to send [00:39:14]OFD Sender: No OFD packet to send [00:39:19]OFD Sender: No OFD packet to send [00:39:24]OFD Sender: No OFD packet to send [00:39:29]OFD Sender: No OFD packet to send [00:39:34]OFD Sender: No OFD packet to send [00:39:39]OFD Sender: No OFD packet to send [00:39:44]OFD Sender: No OFD packet to send [00:39:49]OFD Sender: No OFD packet to send [00:39:54]OFD Sender: No OFD packet to send [00:39:59]OFD Sender: No OFD packet to send [00:40:04]OFD Sender: No OFD packet to send [00:40:09]OFD Sender: No OFD packet to send [00:40:14]OFD Sender: No OFD packet to send [00:40:19]OFD Sender: No OFD packet to send [00:40:24]OFD Sender: No OFD packet to send [00:40:29]OFD Sender: No OFD packet to send [00:40:34]OFD Sender: No OFD packet to send [00:40:39]OFD Sender: No OFD packet to send [00:40:44]OFD Sender: No OFD packet to send [00:40:49]OFD Sender: No OFD packet to send [00:40:54]OFD Sender: No OFD packet to send [00:40:59]OFD Sender: No OFD packet to send [00:41:04]OFD Sender: No OFD packet to send [00:41:09]OFD Sender: No OFD packet to send [00:41:14]OFD Sender: No OFD packet to send [00:41:19]OFD Sender: No OFD packet to send [00:41:24]OFD Sender: No OFD packet to send [00:41:29]OFD Sender: No OFD packet to send [00:41:34]OFD Sender: No OFD packet to send [00:41:39]OFD Sender: No OFD packet to send [00:41:44]OFD Sender: No OFD packet to send [00:41:49]OFD Sender: No OFD packet to send [00:41:54]OFD Sender: No OFD packet to send [00:41:59]OFD Sender: No OFD packet to send [00:42:04]OFD Sender: No OFD packet to send [00:42:09]OFD Sender: No OFD packet to send [00:42:14]OFD Sender: No OFD packet to send [00:42:19]OFD Sender: No OFD packet to send [00:42:24]OFD Sender: No OFD packet to send [00:42:29]OFD Sender: No OFD packet to send [00:42:34]OFD Sender: No OFD packet to send [00:42:39]OFD Sender: No OFD packet to send [00:42:44]OFD Sender: No OFD packet to send [00:42:49]OFD Sender: No OFD packet to send [00:42:54]OFD Sender: No OFD packet to send [00:42:59]OFD Sender: No OFD packet to send [00:43:04]OFD Sender: No OFD packet to send [00:43:09]OFD Sender: No OFD packet to send [00:43:14]OFD Sender: No OFD packet to send [00:43:19]OFD Sender: No OFD packet to send [00:43:24]OFD Sender: No OFD packet to send [00:43:29]OFD Sender: No OFD packet to send [00:43:34]OFD Sender: No OFD packet to send [00:43:39]OFD Sender: No OFD packet to send [00:43:44]OFD Sender: No OFD packet to send [00:43:49]OFD Sender: No OFD packet to send [00:43:54]OFD Sender: No OFD packet to send [00:43:59]OFD Sender: No OFD packet to send [00:44:04]OFD Sender: No OFD packet to send [00:44:09]OFD Sender: No OFD packet to send [00:44:14]OFD Sender: No OFD packet to send [00:44:19]OFD Sender: No OFD packet to send [00:44:24]OFD Sender: No OFD packet to send [00:44:29]OFD Sender: No OFD packet to send [00:44:34]OFD Sender: No OFD packet to send [00:44:39]OFD Sender: No OFD packet to send [00:44:44]OFD Sender: No OFD packet to send [00:44:49]OFD Sender: No OFD packet to send [00:44:54]OFD Sender: No OFD packet to send [00:44:59]OFD Sender: No OFD packet to send [00:45:04]OFD Sender: No OFD packet to send [00:45:09]OFD Sender: No OFD packet to send [00:45:14]OFD Sender: No OFD packet to send [00:45:18]accept exits with 9 [00:45:18]New connection [00:45:18]New thread 3066695012 created [00:45:18]Thread 3066551652 joined [00:45:18]Waiting for new connection... [00:45:18] Sock 9.Parse request [00:45:18]Sock 9.Check first char [00:45:18]Sock 9.First char is OK [00:45:18]request: POST /json_proto HTTP/1.0 [00:45:18]Method: POST [00:45:18]URL: /json_proto [00:45:18]Method is POST - this is cgi request [00:45:18]url: /json_proto [00:45:18]query_string will be loaded in cgi processing [00:45:18]execute_cgi json_proto POST (null) [00:45:18]execute_cgi path=json_proto method=POST [00:45:18]POST find Content-Length [00:45:18]Host: 172.17.62.196:8080 [00:45:18]Content-Length: 1026 [00:45:18]Content-Type: application/json [00:45:18] [00:45:18]POST finish read [00:45:18]Found Content-Length = 1026 [00:45:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16932", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 262.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:45:18]execute_script... [00:45:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16932", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 262.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:45:18]POST & json_proto [00:45:18]process_json_proto [00:45:18]json parsed OK: [00:45:18]protocol is kg_v1.0 [00:45:18]action value=close_receipt [00:45:18]process_action close_receipt [00:45:18]cmd_close_receipt [00:45:18]MH_GetDate [00:45:18]Write to MH i2c: F0 00 00 4C 04 3F [00:45:18]Write i2c OK [00:45:18]MH_I2C_Read... [00:45:18]Read from MH i2c: F0 [00:45:18]MH_I2C_Read... [00:45:18]Read from MH i2c: F0 09 00 [00:45:18]MH_I2C_Read... [00:45:18]Read from MH i2c: F0 09 00 4C 04 00 A0 AE F4 66 CE CC 0E 66 FE [00:45:18]GetLastDocTimeStamp 1727309656 [00:45:18]current date 1727311520 [00:45:18]FM_GetShiftState [00:45:18]SAM_PROTO_GetShiftState [00:45:18]wFMCommunicate request_size=4 [00:45:18]MH_SAM_APDU [00:45:18]CAPDU: 80 13 01 00 [00:45:18]Write to MH i2c: E2 08 00 4D 04 80 13 01 00 00 00 00 00 CE [00:45:18]Write i2c OK [00:45:18]MH_I2C_Read... [00:45:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:45:18]Read from MH i2c: E2 [00:45:18]MH_I2C_Read... [00:45:18]Read from MH i2c: E2 0E 00 [00:45:18]MH_I2C_Read... [00:45:18]Read from MH i2c: E2 0E 00 4D 04 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 33 [00:45:18]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [00:45:18]wFMCommunicate OK [00:45:18]SAM_PROTO_GetShiftState done [00:45:18]FM_GetShiftState done [00:45:18]opened in 1727309656 [00:45:18]opened+sec_in_day 1727396056 [00:45:18]quantity*price = 11500 [00:45:18]sum+1 = 11501 [00:45:18]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48744683 Сигареты Winston XStyle Caster+ 1.000 * 147.00 = 147.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 262.00 НСП 1% : 2.32 НДС 12% : 27.82 Наличными: 0.00 Безнал.: 262.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 1 26.09.2024 00:45 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000000959456 ФД: 19012 ФПД: 175910511669166 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T004520&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19012&fm=175910511669166&tin=02508201610067®Number=0000000000152968&sum=26200 0 [00:45:19]StoreToDocumentArchive [00:45:19]shift 184 fd 19012 [00:45:19]save to /storage/0184/doc_00019012 [00:45:19]save last doc name /storage/0184/doc_00019012 to /storage/kkm_last_doc_name [00:45:19]save OK [00:45:19]Clear old archive folders... [00:45:19]ProcessDocumentItem done err = 0, tmpTLVsize=380 [00:45:19]tlvbuf is 01D52BF0 [00:45:19]SAM_PROTO_ClearQueue [00:45:19]wFMCommunicate request_size=4 [00:45:19]MH_SAM_APDU [00:45:19]CAPDU: 80 09 00 00 [00:45:19]Write to MH i2c: E2 08 00 5A 04 80 09 00 00 00 00 00 00 D0 [00:45:19]Write i2c OK [00:45:19]MH_I2C_Read... [00:45:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:45:19]Read from MH i2c: E2 [00:45:19]MH_I2C_Read... [00:45:19]Read from MH i2c: E2 03 00 [00:45:19]MH_I2C_Read... [00:45:19]Read from MH i2c: E2 03 00 5A 04 00 90 00 D2 [00:45:19]RAPDU: 90 00 [00:45:19]wFMCommunicate OK [00:45:19]SAM_PROTO_ClearQueue done [00:45:19]KKMCreateOFDPacket [00:45:19]OFDProtocolAddRootSTLVToBuf [00:45:19]FM_MakeSignedData [00:45:19]FM_MakeSignedData [00:45:19]SAM_PROTO_SignData [00:45:19]wFMCommunicate request_size=4 [00:45:19]MH_SAM_APDU [00:45:19]CAPDU: 80 0D 01 02 [00:45:19]Write to MH i2c: E2 08 00 5B 04 80 0D 01 02 00 00 00 00 D8 [00:45:19]Write i2c OK [00:45:19]MH_I2C_Read... [00:45:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:45:19]Read from MH i2c: E2 [00:45:19]MH_I2C_Read... [00:45:19]Read from MH i2c: E2 03 00 [00:45:19]MH_I2C_Read... [00:45:19]Read from MH i2c: E2 03 00 5B 04 00 90 00 D3 [00:45:19]RAPDU: 90 00 [00:45:19]wFMCommunicate OK [00:45:19]wFMCommunicate request_size=255 [00:45:19]MH_SAM_APDU [00:45:19]CAPDU: 80 0D 02 02 FA 03 00 7C 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E8 00 00 00 [00:45:19]Write to MH i2c: E2 02 01 5C 04 80 0D 02 02 FA 00 03 00 7C 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E8 00 00 00 00 00 6C [00:45:19]Write i2c OK [00:45:19]MH_I2C_Read... [00:45:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:45:20]Read from MH i2c: E2 [00:45:20]MH_I2C_Read... [00:45:20]Read from MH i2c: E2 03 00 [00:45:20]MH_I2C_Read... [00:45:20]Read from MH i2c: E2 03 00 5C 04 00 90 00 D4 [00:45:20]RAPDU: 90 00 [00:45:20]wFMCommunicate OK [00:45:20]wFMCommunicate request_size=139 [00:45:20]MH_SAM_APDU [00:45:20]CAPDU: 80 0D 02 02 86 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 66 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 A0 AE F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 44 4A 00 00 35 04 06 00 9F FD 5B 8F 6F AE [00:45:20]Write to MH i2c: E2 8E 00 5D 04 80 0D 02 02 86 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 66 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 A0 AE F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 44 4A 00 00 35 04 06 00 9F FD 5B 8F 6F AE 00 00 58 [00:45:20]Write i2c OK [00:45:20]MH_I2C_Read... [00:45:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:45:20]Read from MH i2c: E2 [00:45:20]MH_I2C_Read... [00:45:20]Read from MH i2c: E2 03 00 [00:45:20]MH_I2C_Read... [00:45:20]Read from MH i2c: E2 03 00 5D 04 00 90 00 D5 [00:45:20]RAPDU: 90 00 [00:45:20]wFMCommunicate OK [00:45:20]wFMCommunicate request_size=4 [00:45:20]MH_SAM_APDU [00:45:20]CAPDU: 80 0D 03 02 [00:45:20]Write to MH i2c: E2 08 00 5E 04 80 0D 03 02 00 00 00 00 DD [00:45:20]Write i2c OK [00:45:20]MH_I2C_Read... [00:45:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:45:20]Read from MH i2c: E2 [00:45:20]MH_I2C_Read... [00:45:20]Read from MH i2c: E2 0B 00 [00:45:20]MH_I2C_Read... [00:45:20]Read from MH i2c: E2 0B 00 5E 04 00 D8 AA 75 88 1B E6 84 96 90 00 78 [00:45:20]RAPDU: D8 AA 75 88 1B E6 84 96 90 00 [00:45:20]wFMCommunicate OK [00:45:20]SAM_PROTO_SignData done [00:45:20]FM_MakeSignedData done [00:45:20]CreateOFDProtocolMessage [00:45:20]wFMCommunicate request_size=4 [00:45:20]MH_SAM_APDU [00:45:20]CAPDU: 80 11 00 00 [00:45:20]Write to MH i2c: E2 08 00 5F 04 80 11 00 00 00 00 00 00 DD [00:45:20]Write i2c OK [00:45:20]MH_I2C_Read... [00:45:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:45:20]Read from MH i2c: E2 [00:45:20]MH_I2C_Read... [00:45:20]Read from MH i2c: E2 17 00 [00:45:20]MH_I2C_Read... [00:45:20]Read from MH i2c: E2 17 00 5F 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 36 [00:45:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [00:45:20]wFMCommunicate OK [00:45:20]CreateOFDProtocolMessage done [00:45:20]OFDSenderStorePacket 19012 [00:45:20]StoreOFDPacket docnum=19012 [00:45:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 01 00 00 FD C0 88 01 F1 FF 5A 03 01 00 03 00 7C 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 66 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 A0 AE F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 44 4A 00 00 35 04 06 00 9F FD 5B 8F 6F AE D8 AA 75 88 1B E6 84 96 [00:45:20]CheckFolder [00:45:20]dirname=/storage/ofd_packets [00:45:20]CheckFolder done [00:45:20]ProducePacketName [00:45:20]name=ofd_packets/00019012 [00:45:20]NVStorageSaveData ofd_packets/00019012 [00:45:20]File name is /storage/ofd_packets/00019012 [00:45:20]Write 430 bytes [00:45:20]NVStorageSaveData done [00:45:20]OFDSenderStorePacket done [00:45:20]KKMCreateOFDPacket done [00:45:20]NVStorageSaveData kkm_last_timestamp [00:45:20]File name is /storage/kkm_last_timestamp [00:45:20]Write 4 bytes [00:45:20]NVStorageSaveData done [00:45:20]ExternCall_PrintAddStr [00:45:20]wPrintStart [00:45:20]Write to MH i2c: 01 00 00 60 04 64 [00:45:20]OFD Sender: Processing packet 19012 [packets to send 7, broken 6] [00:45:20]ProducePacketName [00:45:20]name=ofd_packets/00019012 [00:45:20]OFD Sender: To server: pG, [00:45:20]CommunicateWithHost lk.salyk.kg:30040 [00:45:20]ConnectInit lk.salyk.kg [00:45:20]Write i2c OK [00:45:20]MH_I2C_Read... [00:45:20]Read from MH i2c: 01 [00:45:20]MH_I2C_Read... [00:45:20]Read from MH i2c: 01 07 00 [00:45:20]MH_I2C_Read... [00:45:20]Read from MH i2c: 01 07 00 60 04 00 00 00 00 00 FF 0F 79 [00:45:20]RasterBufferAndPrint [00:45:20]line Счет N : (3)16932 [00:45:20]line ИНН: 02508201610067 [00:45:20]line Контрольно-Кассовый Чек [00:45:20]line ПРОДАЖА [00:45:20]line Товар: 2000036240010 [00:45:20]line Кофе Латте (GABB TRADE) [00:45:20]line 1.000 * 115.00 [00:45:20]line = 115.00 [00:45:20]line НДС 12% НСП 1% [00:45:20]line > о реализуемом товаре [00:45:20]line Товар: 48744683 [00:45:20]line Сигареты Winston XStyle Caster+ [00:45:20]line 1.000 * 147.00 [00:45:20]line = 147.00 [00:45:20]line НДС 12% НСП 1% [00:45:20]line > о реализуемом товаре [00:45:20]line ИТОГО: 262.00 [00:45:20]line НСП 1% : 2.32 [00:45:20]line НДС 12% : 27.82 [00:45:20]line Наличными: 0.00 [00:45:20]line Безнал.: 262.00 [00:45:20]line Место: АЗС № 176 "Партнер Нефть" [00:45:20]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [00:45:20]line СНО: Общий режим [00:45:20]line Чек 1 26.09.2024 00:45 [00:45:20]line Смена: 184 ФФД: 1.0 [00:45:20]line ЗНМ: 0300000010 [00:45:20]line РНМ: 0000000000152968 [00:45:20]line Версия ККМ: v1.0 [00:45:20]line Платежная система: O! деньги [00:45:20]line ФМ: 0000000000959456 [00:45:20]line ФД: 19012 [00:45:20]line ФПД: 175910511669166 [00:45:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T004520&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19012&fm=175910511669166&tin=02508201610067®Number=0000000000152968&sum=26200 [00:45:20]line 0 [00:45:20]written 0, free lines is 4095 [00:45:20]Connected sock=10 [00:45:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 01 00 00 FD C0 88 01 F1 FF 5A 03 01 00 03 00 7C 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 66 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 A0 AE F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 44 4A 00 00 35 04 06 00 9F FD 5B 8F 6F AE D8 AA 75 88 1B E6 84 96 [00:45:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 20 74 47 00 6C F6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 44 4A 00 00 F4 03 04 00 FB 57 F4 66 B6 04 01 00 00 6B 38 8C C0 77 33 51 E9 [00:45:21]CommunicateWithHost err = 0 [00:45:21]CheckOFDResponse [00:45:21]1017 (14) - 77093643461234 [00:45:21]1041 (16) - 0000000000959456 [00:45:21]1040 (4) - 19012 [00:45:21]1012 (4) - 25.09.2024 18:35 [00:45:21]1206 (1) - 0 [00:45:21]OFD Sender: Remove packet 19012 [00:45:21]ProducePacketName [00:45:21]name=ofd_packets/00019012 [00:45:21]NVStorageDeleteData [00:45:21]Write to MH i2c: 01 00 00 91 04 95 [00:45:21]Write i2c OK [00:45:21]MH_I2C_Read... [00:45:21]Read from MH i2c: 01 [00:45:21]MH_I2C_Read... [00:45:21]Read from MH i2c: 01 07 00 [00:45:21]MH_I2C_Read... [00:45:21]Read from MH i2c: 01 07 00 91 04 00 00 00 00 00 9A 0C 42 [00:45:21]RasterBufferAndPrint [00:45:21]line [00:45:21]line [00:45:21]line [00:45:21]line [00:45:21]line [00:45:21]written 0, free lines is 3236 [00:45:21]MH_Cut [00:45:21]Write to MH i2c: D1 01 00 98 04 01 6E [00:45:21]Write i2c OK [00:45:21]MH_I2C_Read... [00:45:21]Read from MH i2c: D1 [00:45:21]MH_I2C_Read... [00:45:21]Read from MH i2c: D1 01 00 [00:45:21]MH_I2C_Read... [00:45:21]Read from MH i2c: D1 01 00 98 04 00 6D [00:45:21]Write to MH i2c: 01 00 00 99 04 9D [00:45:21]Write i2c OK [00:45:21]MH_I2C_Read... [00:45:21]OFD Sender: No OFD packet to send [00:45:22]*** Cut start [00:45:22]*** Partial cut [00:45:22]*** CUTSNS_PIN = 1 [00:45:22]*** CUTSNS_PIN = 0 [00:45:22]*** Brake cut motor [00:45:22]Read from MH i2c: 01 [00:45:22]MH_I2C_Read... [00:45:22]*** Stop cut motor [00:45:22]*** Cut end [00:45:22]Read from MH i2c: 01 07 00 [00:45:22]MH_I2C_Read... [00:45:22]Read from MH i2c: 01 07 00 99 04 00 00 00 00 00 FF 0F B2 [00:45:22]process_action close_receipt done [00:45:22]requested_data is exist [00:45:22]produce_requested_data [00:45:22]requested_item fm.sn is exist - process it [00:45:22]wFMCommunicate request_size=4 [00:45:22]MH_SAM_APDU [00:45:22]CAPDU: 80 11 00 00 [00:45:22]Write to MH i2c: E2 08 00 9A 04 80 11 00 00 00 00 00 00 18 [00:45:22]Write i2c OK [00:45:22]MH_I2C_Read... [00:45:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:45:22]Read from MH i2c: E2 [00:45:22]MH_I2C_Read... [00:45:22]Read from MH i2c: E2 17 00 [00:45:22]MH_I2C_Read... [00:45:22]Read from MH i2c: E2 17 00 9A 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 71 [00:45:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [00:45:22]wFMCommunicate OK [00:45:22]requested_item fd.num is exist - process it [00:45:22]SAM_PROTO_GetFieldsCounters [00:45:22]wFMCommunicate request_size=4 [00:45:22]MH_SAM_APDU [00:45:22]CAPDU: 80 13 00 00 [00:45:22]Write to MH i2c: E2 08 00 9B 04 80 13 00 00 00 00 00 00 1B [00:45:22]Write i2c OK [00:45:22]MH_I2C_Read... [00:45:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:45:22]Read from MH i2c: E2 [00:45:22]MH_I2C_Read... [00:45:22]Read from MH i2c: E2 62 00 [00:45:22]MH_I2C_Read... [00:45:22]Read from MH i2c: E2 62 00 9B 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 44 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 91 [00:45:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 44 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:45:22]wFMCommunicate OK [00:45:22]SAM_PROTO_GetFieldsCounters done [00:45:22]requested_item shift.num is exist - process it [00:45:22]requested_item shift.opened is exist - process it [00:45:22]req_shift_opened [00:45:22]FM_GetShiftState [00:45:22]SAM_PROTO_GetShiftState [00:45:22]wFMCommunicate request_size=4 [00:45:22]MH_SAM_APDU [00:45:22]CAPDU: 80 13 01 00 [00:45:22]Write to MH i2c: E2 08 00 9C 04 80 13 01 00 00 00 00 00 1D [00:45:22]Write i2c OK [00:45:22]MH_I2C_Read... [00:45:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:45:22]Read from MH i2c: E2 [00:45:22]MH_I2C_Read... [00:45:22]Read from MH i2c: E2 0E 00 [00:45:22]MH_I2C_Read... [00:45:22]Read from MH i2c: E2 0E 00 9C 04 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 82 [00:45:22]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [00:45:22]wFMCommunicate OK [00:45:22]SAM_PROTO_GetShiftState done [00:45:22]FM_GetShiftState done [00:45:22]req_shift_opened done [00:45:22]requested_item shift.open_date is exist - process it [00:45:22]req_shift_open_date [00:45:22]req_shift_open_date done [00:45:22]produce_requested_data done [00:45:22]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19012,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [00:45:22]process_action_free close_receipt [00:45:22]json_value_free [00:45:22]json_value_free done [00:45:22]process_json_proto returns [00:45:22]Send response to host [00:45:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19012,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [00:45:22]free response buf [00:45:22]execute_script done [00:45:22]execute_script returns [00:45:22]free content buf [00:45:22]Sock 9.Close socket [00:45:22]Sock 9.Thread stoped [00:45:26]OFD Sender: No OFD packet to send [00:45:31]OFD Sender: No OFD packet to send [00:45:36]OFD Sender: No OFD packet to send [00:45:41]OFD Sender: No OFD packet to send [00:45:46]OFD Sender: No OFD packet to send [00:45:51]OFD Sender: No OFD packet to send [00:45:56]OFD Sender: No OFD packet to send [00:46:01]OFD Sender: No OFD packet to send [00:46:06]OFD Sender: No OFD packet to send [00:46:11]OFD Sender: No OFD packet to send [00:46:16]OFD Sender: No OFD packet to send [00:46:17]accept exits with 7 [00:46:17]New connection [00:46:17]New thread 3066551652 created [00:46:17]Thread 3066695012 joined [00:46:17]Waiting for new connection... [00:46:17] Sock 7.Parse request [00:46:17]Sock 7.Check first char [00:46:17]Sock 7.First char is OK [00:46:17]request: POST /json_proto HTTP/1.0 [00:46:17]Method: POST [00:46:17]URL: /json_proto [00:46:17]Method is POST - this is cgi request [00:46:17]url: /json_proto [00:46:17]query_string will be loaded in cgi processing [00:46:17]execute_cgi json_proto POST (null) [00:46:17]execute_cgi path=json_proto method=POST [00:46:17]POST find Content-Length [00:46:17]Host: 172.17.62.196:8080 [00:46:17]Content-Length: 621 [00:46:17]Content-Type: application/json [00:46:17] [00:46:17]POST finish read [00:46:17]Found Content-Length = 621 [00:46:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16933", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:46:17]execute_script... [00:46:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16933", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:46:17]POST & json_proto [00:46:17]process_json_proto [00:46:17]json parsed OK: [00:46:17]protocol is kg_v1.0 [00:46:17]action value=close_receipt [00:46:17]process_action close_receipt [00:46:17]cmd_close_receipt [00:46:17]MH_GetDate [00:46:17]Write to MH i2c: F0 00 00 9D 04 90 [00:46:17]Write i2c OK [00:46:17]MH_I2C_Read... [00:46:17]Read from MH i2c: F0 [00:46:17]MH_I2C_Read... [00:46:17]Read from MH i2c: F0 09 00 [00:46:17]MH_I2C_Read... [00:46:17]Read from MH i2c: F0 09 00 9D 04 00 DA AE F4 66 CE CC 0E 66 89 [00:46:17]GetLastDocTimeStamp 1727311520 [00:46:17]current date 1727311578 [00:46:17]FM_GetShiftState [00:46:17]SAM_PROTO_GetShiftState [00:46:17]wFMCommunicate request_size=4 [00:46:17]MH_SAM_APDU [00:46:17]CAPDU: 80 13 01 00 [00:46:17]Write to MH i2c: E2 08 00 9E 04 80 13 01 00 00 00 00 00 1F [00:46:17]Write i2c OK [00:46:17]MH_I2C_Read... [00:46:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:46:17]Read from MH i2c: E2 [00:46:17]MH_I2C_Read... [00:46:17]Read from MH i2c: E2 0E 00 [00:46:17]MH_I2C_Read... [00:46:17]Read from MH i2c: E2 0E 00 9E 04 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 84 [00:46:17]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [00:46:17]wFMCommunicate OK [00:46:17]SAM_PROTO_GetShiftState done [00:46:17]FM_GetShiftState done [00:46:17]opened in 1727309656 [00:46:17]opened+sec_in_day 1727396056 [00:46:17]quantity*price = 15000 [00:46:17]sum+1 = 15001 [00:46:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 2 26.09.2024 00:46 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19013 ФПД: 181962785174343 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T004619&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19013&fm=181962785174343&tin=02508201610067®Number=0000000000152968&sum=15000 0 [00:46:18]StoreToDocumentArchive [00:46:18]shift 184 fd 19013 [00:46:18]save to /storage/0184/doc_00019013 [00:46:18]save last doc name /storage/0184/doc_00019013 to /storage/kkm_last_doc_name [00:46:18]save OK [00:46:18]Clear old archive folders... [00:46:18]ProcessDocumentItem done err = 0, tmpTLVsize=274 [00:46:18]tlvbuf is 01D80690 [00:46:18]SAM_PROTO_ClearQueue [00:46:18]wFMCommunicate request_size=4 [00:46:18]MH_SAM_APDU [00:46:18]CAPDU: 80 09 00 00 [00:46:18]Write to MH i2c: E2 08 00 AB 04 80 09 00 00 00 00 00 00 21 [00:46:18]Write i2c OK [00:46:18]MH_I2C_Read... [00:46:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:46:18]Read from MH i2c: E2 [00:46:18]MH_I2C_Read... [00:46:18]Read from MH i2c: E2 03 00 [00:46:18]MH_I2C_Read... [00:46:18]Read from MH i2c: E2 03 00 AB 04 00 90 00 23 [00:46:18]RAPDU: 90 00 [00:46:18]wFMCommunicate OK [00:46:18]SAM_PROTO_ClearQueue done [00:46:18]KKMCreateOFDPacket [00:46:18]OFDProtocolAddRootSTLVToBuf [00:46:18]FM_MakeSignedData [00:46:18]FM_MakeSignedData [00:46:18]SAM_PROTO_SignData [00:46:18]wFMCommunicate request_size=4 [00:46:18]MH_SAM_APDU [00:46:18]CAPDU: 80 0D 01 02 [00:46:18]Write to MH i2c: E2 08 00 AC 04 80 0D 01 02 00 00 00 00 29 [00:46:18]Write i2c OK [00:46:18]MH_I2C_Read... [00:46:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:46:18]Read from MH i2c: E2 [00:46:18]MH_I2C_Read... [00:46:18]Read from MH i2c: E2 03 00 [00:46:18]MH_I2C_Read... [00:46:18]Read from MH i2c: E2 03 00 AC 04 00 90 00 24 [00:46:18]RAPDU: 90 00 [00:46:18]wFMCommunicate OK [00:46:18]wFMCommunicate request_size=255 [00:46:18]MH_SAM_APDU [00:46:18]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 DB AE F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 [00:46:18]Write to MH i2c: E2 02 01 AD 04 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 DB AE F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 00 00 69 [00:46:18]Write i2c OK [00:46:18]MH_I2C_Read... [00:46:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:46:19]Read from MH i2c: E2 [00:46:19]MH_I2C_Read... [00:46:19]Read from MH i2c: E2 03 00 [00:46:19]MH_I2C_Read... [00:46:19]Read from MH i2c: E2 03 00 AD 04 00 90 00 25 [00:46:19]RAPDU: 90 00 [00:46:19]wFMCommunicate OK [00:46:19]wFMCommunicate request_size=33 [00:46:19]MH_SAM_APDU [00:46:19]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 34 35 36 10 04 04 00 45 4A 00 00 35 04 06 00 A5 7E 83 2C 33 47 [00:46:19]Write to MH i2c: E2 24 00 AE 04 80 0D 02 02 1C 00 30 30 30 30 39 35 39 34 35 36 10 04 04 00 45 4A 00 00 35 04 06 00 A5 7E 83 2C 33 47 00 00 9C [00:46:19]Write i2c OK [00:46:19]MH_I2C_Read... [00:46:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:46:19]Read from MH i2c: E2 [00:46:19]MH_I2C_Read... [00:46:19]Read from MH i2c: E2 03 00 [00:46:19]MH_I2C_Read... [00:46:19]Read from MH i2c: E2 03 00 AE 04 00 90 00 26 [00:46:19]RAPDU: 90 00 [00:46:19]wFMCommunicate OK [00:46:19]wFMCommunicate request_size=4 [00:46:19]MH_SAM_APDU [00:46:19]CAPDU: 80 0D 03 02 [00:46:19]Write to MH i2c: E2 08 00 AF 04 80 0D 03 02 00 00 00 00 2E [00:46:19]Write i2c OK [00:46:19]MH_I2C_Read... [00:46:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:46:19]Read from MH i2c: E2 [00:46:19]MH_I2C_Read... [00:46:19]Read from MH i2c: E2 0B 00 [00:46:19]MH_I2C_Read... [00:46:19]Read from MH i2c: E2 0B 00 AF 04 00 17 E0 D5 83 7B 61 D7 B4 90 00 E5 [00:46:19]RAPDU: 17 E0 D5 83 7B 61 D7 B4 90 00 [00:46:19]wFMCommunicate OK [00:46:19]SAM_PROTO_SignData done [00:46:19]FM_MakeSignedData done [00:46:19]CreateOFDProtocolMessage [00:46:19]wFMCommunicate request_size=4 [00:46:19]MH_SAM_APDU [00:46:19]CAPDU: 80 11 00 00 [00:46:19]Write to MH i2c: E2 08 00 B0 04 80 11 00 00 00 00 00 00 2E [00:46:19]Write i2c OK [00:46:19]MH_I2C_Read... [00:46:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:46:19]Read from MH i2c: E2 [00:46:19]MH_I2C_Read... [00:46:19]Read from MH i2c: E2 17 00 [00:46:19]MH_I2C_Read... [00:46:19]Read from MH i2c: E2 17 00 B0 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 87 [00:46:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [00:46:19]wFMCommunicate OK [00:46:19]CreateOFDProtocolMessage done [00:46:19]OFDSenderStorePacket 19013 [00:46:19]StoreOFDPacket docnum=19013 [00:46:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 53 A6 1E 01 64 66 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 DB AE F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 45 4A 00 00 35 04 06 00 A5 7E 83 2C 33 47 17 E0 D5 83 7B 61 D7 B4 [00:46:19]CheckFolder [00:46:19]dirname=/storage/ofd_packets [00:46:19]CheckFolder done [00:46:19]ProducePacketName [00:46:19]name=ofd_packets/00019013 [00:46:19]NVStorageSaveData ofd_packets/00019013 [00:46:19]File name is /storage/ofd_packets/00019013 [00:46:19]Write 324 bytes [00:46:19]NVStorageSaveData done [00:46:19]OFDSenderStorePacket done [00:46:19]KKMCreateOFDPacket done [00:46:19]NVStorageSaveData kkm_last_timestamp [00:46:19]File name is /storage/kkm_last_timestamp [00:46:19]Write 4 bytes [00:46:19]NVStorageSaveData done [00:46:19]ExternCall_PrintAddStr [00:46:19]wPrintStart [00:46:19]Write to MH i2c: 01 00 00 B1 04 B5 [00:46:19]Write i2c OK [00:46:19]MH_I2C_Read... [00:46:19]Read from MH i2c: 01 [00:46:19]MH_I2C_Read... [00:46:19]Read from MH i2c: 01 07 00 [00:46:19]MH_I2C_Read... [00:46:19]Read from MH i2c: 01 07 00 B1 04 00 00 00 00 00 FF 0F CA [00:46:19]RasterBufferAndPrint [00:46:19]line Счет N : (3)16933 [00:46:19]line ИНН: 02508201610067 [00:46:19]line Контрольно-Кассовый Чек [00:46:19]line ПРОДАЖА [00:46:19]line Товар: 4640030091645 [00:46:19]line Сигареты ESSE Exchange M [00:46:19]line 1.000 * 150.00 [00:46:19]line = 150.00 [00:46:19]line НДС 12% НСП 1% [00:46:19]line > о реализуемом товаре [00:46:19]line ИТОГО: 150.00 [00:46:19]line НСП 1% : 1.33 [00:46:19]line НДС 12% : 15.93 [00:46:19]line Наличными: 150.00 [00:46:19]line Безнал.: 0.00 [00:46:19]line Место: АЗС № 176 "Партнер Нефть" [00:46:19]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [00:46:19]line СНО: Общий режим [00:46:19]line Чек 2 26.09.2024 00:46 [00:46:19]line Смена: 184 ФФД: 1.0 [00:46:19]line ЗНМ: 0300000010 [00:46:19]line РНМ: 0000000000152968 [00:46:19]line Версия ККМ: v1.0 [00:46:19]line ФМ: 0000000000959456 [00:46:19]line ФД: 19013 [00:46:19]line ФПД: 181962785174343 [00:46:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T004619&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19013&fm=181962785174343&tin=02508201610067®Number=0000000000152968&sum=15000 [00:46:19]line 0 [00:46:19]written 0, free lines is 4095 [00:46:19]OFD Sender: Processing packet 19013 [packets to send 7, broken 6] [00:46:19]ProducePacketName [00:46:19]name=ofd_packets/00019013 [00:46:19]OFD Sender: To server: pG, [00:46:19]CommunicateWithHost lk.salyk.kg:30040 [00:46:19]ConnectInit lk.salyk.kg [00:46:19]Connected sock=10 [00:46:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 53 A6 1E 01 64 66 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 DB AE F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 45 4A 00 00 35 04 06 00 A5 7E 83 2C 33 47 17 E0 D5 83 7B 61 D7 B4 [00:46:19]Write to MH i2c: 01 00 00 D9 04 DD [00:46:19]Write i2c OK [00:46:19]MH_I2C_Read... [00:46:19]Read from MH i2c: 01 [00:46:19]MH_I2C_Read... [00:46:19]Read from MH i2c: 01 07 00 [00:46:19]MH_I2C_Read... [00:46:19]Read from MH i2c: 01 07 00 D9 04 00 00 00 00 00 0C 0D FD [00:46:19]RasterBufferAndPrint [00:46:19]line [00:46:19]line [00:46:19]line [00:46:19]line [00:46:19]line [00:46:19]written 0, free lines is 3346 [00:46:19]MH_Cut [00:46:19]Write to MH i2c: D1 01 00 E0 04 01 B6 [00:46:19]Write i2c OK [00:46:19]MH_I2C_Read... [00:46:19]Read from MH i2c: D1 [00:46:19]MH_I2C_Read... [00:46:19]Read from MH i2c: D1 01 00 [00:46:19]MH_I2C_Read... [00:46:19]Read from MH i2c: D1 01 00 E0 04 00 B5 [00:46:19]Write to MH i2c: 01 00 00 E1 04 E5 [00:46:19]Write i2c OK [00:46:19]MH_I2C_Read... [00:46:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 02 65 47 00 10 37 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 45 4A 00 00 F4 03 04 00 36 58 F4 66 B6 04 01 00 00 36 37 48 D1 9A 82 97 AB [00:46:19]CommunicateWithHost err = 0 [00:46:19]CheckOFDResponse [00:46:19]1017 (14) - 77093643461234 [00:46:19]1041 (16) - 0000000000959456 [00:46:19]1040 (4) - 19013 [00:46:19]1012 (4) - 25.09.2024 18:36 [00:46:19]1206 (1) - 0 [00:46:19]OFD Sender: Remove packet 19013 [00:46:19]ProducePacketName [00:46:19]name=ofd_packets/00019013 [00:46:19]NVStorageDeleteData [00:46:20]OFD Sender: No OFD packet to send [00:46:20]*** Cut start [00:46:20]*** Partial cut [00:46:20]*** CUTSNS_PIN = 1 [00:46:20]*** CUTSNS_PIN = 0 [00:46:20]*** Brake cut motor [00:46:20]Read from MH i2c: 01 [00:46:20]MH_I2C_Read... [00:46:20]*** Stop cut motor [00:46:20]*** Cut end [00:46:20]Read from MH i2c: 01 07 00 [00:46:20]MH_I2C_Read... [00:46:20]Read from MH i2c: 01 07 00 E1 04 00 00 00 00 00 FF 0F FA [00:46:20]process_action close_receipt done [00:46:20]requested_data is exist [00:46:20]produce_requested_data [00:46:20]requested_item fm.sn is exist - process it [00:46:20]wFMCommunicate request_size=4 [00:46:20]MH_SAM_APDU [00:46:20]CAPDU: 80 11 00 00 [00:46:20]Write to MH i2c: E2 08 00 E2 04 80 11 00 00 00 00 00 00 60 [00:46:20]Write i2c OK [00:46:20]MH_I2C_Read... [00:46:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:46:20]Read from MH i2c: E2 [00:46:20]MH_I2C_Read... [00:46:20]Read from MH i2c: E2 17 00 [00:46:20]MH_I2C_Read... [00:46:20]Read from MH i2c: E2 17 00 E2 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 B9 [00:46:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [00:46:20]wFMCommunicate OK [00:46:20]requested_item fd.num is exist - process it [00:46:20]SAM_PROTO_GetFieldsCounters [00:46:20]wFMCommunicate request_size=4 [00:46:20]MH_SAM_APDU [00:46:20]CAPDU: 80 13 00 00 [00:46:20]Write to MH i2c: E2 08 00 E3 04 80 13 00 00 00 00 00 00 63 [00:46:20]Write i2c OK [00:46:20]MH_I2C_Read... [00:46:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:46:21]Read from MH i2c: E2 [00:46:21]MH_I2C_Read... [00:46:21]Read from MH i2c: E2 62 00 [00:46:21]MH_I2C_Read... [00:46:21]Read from MH i2c: E2 62 00 E3 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 45 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 DD [00:46:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 45 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:46:21]wFMCommunicate OK [00:46:21]SAM_PROTO_GetFieldsCounters done [00:46:21]requested_item shift.num is exist - process it [00:46:21]requested_item shift.opened is exist - process it [00:46:21]req_shift_opened [00:46:21]FM_GetShiftState [00:46:21]SAM_PROTO_GetShiftState [00:46:21]wFMCommunicate request_size=4 [00:46:21]MH_SAM_APDU [00:46:21]CAPDU: 80 13 01 00 [00:46:21]Write to MH i2c: E2 08 00 E4 04 80 13 01 00 00 00 00 00 65 [00:46:21]Write i2c OK [00:46:21]MH_I2C_Read... [00:46:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:46:21]Read from MH i2c: E2 [00:46:21]MH_I2C_Read... [00:46:21]Read from MH i2c: E2 0E 00 [00:46:21]MH_I2C_Read... [00:46:21]Read from MH i2c: E2 0E 00 E4 04 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 CA [00:46:21]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [00:46:21]wFMCommunicate OK [00:46:21]SAM_PROTO_GetShiftState done [00:46:21]FM_GetShiftState done [00:46:21]req_shift_opened done [00:46:21]requested_item shift.open_date is exist - process it [00:46:21]req_shift_open_date [00:46:21]req_shift_open_date done [00:46:21]produce_requested_data done [00:46:21]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19013,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [00:46:21]process_action_free close_receipt [00:46:21]json_value_free [00:46:21]json_value_free done [00:46:21]process_json_proto returns [00:46:21]Send response to host [00:46:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19013,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [00:46:21]free response buf [00:46:21]execute_script done [00:46:21]execute_script returns [00:46:21]free content buf [00:46:21]Sock 7.Close socket [00:46:21]Sock 7.Thread stoped [00:46:25]OFD Sender: No OFD packet to send [00:46:30]OFD Sender: No OFD packet to send [00:46:35]OFD Sender: No OFD packet to send [00:46:40]OFD Sender: No OFD packet to send [00:46:45]OFD Sender: No OFD packet to send [00:46:50]OFD Sender: No OFD packet to send [00:46:55]OFD Sender: No OFD packet to send [00:47:00]OFD Sender: No OFD packet to send [00:47:05]OFD Sender: No OFD packet to send [00:47:10]OFD Sender: No OFD packet to send [00:47:15]OFD Sender: No OFD packet to send [00:47:20]OFD Sender: No OFD packet to send [00:47:25]OFD Sender: No OFD packet to send [00:47:30]OFD Sender: No OFD packet to send [00:47:35]OFD Sender: No OFD packet to send [00:47:40]OFD Sender: No OFD packet to send [00:47:45]OFD Sender: No OFD packet to send [00:47:50]OFD Sender: No OFD packet to send [00:47:55]OFD Sender: No OFD packet to send [00:48:00]OFD Sender: No OFD packet to send [00:48:05]OFD Sender: No OFD packet to send [00:48:10]OFD Sender: No OFD packet to send [00:48:15]OFD Sender: No OFD packet to send [00:48:20]OFD Sender: No OFD packet to send [00:48:25]OFD Sender: No OFD packet to send [00:48:30]OFD Sender: No OFD packet to send [00:48:35]OFD Sender: No OFD packet to send [00:48:40]OFD Sender: No OFD packet to send [00:48:45]OFD Sender: No OFD packet to send [00:48:50]OFD Sender: No OFD packet to send [00:48:55]OFD Sender: No OFD packet to send [00:49:00]OFD Sender: No OFD packet to send [00:49:05]OFD Sender: No OFD packet to send [00:49:10]OFD Sender: No OFD packet to send [00:49:15]OFD Sender: No OFD packet to send [00:49:20]OFD Sender: No OFD packet to send [00:49:25]OFD Sender: No OFD packet to send [00:49:30]OFD Sender: No OFD packet to send [00:49:35]OFD Sender: No OFD packet to send [00:49:40]OFD Sender: No OFD packet to send [00:49:45]OFD Sender: No OFD packet to send [00:49:50]OFD Sender: No OFD packet to send [00:49:55]OFD Sender: No OFD packet to send [00:50:00]OFD Sender: No OFD packet to send [00:50:05]OFD Sender: No OFD packet to send [00:50:10]OFD Sender: No OFD packet to send [00:50:15]OFD Sender: No OFD packet to send [00:50:20]OFD Sender: No OFD packet to send [00:50:25]OFD Sender: No OFD packet to send [00:50:30]OFD Sender: No OFD packet to send [00:50:35]OFD Sender: No OFD packet to send [00:50:40]OFD Sender: No OFD packet to send [00:50:45]OFD Sender: No OFD packet to send [00:50:50]OFD Sender: No OFD packet to send [00:50:55]OFD Sender: No OFD packet to send [00:51:00]OFD Sender: No OFD packet to send [00:51:05]OFD Sender: No OFD packet to send [00:51:10]OFD Sender: No OFD packet to send [00:51:15]OFD Sender: No OFD packet to send [00:51:20]OFD Sender: No OFD packet to send [00:51:25]OFD Sender: No OFD packet to send [00:51:30]OFD Sender: No OFD packet to send [00:51:35]OFD Sender: No OFD packet to send [00:51:40]OFD Sender: No OFD packet to send [00:51:45]OFD Sender: No OFD packet to send [00:51:50]OFD Sender: No OFD packet to send [00:51:55]OFD Sender: No OFD packet to send [00:52:00]OFD Sender: No OFD packet to send [00:52:05]OFD Sender: No OFD packet to send [00:52:10]OFD Sender: No OFD packet to send [00:52:15]OFD Sender: No OFD packet to send [00:52:20]OFD Sender: No OFD packet to send [00:52:25]OFD Sender: No OFD packet to send [00:52:30]OFD Sender: No OFD packet to send [00:52:35]OFD Sender: No OFD packet to send [00:52:40]OFD Sender: No OFD packet to send [00:52:45]OFD Sender: No OFD packet to send [00:52:50]OFD Sender: No OFD packet to send [00:52:55]OFD Sender: No OFD packet to send [00:53:00]OFD Sender: No OFD packet to send [00:53:05]OFD Sender: No OFD packet to send [00:53:10]OFD Sender: No OFD packet to send [00:53:15]OFD Sender: No OFD packet to send [00:53:20]OFD Sender: No OFD packet to send [00:53:25]OFD Sender: No OFD packet to send [00:53:30]OFD Sender: No OFD packet to send [00:53:35]OFD Sender: No OFD packet to send [00:53:40]OFD Sender: No OFD packet to send [00:53:45]OFD Sender: No OFD packet to send [00:53:50]OFD Sender: No OFD packet to send [00:53:55]OFD Sender: No OFD packet to send [00:54:00]OFD Sender: No OFD packet to send [00:54:05]OFD Sender: No OFD packet to send [00:54:10]OFD Sender: No OFD packet to send [00:54:15]OFD Sender: No OFD packet to send [00:54:20]OFD Sender: No OFD packet to send [00:54:25]OFD Sender: No OFD packet to send [00:54:30]OFD Sender: No OFD packet to send [00:54:35]OFD Sender: No OFD packet to send [00:54:40]OFD Sender: No OFD packet to send [00:54:45]OFD Sender: No OFD packet to send [00:54:50]OFD Sender: No OFD packet to send [00:54:55]OFD Sender: No OFD packet to send [00:55:00]OFD Sender: No OFD packet to send [00:55:05]OFD Sender: No OFD packet to send [00:55:10]OFD Sender: No OFD packet to send [00:55:15]OFD Sender: No OFD packet to send [00:55:20]OFD Sender: No OFD packet to send [00:55:25]OFD Sender: No OFD packet to send [00:55:30]OFD Sender: No OFD packet to send [00:55:35]OFD Sender: No OFD packet to send [00:55:40]OFD Sender: No OFD packet to send [00:55:45]OFD Sender: No OFD packet to send [00:55:50]OFD Sender: No OFD packet to send [00:55:55]OFD Sender: No OFD packet to send [00:56:00]OFD Sender: No OFD packet to send [00:56:05]OFD Sender: No OFD packet to send [00:56:10]OFD Sender: No OFD packet to send [00:56:15]OFD Sender: No OFD packet to send [00:56:20]OFD Sender: No OFD packet to send [00:56:25]OFD Sender: No OFD packet to send [00:56:30]OFD Sender: No OFD packet to send [00:56:35]OFD Sender: No OFD packet to send [00:56:40]OFD Sender: No OFD packet to send [00:56:45]OFD Sender: No OFD packet to send [00:56:50]OFD Sender: No OFD packet to send [00:56:55]OFD Sender: No OFD packet to send [00:57:00]OFD Sender: No OFD packet to send [00:57:05]OFD Sender: No OFD packet to send [00:57:10]OFD Sender: No OFD packet to send [00:57:15]OFD Sender: No OFD packet to send [00:57:20]OFD Sender: No OFD packet to send [00:57:25]OFD Sender: No OFD packet to send [00:57:30]OFD Sender: No OFD packet to send [00:57:35]OFD Sender: No OFD packet to send [00:57:40]OFD Sender: No OFD packet to send [00:57:45]OFD Sender: No OFD packet to send [00:57:50]OFD Sender: No OFD packet to send [00:57:55]OFD Sender: No OFD packet to send [00:58:00]OFD Sender: No OFD packet to send [00:58:05]OFD Sender: No OFD packet to send [00:58:10]OFD Sender: No OFD packet to send [00:58:15]OFD Sender: No OFD packet to send [00:58:20]OFD Sender: No OFD packet to send [00:58:25]OFD Sender: No OFD packet to send [00:58:30]OFD Sender: No OFD packet to send [00:58:35]OFD Sender: No OFD packet to send [00:58:40]OFD Sender: No OFD packet to send [00:58:45]OFD Sender: No OFD packet to send [00:58:50]OFD Sender: No OFD packet to send [00:58:55]OFD Sender: No OFD packet to send [00:59:00]OFD Sender: No OFD packet to send [00:59:05]OFD Sender: No OFD packet to send [00:59:10]OFD Sender: No OFD packet to send [00:59:15]OFD Sender: No OFD packet to send [00:59:20]OFD Sender: No OFD packet to send [00:59:25]OFD Sender: No OFD packet to send [00:59:30]OFD Sender: No OFD packet to send [00:59:35]OFD Sender: No OFD packet to send [00:59:40]OFD Sender: No OFD packet to send [00:59:45]OFD Sender: No OFD packet to send [00:59:50]OFD Sender: No OFD packet to send [00:59:55]OFD Sender: No OFD packet to send [01:00:00]OFD Sender: No OFD packet to send [01:00:05]OFD Sender: No OFD packet to send [01:00:10]OFD Sender: No OFD packet to send [01:00:15]OFD Sender: No OFD packet to send [01:00:20]OFD Sender: No OFD packet to send [01:00:25]OFD Sender: No OFD packet to send [01:00:30]OFD Sender: No OFD packet to send [01:00:35]OFD Sender: No OFD packet to send [01:00:40]OFD Sender: No OFD packet to send [01:00:45]OFD Sender: No OFD packet to send [01:00:50]OFD Sender: No OFD packet to send [01:00:55]OFD Sender: No OFD packet to send [01:01:00]OFD Sender: No OFD packet to send [01:01:05]OFD Sender: No OFD packet to send [01:01:10]OFD Sender: No OFD packet to send [01:01:15]OFD Sender: No OFD packet to send [01:01:20]OFD Sender: No OFD packet to send [01:01:25]OFD Sender: No OFD packet to send [01:01:30]OFD Sender: No OFD packet to send [01:01:35]OFD Sender: No OFD packet to send [01:01:41]OFD Sender: No OFD packet to send [01:01:46]OFD Sender: No OFD packet to send [01:01:51]OFD Sender: No OFD packet to send [01:01:56]OFD Sender: No OFD packet to send [01:02:01]OFD Sender: No OFD packet to send [01:02:06]OFD Sender: No OFD packet to send [01:02:11]OFD Sender: No OFD packet to send [01:02:16]OFD Sender: No OFD packet to send [01:02:21]OFD Sender: No OFD packet to send [01:02:26]OFD Sender: No OFD packet to send [01:02:31]OFD Sender: No OFD packet to send [01:02:36]OFD Sender: No OFD packet to send [01:02:41]OFD Sender: No OFD packet to send [01:02:46]OFD Sender: No OFD packet to send [01:02:51]OFD Sender: No OFD packet to send [01:02:56]OFD Sender: No OFD packet to send [01:03:01]OFD Sender: No OFD packet to send [01:03:06]OFD Sender: No OFD packet to send [01:03:11]OFD Sender: No OFD packet to send [01:03:16]OFD Sender: No OFD packet to send [01:03:21]OFD Sender: No OFD packet to send [01:03:26]OFD Sender: No OFD packet to send [01:03:31]OFD Sender: No OFD packet to send [01:03:36]OFD Sender: No OFD packet to send [01:03:41]OFD Sender: No OFD packet to send [01:03:46]OFD Sender: No OFD packet to send [01:03:51]OFD Sender: No OFD packet to send [01:03:56]OFD Sender: No OFD packet to send [01:04:01]OFD Sender: No OFD packet to send [01:04:06]OFD Sender: No OFD packet to send [01:04:11]OFD Sender: No OFD packet to send [01:04:16]OFD Sender: No OFD packet to send [01:04:21]OFD Sender: No OFD packet to send [01:04:26]OFD Sender: No OFD packet to send [01:04:31]OFD Sender: No OFD packet to send [01:04:36]OFD Sender: No OFD packet to send [01:04:41]OFD Sender: No OFD packet to send [01:04:46]OFD Sender: No OFD packet to send [01:04:51]OFD Sender: No OFD packet to send [01:04:56]OFD Sender: No OFD packet to send [01:05:01]OFD Sender: No OFD packet to send [01:05:06]OFD Sender: No OFD packet to send [01:05:11]OFD Sender: No OFD packet to send [01:05:16]OFD Sender: No OFD packet to send [01:05:21]OFD Sender: No OFD packet to send [01:05:26]OFD Sender: No OFD packet to send [01:05:31]OFD Sender: No OFD packet to send [01:05:36]OFD Sender: No OFD packet to send [01:05:41]OFD Sender: No OFD packet to send [01:05:46]OFD Sender: No OFD packet to send [01:05:51]OFD Sender: No OFD packet to send [01:05:56]OFD Sender: No OFD packet to send [01:06:01]OFD Sender: No OFD packet to send [01:06:06]OFD Sender: No OFD packet to send [01:06:11]OFD Sender: No OFD packet to send [01:06:16]OFD Sender: No OFD packet to send [01:06:21]OFD Sender: No OFD packet to send [01:06:26]OFD Sender: No OFD packet to send [01:06:31]OFD Sender: No OFD packet to send [01:06:36]OFD Sender: No OFD packet to send [01:06:41]OFD Sender: No OFD packet to send [01:06:46]OFD Sender: No OFD packet to send [01:06:51]OFD Sender: No OFD packet to send [01:06:56]OFD Sender: No OFD packet to send [01:07:01]OFD Sender: No OFD packet to send [01:07:06]OFD Sender: No OFD packet to send [01:07:11]OFD Sender: No OFD packet to send [01:07:16]OFD Sender: No OFD packet to send [01:07:21]OFD Sender: No OFD packet to send [01:07:26]OFD Sender: No OFD packet to send [01:07:31]OFD Sender: No OFD packet to send [01:07:36]OFD Sender: No OFD packet to send [01:07:41]OFD Sender: No OFD packet to send [01:07:46]OFD Sender: No OFD packet to send [01:07:51]OFD Sender: No OFD packet to send [01:07:56]OFD Sender: No OFD packet to send [01:08:01]OFD Sender: No OFD packet to send [01:08:06]OFD Sender: No OFD packet to send [01:08:11]OFD Sender: No OFD packet to send [01:08:16]OFD Sender: No OFD packet to send [01:08:21]OFD Sender: No OFD packet to send [01:08:26]OFD Sender: No OFD packet to send [01:08:31]OFD Sender: No OFD packet to send [01:08:36]OFD Sender: No OFD packet to send [01:08:41]OFD Sender: No OFD packet to send [01:08:46]OFD Sender: No OFD packet to send [01:08:51]OFD Sender: No OFD packet to send [01:08:56]OFD Sender: No OFD packet to send [01:09:01]OFD Sender: No OFD packet to send [01:09:06]OFD Sender: No OFD packet to send [01:09:11]OFD Sender: No OFD packet to send [01:09:16]OFD Sender: No OFD packet to send [01:09:21]OFD Sender: No OFD packet to send [01:09:26]OFD Sender: No OFD packet to send [01:09:31]OFD Sender: No OFD packet to send [01:09:36]OFD Sender: No OFD packet to send [01:09:41]OFD Sender: No OFD packet to send [01:09:46]OFD Sender: No OFD packet to send [01:09:51]OFD Sender: No OFD packet to send [01:09:56]OFD Sender: No OFD packet to send [01:10:01]OFD Sender: No OFD packet to send [01:10:06]OFD Sender: No OFD packet to send [01:10:11]OFD Sender: No OFD packet to send [01:10:16]OFD Sender: No OFD packet to send [01:10:21]OFD Sender: No OFD packet to send [01:10:26]OFD Sender: No OFD packet to send [01:10:31]OFD Sender: No OFD packet to send [01:10:36]OFD Sender: No OFD packet to send [01:10:41]OFD Sender: No OFD packet to send [01:10:46]OFD Sender: No OFD packet to send [01:10:51]OFD Sender: No OFD packet to send [01:10:56]OFD Sender: No OFD packet to send [01:11:01]OFD Sender: No OFD packet to send [01:11:06]OFD Sender: No OFD packet to send [01:11:11]OFD Sender: No OFD packet to send [01:11:16]OFD Sender: No OFD packet to send [01:11:21]OFD Sender: No OFD packet to send [01:11:26]OFD Sender: No OFD packet to send [01:11:31]OFD Sender: No OFD packet to send [01:11:36]OFD Sender: No OFD packet to send [01:11:41]OFD Sender: No OFD packet to send [01:11:46]OFD Sender: No OFD packet to send [01:11:51]OFD Sender: No OFD packet to send [01:11:56]OFD Sender: No OFD packet to send [01:12:01]OFD Sender: No OFD packet to send [01:12:06]OFD Sender: No OFD packet to send [01:12:11]OFD Sender: No OFD packet to send [01:12:16]OFD Sender: No OFD packet to send [01:12:21]OFD Sender: No OFD packet to send [01:12:26]OFD Sender: No OFD packet to send [01:12:31]OFD Sender: No OFD packet to send [01:12:36]OFD Sender: No OFD packet to send [01:12:41]OFD Sender: No OFD packet to send [01:12:46]OFD Sender: No OFD packet to send [01:12:51]OFD Sender: No OFD packet to send [01:12:56]OFD Sender: No OFD packet to send [01:13:01]OFD Sender: No OFD packet to send [01:13:06]OFD Sender: No OFD packet to send [01:13:11]OFD Sender: No OFD packet to send [01:13:16]OFD Sender: No OFD packet to send [01:13:21]OFD Sender: No OFD packet to send [01:13:26]OFD Sender: No OFD packet to send [01:13:31]OFD Sender: No OFD packet to send [01:13:36]OFD Sender: No OFD packet to send [01:13:41]OFD Sender: No OFD packet to send [01:13:46]OFD Sender: No OFD packet to send [01:13:51]OFD Sender: No OFD packet to send [01:13:56]OFD Sender: No OFD packet to send [01:14:01]OFD Sender: No OFD packet to send [01:14:06]OFD Sender: No OFD packet to send [01:14:11]OFD Sender: No OFD packet to send [01:14:16]OFD Sender: No OFD packet to send [01:14:21]OFD Sender: No OFD packet to send [01:14:26]OFD Sender: No OFD packet to send [01:14:31]OFD Sender: No OFD packet to send [01:14:36]OFD Sender: No OFD packet to send [01:14:41]OFD Sender: No OFD packet to send [01:14:46]OFD Sender: No OFD packet to send [01:14:51]OFD Sender: No OFD packet to send [01:14:56]OFD Sender: No OFD packet to send [01:15:01]OFD Sender: No OFD packet to send [01:15:06]OFD Sender: No OFD packet to send [01:15:11]OFD Sender: No OFD packet to send [01:15:16]OFD Sender: No OFD packet to send [01:15:21]OFD Sender: No OFD packet to send [01:15:26]OFD Sender: No OFD packet to send [01:15:31]OFD Sender: No OFD packet to send [01:15:36]OFD Sender: No OFD packet to send [01:15:41]OFD Sender: No OFD packet to send [01:15:46]OFD Sender: No OFD packet to send [01:15:51]OFD Sender: No OFD packet to send [01:15:56]OFD Sender: No OFD packet to send [01:16:01]OFD Sender: No OFD packet to send [01:16:06]OFD Sender: No OFD packet to send [01:16:11]OFD Sender: No OFD packet to send [01:16:16]OFD Sender: No OFD packet to send [01:16:21]OFD Sender: No OFD packet to send [01:16:26]OFD Sender: No OFD packet to send [01:16:31]OFD Sender: No OFD packet to send [01:16:36]OFD Sender: No OFD packet to send [01:16:41]OFD Sender: No OFD packet to send [01:16:46]OFD Sender: No OFD packet to send [01:16:51]OFD Sender: No OFD packet to send [01:16:56]OFD Sender: No OFD packet to send [01:17:01]OFD Sender: No OFD packet to send [01:17:06]OFD Sender: No OFD packet to send [01:17:11]OFD Sender: No OFD packet to send [01:17:16]OFD Sender: No OFD packet to send [01:17:21]OFD Sender: No OFD packet to send [01:17:26]OFD Sender: No OFD packet to send [01:17:31]OFD Sender: No OFD packet to send [01:17:36]OFD Sender: No OFD packet to send [01:17:41]OFD Sender: No OFD packet to send [01:17:46]OFD Sender: No OFD packet to send [01:17:51]OFD Sender: No OFD packet to send [01:17:56]OFD Sender: No OFD packet to send [01:18:01]OFD Sender: No OFD packet to send [01:18:06]OFD Sender: No OFD packet to send [01:18:11]OFD Sender: No OFD packet to send [01:18:16]OFD Sender: No OFD packet to send [01:18:21]OFD Sender: No OFD packet to send [01:18:26]OFD Sender: No OFD packet to send [01:18:31]OFD Sender: No OFD packet to send [01:18:36]OFD Sender: No OFD packet to send [01:18:41]OFD Sender: No OFD packet to send [01:18:46]OFD Sender: No OFD packet to send [01:18:51]OFD Sender: No OFD packet to send [01:18:56]OFD Sender: No OFD packet to send [01:19:01]OFD Sender: No OFD packet to send [01:19:06]OFD Sender: No OFD packet to send [01:19:11]OFD Sender: No OFD packet to send [01:19:16]OFD Sender: No OFD packet to send [01:19:21]OFD Sender: No OFD packet to send [01:19:26]OFD Sender: No OFD packet to send [01:19:31]OFD Sender: No OFD packet to send [01:19:36]OFD Sender: No OFD packet to send [01:19:41]OFD Sender: No OFD packet to send [01:19:46]OFD Sender: No OFD packet to send [01:19:51]OFD Sender: No OFD packet to send [01:19:56]OFD Sender: No OFD packet to send [01:20:01]OFD Sender: No OFD packet to send [01:20:06]OFD Sender: No OFD packet to send [01:20:11]OFD Sender: No OFD packet to send [01:20:16]OFD Sender: No OFD packet to send [01:20:21]OFD Sender: No OFD packet to send [01:20:26]OFD Sender: No OFD packet to send [01:20:31]OFD Sender: No OFD packet to send [01:20:36]OFD Sender: No OFD packet to send [01:20:41]OFD Sender: No OFD packet to send [01:20:46]OFD Sender: No OFD packet to send [01:20:51]OFD Sender: No OFD packet to send [01:20:56]OFD Sender: No OFD packet to send [01:21:01]OFD Sender: No OFD packet to send [01:21:06]OFD Sender: No OFD packet to send [01:21:11]OFD Sender: No OFD packet to send [01:21:16]OFD Sender: No OFD packet to send [01:21:21]OFD Sender: No OFD packet to send [01:21:26]OFD Sender: No OFD packet to send [01:21:31]OFD Sender: No OFD packet to send [01:21:36]OFD Sender: No OFD packet to send [01:21:41]OFD Sender: No OFD packet to send [01:21:46]OFD Sender: No OFD packet to send [01:21:51]OFD Sender: No OFD packet to send [01:21:56]OFD Sender: No OFD packet to send [01:22:01]OFD Sender: No OFD packet to send [01:22:06]OFD Sender: No OFD packet to send [01:22:11]OFD Sender: No OFD packet to send [01:22:16]OFD Sender: No OFD packet to send [01:22:21]OFD Sender: No OFD packet to send [01:22:26]OFD Sender: No OFD packet to send [01:22:31]OFD Sender: No OFD packet to send [01:22:36]OFD Sender: No OFD packet to send [01:22:41]OFD Sender: No OFD packet to send [01:22:46]OFD Sender: No OFD packet to send [01:22:51]OFD Sender: No OFD packet to send [01:22:56]OFD Sender: No OFD packet to send [01:23:01]OFD Sender: No OFD packet to send [01:23:07]OFD Sender: No OFD packet to send [01:23:12]OFD Sender: No OFD packet to send [01:23:17]OFD Sender: No OFD packet to send [01:23:22]OFD Sender: No OFD packet to send [01:23:27]OFD Sender: No OFD packet to send [01:23:32]OFD Sender: No OFD packet to send [01:23:37]OFD Sender: No OFD packet to send [01:23:42]OFD Sender: No OFD packet to send [01:23:47]OFD Sender: No OFD packet to send [01:23:52]OFD Sender: No OFD packet to send [01:23:57]OFD Sender: No OFD packet to send [01:24:02]OFD Sender: No OFD packet to send [01:24:07]OFD Sender: No OFD packet to send [01:24:12]OFD Sender: No OFD packet to send [01:24:17]OFD Sender: No OFD packet to send [01:24:22]OFD Sender: No OFD packet to send [01:24:27]OFD Sender: No OFD packet to send [01:24:32]OFD Sender: No OFD packet to send [01:24:37]OFD Sender: No OFD packet to send [01:24:42]OFD Sender: No OFD packet to send [01:24:47]OFD Sender: No OFD packet to send [01:24:52]OFD Sender: No OFD packet to send [01:24:57]OFD Sender: No OFD packet to send [01:25:02]OFD Sender: No OFD packet to send [01:25:07]OFD Sender: No OFD packet to send [01:25:12]OFD Sender: No OFD packet to send [01:25:17]OFD Sender: No OFD packet to send [01:25:22]OFD Sender: No OFD packet to send [01:25:27]OFD Sender: No OFD packet to send [01:25:32]OFD Sender: No OFD packet to send [01:25:37]OFD Sender: No OFD packet to send [01:25:42]OFD Sender: No OFD packet to send [01:25:47]OFD Sender: No OFD packet to send [01:25:52]OFD Sender: No OFD packet to send [01:25:57]OFD Sender: No OFD packet to send [01:26:02]OFD Sender: No OFD packet to send [01:26:07]OFD Sender: No OFD packet to send [01:26:12]OFD Sender: No OFD packet to send [01:26:17]OFD Sender: No OFD packet to send [01:26:22]OFD Sender: No OFD packet to send [01:26:27]OFD Sender: No OFD packet to send [01:26:32]OFD Sender: No OFD packet to send [01:26:37]OFD Sender: No OFD packet to send [01:26:42]OFD Sender: No OFD packet to send [01:26:47]OFD Sender: No OFD packet to send [01:26:52]OFD Sender: No OFD packet to send [01:26:57]OFD Sender: No OFD packet to send [01:27:02]OFD Sender: No OFD packet to send [01:27:07]OFD Sender: No OFD packet to send [01:27:12]OFD Sender: No OFD packet to send [01:27:17]OFD Sender: No OFD packet to send [01:27:22]OFD Sender: No OFD packet to send [01:27:27]OFD Sender: No OFD packet to send [01:27:32]OFD Sender: No OFD packet to send [01:27:37]OFD Sender: No OFD packet to send [01:27:42]OFD Sender: No OFD packet to send [01:27:47]OFD Sender: No OFD packet to send [01:27:52]OFD Sender: No OFD packet to send [01:27:57]OFD Sender: No OFD packet to send [01:28:02]OFD Sender: No OFD packet to send [01:28:07]OFD Sender: No OFD packet to send [01:28:12]OFD Sender: No OFD packet to send [01:28:17]OFD Sender: No OFD packet to send [01:28:22]OFD Sender: No OFD packet to send [01:28:27]OFD Sender: No OFD packet to send [01:28:32]OFD Sender: No OFD packet to send [01:28:37]OFD Sender: No OFD packet to send [01:28:42]OFD Sender: No OFD packet to send [01:28:47]OFD Sender: No OFD packet to send [01:28:52]OFD Sender: No OFD packet to send [01:28:57]OFD Sender: No OFD packet to send [01:29:02]OFD Sender: No OFD packet to send [01:29:07]OFD Sender: No OFD packet to send [01:29:12]OFD Sender: No OFD packet to send [01:29:17]OFD Sender: No OFD packet to send [01:29:22]OFD Sender: No OFD packet to send [01:29:27]OFD Sender: No OFD packet to send [01:29:32]OFD Sender: No OFD packet to send [01:29:37]OFD Sender: No OFD packet to send [01:29:42]OFD Sender: No OFD packet to send [01:29:47]OFD Sender: No OFD packet to send [01:29:52]OFD Sender: No OFD packet to send [01:29:57]OFD Sender: No OFD packet to send [01:30:02]OFD Sender: No OFD packet to send [01:30:07]OFD Sender: No OFD packet to send [01:30:12]OFD Sender: No OFD packet to send [01:30:17]OFD Sender: No OFD packet to send [01:30:22]OFD Sender: No OFD packet to send [01:30:27]OFD Sender: No OFD packet to send [01:30:32]OFD Sender: No OFD packet to send [01:30:37]OFD Sender: No OFD packet to send [01:30:42]OFD Sender: No OFD packet to send [01:30:47]OFD Sender: No OFD packet to send [01:30:52]OFD Sender: No OFD packet to send [01:30:57]OFD Sender: No OFD packet to send [01:31:02]OFD Sender: No OFD packet to send [01:31:07]OFD Sender: No OFD packet to send [01:31:12]OFD Sender: No OFD packet to send [01:31:17]OFD Sender: No OFD packet to send [01:31:22]OFD Sender: No OFD packet to send [01:31:27]OFD Sender: No OFD packet to send [01:31:32]OFD Sender: No OFD packet to send [01:31:37]OFD Sender: No OFD packet to send [01:31:42]OFD Sender: No OFD packet to send [01:31:47]OFD Sender: No OFD packet to send [01:31:52]OFD Sender: No OFD packet to send [01:31:57]OFD Sender: No OFD packet to send [01:32:02]OFD Sender: No OFD packet to send [01:32:07]OFD Sender: No OFD packet to send [01:32:12]OFD Sender: No OFD packet to send [01:32:17]OFD Sender: No OFD packet to send [01:32:22]OFD Sender: No OFD packet to send [01:32:27]OFD Sender: No OFD packet to send [01:32:32]OFD Sender: No OFD packet to send [01:32:37]OFD Sender: No OFD packet to send [01:32:42]OFD Sender: No OFD packet to send [01:32:47]OFD Sender: No OFD packet to send [01:32:52]OFD Sender: No OFD packet to send [01:32:57]OFD Sender: No OFD packet to send [01:33:02]OFD Sender: No OFD packet to send [01:33:07]OFD Sender: No OFD packet to send [01:33:12]OFD Sender: No OFD packet to send [01:33:17]OFD Sender: No OFD packet to send [01:33:22]OFD Sender: No OFD packet to send [01:33:27]OFD Sender: No OFD packet to send [01:33:32]OFD Sender: No OFD packet to send [01:33:37]OFD Sender: No OFD packet to send [01:33:42]OFD Sender: No OFD packet to send [01:33:47]OFD Sender: No OFD packet to send [01:33:52]OFD Sender: No OFD packet to send [01:33:57]OFD Sender: No OFD packet to send [01:34:02]OFD Sender: No OFD packet to send [01:34:07]OFD Sender: No OFD packet to send [01:34:12]OFD Sender: No OFD packet to send [01:34:17]OFD Sender: No OFD packet to send [01:34:22]OFD Sender: No OFD packet to send [01:34:27]OFD Sender: No OFD packet to send [01:34:32]OFD Sender: No OFD packet to send [01:34:37]OFD Sender: No OFD packet to send [01:34:42]OFD Sender: No OFD packet to send [01:34:47]OFD Sender: No OFD packet to send [01:34:52]OFD Sender: No OFD packet to send [01:34:57]OFD Sender: No OFD packet to send [01:35:02]OFD Sender: No OFD packet to send [01:35:07]OFD Sender: No OFD packet to send [01:35:12]OFD Sender: No OFD packet to send [01:35:17]OFD Sender: No OFD packet to send [01:35:22]OFD Sender: No OFD packet to send [01:35:27]OFD Sender: No OFD packet to send [01:35:32]OFD Sender: No OFD packet to send [01:35:37]OFD Sender: No OFD packet to send [01:35:42]OFD Sender: No OFD packet to send [01:35:47]OFD Sender: No OFD packet to send [01:35:52]OFD Sender: No OFD packet to send [01:35:57]OFD Sender: No OFD packet to send [01:36:02]OFD Sender: No OFD packet to send [01:36:07]OFD Sender: No OFD packet to send [01:36:12]OFD Sender: No OFD packet to send [01:36:17]OFD Sender: No OFD packet to send [01:36:22]OFD Sender: No OFD packet to send [01:36:27]OFD Sender: No OFD packet to send [01:36:32]OFD Sender: No OFD packet to send [01:36:37]OFD Sender: No OFD packet to send [01:36:42]OFD Sender: No OFD packet to send [01:36:47]OFD Sender: No OFD packet to send [01:36:52]OFD Sender: No OFD packet to send [01:36:57]OFD Sender: No OFD packet to send [01:37:02]OFD Sender: No OFD packet to send [01:37:07]OFD Sender: No OFD packet to send [01:37:12]OFD Sender: No OFD packet to send [01:37:17]OFD Sender: No OFD packet to send [01:37:22]OFD Sender: No OFD packet to send [01:37:27]OFD Sender: No OFD packet to send [01:37:32]OFD Sender: No OFD packet to send [01:37:37]OFD Sender: No OFD packet to send [01:37:42]OFD Sender: No OFD packet to send [01:37:47]OFD Sender: No OFD packet to send [01:37:52]OFD Sender: No OFD packet to send [01:37:57]OFD Sender: No OFD packet to send [01:38:02]OFD Sender: No OFD packet to send [01:38:07]OFD Sender: No OFD packet to send [01:38:12]OFD Sender: No OFD packet to send [01:38:17]OFD Sender: No OFD packet to send [01:38:22]OFD Sender: No OFD packet to send [01:38:27]OFD Sender: No OFD packet to send [01:38:32]OFD Sender: No OFD packet to send [01:38:37]OFD Sender: No OFD packet to send [01:38:42]OFD Sender: No OFD packet to send [01:38:47]OFD Sender: No OFD packet to send [01:38:52]OFD Sender: No OFD packet to send [01:38:57]OFD Sender: No OFD packet to send [01:39:02]OFD Sender: No OFD packet to send [01:39:07]OFD Sender: No OFD packet to send [01:39:12]OFD Sender: No OFD packet to send [01:39:17]OFD Sender: No OFD packet to send [01:39:22]OFD Sender: No OFD packet to send [01:39:27]OFD Sender: No OFD packet to send [01:39:32]OFD Sender: No OFD packet to send [01:39:37]OFD Sender: No OFD packet to send [01:39:42]OFD Sender: No OFD packet to send [01:39:47]OFD Sender: No OFD packet to send [01:39:52]OFD Sender: No OFD packet to send [01:39:57]OFD Sender: No OFD packet to send [01:40:02]OFD Sender: No OFD packet to send [01:40:07]OFD Sender: No OFD packet to send [01:40:12]OFD Sender: No OFD packet to send [01:40:17]OFD Sender: No OFD packet to send [01:40:22]OFD Sender: No OFD packet to send [01:40:27]OFD Sender: No OFD packet to send [01:40:32]OFD Sender: No OFD packet to send [01:40:37]OFD Sender: No OFD packet to send [01:40:42]OFD Sender: No OFD packet to send [01:40:47]OFD Sender: No OFD packet to send [01:40:52]OFD Sender: No OFD packet to send [01:40:57]OFD Sender: No OFD packet to send [01:41:02]OFD Sender: No OFD packet to send [01:41:07]OFD Sender: No OFD packet to send [01:41:12]OFD Sender: No OFD packet to send [01:41:17]OFD Sender: No OFD packet to send [01:41:22]OFD Sender: No OFD packet to send [01:41:27]OFD Sender: No OFD packet to send [01:41:32]OFD Sender: No OFD packet to send [01:41:37]OFD Sender: No OFD packet to send [01:41:42]OFD Sender: No OFD packet to send [01:41:47]OFD Sender: No OFD packet to send [01:41:52]OFD Sender: No OFD packet to send [01:41:57]OFD Sender: No OFD packet to send [01:42:02]OFD Sender: No OFD packet to send [01:42:07]OFD Sender: No OFD packet to send [01:42:12]OFD Sender: No OFD packet to send [01:42:17]OFD Sender: No OFD packet to send [01:42:22]OFD Sender: No OFD packet to send [01:42:27]OFD Sender: No OFD packet to send [01:42:32]OFD Sender: No OFD packet to send [01:42:37]OFD Sender: No OFD packet to send [01:42:42]OFD Sender: No OFD packet to send [01:42:47]OFD Sender: No OFD packet to send [01:42:52]OFD Sender: No OFD packet to send [01:42:57]OFD Sender: No OFD packet to send [01:43:02]OFD Sender: No OFD packet to send [01:43:07]OFD Sender: No OFD packet to send [01:43:12]OFD Sender: No OFD packet to send [01:43:17]OFD Sender: No OFD packet to send [01:43:22]OFD Sender: No OFD packet to send [01:43:27]OFD Sender: No OFD packet to send [01:43:32]OFD Sender: No OFD packet to send [01:43:37]OFD Sender: No OFD packet to send [01:43:42]OFD Sender: No OFD packet to send [01:43:47]OFD Sender: No OFD packet to send [01:43:52]OFD Sender: No OFD packet to send [01:43:57]OFD Sender: No OFD packet to send [01:44:02]OFD Sender: No OFD packet to send [01:44:07]OFD Sender: No OFD packet to send [01:44:12]OFD Sender: No OFD packet to send [01:44:17]OFD Sender: No OFD packet to send [01:44:22]OFD Sender: No OFD packet to send [01:44:27]OFD Sender: No OFD packet to send [01:44:33]OFD Sender: No OFD packet to send [01:44:38]OFD Sender: No OFD packet to send [01:44:43]OFD Sender: No OFD packet to send [01:44:48]OFD Sender: No OFD packet to send [01:44:53]OFD Sender: No OFD packet to send [01:44:58]OFD Sender: No OFD packet to send [01:45:03]OFD Sender: No OFD packet to send [01:45:08]OFD Sender: No OFD packet to send [01:45:13]OFD Sender: No OFD packet to send [01:45:18]OFD Sender: No OFD packet to send [01:45:23]OFD Sender: No OFD packet to send [01:45:28]OFD Sender: No OFD packet to send [01:45:33]OFD Sender: No OFD packet to send [01:45:38]OFD Sender: No OFD packet to send [01:45:43]OFD Sender: No OFD packet to send [01:45:48]OFD Sender: No OFD packet to send [01:45:53]OFD Sender: No OFD packet to send [01:45:58]OFD Sender: No OFD packet to send [01:46:03]OFD Sender: No OFD packet to send [01:46:08]OFD Sender: No OFD packet to send [01:46:13]OFD Sender: No OFD packet to send [01:46:18]OFD Sender: No OFD packet to send [01:46:23]OFD Sender: No OFD packet to send [01:46:28]OFD Sender: No OFD packet to send [01:46:33]OFD Sender: No OFD packet to send [01:46:38]OFD Sender: No OFD packet to send [01:46:43]OFD Sender: No OFD packet to send [01:46:48]OFD Sender: No OFD packet to send [01:46:53]OFD Sender: No OFD packet to send [01:46:58]OFD Sender: No OFD packet to send [01:47:03]OFD Sender: No OFD packet to send [01:47:08]OFD Sender: No OFD packet to send [01:47:13]OFD Sender: No OFD packet to send [01:47:18]OFD Sender: No OFD packet to send [01:47:23]OFD Sender: No OFD packet to send [01:47:28]OFD Sender: No OFD packet to send [01:47:33]OFD Sender: No OFD packet to send [01:47:38]OFD Sender: No OFD packet to send [01:47:43]OFD Sender: No OFD packet to send [01:47:48]OFD Sender: No OFD packet to send [01:47:53]OFD Sender: No OFD packet to send [01:47:58]OFD Sender: No OFD packet to send [01:48:03]OFD Sender: No OFD packet to send [01:48:08]OFD Sender: No OFD packet to send [01:48:13]OFD Sender: No OFD packet to send [01:48:18]OFD Sender: No OFD packet to send [01:48:23]OFD Sender: No OFD packet to send [01:48:28]OFD Sender: No OFD packet to send [01:48:33]OFD Sender: No OFD packet to send [01:48:38]OFD Sender: No OFD packet to send [01:48:43]OFD Sender: No OFD packet to send [01:48:48]OFD Sender: No OFD packet to send [01:48:53]OFD Sender: No OFD packet to send [01:48:55]accept exits with 9 [01:48:55]New connection [01:48:55]New thread 3066695012 created [01:48:55]Thread 3066551652 joined [01:48:55]Waiting for new connection... [01:48:55] Sock 9.Parse request [01:48:55]Sock 9.Check first char [01:48:55]Sock 9.First char is OK [01:48:55]request: POST /json_proto HTTP/1.0 [01:48:55]Method: POST [01:48:55]URL: /json_proto [01:48:55]Method is POST - this is cgi request [01:48:55]url: /json_proto [01:48:55]query_string will be loaded in cgi processing [01:48:55]execute_cgi json_proto POST (null) [01:48:55]execute_cgi path=json_proto method=POST [01:48:55]POST find Content-Length [01:48:55]Host: 172.17.62.196:8080 [01:48:55]Content-Length: 1695 [01:48:55]Content-Type: application/json [01:48:55] [01:48:55]POST finish read [01:48:55]Found Content-Length = 1695 [01:48:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16934", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46146632", "name": "\u0420/\u0436 Orbit XXL \u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430,\u0431\u0430\u043D\u0430\u043D 20,4\u0433", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 345.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:48:55]execute_script... [01:48:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16934", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46146632", "name": "\u0420/\u0436 Orbit XXL \u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430,\u0431\u0430\u043D\u0430\u043D 20,4\u0433", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 345.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:48:55]POST & json_proto [01:48:55]process_json_proto [01:48:55]json parsed OK: [01:48:55]protocol is kg_v1.0 [01:48:55]action value=close_receipt [01:48:55]process_action close_receipt [01:48:55]cmd_close_receipt [01:48:55]MH_GetDate [01:48:55]Write to MH i2c: F0 00 00 E5 04 D8 [01:48:55]Write i2c OK [01:48:55]MH_I2C_Read... [01:48:55]Read from MH i2c: F0 [01:48:55]MH_I2C_Read... [01:48:55]Read from MH i2c: F0 09 00 [01:48:55]MH_I2C_Read... [01:48:55]Read from MH i2c: F0 09 00 E5 04 00 89 BD F4 66 CE CC 0E 66 8F [01:48:55]GetLastDocTimeStamp 1727311579 [01:48:55]current date 1727315337 [01:48:55]FM_GetShiftState [01:48:55]SAM_PROTO_GetShiftState [01:48:55]wFMCommunicate request_size=4 [01:48:55]MH_SAM_APDU [01:48:55]CAPDU: 80 13 01 00 [01:48:55]Write to MH i2c: E2 08 00 E6 04 80 13 01 00 00 00 00 00 67 [01:48:55]Write i2c OK [01:48:55]MH_I2C_Read... [01:48:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:48:55]Read from MH i2c: E2 [01:48:55]MH_I2C_Read... [01:48:55]Read from MH i2c: E2 0E 00 [01:48:55]MH_I2C_Read... [01:48:55]Read from MH i2c: E2 0E 00 E6 04 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 CC [01:48:55]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [01:48:55]wFMCommunicate OK [01:48:55]SAM_PROTO_GetShiftState done [01:48:55]FM_GetShiftState done [01:48:55]opened in 1727309656 [01:48:55]opened+sec_in_day 1727396056 [01:48:55]quantity*price = 5000 [01:48:55]sum+1 = 5001 [01:48:55]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870112002775 Шок батончик ALBENI BITES 80гр 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46146632 Р/ж Orbit XXL клубника,банан 20,4г 1.000 * 55.00 = 55.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036190018 Кофе Американо XL(GABB TRADE) 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 345.00 НСП 1% : 3.05 НДС 12% : 36.63 Наличными: 345.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 3 26.09.2024 01:48 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19014 ФПД: 35524787170615 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T014857&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19014&fm=35524787170615&tin=02508201610067®Number=0000000000152968&sum=34500 0 [01:48:56]StoreToDocumentArchive [01:48:56]shift 184 fd 19014 [01:48:56]save to /storage/0184/doc_00019014 [01:48:56]save last doc name /storage/0184/doc_00019014 to /storage/kkm_last_doc_name [01:48:56]save OK [01:48:56]Clear old archive folders... [01:48:56]ProcessDocumentItem done err = 0, tmpTLVsize=716 [01:48:56]tlvbuf is 01D50FD0 [01:48:56]SAM_PROTO_ClearQueue [01:48:56]wFMCommunicate request_size=4 [01:48:56]MH_SAM_APDU [01:48:56]CAPDU: 80 09 00 00 [01:48:56]Write to MH i2c: E2 08 00 F3 04 80 09 00 00 00 00 00 00 69 [01:48:56]Write i2c OK [01:48:56]MH_I2C_Read... [01:48:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:48:56]Read from MH i2c: E2 [01:48:56]MH_I2C_Read... [01:48:56]Read from MH i2c: E2 03 00 [01:48:56]MH_I2C_Read... [01:48:56]Read from MH i2c: E2 03 00 F3 04 00 90 00 6B [01:48:56]RAPDU: 90 00 [01:48:56]wFMCommunicate OK [01:48:56]SAM_PROTO_ClearQueue done [01:48:56]KKMCreateOFDPacket [01:48:56]OFDProtocolAddRootSTLVToBuf [01:48:56]FM_MakeSignedData [01:48:56]FM_MakeSignedData [01:48:56]SAM_PROTO_SignData [01:48:56]wFMCommunicate request_size=4 [01:48:56]MH_SAM_APDU [01:48:56]CAPDU: 80 0D 01 02 [01:48:56]Write to MH i2c: E2 08 00 F4 04 80 0D 01 02 00 00 00 00 71 [01:48:56]Write i2c OK [01:48:56]MH_I2C_Read... [01:48:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:48:57]Read from MH i2c: E2 [01:48:57]MH_I2C_Read... [01:48:57]Read from MH i2c: E2 03 00 [01:48:57]MH_I2C_Read... [01:48:57]Read from MH i2c: E2 03 00 F4 04 00 90 00 6C [01:48:57]RAPDU: 90 00 [01:48:57]wFMCommunicate OK [01:48:57]wFMCommunicate request_size=255 [01:48:57]MH_SAM_APDU [01:48:57]CAPDU: 80 0D 02 02 FA 03 00 CC 02 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 [01:48:57]Write to MH i2c: E2 02 01 F5 04 80 0D 02 02 FA 00 03 00 CC 02 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 00 00 63 [01:48:57]Write i2c OK [01:48:57]MH_I2C_Read... [01:48:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:48:57]Read from MH i2c: E2 [01:48:57]MH_I2C_Read... [01:48:57]Read from MH i2c: E2 03 00 [01:48:57]MH_I2C_Read... [01:48:57]Read from MH i2c: E2 03 00 F5 04 00 90 00 6D [01:48:57]RAPDU: 90 00 [01:48:57]wFMCommunicate OK [01:48:57]wFMCommunicate request_size=255 [01:48:57]MH_SAM_APDU [01:48:57]CAPDU: 80 0D 02 02 FA BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 31 34 36 36 33 32 06 04 32 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 2C D0 B1 D0 B0 D0 BD D0 B0 D0 BD 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 [01:48:57]Write to MH i2c: E2 02 01 F6 04 80 0D 02 02 FA 00 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 31 34 36 36 33 32 06 04 32 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 2C D0 B1 D0 B0 D0 BD D0 B0 D0 BD 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 00 00 1F [01:48:57]Write i2c OK [01:48:57]MH_I2C_Read... [01:48:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:48:57]Read from MH i2c: E2 [01:48:57]MH_I2C_Read... [01:48:57]Read from MH i2c: E2 03 00 [01:48:57]MH_I2C_Read... [01:48:57]Read from MH i2c: E2 03 00 F6 04 00 90 00 6E [01:48:57]RAPDU: 90 00 [01:48:57]wFMCommunicate OK [01:48:57]wFMCommunicate request_size=225 [01:48:57]MH_SAM_APDU [01:48:57]CAPDU: 80 0D 02 02 DC 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 89 BD F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 46 4A 00 00 35 04 06 00 20 4F 42 51 ED 37 [01:48:57]Write to MH i2c: E2 E4 00 F7 04 80 0D 02 02 DC 00 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 89 BD F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 46 4A 00 00 35 04 06 00 20 4F 42 51 ED 37 00 00 BC [01:48:57]Write i2c OK [01:48:57]MH_I2C_Read... [01:48:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:48:57]Read from MH i2c: E2 [01:48:57]MH_I2C_Read... [01:48:57]Read from MH i2c: E2 03 00 [01:48:57]MH_I2C_Read... [01:48:57]Read from MH i2c: E2 03 00 F7 04 00 90 00 6F [01:48:57]RAPDU: 90 00 [01:48:57]wFMCommunicate OK [01:48:57]wFMCommunicate request_size=4 [01:48:57]MH_SAM_APDU [01:48:57]CAPDU: 80 0D 03 02 [01:48:57]Write to MH i2c: E2 08 00 F8 04 80 0D 03 02 00 00 00 00 77 [01:48:57]Write i2c OK [01:48:57]MH_I2C_Read... [01:48:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:48:57]Read from MH i2c: E2 [01:48:57]MH_I2C_Read... [01:48:57]Read from MH i2c: E2 0B 00 [01:48:57]MH_I2C_Read... [01:48:57]Read from MH i2c: E2 0B 00 F8 04 00 31 50 6A D3 A4 79 4A 0C 90 00 A9 [01:48:57]RAPDU: 31 50 6A D3 A4 79 4A 0C 90 00 [01:48:57]wFMCommunicate OK [01:48:57]SAM_PROTO_SignData done [01:48:57]FM_MakeSignedData done [01:48:57]CreateOFDProtocolMessage [01:48:57]wFMCommunicate request_size=4 [01:48:57]MH_SAM_APDU [01:48:57]CAPDU: 80 11 00 00 [01:48:57]Write to MH i2c: E2 08 00 F9 04 80 11 00 00 00 00 00 00 77 [01:48:57]Write i2c OK [01:48:57]MH_I2C_Read... [01:48:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:48:57]Read from MH i2c: E2 [01:48:57]MH_I2C_Read... [01:48:57]Read from MH i2c: E2 17 00 [01:48:57]MH_I2C_Read... [01:48:57]Read from MH i2c: E2 17 00 F9 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 D0 [01:48:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [01:48:57]wFMCommunicate OK [01:48:57]CreateOFDProtocolMessage done [01:48:57]OFDSenderStorePacket 19014 [01:48:57]StoreOFDPacket docnum=19014 [01:48:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 E0 02 00 00 A0 B1 D8 02 87 98 5A 03 01 00 03 00 CC 02 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 31 34 36 36 33 32 06 04 32 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 2C D0 B1 D0 B0 D0 BD D0 B0 D0 BD 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 89 BD F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 46 4A 00 00 35 04 06 00 20 4F 42 51 ED 37 31 50 6A D3 A4 79 4A 0C [01:48:58]CheckFolder [01:48:58]dirname=/storage/ofd_packets [01:48:58]CheckFolder done [01:48:58]ProducePacketName [01:48:58]name=ofd_packets/00019014 [01:48:58]NVStorageSaveData ofd_packets/00019014 [01:48:58]File name is /storage/ofd_packets/00019014 [01:48:58]Write 766 bytes [01:48:58]NVStorageSaveData done [01:48:58]OFDSenderStorePacket done [01:48:58]KKMCreateOFDPacket done [01:48:58]NVStorageSaveData kkm_last_timestamp [01:48:58]File name is /storage/kkm_last_timestamp [01:48:58]Write 4 bytes [01:48:58]NVStorageSaveData done [01:48:58]ExternCall_PrintAddStr [01:48:58]wPrintStart [01:48:58]Write to MH i2c: 01 00 00 FA 04 FE [01:48:58]OFD Sender: No OFD packet to send [01:48:58]Write i2c OK [01:48:58]MH_I2C_Read... [01:48:58]Read from MH i2c: 01 [01:48:58]MH_I2C_Read... [01:48:58]Read from MH i2c: 01 07 00 [01:48:58]MH_I2C_Read... [01:48:58]Read from MH i2c: 01 07 00 FA 04 00 00 00 00 00 FF 0F 13 [01:48:58]RasterBufferAndPrint [01:48:58]line Счет N : (3)16934 [01:48:58]line ИНН: 02508201610067 [01:48:58]line Контрольно-Кассовый Чек [01:48:58]line ПРОДАЖА [01:48:58]line Товар: 4700000160358 [01:48:58]line Вода Легенда 1л [01:48:58]line 1.000 * 50.00 [01:48:58]line = 50.00 [01:48:58]line НДС 12% НСП 1% [01:48:58]line > о реализуемом товаре [01:48:58]line Товар: 4700000160211 [01:48:58]line Вода Легенда 0,5л [01:48:58]line 1.000 * 40.00 [01:48:58]line = 40.00 [01:48:58]line НДС 12% НСП 1% [01:48:58]line > о реализуемом товаре [01:48:58]line Товар: 4870112002775 [01:48:58]line Шок батончик ALBENI BITES 80гр [01:48:58]line 1.000 * 75.00 [01:48:58]line = 75.00 [01:48:58]line НДС 12% НСП 1% [01:48:58]line > о реализуемом товаре [01:48:58]line Товар: 46146632 [01:48:58]line Р/ж Orbit XXL клубника,банан 20,4г [01:48:58]line 1.000 * 55.00 [01:48:58]line = 55.00 [01:48:58]line НДС 12% НСП 1% [01:48:58]line > о реализуемом товаре [01:48:58]line Товар: 2000036190018 [01:48:58]line Кофе Американо XL(GABB TRADE) [01:48:58]line 1.000 * 125.00 [01:48:58]line = 125.00 [01:48:58]line НДС 12% НСП 1% [01:48:58]line > о реализуемом товаре [01:48:58]line ИТОГО: 345.00 [01:48:58]line НСП 1% : 3.05 [01:48:58]line НДС 12% : 36.63 [01:48:58]line Наличными: 345.00 [01:48:58]line Безнал.: 0.00 [01:48:58]line Место: АЗС № 176 "Партнер Нефть" [01:48:58]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [01:48:58]line СНО: Общий режим [01:48:58]line Чек 3 26.09.2024 01:48 [01:48:58]line Смена: 184 ФФД: 1.0 [01:48:58]line ЗНМ: 0300000010 [01:48:58]line РНМ: 0000000000152968 [01:48:58]line Версия ККМ: v1.0 [01:48:58]line ФМ: 0000000000959456 [01:48:58]line ФД: 19014 [01:48:58]line ФПД: 35524787170615 [01:48:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T014857&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19014&fm=35524787170615&tin=02508201610067®Number=0000000000152968&sum=34500 [01:48:58]line 0 [01:48:58]written 0, free lines is 4095 [01:48:58]OFD Sender: Processing packet 19014 [packets to send 7, broken 6] [01:48:58]ProducePacketName [01:48:58]name=ofd_packets/00019014 [01:48:58]OFD Sender: To server: pG, [01:48:58]CommunicateWithHost lk.salyk.kg:30040 [01:48:58]ConnectInit lk.salyk.kg [01:48:58]Connected sock=10 [01:48:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 E0 02 00 00 A0 B1 D8 02 87 98 5A 03 01 00 03 00 CC 02 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 31 34 36 36 33 32 06 04 32 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 2C D0 B1 D0 B0 D0 BD D0 B0 D0 BD 20 32 30 2C 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 89 BD F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 46 4A 00 00 35 04 06 00 20 4F 42 51 ED 37 31 50 6A D3 A4 79 4A 0C [01:48:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 0A 07 47 00 52 DC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 46 4A 00 00 F4 03 04 00 E5 66 F4 66 B6 04 01 00 00 FB DA C5 01 DA 6A EB 54 [01:48:58]CommunicateWithHost err = 0 [01:48:58]CheckOFDResponse [01:48:58]1017 (14) - 77093643461234 [01:48:58]1041 (16) - 0000000000959456 [01:48:58]1040 (4) - 19014 [01:48:58]1012 (4) - 25.09.2024 19:39 [01:48:58]1206 (1) - 0 [01:48:58]OFD Sender: Remove packet 19014 [01:48:58]ProducePacketName [01:48:58]name=ofd_packets/00019014 [01:48:58]NVStorageDeleteData [01:48:58]Write to MH i2c: 01 00 00 3D 05 42 [01:48:58]Write i2c OK [01:48:58]MH_I2C_Read... [01:48:58]Read from MH i2c: 01 [01:48:58]MH_I2C_Read... [01:48:58]Read from MH i2c: 01 07 00 [01:48:58]MH_I2C_Read... [01:48:58]Read from MH i2c: 01 07 00 3D 05 00 00 00 00 00 A0 0B F4 [01:48:58]RasterBufferAndPrint [01:48:58]line [01:48:58]line [01:48:58]line [01:48:58]line [01:48:58]line [01:48:58]written 0, free lines is 2986 [01:48:58]MH_Cut [01:48:58]Write to MH i2c: D1 01 00 44 05 01 1B [01:48:58]Write i2c OK [01:48:58]MH_I2C_Read... [01:48:58]Read from MH i2c: D1 [01:48:58]MH_I2C_Read... [01:48:58]Read from MH i2c: D1 01 00 [01:48:58]MH_I2C_Read... [01:48:58]Read from MH i2c: D1 01 00 44 05 00 1A [01:48:59]Write to MH i2c: 01 00 00 45 05 4A [01:48:59]Write i2c OK [01:48:59]MH_I2C_Read... [01:48:59]OFD Sender: No OFD packet to send [01:48:59]*** Cut start [01:48:59]*** Partial cut [01:48:59]*** CUTSNS_PIN = 1 [01:48:59]*** CUTSNS_PIN = 0 [01:49:00]*** Brake cut motor [01:49:00]Read from MH i2c: 01 [01:49:00]MH_I2C_Read... [01:49:00]*** Stop cut motor [01:49:00]*** Cut end [01:49:00]Read from MH i2c: 01 07 00 [01:49:00]MH_I2C_Read... [01:49:00]Read from MH i2c: 01 07 00 45 05 00 00 00 00 00 FF 0F 5F [01:49:00]process_action close_receipt done [01:49:00]requested_data is exist [01:49:00]produce_requested_data [01:49:00]requested_item fm.sn is exist - process it [01:49:00]wFMCommunicate request_size=4 [01:49:00]MH_SAM_APDU [01:49:00]CAPDU: 80 11 00 00 [01:49:00]Write to MH i2c: E2 08 00 46 05 80 11 00 00 00 00 00 00 C5 [01:49:00]Write i2c OK [01:49:00]MH_I2C_Read... [01:49:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:49:00]Read from MH i2c: E2 [01:49:00]MH_I2C_Read... [01:49:00]Read from MH i2c: E2 17 00 [01:49:00]MH_I2C_Read... [01:49:00]Read from MH i2c: E2 17 00 46 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 1E [01:49:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [01:49:00]wFMCommunicate OK [01:49:00]requested_item fd.num is exist - process it [01:49:00]SAM_PROTO_GetFieldsCounters [01:49:00]wFMCommunicate request_size=4 [01:49:00]MH_SAM_APDU [01:49:00]CAPDU: 80 13 00 00 [01:49:00]Write to MH i2c: E2 08 00 47 05 80 13 00 00 00 00 00 00 C8 [01:49:00]Write i2c OK [01:49:00]MH_I2C_Read... [01:49:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:49:00]Read from MH i2c: E2 [01:49:00]MH_I2C_Read... [01:49:00]Read from MH i2c: E2 62 00 [01:49:00]MH_I2C_Read... [01:49:00]Read from MH i2c: E2 62 00 47 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 46 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 46 [01:49:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 46 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:49:00]wFMCommunicate OK [01:49:00]SAM_PROTO_GetFieldsCounters done [01:49:00]requested_item shift.num is exist - process it [01:49:00]requested_item shift.opened is exist - process it [01:49:00]req_shift_opened [01:49:00]FM_GetShiftState [01:49:00]SAM_PROTO_GetShiftState [01:49:00]wFMCommunicate request_size=4 [01:49:00]MH_SAM_APDU [01:49:00]CAPDU: 80 13 01 00 [01:49:00]Write to MH i2c: E2 08 00 48 05 80 13 01 00 00 00 00 00 CA [01:49:00]Write i2c OK [01:49:00]MH_I2C_Read... [01:49:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:49:00]Read from MH i2c: E2 [01:49:00]MH_I2C_Read... [01:49:00]Read from MH i2c: E2 0E 00 [01:49:00]MH_I2C_Read... [01:49:00]Read from MH i2c: E2 0E 00 48 05 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 2F [01:49:00]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [01:49:00]wFMCommunicate OK [01:49:00]SAM_PROTO_GetShiftState done [01:49:00]FM_GetShiftState done [01:49:00]req_shift_opened done [01:49:00]requested_item shift.open_date is exist - process it [01:49:00]req_shift_open_date [01:49:00]req_shift_open_date done [01:49:00]produce_requested_data done [01:49:00]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19014,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [01:49:00]process_action_free close_receipt [01:49:00]json_value_free [01:49:00]json_value_free done [01:49:00]process_json_proto returns [01:49:00]Send response to host [01:49:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19014,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [01:49:00]free response buf [01:49:00]execute_script done [01:49:00]execute_script returns [01:49:00]free content buf [01:49:00]Sock 9.Close socket [01:49:00]Sock 9.Thread stoped [01:49:04]OFD Sender: No OFD packet to send [01:49:09]OFD Sender: No OFD packet to send [01:49:14]OFD Sender: No OFD packet to send [01:49:19]OFD Sender: No OFD packet to send [01:49:24]OFD Sender: No OFD packet to send [01:49:29]OFD Sender: No OFD packet to send [01:49:34]OFD Sender: No OFD packet to send [01:49:39]OFD Sender: No OFD packet to send [01:49:44]OFD Sender: No OFD packet to send [01:49:49]OFD Sender: No OFD packet to send [01:49:54]OFD Sender: No OFD packet to send [01:49:59]OFD Sender: No OFD packet to send [01:50:04]OFD Sender: No OFD packet to send [01:50:09]OFD Sender: No OFD packet to send [01:50:14]OFD Sender: No OFD packet to send [01:50:19]OFD Sender: No OFD packet to send [01:50:24]OFD Sender: No OFD packet to send [01:50:29]OFD Sender: No OFD packet to send [01:50:34]OFD Sender: No OFD packet to send [01:50:39]OFD Sender: No OFD packet to send [01:50:44]OFD Sender: No OFD packet to send [01:50:49]OFD Sender: No OFD packet to send [01:50:54]OFD Sender: No OFD packet to send [01:50:59]OFD Sender: No OFD packet to send [01:51:04]OFD Sender: No OFD packet to send [01:51:09]OFD Sender: No OFD packet to send [01:51:14]OFD Sender: No OFD packet to send [01:51:19]OFD Sender: No OFD packet to send [01:51:24]OFD Sender: No OFD packet to send [01:51:29]OFD Sender: No OFD packet to send [01:51:34]OFD Sender: No OFD packet to send [01:51:39]OFD Sender: No OFD packet to send [01:51:44]OFD Sender: No OFD packet to send [01:51:49]OFD Sender: No OFD packet to send [01:51:54]OFD Sender: No OFD packet to send [01:51:59]OFD Sender: No OFD packet to send [01:52:04]OFD Sender: No OFD packet to send [01:52:09]OFD Sender: No OFD packet to send [01:52:14]OFD Sender: No OFD packet to send [01:52:19]OFD Sender: No OFD packet to send [01:52:24]OFD Sender: No OFD packet to send [01:52:29]OFD Sender: No OFD packet to send [01:52:34]OFD Sender: No OFD packet to send [01:52:39]OFD Sender: No OFD packet to send [01:52:44]OFD Sender: No OFD packet to send [01:52:49]OFD Sender: No OFD packet to send [01:52:54]OFD Sender: No OFD packet to send [01:52:59]OFD Sender: No OFD packet to send [01:53:04]OFD Sender: No OFD packet to send [01:53:09]OFD Sender: No OFD packet to send [01:53:14]OFD Sender: No OFD packet to send [01:53:19]OFD Sender: No OFD packet to send [01:53:24]OFD Sender: No OFD packet to send [01:53:29]OFD Sender: No OFD packet to send [01:53:34]OFD Sender: No OFD packet to send [01:53:39]OFD Sender: No OFD packet to send [01:53:44]OFD Sender: No OFD packet to send [01:53:49]OFD Sender: No OFD packet to send [01:53:54]OFD Sender: No OFD packet to send [01:53:59]OFD Sender: No OFD packet to send [01:54:04]OFD Sender: No OFD packet to send [01:54:09]OFD Sender: No OFD packet to send [01:54:14]OFD Sender: No OFD packet to send [01:54:19]OFD Sender: No OFD packet to send [01:54:24]OFD Sender: No OFD packet to send [01:54:29]OFD Sender: No OFD packet to send [01:54:34]OFD Sender: No OFD packet to send [01:54:39]OFD Sender: No OFD packet to send [01:54:44]OFD Sender: No OFD packet to send [01:54:49]OFD Sender: No OFD packet to send [01:54:54]OFD Sender: No OFD packet to send [01:54:59]OFD Sender: No OFD packet to send [01:55:04]OFD Sender: No OFD packet to send [01:55:09]OFD Sender: No OFD packet to send [01:55:14]OFD Sender: No OFD packet to send [01:55:19]OFD Sender: No OFD packet to send [01:55:24]OFD Sender: No OFD packet to send [01:55:29]OFD Sender: No OFD packet to send [01:55:34]OFD Sender: No OFD packet to send [01:55:39]OFD Sender: No OFD packet to send [01:55:44]OFD Sender: No OFD packet to send [01:55:49]OFD Sender: No OFD packet to send [01:55:54]OFD Sender: No OFD packet to send [01:55:59]OFD Sender: No OFD packet to send [01:56:04]OFD Sender: No OFD packet to send [01:56:09]OFD Sender: No OFD packet to send [01:56:14]OFD Sender: No OFD packet to send [01:56:19]OFD Sender: No OFD packet to send [01:56:24]OFD Sender: No OFD packet to send [01:56:29]OFD Sender: No OFD packet to send [01:56:34]OFD Sender: No OFD packet to send [01:56:39]OFD Sender: No OFD packet to send [01:56:44]OFD Sender: No OFD packet to send [01:56:49]accept exits with 7 [01:56:49]New connection [01:56:49]New thread 3066551652 created [01:56:49]Thread 3066695012 joined [01:56:49]Waiting for new connection... [01:56:49] Sock 7.Parse request [01:56:49]Sock 7.Check first char [01:56:49]Sock 7.First char is OK [01:56:49]request: POST /json_proto HTTP/1.0 [01:56:49]Method: POST [01:56:49]URL: /json_proto [01:56:49]Method is POST - this is cgi request [01:56:49]url: /json_proto [01:56:49]query_string will be loaded in cgi processing [01:56:49]execute_cgi json_proto POST (null) [01:56:49]execute_cgi path=json_proto method=POST [01:56:49]POST find Content-Length [01:56:49]Host: 172.17.62.196:8080 [01:56:49]Content-Length: 621 [01:56:49]Content-Type: application/json [01:56:49] [01:56:49]POST finish read [01:56:49]Found Content-Length = 621 [01:56:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16935", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 156.00, "quantity" : 1.000, "sum" : 156.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 156.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:56:49]execute_script... [01:56:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16935", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 156.00, "quantity" : 1.000, "sum" : 156.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 156.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:56:49]POST & json_proto [01:56:49]process_json_proto [01:56:49]json parsed OK: [01:56:49]protocol is kg_v1.0 [01:56:49]action value=close_receipt [01:56:49]process_action close_receipt [01:56:49]cmd_close_receipt [01:56:49]MH_GetDate [01:56:49]Write to MH i2c: F0 00 00 49 05 3D [01:56:49]Write i2c OK [01:56:49]MH_I2C_Read... [01:56:49]Read from MH i2c: F0 [01:56:49]MH_I2C_Read... [01:56:49]Read from MH i2c: F0 09 00 [01:56:49]MH_I2C_Read... [01:56:49]Read from MH i2c: F0 09 00 49 05 00 63 BF F4 66 CE CC 0E 66 D0 [01:56:49]GetLastDocTimeStamp 1727315337 [01:56:49]current date 1727315811 [01:56:49]FM_GetShiftState [01:56:49]SAM_PROTO_GetShiftState [01:56:49]wFMCommunicate request_size=4 [01:56:49]MH_SAM_APDU [01:56:49]CAPDU: 80 13 01 00 [01:56:49]Write to MH i2c: E2 08 00 4A 05 80 13 01 00 00 00 00 00 CC [01:56:49]Write i2c OK [01:56:49]MH_I2C_Read... [01:56:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:56:49]Read from MH i2c: E2 [01:56:49]MH_I2C_Read... [01:56:49]Read from MH i2c: E2 0E 00 [01:56:49]MH_I2C_Read... [01:56:49]Read from MH i2c: E2 0E 00 4A 05 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 31 [01:56:49]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [01:56:49]wFMCommunicate OK [01:56:49]SAM_PROTO_GetShiftState done [01:56:49]FM_GetShiftState done [01:56:49]opened in 1727309656 [01:56:49]opened+sec_in_day 1727396056 [01:56:49]quantity*price = 15600 [01:56:49]sum+1 = 15601 [01:56:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 156.00 НСП 1% : 1.38 НДС 12% : 16.57 Наличными: 156.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 4 26.09.2024 01:56 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19015 ФПД: 214135245233876 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T015651&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19015&fm=214135245233876&tin=02508201610067®Number=0000000000152968&sum=15600 0 [01:56:50]StoreToDocumentArchive [01:56:50]shift 184 fd 19015 [01:56:50]save to /storage/0184/doc_00019015 [01:56:50]save last doc name /storage/0184/doc_00019015 to /storage/kkm_last_doc_name [01:56:50]save OK [01:56:50]Clear old archive folders... [01:56:50]ProcessDocumentItem done err = 0, tmpTLVsize=274 [01:56:50]tlvbuf is 01D9C3D0 [01:56:50]SAM_PROTO_ClearQueue [01:56:50]wFMCommunicate request_size=4 [01:56:50]MH_SAM_APDU [01:56:50]CAPDU: 80 09 00 00 [01:56:50]Write to MH i2c: E2 08 00 57 05 80 09 00 00 00 00 00 00 CE [01:56:50]Write i2c OK [01:56:50]MH_I2C_Read... [01:56:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:56:50]Read from MH i2c: E2 [01:56:50]MH_I2C_Read... [01:56:50]Read from MH i2c: E2 03 00 [01:56:50]MH_I2C_Read... [01:56:50]Read from MH i2c: E2 03 00 57 05 00 90 00 D0 [01:56:50]RAPDU: 90 00 [01:56:50]wFMCommunicate OK [01:56:50]SAM_PROTO_ClearQueue done [01:56:50]KKMCreateOFDPacket [01:56:50]OFDProtocolAddRootSTLVToBuf [01:56:50]FM_MakeSignedData [01:56:50]FM_MakeSignedData [01:56:50]SAM_PROTO_SignData [01:56:50]wFMCommunicate request_size=4 [01:56:50]MH_SAM_APDU [01:56:50]CAPDU: 80 0D 01 02 [01:56:50]Write to MH i2c: E2 08 00 58 05 80 0D 01 02 00 00 00 00 D6 [01:56:50]Write i2c OK [01:56:50]MH_I2C_Read... [01:56:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:56:50]Read from MH i2c: E2 [01:56:50]MH_I2C_Read... [01:56:50]Read from MH i2c: E2 03 00 [01:56:50]MH_I2C_Read... [01:56:50]Read from MH i2c: E2 03 00 58 05 00 90 00 D1 [01:56:50]RAPDU: 90 00 [01:56:50]wFMCommunicate OK [01:56:50]wFMCommunicate request_size=255 [01:56:50]MH_SAM_APDU [01:56:50]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 06 00 00 00 00 07 04 06 00 F0 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 63 BF F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 [01:56:50]Write to MH i2c: E2 02 01 59 05 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 06 00 00 00 00 07 04 06 00 F0 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 63 BF F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 00 00 EF [01:56:50]Write i2c OK [01:56:50]MH_I2C_Read... [01:56:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:56:51]Read from MH i2c: E2 [01:56:51]MH_I2C_Read... [01:56:51]Read from MH i2c: E2 03 00 [01:56:51]MH_I2C_Read... [01:56:51]Read from MH i2c: E2 03 00 59 05 00 90 00 D2 [01:56:51]RAPDU: 90 00 [01:56:51]wFMCommunicate OK [01:56:51]wFMCommunicate request_size=33 [01:56:51]MH_SAM_APDU [01:56:51]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 34 35 36 10 04 04 00 47 4A 00 00 35 04 06 00 C2 C1 3F 39 DE D4 [01:56:51]Write to MH i2c: E2 24 00 5A 05 80 0D 02 02 1C 00 30 30 30 30 39 35 39 34 35 36 10 04 04 00 47 4A 00 00 35 04 06 00 C2 C1 3F 39 DE D4 00 00 AC [01:56:51]Write i2c OK [01:56:51]MH_I2C_Read... [01:56:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:56:51]Read from MH i2c: E2 [01:56:51]MH_I2C_Read... [01:56:51]Read from MH i2c: E2 03 00 [01:56:51]MH_I2C_Read... [01:56:51]Read from MH i2c: E2 03 00 5A 05 00 90 00 D3 [01:56:51]RAPDU: 90 00 [01:56:51]wFMCommunicate OK [01:56:51]wFMCommunicate request_size=4 [01:56:51]MH_SAM_APDU [01:56:51]CAPDU: 80 0D 03 02 [01:56:51]Write to MH i2c: E2 08 00 5B 05 80 0D 03 02 00 00 00 00 DB [01:56:51]Write i2c OK [01:56:51]MH_I2C_Read... [01:56:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:56:51]Read from MH i2c: E2 [01:56:51]MH_I2C_Read... [01:56:51]Read from MH i2c: E2 0B 00 [01:56:51]MH_I2C_Read... [01:56:51]Read from MH i2c: E2 0B 00 5B 05 00 5D 6E 95 16 6A 1F 65 D7 90 00 17 [01:56:51]RAPDU: 5D 6E 95 16 6A 1F 65 D7 90 00 [01:56:51]wFMCommunicate OK [01:56:51]SAM_PROTO_SignData done [01:56:51]FM_MakeSignedData done [01:56:51]CreateOFDProtocolMessage [01:56:51]wFMCommunicate request_size=4 [01:56:51]MH_SAM_APDU [01:56:51]CAPDU: 80 11 00 00 [01:56:51]Write to MH i2c: E2 08 00 5C 05 80 11 00 00 00 00 00 00 DB [01:56:51]Write i2c OK [01:56:51]MH_I2C_Read... [01:56:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:56:51]Read from MH i2c: E2 [01:56:51]MH_I2C_Read... [01:56:51]Read from MH i2c: E2 17 00 [01:56:51]MH_I2C_Read... [01:56:51]Read from MH i2c: E2 17 00 5C 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 34 [01:56:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [01:56:51]wFMCommunicate OK [01:56:51]CreateOFDProtocolMessage done [01:56:51]OFDSenderStorePacket 19015 [01:56:51]StoreOFDPacket docnum=19015 [01:56:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 1F 02 1E 01 12 85 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 06 00 00 00 00 07 04 06 00 F0 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 63 BF F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 47 4A 00 00 35 04 06 00 C2 C1 3F 39 DE D4 5D 6E 95 16 6A 1F 65 D7 [01:56:51]CheckFolder [01:56:51]dirname=/storage/ofd_packets [01:56:51]CheckFolder done [01:56:51]ProducePacketName [01:56:51]name=ofd_packets/00019015 [01:56:51]NVStorageSaveData ofd_packets/00019015 [01:56:51]File name is /storage/ofd_packets/00019015 [01:56:51]Write 324 bytes [01:56:51]NVStorageSaveData done [01:56:51]OFDSenderStorePacket done [01:56:51]KKMCreateOFDPacket done [01:56:51]NVStorageSaveData kkm_last_timestamp [01:56:51]File name is /storage/kkm_last_timestamp [01:56:51]Write 4 bytes [01:56:51]NVStorageSaveData done [01:56:51]ExternCall_PrintAddStr [01:56:51]wPrintStart [01:56:51]Write to MH i2c: 01 00 00 5D 05 62 [01:56:51]Write i2c OK [01:56:51]MH_I2C_Read... [01:56:51]Read from MH i2c: 01 [01:56:51]MH_I2C_Read... [01:56:51]Read from MH i2c: 01 07 00 [01:56:51]MH_I2C_Read... [01:56:51]Read from MH i2c: 01 07 00 5D 05 00 00 00 00 00 FF 0F 77 [01:56:51]RasterBufferAndPrint [01:56:51]line Счет N : (3)16935 [01:56:51]line ИНН: 02508201610067 [01:56:51]line Контрольно-Кассовый Чек [01:56:51]line ПРОДАЖА [01:56:51]line Товар: 48741958 [01:56:51]line Сигареты Parliament Aqua Blue [01:56:51]line 1.000 * 156.00 [01:56:51]line = 156.00 [01:56:51]line НДС 12% НСП 1% [01:56:51]line > о реализуемом товаре [01:56:51]line ИТОГО: 156.00 [01:56:51]line НСП 1% : 1.38 [01:56:51]line НДС 12% : 16.57 [01:56:51]line Наличными: 156.00 [01:56:51]line Безнал.: 0.00 [01:56:51]line Место: АЗС № 176 "Партнер Нефть" [01:56:51]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [01:56:51]line СНО: Общий режим [01:56:51]line Чек 4 26.09.2024 01:56 [01:56:51]line Смена: 184 ФФД: 1.0 [01:56:51]line ЗНМ: 0300000010 [01:56:51]line РНМ: 0000000000152968 [01:56:51]line Версия ККМ: v1.0 [01:56:51]line ФМ: 0000000000959456 [01:56:51]line ФД: 19015 [01:56:51]line ФПД: 214135245233876 [01:56:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T015651&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19015&fm=214135245233876&tin=02508201610067®Number=0000000000152968&sum=15600 [01:56:51]line 0 [01:56:51]OFD Sender: Processing packet 19015 [packets to send 7, broken 6] [01:56:51]ProducePacketName [01:56:51]name=ofd_packets/00019015 [01:56:51]OFD Sender: To server: pG, [01:56:51]CommunicateWithHost lk.salyk.kg:30040 [01:56:51]ConnectInit lk.salyk.kg [01:56:51]written 0, free lines is 4095 [01:56:51]Connected sock=10 [01:56:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 26 01 00 00 1F 02 1E 01 12 85 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 06 00 00 00 00 07 04 06 00 F0 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 63 BF F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 47 4A 00 00 35 04 06 00 C2 C1 3F 39 DE D4 5D 6E 95 16 6A 1F 65 D7 [01:56:52]Write to MH i2c: 01 00 00 86 05 8B [01:56:52]Write i2c OK [01:56:52]MH_I2C_Read... [01:56:52]Read from MH i2c: 01 [01:56:52]MH_I2C_Read... [01:56:52]Read from MH i2c: 01 07 00 [01:56:52]MH_I2C_Read... [01:56:52]Read from MH i2c: 01 07 00 86 05 00 00 00 00 00 F1 0C 8F [01:56:52]RasterBufferAndPrint [01:56:52]line [01:56:52]line [01:56:52]line [01:56:52]line [01:56:52]line [01:56:52]written 0, free lines is 3319 [01:56:52]MH_Cut [01:56:52]Write to MH i2c: D1 01 00 8D 05 01 64 [01:56:52]Write i2c OK [01:56:52]MH_I2C_Read... [01:56:52]Read from MH i2c: D1 [01:56:52]MH_I2C_Read... [01:56:52]Read from MH i2c: D1 01 00 [01:56:52]MH_I2C_Read... [01:56:52]Read from MH i2c: D1 01 00 8D 05 00 63 [01:56:52]Write to MH i2c: 01 00 00 8E 05 93 [01:56:52]Write i2c OK [01:56:52]MH_I2C_Read... [01:56:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 42 73 47 00 AD A2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 47 4A 00 00 F4 03 04 00 BE 68 F4 66 B6 04 01 00 00 C2 A7 B5 A3 CE 6A E4 D7 [01:56:52]CommunicateWithHost err = 0 [01:56:52]CheckOFDResponse [01:56:52]1017 (14) - 77093643461234 [01:56:52]1041 (16) - 0000000000959456 [01:56:52]1040 (4) - 19015 [01:56:52]1012 (4) - 25.09.2024 19:47 [01:56:52]1206 (1) - 0 [01:56:52]OFD Sender: Remove packet 19015 [01:56:52]ProducePacketName [01:56:52]name=ofd_packets/00019015 [01:56:52]NVStorageDeleteData [01:56:52]OFD Sender: No OFD packet to send [01:56:52]*** Cut start [01:56:52]*** Partial cut [01:56:52]*** CUTSNS_PIN = 1 [01:56:52]*** CUTSNS_PIN = 0 [01:56:53]*** Brake cut motor [01:56:53]Read from MH i2c: 01 [01:56:53]MH_I2C_Read... [01:56:53]*** Stop cut motor [01:56:53]*** Cut end [01:56:53]Read from MH i2c: 01 07 00 [01:56:53]MH_I2C_Read... [01:56:53]Read from MH i2c: 01 07 00 8E 05 00 00 00 00 00 FF 0F A8 [01:56:53]process_action close_receipt done [01:56:53]requested_data is exist [01:56:53]produce_requested_data [01:56:53]requested_item fm.sn is exist - process it [01:56:53]wFMCommunicate request_size=4 [01:56:53]MH_SAM_APDU [01:56:53]CAPDU: 80 11 00 00 [01:56:53]Write to MH i2c: E2 08 00 8F 05 80 11 00 00 00 00 00 00 0E [01:56:53]Write i2c OK [01:56:53]MH_I2C_Read... [01:56:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:56:53]Read from MH i2c: E2 [01:56:53]MH_I2C_Read... [01:56:53]Read from MH i2c: E2 17 00 [01:56:53]MH_I2C_Read... [01:56:53]Read from MH i2c: E2 17 00 8F 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 67 [01:56:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [01:56:53]wFMCommunicate OK [01:56:53]requested_item fd.num is exist - process it [01:56:53]SAM_PROTO_GetFieldsCounters [01:56:53]wFMCommunicate request_size=4 [01:56:53]MH_SAM_APDU [01:56:53]CAPDU: 80 13 00 00 [01:56:53]Write to MH i2c: E2 08 00 90 05 80 13 00 00 00 00 00 00 11 [01:56:53]Write i2c OK [01:56:53]MH_I2C_Read... [01:56:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:56:53]Read from MH i2c: E2 [01:56:53]MH_I2C_Read... [01:56:53]Read from MH i2c: E2 62 00 [01:56:53]MH_I2C_Read... [01:56:53]Read from MH i2c: E2 62 00 90 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 47 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 93 [01:56:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 47 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:56:53]wFMCommunicate OK [01:56:53]SAM_PROTO_GetFieldsCounters done [01:56:53]requested_item shift.num is exist - process it [01:56:53]requested_item shift.opened is exist - process it [01:56:53]req_shift_opened [01:56:53]FM_GetShiftState [01:56:53]SAM_PROTO_GetShiftState [01:56:53]wFMCommunicate request_size=4 [01:56:53]MH_SAM_APDU [01:56:53]CAPDU: 80 13 01 00 [01:56:53]Write to MH i2c: E2 08 00 91 05 80 13 01 00 00 00 00 00 13 [01:56:53]Write i2c OK [01:56:53]MH_I2C_Read... [01:56:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:56:53]Read from MH i2c: E2 [01:56:53]MH_I2C_Read... [01:56:53]Read from MH i2c: E2 0E 00 [01:56:53]MH_I2C_Read... [01:56:53]Read from MH i2c: E2 0E 00 91 05 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 78 [01:56:53]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [01:56:53]wFMCommunicate OK [01:56:53]SAM_PROTO_GetShiftState done [01:56:53]FM_GetShiftState done [01:56:53]req_shift_opened done [01:56:53]requested_item shift.open_date is exist - process it [01:56:53]req_shift_open_date [01:56:53]req_shift_open_date done [01:56:53]produce_requested_data done [01:56:53]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19015,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [01:56:53]process_action_free close_receipt [01:56:53]json_value_free [01:56:53]json_value_free done [01:56:53]process_json_proto returns [01:56:53]Send response to host [01:56:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19015,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [01:56:53]free response buf [01:56:53]execute_script done [01:56:53]execute_script returns [01:56:53]free content buf [01:56:53]Sock 7.Close socket [01:56:53]Sock 7.Thread stoped [01:56:57]OFD Sender: No OFD packet to send [01:57:02]OFD Sender: No OFD packet to send [01:57:07]OFD Sender: No OFD packet to send [01:57:12]OFD Sender: No OFD packet to send [01:57:17]OFD Sender: No OFD packet to send [01:57:22]OFD Sender: No OFD packet to send [01:57:27]OFD Sender: No OFD packet to send [01:57:32]OFD Sender: No OFD packet to send [01:57:37]OFD Sender: No OFD packet to send [01:57:42]OFD Sender: No OFD packet to send [01:57:47]OFD Sender: No OFD packet to send [01:57:52]OFD Sender: No OFD packet to send [01:57:57]OFD Sender: No OFD packet to send [01:58:02]OFD Sender: No OFD packet to send [01:58:07]OFD Sender: No OFD packet to send [01:58:12]OFD Sender: No OFD packet to send [01:58:17]OFD Sender: No OFD packet to send [01:58:22]OFD Sender: No OFD packet to send [01:58:27]OFD Sender: No OFD packet to send [01:58:32]OFD Sender: No OFD packet to send [01:58:37]OFD Sender: No OFD packet to send [01:58:42]OFD Sender: No OFD packet to send [01:58:47]OFD Sender: No OFD packet to send [01:58:52]OFD Sender: No OFD packet to send [01:58:57]OFD Sender: No OFD packet to send [01:59:02]OFD Sender: No OFD packet to send [01:59:07]OFD Sender: No OFD packet to send [01:59:12]OFD Sender: No OFD packet to send [01:59:17]OFD Sender: No OFD packet to send [01:59:22]OFD Sender: No OFD packet to send [01:59:27]OFD Sender: No OFD packet to send [01:59:32]OFD Sender: No OFD packet to send [01:59:37]OFD Sender: No OFD packet to send [01:59:42]OFD Sender: No OFD packet to send [01:59:47]OFD Sender: No OFD packet to send [01:59:52]OFD Sender: No OFD packet to send [01:59:57]OFD Sender: No OFD packet to send [02:00:02]OFD Sender: No OFD packet to send [02:00:07]OFD Sender: No OFD packet to send [02:00:12]OFD Sender: No OFD packet to send [02:00:17]OFD Sender: No OFD packet to send [02:00:22]OFD Sender: No OFD packet to send [02:00:27]OFD Sender: No OFD packet to send [02:00:32]OFD Sender: No OFD packet to send [02:00:37]OFD Sender: No OFD packet to send [02:00:42]OFD Sender: No OFD packet to send [02:00:47]OFD Sender: No OFD packet to send [02:00:52]OFD Sender: No OFD packet to send [02:00:57]OFD Sender: No OFD packet to send [02:01:02]OFD Sender: No OFD packet to send [02:01:07]OFD Sender: No OFD packet to send [02:01:12]OFD Sender: No OFD packet to send [02:01:17]OFD Sender: No OFD packet to send [02:01:22]OFD Sender: No OFD packet to send [02:01:27]OFD Sender: No OFD packet to send [02:01:32]OFD Sender: No OFD packet to send [02:01:37]OFD Sender: No OFD packet to send [02:01:42]OFD Sender: No OFD packet to send [02:01:47]OFD Sender: No OFD packet to send [02:01:52]OFD Sender: No OFD packet to send [02:01:57]OFD Sender: No OFD packet to send [02:02:02]OFD Sender: No OFD packet to send [02:02:07]OFD Sender: No OFD packet to send [02:02:12]OFD Sender: No OFD packet to send [02:02:17]OFD Sender: No OFD packet to send [02:02:22]OFD Sender: No OFD packet to send [02:02:27]OFD Sender: No OFD packet to send [02:02:32]OFD Sender: No OFD packet to send [02:02:37]OFD Sender: No OFD packet to send [02:02:42]OFD Sender: No OFD packet to send [02:02:47]OFD Sender: No OFD packet to send [02:02:52]OFD Sender: No OFD packet to send [02:02:57]OFD Sender: No OFD packet to send [02:03:02]OFD Sender: No OFD packet to send [02:03:07]OFD Sender: No OFD packet to send [02:03:12]OFD Sender: No OFD packet to send [02:03:17]OFD Sender: No OFD packet to send [02:03:22]OFD Sender: No OFD packet to send [02:03:27]OFD Sender: No OFD packet to send [02:03:33]OFD Sender: No OFD packet to send [02:03:38]OFD Sender: No OFD packet to send [02:03:43]OFD Sender: No OFD packet to send [02:03:48]OFD Sender: No OFD packet to send [02:03:53]OFD Sender: No OFD packet to send [02:03:58]OFD Sender: No OFD packet to send [02:04:03]OFD Sender: No OFD packet to send [02:04:08]OFD Sender: No OFD packet to send [02:04:13]OFD Sender: No OFD packet to send [02:04:18]OFD Sender: No OFD packet to send [02:04:23]OFD Sender: No OFD packet to send [02:04:28]OFD Sender: No OFD packet to send [02:04:33]OFD Sender: No OFD packet to send [02:04:38]OFD Sender: No OFD packet to send [02:04:43]OFD Sender: No OFD packet to send [02:04:48]OFD Sender: No OFD packet to send [02:04:53]OFD Sender: No OFD packet to send [02:04:58]OFD Sender: No OFD packet to send [02:05:03]OFD Sender: No OFD packet to send [02:05:08]OFD Sender: No OFD packet to send [02:05:13]OFD Sender: No OFD packet to send [02:05:18]OFD Sender: No OFD packet to send [02:05:23]OFD Sender: No OFD packet to send [02:05:28]OFD Sender: No OFD packet to send [02:05:33]OFD Sender: No OFD packet to send [02:05:38]OFD Sender: No OFD packet to send [02:05:43]OFD Sender: No OFD packet to send [02:05:48]OFD Sender: No OFD packet to send [02:05:53]OFD Sender: No OFD packet to send [02:05:58]OFD Sender: No OFD packet to send [02:06:03]OFD Sender: No OFD packet to send [02:06:08]OFD Sender: No OFD packet to send [02:06:13]OFD Sender: No OFD packet to send [02:06:18]OFD Sender: No OFD packet to send [02:06:23]OFD Sender: No OFD packet to send [02:06:28]OFD Sender: No OFD packet to send [02:06:33]OFD Sender: No OFD packet to send [02:06:38]OFD Sender: No OFD packet to send [02:06:43]OFD Sender: No OFD packet to send [02:06:48]OFD Sender: No OFD packet to send [02:06:53]OFD Sender: No OFD packet to send [02:06:58]OFD Sender: No OFD packet to send [02:07:03]OFD Sender: No OFD packet to send [02:07:08]OFD Sender: No OFD packet to send [02:07:13]OFD Sender: No OFD packet to send [02:07:18]OFD Sender: No OFD packet to send [02:07:23]OFD Sender: No OFD packet to send [02:07:28]OFD Sender: No OFD packet to send [02:07:33]OFD Sender: No OFD packet to send [02:07:38]OFD Sender: No OFD packet to send [02:07:43]OFD Sender: No OFD packet to send [02:07:48]OFD Sender: No OFD packet to send [02:07:53]OFD Sender: No OFD packet to send [02:07:58]OFD Sender: No OFD packet to send [02:08:03]OFD Sender: No OFD packet to send [02:08:08]OFD Sender: No OFD packet to send [02:08:13]OFD Sender: No OFD packet to send [02:08:18]OFD Sender: No OFD packet to send [02:08:23]OFD Sender: No OFD packet to send [02:08:28]OFD Sender: No OFD packet to send [02:08:33]OFD Sender: No OFD packet to send [02:08:38]OFD Sender: No OFD packet to send [02:08:43]OFD Sender: No OFD packet to send [02:08:48]OFD Sender: No OFD packet to send [02:08:53]OFD Sender: No OFD packet to send [02:08:58]OFD Sender: No OFD packet to send [02:09:03]OFD Sender: No OFD packet to send [02:09:08]OFD Sender: No OFD packet to send [02:09:13]OFD Sender: No OFD packet to send [02:09:18]OFD Sender: No OFD packet to send [02:09:23]OFD Sender: No OFD packet to send [02:09:28]OFD Sender: No OFD packet to send [02:09:33]OFD Sender: No OFD packet to send [02:09:38]OFD Sender: No OFD packet to send [02:09:43]OFD Sender: No OFD packet to send [02:09:48]OFD Sender: No OFD packet to send [02:09:53]OFD Sender: No OFD packet to send [02:09:58]OFD Sender: No OFD packet to send [02:10:03]OFD Sender: No OFD packet to send [02:10:08]OFD Sender: No OFD packet to send [02:10:13]OFD Sender: No OFD packet to send [02:10:18]OFD Sender: No OFD packet to send [02:10:23]OFD Sender: No OFD packet to send [02:10:28]OFD Sender: No OFD packet to send [02:10:33]OFD Sender: No OFD packet to send [02:10:38]OFD Sender: No OFD packet to send [02:10:43]OFD Sender: No OFD packet to send [02:10:48]OFD Sender: No OFD packet to send [02:10:53]OFD Sender: No OFD packet to send [02:10:58]OFD Sender: No OFD packet to send [02:11:03]OFD Sender: No OFD packet to send [02:11:08]OFD Sender: No OFD packet to send [02:11:13]OFD Sender: No OFD packet to send [02:11:18]OFD Sender: No OFD packet to send [02:11:23]OFD Sender: No OFD packet to send [02:11:28]OFD Sender: No OFD packet to send [02:11:33]OFD Sender: No OFD packet to send [02:11:38]OFD Sender: No OFD packet to send [02:11:43]OFD Sender: No OFD packet to send [02:11:48]OFD Sender: No OFD packet to send [02:11:53]OFD Sender: No OFD packet to send [02:11:58]OFD Sender: No OFD packet to send [02:12:03]OFD Sender: No OFD packet to send [02:12:08]OFD Sender: No OFD packet to send [02:12:13]OFD Sender: No OFD packet to send [02:12:18]OFD Sender: No OFD packet to send [02:12:23]OFD Sender: No OFD packet to send [02:12:28]OFD Sender: No OFD packet to send [02:12:33]OFD Sender: No OFD packet to send [02:12:38]OFD Sender: No OFD packet to send [02:12:43]OFD Sender: No OFD packet to send [02:12:48]OFD Sender: No OFD packet to send [02:12:53]OFD Sender: No OFD packet to send [02:12:58]OFD Sender: No OFD packet to send [02:13:03]OFD Sender: No OFD packet to send [02:13:08]OFD Sender: No OFD packet to send [02:13:13]OFD Sender: No OFD packet to send [02:13:18]OFD Sender: No OFD packet to send [02:13:23]OFD Sender: No OFD packet to send [02:13:28]OFD Sender: No OFD packet to send [02:13:33]OFD Sender: No OFD packet to send [02:13:38]OFD Sender: No OFD packet to send [02:13:43]OFD Sender: No OFD packet to send [02:13:48]OFD Sender: No OFD packet to send [02:13:53]OFD Sender: No OFD packet to send [02:13:58]OFD Sender: No OFD packet to send [02:14:03]OFD Sender: No OFD packet to send [02:14:08]OFD Sender: No OFD packet to send [02:14:13]OFD Sender: No OFD packet to send [02:14:18]OFD Sender: No OFD packet to send [02:14:23]OFD Sender: No OFD packet to send [02:14:28]OFD Sender: No OFD packet to send [02:14:33]OFD Sender: No OFD packet to send [02:14:38]OFD Sender: No OFD packet to send [02:14:43]OFD Sender: No OFD packet to send [02:14:48]OFD Sender: No OFD packet to send [02:14:53]OFD Sender: No OFD packet to send [02:14:58]OFD Sender: No OFD packet to send [02:15:03]OFD Sender: No OFD packet to send [02:15:08]OFD Sender: No OFD packet to send [02:15:13]OFD Sender: No OFD packet to send [02:15:18]OFD Sender: No OFD packet to send [02:15:23]OFD Sender: No OFD packet to send [02:15:28]OFD Sender: No OFD packet to send [02:15:33]OFD Sender: No OFD packet to send [02:15:38]OFD Sender: No OFD packet to send [02:15:43]OFD Sender: No OFD packet to send [02:15:48]OFD Sender: No OFD packet to send [02:15:53]OFD Sender: No OFD packet to send [02:15:58]OFD Sender: No OFD packet to send [02:16:03]OFD Sender: No OFD packet to send [02:16:08]OFD Sender: No OFD packet to send [02:16:13]OFD Sender: No OFD packet to send [02:16:18]OFD Sender: No OFD packet to send [02:16:23]OFD Sender: No OFD packet to send [02:16:28]OFD Sender: No OFD packet to send [02:16:33]OFD Sender: No OFD packet to send [02:16:38]OFD Sender: No OFD packet to send [02:16:43]OFD Sender: No OFD packet to send [02:16:48]OFD Sender: No OFD packet to send [02:16:53]OFD Sender: No OFD packet to send [02:16:58]OFD Sender: No OFD packet to send [02:17:03]OFD Sender: No OFD packet to send [02:17:08]OFD Sender: No OFD packet to send [02:17:13]OFD Sender: No OFD packet to send [02:17:18]OFD Sender: No OFD packet to send [02:17:23]OFD Sender: No OFD packet to send [02:17:28]OFD Sender: No OFD packet to send [02:17:33]OFD Sender: No OFD packet to send [02:17:38]OFD Sender: No OFD packet to send [02:17:43]OFD Sender: No OFD packet to send [02:17:48]OFD Sender: No OFD packet to send [02:17:53]OFD Sender: No OFD packet to send [02:17:58]OFD Sender: No OFD packet to send [02:18:03]OFD Sender: No OFD packet to send [02:18:08]OFD Sender: No OFD packet to send [02:18:13]OFD Sender: No OFD packet to send [02:18:18]OFD Sender: No OFD packet to send [02:18:23]OFD Sender: No OFD packet to send [02:18:28]OFD Sender: No OFD packet to send [02:18:33]OFD Sender: No OFD packet to send [02:18:38]OFD Sender: No OFD packet to send [02:18:43]OFD Sender: No OFD packet to send [02:18:48]OFD Sender: No OFD packet to send [02:18:53]OFD Sender: No OFD packet to send [02:18:58]OFD Sender: No OFD packet to send [02:19:03]OFD Sender: No OFD packet to send [02:19:08]OFD Sender: No OFD packet to send [02:19:13]OFD Sender: No OFD packet to send [02:19:18]OFD Sender: No OFD packet to send [02:19:23]OFD Sender: No OFD packet to send [02:19:28]OFD Sender: No OFD packet to send [02:19:33]OFD Sender: No OFD packet to send [02:19:38]OFD Sender: No OFD packet to send [02:19:43]OFD Sender: No OFD packet to send [02:19:48]OFD Sender: No OFD packet to send [02:19:53]OFD Sender: No OFD packet to send [02:19:58]OFD Sender: No OFD packet to send [02:20:03]OFD Sender: No OFD packet to send [02:20:08]OFD Sender: No OFD packet to send [02:20:13]OFD Sender: No OFD packet to send [02:20:18]OFD Sender: No OFD packet to send [02:20:23]OFD Sender: No OFD packet to send [02:20:28]OFD Sender: No OFD packet to send [02:20:33]OFD Sender: No OFD packet to send [02:20:38]OFD Sender: No OFD packet to send [02:20:43]OFD Sender: No OFD packet to send [02:20:48]OFD Sender: No OFD packet to send [02:20:53]OFD Sender: No OFD packet to send [02:20:58]OFD Sender: No OFD packet to send [02:21:03]OFD Sender: No OFD packet to send [02:21:08]OFD Sender: No OFD packet to send [02:21:13]OFD Sender: No OFD packet to send [02:21:18]OFD Sender: No OFD packet to send [02:21:23]OFD Sender: No OFD packet to send [02:21:28]OFD Sender: No OFD packet to send [02:21:33]OFD Sender: No OFD packet to send [02:21:38]OFD Sender: No OFD packet to send [02:21:43]OFD Sender: No OFD packet to send [02:21:48]OFD Sender: No OFD packet to send [02:21:53]OFD Sender: No OFD packet to send [02:21:58]OFD Sender: No OFD packet to send [02:22:03]OFD Sender: No OFD packet to send [02:22:08]OFD Sender: No OFD packet to send [02:22:13]OFD Sender: No OFD packet to send [02:22:18]OFD Sender: No OFD packet to send [02:22:23]OFD Sender: No OFD packet to send [02:22:28]OFD Sender: No OFD packet to send [02:22:33]OFD Sender: No OFD packet to send [02:22:38]OFD Sender: No OFD packet to send [02:22:43]OFD Sender: No OFD packet to send [02:22:48]OFD Sender: No OFD packet to send [02:22:53]OFD Sender: No OFD packet to send [02:22:58]OFD Sender: No OFD packet to send [02:23:03]OFD Sender: No OFD packet to send [02:23:08]OFD Sender: No OFD packet to send [02:23:13]OFD Sender: No OFD packet to send [02:23:18]OFD Sender: No OFD packet to send [02:23:23]OFD Sender: No OFD packet to send [02:23:28]OFD Sender: No OFD packet to send [02:23:33]OFD Sender: No OFD packet to send [02:23:38]OFD Sender: No OFD packet to send [02:23:43]OFD Sender: No OFD packet to send [02:23:48]OFD Sender: No OFD packet to send [02:23:53]OFD Sender: No OFD packet to send [02:23:58]OFD Sender: No OFD packet to send [02:24:03]OFD Sender: No OFD packet to send [02:24:08]OFD Sender: No OFD packet to send [02:24:13]OFD Sender: No OFD packet to send [02:24:18]OFD Sender: No OFD packet to send [02:24:23]OFD Sender: No OFD packet to send [02:24:28]OFD Sender: No OFD packet to send [02:24:33]OFD Sender: No OFD packet to send [02:24:38]OFD Sender: No OFD packet to send [02:24:44]OFD Sender: No OFD packet to send [02:24:49]OFD Sender: No OFD packet to send [02:24:54]OFD Sender: No OFD packet to send [02:24:59]OFD Sender: No OFD packet to send [02:25:04]OFD Sender: No OFD packet to send [02:25:09]OFD Sender: No OFD packet to send [02:25:14]OFD Sender: No OFD packet to send [02:25:19]OFD Sender: No OFD packet to send [02:25:24]OFD Sender: No OFD packet to send [02:25:29]OFD Sender: No OFD packet to send [02:25:34]OFD Sender: No OFD packet to send [02:25:39]OFD Sender: No OFD packet to send [02:25:44]OFD Sender: No OFD packet to send [02:25:49]OFD Sender: No OFD packet to send [02:25:54]OFD Sender: No OFD packet to send [02:25:59]OFD Sender: No OFD packet to send [02:26:04]OFD Sender: No OFD packet to send [02:26:09]OFD Sender: No OFD packet to send [02:26:14]OFD Sender: No OFD packet to send [02:26:19]OFD Sender: No OFD packet to send [02:26:24]OFD Sender: No OFD packet to send [02:26:29]OFD Sender: No OFD packet to send [02:26:34]OFD Sender: No OFD packet to send [02:26:39]OFD Sender: No OFD packet to send [02:26:44]OFD Sender: No OFD packet to send [02:26:49]OFD Sender: No OFD packet to send [02:26:54]OFD Sender: No OFD packet to send [02:26:59]OFD Sender: No OFD packet to send [02:27:04]OFD Sender: No OFD packet to send [02:27:09]OFD Sender: No OFD packet to send [02:27:14]OFD Sender: No OFD packet to send [02:27:19]OFD Sender: No OFD packet to send [02:27:24]OFD Sender: No OFD packet to send [02:27:29]OFD Sender: No OFD packet to send [02:27:34]OFD Sender: No OFD packet to send [02:27:39]OFD Sender: No OFD packet to send [02:27:44]OFD Sender: No OFD packet to send [02:27:49]OFD Sender: No OFD packet to send [02:27:54]OFD Sender: No OFD packet to send [02:27:59]OFD Sender: No OFD packet to send [02:28:04]OFD Sender: No OFD packet to send [02:28:09]OFD Sender: No OFD packet to send [02:28:14]OFD Sender: No OFD packet to send [02:28:19]OFD Sender: No OFD packet to send [02:28:24]OFD Sender: No OFD packet to send [02:28:29]OFD Sender: No OFD packet to send [02:28:34]OFD Sender: No OFD packet to send [02:28:39]OFD Sender: No OFD packet to send [02:28:44]OFD Sender: No OFD packet to send [02:28:49]OFD Sender: No OFD packet to send [02:28:54]OFD Sender: No OFD packet to send [02:28:59]OFD Sender: No OFD packet to send [02:29:04]OFD Sender: No OFD packet to send [02:29:09]OFD Sender: No OFD packet to send [02:29:14]OFD Sender: No OFD packet to send [02:29:19]OFD Sender: No OFD packet to send [02:29:24]OFD Sender: No OFD packet to send [02:29:29]OFD Sender: No OFD packet to send [02:29:34]OFD Sender: No OFD packet to send [02:29:39]OFD Sender: No OFD packet to send [02:29:44]OFD Sender: No OFD packet to send [02:29:49]OFD Sender: No OFD packet to send [02:29:54]OFD Sender: No OFD packet to send [02:29:59]OFD Sender: No OFD packet to send [02:30:04]OFD Sender: No OFD packet to send [02:30:09]OFD Sender: No OFD packet to send [02:30:14]OFD Sender: No OFD packet to send [02:30:19]OFD Sender: No OFD packet to send [02:30:24]OFD Sender: No OFD packet to send [02:30:29]OFD Sender: No OFD packet to send [02:30:34]OFD Sender: No OFD packet to send [02:30:39]OFD Sender: No OFD packet to send [02:30:44]OFD Sender: No OFD packet to send [02:30:49]OFD Sender: No OFD packet to send [02:30:54]OFD Sender: No OFD packet to send [02:30:59]OFD Sender: No OFD packet to send [02:31:04]OFD Sender: No OFD packet to send [02:31:09]OFD Sender: No OFD packet to send [02:31:14]OFD Sender: No OFD packet to send [02:31:19]OFD Sender: No OFD packet to send [02:31:24]OFD Sender: No OFD packet to send [02:31:29]OFD Sender: No OFD packet to send [02:31:34]OFD Sender: No OFD packet to send [02:31:39]OFD Sender: No OFD packet to send [02:31:44]OFD Sender: No OFD packet to send [02:31:49]OFD Sender: No OFD packet to send [02:31:54]OFD Sender: No OFD packet to send [02:31:59]OFD Sender: No OFD packet to send [02:32:04]OFD Sender: No OFD packet to send [02:32:09]OFD Sender: No OFD packet to send [02:32:14]OFD Sender: No OFD packet to send [02:32:19]OFD Sender: No OFD packet to send [02:32:24]OFD Sender: No OFD packet to send [02:32:29]OFD Sender: No OFD packet to send [02:32:34]OFD Sender: No OFD packet to send [02:32:39]OFD Sender: No OFD packet to send [02:32:44]OFD Sender: No OFD packet to send [02:32:49]OFD Sender: No OFD packet to send [02:32:54]OFD Sender: No OFD packet to send [02:32:59]OFD Sender: No OFD packet to send [02:33:04]OFD Sender: No OFD packet to send [02:33:09]OFD Sender: No OFD packet to send [02:33:14]OFD Sender: No OFD packet to send [02:33:19]OFD Sender: No OFD packet to send [02:33:24]OFD Sender: No OFD packet to send [02:33:29]OFD Sender: No OFD packet to send [02:33:34]OFD Sender: No OFD packet to send [02:33:39]OFD Sender: No OFD packet to send [02:33:44]OFD Sender: No OFD packet to send [02:33:49]OFD Sender: No OFD packet to send [02:33:54]OFD Sender: No OFD packet to send [02:33:59]OFD Sender: No OFD packet to send [02:34:04]OFD Sender: No OFD packet to send [02:34:09]OFD Sender: No OFD packet to send [02:34:14]OFD Sender: No OFD packet to send [02:34:19]OFD Sender: No OFD packet to send [02:34:24]OFD Sender: No OFD packet to send [02:34:29]OFD Sender: No OFD packet to send [02:34:34]OFD Sender: No OFD packet to send [02:34:39]OFD Sender: No OFD packet to send [02:34:44]OFD Sender: No OFD packet to send [02:34:49]OFD Sender: No OFD packet to send [02:34:54]OFD Sender: No OFD packet to send [02:34:59]OFD Sender: No OFD packet to send [02:35:04]OFD Sender: No OFD packet to send [02:35:09]OFD Sender: No OFD packet to send [02:35:14]OFD Sender: No OFD packet to send [02:35:19]OFD Sender: No OFD packet to send [02:35:24]OFD Sender: No OFD packet to send [02:35:29]OFD Sender: No OFD packet to send [02:35:34]OFD Sender: No OFD packet to send [02:35:39]OFD Sender: No OFD packet to send [02:35:44]OFD Sender: No OFD packet to send [02:35:49]OFD Sender: No OFD packet to send [02:35:54]OFD Sender: No OFD packet to send [02:35:59]OFD Sender: No OFD packet to send [02:36:04]OFD Sender: No OFD packet to send [02:36:09]OFD Sender: No OFD packet to send [02:36:14]OFD Sender: No OFD packet to send [02:36:19]OFD Sender: No OFD packet to send [02:36:24]OFD Sender: No OFD packet to send [02:36:24]accept exits with 9 [02:36:24]New connection [02:36:24]New thread 3066695012 created [02:36:24]Thread 3066551652 joined [02:36:24]Waiting for new connection... [02:36:24] Sock 9.Parse request [02:36:24]Sock 9.Check first char [02:36:24]Sock 9.First char is OK [02:36:24]request: POST /json_proto HTTP/1.0 [02:36:24]Method: POST [02:36:24]URL: /json_proto [02:36:24]Method is POST - this is cgi request [02:36:24]url: /json_proto [02:36:24]query_string will be loaded in cgi processing [02:36:24]execute_cgi json_proto POST (null) [02:36:24]execute_cgi path=json_proto method=POST [02:36:24]POST find Content-Length [02:36:24]Host: 172.17.62.196:8080 [02:36:24]Content-Length: 622 [02:36:24]Content-Type: application/json [02:36:24] [02:36:24]POST finish read [02:36:24]Found Content-Length = 622 [02:36:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16936", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:36:24]execute_script... [02:36:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)16936", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:36:24]POST & json_proto [02:36:24]process_json_proto [02:36:24]json parsed OK: [02:36:24]protocol is kg_v1.0 [02:36:24]action value=close_receipt [02:36:24]process_action close_receipt [02:36:24]cmd_close_receipt [02:36:24]MH_GetDate [02:36:24]Write to MH i2c: F0 00 00 92 05 86 [02:36:24]Write i2c OK [02:36:24]MH_I2C_Read... [02:36:24]Read from MH i2c: F0 [02:36:24]MH_I2C_Read... [02:36:24]Read from MH i2c: F0 09 00 [02:36:24]MH_I2C_Read... [02:36:24]Read from MH i2c: F0 09 00 92 05 00 AA C8 F4 66 CE CC 0E 66 69 [02:36:24]GetLastDocTimeStamp 1727315811 [02:36:24]current date 1727318186 [02:36:24]FM_GetShiftState [02:36:24]SAM_PROTO_GetShiftState [02:36:24]wFMCommunicate request_size=4 [02:36:24]MH_SAM_APDU [02:36:24]CAPDU: 80 13 01 00 [02:36:24]Write to MH i2c: E2 08 00 93 05 80 13 01 00 00 00 00 00 15 [02:36:24]Write i2c OK [02:36:24]MH_I2C_Read... [02:36:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:36:24]Read from MH i2c: E2 [02:36:24]MH_I2C_Read... [02:36:24]Read from MH i2c: E2 0E 00 [02:36:24]MH_I2C_Read... [02:36:24]Read from MH i2c: E2 0E 00 93 05 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 7A [02:36:24]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [02:36:24]wFMCommunicate OK [02:36:24]SAM_PROTO_GetShiftState done [02:36:24]FM_GetShiftState done [02:36:24]opened in 1727309656 [02:36:24]opened+sec_in_day 1727396056 [02:36:24]quantity*price = 28800 [02:36:24]sum+1 = 28801 [02:36:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 288.00 НСП 1% : 2.55 НДС 12% : 30.58 Наличными: 288.00 Безнал.: 0.00 Место: АЗС № 176 "Партнер Нефть" Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 СНО: Общий режим Чек 5 26.09.2024 02:36 Смена: 184 ФФД: 1.0 ЗНМ: 0300000010 РНМ: 0000000000152968 Версия ККМ: v1.0 ФМ: 0000000000959456 ФД: 19016 ФПД: 105705795946535 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T023626&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19016&fm=105705795946535&tin=02508201610067®Number=0000000000152968&sum=28800 0 [02:36:25]StoreToDocumentArchive [02:36:25]shift 184 fd 19016 [02:36:25]save to /storage/0184/doc_00019016 [02:36:25]save last doc name /storage/0184/doc_00019016 to /storage/kkm_last_doc_name [02:36:25]save OK [02:36:25]Clear old archive folders... [02:36:25]ProcessDocumentItem done err = 0, tmpTLVsize=275 [02:36:25]tlvbuf is 01D60C30 [02:36:25]SAM_PROTO_ClearQueue [02:36:25]wFMCommunicate request_size=4 [02:36:25]MH_SAM_APDU [02:36:25]CAPDU: 80 09 00 00 [02:36:25]Write to MH i2c: E2 08 00 A0 05 80 09 00 00 00 00 00 00 17 [02:36:25]Write i2c OK [02:36:25]MH_I2C_Read... [02:36:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:36:25]Read from MH i2c: E2 [02:36:25]MH_I2C_Read... [02:36:25]Read from MH i2c: E2 03 00 [02:36:25]MH_I2C_Read... [02:36:25]Read from MH i2c: E2 03 00 A0 05 00 90 00 19 [02:36:25]RAPDU: 90 00 [02:36:25]wFMCommunicate OK [02:36:25]SAM_PROTO_ClearQueue done [02:36:25]KKMCreateOFDPacket [02:36:25]OFDProtocolAddRootSTLVToBuf [02:36:25]FM_MakeSignedData [02:36:25]FM_MakeSignedData [02:36:25]SAM_PROTO_SignData [02:36:25]wFMCommunicate request_size=4 [02:36:25]MH_SAM_APDU [02:36:25]CAPDU: 80 0D 01 02 [02:36:25]Write to MH i2c: E2 08 00 A1 05 80 0D 01 02 00 00 00 00 1F [02:36:25]Write i2c OK [02:36:25]MH_I2C_Read... [02:36:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:36:25]Read from MH i2c: E2 [02:36:25]MH_I2C_Read... [02:36:25]Read from MH i2c: E2 03 00 [02:36:25]MH_I2C_Read... [02:36:25]Read from MH i2c: E2 03 00 A1 05 00 90 00 1A [02:36:25]RAPDU: 90 00 [02:36:25]wFMCommunicate OK [02:36:25]wFMCommunicate request_size=255 [02:36:25]MH_SAM_APDU [02:36:25]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 AA C8 F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 [02:36:25]Write to MH i2c: E2 02 01 A2 05 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 AA C8 F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 00 00 86 [02:36:25]Write i2c OK [02:36:25]MH_I2C_Read... [02:36:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:36:26]Read from MH i2c: E2 [02:36:26]MH_I2C_Read... [02:36:26]Read from MH i2c: E2 03 00 [02:36:26]MH_I2C_Read... [02:36:26]Read from MH i2c: E2 03 00 A2 05 00 90 00 1B [02:36:26]RAPDU: 90 00 [02:36:26]wFMCommunicate OK [02:36:26]wFMCommunicate request_size=34 [02:36:26]MH_SAM_APDU [02:36:26]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 48 4A 00 00 35 04 06 00 60 23 8C 6B 08 27 [02:36:26]Write to MH i2c: E2 25 00 A3 05 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 48 4A 00 00 35 04 06 00 60 23 8C 6B 08 27 00 00 24 [02:36:26]Write i2c OK [02:36:26]MH_I2C_Read... [02:36:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:36:26]Read from MH i2c: E2 [02:36:26]MH_I2C_Read... [02:36:26]Read from MH i2c: E2 03 00 [02:36:26]MH_I2C_Read... [02:36:26]Read from MH i2c: E2 03 00 A3 05 00 90 00 1C [02:36:26]RAPDU: 90 00 [02:36:26]wFMCommunicate OK [02:36:26]wFMCommunicate request_size=4 [02:36:26]MH_SAM_APDU [02:36:26]CAPDU: 80 0D 03 02 [02:36:26]Write to MH i2c: E2 08 00 A4 05 80 0D 03 02 00 00 00 00 24 [02:36:26]Write i2c OK [02:36:26]MH_I2C_Read... [02:36:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:36:26]Read from MH i2c: E2 [02:36:26]MH_I2C_Read... [02:36:26]Read from MH i2c: E2 0B 00 [02:36:26]MH_I2C_Read... [02:36:26]Read from MH i2c: E2 0B 00 A4 05 00 5C F9 CA D6 77 FD 31 32 90 00 F1 [02:36:26]RAPDU: 5C F9 CA D6 77 FD 31 32 90 00 [02:36:26]wFMCommunicate OK [02:36:26]SAM_PROTO_SignData done [02:36:26]FM_MakeSignedData done [02:36:26]CreateOFDProtocolMessage [02:36:26]wFMCommunicate request_size=4 [02:36:26]MH_SAM_APDU [02:36:26]CAPDU: 80 11 00 00 [02:36:26]Write to MH i2c: E2 08 00 A5 05 80 11 00 00 00 00 00 00 24 [02:36:26]Write i2c OK [02:36:26]MH_I2C_Read... [02:36:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:36:26]Read from MH i2c: E2 [02:36:26]MH_I2C_Read... [02:36:26]Read from MH i2c: E2 17 00 [02:36:26]MH_I2C_Read... [02:36:26]Read from MH i2c: E2 17 00 A5 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 7D [02:36:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [02:36:26]wFMCommunicate OK [02:36:26]CreateOFDProtocolMessage done [02:36:26]OFDSenderStorePacket 19016 [02:36:26]StoreOFDPacket docnum=19016 [02:36:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 01 00 00 D1 EF 1F 01 67 C9 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 AA C8 F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 48 4A 00 00 35 04 06 00 60 23 8C 6B 08 27 5C F9 CA D6 77 FD 31 32 [02:36:26]CheckFolder [02:36:26]dirname=/storage/ofd_packets [02:36:26]CheckFolder done [02:36:26]ProducePacketName [02:36:26]name=ofd_packets/00019016 [02:36:26]NVStorageSaveData ofd_packets/00019016 [02:36:26]File name is /storage/ofd_packets/00019016 [02:36:26]Write 325 bytes [02:36:26]NVStorageSaveData done [02:36:26]OFDSenderStorePacket done [02:36:26]KKMCreateOFDPacket done [02:36:26]NVStorageSaveData kkm_last_timestamp [02:36:26]File name is /storage/kkm_last_timestamp [02:36:26]Write 4 bytes [02:36:26]NVStorageSaveData done [02:36:26]ExternCall_PrintAddStr [02:36:26]wPrintStart [02:36:26]Write to MH i2c: 01 00 00 A6 05 AB [02:36:26]Write i2c OK [02:36:26]MH_I2C_Read... [02:36:26]Read from MH i2c: 01 [02:36:26]MH_I2C_Read... [02:36:26]Read from MH i2c: 01 07 00 [02:36:26]MH_I2C_Read... [02:36:26]Read from MH i2c: 01 07 00 A6 05 00 00 00 00 00 FF 0F C0 [02:36:26]RasterBufferAndPrint [02:36:26]line Счет N : (3)16936 [02:36:26]line ИНН: 02508201610067 [02:36:26]line Контрольно-Кассовый Чек [02:36:26]line ПРОДАЖА [02:36:26]line Товар: 48743587 [02:36:26]line Сигареты Winston XStyle Silver [02:36:26]line 2.000 * 144.00 [02:36:26]line = 288.00 [02:36:26]line НДС 12% НСП 1% [02:36:26]line > о реализуемом товаре [02:36:26]line ИТОГО: 288.00 [02:36:26]line НСП 1% : 2.55 [02:36:26]line НДС 12% : 30.58 [02:36:26]line Наличными: 288.00 [02:36:26]line Безнал.: 0.00 [02:36:26]line Место: АЗС № 176 "Партнер Нефть" [02:36:26]line Адрес: 720000, г. Ош, Памирский тракт 1 км, д. 102, 40.534963, 72.816790 [02:36:26]line СНО: Общий режим [02:36:26]line Чек 5 26.09.2024 02:36 [02:36:26]line Смена: 184 ФФД: 1.0 [02:36:26]line ЗНМ: 0300000010 [02:36:26]line РНМ: 0000000000152968 [02:36:26]line Версия ККМ: v1.0 [02:36:26]line ФМ: 0000000000959456 [02:36:26]line ФД: 19016 [02:36:26]line ФПД: 105705795946535 [02:36:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T023626&type=1&operation_type=1&fn_number=0000000000959456&fd_number=19016&fm=105705795946535&tin=02508201610067®Number=0000000000152968&sum=28800 [02:36:26]OFD Sender: Processing packet 19016 [packets to send 7, broken 6] [02:36:26]ProducePacketName [02:36:26]name=ofd_packets/00019016 [02:36:26]OFD Sender: To server: pG, [02:36:26]CommunicateWithHost lk.salyk.kg:30040 [02:36:26]ConnectInit lk.salyk.kg [02:36:26]line 0 [02:36:26]written 0, free lines is 4095 [02:36:26]Connected sock=10 [02:36:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 27 01 00 00 D1 EF 1F 01 67 C9 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 AA C8 F4 66 0E 04 04 00 B8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 48 4A 00 00 35 04 06 00 60 23 8C 6B 08 27 5C F9 CA D6 77 FD 31 32 [02:36:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 4F 00 00 00 32 C5 47 00 60 51 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 10 04 04 00 48 4A 00 00 F4 03 04 00 06 72 F4 66 B6 04 01 00 00 0E CE A7 A0 9A 27 BC 03 [02:36:27]CommunicateWithHost err = 0 [02:36:27]CheckOFDResponse [02:36:27]1017 (14) - 77093643461234 [02:36:27]1041 (16) - 0000000000959456 [02:36:27]1040 (4) - 19016 [02:36:27]1012 (4) - 25.09.2024 20:26 [02:36:27]1206 (1) - 0 [02:36:27]OFD Sender: Remove packet 19016 [02:36:27]ProducePacketName [02:36:27]name=ofd_packets/00019016 [02:36:27]NVStorageDeleteData [02:36:27]Write to MH i2c: 01 00 00 CF 05 D4 [02:36:27]Write i2c OK [02:36:27]MH_I2C_Read... [02:36:27]Read from MH i2c: 01 [02:36:27]MH_I2C_Read... [02:36:27]Read from MH i2c: 01 07 00 [02:36:27]MH_I2C_Read... [02:36:27]Read from MH i2c: 01 07 00 CF 05 00 00 00 00 00 1A 0D 02 [02:36:27]RasterBufferAndPrint [02:36:27]line [02:36:27]line [02:36:27]line [02:36:27]line [02:36:27]line [02:36:27]written 0, free lines is 3363 [02:36:27]MH_Cut [02:36:27]Write to MH i2c: D1 01 00 D6 05 01 AD [02:36:27]Write i2c OK [02:36:27]MH_I2C_Read... [02:36:27]Read from MH i2c: D1 [02:36:27]MH_I2C_Read... [02:36:27]Read from MH i2c: D1 01 00 [02:36:27]MH_I2C_Read... [02:36:27]Read from MH i2c: D1 01 00 D6 05 00 AC [02:36:27]Write to MH i2c: 01 00 00 D7 05 DC [02:36:27]Write i2c OK [02:36:27]MH_I2C_Read... [02:36:27]OFD Sender: No OFD packet to send [02:36:27]*** Cut start [02:36:27]*** Partial cut [02:36:27]*** CUTSNS_PIN = 1 [02:36:27]*** CUTSNS_PIN = 0 [02:36:28]*** Brake cut motor [02:36:28]Read from MH i2c: 01 [02:36:28]MH_I2C_Read... [02:36:28]*** Stop cut motor [02:36:28]*** Cut end [02:36:28]Read from MH i2c: 01 07 00 [02:36:28]MH_I2C_Read... [02:36:28]Read from MH i2c: 01 07 00 D7 05 00 00 00 00 00 FF 0F F1 [02:36:28]process_action close_receipt done [02:36:28]requested_data is exist [02:36:28]produce_requested_data [02:36:28]requested_item fm.sn is exist - process it [02:36:28]wFMCommunicate request_size=4 [02:36:28]MH_SAM_APDU [02:36:28]CAPDU: 80 11 00 00 [02:36:28]Write to MH i2c: E2 08 00 D8 05 80 11 00 00 00 00 00 00 57 [02:36:28]Write i2c OK [02:36:28]MH_I2C_Read... [02:36:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:36:28]Read from MH i2c: E2 [02:36:28]MH_I2C_Read... [02:36:28]Read from MH i2c: E2 17 00 [02:36:28]MH_I2C_Read... [02:36:28]Read from MH i2c: E2 17 00 D8 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 B0 [02:36:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 90 00 [02:36:28]wFMCommunicate OK [02:36:28]requested_item fd.num is exist - process it [02:36:28]SAM_PROTO_GetFieldsCounters [02:36:28]wFMCommunicate request_size=4 [02:36:28]MH_SAM_APDU [02:36:28]CAPDU: 80 13 00 00 [02:36:28]Write to MH i2c: E2 08 00 D9 05 80 13 00 00 00 00 00 00 5A [02:36:28]Write i2c OK [02:36:28]MH_I2C_Read... [02:36:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:36:28]Read from MH i2c: E2 [02:36:28]MH_I2C_Read... [02:36:28]Read from MH i2c: E2 62 00 [02:36:28]MH_I2C_Read... [02:36:28]Read from MH i2c: E2 62 00 D9 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 48 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 E0 [02:36:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 34 35 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 35 32 39 36 38 10 04 04 00 48 4A 00 00 0E 04 04 00 B8 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:36:28]wFMCommunicate OK [02:36:28]SAM_PROTO_GetFieldsCounters done [02:36:28]requested_item shift.num is exist - process it [02:36:28]requested_item shift.opened is exist - process it [02:36:28]req_shift_opened [02:36:28]FM_GetShiftState [02:36:28]SAM_PROTO_GetShiftState [02:36:28]wFMCommunicate request_size=4 [02:36:28]MH_SAM_APDU [02:36:28]CAPDU: 80 13 01 00 [02:36:28]Write to MH i2c: E2 08 00 DA 05 80 13 01 00 00 00 00 00 5C [02:36:28]Write i2c OK [02:36:28]MH_I2C_Read... [02:36:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:36:28]Read from MH i2c: E2 [02:36:28]MH_I2C_Read... [02:36:28]Read from MH i2c: E2 0E 00 [02:36:28]MH_I2C_Read... [02:36:28]Read from MH i2c: E2 0E 00 DA 05 00 09 00 01 58 A7 F4 66 00 00 00 00 90 00 C1 [02:36:28]RAPDU: 09 00 01 58 A7 F4 66 00 00 00 00 90 00 [02:36:28]wFMCommunicate OK [02:36:28]SAM_PROTO_GetShiftState done [02:36:28]FM_GetShiftState done [02:36:28]req_shift_opened done [02:36:28]requested_item shift.open_date is exist - process it [02:36:28]req_shift_open_date [02:36:28]req_shift_open_date done [02:36:28]produce_requested_data done [02:36:28]produce_requested_data return {"fm.sn":"0000000000959456","fd.num":19016,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656} [02:36:28]process_action_free close_receipt [02:36:28]json_value_free [02:36:28]json_value_free done [02:36:28]process_json_proto returns [02:36:28]Send response to host [02:36:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959456","fd.num":19016,"shift.num":184,"shift.opened":1,"shift.open_date":1727309656}}} [02:36:28]free response buf [02:36:28]execute_script done [02:36:28]execute_script returns [02:36:28]free content buf [02:36:28]Sock 9.Close socket [02:36:28]Sock 9.Thread stoped [02:36:32]OFD Sender: No OFD packet to send [02:36:37]OFD Sender: No OFD packet to send [02:36:42]OFD Sender: No OFD packet to send [02:36:47]OFD Sender: No OFD packet to send [02:36:52]OFD Sender: No OFD packet to send [02:36:57]OFD Sender: No OFD packet to send [02:37:02]OFD Sender: No OFD packet to send [02:37:07]OFD Sender: No OFD packet to send [02:37:12]OFD Sender: No OFD packet to send [02:37:17]OFD Sender: No OFD packet to send [02:37:22]OFD Sender: No OFD packet to send [02:37:27]OFD Sender: No OFD packet to send [02:37:32]OFD Sender: No OFD packet to send [02:37:37]OFD Sender: No OFD packet to send [02:37:42]OFD Sender: No OFD packet to send [02:37:47]OFD Sender: No OFD packet to send [02:37:52]OFD Sender: No OFD packet to send [02:37:57]OFD Sender: No OFD packet to send [02:38:02]OFD Sender: No OFD packet to send [02:38:07]OFD Sender: No OFD packet to send [02:38:12]OFD Sender: No OFD packet to send [02:38:17]OFD Sender: No OFD packet to send [02:38:22]OFD Sender: No OFD packet to send [02:38:27]OFD Sender: No OFD packet to send [02:38:32]OFD Sender: No OFD packet to send [02:38:37]OFD Sender: No OFD packet to send [02:38:42]OFD Sender: No OFD packet to send [02:38:47]OFD Sender: No OFD packet to send [02:38:52]OFD Sender: No OFD packet to send [02:38:57]OFD Sender: No OFD packet to send [02:39:02]OFD Sender: No OFD packet to send [02:39:07]OFD Sender: No OFD packet to send [02:39:12]OFD Sender: No OFD packet to send [02:39:17]OFD Sender: No OFD packet to send [02:39:22]OFD Sender: No OFD packet to send [02:39:27]OFD Sender: No OFD packet to send [02:39:32]OFD Sender: No OFD packet to send [02:39:37]OFD Sender: No OFD packet to send [02:39:42]OFD Sender: No OFD packet to send [02:39:47]OFD Sender: No OFD packet to send [02:39:52]OFD Sender: No OFD packet to send [02:39:57]OFD Sender: No OFD packet to send [02:40:02]OFD Sender: No OFD packet to send [02:40:07]OFD Sender: No OFD packet to send [02:40:12]OFD Sender: No OFD packet to send [02:40:17]OFD Sender: No OFD packet to send [02:40:22]OFD Sender: No OFD packet to send [02:40:27]OFD Sender: No OFD packet to send [02:40:32]OFD Sender: No OFD packet to send [02:40:37]OFD Sender: No OFD packet to send [02:40:42]OFD Sender: No OFD packet to send [02:40:47]OFD Sender: No OFD packet to send [02:40:52]OFD Sender: No OFD packet to send [02:40:57]OFD Sender: No OFD packet to send [02:41:02]OFD Sender: No OFD packet to send [02:41:07]OFD Sender: No OFD packet to send [02:41:12]OFD Sender: No OFD packet to send [02:41:17]OFD Sender: No OFD packet to send [02:41:22]OFD Sender: No OFD packet to send [02:41:27]OFD Sender: No OFD packet to send [02:41:32]OFD Sender: No OFD packet to send [02:41:37]OFD Sender: No OFD packet to send [02:41:42]OFD Sender: No OFD packet to send [02:41:47]OFD Sender: No OFD packet to send [02:41:52]OFD Sender: No OFD packet to send [02:41:57]OFD Sender: No OFD packet to send [02:42:02]OFD Sender: No OFD packet to send [02:42:07]OFD Sender: No OFD packet to send [02:42:12]OFD Sender: No OFD packet to send [02:42:17]OFD Sender: No OFD packet to send [02:42:22]OFD Sender: No OFD packet to send [02:42:27]OFD Sender: No OFD packet to send [02:42:32]OFD Sender: No OFD packet to send [02:42:38]OFD Sender: No OFD packet to send [02:42:43]OFD Sender: No OFD packet to send [02:42:48]OFD Sender: No OFD packet to send [02:42:53]OFD Sender: No OFD packet to send [02:42:58]OFD Sender: No OFD packet to send [02:43:03]OFD Sender: No OFD packet to send [02:43:08]OFD Sender: No OFD packet to send [02:43:13]OFD Sender: No OFD packet to send [02:43:18]OFD Sender: No OFD packet to send [02:43:23]OFD Sender: No OFD packet to send [02:43:28]OFD Sender: No OFD packet to send [02:43:33]OFD Sender: No OFD packet to send [02:43:38]OFD Sender: No OFD packet to send [02:43:43]OFD Sender: No OFD packet to send [02:43:48]OFD Sender: No OFD packet to send [02:43:53]OFD Sender: No OFD packet to send [02:43:58]OFD Sender: No OFD packet to send [02:44:03]OFD Sender: No OFD packet to send [02:44:08]OFD Sender: No OFD packet to send [02:44:13]OFD Sender: No OFD packet to send [02:44:18]OFD Sender: No OFD packet to send [02:44:23]OFD Sender: No OFD packet to send [02:44:28]OFD Sender: No OFD packet to send [02:44:33]OFD Sender: No OFD packet to send [02:44:38]OFD Sender: No OFD packet to send [02:44:43]OFD Sender: No OFD packet to send [02:44:48]OFD Sender: No OFD packet to send [02:44:53]OFD Sender: No OFD packet to send [02:44:58]OFD Sender: No OFD packet to send [02:45:03]OFD Sender: No OFD packet to send [02:45:08]OFD Sender: No OFD packet to send [02:45:13]OFD Sender: No OFD packet to send [02:45:18]OFD Sender: No OFD packet to send [02:45:23]OFD Sender: No OFD packet to send [02:45:28]OFD Sender: No OFD packet to send [02:45:33]OFD Sender: No OFD packet to send [02:45:38]OFD Sender: No OFD packet to send [02:45:43]OFD Sender: No OFD packet to send [02:45:48]OFD Sender: No OFD packet to send [02:45:53]OFD Sender: No OFD packet to send [02:45:58]OFD Sender: No OFD packet to send [02:46:03]OFD Sender: No OFD packet to send [02:46:08]OFD Sender: No OFD packet to send [02:46:13]OFD Sender: No OFD packet to send [02:46:18]OFD Sender: No OFD packet to send [02:46:23]OFD Sender: No OFD packet to send [02:46:28]OFD Sender: No OFD packet to send [02:46:33]OFD Sender: No OFD packet to send [02:46:38]OFD Sender: No OFD packet to send [02:46:43]OFD Sender: No OFD packet to send [02:46:48]OFD Sender: No OFD packet to send [02:46:53]OFD Sender: No OFD packet to send [02:46:58]OFD Sender: No OFD packet to send [02:47:03]OFD Sender: No OFD packet to send [02:47:08]OFD Sender: No OFD packet to send [02:47:13]OFD Sender: No OFD packet to send [02:47:18]OFD Sender: No OFD packet to send [02:47:23]OFD Sender: No OFD packet to send [02:47:28]OFD Sender: No OFD packet to send [02:47:33]OFD Sender: No OFD packet to send [02:47:38]OFD Sender: No OFD packet to send [02:47:43]OFD Sender: No OFD packet to send [02:47:48]OFD Sender: No OFD packet to send [02:47:53]OFD Sender: No OFD packet to send [02:47:58]OFD Sender: No OFD packet to send [02:48:03]OFD Sender: No OFD packet to send [02:48:08]OFD Sender: No OFD packet to send [02:48:13]OFD Sender: No OFD packet to send [02:48:18]OFD Sender: No OFD packet to send [02:48:23]OFD Sender: No OFD packet to send [02:48:28]OFD Sender: No OFD packet to send [02:48:33]OFD Sender: No OFD packet to send [02:48:38]OFD Sender: No OFD packet to send [02:48:43]OFD Sender: No OFD packet to send [02:48:48]OFD Sender: No OFD packet to send [02:48:53]OFD Sender: No OFD packet to send [02:48:58]OFD Sender: No OFD packet to send [02:49:03]OFD Sender: No OFD packet to send [02:49:08]OFD Sender: No OFD packet to send [02:49:13]OFD Sender: No OFD packet to send [02:49:18]OFD Sender: No OFD packet to send [02:49:23]OFD Sender: No OFD packet to send [02:49:28]OFD Sender: No OFD packet to send [02:49:33]OFD Sender: No OFD packet to send [02:49:38]OFD Sender: No OFD packet to send [02:49:43]OFD Sender: No OFD packet to send [02:49:48]OFD Sender: No OFD packet to send [02:49:53]OFD Sender: No OFD packet to send [02:49:58]OFD Sender: No OFD packet to send [02:50:03]OFD Sender: No OFD packet to send [02:50:08]OFD Sender: No OFD packet to send [02:50:13]OFD Sender: No OFD packet to send [02:50:18]OFD Sender: No OFD packet to send [02:50:23]OFD Sender: No OFD packet to send [02:50:28]OFD Sender: No OFD packet to send [02:50:33]OFD Sender: No OFD packet to send [02:50:38]OFD Sender: No OFD packet to send [02:50:43]OFD Sender: No OFD packet to send [02:50:48]OFD Sender: No OFD packet to send [02:50:53]OFD Sender: No OFD packet to send [02:50:58]OFD Sender: No OFD packet to send [02:51:03]OFD Sender: No OFD packet to send [02:51:08]OFD Sender: No OFD packet to send [02:51:13]OFD Sender: No OFD packet to send [02:51:18]OFD Sender: No OFD packet to send [02:51:23]OFD Sender: No OFD packet to send [02:51:28]OFD Sender: No OFD packet to send [02:51:33]OFD Sender: No OFD packet to send [02:51:38]OFD Sender: No OFD packet to send [02:51:43]OFD Sender: No OFD packet to send [02:51:48]OFD Sender: No OFD packet to send [02:51:53]OFD Sender: No OFD packet to send [02:51:58]OFD Sender: No OFD packet to send [02:52:03]OFD Sender: No OFD packet to send [02:52:08]OFD Sender: No OFD packet to send [02:52:13]OFD Sender: No OFD packet to send [02:52:18]OFD Sender: No OFD packet to send [02:52:23]OFD Sender: No OFD packet to send [02:52:28]OFD Sender: No OFD packet to send [02:52:33]OFD Sender: No OFD packet to send [02:52:38]OFD Sender: No OFD packet to send [02:52:43]OFD Sender: No OFD packet to send [02:52:48]OFD Sender: No OFD packet to send [02:52:53]OFD Sender: No OFD packet to send [02:52:58]OFD Sender: No OFD packet to send [02:53:03]OFD Sender: No OFD packet to send [02:53:08]OFD Sender: No OFD packet to send [02:53:13]OFD Sender: No OFD packet to send [02:53:18]OFD Sender: No OFD packet to send [02:53:23]OFD Sender: No OFD packet to send [02:53:28]OFD Sender: No OFD packet to send [02:53:33]OFD Sender: No OFD packet to send [02:53:38]OFD Sender: No OFD packet to send [02:53:43]OFD Sender: No OFD packet to send [02:53:48]OFD Sender: No OFD packet to send [02:53:53]OFD Sender: No OFD packet to send [02:53:58]OFD Sender: No OFD packet to send [02:54:03]OFD Sender: No OFD packet to send [02:54:08]OFD Sender: No OFD packet to send [02:54:13]OFD Sender: No OFD packet to send [02:54:18]OFD Sender: No OFD packet to send [02:54:23]OFD Sender: No OFD packet to send [02:54:28]OFD Sender: No OFD packet to send [02:54:33]OFD Sender: No OFD packet to send [02:54:38]OFD Sender: No OFD packet to send [02:54:43]OFD Sender: No OFD packet to send [02:54:48]OFD Sender: No OFD packet to send [02:54:53]OFD Sender: No OFD packet to send [02:54:58]OFD Sender: No OFD packet to send [02:55:03]OFD Sender: No OFD packet to send [02:55:08]OFD Sender: No OFD packet to send [02:55:13]OFD Sender: No OFD packet to send [02:55:18]OFD Sender: No OFD packet to send [02:55:23]OFD Sender: No OFD packet to send [02:55:28]OFD Sender: No OFD packet to send [02:55:33]OFD Sender: No OFD packet to send [02:55:38]OFD Sender: No OFD packet to send [02:55:43]OFD Sender: No OFD packet to send [02:55:48]OFD Sender: No OFD packet to send [02:55:53]OFD Sender: No OFD packet to send [02:55:58]OFD Sender: No OFD packet to send [02:56:03]OFD Sender: No OFD packet to send [02:56:08]OFD Sender: No OFD packet to send [02:56:13]OFD Sender: No OFD packet to send [02:56:18]OFD Sender: No OFD packet to send [02:56:23]OFD Sender: No OFD packet to send [02:56:28]OFD Sender: No OFD packet to send [02:56:33]OFD Sender: No OFD packet to send [02:56:38]OFD Sender: No OFD packet to send [02:56:43]OFD Sender: No OFD packet to send [02:56:48]OFD Sender: No OFD packet to send [02:56:53]OFD Sender: No OFD packet to send [02:56:58]OFD Sender: No OFD packet to send [02:57:03]OFD Sender: No OFD packet to send [02:57:08]OFD Sender: No OFD packet to send [02:57:13]OFD Sender: No OFD packet to send [02:57:18]OFD Sender: No OFD packet to send [02:57:23]OFD Sender: No OFD packet to send [02:57:28]OFD Sender: No OFD packet to send [02:57:33]OFD Sender: No OFD packet to send [02:57:38]OFD Sender: No OFD packet to send [02:57:43]OFD Sender: No OFD packet to send [02:57:48]OFD Sender: No OFD packet to send [02:57:53]OFD Sender: No OFD packet to send [02:57:58]OFD Sender: No OFD packet to send [02:58:03]OFD Sender: No OFD packet to send [02:58:08]OFD Sender: No OFD packet to send [02:58:13]OFD Sender: No OFD packet to send [02:58:18]OFD Sender: No OFD packet to send [02:58:23]OFD Sender: No OFD packet to send [02:58:28]OFD Sender: No OFD packet to send [02:58:33]OFD Sender: No OFD packet to send [02:58:38]OFD Sender: No OFD packet to send [02:58:43]OFD Sender: No OFD packet to send [02:58:48]OFD Sender: No OFD packet to send [02:58:53]OFD Sender: No OFD packet to send [02:58:58]OFD Sender: No OFD packet to send [02:59:03]OFD Sender: No OFD packet to send [02:59:08]OFD Sender: No OFD packet to send [02:59:13]OFD Sender: No OFD packet to send [02:59:18]OFD Sender: No OFD packet to send [02:59:23]OFD Sender: No OFD packet to send [02:59:28]OFD Sender: No OFD packet to send [02:59:33]OFD Sender: No OFD packet to send [02:59:38]OFD Sender: No OFD packet to send [02:59:43]OFD Sender: No OFD packet to send [02:59:48]OFD Sender: No OFD packet to send [02:59:53]OFD Sender: No OFD packet to send [02:59:58]OFD Sender: No OFD packet to send [03:00:03]OFD Sender: No OFD packet to send [03:00:08]OFD Sender: No OFD packet to send [03:00:13]OFD Sender: No OFD packet to send [03:00:18]OFD Sender: No OFD packet to send [03:00:23]OFD Sender: No OFD packet to send [03:00:28]OFD Sender: No OFD packet to send [03:00:33]OFD Sender: No OFD packet to send [03:00:38]OFD Sender: No OFD packet to send [03:00:43]OFD Sender: No OFD packet to send [03:00:48]OFD Sender: No OFD packet to send [03:00:53]OFD Sender: No OFD packet to send [03:00:58]OFD Sender: No OFD packet to send [03:01:03]OFD Sender: No OFD packet to send [03:01:08]OFD Sender: No OFD packet to send [03:01:13]OFD Sender: No OFD packet to send [03:01:18]OFD Sender: No OFD packet to send [03:01:23]OFD Sender: No OFD packet to send [03:01:28]OFD Sender: No OFD packet to send [03:01:33]OFD Sender: No OFD packet to send [03:01:38]OFD Sender: No OFD packet to send [03:01:43]OFD Sender: No OFD packet to send [03:01:48]OFD Sender: No OFD packet to send [03:01:53]OFD Sender: No OFD packet to send [03:01:58]OFD Sender: No OFD packet to send [03:02:03]OFD Sender: No OFD packet to send [03:02:08]OFD Sender: No OFD packet to send [03:02:13]OFD Sender: No OFD packet to send [03:02:18]OFD Sender: No OFD packet to send [03:02:23]OFD Sender: No OFD packet to send [03:02:28]OFD Sender: No OFD packet to send [03:02:33]OFD Sender: No OFD packet to send [03:02:38]OFD Sender: No OFD packet to send [03:02:43]OFD Sender: No OFD packet to send [03:02:48]OFD Sender: No OFD packet to send [03:02:53]OFD Sender: No OFD packet to send [03:02:58]OFD Sender: No OFD packet to send [03:03:03]OFD Sender: No OFD packet to send [03:03:08]OFD Sender: No OFD packet to send [03:03:13]OFD Sender: No OFD packet to send [03:03:18]OFD Sender: No OFD packet to send [03:03:23]OFD Sender: No OFD packet to send [03:03:28]OFD Sender: No OFD packet to send [03:03:33]OFD Sender: No OFD packet to send [03:03:38]OFD Sender: No OFD packet to send [03:03:43]OFD Sender: No OFD packet to send [03:03:48]OFD Sender: No OFD packet to send [03:03:53]OFD Sender: No OFD packet to send [03:03:58]OFD Sender: No OFD packet to send [03:04:03]OFD Sender: No OFD packet to send [03:04:09]OFD Sender: No OFD packet to send [03:04:14]OFD Sender: No OFD packet to send [03:04:19]OFD Sender: No OFD packet to send [03:04:24]OFD Sender: No OFD packet to send [03:04:29]OFD Sender: No OFD packet to send [03:04:34]OFD Sender: No OFD packet to send [03:04:39]OFD Sender: No OFD packet to send [03:04:44]OFD Sender: No OFD packet to send [03:04:49]OFD Sender: No OFD packet to send [03:04:54]OFD Sender: No OFD packet to send [03:04:59]OFD Sender: No OFD packet to send [03:05:04]OFD Sender: No OFD packet to send [03:05:09]OFD Sender: No OFD packet to send [03:05:14]OFD Sender: No OFD packet to send [03:05:19]OFD Sender: No OFD packet to send [03:05:24]OFD Sender: No OFD packet to send [03:05:29]OFD Sender: No OFD packet to send [03:05:34]OFD Sender: No OFD packet to send [03:05:39]OFD Sender: No OFD packet to send [03:05:44]OFD Sender: No OFD packet to send [03:05:49]OFD Sender: No OFD packet to send [03:05:54]OFD Sender: No OFD packet to send [03:05:59]OFD Sender: No OFD packet to send [03:06:04]OFD Sender: No OFD packet to send [03:06:09]OFD Sender: No OFD packet to send [03:06:14]OFD Sender: No OFD packet to send [03:06:19]OFD Sender: No OFD packet to send [03:06:24]OFD Sender: No OFD packet to send [03:06:29]OFD Sender: No OFD packet to send [03:06:34]OFD Sender: No OFD packet to send [03:06:39]OFD Sender: No OFD packet to send [03:06:44]OFD Sender: No OFD packet to send [03:06:49]OFD Sender: No OFD packet to send [03:06:54]OFD Sender: No OFD packet to send [03:06:59]OFD Sender: No OFD packet to send [03:07:04]OFD Sender: No OFD packet to send [03:07:09]OFD Sender: No OFD packet to send [03:07:14]OFD Sender: No OFD packet to send [03:07:19]OFD Sender: No OFD packet to send [03:07:24]OFD Sender: No OFD packet to send [03:07:29]OFD Sender: No OFD packet to send [03:07:34]OFD Sender: No OFD packet to send [03:07:39]OFD Sender: No OFD packet to send [03:07:44]OFD Sender: No OFD packet to send [03:07:49]OFD Sender: No OFD packet to send [03:07:54]OFD Sender: No OFD packet to send [03:07:59]OFD Sender: No OFD packet to send [03:08:04]OFD Sender: No OFD packet to send [03:08:09]OFD Sender: No OFD packet to send [03:08:14]OFD Sender: No OFD packet to send [03:08:19]OFD Sender: No OFD packet to send [03:08:24]OFD Sender: No OFD packet to send [03:08:29]OFD Sender: No OFD packet to send [03:08:34]OFD Sender: No OFD packet to send [03:08:39]OFD Sender: No OFD packet to send [03:08:44]OFD Sender: No OFD packet to send [03:08:49]OFD Sender: No OFD packet to send [03:08:54]OFD Sender: No OFD packet to send [03:08:59]OFD Sender: No OFD packet to send [03:09:04]OFD Sender: No OFD packet to send [03:09:09]OFD Sender: No OFD packet to send [03:09:14]OFD Sender: No OFD packet to send [03:09:19]OFD Sender: No OFD packet to send [03:09:24]OFD Sender: No OFD packet to send [03:09:29]OFD Sender: No OFD packet to send [03:09:34]OFD Sender: No OFD packet to send