[03:22:31]OFD Sender: No OFD packet to send [03:22:36]OFD Sender: No OFD packet to send [03:22:41]OFD Sender: No OFD packet to send [03:22:46]OFD Sender: No OFD packet to send [03:22:51]OFD Sender: No OFD packet to send [03:22:56]OFD Sender: No OFD packet to send [03:23:01]OFD Sender: No OFD packet to send [03:23:06]OFD Sender: No OFD packet to send [03:23:11]OFD Sender: No OFD packet to send [03:23:16]OFD Sender: No OFD packet to send [03:23:21]OFD Sender: No OFD packet to send [03:23:26]OFD Sender: No OFD packet to send [03:23:31]OFD Sender: No OFD packet to send [03:23:36]OFD Sender: No OFD packet to send [03:23:41]OFD Sender: No OFD packet to send [03:23:46]OFD Sender: No OFD packet to send [03:23:51]OFD Sender: No OFD packet to send [03:23:56]OFD Sender: No OFD packet to send [03:24:01]OFD Sender: No OFD packet to send [03:24:06]OFD Sender: No OFD packet to send [03:24:11]OFD Sender: No OFD packet to send [03:24:16]OFD Sender: No OFD packet to send [03:24:21]OFD Sender: No OFD packet to send [03:24:26]OFD Sender: No OFD packet to send [03:24:31]OFD Sender: No OFD packet to send [03:24:36]OFD Sender: No OFD packet to send [03:24:41]OFD Sender: No OFD packet to send [03:24:46]OFD Sender: No OFD packet to send [03:24:51]OFD Sender: No OFD packet to send [03:24:56]OFD Sender: No OFD packet to send [03:25:01]OFD Sender: No OFD packet to send [03:25:06]OFD Sender: No OFD packet to send [03:25:11]OFD Sender: No OFD packet to send [03:25:16]OFD Sender: No OFD packet to send [03:25:21]OFD Sender: No OFD packet to send [03:25:26]OFD Sender: No OFD packet to send [03:25:31]OFD Sender: No OFD packet to send [03:25:36]OFD Sender: No OFD packet to send [03:25:41]OFD Sender: No OFD packet to send [03:25:46]OFD Sender: No OFD packet to send [03:25:51]OFD Sender: No OFD packet to send [03:25:56]OFD Sender: No OFD packet to send [03:26:01]OFD Sender: No OFD packet to send [03:26:06]OFD Sender: No OFD packet to send [03:26:11]OFD Sender: No OFD packet to send [03:26:16]OFD Sender: No OFD packet to send [03:26:21]OFD Sender: No OFD packet to send [03:26:26]OFD Sender: No OFD packet to send [03:26:31]OFD Sender: No OFD packet to send [03:26:36]OFD Sender: No OFD packet to send [03:26:41]OFD Sender: No OFD packet to send [03:26:46]OFD Sender: No OFD packet to send [03:26:51]OFD Sender: No OFD packet to send [03:26:56]OFD Sender: No OFD packet to send [03:27:01]OFD Sender: No OFD packet to send [03:27:06]OFD Sender: No OFD packet to send [03:27:11]OFD Sender: No OFD packet to send [03:27:16]OFD Sender: No OFD packet to send [03:27:21]OFD Sender: No OFD packet to send [03:27:26]OFD Sender: No OFD packet to send [03:27:31]OFD Sender: No OFD packet to send [03:27:36]OFD Sender: No OFD packet to send [03:27:41]OFD Sender: No OFD packet to send [03:27:46]OFD Sender: No OFD packet to send [03:27:51]OFD Sender: No OFD packet to send [03:27:56]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:27]OFD Sender: No OFD packet to send [03:38:32]OFD Sender: No OFD packet to send [03:38:37]OFD Sender: No OFD packet to send [03:38:42]OFD Sender: No OFD packet to send [03:38:47]OFD Sender: No OFD packet to send [03:38:52]OFD Sender: No OFD packet to send [03:38:57]OFD Sender: No OFD packet to send [03:39:02]OFD Sender: No OFD packet to send [03:39:07]OFD Sender: No OFD packet to send [03:39:12]OFD Sender: No OFD packet to send [03:39:17]OFD Sender: No OFD packet to send [03:39:22]OFD Sender: No OFD packet to send [03:39:27]OFD Sender: No OFD packet to send [03:39:32]OFD Sender: No OFD packet to send [03:39:37]OFD Sender: No OFD packet to send [03:39:42]OFD Sender: No OFD packet to send [03:39:47]OFD Sender: No OFD packet to send [03:39:52]OFD Sender: No OFD packet to send [03:39:57]OFD Sender: No OFD packet to send [03:40:02]OFD Sender: No OFD packet to send [03:40:07]OFD Sender: No OFD packet to send [03:40:12]OFD Sender: No OFD packet to send [03:40:17]OFD Sender: No OFD packet to send [03:40:22]OFD Sender: No OFD packet to send [03:40:27]OFD Sender: No OFD packet to send [03:40:32]OFD Sender: No OFD packet to send [03:40:37]OFD Sender: No OFD packet to send [03:40:42]OFD Sender: No OFD packet to send [03:40:47]OFD Sender: No OFD packet to send [03:40:52]OFD Sender: No OFD packet to send [03:40:57]OFD Sender: No OFD packet to send [03:41:02]OFD Sender: No OFD packet to send [03:41:07]OFD Sender: No OFD packet to send [03:41:12]OFD Sender: No OFD packet to send [03:41:17]OFD Sender: No OFD packet to send [03:41:22]OFD Sender: No OFD packet to send [03:41:27]OFD Sender: No OFD packet to send [03:41:32]OFD Sender: No OFD packet to send [03:41:37]OFD Sender: No OFD packet to send [03:41:42]OFD Sender: No OFD packet to send [03:41:47]OFD Sender: No OFD packet to send [03:41:52]OFD Sender: No OFD packet to send [03:41:57]OFD Sender: No OFD packet to send [03:42:02]OFD Sender: No OFD packet to send [03:42:07]OFD Sender: No OFD packet to send [03:42:12]OFD Sender: No OFD packet to send [03:42:17]OFD Sender: No OFD packet to send [03:42:22]OFD Sender: No OFD packet to send [03:42:27]OFD Sender: No OFD packet to send [03:42:32]OFD Sender: No OFD packet to send [03:42:37]OFD Sender: No OFD packet to send [03:42:42]OFD Sender: No OFD packet to send [03:42:47]OFD Sender: No OFD packet to send [03:42:52]OFD Sender: No OFD packet to send [03:42:57]OFD Sender: No OFD packet to send [03:43:02]OFD Sender: No OFD packet to send [03:43:07]OFD Sender: No OFD packet to send [03:43:12]OFD Sender: No OFD packet to send [03:43:17]OFD Sender: No OFD packet to send [03:43:22]OFD Sender: No OFD packet to send [03:43:27]OFD Sender: No OFD packet to send [03:43:32]OFD Sender: No OFD packet to send [03:43:37]OFD Sender: No OFD packet to send [03:43:42]OFD Sender: No OFD packet to send [03:43:47]OFD Sender: No OFD packet to send [03:43:52]OFD Sender: No OFD packet to send [03:43:57]OFD Sender: No OFD packet to send [03:44:02]OFD Sender: No OFD packet to send [03:44:07]OFD Sender: No OFD packet to send [03:44:12]OFD Sender: No OFD packet to send [03:44:17]OFD Sender: No OFD packet to send [03:44:22]OFD Sender: No OFD packet to send [03:44:27]OFD Sender: No OFD packet to send [03:44:32]OFD Sender: No OFD packet to send [03:44:37]OFD Sender: No OFD packet to send [03:44:42]OFD Sender: No OFD packet to send [03:44:47]OFD Sender: No OFD packet to send [03:44:52]OFD Sender: No OFD packet to send [03:44:57]OFD Sender: No OFD packet to send [03:45:02]OFD Sender: No OFD packet to send [03:45:07]OFD Sender: No OFD packet to send [03:45:12]OFD Sender: No OFD packet to send [03:45:17]OFD Sender: No OFD packet to send [03:45:22]OFD Sender: No OFD packet to send [03:45:27]OFD Sender: No OFD packet to send [03:45:32]OFD Sender: No OFD packet to send [03:45:37]OFD Sender: No OFD packet to send [03:45:42]OFD Sender: No OFD packet to send [03:45:47]OFD Sender: No OFD packet to send [03:45:52]OFD Sender: No OFD packet to send [03:45:57]OFD Sender: No OFD packet to send [03:46:02]OFD Sender: No OFD packet to send [03:46:07]OFD Sender: No OFD packet to send [03:46:12]OFD Sender: No OFD packet to send [03:46:17]OFD Sender: No OFD packet to send [03:46:22]OFD Sender: No OFD packet to send [03:46:27]OFD Sender: No OFD packet to send [03:46:32]OFD Sender: No OFD packet to send [03:46:37]OFD Sender: No OFD packet to send [03:46:42]OFD Sender: No OFD packet to send [03:46:47]OFD Sender: No OFD packet to send [03:46:52]OFD Sender: No OFD packet to send [03:46:57]OFD Sender: No OFD packet to send [03:47:02]OFD Sender: No OFD packet to send [03:47:07]OFD Sender: No OFD packet to send [03:47:12]OFD Sender: No OFD packet to send [03:47:17]OFD Sender: No OFD packet to send [03:47:22]OFD Sender: No OFD packet to send [03:47:27]OFD Sender: No OFD packet to send [03:47:32]OFD Sender: No OFD packet to send [03:47:37]OFD Sender: No OFD packet to send [03:47:42]OFD Sender: No OFD packet to send [03:47:47]OFD Sender: No OFD packet to send [03:47:52]OFD Sender: No OFD packet to send [03:47:57]OFD Sender: No OFD packet to send [03:48:02]OFD Sender: No OFD packet to send [03:48:07]OFD Sender: No OFD packet to send [03:48:12]OFD Sender: No OFD packet to send [03:48:17]OFD Sender: No OFD packet to send [03:48:22]OFD Sender: No OFD packet to send [03:48:27]OFD Sender: No OFD packet to send [03:48:32]OFD Sender: No OFD packet to send [03:48:37]OFD Sender: No OFD packet to send [03:48:42]OFD Sender: No OFD packet to send [03:48:47]OFD Sender: No OFD packet to send [03:48:52]OFD Sender: No OFD packet to send [03:48:57]OFD Sender: No OFD packet to send [03:49:02]OFD Sender: No OFD packet to send [03:49:07]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:58]OFD Sender: No OFD packet to send [04:00:03]OFD Sender: No OFD packet to send [04:00:08]OFD Sender: No OFD packet to send [04:00:13]OFD Sender: No OFD packet to send [04:00:18]OFD Sender: No OFD packet to send [04:00:23]OFD Sender: No OFD packet to send [04:00:28]OFD Sender: No OFD packet to send [04:00:33]OFD Sender: No OFD packet to send [04:00:38]OFD Sender: No OFD packet to send [04:00:43]OFD Sender: No OFD packet to send [04:00:48]OFD Sender: No OFD packet to send [04:00:53]OFD Sender: No OFD packet to send [04:00:58]OFD Sender: No OFD packet to send [04:01:03]OFD Sender: No OFD packet to send [04:01:08]OFD Sender: No OFD packet to send [04:01:13]OFD Sender: No OFD packet to send [04:01:18]OFD Sender: No OFD packet to send [04:01:23]OFD Sender: No OFD packet to send [04:01:28]OFD Sender: No OFD packet to send [04:01:33]OFD Sender: No OFD packet to send [04:01:38]OFD Sender: No OFD packet to send [04:01:43]OFD Sender: No OFD packet to send [04:01:48]OFD Sender: No OFD packet to send [04:01:53]OFD Sender: No OFD packet to send [04:01:58]OFD Sender: No OFD packet to send [04:02:03]OFD Sender: No OFD packet to send [04:02:08]OFD Sender: No OFD packet to send [04:02:13]OFD Sender: No OFD packet to send [04:02:18]OFD Sender: No OFD packet to send [04:02:23]OFD Sender: No OFD packet to send [04:02:28]OFD Sender: No OFD packet to send [04:02:33]OFD Sender: No OFD packet to send [04:02:38]OFD Sender: No OFD packet to send [04:02:43]OFD Sender: No OFD packet to send [04:02:48]OFD Sender: No OFD packet to send [04:02:53]OFD Sender: No OFD packet to send [04:02:58]OFD Sender: No OFD packet to send [04:03:03]OFD Sender: No OFD packet to send [04:03:08]OFD Sender: No OFD packet to send [04:03:13]OFD Sender: No OFD packet to send [04:03:18]OFD Sender: No OFD packet to send [04:03:23]OFD Sender: No OFD packet to send [04:03:28]OFD Sender: No OFD packet to send [04:03:33]OFD Sender: No OFD packet to send [04:03:38]OFD Sender: No OFD packet to send [04:03:43]OFD Sender: No OFD packet to send [04:03:48]OFD Sender: No OFD packet to send [04:03:53]OFD Sender: No OFD packet to send [04:03:58]OFD Sender: No OFD packet to send [04:04:03]OFD Sender: No OFD packet to send [04:04:08]OFD Sender: No OFD packet to send [04:04:13]OFD Sender: No OFD packet to send [04:04:18]OFD Sender: No OFD packet to send [04:04:23]OFD Sender: No OFD packet to send [04:04:28]OFD Sender: No OFD packet to send [04:04:33]OFD Sender: No OFD packet to send [04:04:38]OFD Sender: No OFD packet to send [04:04:43]OFD Sender: No OFD packet to send [04:04:48]OFD Sender: No OFD packet to send [04:04:53]OFD Sender: No OFD packet to send [04:04:58]OFD Sender: No OFD packet to send [04:05:03]OFD Sender: No OFD packet to send [04:05:08]OFD Sender: No OFD packet to send [04:05:13]OFD Sender: No OFD packet to send [04:05:18]OFD Sender: No OFD packet to send [04:05:23]OFD Sender: No OFD packet to send [04:05:28]OFD Sender: No OFD packet to send [04:05:33]OFD Sender: No OFD packet to send [04:05:38]OFD Sender: No OFD packet to send [04:05:43]OFD Sender: No OFD packet to send [04:05:48]OFD Sender: No OFD packet to send [04:05:53]OFD Sender: No OFD packet to send [04:05:58]OFD Sender: No OFD packet to send [04:06:03]OFD Sender: No OFD packet to send [04:06:08]OFD Sender: No OFD packet to send [04:06:13]OFD Sender: No OFD packet to send [04:06:18]OFD Sender: No OFD packet to send [04:06:23]OFD Sender: No OFD packet to send [04:06:28]OFD Sender: No OFD packet to send [04:06:33]OFD Sender: No OFD packet to send [04:06:38]OFD Sender: No OFD packet to send [04:06:43]OFD Sender: No OFD packet to send [04:06:48]OFD Sender: No OFD packet to send [04:06:53]OFD Sender: No OFD packet to send [04:06:58]OFD Sender: No OFD packet to send [04:07:03]OFD Sender: No OFD packet to send [04:07:08]OFD Sender: No OFD packet to send [04:07:13]OFD Sender: No OFD packet to send [04:07:18]OFD Sender: No OFD packet to send [04:07:23]OFD Sender: No OFD packet to send [04:07:28]OFD Sender: No OFD packet to send [04:07:33]OFD Sender: No OFD packet to send [04:07:38]OFD Sender: No OFD packet to send [04:07:43]OFD Sender: No OFD packet to send [04:07:48]OFD Sender: No OFD packet to send [04:07:53]OFD Sender: No OFD packet to send [04:07:58]OFD Sender: No OFD packet to send [04:08:03]OFD Sender: No OFD packet to send [04:08:08]OFD Sender: No OFD packet to send [04:08:13]OFD Sender: No OFD packet to send [04:08:18]OFD Sender: No OFD packet to send [04:08:23]OFD Sender: No OFD packet to send [04:08:28]OFD Sender: No OFD packet to send [04:08:33]OFD Sender: No OFD packet to send [04:08:38]OFD Sender: No OFD packet to send [04:08:43]OFD Sender: No OFD packet to send [04:08:48]OFD Sender: No OFD packet to send [04:08:53]OFD Sender: No OFD packet to send [04:08:58]OFD Sender: No OFD packet to send [04:09:03]OFD Sender: No OFD packet to send [04:09:08]OFD Sender: No OFD packet to send [04:09:13]OFD Sender: No OFD packet to send [04:09:18]OFD Sender: No OFD packet to send [04:09:23]OFD Sender: No OFD packet to send [04:09:28]OFD Sender: No OFD packet to send [04:09:33]OFD Sender: No OFD packet to send [04:09:38]OFD Sender: No OFD packet to send [04:09:43]OFD Sender: No OFD packet to send [04:09:48]OFD Sender: No OFD packet to send [04:09:53]OFD Sender: No OFD packet to send [04:09:58]OFD Sender: No OFD packet to send [04:10:03]OFD Sender: No OFD packet to send [04:10:08]OFD Sender: No OFD packet to send [04:10:13]OFD Sender: No OFD packet to send [04:10:18]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:09]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: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:24]OFD Sender: No OFD packet to send [04:21:29]OFD Sender: No OFD packet to send [04:21:34]OFD Sender: No OFD packet to send [04:21:39]OFD Sender: No OFD packet to send [04:21:44]OFD Sender: No OFD packet to send [04:21:49]OFD Sender: No OFD packet to send [04:21:54]OFD Sender: No OFD packet to send [04:21:59]OFD Sender: No OFD packet to send [04:22:04]OFD Sender: No OFD packet to send [04:22:09]OFD Sender: No OFD packet to send [04:22:14]OFD Sender: No OFD packet to send [04:22:19]OFD Sender: No OFD packet to send [04:22:24]OFD Sender: No OFD packet to send [04:22:29]OFD Sender: No OFD packet to send [04:22:34]OFD Sender: No OFD packet to send [04:22:39]OFD Sender: No OFD packet to send [04:22:44]OFD Sender: No OFD packet to send [04:22:49]OFD Sender: No OFD packet to send [04:22:54]OFD Sender: No OFD packet to send [04:22:59]OFD Sender: No OFD packet to send [04:23:04]OFD Sender: No OFD packet to send [04:23:09]OFD Sender: No OFD packet to send [04:23:14]OFD Sender: No OFD packet to send [04:23:19]OFD Sender: No OFD packet to send [04:23:24]OFD Sender: No OFD packet to send [04:23:29]OFD Sender: No OFD packet to send [04:23:34]OFD Sender: No OFD packet to send [04:23:39]OFD Sender: No OFD packet to send [04:23:44]OFD Sender: No OFD packet to send [04:23:49]OFD Sender: No OFD packet to send [04:23:54]OFD Sender: No OFD packet to send [04:23:59]OFD Sender: No OFD packet to send [04:24:04]OFD Sender: No OFD packet to send [04:24:09]OFD Sender: No OFD packet to send [04:24:14]OFD Sender: No OFD packet to send [04:24:19]OFD Sender: No OFD packet to send [04:24:24]OFD Sender: No OFD packet to send [04:24:29]OFD Sender: No OFD packet to send [04:24:34]OFD Sender: No OFD packet to send [04:24:39]OFD Sender: No OFD packet to send [04:24:44]OFD Sender: No OFD packet to send [04:24:49]OFD Sender: No OFD packet to send [04:24:54]OFD Sender: No OFD packet to send [04:24:59]OFD Sender: No OFD packet to send [04:25:04]OFD Sender: No OFD packet to send [04:25:09]OFD Sender: No OFD packet to send [04:25:14]OFD Sender: No OFD packet to send [04:25:19]OFD Sender: No OFD packet to send [04:25:24]OFD Sender: No OFD packet to send [04:25:29]OFD Sender: No OFD packet to send [04:25:34]OFD Sender: No OFD packet to send [04:25:39]OFD Sender: No OFD packet to send [04:25:44]OFD Sender: No OFD packet to send [04:25:49]OFD Sender: No OFD packet to send [04:25:54]OFD Sender: No OFD packet to send [04:25:59]OFD Sender: No OFD packet to send [04:26:04]OFD Sender: No OFD packet to send [04:26:09]OFD Sender: No OFD packet to send [04:26:14]OFD Sender: No OFD packet to send [04:26:19]OFD Sender: No OFD packet to send [04:26:24]OFD Sender: No OFD packet to send [04:26:29]OFD Sender: No OFD packet to send [04:26:34]OFD Sender: No OFD packet to send [04:26:39]OFD Sender: No OFD packet to send [04:26:44]OFD Sender: No OFD packet to send [04:26:49]OFD Sender: No OFD packet to send [04:26:54]OFD Sender: No OFD packet to send [04:26:59]OFD Sender: No OFD packet to send [04:27:04]OFD Sender: No OFD packet to send [04:27:09]OFD Sender: No OFD packet to send [04:27:14]OFD Sender: No OFD packet to send [04:27:19]OFD Sender: No OFD packet to send [04:27:24]OFD Sender: No OFD packet to send [04:27:29]OFD Sender: No OFD packet to send [04:27:34]OFD Sender: No OFD packet to send [04:27:39]OFD Sender: No OFD packet to send [04:27:44]OFD Sender: No OFD packet to send [04:27:49]OFD Sender: No OFD packet to send [04:27:54]OFD Sender: No OFD packet to send [04:27:59]OFD Sender: No OFD packet to send [04:28:04]OFD Sender: No OFD packet to send [04:28:09]OFD Sender: No OFD packet to send [04:28:14]OFD Sender: No OFD packet to send [04:28:19]OFD Sender: No OFD packet to send [04:28:24]OFD Sender: No OFD packet to send [04:28:29]OFD Sender: No OFD packet to send [04:28:34]OFD Sender: No OFD packet to send [04:28:39]OFD Sender: No OFD packet to send [04:28:44]OFD Sender: No OFD packet to send [04:28:49]OFD Sender: No OFD packet to send [04:28:54]OFD Sender: No OFD packet to send [04:28:59]OFD Sender: No OFD packet to send [04:29:04]OFD Sender: No OFD packet to send [04:29:09]OFD Sender: No OFD packet to send [04:29:14]OFD Sender: No OFD packet to send [04:29:19]OFD Sender: No OFD packet to send [04:29:24]OFD Sender: No OFD packet to send [04:29:29]OFD Sender: No OFD packet to send [04:29:34]OFD Sender: No OFD packet to send [04:29:39]OFD Sender: No OFD packet to send [04:29:44]OFD Sender: No OFD packet to send [04:29:49]OFD Sender: No OFD packet to send [04:29:54]OFD Sender: No OFD packet to send [04:29:59]OFD Sender: No OFD packet to send [04:30:04]OFD Sender: No OFD packet to send [04:30:09]OFD Sender: No OFD packet to send [04:30:14]OFD Sender: No OFD packet to send [04:30:19]OFD Sender: No OFD packet to send [04:30:24]OFD Sender: No OFD packet to send [04:30:29]OFD Sender: No OFD packet to send [04:30:34]OFD Sender: No OFD packet to send [04:30:39]OFD Sender: No OFD packet to send [04:30:44]OFD Sender: No OFD packet to send [04:30:49]OFD Sender: No OFD packet to send [04:30:54]OFD Sender: No OFD packet to send [04:30:59]OFD Sender: No OFD packet to send [04:31:04]OFD Sender: No OFD packet to send [04:31:09]OFD Sender: No OFD packet to send [04:31:14]OFD Sender: No OFD packet to send [04:31:19]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:00]accept exits with 7 [04:35:00]New connection [04:35:00]New thread 3067387236 created [04:35:00]Thread 3067530596 joined [04:35:00]Waiting for new connection... [04:35:00] Sock 7.Parse request [04:35:00]Sock 7.Check first char [04:35:00]Sock 7.First char is OK [04:35:00]request: POST /json_proto HTTP/1.0 [04:35:00]Method: POST [04:35:00]URL: /json_proto [04:35:00]Method is POST - this is cgi request [04:35:00]url: /json_proto [04:35:00]query_string will be loaded in cgi processing [04:35:00]execute_cgi json_proto POST (null) [04:35:00]execute_cgi path=json_proto method=POST [04:35:00]POST find Content-Length [04:35:00]Host: 172.17.45.8:8080 [04:35:00]Content-Length: 903 [04:35:00]Content-Type: application/json [04:35:00] [04:35:00]POST finish read [04:35:00]Found Content-Length = 903 [04:35:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150427", "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 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:35:00]execute_script... [04:35: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)150427", "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 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:35:00]POST & json_proto [04:35:00]process_json_proto [04:35:00]json parsed OK: [04:35:00]protocol is kg_v1.0 [04:35:00]action value=close_receipt [04:35:00]process_action close_receipt [04:35:00]cmd_close_receipt [04:35:00]MH_GetDate [04:35:00]Write to MH i2c: F0 00 00 E2 0D DE [04:35:00]Write i2c OK [04:35:00]MH_I2C_Read... [04:35:00]Read from MH i2c: F0 [04:35:00]MH_I2C_Read... [04:35:00]Read from MH i2c: F0 09 00 [04:35:00]MH_I2C_Read... [04:35:00]Read from MH i2c: F0 09 00 E2 0D 00 77 CA A5 66 A6 1F 7F 64 DB [04:35:00]GetLastDocTimeStamp 1722136175 [04:35:00]current date 1722141303 [04:35:00]FM_GetShiftState [04:35:00]SAM_PROTO_GetShiftState [04:35:00]wFMCommunicate request_size=4 [04:35:00]MH_SAM_APDU [04:35:00]CAPDU: 80 13 01 00 [04:35:00]Write to MH i2c: E2 08 00 E3 0D 80 13 01 00 00 00 00 00 6D [04:35:00]Write i2c OK [04:35:00]MH_I2C_Read... [04:35:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:35:00]Read from MH i2c: E2 [04:35:00]MH_I2C_Read... [04:35:00]Read from MH i2c: E2 0E 00 [04:35:00]MH_I2C_Read... [04:35:00]Read from MH i2c: E2 0E 00 E3 0D 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 95 [04:35:00]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [04:35:00]wFMCommunicate OK [04:35:00]SAM_PROTO_GetShiftState done [04:35:00]FM_GetShiftState done [04:35:00]opened in 1722127230 [04:35:00]opened+sec_in_day 1722213630 [04:35:00]quantity*price = 8500 [04:35:00]sum+1 = 8501 [04:35:00]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 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 7 28.07.2024 04:35 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27029 ФПД: 248018033787635 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T043503&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27029&fm=248018033787635&tin=02508201610067®Number=0000000000092663&sum=13500 0 [04:35:02]StoreToDocumentArchive [04:35:02]shift 433 fd 27029 [04:35:02]save to /storage/0433/doc_00027029 [04:35:02]save last doc name /storage/0433/doc_00027029 to /storage/kkm_last_doc_name [04:35:02]save OK [04:35:02]Clear old archive folders... [04:35:02]ProcessDocumentItem done err = 0, tmpTLVsize=393 [04:35:02]tlvbuf is 018080B0 [04:35:02]SAM_PROTO_ClearQueue [04:35:02]wFMCommunicate request_size=4 [04:35:02]MH_SAM_APDU [04:35:02]CAPDU: 80 09 00 00 [04:35:02]Write to MH i2c: E2 08 00 F0 0D 80 09 00 00 00 00 00 00 6F [04:35:02]Write i2c OK [04:35:02]MH_I2C_Read... [04:35:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:35:02]Read from MH i2c: E2 [04:35:02]MH_I2C_Read... [04:35:02]Read from MH i2c: E2 03 00 [04:35:02]MH_I2C_Read... [04:35:02]Read from MH i2c: E2 03 00 F0 0D 00 90 00 71 [04:35:02]RAPDU: 90 00 [04:35:02]wFMCommunicate OK [04:35:02]SAM_PROTO_ClearQueue done [04:35:02]KKMCreateOFDPacket [04:35:02]OFDProtocolAddRootSTLVToBuf [04:35:02]FM_MakeSignedData [04:35:02]FM_MakeSignedData [04:35:02]SAM_PROTO_SignData [04:35:02]wFMCommunicate request_size=4 [04:35:02]MH_SAM_APDU [04:35:02]CAPDU: 80 0D 01 02 [04:35:02]Write to MH i2c: E2 08 00 F1 0D 80 0D 01 02 00 00 00 00 77 [04:35:02]Write i2c OK [04:35:02]MH_I2C_Read... [04:35:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:35:02]Read from MH i2c: E2 [04:35:02]MH_I2C_Read... [04:35:02]Read from MH i2c: E2 03 00 [04:35:02]MH_I2C_Read... [04:35:02]Read from MH i2c: E2 03 00 F1 0D 00 90 00 72 [04:35:02]RAPDU: 90 00 [04:35:02]wFMCommunicate OK [04:35:02]wFMCommunicate request_size=255 [04:35:02]MH_SAM_APDU [04:35:02]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 [04:35:02]Write to MH i2c: E2 02 01 F2 0D 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 2D [04:35:02]Write i2c OK [04:35:02]MH_I2C_Read... [04:35:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:35:02]Read from MH i2c: E2 [04:35:02]MH_I2C_Read... [04:35:02]Read from MH i2c: E2 03 00 [04:35:02]MH_I2C_Read... [04:35:02]Read from MH i2c: E2 03 00 F2 0D 00 90 00 73 [04:35:02]RAPDU: 90 00 [04:35:02]wFMCommunicate OK [04:35:02]wFMCommunicate request_size=152 [04:35:02]MH_SAM_APDU [04:35:02]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 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 77 CA A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 95 69 00 00 35 04 06 00 E1 92 32 CD 42 F3 [04:35:02]Write to MH i2c: E2 9B 00 F3 0D 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 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 77 CA A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 95 69 00 00 35 04 06 00 E1 92 32 CD 42 F3 00 00 7F [04:35:02]Write i2c OK [04:35:02]MH_I2C_Read... [04:35:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:35:02]Read from MH i2c: E2 [04:35:02]MH_I2C_Read... [04:35:02]Read from MH i2c: E2 03 00 [04:35:02]MH_I2C_Read... [04:35:02]Read from MH i2c: E2 03 00 F3 0D 00 90 00 74 [04:35:02]RAPDU: 90 00 [04:35:02]wFMCommunicate OK [04:35:02]wFMCommunicate request_size=4 [04:35:02]MH_SAM_APDU [04:35:02]CAPDU: 80 0D 03 02 [04:35:02]Write to MH i2c: E2 08 00 F4 0D 80 0D 03 02 00 00 00 00 7C [04:35:02]Write i2c OK [04:35:02]MH_I2C_Read... [04:35:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:35:02]Read from MH i2c: E2 [04:35:02]MH_I2C_Read... [04:35:02]Read from MH i2c: E2 0B 00 [04:35:02]MH_I2C_Read... [04:35:02]Read from MH i2c: E2 0B 00 F4 0D 00 F1 B2 7D 44 E0 24 20 D5 90 00 DA [04:35:02]RAPDU: F1 B2 7D 44 E0 24 20 D5 90 00 [04:35:02]wFMCommunicate OK [04:35:02]SAM_PROTO_SignData done [04:35:02]FM_MakeSignedData done [04:35:02]CreateOFDProtocolMessage [04:35:02]wFMCommunicate request_size=4 [04:35:02]MH_SAM_APDU [04:35:02]CAPDU: 80 11 00 00 [04:35:02]Write to MH i2c: E2 08 00 F5 0D 80 11 00 00 00 00 00 00 7C [04:35:02]Write i2c OK [04:35:02]MH_I2C_Read... [04:35:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:35:02]Read from MH i2c: E2 [04:35:02]MH_I2C_Read... [04:35:02]Read from MH i2c: E2 17 00 [04:35:02]MH_I2C_Read... [04:35:02]Read from MH i2c: E2 17 00 F5 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 D5 [04:35:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [04:35:02]wFMCommunicate OK [04:35:02]CreateOFDProtocolMessage done [04:35:02]OFDSenderStorePacket 27029 [04:35:02]StoreOFDPacket docnum=27029 [04:35:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 9D 01 00 00 B1 9E 95 01 F8 EC 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 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 77 CA A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 95 69 00 00 35 04 06 00 E1 92 32 CD 42 F3 F1 B2 7D 44 E0 24 20 D5 [04:35:02]CheckFolder [04:35:02]dirname=/storage/ofd_packets [04:35:02]CheckFolder done [04:35:02]ProducePacketName [04:35:02]name=ofd_packets/00027029 [04:35:02]NVStorageSaveData ofd_packets/00027029 [04:35:02]File name is /storage/ofd_packets/00027029 [04:35:02]Write 443 bytes [04:35:02]NVStorageSaveData done [04:35:02]OFDSenderStorePacket done [04:35:02]KKMCreateOFDPacket done [04:35:02]NVStorageSaveData kkm_last_timestamp [04:35:02]File name is /storage/kkm_last_timestamp [04:35:02]Write 4 bytes [04:35:02]NVStorageSaveData done [04:35:02]ExternCall_PrintAddStr [04:35:02]wPrintStart [04:35:02]Write to MH i2c: 01 00 00 F6 0D 03 [04:35:02]Write i2c OK [04:35:02]MH_I2C_Read... [04:35:02]Read from MH i2c: 01 [04:35:02]MH_I2C_Read... [04:35:02]Read from MH i2c: 01 07 00 [04:35:02]MH_I2C_Read... [04:35:02]Read from MH i2c: 01 07 00 F6 0D 00 00 00 00 00 FF 0F 18 [04:35:02]RasterBufferAndPrint [04:35:02]line Счет N : (3)150427 [04:35:02]line ИНН: 02508201610067 [04:35:02]line Контрольно-Кассовый Чек [04:35:02]line ПРОДАЖА [04:35:02]line Товар: 4600682557456 [04:35:03]line Напиток FLash up energy эн ж/б 0,5/0,45л [04:35:03]line 1.000 * 85.00 [04:35:03]line = 85.00 [04:35:03]line НДС 12% НСП 1% [04:35:03]line > о реализуемом товаре [04:35:03]line Товар: 4700000160358 [04:35:03]line Вода Легенда 1л [04:35:03]line 1.000 * 50.00 [04:35:03]line = 50.00 [04:35:03]line НДС 12% НСП 1% [04:35:03]line > о реализуемом товаре [04:35:03]line ИТОГО: 135.00 [04:35:03]line НСП 1% : 1.19 [04:35:03]line НДС 12% : 14.34 [04:35:03]line Наличными: 135.00 [04:35:03]line Безнал.: 0.00 [04:35:03]line Место: АЗС № 134 "Партнер Нефть" [04:35:03]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [04:35:03]line СНО: Общий режим [04:35:03]line Чек 7 28.07.2024 04:35 [04:35:03]line Смена: 433 ФФД: 1.0 [04:35:03]line ЗНМ: 0300000043 [04:35:03]line РНМ: 0000000000092663 [04:35:03]line Версия ККМ: 001 [04:35:03]line ФМ: 0000000000874937 [04:35:03]line ФД: 27029 [04:35:03]line ФПД: 248018033787635 [04:35:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T043503&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27029&fm=248018033787635&tin=02508201610067®Number=0000000000092663&sum=13500 [04:35:03]OFD Sender: Processing packet 27029 [packets to send 9, broken 8] [04:35:03]ProducePacketName [04:35:03]name=ofd_packets/00027029 [04:35:03]OFD Sender: To server: pG, [04:35:03]CommunicateWithHost lk.salyk.kg:30040 [04:35:03]ConnectInit lk.salyk.kg [04:35:03]line 0 [04:35:03]written 0, free lines is 4095 [04:35:03]Connected sock=10 [04:35:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 9D 01 00 00 B1 9E 95 01 F8 EC 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 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 77 CA A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 95 69 00 00 35 04 06 00 E1 92 32 CD 42 F3 F1 B2 7D 44 E0 24 20 D5 [04:35:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 06 18 47 00 72 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 38 37 34 39 33 37 10 04 04 00 95 69 00 00 F4 03 04 00 CC 70 A5 66 B6 04 01 00 00 C0 38 43 CE 9E 98 AE 64 [04:35:03]CommunicateWithHost err = 0 [04:35:03]CheckOFDResponse [04:35:03]1017 (14) - 77093643461234 [04:35:03]1041 (16) - 0000000000874937 [04:35:03]1040 (4) - 27029 [04:35:03]1012 (4) - 27.07.2024 22:12 [04:35:03]1206 (1) - 0 [04:35:03]OFD Sender: Remove packet 27029 [04:35:03]ProducePacketName [04:35:03]name=ofd_packets/00027029 [04:35:03]NVStorageDeleteData [04:35:03]Write to MH i2c: 01 00 00 24 0E 32 [04:35:03]Write i2c OK [04:35:03]MH_I2C_Read... [04:35:03]Read from MH i2c: 01 [04:35:03]MH_I2C_Read... [04:35:03]Read from MH i2c: 01 07 00 [04:35:03]MH_I2C_Read... [04:35:03]Read from MH i2c: 01 07 00 24 0E 00 00 00 00 00 9D 0C E2 [04:35:03]RasterBufferAndPrint [04:35:03]line [04:35:03]line [04:35:03]line [04:35:03]line [04:35:03]line [04:35:03]written 0, free lines is 3235 [04:35:03]MH_Cut [04:35:03]Write to MH i2c: D1 01 00 2B 0E 01 0B [04:35:03]Write i2c OK [04:35:03]MH_I2C_Read... [04:35:03]Read from MH i2c: D1 [04:35:03]MH_I2C_Read... [04:35:03]Read from MH i2c: D1 01 00 [04:35:03]MH_I2C_Read... [04:35:03]Read from MH i2c: D1 01 00 2B 0E 00 0A [04:35:03]Write to MH i2c: 01 00 00 2C 0E 3A [04:35:03]Write i2c OK [04:35:03]MH_I2C_Read... [04:35:03]OFD Sender: No OFD packet to send [04:35:04]*** Cut start [04:35:04]*** Partial cut [04:35:04]*** CUTSNS_PIN = 1 [04:35:04]*** CUTSNS_PIN = 0 [04:35:04]*** Brake cut motor [04:35:04]Read from MH i2c: 01 [04:35:05]MH_I2C_Read... [04:35:05]*** Stop cut motor [04:35:05]*** Cut end [04:35:05]Read from MH i2c: 01 07 00 [04:35:05]MH_I2C_Read... [04:35:05]Read from MH i2c: 01 07 00 2C 0E 00 00 00 00 00 FF 0F 4F [04:35:05]process_action close_receipt done [04:35:05]requested_data is exist [04:35:05]produce_requested_data [04:35:05]requested_item fm.sn is exist - process it [04:35:05]wFMCommunicate request_size=4 [04:35:05]MH_SAM_APDU [04:35:05]CAPDU: 80 11 00 00 [04:35:05]Write to MH i2c: E2 08 00 2D 0E 80 11 00 00 00 00 00 00 B5 [04:35:05]Write i2c OK [04:35:05]MH_I2C_Read... [04:35:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:35:05]Read from MH i2c: E2 [04:35:05]MH_I2C_Read... [04:35:05]Read from MH i2c: E2 17 00 [04:35:05]MH_I2C_Read... [04:35:05]Read from MH i2c: E2 17 00 2D 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 0E [04:35:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [04:35:05]wFMCommunicate OK [04:35:05]requested_item fd.num is exist - process it [04:35:05]SAM_PROTO_GetFieldsCounters [04:35:05]wFMCommunicate request_size=4 [04:35:05]MH_SAM_APDU [04:35:05]CAPDU: 80 13 00 00 [04:35:05]Write to MH i2c: E2 08 00 2E 0E 80 13 00 00 00 00 00 00 B8 [04:35:05]Write i2c OK [04:35:05]MH_I2C_Read... [04:35:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:35:05]Read from MH i2c: E2 [04:35:05]MH_I2C_Read... [04:35:05]Read from MH i2c: E2 62 00 [04:35:05]MH_I2C_Read... [04:35:05]Read from MH i2c: E2 62 00 2E 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 95 69 00 00 0E 04 04 00 B1 01 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 A5 [04:35:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 95 69 00 00 0E 04 04 00 B1 01 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 [04:35:05]wFMCommunicate OK [04:35:05]SAM_PROTO_GetFieldsCounters done [04:35:05]requested_item shift.num is exist - process it [04:35:05]requested_item shift.opened is exist - process it [04:35:05]req_shift_opened [04:35:05]FM_GetShiftState [04:35:05]SAM_PROTO_GetShiftState [04:35:05]wFMCommunicate request_size=4 [04:35:05]MH_SAM_APDU [04:35:05]CAPDU: 80 13 01 00 [04:35:05]Write to MH i2c: E2 08 00 2F 0E 80 13 01 00 00 00 00 00 BA [04:35:05]Write i2c OK [04:35:05]MH_I2C_Read... [04:35:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:35:05]Read from MH i2c: E2 [04:35:05]MH_I2C_Read... [04:35:05]Read from MH i2c: E2 0E 00 [04:35:05]MH_I2C_Read... [04:35:05]Read from MH i2c: E2 0E 00 2F 0E 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 E2 [04:35:05]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [04:35:05]wFMCommunicate OK [04:35:05]SAM_PROTO_GetShiftState done [04:35:05]FM_GetShiftState done [04:35:05]req_shift_opened done [04:35:05]requested_item shift.open_date is exist - process it [04:35:05]req_shift_open_date [04:35:05]req_shift_open_date done [04:35:05]produce_requested_data done [04:35:05]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27029,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [04:35:05]process_action_free close_receipt [04:35:05]json_value_free [04:35:05]json_value_free done [04:35:05]process_json_proto returns [04:35:05]Send response to host [04:35:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27029,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [04:35:05]free response buf [04:35:05]execute_script done [04:35:05]execute_script returns [04:35:05]free content buf [04:35:05]Sock 7.Close socket [04:35:05]Sock 7.Thread stoped [04:35:08]OFD Sender: No OFD packet to send [04:35:13]OFD Sender: No OFD packet to send [04:35:18]OFD Sender: No OFD packet to send [04:35:23]OFD Sender: No OFD packet to send [04:35:28]OFD Sender: No OFD packet to send [04:35:33]OFD Sender: No OFD packet to send [04:35:38]OFD Sender: No OFD packet to send [04:35:43]OFD Sender: No OFD packet to send [04:35:48]OFD Sender: No OFD packet to send [04:35:53]OFD Sender: No OFD packet to send [04:35:58]OFD Sender: No OFD packet to send [04:36:03]OFD Sender: No OFD packet to send [04:36:08]OFD Sender: No OFD packet to send [04:36:13]OFD Sender: No OFD packet to send [04:36:18]OFD Sender: No OFD packet to send [04:36:23]OFD Sender: No OFD packet to send [04:36:28]OFD Sender: No OFD packet to send [04:36:33]OFD Sender: No OFD packet to send [04:36:38]OFD Sender: No OFD packet to send [04:36:43]OFD Sender: No OFD packet to send [04:36:48]OFD Sender: No OFD packet to send [04:36:53]OFD Sender: No OFD packet to send [04:36:58]OFD Sender: No OFD packet to send [04:37:03]OFD Sender: No OFD packet to send [04:37:08]OFD Sender: No OFD packet to send [04:37:13]OFD Sender: No OFD packet to send [04:37:18]OFD Sender: No OFD packet to send [04:37:23]OFD Sender: No OFD packet to send [04:37:28]OFD Sender: No OFD packet to send [04:37:33]OFD Sender: No OFD packet to send [04:37:39]OFD Sender: No OFD packet to send [04:37:44]OFD Sender: No OFD packet to send [04:37:49]OFD Sender: No OFD packet to send [04:37:54]OFD Sender: No OFD packet to send [04:37:59]OFD Sender: No OFD packet to send [04:38:04]OFD Sender: No OFD packet to send [04:38:09]OFD Sender: No OFD packet to send [04:38:14]OFD Sender: No OFD packet to send [04:38:19]OFD Sender: No OFD packet to send [04:38:24]OFD Sender: No OFD packet to send [04:38:29]OFD Sender: No OFD packet to send [04:38:34]OFD Sender: No OFD packet to send [04:38:39]OFD Sender: No OFD packet to send [04:38:44]OFD Sender: No OFD packet to send [04:38:49]OFD Sender: No OFD packet to send [04:38:54]OFD Sender: No OFD packet to send [04:38:59]OFD Sender: No OFD packet to send [04:39:04]OFD Sender: No OFD packet to send [04:39:09]OFD Sender: No OFD packet to send [04:39:14]OFD Sender: No OFD packet to send [04:39:19]OFD Sender: No OFD packet to send [04:39:24]OFD Sender: No OFD packet to send [04:39:29]OFD Sender: No OFD packet to send [04:39:34]OFD Sender: No OFD packet to send [04:39:39]OFD Sender: No OFD packet to send [04:39:44]OFD Sender: No OFD packet to send [04:39:49]OFD Sender: No OFD packet to send [04:39:54]OFD Sender: No OFD packet to send [04:39:59]OFD Sender: No OFD packet to send [04:40:04]OFD Sender: No OFD packet to send [04:40:09]OFD Sender: No OFD packet to send [04:40:14]OFD Sender: No OFD packet to send [04:40:19]OFD Sender: No OFD packet to send [04:40:24]OFD Sender: No OFD packet to send [04:40:29]OFD Sender: No OFD packet to send [04:40:34]OFD Sender: No OFD packet to send [04:40:39]OFD Sender: No OFD packet to send [04:40:44]OFD Sender: No OFD packet to send [04:40:49]OFD Sender: No OFD packet to send [04:40:54]OFD Sender: No OFD packet to send [04:40:59]OFD Sender: No OFD packet to send [04:41:04]OFD Sender: No OFD packet to send [04:41:09]OFD Sender: No OFD packet to send [04:41:14]OFD Sender: No OFD packet to send [04:41:19]OFD Sender: No OFD packet to send [04:41:24]OFD Sender: No OFD packet to send [04:41:29]OFD Sender: No OFD packet to send [04:41:34]OFD Sender: No OFD packet to send [04:41:39]OFD Sender: No OFD packet to send [04:41:44]OFD Sender: No OFD packet to send [04:41:49]OFD Sender: No OFD packet to send [04:41:54]OFD Sender: No OFD packet to send [04:41:59]OFD Sender: No OFD packet to send [04:42:04]OFD Sender: No OFD packet to send [04:42:09]OFD Sender: No OFD packet to send [04:42:14]OFD Sender: No OFD packet to send [04:42:19]OFD Sender: No OFD packet to send [04:42:24]OFD Sender: No OFD packet to send [04:42:29]OFD Sender: No OFD packet to send [04:42:34]OFD Sender: No OFD packet to send [04:42:39]OFD Sender: No OFD packet to send [04:42:44]OFD Sender: No OFD packet to send [04:42:49]OFD Sender: No OFD packet to send [04:42:54]OFD Sender: No OFD packet to send [04:42:59]OFD Sender: No OFD packet to send [04:43:04]OFD Sender: No OFD packet to send [04:43:09]OFD Sender: No OFD packet to send [04:43:14]OFD Sender: No OFD packet to send [04:43:19]OFD Sender: No OFD packet to send [04:43:24]OFD Sender: No OFD packet to send [04:43:29]OFD Sender: No OFD packet to send [04:43:34]OFD Sender: No OFD packet to send [04:43:39]OFD Sender: No OFD packet to send [04:43:44]OFD Sender: No OFD packet to send [04:43:49]OFD Sender: No OFD packet to send [04:43:54]OFD Sender: No OFD packet to send [04:43:59]OFD Sender: No OFD packet to send [04:44:04]OFD Sender: No OFD packet to send [04:44:09]OFD Sender: No OFD packet to send [04:44:14]OFD Sender: No OFD packet to send [04:44:19]OFD Sender: No OFD packet to send [04:44:24]OFD Sender: No OFD packet to send [04:44:29]OFD Sender: No OFD packet to send [04:44:34]OFD Sender: No OFD packet to send [04:44:39]OFD Sender: No OFD packet to send [04:44:44]OFD Sender: No OFD packet to send [04:44:49]OFD Sender: No OFD packet to send [04:44:54]OFD Sender: No OFD packet to send [04:44:59]OFD Sender: No OFD packet to send [04:45:04]OFD Sender: No OFD packet to send [04:45:09]OFD Sender: No OFD packet to send [04:45:14]OFD Sender: No OFD packet to send [04:45:19]OFD Sender: No OFD packet to send [04:45:24]OFD Sender: No OFD packet to send [04:45:29]OFD Sender: No OFD packet to send [04:45:34]OFD Sender: No OFD packet to send [04:45:39]OFD Sender: No OFD packet to send [04:45:44]OFD Sender: No OFD packet to send [04:45:49]OFD Sender: No OFD packet to send [04:45:54]OFD Sender: No OFD packet to send [04:45:59]OFD Sender: No OFD packet to send [04:46:04]OFD Sender: No OFD packet to send [04:46:09]OFD Sender: No OFD packet to send [04:46:14]OFD Sender: No OFD packet to send [04:46:19]OFD Sender: No OFD packet to send [04:46:24]OFD Sender: No OFD packet to send [04:46:29]OFD Sender: No OFD packet to send [04:46:34]OFD Sender: No OFD packet to send [04:46:39]OFD Sender: No OFD packet to send [04:46:44]OFD Sender: No OFD packet to send [04:46:49]OFD Sender: No OFD packet to send [04:46:54]OFD Sender: No OFD packet to send [04:46:59]OFD Sender: No OFD packet to send [04:47:04]OFD Sender: No OFD packet to send [04:47:09]OFD Sender: No OFD packet to send [04:47:14]OFD Sender: No OFD packet to send [04:47:19]OFD Sender: No OFD packet to send [04:47:24]OFD Sender: No OFD packet to send [04:47:29]OFD Sender: No OFD packet to send [04:47:34]OFD Sender: No OFD packet to send [04:47:39]OFD Sender: No OFD packet to send [04:47:44]OFD Sender: No OFD packet to send [04:47:49]OFD Sender: No OFD packet to send [04:47:54]OFD Sender: No OFD packet to send [04:47:59]OFD Sender: No OFD packet to send [04:48:04]OFD Sender: No OFD packet to send [04:48:09]OFD Sender: No OFD packet to send [04:48:14]OFD Sender: No OFD packet to send [04:48:19]OFD Sender: No OFD packet to send [04:48:24]OFD Sender: No OFD packet to send [04:48:29]OFD Sender: No OFD packet to send [04:48:34]OFD Sender: No OFD packet to send [04:48:39]OFD Sender: No OFD packet to send [04:48:44]OFD Sender: No OFD packet to send [04:48:49]OFD Sender: No OFD packet to send [04:48:54]OFD Sender: No OFD packet to send [04:48:59]OFD Sender: No OFD packet to send [04:49:04]OFD Sender: No OFD packet to send [04:49:09]OFD Sender: No OFD packet to send [04:49:14]OFD Sender: No OFD packet to send [04:49:19]OFD Sender: No OFD packet to send [04:49:24]OFD Sender: No OFD packet to send [04:49:29]OFD Sender: No OFD packet to send [04:49:34]OFD Sender: No OFD packet to send [04:49:39]OFD Sender: No OFD packet to send [04:49:44]OFD Sender: No OFD packet to send [04:49:49]OFD Sender: No OFD packet to send [04:49:54]OFD Sender: No OFD packet to send [04:49:59]OFD Sender: No OFD packet to send [04:50:04]OFD Sender: No OFD packet to send [04:50:09]OFD Sender: No OFD packet to send [04:50:14]OFD Sender: No OFD packet to send [04:50:19]OFD Sender: No OFD packet to send [04:50:24]OFD Sender: No OFD packet to send [04:50:29]OFD Sender: No OFD packet to send [04:50:34]OFD Sender: No OFD packet to send [04:50:39]OFD Sender: No OFD packet to send [04:50:44]OFD Sender: No OFD packet to send [04:50:49]OFD Sender: No OFD packet to send [04:50:54]OFD Sender: No OFD packet to send [04:50:59]OFD Sender: No OFD packet to send [04:51:04]OFD Sender: No OFD packet to send [04:51:09]OFD Sender: No OFD packet to send [04:51:14]OFD Sender: No OFD packet to send [04:51:19]OFD Sender: No OFD packet to send [04:51:24]OFD Sender: No OFD packet to send [04:51:29]OFD Sender: No OFD packet to send [04:51:34]OFD Sender: No OFD packet to send [04:51:39]OFD Sender: No OFD packet to send [04:51:44]OFD Sender: No OFD packet to send [04:51:49]OFD Sender: No OFD packet to send [04:51:54]OFD Sender: No OFD packet to send [04:51:59]OFD Sender: No OFD packet to send [04:52:04]OFD Sender: No OFD packet to send [04:52:09]OFD Sender: No OFD packet to send [04:52:14]OFD Sender: No OFD packet to send [04:52:19]OFD Sender: No OFD packet to send [04:52:24]OFD Sender: No OFD packet to send [04:52:29]OFD Sender: No OFD packet to send [04:52:34]OFD Sender: No OFD packet to send [04:52:39]OFD Sender: No OFD packet to send [04:52:44]OFD Sender: No OFD packet to send [04:52:49]OFD Sender: No OFD packet to send [04:52:54]OFD Sender: No OFD packet to send [04:52:59]OFD Sender: No OFD packet to send [04:53:04]OFD Sender: No OFD packet to send [04:53:09]OFD Sender: No OFD packet to send [04:53:14]OFD Sender: No OFD packet to send [04:53:19]OFD Sender: No OFD packet to send [04:53:24]OFD Sender: No OFD packet to send [04:53:29]OFD Sender: No OFD packet to send [04:53:34]OFD Sender: No OFD packet to send [04:53:39]OFD Sender: No OFD packet to send [04:53:44]OFD Sender: No OFD packet to send [04:53:49]OFD Sender: No OFD packet to send [04:53:54]OFD Sender: No OFD packet to send [04:53:59]OFD Sender: No OFD packet to send [04:54:04]OFD Sender: No OFD packet to send [04:54:09]OFD Sender: No OFD packet to send [04:54:14]OFD Sender: No OFD packet to send [04:54:19]OFD Sender: No OFD packet to send [04:54:24]OFD Sender: No OFD packet to send [04:54:29]OFD Sender: No OFD packet to send [04:54:34]OFD Sender: No OFD packet to send [04:54:39]OFD Sender: No OFD packet to send [04:54:44]OFD Sender: No OFD packet to send [04:54:49]OFD Sender: No OFD packet to send [04:54:54]OFD Sender: No OFD packet to send [04:54:59]OFD Sender: No OFD packet to send [04:55:04]OFD Sender: No OFD packet to send [04:55:09]OFD Sender: No OFD packet to send [04:55:14]OFD Sender: No OFD packet to send [04:55:19]OFD Sender: No OFD packet to send [04:55:24]OFD Sender: No OFD packet to send [04:55:29]OFD Sender: No OFD packet to send [04:55:34]OFD Sender: No OFD packet to send [04:55:39]OFD Sender: No OFD packet to send [04:55:44]OFD Sender: No OFD packet to send [04:55:49]OFD Sender: No OFD packet to send [04:55:54]OFD Sender: No OFD packet to send [04:55:59]OFD Sender: No OFD packet to send [04:56:04]OFD Sender: No OFD packet to send [04:56:09]OFD Sender: No OFD packet to send [04:56:14]OFD Sender: No OFD packet to send [04:56:19]OFD Sender: No OFD packet to send [04:56:24]OFD Sender: No OFD packet to send [04:56:29]OFD Sender: No OFD packet to send [04:56:34]OFD Sender: No OFD packet to send [04:56:39]OFD Sender: No OFD packet to send [04:56:44]OFD Sender: No OFD packet to send [04:56:49]OFD Sender: No OFD packet to send [04:56:54]OFD Sender: No OFD packet to send [04:56:59]OFD Sender: No OFD packet to send [04:57:04]OFD Sender: No OFD packet to send [04:57:09]OFD Sender: No OFD packet to send [04:57:14]OFD Sender: No OFD packet to send [04:57:19]OFD Sender: No OFD packet to send [04:57:24]OFD Sender: No OFD packet to send [04:57:29]OFD Sender: No OFD packet to send [04:57:34]OFD Sender: No OFD packet to send [04:57:39]OFD Sender: No OFD packet to send [04:57:44]OFD Sender: No OFD packet to send [04:57:49]OFD Sender: No OFD packet to send [04:57:54]OFD Sender: No OFD packet to send [04:57:59]OFD Sender: No OFD packet to send [04:58:04]OFD Sender: No OFD packet to send [04:58:09]OFD Sender: No OFD packet to send [04:58:14]OFD Sender: No OFD packet to send [04:58:19]OFD Sender: No OFD packet to send [04:58:24]OFD Sender: No OFD packet to send [04:58:29]OFD Sender: No OFD packet to send [04:58:34]OFD Sender: No OFD packet to send [04:58:39]OFD Sender: No OFD packet to send [04:58:44]OFD Sender: No OFD packet to send [04:58:49]OFD Sender: No OFD packet to send [04:58:55]OFD Sender: No OFD packet to send [04:59:00]OFD Sender: No OFD packet to send [04:59:05]OFD Sender: No OFD packet to send [04:59:10]OFD Sender: No OFD packet to send [04:59:15]OFD Sender: No OFD packet to send [04:59:20]OFD Sender: No OFD packet to send [04:59:25]OFD Sender: No OFD packet to send [04:59:30]OFD Sender: No OFD packet to send [04:59:35]OFD Sender: No OFD packet to send [04:59:40]OFD Sender: No OFD packet to send [04:59:45]OFD Sender: No OFD packet to send [04:59:50]OFD Sender: No OFD packet to send [04:59:55]OFD Sender: No OFD packet to send [05:00:00]OFD Sender: No OFD packet to send [05:00:05]OFD Sender: No OFD packet to send [05:00:10]OFD Sender: No OFD packet to send [05:00:15]OFD Sender: No OFD packet to send [05:00:20]OFD Sender: No OFD packet to send [05:00:25]OFD Sender: No OFD packet to send [05:00:30]OFD Sender: No OFD packet to send [05:00:35]OFD Sender: No OFD packet to send [05:00:40]OFD Sender: No OFD packet to send [05:00:45]OFD Sender: No OFD packet to send [05:00:50]OFD Sender: No OFD packet to send [05:00:55]OFD Sender: No OFD packet to send [05:01:00]OFD Sender: No OFD packet to send [05:01:05]OFD Sender: No OFD packet to send [05:01:10]OFD Sender: No OFD packet to send [05:01:15]OFD Sender: No OFD packet to send [05:01:20]OFD Sender: No OFD packet to send [05:01:25]OFD Sender: No OFD packet to send [05:01:30]OFD Sender: No OFD packet to send [05:01:35]OFD Sender: No OFD packet to send [05:01:40]OFD Sender: No OFD packet to send [05:01:45]OFD Sender: No OFD packet to send [05:01:50]OFD Sender: No OFD packet to send [05:01:55]OFD Sender: No OFD packet to send [05:02:00]OFD Sender: No OFD packet to send [05:02:05]OFD Sender: No OFD packet to send [05:02:10]OFD Sender: No OFD packet to send [05:02:15]OFD Sender: No OFD packet to send [05:02:20]OFD Sender: No OFD packet to send [05:02:25]OFD Sender: No OFD packet to send [05:02:30]OFD Sender: No OFD packet to send [05:02:35]OFD Sender: No OFD packet to send [05:02:40]OFD Sender: No OFD packet to send [05:02:45]OFD Sender: No OFD packet to send [05:02:50]OFD Sender: No OFD packet to send [05:02:55]OFD Sender: No OFD packet to send [05:03:00]OFD Sender: No OFD packet to send [05:03:05]OFD Sender: No OFD packet to send [05:03:10]OFD Sender: No OFD packet to send [05:03:15]OFD Sender: No OFD packet to send [05:03:20]OFD Sender: No OFD packet to send [05:03:25]OFD Sender: No OFD packet to send [05:03:30]OFD Sender: No OFD packet to send [05:03:35]OFD Sender: No OFD packet to send [05:03:40]OFD Sender: No OFD packet to send [05:03:45]OFD Sender: No OFD packet to send [05:03:50]OFD Sender: No OFD packet to send [05:03:55]OFD Sender: No OFD packet to send [05:04:00]OFD Sender: No OFD packet to send [05:04:05]OFD Sender: No OFD packet to send [05:04:10]OFD Sender: No OFD packet to send [05:04:15]OFD Sender: No OFD packet to send [05:04:20]OFD Sender: No OFD packet to send [05:04:25]OFD Sender: No OFD packet to send [05:04:30]OFD Sender: No OFD packet to send [05:04:35]OFD Sender: No OFD packet to send [05:04:40]OFD Sender: No OFD packet to send [05:04:45]OFD Sender: No OFD packet to send [05:04:50]OFD Sender: No OFD packet to send [05:04:55]OFD Sender: No OFD packet to send [05:05:00]OFD Sender: No OFD packet to send [05:05:05]OFD Sender: No OFD packet to send [05:05:10]OFD Sender: No OFD packet to send [05:05:15]OFD Sender: No OFD packet to send [05:05:20]OFD Sender: No OFD packet to send [05:05:25]OFD Sender: No OFD packet to send [05:05:30]OFD Sender: No OFD packet to send [05:05:35]OFD Sender: No OFD packet to send [05:05:40]OFD Sender: No OFD packet to send [05:05:45]OFD Sender: No OFD packet to send [05:05:50]OFD Sender: No OFD packet to send [05:05:55]OFD Sender: No OFD packet to send [05:06:00]OFD Sender: No OFD packet to send [05:06:05]OFD Sender: No OFD packet to send [05:06:10]OFD Sender: No OFD packet to send [05:06:15]OFD Sender: No OFD packet to send [05:06:20]OFD Sender: No OFD packet to send [05:06:25]OFD Sender: No OFD packet to send [05:06:30]OFD Sender: No OFD packet to send [05:06:35]OFD Sender: No OFD packet to send [05:06:40]OFD Sender: No OFD packet to send [05:06:45]OFD Sender: No OFD packet to send [05:06:50]OFD Sender: No OFD packet to send [05:06:55]OFD Sender: No OFD packet to send [05:07:00]OFD Sender: No OFD packet to send [05:07:05]OFD Sender: No OFD packet to send [05:07:10]OFD Sender: No OFD packet to send [05:07:15]OFD Sender: No OFD packet to send [05:07:20]OFD Sender: No OFD packet to send [05:07:25]OFD Sender: No OFD packet to send [05:07:30]OFD Sender: No OFD packet to send [05:07:35]OFD Sender: No OFD packet to send [05:07:40]OFD Sender: No OFD packet to send [05:07:45]OFD Sender: No OFD packet to send [05:07:50]OFD Sender: No OFD packet to send [05:07:55]OFD Sender: No OFD packet to send [05:08:00]OFD Sender: No OFD packet to send [05:08:05]OFD Sender: No OFD packet to send [05:08:10]OFD Sender: No OFD packet to send [05:08:15]OFD Sender: No OFD packet to send [05:08:20]OFD Sender: No OFD packet to send [05:08:25]OFD Sender: No OFD packet to send [05:08:30]OFD Sender: No OFD packet to send [05:08:35]OFD Sender: No OFD packet to send [05:08:40]OFD Sender: No OFD packet to send [05:08:45]OFD Sender: No OFD packet to send [05:08:50]OFD Sender: No OFD packet to send [05:08:55]OFD Sender: No OFD packet to send [05:09:00]OFD Sender: No OFD packet to send [05:09:05]OFD Sender: No OFD packet to send [05:09:10]OFD Sender: No OFD packet to send [05:09:15]OFD Sender: No OFD packet to send [05:09:20]OFD Sender: No OFD packet to send [05:09:25]OFD Sender: No OFD packet to send [05:09:30]OFD Sender: No OFD packet to send [05:09:35]OFD Sender: No OFD packet to send [05:09:40]OFD Sender: No OFD packet to send [05:09:45]OFD Sender: No OFD packet to send [05:09:50]OFD Sender: No OFD packet to send [05:09:55]OFD Sender: No OFD packet to send [05:10:00]OFD Sender: No OFD packet to send [05:10:05]OFD Sender: No OFD packet to send [05:10:10]OFD Sender: No OFD packet to send [05:10:15]OFD Sender: No OFD packet to send [05:10:20]OFD Sender: No OFD packet to send [05:10:25]OFD Sender: No OFD packet to send [05:10:30]OFD Sender: No OFD packet to send [05:10:35]OFD Sender: No OFD packet to send [05:10:40]OFD Sender: No OFD packet to send [05:10:45]OFD Sender: No OFD packet to send [05:10:50]OFD Sender: No OFD packet to send [05:10:55]OFD Sender: No OFD packet to send [05:11:00]OFD Sender: No OFD packet to send [05:11:05]OFD Sender: No OFD packet to send [05:11:10]OFD Sender: No OFD packet to send [05:11:15]OFD Sender: No OFD packet to send [05:11:20]OFD Sender: No OFD packet to send [05:11:25]OFD Sender: No OFD packet to send [05:11:30]OFD Sender: No OFD packet to send [05:11:35]OFD Sender: No OFD packet to send [05:11:40]OFD Sender: No OFD packet to send [05:11:45]OFD Sender: No OFD packet to send [05:11:50]OFD Sender: No OFD packet to send [05:11:55]OFD Sender: No OFD packet to send [05:12:00]OFD Sender: No OFD packet to send [05:12:05]OFD Sender: No OFD packet to send [05:12:10]OFD Sender: No OFD packet to send [05:12:15]OFD Sender: No OFD packet to send [05:12:20]OFD Sender: No OFD packet to send [05:12:25]OFD Sender: No OFD packet to send [05:12:30]OFD Sender: No OFD packet to send [05:12:35]OFD Sender: No OFD packet to send [05:12:40]OFD Sender: No OFD packet to send [05:12:45]OFD Sender: No OFD packet to send [05:12:50]OFD Sender: No OFD packet to send [05:12:55]OFD Sender: No OFD packet to send [05:13:00]OFD Sender: No OFD packet to send [05:13:05]OFD Sender: No OFD packet to send [05:13:10]OFD Sender: No OFD packet to send [05:13:15]OFD Sender: No OFD packet to send [05:13:20]OFD Sender: No OFD packet to send [05:13:25]OFD Sender: No OFD packet to send [05:13:30]OFD Sender: No OFD packet to send [05:13:35]OFD Sender: No OFD packet to send [05:13:40]OFD Sender: No OFD packet to send [05:13:45]OFD Sender: No OFD packet to send [05:13:50]OFD Sender: No OFD packet to send [05:13:55]OFD Sender: No OFD packet to send [05:14:00]OFD Sender: No OFD packet to send [05:14:05]OFD Sender: No OFD packet to send [05:14:10]OFD Sender: No OFD packet to send [05:14:15]OFD Sender: No OFD packet to send [05:14:20]OFD Sender: No OFD packet to send [05:14:25]OFD Sender: No OFD packet to send [05:14:30]OFD Sender: No OFD packet to send [05:14:35]OFD Sender: No OFD packet to send [05:14:40]OFD Sender: No OFD packet to send [05:14:45]OFD Sender: No OFD packet to send [05:14:50]OFD Sender: No OFD packet to send [05:14:55]OFD Sender: No OFD packet to send [05:15:00]OFD Sender: No OFD packet to send [05:15:05]OFD Sender: No OFD packet to send [05:15:10]OFD Sender: No OFD packet to send [05:15:15]OFD Sender: No OFD packet to send [05:15:20]OFD Sender: No OFD packet to send [05:15:25]OFD Sender: No OFD packet to send [05:15:30]OFD Sender: No OFD packet to send [05:15:35]OFD Sender: No OFD packet to send [05:15:40]OFD Sender: No OFD packet to send [05:15:45]OFD Sender: No OFD packet to send [05:15:50]OFD Sender: No OFD packet to send [05:15:55]OFD Sender: No OFD packet to send [05:16:00]OFD Sender: No OFD packet to send [05:16:05]OFD Sender: No OFD packet to send [05:16:10]OFD Sender: No OFD packet to send [05:16:15]OFD Sender: No OFD packet to send [05:16:20]OFD Sender: No OFD packet to send [05:16:25]OFD Sender: No OFD packet to send [05:16:30]OFD Sender: No OFD packet to send [05:16:35]OFD Sender: No OFD packet to send [05:16:40]OFD Sender: No OFD packet to send [05:16:45]OFD Sender: No OFD packet to send [05:16:50]OFD Sender: No OFD packet to send [05:16:55]OFD Sender: No OFD packet to send [05:17:00]OFD Sender: No OFD packet to send [05:17:05]OFD Sender: No OFD packet to send [05:17:10]OFD Sender: No OFD packet to send [05:17:15]OFD Sender: No OFD packet to send [05:17:20]OFD Sender: No OFD packet to send [05:17:25]OFD Sender: No OFD packet to send [05:17:30]OFD Sender: No OFD packet to send [05:17:35]OFD Sender: No OFD packet to send [05:17:40]OFD Sender: No OFD packet to send [05:17:45]OFD Sender: No OFD packet to send [05:17:50]OFD Sender: No OFD packet to send [05:17:55]OFD Sender: No OFD packet to send [05:18:00]OFD Sender: No OFD packet to send [05:18:05]OFD Sender: No OFD packet to send [05:18:10]OFD Sender: No OFD packet to send [05:18:15]OFD Sender: No OFD packet to send [05:18:20]OFD Sender: No OFD packet to send [05:18:25]OFD Sender: No OFD packet to send [05:18:30]OFD Sender: No OFD packet to send [05:18:35]OFD Sender: No OFD packet to send [05:18:40]OFD Sender: No OFD packet to send [05:18:45]OFD Sender: No OFD packet to send [05:18:50]OFD Sender: No OFD packet to send [05:18:55]OFD Sender: No OFD packet to send [05:19:00]OFD Sender: No OFD packet to send [05:19:05]OFD Sender: No OFD packet to send [05:19:10]OFD Sender: No OFD packet to send [05:19:15]OFD Sender: No OFD packet to send [05:19:20]OFD Sender: No OFD packet to send [05:19:25]OFD Sender: No OFD packet to send [05:19:30]OFD Sender: No OFD packet to send [05:19:35]OFD Sender: No OFD packet to send [05:19:40]OFD Sender: No OFD packet to send [05:19:45]OFD Sender: No OFD packet to send [05:19:50]OFD Sender: No OFD packet to send [05:19:55]OFD Sender: No OFD packet to send [05:20:00]OFD Sender: No OFD packet to send [05:20:05]OFD Sender: No OFD packet to send [05:20:11]OFD Sender: No OFD packet to send [05:20:16]OFD Sender: No OFD packet to send [05:20:21]OFD Sender: No OFD packet to send [05:20:26]OFD Sender: No OFD packet to send [05:20:31]OFD Sender: No OFD packet to send [05:20:36]OFD Sender: No OFD packet to send [05:20:41]OFD Sender: No OFD packet to send [05:20:46]OFD Sender: No OFD packet to send [05:20:51]OFD Sender: No OFD packet to send [05:20:56]OFD Sender: No OFD packet to send [05:21:01]OFD Sender: No OFD packet to send [05:21:06]OFD Sender: No OFD packet to send [05:21:11]OFD Sender: No OFD packet to send [05:21:16]OFD Sender: No OFD packet to send [05:21:21]OFD Sender: No OFD packet to send [05:21:26]OFD Sender: No OFD packet to send [05:21:31]OFD Sender: No OFD packet to send [05:21:36]OFD Sender: No OFD packet to send [05:21:41]OFD Sender: No OFD packet to send [05:21:46]OFD Sender: No OFD packet to send [05:21:51]OFD Sender: No OFD packet to send [05:21:56]OFD Sender: No OFD packet to send [05:22:01]OFD Sender: No OFD packet to send [05:22:06]OFD Sender: No OFD packet to send [05:22:11]OFD Sender: No OFD packet to send [05:22:16]OFD Sender: No OFD packet to send [05:22:21]OFD Sender: No OFD packet to send [05:22:26]OFD Sender: No OFD packet to send [05:22:31]OFD Sender: No OFD packet to send [05:22:36]OFD Sender: No OFD packet to send [05:22:41]OFD Sender: No OFD packet to send [05:22:46]OFD Sender: No OFD packet to send [05:22:51]OFD Sender: No OFD packet to send [05:22:56]OFD Sender: No OFD packet to send [05:23:01]OFD Sender: No OFD packet to send [05:23:06]OFD Sender: No OFD packet to send [05:23:11]OFD Sender: No OFD packet to send [05:23:16]OFD Sender: No OFD packet to send [05:23:21]OFD Sender: No OFD packet to send [05:23:26]OFD Sender: No OFD packet to send [05:23:31]OFD Sender: No OFD packet to send [05:23:36]OFD Sender: No OFD packet to send [05:23:41]OFD Sender: No OFD packet to send [05:23:46]OFD Sender: No OFD packet to send [05:23:51]OFD Sender: No OFD packet to send [05:23:56]OFD Sender: No OFD packet to send [05:24:01]OFD Sender: No OFD packet to send [05:24:06]OFD Sender: No OFD packet to send [05:24:11]OFD Sender: No OFD packet to send [05:24:16]OFD Sender: No OFD packet to send [05:24:21]OFD Sender: No OFD packet to send [05:24:26]OFD Sender: No OFD packet to send [05:24:31]OFD Sender: No OFD packet to send [05:24:36]OFD Sender: No OFD packet to send [05:24:41]OFD Sender: No OFD packet to send [05:24:46]OFD Sender: No OFD packet to send [05:24:51]OFD Sender: No OFD packet to send [05:24:56]OFD Sender: No OFD packet to send [05:25:01]OFD Sender: No OFD packet to send [05:25:06]OFD Sender: No OFD packet to send [05:25:11]OFD Sender: No OFD packet to send [05:25:16]OFD Sender: No OFD packet to send [05:25:21]OFD Sender: No OFD packet to send [05:25:26]OFD Sender: No OFD packet to send [05:25:31]OFD Sender: No OFD packet to send [05:25:36]OFD Sender: No OFD packet to send [05:25:41]OFD Sender: No OFD packet to send [05:25:46]OFD Sender: No OFD packet to send [05:25:51]OFD Sender: No OFD packet to send [05:25:56]OFD Sender: No OFD packet to send [05:26:01]OFD Sender: No OFD packet to send [05:26:06]OFD Sender: No OFD packet to send [05:26:11]OFD Sender: No OFD packet to send [05:26:16]OFD Sender: No OFD packet to send [05:26:21]OFD Sender: No OFD packet to send [05:26:26]OFD Sender: No OFD packet to send [05:26:31]OFD Sender: No OFD packet to send [05:26:36]OFD Sender: No OFD packet to send [05:26:41]OFD Sender: No OFD packet to send [05:26:46]OFD Sender: No OFD packet to send [05:26:51]OFD Sender: No OFD packet to send [05:26:56]OFD Sender: No OFD packet to send [05:27:01]OFD Sender: No OFD packet to send [05:27:06]OFD Sender: No OFD packet to send [05:27:11]OFD Sender: No OFD packet to send [05:27:16]OFD Sender: No OFD packet to send [05:27:21]OFD Sender: No OFD packet to send [05:27:26]OFD Sender: No OFD packet to send [05:27:31]OFD Sender: No OFD packet to send [05:27:36]OFD Sender: No OFD packet to send [05:27:41]OFD Sender: No OFD packet to send [05:27:46]OFD Sender: No OFD packet to send [05:27:51]OFD Sender: No OFD packet to send [05:27:56]OFD Sender: No OFD packet to send [05:28:01]OFD Sender: No OFD packet to send [05:28:06]OFD Sender: No OFD packet to send [05:28:11]OFD Sender: No OFD packet to send [05:28:16]OFD Sender: No OFD packet to send [05:28:21]OFD Sender: No OFD packet to send [05:28:26]OFD Sender: No OFD packet to send [05:28:31]OFD Sender: No OFD packet to send [05:28:36]OFD Sender: No OFD packet to send [05:28:41]OFD Sender: No OFD packet to send [05:28:46]OFD Sender: No OFD packet to send [05:28:51]OFD Sender: No OFD packet to send [05:28:56]OFD Sender: No OFD packet to send [05:29:01]OFD Sender: No OFD packet to send [05:29:06]OFD Sender: No OFD packet to send [05:29:11]OFD Sender: No OFD packet to send [05:29:16]OFD Sender: No OFD packet to send [05:29:21]OFD Sender: No OFD packet to send [05:29:26]OFD Sender: No OFD packet to send [05:29:31]OFD Sender: No OFD packet to send [05:29:36]OFD Sender: No OFD packet to send [05:29:41]OFD Sender: No OFD packet to send [05:29:46]OFD Sender: No OFD packet to send [05:29:51]OFD Sender: No OFD packet to send [05:29:56]OFD Sender: No OFD packet to send [05:30:01]OFD Sender: No OFD packet to send [05:30:06]OFD Sender: No OFD packet to send [05:30:11]OFD Sender: No OFD packet to send [05:30:16]OFD Sender: No OFD packet to send [05:30:21]OFD Sender: No OFD packet to send [05:30:26]OFD Sender: No OFD packet to send [05:30:31]OFD Sender: No OFD packet to send [05:30:36]OFD Sender: No OFD packet to send [05:30:41]OFD Sender: No OFD packet to send [05:30:46]OFD Sender: No OFD packet to send [05:30:51]OFD Sender: No OFD packet to send [05:30:56]OFD Sender: No OFD packet to send [05:31:01]OFD Sender: No OFD packet to send [05:31:06]OFD Sender: No OFD packet to send [05:31:11]OFD Sender: No OFD packet to send [05:31:16]OFD Sender: No OFD packet to send [05:31:21]OFD Sender: No OFD packet to send [05:31:26]OFD Sender: No OFD packet to send [05:31:31]OFD Sender: No OFD packet to send [05:31:36]OFD Sender: No OFD packet to send [05:31:41]OFD Sender: No OFD packet to send [05:31:46]OFD Sender: No OFD packet to send [05:31:51]OFD Sender: No OFD packet to send [05:31:56]OFD Sender: No OFD packet to send [05:32:01]OFD Sender: No OFD packet to send [05:32:06]OFD Sender: No OFD packet to send [05:32:11]OFD Sender: No OFD packet to send [05:32:16]OFD Sender: No OFD packet to send [05:32:21]OFD Sender: No OFD packet to send [05:32:26]OFD Sender: No OFD packet to send [05:32:31]OFD Sender: No OFD packet to send [05:32:36]OFD Sender: No OFD packet to send [05:32:41]OFD Sender: No OFD packet to send [05:32:46]OFD Sender: No OFD packet to send [05:32:51]OFD Sender: No OFD packet to send [05:32:56]OFD Sender: No OFD packet to send [05:33:01]OFD Sender: No OFD packet to send [05:33:06]OFD Sender: No OFD packet to send [05:33:11]OFD Sender: No OFD packet to send [05:33:16]OFD Sender: No OFD packet to send [05:33:21]OFD Sender: No OFD packet to send [05:33:26]OFD Sender: No OFD packet to send [05:33:31]OFD Sender: No OFD packet to send [05:33:36]OFD Sender: No OFD packet to send [05:33:41]OFD Sender: No OFD packet to send [05:33:46]OFD Sender: No OFD packet to send [05:33:51]OFD Sender: No OFD packet to send [05:33:56]OFD Sender: No OFD packet to send [05:34:01]OFD Sender: No OFD packet to send [05:34:06]OFD Sender: No OFD packet to send [05:34:11]OFD Sender: No OFD packet to send [05:34:16]OFD Sender: No OFD packet to send [05:34:21]OFD Sender: No OFD packet to send [05:34:26]OFD Sender: No OFD packet to send [05:34:31]OFD Sender: No OFD packet to send [05:34:36]OFD Sender: No OFD packet to send [05:34:41]OFD Sender: No OFD packet to send [05:34:46]OFD Sender: No OFD packet to send [05:34:51]OFD Sender: No OFD packet to send [05:34:56]OFD Sender: No OFD packet to send [05:35:01]OFD Sender: No OFD packet to send [05:35:06]OFD Sender: No OFD packet to send [05:35:11]OFD Sender: No OFD packet to send [05:35:16]OFD Sender: No OFD packet to send [05:35:21]OFD Sender: No OFD packet to send [05:35:26]OFD Sender: No OFD packet to send [05:35:31]OFD Sender: No OFD packet to send [05:35:36]OFD Sender: No OFD packet to send [05:35:41]OFD Sender: No OFD packet to send [05:35:46]OFD Sender: No OFD packet to send [05:35:51]OFD Sender: No OFD packet to send [05:35:56]OFD Sender: No OFD packet to send [05:36:01]OFD Sender: No OFD packet to send [05:36:06]OFD Sender: No OFD packet to send [05:36:11]OFD Sender: No OFD packet to send [05:36:16]OFD Sender: No OFD packet to send [05:36:21]OFD Sender: No OFD packet to send [05:36:26]OFD Sender: No OFD packet to send [05:36:31]OFD Sender: No OFD packet to send [05:36:36]OFD Sender: No OFD packet to send [05:36:41]OFD Sender: No OFD packet to send [05:36:46]OFD Sender: No OFD packet to send [05:36:51]OFD Sender: No OFD packet to send [05:36:56]OFD Sender: No OFD packet to send [05:37:01]OFD Sender: No OFD packet to send [05:37:06]OFD Sender: No OFD packet to send [05:37:11]OFD Sender: No OFD packet to send [05:37:16]OFD Sender: No OFD packet to send [05:37:21]OFD Sender: No OFD packet to send [05:37:26]OFD Sender: No OFD packet to send [05:37:31]OFD Sender: No OFD packet to send [05:37:36]OFD Sender: No OFD packet to send [05:37:41]OFD Sender: No OFD packet to send [05:37:46]OFD Sender: No OFD packet to send [05:37:51]OFD Sender: No OFD packet to send [05:37:56]OFD Sender: No OFD packet to send [05:38:01]OFD Sender: No OFD packet to send [05:38:06]OFD Sender: No OFD packet to send [05:38:11]OFD Sender: No OFD packet to send [05:38:16]OFD Sender: No OFD packet to send [05:38:21]OFD Sender: No OFD packet to send [05:38:26]OFD Sender: No OFD packet to send [05:38:31]OFD Sender: No OFD packet to send [05:38:36]OFD Sender: No OFD packet to send [05:38:41]OFD Sender: No OFD packet to send [05:38:46]OFD Sender: No OFD packet to send [05:38:51]OFD Sender: No OFD packet to send [05:38:56]OFD Sender: No OFD packet to send [05:39:01]OFD Sender: No OFD packet to send [05:39:06]OFD Sender: No OFD packet to send [05:39:11]OFD Sender: No OFD packet to send [05:39:16]OFD Sender: No OFD packet to send [05:39:21]OFD Sender: No OFD packet to send [05:39:26]OFD Sender: No OFD packet to send [05:39:31]OFD Sender: No OFD packet to send [05:39:36]OFD Sender: No OFD packet to send [05:39:41]OFD Sender: No OFD packet to send [05:39:46]OFD Sender: No OFD packet to send [05:39:51]OFD Sender: No OFD packet to send [05:39:56]OFD Sender: No OFD packet to send [05:40:01]OFD Sender: No OFD packet to send [05:40:06]OFD Sender: No OFD packet to send [05:40:11]OFD Sender: No OFD packet to send [05:40:16]OFD Sender: No OFD packet to send [05:40:21]OFD Sender: No OFD packet to send [05:40:26]OFD Sender: No OFD packet to send [05:40:31]OFD Sender: No OFD packet to send [05:40:36]OFD Sender: No OFD packet to send [05:40:41]OFD Sender: No OFD packet to send [05:40:46]OFD Sender: No OFD packet to send [05:40:51]OFD Sender: No OFD packet to send [05:40:56]OFD Sender: No OFD packet to send [05:41:01]OFD Sender: No OFD packet to send [05:41:06]OFD Sender: No OFD packet to send [05:41:11]OFD Sender: No OFD packet to send [05:41:16]OFD Sender: No OFD packet to send [05:41:21]OFD Sender: No OFD packet to send [05:41:27]OFD Sender: No OFD packet to send [05:41:32]OFD Sender: No OFD packet to send [05:41:37]OFD Sender: No OFD packet to send [05:41:42]OFD Sender: No OFD packet to send [05:41:47]OFD Sender: No OFD packet to send [05:41:52]OFD Sender: No OFD packet to send [05:41:57]OFD Sender: No OFD packet to send [05:42:02]OFD Sender: No OFD packet to send [05:42:07]OFD Sender: No OFD packet to send [05:42:12]OFD Sender: No OFD packet to send [05:42:17]OFD Sender: No OFD packet to send [05:42:22]OFD Sender: No OFD packet to send [05:42:27]OFD Sender: No OFD packet to send [05:42:32]OFD Sender: No OFD packet to send [05:42:37]OFD Sender: No OFD packet to send [05:42:42]OFD Sender: No OFD packet to send [05:42:47]OFD Sender: No OFD packet to send [05:42:52]OFD Sender: No OFD packet to send [05:42:57]OFD Sender: No OFD packet to send [05:43:02]OFD Sender: No OFD packet to send [05:43:07]OFD Sender: No OFD packet to send [05:43:12]OFD Sender: No OFD packet to send [05:43:17]OFD Sender: No OFD packet to send [05:43:22]OFD Sender: No OFD packet to send [05:43:27]OFD Sender: No OFD packet to send [05:43:32]OFD Sender: No OFD packet to send [05:43:37]OFD Sender: No OFD packet to send [05:43:42]OFD Sender: No OFD packet to send [05:43:47]OFD Sender: No OFD packet to send [05:43:52]OFD Sender: No OFD packet to send [05:43:57]OFD Sender: No OFD packet to send [05:44:02]OFD Sender: No OFD packet to send [05:44:07]OFD Sender: No OFD packet to send [05:44:12]OFD Sender: No OFD packet to send [05:44:17]OFD Sender: No OFD packet to send [05:44:22]OFD Sender: No OFD packet to send [05:44:27]OFD Sender: No OFD packet to send [05:44:32]OFD Sender: No OFD packet to send [05:44:37]OFD Sender: No OFD packet to send [05:44:42]OFD Sender: No OFD packet to send [05:44:47]OFD Sender: No OFD packet to send [05:44:52]OFD Sender: No OFD packet to send [05:44:57]OFD Sender: No OFD packet to send [05:45:02]OFD Sender: No OFD packet to send [05:45:07]OFD Sender: No OFD packet to send [05:45:12]OFD Sender: No OFD packet to send [05:45:17]OFD Sender: No OFD packet to send [05:45:22]OFD Sender: No OFD packet to send [05:45:27]OFD Sender: No OFD packet to send [05:45:32]OFD Sender: No OFD packet to send [05:45:37]OFD Sender: No OFD packet to send [05:45:42]OFD Sender: No OFD packet to send [05:45:47]OFD Sender: No OFD packet to send [05:45:52]OFD Sender: No OFD packet to send [05:45:57]OFD Sender: No OFD packet to send [05:46:02]OFD Sender: No OFD packet to send [05:46:07]OFD Sender: No OFD packet to send [05:46:12]OFD Sender: No OFD packet to send [05:46:17]OFD Sender: No OFD packet to send [05:46:22]OFD Sender: No OFD packet to send [05:46:27]OFD Sender: No OFD packet to send [05:46:32]OFD Sender: No OFD packet to send [05:46:37]OFD Sender: No OFD packet to send [05:46:42]OFD Sender: No OFD packet to send [05:46:47]OFD Sender: No OFD packet to send [05:46:52]OFD Sender: No OFD packet to send [05:46:57]OFD Sender: No OFD packet to send [05:47:02]OFD Sender: No OFD packet to send [05:47:07]OFD Sender: No OFD packet to send [05:47:12]OFD Sender: No OFD packet to send [05:47:17]OFD Sender: No OFD packet to send [05:47:22]OFD Sender: No OFD packet to send [05:47:27]OFD Sender: No OFD packet to send [05:47:32]OFD Sender: No OFD packet to send [05:47:37]OFD Sender: No OFD packet to send [05:47:42]OFD Sender: No OFD packet to send [05:47:47]OFD Sender: No OFD packet to send [05:47:52]OFD Sender: No OFD packet to send [05:47:57]OFD Sender: No OFD packet to send [05:48:02]OFD Sender: No OFD packet to send [05:48:07]OFD Sender: No OFD packet to send [05:48:12]OFD Sender: No OFD packet to send [05:48:17]OFD Sender: No OFD packet to send [05:48:22]OFD Sender: No OFD packet to send [05:48:27]OFD Sender: No OFD packet to send [05:48:32]OFD Sender: No OFD packet to send [05:48:37]OFD Sender: No OFD packet to send [05:48:42]OFD Sender: No OFD packet to send [05:48:47]OFD Sender: No OFD packet to send [05:48:52]OFD Sender: No OFD packet to send [05:48:57]OFD Sender: No OFD packet to send [05:49:02]OFD Sender: No OFD packet to send [05:49:07]OFD Sender: No OFD packet to send [05:49:12]OFD Sender: No OFD packet to send [05:49:17]OFD Sender: No OFD packet to send [05:49:22]OFD Sender: No OFD packet to send [05:49:27]OFD Sender: No OFD packet to send [05:49:32]OFD Sender: No OFD packet to send [05:49:37]OFD Sender: No OFD packet to send [05:49:42]OFD Sender: No OFD packet to send [05:49:47]OFD Sender: No OFD packet to send [05:49:52]OFD Sender: No OFD packet to send [05:49:57]OFD Sender: No OFD packet to send [05:50:02]OFD Sender: No OFD packet to send [05:50:07]OFD Sender: No OFD packet to send [05:50:12]OFD Sender: No OFD packet to send [05:50:17]OFD Sender: No OFD packet to send [05:50:22]OFD Sender: No OFD packet to send [05:50:27]OFD Sender: No OFD packet to send [05:50:32]OFD Sender: No OFD packet to send [05:50:37]OFD Sender: No OFD packet to send [05:50:42]OFD Sender: No OFD packet to send [05:50:47]OFD Sender: No OFD packet to send [05:50:52]OFD Sender: No OFD packet to send [05:50:57]OFD Sender: No OFD packet to send [05:51:02]OFD Sender: No OFD packet to send [05:51:07]OFD Sender: No OFD packet to send [05:51:12]OFD Sender: No OFD packet to send [05:51:17]OFD Sender: No OFD packet to send [05:51:22]OFD Sender: No OFD packet to send [05:51:27]OFD Sender: No OFD packet to send [05:51:32]OFD Sender: No OFD packet to send [05:51:37]OFD Sender: No OFD packet to send [05:51:42]OFD Sender: No OFD packet to send [05:51:47]OFD Sender: No OFD packet to send [05:51:52]OFD Sender: No OFD packet to send [05:51:57]OFD Sender: No OFD packet to send [05:52:02]OFD Sender: No OFD packet to send [05:52:07]OFD Sender: No OFD packet to send [05:52:12]OFD Sender: No OFD packet to send [05:52:17]OFD Sender: No OFD packet to send [05:52:22]OFD Sender: No OFD packet to send [05:52:27]OFD Sender: No OFD packet to send [05:52:32]OFD Sender: No OFD packet to send [05:52:37]OFD Sender: No OFD packet to send [05:52:42]OFD Sender: No OFD packet to send [05:52:47]OFD Sender: No OFD packet to send [05:52:52]OFD Sender: No OFD packet to send [05:52:57]OFD Sender: No OFD packet to send [05:53:02]OFD Sender: No OFD packet to send [05:53:07]OFD Sender: No OFD packet to send [05:53:12]OFD Sender: No OFD packet to send [05:53:17]OFD Sender: No OFD packet to send [05:53:22]OFD Sender: No OFD packet to send [05:53:27]OFD Sender: No OFD packet to send [05:53:32]OFD Sender: No OFD packet to send [05:53:37]OFD Sender: No OFD packet to send [05:53:42]OFD Sender: No OFD packet to send [05:53:47]OFD Sender: No OFD packet to send [05:53:52]OFD Sender: No OFD packet to send [05:53:57]OFD Sender: No OFD packet to send [05:54:02]OFD Sender: No OFD packet to send [05:54:07]OFD Sender: No OFD packet to send [05:54:12]OFD Sender: No OFD packet to send [05:54:17]OFD Sender: No OFD packet to send [05:54:22]OFD Sender: No OFD packet to send [05:54:27]OFD Sender: No OFD packet to send [05:54:32]OFD Sender: No OFD packet to send [05:54:37]OFD Sender: No OFD packet to send [05:54:42]OFD Sender: No OFD packet to send [05:54:47]OFD Sender: No OFD packet to send [05:54:52]OFD Sender: No OFD packet to send [05:54:57]OFD Sender: No OFD packet to send [05:55:02]OFD Sender: No OFD packet to send [05:55:07]OFD Sender: No OFD packet to send [05:55:12]OFD Sender: No OFD packet to send [05:55:17]OFD Sender: No OFD packet to send [05:55:22]OFD Sender: No OFD packet to send [05:55:27]OFD Sender: No OFD packet to send [05:55:32]OFD Sender: No OFD packet to send [05:55:37]OFD Sender: No OFD packet to send [05:55:42]OFD Sender: No OFD packet to send [05:55:47]OFD Sender: No OFD packet to send [05:55:52]OFD Sender: No OFD packet to send [05:55:57]OFD Sender: No OFD packet to send [05:56:02]OFD Sender: No OFD packet to send [05:56:07]OFD Sender: No OFD packet to send [05:56:12]OFD Sender: No OFD packet to send [05:56:17]OFD Sender: No OFD packet to send [05:56:22]OFD Sender: No OFD packet to send [05:56:27]OFD Sender: No OFD packet to send [05:56:32]OFD Sender: No OFD packet to send [05:56:37]OFD Sender: No OFD packet to send [05:56:42]OFD Sender: No OFD packet to send [05:56:47]OFD Sender: No OFD packet to send [05:56:52]OFD Sender: No OFD packet to send [05:56:57]OFD Sender: No OFD packet to send [05:57:02]OFD Sender: No OFD packet to send [05:57:07]OFD Sender: No OFD packet to send [05:57:12]OFD Sender: No OFD packet to send [05:57:17]OFD Sender: No OFD packet to send [05:57:22]OFD Sender: No OFD packet to send [05:57:27]OFD Sender: No OFD packet to send [05:57:32]OFD Sender: No OFD packet to send [05:57:37]OFD Sender: No OFD packet to send [05:57:42]OFD Sender: No OFD packet to send [05:57:47]OFD Sender: No OFD packet to send [05:57:52]OFD Sender: No OFD packet to send [05:57:57]OFD Sender: No OFD packet to send [05:58:02]OFD Sender: No OFD packet to send [05:58:07]OFD Sender: No OFD packet to send [05:58:12]OFD Sender: No OFD packet to send [05:58:17]OFD Sender: No OFD packet to send [05:58:22]OFD Sender: No OFD packet to send [05:58:27]OFD Sender: No OFD packet to send [05:58:32]OFD Sender: No OFD packet to send [05:58:37]OFD Sender: No OFD packet to send [05:58:42]OFD Sender: No OFD packet to send [05:58:47]OFD Sender: No OFD packet to send [05:58:52]OFD Sender: No OFD packet to send [05:58:57]OFD Sender: No OFD packet to send [05:59:02]OFD Sender: No OFD packet to send [05:59:07]OFD Sender: No OFD packet to send [05:59:12]OFD Sender: No OFD packet to send [05:59:17]OFD Sender: No OFD packet to send [05:59:22]OFD Sender: No OFD packet to send [05:59:27]OFD Sender: No OFD packet to send [05:59:32]OFD Sender: No OFD packet to send [05:59:37]OFD Sender: No OFD packet to send [05:59:42]OFD Sender: No OFD packet to send [05:59:47]OFD Sender: No OFD packet to send [05:59:52]OFD Sender: No OFD packet to send [05:59:57]OFD Sender: No OFD packet to send [06:00:02]OFD Sender: No OFD packet to send [06:00:07]OFD Sender: No OFD packet to send [06:00:12]OFD Sender: No OFD packet to send [06:00:17]OFD Sender: No OFD packet to send [06:00:22]OFD Sender: No OFD packet to send [06:00:27]OFD Sender: No OFD packet to send [06:00:32]OFD Sender: No OFD packet to send [06:00:37]OFD Sender: No OFD packet to send [06:00:42]OFD Sender: No OFD packet to send [06:00:47]OFD Sender: No OFD packet to send [06:00:52]OFD Sender: No OFD packet to send [06:00:57]OFD Sender: No OFD packet to send [06:01:02]OFD Sender: No OFD packet to send [06:01:07]OFD Sender: No OFD packet to send [06:01:12]OFD Sender: No OFD packet to send [06:01:17]OFD Sender: No OFD packet to send [06:01:22]OFD Sender: No OFD packet to send [06:01:27]OFD Sender: No OFD packet to send [06:01:32]OFD Sender: No OFD packet to send [06:01:37]OFD Sender: No OFD packet to send [06:01:42]OFD Sender: No OFD packet to send [06:01:47]OFD Sender: No OFD packet to send [06:01:52]OFD Sender: No OFD packet to send [06:01:57]OFD Sender: No OFD packet to send [06:02:02]OFD Sender: No OFD packet to send [06:02:07]OFD Sender: No OFD packet to send [06:02:12]OFD Sender: No OFD packet to send [06:02:17]OFD Sender: No OFD packet to send [06:02:22]OFD Sender: No OFD packet to send [06:02:27]OFD Sender: No OFD packet to send [06:02:32]OFD Sender: No OFD packet to send [06:02:38]OFD Sender: No OFD packet to send [06:02:43]OFD Sender: No OFD packet to send [06:02:48]OFD Sender: No OFD packet to send [06:02:53]OFD Sender: No OFD packet to send [06:02:58]OFD Sender: No OFD packet to send [06:03:03]OFD Sender: No OFD packet to send [06:03:08]OFD Sender: No OFD packet to send [06:03:13]OFD Sender: No OFD packet to send [06:03:18]OFD Sender: No OFD packet to send [06:03:23]OFD Sender: No OFD packet to send [06:03:28]OFD Sender: No OFD packet to send [06:03:33]OFD Sender: No OFD packet to send [06:03:38]OFD Sender: No OFD packet to send [06:03:43]OFD Sender: No OFD packet to send [06:03:48]OFD Sender: No OFD packet to send [06:03:53]OFD Sender: No OFD packet to send [06:03:58]OFD Sender: No OFD packet to send [06:04:03]OFD Sender: No OFD packet to send [06:04:08]OFD Sender: No OFD packet to send [06:04:13]OFD Sender: No OFD packet to send [06:04:18]OFD Sender: No OFD packet to send [06:04:23]OFD Sender: No OFD packet to send [06:04:28]OFD Sender: No OFD packet to send [06:04:33]OFD Sender: No OFD packet to send [06:04:38]OFD Sender: No OFD packet to send [06:04:43]OFD Sender: No OFD packet to send [06:04:48]OFD Sender: No OFD packet to send [06:04:53]OFD Sender: No OFD packet to send [06:04:58]OFD Sender: No OFD packet to send [06:05:03]OFD Sender: No OFD packet to send [06:05:08]OFD Sender: No OFD packet to send [06:05:13]OFD Sender: No OFD packet to send [06:05:18]OFD Sender: No OFD packet to send [06:05:23]OFD Sender: No OFD packet to send [06:05:28]OFD Sender: No OFD packet to send [06:05:33]OFD Sender: No OFD packet to send [06:05:38]OFD Sender: No OFD packet to send [06:05:43]OFD Sender: No OFD packet to send [06:05:48]OFD Sender: No OFD packet to send [06:05:53]OFD Sender: No OFD packet to send [06:05:58]OFD Sender: No OFD packet to send [06:06:03]OFD Sender: No OFD packet to send [06:06:08]OFD Sender: No OFD packet to send [06:06:13]OFD Sender: No OFD packet to send [06:06:18]OFD Sender: No OFD packet to send [06:06:23]OFD Sender: No OFD packet to send [06:06:28]OFD Sender: No OFD packet to send [06:06:33]OFD Sender: No OFD packet to send [06:06:38]OFD Sender: No OFD packet to send [06:06:43]OFD Sender: No OFD packet to send [06:06:48]OFD Sender: No OFD packet to send [06:06:53]OFD Sender: No OFD packet to send [06:06:58]OFD Sender: No OFD packet to send [06:07:03]OFD Sender: No OFD packet to send [06:07:08]OFD Sender: No OFD packet to send [06:07:13]OFD Sender: No OFD packet to send [06:07:18]OFD Sender: No OFD packet to send [06:07:23]OFD Sender: No OFD packet to send [06:07:28]OFD Sender: No OFD packet to send [06:07:33]OFD Sender: No OFD packet to send [06:07:38]OFD Sender: No OFD packet to send [06:07:43]OFD Sender: No OFD packet to send [06:07:48]OFD Sender: No OFD packet to send [06:07:53]OFD Sender: No OFD packet to send [06:07:58]OFD Sender: No OFD packet to send [06:08:03]OFD Sender: No OFD packet to send [06:08:08]OFD Sender: No OFD packet to send [06:08:13]OFD Sender: No OFD packet to send [06:08:18]OFD Sender: No OFD packet to send [06:08:23]OFD Sender: No OFD packet to send [06:08:28]OFD Sender: No OFD packet to send [06:08:33]OFD Sender: No OFD packet to send [06:08:38]OFD Sender: No OFD packet to send [06:08:43]OFD Sender: No OFD packet to send [06:08:48]OFD Sender: No OFD packet to send [06:08:53]OFD Sender: No OFD packet to send [06:08:58]OFD Sender: No OFD packet to send [06:09:03]OFD Sender: No OFD packet to send [06:09:08]OFD Sender: No OFD packet to send [06:09:13]OFD Sender: No OFD packet to send [06:09:18]OFD Sender: No OFD packet to send [06:09:23]OFD Sender: No OFD packet to send [06:09:28]OFD Sender: No OFD packet to send [06:09:33]OFD Sender: No OFD packet to send [06:09:38]OFD Sender: No OFD packet to send [06:09:43]OFD Sender: No OFD packet to send [06:09:48]OFD Sender: No OFD packet to send [06:09:53]OFD Sender: No OFD packet to send [06:09:58]OFD Sender: No OFD packet to send [06:10:03]OFD Sender: No OFD packet to send [06:10:08]OFD Sender: No OFD packet to send [06:10:13]OFD Sender: No OFD packet to send [06:10:18]OFD Sender: No OFD packet to send [06:10:23]OFD Sender: No OFD packet to send [06:10:28]OFD Sender: No OFD packet to send [06:10:33]OFD Sender: No OFD packet to send [06:10:38]OFD Sender: No OFD packet to send [06:10:43]OFD Sender: No OFD packet to send [06:10:48]OFD Sender: No OFD packet to send [06:10:53]OFD Sender: No OFD packet to send [06:10:58]OFD Sender: No OFD packet to send [06:11:03]OFD Sender: No OFD packet to send [06:11:08]OFD Sender: No OFD packet to send [06:11:13]OFD Sender: No OFD packet to send [06:11:18]OFD Sender: No OFD packet to send [06:11:23]OFD Sender: No OFD packet to send [06:11:28]OFD Sender: No OFD packet to send [06:11:33]OFD Sender: No OFD packet to send [06:11:38]OFD Sender: No OFD packet to send [06:11:43]OFD Sender: No OFD packet to send [06:11:48]OFD Sender: No OFD packet to send [06:11:53]OFD Sender: No OFD packet to send [06:11:58]OFD Sender: No OFD packet to send [06:12:03]OFD Sender: No OFD packet to send [06:12:08]OFD Sender: No OFD packet to send [06:12:13]OFD Sender: No OFD packet to send [06:12:18]OFD Sender: No OFD packet to send [06:12:23]OFD Sender: No OFD packet to send [06:12:28]OFD Sender: No OFD packet to send [06:12:33]OFD Sender: No OFD packet to send [06:12:38]OFD Sender: No OFD packet to send [06:12:43]OFD Sender: No OFD packet to send [06:12:48]OFD Sender: No OFD packet to send [06:12:53]OFD Sender: No OFD packet to send [06:12:58]OFD Sender: No OFD packet to send [06:13:03]OFD Sender: No OFD packet to send [06:13:08]OFD Sender: No OFD packet to send [06:13:13]OFD Sender: No OFD packet to send [06:13:18]OFD Sender: No OFD packet to send [06:13:23]OFD Sender: No OFD packet to send [06:13:28]OFD Sender: No OFD packet to send [06:13:33]OFD Sender: No OFD packet to send [06:13:38]OFD Sender: No OFD packet to send [06:13:43]OFD Sender: No OFD packet to send [06:13:48]OFD Sender: No OFD packet to send [06:13:53]OFD Sender: No OFD packet to send [06:13:58]OFD Sender: No OFD packet to send [06:14:03]OFD Sender: No OFD packet to send [06:14:08]OFD Sender: No OFD packet to send [06:14:13]OFD Sender: No OFD packet to send [06:14:18]OFD Sender: No OFD packet to send [06:14:23]OFD Sender: No OFD packet to send [06:14:28]OFD Sender: No OFD packet to send [06:14:33]OFD Sender: No OFD packet to send [06:14:38]OFD Sender: No OFD packet to send [06:14:43]OFD Sender: No OFD packet to send [06:14:48]OFD Sender: No OFD packet to send [06:14:53]OFD Sender: No OFD packet to send [06:14:58]OFD Sender: No OFD packet to send [06:15:03]OFD Sender: No OFD packet to send [06:15:08]OFD Sender: No OFD packet to send [06:15:13]OFD Sender: No OFD packet to send [06:15:18]OFD Sender: No OFD packet to send [06:15:23]OFD Sender: No OFD packet to send [06:15:28]OFD Sender: No OFD packet to send [06:15:33]OFD Sender: No OFD packet to send [06:15:38]OFD Sender: No OFD packet to send [06:15:43]OFD Sender: No OFD packet to send [06:15:48]OFD Sender: No OFD packet to send [06:15:53]OFD Sender: No OFD packet to send [06:15:58]OFD Sender: No OFD packet to send [06:16:03]OFD Sender: No OFD packet to send [06:16:08]OFD Sender: No OFD packet to send [06:16:13]OFD Sender: No OFD packet to send [06:16:18]OFD Sender: No OFD packet to send [06:16:23]OFD Sender: No OFD packet to send [06:16:28]OFD Sender: No OFD packet to send [06:16:33]OFD Sender: No OFD packet to send [06:16:38]OFD Sender: No OFD packet to send [06:16:43]OFD Sender: No OFD packet to send [06:16:48]OFD Sender: No OFD packet to send [06:16:53]OFD Sender: No OFD packet to send [06:16:58]OFD Sender: No OFD packet to send [06:17:03]OFD Sender: No OFD packet to send [06:17:08]OFD Sender: No OFD packet to send [06:17:13]OFD Sender: No OFD packet to send [06:17:18]OFD Sender: No OFD packet to send [06:17:23]OFD Sender: No OFD packet to send [06:17:28]OFD Sender: No OFD packet to send [06:17:33]OFD Sender: No OFD packet to send [06:17:38]OFD Sender: No OFD packet to send [06:17:43]OFD Sender: No OFD packet to send [06:17:48]OFD Sender: No OFD packet to send [06:17:53]OFD Sender: No OFD packet to send [06:17:58]OFD Sender: No OFD packet to send [06:18:03]OFD Sender: No OFD packet to send [06:18:08]OFD Sender: No OFD packet to send [06:18:13]OFD Sender: No OFD packet to send [06:18:18]OFD Sender: No OFD packet to send [06:18:23]OFD Sender: No OFD packet to send [06:18:28]OFD Sender: No OFD packet to send [06:18:33]OFD Sender: No OFD packet to send [06:18:38]OFD Sender: No OFD packet to send [06:18:43]OFD Sender: No OFD packet to send [06:18:48]OFD Sender: No OFD packet to send [06:18:53]OFD Sender: No OFD packet to send [06:18:58]OFD Sender: No OFD packet to send [06:19:02]accept exits with 9 [06:19:02]New connection [06:19:02]New thread 3067530596 created [06:19:02]Thread 3067387236 joined [06:19:02]Waiting for new connection... [06:19:02] Sock 9.Parse request [06:19:02]Sock 9.Check first char [06:19:02]Sock 9.First char is OK [06:19:02]request: POST /json_proto HTTP/1.0 [06:19:02]Method: POST [06:19:02]URL: /json_proto [06:19:02]Method is POST - this is cgi request [06:19:02]url: /json_proto [06:19:02]query_string will be loaded in cgi processing [06:19:02]execute_cgi json_proto POST (null) [06:19:02]execute_cgi path=json_proto method=POST [06:19:02]POST find Content-Length [06:19:02]Host: 172.17.45.8:8080 [06:19:02]Content-Length: 623 [06:19:02]Content-Type: application/json [06:19:02] [06:19:02]POST finish read [06:19:02]Found Content-Length = 623 [06:19:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150428", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "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" ] } } [06:19:02]execute_script... [06:19: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)150428", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "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" ] } } [06:19:02]POST & json_proto [06:19:02]process_json_proto [06:19:02]json parsed OK: [06:19:02]protocol is kg_v1.0 [06:19:02]action value=close_receipt [06:19:02]process_action close_receipt [06:19:02]cmd_close_receipt [06:19:02]MH_GetDate [06:19:02]Write to MH i2c: F0 00 00 30 0E 2D [06:19:02]Write i2c OK [06:19:02]MH_I2C_Read... [06:19:02]Read from MH i2c: F0 [06:19:02]MH_I2C_Read... [06:19:02]Read from MH i2c: F0 09 00 [06:19:02]MH_I2C_Read... [06:19:02]Read from MH i2c: F0 09 00 30 0E 00 D9 E2 A5 66 A6 1F 7F 64 A4 [06:19:02]GetLastDocTimeStamp 1722141303 [06:19:02]current date 1722147545 [06:19:02]FM_GetShiftState [06:19:02]SAM_PROTO_GetShiftState [06:19:02]wFMCommunicate request_size=4 [06:19:02]MH_SAM_APDU [06:19:02]CAPDU: 80 13 01 00 [06:19:02]Write to MH i2c: E2 08 00 31 0E 80 13 01 00 00 00 00 00 BC [06:19:02]Write i2c OK [06:19:02]MH_I2C_Read... [06:19:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:19:02]Read from MH i2c: E2 [06:19:02]MH_I2C_Read... [06:19:02]Read from MH i2c: E2 0E 00 [06:19:02]MH_I2C_Read... [06:19:02]Read from MH i2c: E2 0E 00 31 0E 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 E4 [06:19:02]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [06:19:02]wFMCommunicate OK [06:19:02]SAM_PROTO_GetShiftState done [06:19:02]FM_GetShiftState done [06:19:02]opened in 1722127230 [06:19:02]opened+sec_in_day 1722213630 [06:19:02]quantity*price = 14000 [06:19:02]sum+1 = 14001 [06:19:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 8 28.07.2024 06:19 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27030 ФПД: 110916035363792 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T061905&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27030&fm=110916035363792&tin=02508201610067®Number=0000000000092663&sum=14000 0 [06:19:03]StoreToDocumentArchive [06:19:03]shift 433 fd 27030 [06:19:03]save to /storage/0433/doc_00027030 [06:19:03]save last doc name /storage/0433/doc_00027030 to /storage/kkm_last_doc_name [06:19:03]save OK [06:19:03]Clear old archive folders... [06:19:03]ProcessDocumentItem done err = 0, tmpTLVsize=275 [06:19:03]tlvbuf is 01895C50 [06:19:03]SAM_PROTO_ClearQueue [06:19:03]wFMCommunicate request_size=4 [06:19:03]MH_SAM_APDU [06:19:03]CAPDU: 80 09 00 00 [06:19:03]Write to MH i2c: E2 08 00 3E 0E 80 09 00 00 00 00 00 00 BE [06:19:03]Write i2c OK [06:19:03]MH_I2C_Read... [06:19:03]Read from MH i2c: E2 [06:19:03]MH_I2C_Read... [06:19:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:19:03]Read from MH i2c: E2 03 00 [06:19:03]MH_I2C_Read... [06:19:03]Read from MH i2c: E2 03 00 3E 0E 00 90 00 C0 [06:19:03]RAPDU: 90 00 [06:19:03]wFMCommunicate OK [06:19:03]SAM_PROTO_ClearQueue done [06:19:03]KKMCreateOFDPacket [06:19:03]OFDProtocolAddRootSTLVToBuf [06:19:03]FM_MakeSignedData [06:19:03]FM_MakeSignedData [06:19:03]SAM_PROTO_SignData [06:19:03]wFMCommunicate request_size=4 [06:19:03]MH_SAM_APDU [06:19:03]CAPDU: 80 0D 01 02 [06:19:03]Write to MH i2c: E2 08 00 3F 0E 80 0D 01 02 00 00 00 00 C6 [06:19:03]Write i2c OK [06:19:03]MH_I2C_Read... [06:19:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:19:03]Read from MH i2c: E2 [06:19:03]MH_I2C_Read... [06:19:03]Read from MH i2c: E2 03 00 [06:19:03]MH_I2C_Read... [06:19:03]Read from MH i2c: E2 03 00 3F 0E 00 90 00 C1 [06:19:03]RAPDU: 90 00 [06:19:03]wFMCommunicate OK [06:19:03]wFMCommunicate request_size=255 [06:19:03]MH_SAM_APDU [06:19:03]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 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 08 00 00 00 F4 03 04 00 D9 E2 A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 [06:19:03]Write to MH i2c: E2 02 01 40 0E 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 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 08 00 00 00 F4 03 04 00 D9 E2 A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 00 00 D7 [06:19:03]Write i2c OK [06:19:03]MH_I2C_Read... [06:19:03]OFD Sender: No OFD packet to send [06:19:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:19:03]Read from MH i2c: E2 [06:19:03]MH_I2C_Read... [06:19:03]Read from MH i2c: E2 03 00 [06:19:03]MH_I2C_Read... [06:19:03]Read from MH i2c: E2 03 00 40 0E 00 90 00 C2 [06:19:03]RAPDU: 90 00 [06:19:03]wFMCommunicate OK [06:19:03]wFMCommunicate request_size=34 [06:19:03]MH_SAM_APDU [06:19:03]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 96 69 00 00 35 04 06 00 64 E0 A6 E3 43 D0 [06:19:03]Write to MH i2c: E2 25 00 41 0E 80 0D 02 02 1D 00 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 96 69 00 00 35 04 06 00 64 E0 A6 E3 43 D0 00 00 6F [06:19:03]Write i2c OK [06:19:03]MH_I2C_Read... [06:19:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:19:04]Read from MH i2c: E2 [06:19:04]MH_I2C_Read... [06:19:04]Read from MH i2c: E2 03 00 [06:19:04]MH_I2C_Read... [06:19:04]Read from MH i2c: E2 03 00 41 0E 00 90 00 C3 [06:19:04]RAPDU: 90 00 [06:19:04]wFMCommunicate OK [06:19:04]wFMCommunicate request_size=4 [06:19:04]MH_SAM_APDU [06:19:04]CAPDU: 80 0D 03 02 [06:19:04]Write to MH i2c: E2 08 00 42 0E 80 0D 03 02 00 00 00 00 CB [06:19:04]Write i2c OK [06:19:04]MH_I2C_Read... [06:19:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:19:04]Read from MH i2c: E2 [06:19:04]MH_I2C_Read... [06:19:04]Read from MH i2c: E2 0B 00 [06:19:04]MH_I2C_Read... [06:19:04]Read from MH i2c: E2 0B 00 42 0E 00 50 68 81 B4 2E 88 8C 69 90 00 64 [06:19:04]RAPDU: 50 68 81 B4 2E 88 8C 69 90 00 [06:19:04]wFMCommunicate OK [06:19:04]SAM_PROTO_SignData done [06:19:04]FM_MakeSignedData done [06:19:04]CreateOFDProtocolMessage [06:19:04]wFMCommunicate request_size=4 [06:19:04]MH_SAM_APDU [06:19:04]CAPDU: 80 11 00 00 [06:19:04]Write to MH i2c: E2 08 00 43 0E 80 11 00 00 00 00 00 00 CB [06:19:04]Write i2c OK [06:19:04]MH_I2C_Read... [06:19:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:19:04]Read from MH i2c: E2 [06:19:04]MH_I2C_Read... [06:19:04]Read from MH i2c: E2 17 00 [06:19:04]MH_I2C_Read... [06:19:04]Read from MH i2c: E2 17 00 43 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 24 [06:19:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [06:19:04]wFMCommunicate OK [06:19:04]CreateOFDProtocolMessage done [06:19:04]OFDSenderStorePacket 27030 [06:19:04]StoreOFDPacket docnum=27030 [06:19:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 27 01 00 00 C0 53 1F 01 0A 41 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 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 08 00 00 00 F4 03 04 00 D9 E2 A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 96 69 00 00 35 04 06 00 64 E0 A6 E3 43 D0 50 68 81 B4 2E 88 8C 69 [06:19:04]CheckFolder [06:19:04]dirname=/storage/ofd_packets [06:19:04]CheckFolder done [06:19:04]ProducePacketName [06:19:04]name=ofd_packets/00027030 [06:19:04]NVStorageSaveData ofd_packets/00027030 [06:19:04]File name is /storage/ofd_packets/00027030 [06:19:04]Write 325 bytes [06:19:04]NVStorageSaveData done [06:19:04]OFDSenderStorePacket done [06:19:04]KKMCreateOFDPacket done [06:19:04]NVStorageSaveData kkm_last_timestamp [06:19:04]File name is /storage/kkm_last_timestamp [06:19:04]Write 4 bytes [06:19:04]NVStorageSaveData done [06:19:04]ExternCall_PrintAddStr [06:19:04]wPrintStart [06:19:04]Write to MH i2c: 01 00 00 44 0E 52 [06:19:04]Write i2c OK [06:19:04]MH_I2C_Read... [06:19:04]Read from MH i2c: 01 [06:19:04]MH_I2C_Read... [06:19:04]Read from MH i2c: 01 07 00 [06:19:04]MH_I2C_Read... [06:19:04]Read from MH i2c: 01 07 00 44 0E 00 00 00 00 00 FF 0F 67 [06:19:04]RasterBufferAndPrint [06:19:04]line Счет N : (3)150428 [06:19:04]line ИНН: 02508201610067 [06:19:04]line Контрольно-Кассовый Чек [06:19:04]line ПРОДАЖА [06:19:04]line Товар: 48743587 [06:19:04]line Сигареты Winston XStyle Silver [06:19:04]line 1.000 * 140.00 [06:19:04]line = 140.00 [06:19:04]line НДС 12% НСП 1% [06:19:04]line > о реализуемом товаре [06:19:04]line ИТОГО: 140.00 [06:19:04]line НСП 1% : 1.24 [06:19:04]line НДС 12% : 14.87 [06:19:04]line Наличными: 140.00 [06:19:04]line Безнал.: 0.00 [06:19:04]line Место: АЗС № 134 "Партнер Нефть" [06:19:04]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [06:19:04]line СНО: Общий режим [06:19:04]line Чек 8 28.07.2024 06:19 [06:19:04]line Смена: 433 ФФД: 1.0 [06:19:04]line ЗНМ: 0300000043 [06:19:04]line РНМ: 0000000000092663 [06:19:04]line Версия ККМ: 001 [06:19:04]line ФМ: 0000000000874937 [06:19:04]line ФД: 27030 [06:19:04]line ФПД: 110916035363792 [06:19:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T061905&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27030&fm=110916035363792&tin=02508201610067®Number=0000000000092663&sum=14000 [06:19:04]OFD Sender: Processing packet 27030 [packets to send 9, broken 8] [06:19:04]ProducePacketName [06:19:04]name=ofd_packets/00027030 [06:19:04]OFD Sender: To server: pG, [06:19:04]CommunicateWithHost lk.salyk.kg:30040 [06:19:04]ConnectInit lk.salyk.kg [06:19:04]line 0 [06:19:04]written 0, free lines is 4095 [06:19:04]Connected sock=10 [06:19:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 27 01 00 00 C0 53 1F 01 0A 41 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 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 08 00 00 00 F4 03 04 00 D9 E2 A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 96 69 00 00 35 04 06 00 64 E0 A6 E3 43 D0 50 68 81 B4 2E 88 8C 69 [06:19:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 4A A2 47 00 0E C3 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 38 37 34 39 33 37 10 04 04 00 96 69 00 00 F4 03 04 00 2D 89 A5 66 B6 04 01 00 00 B9 0B 80 4F 66 34 AC 8A [06:19:04]CommunicateWithHost err = 0 [06:19:04]CheckOFDResponse [06:19:04]1017 (14) - 77093643461234 [06:19:04]1041 (16) - 0000000000874937 [06:19:04]1040 (4) - 27030 [06:19:04]1012 (4) - 27.07.2024 23:56 [06:19:04]1206 (1) - 0 [06:19:04]OFD Sender: Remove packet 27030 [06:19:04]ProducePacketName [06:19:04]name=ofd_packets/00027030 [06:19:04]NVStorageDeleteData [06:19:04]Write to MH i2c: 01 00 00 6C 0E 7A [06:19:04]Write i2c OK [06:19:04]MH_I2C_Read... [06:19:04]Read from MH i2c: 01 [06:19:04]MH_I2C_Read... [06:19:04]Read from MH i2c: 01 07 00 [06:19:04]MH_I2C_Read... [06:19:04]Read from MH i2c: 01 07 00 6C 0E 00 00 00 00 00 E1 0C 6E [06:19:04]RasterBufferAndPrint [06:19:04]line [06:19:04]line [06:19:04]line [06:19:04]line [06:19:04]line [06:19:04]written 0, free lines is 3303 [06:19:04]MH_Cut [06:19:04]Write to MH i2c: D1 01 00 73 0E 01 53 [06:19:04]Write i2c OK [06:19:04]MH_I2C_Read... [06:19:04]Read from MH i2c: D1 [06:19:04]MH_I2C_Read... [06:19:04]Read from MH i2c: D1 01 00 [06:19:04]MH_I2C_Read... [06:19:04]Read from MH i2c: D1 01 00 73 0E 00 52 [06:19:04]Write to MH i2c: 01 00 00 74 0E 82 [06:19:04]Write i2c OK [06:19:04]MH_I2C_Read... [06:19:05]OFD Sender: No OFD packet to send [06:19:05]*** Cut start [06:19:05]*** Partial cut [06:19:05]*** CUTSNS_PIN = 1 [06:19:05]*** CUTSNS_PIN = 0 [06:19:05]*** Brake cut motor [06:19:06]Read from MH i2c: 01 [06:19:06]MH_I2C_Read... [06:19:06]*** Stop cut motor [06:19:06]*** Cut end [06:19:06]Read from MH i2c: 01 07 00 [06:19:06]MH_I2C_Read... [06:19:06]Read from MH i2c: 01 07 00 74 0E 00 00 00 00 00 FF 0F 97 [06:19:06]process_action close_receipt done [06:19:06]requested_data is exist [06:19:06]produce_requested_data [06:19:06]requested_item fm.sn is exist - process it [06:19:06]wFMCommunicate request_size=4 [06:19:06]MH_SAM_APDU [06:19:06]CAPDU: 80 11 00 00 [06:19:06]Write to MH i2c: E2 08 00 75 0E 80 11 00 00 00 00 00 00 FD [06:19:06]Write i2c OK [06:19:06]MH_I2C_Read... [06:19:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:19:06]Read from MH i2c: E2 [06:19:06]MH_I2C_Read... [06:19:06]Read from MH i2c: E2 17 00 [06:19:06]MH_I2C_Read... [06:19:06]Read from MH i2c: E2 17 00 75 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 56 [06:19:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [06:19:06]wFMCommunicate OK [06:19:06]requested_item fd.num is exist - process it [06:19:06]SAM_PROTO_GetFieldsCounters [06:19:06]wFMCommunicate request_size=4 [06:19:06]MH_SAM_APDU [06:19:06]CAPDU: 80 13 00 00 [06:19:06]Write to MH i2c: E2 08 00 76 0E 80 13 00 00 00 00 00 00 00 [06:19:06]Write i2c OK [06:19:06]MH_I2C_Read... [06:19:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:19:06]Read from MH i2c: E2 [06:19:06]MH_I2C_Read... [06:19:06]Read from MH i2c: E2 62 00 [06:19:06]MH_I2C_Read... [06:19:06]Read from MH i2c: E2 62 00 76 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 96 69 00 00 0E 04 04 00 B1 01 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 F1 [06:19:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 96 69 00 00 0E 04 04 00 B1 01 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 [06:19:06]wFMCommunicate OK [06:19:06]SAM_PROTO_GetFieldsCounters done [06:19:06]requested_item shift.num is exist - process it [06:19:06]requested_item shift.opened is exist - process it [06:19:06]req_shift_opened [06:19:06]FM_GetShiftState [06:19:06]SAM_PROTO_GetShiftState [06:19:06]wFMCommunicate request_size=4 [06:19:06]MH_SAM_APDU [06:19:06]CAPDU: 80 13 01 00 [06:19:06]Write to MH i2c: E2 08 00 77 0E 80 13 01 00 00 00 00 00 02 [06:19:06]Write i2c OK [06:19:06]MH_I2C_Read... [06:19:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:19:06]Read from MH i2c: E2 [06:19:06]MH_I2C_Read... [06:19:06]Read from MH i2c: E2 0E 00 [06:19:06]MH_I2C_Read... [06:19:06]Read from MH i2c: E2 0E 00 77 0E 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 2A [06:19:06]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [06:19:06]wFMCommunicate OK [06:19:06]SAM_PROTO_GetShiftState done [06:19:06]FM_GetShiftState done [06:19:06]req_shift_opened done [06:19:06]requested_item shift.open_date is exist - process it [06:19:06]req_shift_open_date [06:19:06]req_shift_open_date done [06:19:06]produce_requested_data done [06:19:06]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27030,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [06:19:06]process_action_free close_receipt [06:19:06]json_value_free [06:19:06]json_value_free done [06:19:06]process_json_proto returns [06:19:06]Send response to host [06:19:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27030,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [06:19:06]free response buf [06:19:06]execute_script done [06:19:06]execute_script returns [06:19:06]free content buf [06:19:06]Sock 9.Close socket [06:19:06]Sock 9.Thread stoped [06:19:10]OFD Sender: No OFD packet to send [06:19:15]OFD Sender: No OFD packet to send [06:19:20]OFD Sender: No OFD packet to send [06:19:25]OFD Sender: No OFD packet to send [06:19:27]accept exits with 7 [06:19:27]New connection [06:19:27]New thread 3067387236 created [06:19:27]Thread 3067530596 joined [06:19:27]Waiting for new connection... [06:19:27] Sock 7.Parse request [06:19:27]Sock 7.Check first char [06:19:27]Sock 7.First char is OK [06:19:27]request: POST /json_proto HTTP/1.0 [06:19:27]Method: POST [06:19:27]URL: /json_proto [06:19:27]Method is POST - this is cgi request [06:19:27]url: /json_proto [06:19:27]query_string will be loaded in cgi processing [06:19:27]execute_cgi json_proto POST (null) [06:19:27]execute_cgi path=json_proto method=POST [06:19:27]POST find Content-Length [06:19:27]Host: 172.17.45.8:8080 [06:19:27]Content-Length: 646 [06:19:27]Content-Type: application/json [06:19:27] [06:19:27]POST finish read [06:19:27]Found Content-Length = 646 [06:19:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150429", "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" ] } } [06:19:27]execute_script... [06:19: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)150429", "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" ] } } [06:19:27]POST & json_proto [06:19:27]process_json_proto [06:19:27]json parsed OK: [06:19:27]protocol is kg_v1.0 [06:19:27]action value=close_receipt [06:19:27]process_action close_receipt [06:19:27]cmd_close_receipt [06:19:27]MH_GetDate [06:19:27]Write to MH i2c: F0 00 00 78 0E 75 [06:19:27]Write i2c OK [06:19:27]MH_I2C_Read... [06:19:27]Read from MH i2c: F0 [06:19:27]MH_I2C_Read... [06:19:27]Read from MH i2c: F0 09 00 [06:19:27]MH_I2C_Read... [06:19:27]Read from MH i2c: F0 09 00 78 0E 00 F2 E2 A5 66 A6 1F 7F 64 05 [06:19:27]GetLastDocTimeStamp 1722147545 [06:19:27]current date 1722147570 [06:19:27]FM_GetShiftState [06:19:27]SAM_PROTO_GetShiftState [06:19:27]wFMCommunicate request_size=4 [06:19:27]MH_SAM_APDU [06:19:27]CAPDU: 80 13 01 00 [06:19:27]Write to MH i2c: E2 08 00 79 0E 80 13 01 00 00 00 00 00 04 [06:19:27]Write i2c OK [06:19:27]MH_I2C_Read... [06:19:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:19:27]Read from MH i2c: E2 [06:19:27]MH_I2C_Read... [06:19:27]Read from MH i2c: E2 0E 00 [06:19:27]MH_I2C_Read... [06:19:27]Read from MH i2c: E2 0E 00 79 0E 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 2C [06:19:27]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [06:19:27]wFMCommunicate OK [06:19:27]SAM_PROTO_GetShiftState done [06:19:27]FM_GetShiftState done [06:19:27]opened in 1722127230 [06:19:27]opened+sec_in_day 1722213630 [06:19:27]quantity*price = 13000 [06:19:27]sum+1 = 13001 [06:19:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 9 28.07.2024 06:19 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27031 ФПД: 251807862155867 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T061930&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27031&fm=251807862155867&tin=02508201610067®Number=0000000000092663&sum=13000 0 [06:19:28]StoreToDocumentArchive [06:19:28]shift 433 fd 27031 [06:19:28]save to /storage/0433/doc_00027031 [06:19:28]save last doc name /storage/0433/doc_00027031 to /storage/kkm_last_doc_name [06:19:28]save OK [06:19:28]Clear old archive folders... [06:19:28]ProcessDocumentItem done err = 0, tmpTLVsize=282 [06:19:28]tlvbuf is 01807640 [06:19:28]SAM_PROTO_ClearQueue [06:19:28]wFMCommunicate request_size=4 [06:19:28]MH_SAM_APDU [06:19:28]CAPDU: 80 09 00 00 [06:19:28]Write to MH i2c: E2 08 00 86 0E 80 09 00 00 00 00 00 00 06 [06:19:28]Write i2c OK [06:19:28]MH_I2C_Read... [06:19:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:19:28]Read from MH i2c: E2 [06:19:28]MH_I2C_Read... [06:19:28]Read from MH i2c: E2 03 00 [06:19:28]MH_I2C_Read... [06:19:28]Read from MH i2c: E2 03 00 86 0E 00 90 00 08 [06:19:28]RAPDU: 90 00 [06:19:28]wFMCommunicate OK [06:19:28]SAM_PROTO_ClearQueue done [06:19:28]KKMCreateOFDPacket [06:19:28]OFDProtocolAddRootSTLVToBuf [06:19:28]FM_MakeSignedData [06:19:28]FM_MakeSignedData [06:19:28]SAM_PROTO_SignData [06:19:28]wFMCommunicate request_size=4 [06:19:28]MH_SAM_APDU [06:19:28]CAPDU: 80 0D 01 02 [06:19:28]Write to MH i2c: E2 08 00 87 0E 80 0D 01 02 00 00 00 00 0E [06:19:28]Write i2c OK [06:19:28]MH_I2C_Read... [06:19:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:19:28]Read from MH i2c: E2 [06:19:28]MH_I2C_Read... [06:19:28]Read from MH i2c: E2 03 00 [06:19:28]MH_I2C_Read... [06:19:28]Read from MH i2c: E2 03 00 87 0E 00 90 00 09 [06:19:28]RAPDU: 90 00 [06:19:28]wFMCommunicate OK [06:19:28]wFMCommunicate request_size=255 [06:19:28]MH_SAM_APDU [06:19:28]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 09 00 00 00 F4 03 04 00 F2 E2 A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 [06:19:28]Write to MH i2c: E2 02 01 88 0E 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 09 00 00 00 F4 03 04 00 F2 E2 A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 00 00 B8 [06:19:28]Write i2c OK [06:19:28]MH_I2C_Read... [06:19:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:19:28]Read from MH i2c: E2 [06:19:28]MH_I2C_Read... [06:19:28]Read from MH i2c: E2 03 00 [06:19:28]MH_I2C_Read... [06:19:28]Read from MH i2c: E2 03 00 88 0E 00 90 00 0A [06:19:28]RAPDU: 90 00 [06:19:28]wFMCommunicate OK [06:19:28]wFMCommunicate request_size=41 [06:19:28]MH_SAM_APDU [06:19:28]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 97 69 00 00 35 04 06 00 E5 04 96 2C EA 5B [06:19:28]Write to MH i2c: E2 2C 00 89 0E 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 97 69 00 00 35 04 06 00 E5 04 96 2C EA 5B 00 00 D6 [06:19:28]Write i2c OK [06:19:28]MH_I2C_Read... [06:19:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:19:29]Read from MH i2c: E2 [06:19:29]MH_I2C_Read... [06:19:29]Read from MH i2c: E2 03 00 [06:19:29]MH_I2C_Read... [06:19:29]Read from MH i2c: E2 03 00 89 0E 00 90 00 0B [06:19:29]RAPDU: 90 00 [06:19:29]wFMCommunicate OK [06:19:29]wFMCommunicate request_size=4 [06:19:29]MH_SAM_APDU [06:19:29]CAPDU: 80 0D 03 02 [06:19:29]Write to MH i2c: E2 08 00 8A 0E 80 0D 03 02 00 00 00 00 13 [06:19:29]Write i2c OK [06:19:29]MH_I2C_Read... [06:19:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:19:29]Read from MH i2c: E2 [06:19:29]MH_I2C_Read... [06:19:29]Read from MH i2c: E2 0B 00 [06:19:29]MH_I2C_Read... [06:19:29]Read from MH i2c: E2 0B 00 8A 0E 00 20 0B 54 FF AA F9 AE 03 90 00 E6 [06:19:29]RAPDU: 20 0B 54 FF AA F9 AE 03 90 00 [06:19:29]wFMCommunicate OK [06:19:29]SAM_PROTO_SignData done [06:19:29]FM_MakeSignedData done [06:19:29]CreateOFDProtocolMessage [06:19:29]wFMCommunicate request_size=4 [06:19:29]MH_SAM_APDU [06:19:29]CAPDU: 80 11 00 00 [06:19:29]Write to MH i2c: E2 08 00 8B 0E 80 11 00 00 00 00 00 00 13 [06:19:29]Write i2c OK [06:19:29]MH_I2C_Read... [06:19:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:19:29]Read from MH i2c: E2 [06:19:29]MH_I2C_Read... [06:19:29]Read from MH i2c: E2 17 00 [06:19:29]MH_I2C_Read... [06:19:29]Read from MH i2c: E2 17 00 8B 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 6C [06:19:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [06:19:29]wFMCommunicate OK [06:19:29]CreateOFDProtocolMessage done [06:19:29]OFDSenderStorePacket 27031 [06:19:29]StoreOFDPacket docnum=27031 [06:19:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 2E 01 00 00 B4 93 26 01 51 5A 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 09 00 00 00 F4 03 04 00 F2 E2 A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 97 69 00 00 35 04 06 00 E5 04 96 2C EA 5B 20 0B 54 FF AA F9 AE 03 [06:19:29]CheckFolder [06:19:29]dirname=/storage/ofd_packets [06:19:29]CheckFolder done [06:19:29]ProducePacketName [06:19:29]name=ofd_packets/00027031 [06:19:29]NVStorageSaveData ofd_packets/00027031 [06:19:29]File name is /storage/ofd_packets/00027031 [06:19:29]Write 332 bytes [06:19:29]NVStorageSaveData done [06:19:29]OFDSenderStorePacket done [06:19:29]KKMCreateOFDPacket done [06:19:29]NVStorageSaveData kkm_last_timestamp [06:19:29]File name is /storage/kkm_last_timestamp [06:19:29]Write 4 bytes [06:19:29]NVStorageSaveData done [06:19:29]ExternCall_PrintAddStr [06:19:29]wPrintStart [06:19:29]Write to MH i2c: 01 00 00 8C 0E 9A [06:19:29]Write i2c OK [06:19:29]MH_I2C_Read... [06:19:29]Read from MH i2c: 01 [06:19:29]MH_I2C_Read... [06:19:29]Read from MH i2c: 01 07 00 [06:19:29]MH_I2C_Read... [06:19:29]Read from MH i2c: 01 07 00 8C 0E 00 00 00 00 00 FF 0F AF [06:19:29]RasterBufferAndPrint [06:19:29]line Счет N : (3)150429 [06:19:29]line ИНН: 02508201610067 [06:19:29]line Контрольно-Кассовый Чек [06:19:29]line ПРОДАЖА [06:19:29]line Товар: 2000036220012 [06:19:29]line Кофе Капучино XL(GABB TRADE) [06:19:29]line 1.000 * 130.00 [06:19:29]line = 130.00 [06:19:29]line НДС 12% НСП 1% [06:19:29]line > о реализуемом товаре [06:19:29]line ИТОГО: 130.00 [06:19:29]line НСП 1% : 1.15 [06:19:29]line НДС 12% : 13.80 [06:19:29]line Наличными: 130.00 [06:19:29]line Безнал.: 0.00 [06:19:29]line Место: АЗС № 134 "Партнер Нефть" [06:19:29]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [06:19:29]line СНО: Общий режим [06:19:29]line Чек 9 28.07.2024 06:19 [06:19:29]line Смена: 433 ФФД: 1.0 [06:19:29]line ЗНМ: 0300000043 [06:19:29]line РНМ: 0000000000092663 [06:19:29]line Версия ККМ: 001 [06:19:29]line ФМ: 0000000000874937 [06:19:29]line ФД: 27031 [06:19:29]line ФПД: 251807862155867 [06:19:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T061930&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27031&fm=251807862155867&tin=02508201610067®Number=0000000000092663&sum=13000 [06:19:29]line 0 [06:19:29]OFD Sender: Processing packet 27031 [packets to send 9, broken 8] [06:19:29]ProducePacketName [06:19:29]name=ofd_packets/00027031 [06:19:29]OFD Sender: To server: pG, [06:19:29]CommunicateWithHost lk.salyk.kg:30040 [06:19:29]ConnectInit lk.salyk.kg [06:19:29]written 0, free lines is 4095 [06:19:29]Connected sock=10 [06:19:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 2E 01 00 00 B4 93 26 01 51 5A 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 09 00 00 00 F4 03 04 00 F2 E2 A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 97 69 00 00 35 04 06 00 E5 04 96 2C EA 5B 20 0B 54 FF AA F9 AE 03 [06:19:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 9F 44 47 00 5D 49 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 38 37 34 39 33 37 10 04 04 00 97 69 00 00 F4 03 04 00 46 89 A5 66 B6 04 01 00 00 FF 73 7D DB 67 6F A7 CC [06:19:29]CommunicateWithHost err = 0 [06:19:29]CheckOFDResponse [06:19:29]1017 (14) - 77093643461234 [06:19:29]1041 (16) - 0000000000874937 [06:19:29]1040 (4) - 27031 [06:19:29]1012 (4) - 27.07.2024 23:56 [06:19:29]1206 (1) - 0 [06:19:29]OFD Sender: Remove packet 27031 [06:19:29]ProducePacketName [06:19:29]name=ofd_packets/00027031 [06:19:29]NVStorageDeleteData [06:19:29]Write to MH i2c: 01 00 00 B4 0E C2 [06:19:29]Write i2c OK [06:19:29]MH_I2C_Read... [06:19:29]Read from MH i2c: 01 [06:19:29]MH_I2C_Read... [06:19:29]Read from MH i2c: 01 07 00 [06:19:29]MH_I2C_Read... [06:19:29]Read from MH i2c: 01 07 00 B4 0E 00 00 00 00 00 E8 0C BD [06:19:29]RasterBufferAndPrint [06:19:29]line [06:19:29]line [06:19:29]line [06:19:29]line [06:19:29]line [06:19:29]written 0, free lines is 3312 [06:19:29]MH_Cut [06:19:29]Write to MH i2c: D1 01 00 BB 0E 01 9B [06:19:29]Write i2c OK [06:19:29]MH_I2C_Read... [06:19:29]Read from MH i2c: D1 [06:19:29]MH_I2C_Read... [06:19:29]Read from MH i2c: D1 01 00 [06:19:29]MH_I2C_Read... [06:19:29]Read from MH i2c: D1 01 00 BB 0E 00 9A [06:19:29]Write to MH i2c: 01 00 00 BC 0E CA [06:19:29]Write i2c OK [06:19:29]MH_I2C_Read... [06:19:30]OFD Sender: No OFD packet to send [06:19:30]*** Cut start [06:19:30]*** Partial cut [06:19:30]*** CUTSNS_PIN = 1 [06:19:30]*** CUTSNS_PIN = 0 [06:19:30]*** Brake cut motor [06:19:31]Read from MH i2c: 01 [06:19:31]MH_I2C_Read... [06:19:31]*** Stop cut motor [06:19:31]*** Cut end [06:19:31]Read from MH i2c: 01 07 00 [06:19:31]MH_I2C_Read... [06:19:31]Read from MH i2c: 01 07 00 BC 0E 00 00 00 00 00 FF 0F DF [06:19:31]process_action close_receipt done [06:19:31]requested_data is exist [06:19:31]produce_requested_data [06:19:31]requested_item fm.sn is exist - process it [06:19:31]wFMCommunicate request_size=4 [06:19:31]MH_SAM_APDU [06:19:31]CAPDU: 80 11 00 00 [06:19:31]Write to MH i2c: E2 08 00 BD 0E 80 11 00 00 00 00 00 00 45 [06:19:31]Write i2c OK [06:19:31]MH_I2C_Read... [06:19:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:19:31]Read from MH i2c: E2 [06:19:31]MH_I2C_Read... [06:19:31]Read from MH i2c: E2 17 00 [06:19:31]MH_I2C_Read... [06:19:31]Read from MH i2c: E2 17 00 BD 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 9E [06:19:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [06:19:31]wFMCommunicate OK [06:19:31]requested_item fd.num is exist - process it [06:19:31]SAM_PROTO_GetFieldsCounters [06:19:31]wFMCommunicate request_size=4 [06:19:31]MH_SAM_APDU [06:19:31]CAPDU: 80 13 00 00 [06:19:31]Write to MH i2c: E2 08 00 BE 0E 80 13 00 00 00 00 00 00 48 [06:19:31]Write i2c OK [06:19:31]MH_I2C_Read... [06:19:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:19:31]Read from MH i2c: E2 [06:19:31]MH_I2C_Read... [06:19:31]Read from MH i2c: E2 62 00 [06:19:31]MH_I2C_Read... [06:19:31]Read from MH i2c: E2 62 00 BE 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 97 69 00 00 0E 04 04 00 B1 01 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 3D [06:19:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 97 69 00 00 0E 04 04 00 B1 01 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 [06:19:31]wFMCommunicate OK [06:19:31]SAM_PROTO_GetFieldsCounters done [06:19:31]requested_item shift.num is exist - process it [06:19:31]requested_item shift.opened is exist - process it [06:19:31]req_shift_opened [06:19:31]FM_GetShiftState [06:19:31]SAM_PROTO_GetShiftState [06:19:31]wFMCommunicate request_size=4 [06:19:31]MH_SAM_APDU [06:19:31]CAPDU: 80 13 01 00 [06:19:31]Write to MH i2c: E2 08 00 BF 0E 80 13 01 00 00 00 00 00 4A [06:19:31]Write i2c OK [06:19:31]MH_I2C_Read... [06:19:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:19:31]Read from MH i2c: E2 [06:19:31]MH_I2C_Read... [06:19:31]Read from MH i2c: E2 0E 00 [06:19:31]MH_I2C_Read... [06:19:31]Read from MH i2c: E2 0E 00 BF 0E 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 72 [06:19:31]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [06:19:31]wFMCommunicate OK [06:19:31]SAM_PROTO_GetShiftState done [06:19:31]FM_GetShiftState done [06:19:31]req_shift_opened done [06:19:31]requested_item shift.open_date is exist - process it [06:19:31]req_shift_open_date [06:19:31]req_shift_open_date done [06:19:31]produce_requested_data done [06:19:31]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27031,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [06:19:31]process_action_free close_receipt [06:19:31]json_value_free [06:19:31]json_value_free done [06:19:31]process_json_proto returns [06:19:31]Send response to host [06:19:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27031,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [06:19:31]free response buf [06:19:31]execute_script done [06:19:31]execute_script returns [06:19:31]free content buf [06:19:31]Sock 7.Close socket [06:19:31]Sock 7.Thread stoped [06:19:35]OFD Sender: No OFD packet to send [06:19:40]OFD Sender: No OFD packet to send [06:19:45]OFD Sender: No OFD packet to send [06:19:50]OFD Sender: No OFD packet to send [06:19:55]OFD Sender: No OFD packet to send [06:20:00]OFD Sender: No OFD packet to send [06:20:05]OFD Sender: No OFD packet to send [06:20:10]OFD Sender: No OFD packet to send [06:20:15]OFD Sender: No OFD packet to send [06:20:20]OFD Sender: No OFD packet to send [06:20:25]OFD Sender: No OFD packet to send [06:20:30]OFD Sender: No OFD packet to send [06:20:35]OFD Sender: No OFD packet to send [06:20:40]OFD Sender: No OFD packet to send [06:20:45]OFD Sender: No OFD packet to send [06:20:50]OFD Sender: No OFD packet to send [06:20:55]OFD Sender: No OFD packet to send [06:21:00]OFD Sender: No OFD packet to send [06:21:05]OFD Sender: No OFD packet to send [06:21:10]OFD Sender: No OFD packet to send [06:21:15]OFD Sender: No OFD packet to send [06:21:20]OFD Sender: No OFD packet to send [06:21:25]OFD Sender: No OFD packet to send [06:21:30]OFD Sender: No OFD packet to send [06:21:35]OFD Sender: No OFD packet to send [06:21:40]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:56]OFD Sender: No OFD packet to send [06:35:01]OFD Sender: No OFD packet to send [06:35:06]OFD Sender: No OFD packet to send [06:35:11]OFD Sender: No OFD packet to send [06:35:16]OFD Sender: No OFD packet to send [06:35:21]OFD Sender: No OFD packet to send [06:35:26]OFD Sender: No OFD packet to send [06:35:31]OFD Sender: No OFD packet to send [06:35:36]OFD Sender: No OFD packet to send [06:35:41]OFD Sender: No OFD packet to send [06:35:46]OFD Sender: No OFD packet to send [06:35:51]OFD Sender: No OFD packet to send [06:35:56]OFD Sender: No OFD packet to send [06:36:01]OFD Sender: No OFD packet to send [06:36:06]OFD Sender: No OFD packet to send [06:36:11]OFD Sender: No OFD packet to send [06:36:16]OFD Sender: No OFD packet to send [06:36:21]OFD Sender: No OFD packet to send [06:36:26]OFD Sender: No OFD packet to send [06:36:31]OFD Sender: No OFD packet to send [06:36:36]OFD Sender: No OFD packet to send [06:36:41]OFD Sender: No OFD packet to send [06:36:46]OFD Sender: No OFD packet to send [06:36:51]OFD Sender: No OFD packet to send [06:36:56]OFD Sender: No OFD packet to send [06:37:01]OFD Sender: No OFD packet to send [06:37:06]OFD Sender: No OFD packet to send [06:37:11]OFD Sender: No OFD packet to send [06:37:16]OFD Sender: No OFD packet to send [06:37:21]OFD Sender: No OFD packet to send [06:37:26]OFD Sender: No OFD packet to send [06:37:31]OFD Sender: No OFD packet to send [06:37:36]OFD Sender: No OFD packet to send [06:37:41]OFD Sender: No OFD packet to send [06:37:46]OFD Sender: No OFD packet to send [06:37:51]OFD Sender: No OFD packet to send [06:37:56]OFD Sender: No OFD packet to send [06:38:01]OFD Sender: No OFD packet to send [06:38:06]OFD Sender: No OFD packet to send [06:38:11]OFD Sender: No OFD packet to send [06:38:16]OFD Sender: No OFD packet to send [06:38:21]OFD Sender: No OFD packet to send [06:38:26]OFD Sender: No OFD packet to send [06:38:31]OFD Sender: No OFD packet to send [06:38:36]OFD Sender: No OFD packet to send [06:38:41]OFD Sender: No OFD packet to send [06:38:46]OFD Sender: No OFD packet to send [06:38:51]OFD Sender: No OFD packet to send [06:38:56]OFD Sender: No OFD packet to send [06:39:01]OFD Sender: No OFD packet to send [06:39:06]OFD Sender: No OFD packet to send [06:39:11]OFD Sender: No OFD packet to send [06:39:16]OFD Sender: No OFD packet to send [06:39:21]OFD Sender: No OFD packet to send [06:39:26]OFD Sender: No OFD packet to send [06:39:31]OFD Sender: No OFD packet to send [06:39:36]OFD Sender: No OFD packet to send [06:39:41]OFD Sender: No OFD packet to send [06:39:46]OFD Sender: No OFD packet to send [06:39:51]OFD Sender: No OFD packet to send [06:39:56]OFD Sender: No OFD packet to send [06:40:01]OFD Sender: No OFD packet to send [06:40:06]OFD Sender: No OFD packet to send [06:40:11]OFD Sender: No OFD packet to send [06:40:16]OFD Sender: No OFD packet to send [06:40:21]OFD Sender: No OFD packet to send [06:40:26]OFD Sender: No OFD packet to send [06:40:31]OFD Sender: No OFD packet to send [06:40:36]OFD Sender: No OFD packet to send [06:40:41]OFD Sender: No OFD packet to send [06:40:46]OFD Sender: No OFD packet to send [06:40:51]OFD Sender: No OFD packet to send [06:40:56]OFD Sender: No OFD packet to send [06:41:01]OFD Sender: No OFD packet to send [06:41:06]OFD Sender: No OFD packet to send [06:41:11]OFD Sender: No OFD packet to send [06:41:16]OFD Sender: No OFD packet to send [06:41:21]OFD Sender: No OFD packet to send [06:41:26]OFD Sender: No OFD packet to send [06:41:31]OFD Sender: No OFD packet to send [06:41:36]OFD Sender: No OFD packet to send [06:41:41]OFD Sender: No OFD packet to send [06:41:46]OFD Sender: No OFD packet to send [06:41:51]OFD Sender: No OFD packet to send [06:41:56]OFD Sender: No OFD packet to send [06:42:01]OFD Sender: No OFD packet to send [06:42:06]OFD Sender: No OFD packet to send [06:42:11]OFD Sender: No OFD packet to send [06:42:16]OFD Sender: No OFD packet to send [06:42:21]OFD Sender: No OFD packet to send [06:42:26]OFD Sender: No OFD packet to send [06:42:31]OFD Sender: No OFD packet to send [06:42:36]OFD Sender: No OFD packet to send [06:42:41]OFD Sender: No OFD packet to send [06:42:46]OFD Sender: No OFD packet to send [06:42:51]OFD Sender: No OFD packet to send [06:42:56]OFD Sender: No OFD packet to send [06:43:01]OFD Sender: No OFD packet to send [06:43:06]OFD Sender: No OFD packet to send [06:43:11]OFD Sender: No OFD packet to send [06:43:16]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:22]OFD Sender: No OFD packet to send [06:56:27]OFD Sender: No OFD packet to send [06:56:32]OFD Sender: No OFD packet to send [06:56:37]OFD Sender: No OFD packet to send [06:56:42]OFD Sender: No OFD packet to send [06:56:47]OFD Sender: No OFD packet to send [06:56:52]OFD Sender: No OFD packet to send [06:56:57]OFD Sender: No OFD packet to send [06:57:02]OFD Sender: No OFD packet to send [06:57:07]OFD Sender: No OFD packet to send [06:57:12]OFD Sender: No OFD packet to send [06:57:17]OFD Sender: No OFD packet to send [06:57:22]OFD Sender: No OFD packet to send [06:57:27]OFD Sender: No OFD packet to send [06:57:32]OFD Sender: No OFD packet to send [06:57:37]OFD Sender: No OFD packet to send [06:57:42]OFD Sender: No OFD packet to send [06:57:47]OFD Sender: No OFD packet to send [06:57:52]OFD Sender: No OFD packet to send [06:57:57]OFD Sender: No OFD packet to send [06:58:02]OFD Sender: No OFD packet to send [06:58:07]OFD Sender: No OFD packet to send [06:58:12]OFD Sender: No OFD packet to send [06:58:17]OFD Sender: No OFD packet to send [06:58:22]OFD Sender: No OFD packet to send [06:58:27]OFD Sender: No OFD packet to send [06:58:32]OFD Sender: No OFD packet to send [06:58:37]OFD Sender: No OFD packet to send [06:58:42]OFD Sender: No OFD packet to send [06:58:47]OFD Sender: No OFD packet to send [06:58:52]OFD Sender: No OFD packet to send [06:58:57]OFD Sender: No OFD packet to send [06:59:02]OFD Sender: No OFD packet to send [06:59:07]OFD Sender: No OFD packet to send [06:59:12]OFD Sender: No OFD packet to send [06:59:17]OFD Sender: No OFD packet to send [06:59:22]OFD Sender: No OFD packet to send [06:59:27]OFD Sender: No OFD packet to send [06:59:32]OFD Sender: No OFD packet to send [06:59:37]OFD Sender: No OFD packet to send [06:59:42]OFD Sender: No OFD packet to send [06:59:47]OFD Sender: No OFD packet to send [06:59:52]OFD Sender: No OFD packet to send [06:59:57]OFD Sender: No OFD packet to send [07:00:02]OFD Sender: No OFD packet to send [07:00:07]OFD Sender: No OFD packet to send [07:00:12]OFD Sender: No OFD packet to send [07:00:17]OFD Sender: No OFD packet to send [07:00:22]OFD Sender: No OFD packet to send [07:00:27]OFD Sender: No OFD packet to send [07:00:32]OFD Sender: No OFD packet to send [07:00:37]OFD Sender: No OFD packet to send [07:00:42]OFD Sender: No OFD packet to send [07:00:47]OFD Sender: No OFD packet to send [07:00:52]OFD Sender: No OFD packet to send [07:00:57]OFD Sender: No OFD packet to send [07:01:02]OFD Sender: No OFD packet to send [07:01:07]OFD Sender: No OFD packet to send [07:01:12]OFD Sender: No OFD packet to send [07:01:17]OFD Sender: No OFD packet to send [07:01:22]OFD Sender: No OFD packet to send [07:01:27]OFD Sender: No OFD packet to send [07:01:32]OFD Sender: No OFD packet to send [07:01:37]OFD Sender: No OFD packet to send [07:01:42]OFD Sender: No OFD packet to send [07:01:47]OFD Sender: No OFD packet to send [07:01:52]OFD Sender: No OFD packet to send [07:01:57]OFD Sender: No OFD packet to send [07:02:02]OFD Sender: No OFD packet to send [07:02:07]OFD Sender: No OFD packet to send [07:02:12]OFD Sender: No OFD packet to send [07:02:17]OFD Sender: No OFD packet to send [07:02:22]OFD Sender: No OFD packet to send [07:02:27]OFD Sender: No OFD packet to send [07:02:32]OFD Sender: No OFD packet to send [07:02:37]OFD Sender: No OFD packet to send [07:02:42]OFD Sender: No OFD packet to send [07:02:47]OFD Sender: No OFD packet to send [07:02:52]OFD Sender: No OFD packet to send [07:02:57]OFD Sender: No OFD packet to send [07:03:02]OFD Sender: No OFD packet to send [07:03:07]OFD Sender: No OFD packet to send [07:03:12]OFD Sender: No OFD packet to send [07:03:17]OFD Sender: No OFD packet to send [07:03:22]OFD Sender: No OFD packet to send [07:03:27]OFD Sender: No OFD packet to send [07:03:32]OFD Sender: No OFD packet to send [07:03:37]OFD Sender: No OFD packet to send [07:03:42]OFD Sender: No OFD packet to send [07:03:47]OFD Sender: No OFD packet to send [07:03:52]OFD Sender: No OFD packet to send [07:03:57]OFD Sender: No OFD packet to send [07:04:02]OFD Sender: No OFD packet to send [07:04:07]OFD Sender: No OFD packet to send [07:04:12]OFD Sender: No OFD packet to send [07:04:17]OFD Sender: No OFD packet to send [07:04:22]OFD Sender: No OFD packet to send [07:04:27]OFD Sender: No OFD packet to send [07:04:32]OFD Sender: No OFD packet to send [07:04:37]OFD Sender: No OFD packet to send [07:04:42]OFD Sender: No OFD packet to send [07:04:47]OFD Sender: No OFD packet to send [07:04:52]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:12]OFD Sender: No OFD packet to send [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:48]OFD Sender: No OFD packet to send [07:17:53]OFD Sender: No OFD packet to send [07:17:58]OFD Sender: No OFD packet to send [07:18:03]OFD Sender: No OFD packet to send [07:18:08]OFD Sender: No OFD packet to send [07:18:13]OFD Sender: No OFD packet to send [07:18:18]OFD Sender: No OFD packet to send [07:18:23]OFD Sender: No OFD packet to send [07:18:28]OFD Sender: No OFD packet to send [07:18:33]OFD Sender: No OFD packet to send [07:18:38]OFD Sender: No OFD packet to send [07:18:43]OFD Sender: No OFD packet to send [07:18:48]OFD Sender: No OFD packet to send [07:18:53]OFD Sender: No OFD packet to send [07:18:58]OFD Sender: No OFD packet to send [07:19:03]OFD Sender: No OFD packet to send [07:19:08]OFD Sender: No OFD packet to send [07:19:13]OFD Sender: No OFD packet to send [07:19:18]OFD Sender: No OFD packet to send [07:19:23]OFD Sender: No OFD packet to send [07:19:28]OFD Sender: No OFD packet to send [07:19:33]OFD Sender: No OFD packet to send [07:19:38]OFD Sender: No OFD packet to send [07:19:43]OFD Sender: No OFD packet to send [07:19:48]OFD Sender: No OFD packet to send [07:19:53]OFD Sender: No OFD packet to send [07:19:58]OFD Sender: No OFD packet to send [07:20:03]OFD Sender: No OFD packet to send [07:20:08]OFD Sender: No OFD packet to send [07:20:13]OFD Sender: No OFD packet to send [07:20:18]OFD Sender: No OFD packet to send [07:20:23]OFD Sender: No OFD packet to send [07:20:28]OFD Sender: No OFD packet to send [07:20:33]OFD Sender: No OFD packet to send [07:20:38]OFD Sender: No OFD packet to send [07:20:43]OFD Sender: No OFD packet to send [07:20:48]OFD Sender: No OFD packet to send [07:20:53]OFD Sender: No OFD packet to send [07:20:58]OFD Sender: No OFD packet to send [07:21:03]OFD Sender: No OFD packet to send [07:21:08]OFD Sender: No OFD packet to send [07:21:13]OFD Sender: No OFD packet to send [07:21:18]OFD Sender: No OFD packet to send [07:21:23]OFD Sender: No OFD packet to send [07:21:28]OFD Sender: No OFD packet to send [07:21:33]OFD Sender: No OFD packet to send [07:21:38]OFD Sender: No OFD packet to send [07:21:43]OFD Sender: No OFD packet to send [07:21:48]OFD Sender: No OFD packet to send [07:21:53]OFD Sender: No OFD packet to send [07:21:58]OFD Sender: No OFD packet to send [07:22:03]OFD Sender: No OFD packet to send [07:22:08]OFD Sender: No OFD packet to send [07:22:13]OFD Sender: No OFD packet to send [07:22:18]OFD Sender: No OFD packet to send [07:22:23]OFD Sender: No OFD packet to send [07:22:28]OFD Sender: No OFD packet to send [07:22:33]OFD Sender: No OFD packet to send [07:22:38]OFD Sender: No OFD packet to send [07:22:43]OFD Sender: No OFD packet to send [07:22:48]OFD Sender: No OFD packet to send [07:22:53]OFD Sender: No OFD packet to send [07:22:58]OFD Sender: No OFD packet to send [07:23:03]OFD Sender: No OFD packet to send [07:23:08]OFD Sender: No OFD packet to send [07:23:13]OFD Sender: No OFD packet to send [07:23:18]OFD Sender: No OFD packet to send [07:23:23]OFD Sender: No OFD packet to send [07:23:28]OFD Sender: No OFD packet to send [07:23:33]OFD Sender: No OFD packet to send [07:23:38]OFD Sender: No OFD packet to send [07:23:43]OFD Sender: No OFD packet to send [07:23:48]OFD Sender: No OFD packet to send [07:23:53]OFD Sender: No OFD packet to send [07:23:58]OFD Sender: No OFD packet to send [07:24:03]OFD Sender: No OFD packet to send [07:24:08]OFD Sender: No OFD packet to send [07:24:13]OFD Sender: No OFD packet to send [07:24:18]OFD Sender: No OFD packet to send [07:24:23]OFD Sender: No OFD packet to send [07:24:28]OFD Sender: No OFD packet to send [07:24:33]OFD Sender: No OFD packet to send [07:24:38]OFD Sender: No OFD packet to send [07:24:43]OFD Sender: No OFD packet to send [07:24:48]OFD Sender: No OFD packet to send [07:24:53]OFD Sender: No OFD packet to send [07:24:58]OFD Sender: No OFD packet to send [07:25:03]OFD Sender: No OFD packet to send [07:25:08]OFD Sender: No OFD packet to send [07:25:13]OFD Sender: No OFD packet to send [07:25:18]OFD Sender: No OFD packet to send [07:25:23]OFD Sender: No OFD packet to send [07:25:28]OFD Sender: No OFD packet to send [07:25:33]OFD Sender: No OFD packet to send [07:25:38]OFD Sender: No OFD packet to send [07:25:43]OFD Sender: No OFD packet to send [07:25:48]OFD Sender: No OFD packet to send [07:25:53]OFD Sender: No OFD packet to send [07:25:58]OFD Sender: No OFD packet to send [07:26:03]OFD Sender: No OFD packet to send [07:26:08]OFD Sender: No OFD packet to send [07:26:13]OFD Sender: No OFD packet to send [07:26:18]OFD Sender: No OFD packet to send [07:26:23]OFD Sender: No OFD packet to send [07:26:28]OFD Sender: No OFD packet to send [07:26:33]OFD Sender: No OFD packet to send [07:26:38]OFD Sender: No OFD packet to send [07:26:43]OFD Sender: No OFD packet to send [07:26:48]OFD Sender: No OFD packet to send [07:26:53]OFD Sender: No OFD packet to send [07:26:58]OFD Sender: No OFD packet to send [07:27:03]OFD Sender: No OFD packet to send [07:27:08]OFD Sender: No OFD packet to send [07:27:13]OFD Sender: No OFD packet to send [07:27:18]OFD Sender: No OFD packet to send [07:27:23]OFD Sender: No OFD packet to send [07:27:28]OFD Sender: No OFD packet to send [07:27:33]OFD Sender: No OFD packet to send [07:27:38]OFD Sender: No OFD packet to send [07:27:43]OFD Sender: No OFD packet to send [07:27:48]OFD Sender: No OFD packet to send [07:27:53]OFD Sender: No OFD packet to send [07:27:58]OFD Sender: No OFD packet to send [07:28:03]OFD Sender: No OFD packet to send [07:28:08]OFD Sender: No OFD packet to send [07:28:13]OFD Sender: No OFD packet to send [07:28:18]OFD Sender: No OFD packet to send [07:28:23]OFD Sender: No OFD packet to send [07:28:28]OFD Sender: No OFD packet to send [07:28:33]OFD Sender: No OFD packet to send [07:28:38]OFD Sender: No OFD packet to send [07:28:43]OFD Sender: No OFD packet to send [07:28:48]OFD Sender: No OFD packet to send [07:28:53]OFD Sender: No OFD packet to send [07:28:58]OFD Sender: No OFD packet to send [07:29:03]OFD Sender: No OFD packet to send [07:29:08]OFD Sender: No OFD packet to send [07:29:13]OFD Sender: No OFD packet to send [07:29:18]OFD Sender: No OFD packet to send [07:29:23]OFD Sender: No OFD packet to send [07:29:28]OFD Sender: No OFD packet to send [07:29:33]OFD Sender: No OFD packet to send [07:29:38]OFD Sender: No OFD packet to send [07:29:43]OFD Sender: No OFD packet to send [07:29:48]OFD Sender: No OFD packet to send [07:29:53]OFD Sender: No OFD packet to send [07:29:58]OFD Sender: No OFD packet to send [07:30:03]OFD Sender: No OFD packet to send [07:30:08]OFD Sender: No OFD packet to send [07:30:13]OFD Sender: No OFD packet to send [07:30:18]OFD Sender: No OFD packet to send [07:30:23]OFD Sender: No OFD packet to send [07:30:28]OFD Sender: No OFD packet to send [07:30:33]OFD Sender: No OFD packet to send [07:30:38]OFD Sender: No OFD packet to send [07:30:43]OFD Sender: No OFD packet to send [07:30:48]OFD Sender: No OFD packet to send [07:30:53]OFD Sender: No OFD packet to send [07:30:58]OFD Sender: No OFD packet to send [07:31:03]OFD Sender: No OFD packet to send [07:31:08]OFD Sender: No OFD packet to send [07:31:13]OFD Sender: No OFD packet to send [07:31:18]OFD Sender: No OFD packet to send [07:31:23]OFD Sender: No OFD packet to send [07:31:28]OFD Sender: No OFD packet to send [07:31:33]OFD Sender: No OFD packet to send [07:31:38]OFD Sender: No OFD packet to send [07:31:43]OFD Sender: No OFD packet to send [07:31:48]OFD Sender: No OFD packet to send [07:31:53]OFD Sender: No OFD packet to send [07:31:58]OFD Sender: No OFD packet to send [07:32:03]OFD Sender: No OFD packet to send [07:32:08]OFD Sender: No OFD packet to send [07:32:13]OFD Sender: No OFD packet to send [07:32:18]OFD Sender: No OFD packet to send [07:32:23]OFD Sender: No OFD packet to send [07:32:28]OFD Sender: No OFD packet to send [07:32:33]OFD Sender: No OFD packet to send [07:32:38]OFD Sender: No OFD packet to send [07:32:43]OFD Sender: No OFD packet to send [07:32:48]OFD Sender: No OFD packet to send [07:32:53]OFD Sender: No OFD packet to send [07:32:58]OFD Sender: No OFD packet to send [07:33:03]OFD Sender: No OFD packet to send [07:33:08]OFD Sender: No OFD packet to send [07:33:13]OFD Sender: No OFD packet to send [07:33:18]OFD Sender: No OFD packet to send [07:33:23]OFD Sender: No OFD packet to send [07:33:28]OFD Sender: No OFD packet to send [07:33:33]OFD Sender: No OFD packet to send [07:33:38]OFD Sender: No OFD packet to send [07:33:43]OFD Sender: No OFD packet to send [07:33:48]OFD Sender: No OFD packet to send [07:33:53]OFD Sender: No OFD packet to send [07:33:58]OFD Sender: No OFD packet to send [07:34:03]OFD Sender: No OFD packet to send [07:34:08]OFD Sender: No OFD packet to send [07:34:13]OFD Sender: No OFD packet to send [07:34:18]OFD Sender: No OFD packet to send [07:34:23]OFD Sender: No OFD packet to send [07:34:28]OFD Sender: No OFD packet to send [07:34:33]OFD Sender: No OFD packet to send [07:34:38]OFD Sender: No OFD packet to send [07:34:43]OFD Sender: No OFD packet to send [07:34:48]OFD Sender: No OFD packet to send [07:34:53]OFD Sender: No OFD packet to send [07:34:58]OFD Sender: No OFD packet to send [07:35:03]OFD Sender: No OFD packet to send [07:35:08]OFD Sender: No OFD packet to send [07:35:13]OFD Sender: No OFD packet to send [07:35:18]OFD Sender: No OFD packet to send [07:35:23]OFD Sender: No OFD packet to send [07:35:28]OFD Sender: No OFD packet to send [07:35:33]OFD Sender: No OFD packet to send [07:35:38]OFD Sender: No OFD packet to send [07:35:43]OFD Sender: No OFD packet to send [07:35:48]OFD Sender: No OFD packet to send [07:35:53]OFD Sender: No OFD packet to send [07:35:58]OFD Sender: No OFD packet to send [07:36:03]OFD Sender: No OFD packet to send [07:36:08]OFD Sender: No OFD packet to send [07:36:13]OFD Sender: No OFD packet to send [07:36:18]OFD Sender: No OFD packet to send [07:36:23]OFD Sender: No OFD packet to send [07:36:28]OFD Sender: No OFD packet to send [07:36:33]OFD Sender: No OFD packet to send [07:36:38]OFD Sender: No OFD packet to send [07:36:43]OFD Sender: No OFD packet to send [07:36:48]OFD Sender: No OFD packet to send [07:36:53]OFD Sender: No OFD packet to send [07:36:58]OFD Sender: No OFD packet to send [07:37:03]OFD Sender: No OFD packet to send [07:37:08]OFD Sender: No OFD packet to send [07:37:13]OFD Sender: No OFD packet to send [07:37:18]OFD Sender: No OFD packet to send [07:37:23]OFD Sender: No OFD packet to send [07:37:28]OFD Sender: No OFD packet to send [07:37:33]OFD Sender: No OFD packet to send [07:37:38]OFD Sender: No OFD packet to send [07:37:43]OFD Sender: No OFD packet to send [07:37:48]OFD Sender: No OFD packet to send [07:37:53]OFD Sender: No OFD packet to send [07:37:58]OFD Sender: No OFD packet to send [07:38:03]OFD Sender: No OFD packet to send [07:38:08]OFD Sender: No OFD packet to send [07:38:13]OFD Sender: No OFD packet to send [07:38:18]OFD Sender: No OFD packet to send [07:38:23]OFD Sender: No OFD packet to send [07:38:28]OFD Sender: No OFD packet to send [07:38:33]OFD Sender: No OFD packet to send [07:38:38]OFD Sender: No OFD packet to send [07:38:43]OFD Sender: No OFD packet to send [07:38:48]OFD Sender: No OFD packet to send [07:38:53]OFD Sender: No OFD packet to send [07:38:58]OFD Sender: No OFD packet to send [07:39:03]OFD Sender: No OFD packet to send [07:39:09]OFD Sender: No OFD packet to send [07:39:14]OFD Sender: No OFD packet to send [07:39:19]OFD Sender: No OFD packet to send [07:39:24]OFD Sender: No OFD packet to send [07:39:29]OFD Sender: No OFD packet to send [07:39:34]OFD Sender: No OFD packet to send [07:39:39]OFD Sender: No OFD packet to send [07:39:44]OFD Sender: No OFD packet to send [07:39:49]OFD Sender: No OFD packet to send [07:39:54]OFD Sender: No OFD packet to send [07:39:59]OFD Sender: No OFD packet to send [07:40:04]OFD Sender: No OFD packet to send [07:40:09]OFD Sender: No OFD packet to send [07:40:14]OFD Sender: No OFD packet to send [07:40:19]OFD Sender: No OFD packet to send [07:40:24]OFD Sender: No OFD packet to send [07:40:29]OFD Sender: No OFD packet to send [07:40:34]OFD Sender: No OFD packet to send [07:40:39]OFD Sender: No OFD packet to send [07:40:44]OFD Sender: No OFD packet to send [07:40:49]OFD Sender: No OFD packet to send [07:40:54]OFD Sender: No OFD packet to send [07:40:59]OFD Sender: No OFD packet to send [07:41:04]OFD Sender: No OFD packet to send [07:41:09]OFD Sender: No OFD packet to send [07:41:14]OFD Sender: No OFD packet to send [07:41:19]OFD Sender: No OFD packet to send [07:41:24]OFD Sender: No OFD packet to send [07:41:29]OFD Sender: No OFD packet to send [07:41:34]OFD Sender: No OFD packet to send [07:41:39]OFD Sender: No OFD packet to send [07:41:44]OFD Sender: No OFD packet to send [07:41:49]OFD Sender: No OFD packet to send [07:41:54]OFD Sender: No OFD packet to send [07:41:59]OFD Sender: No OFD packet to send [07:42:04]OFD Sender: No OFD packet to send [07:42:09]OFD Sender: No OFD packet to send [07:42:14]OFD Sender: No OFD packet to send [07:42:19]OFD Sender: No OFD packet to send [07:42:24]OFD Sender: No OFD packet to send [07:42:29]OFD Sender: No OFD packet to send [07:42:34]OFD Sender: No OFD packet to send [07:42:39]OFD Sender: No OFD packet to send [07:42:44]OFD Sender: No OFD packet to send [07:42:49]OFD Sender: No OFD packet to send [07:42:54]OFD Sender: No OFD packet to send [07:42:59]OFD Sender: No OFD packet to send [07:43:04]OFD Sender: No OFD packet to send [07:43:09]OFD Sender: No OFD packet to send [07:43:14]OFD Sender: No OFD packet to send [07:43:19]OFD Sender: No OFD packet to send [07:43:24]OFD Sender: No OFD packet to send [07:43:29]OFD Sender: No OFD packet to send [07:43:34]OFD Sender: No OFD packet to send [07:43:39]OFD Sender: No OFD packet to send [07:43:44]OFD Sender: No OFD packet to send [07:43:49]OFD Sender: No OFD packet to send [07:43:54]OFD Sender: No OFD packet to send [07:43:59]OFD Sender: No OFD packet to send [07:44:04]OFD Sender: No OFD packet to send [07:44:09]OFD Sender: No OFD packet to send [07:44:14]OFD Sender: No OFD packet to send [07:44:19]OFD Sender: No OFD packet to send [07:44:24]OFD Sender: No OFD packet to send [07:44:29]OFD Sender: No OFD packet to send [07:44:34]OFD Sender: No OFD packet to send [07:44:39]OFD Sender: No OFD packet to send [07:44:44]OFD Sender: No OFD packet to send [07:44:49]OFD Sender: No OFD packet to send [07:44:54]OFD Sender: No OFD packet to send [07:44:59]OFD Sender: No OFD packet to send [07:45:04]OFD Sender: No OFD packet to send [07:45:09]OFD Sender: No OFD packet to send [07:45:14]OFD Sender: No OFD packet to send [07:45:19]OFD Sender: No OFD packet to send [07:45:24]OFD Sender: No OFD packet to send [07:45:29]OFD Sender: No OFD packet to send [07:45:34]OFD Sender: No OFD packet to send [07:45:39]OFD Sender: No OFD packet to send [07:45:44]OFD Sender: No OFD packet to send [07:45:49]OFD Sender: No OFD packet to send [07:45:54]OFD Sender: No OFD packet to send [07:45:59]OFD Sender: No OFD packet to send [07:46:04]OFD Sender: No OFD packet to send [07:46:09]OFD Sender: No OFD packet to send [07:46:14]OFD Sender: No OFD packet to send [07:46:19]OFD Sender: No OFD packet to send [07:46:24]OFD Sender: No OFD packet to send [07:46:29]OFD Sender: No OFD packet to send [07:46:34]OFD Sender: No OFD packet to send [07:46:39]OFD Sender: No OFD packet to send [07:46:44]OFD Sender: No OFD packet to send [07:46:49]OFD Sender: No OFD packet to send [07:46:54]OFD Sender: No OFD packet to send [07:46:59]OFD Sender: No OFD packet to send [07:47:04]OFD Sender: No OFD packet to send [07:47:09]OFD Sender: No OFD packet to send [07:47:14]OFD Sender: No OFD packet to send [07:47:19]OFD Sender: No OFD packet to send [07:47:24]OFD Sender: No OFD packet to send [07:47:29]OFD Sender: No OFD packet to send [07:47:34]OFD Sender: No OFD packet to send [07:47:39]OFD Sender: No OFD packet to send [07:47:44]OFD Sender: No OFD packet to send [07:47:49]OFD Sender: No OFD packet to send [07:47:54]OFD Sender: No OFD packet to send [07:47:59]OFD Sender: No OFD packet to send [07:48:04]OFD Sender: No OFD packet to send [07:48:09]OFD Sender: No OFD packet to send [07:48:14]OFD Sender: No OFD packet to send [07:48:19]OFD Sender: No OFD packet to send [07:48:24]OFD Sender: No OFD packet to send [07:48:29]OFD Sender: No OFD packet to send [07:48:34]OFD Sender: No OFD packet to send [07:48:39]OFD Sender: No OFD packet to send [07:48:44]OFD Sender: No OFD packet to send [07:48:49]OFD Sender: No OFD packet to send [07:48:54]OFD Sender: No OFD packet to send [07:48:59]OFD Sender: No OFD packet to send [07:49:04]OFD Sender: No OFD packet to send [07:49:09]OFD Sender: No OFD packet to send [07:49:14]OFD Sender: No OFD packet to send [07:49:19]OFD Sender: No OFD packet to send [07:49:24]OFD Sender: No OFD packet to send [07:49:29]OFD Sender: No OFD packet to send [07:49:34]OFD Sender: No OFD packet to send [07:49:39]OFD Sender: No OFD packet to send [07:49:44]OFD Sender: No OFD packet to send [07:49:49]OFD Sender: No OFD packet to send [07:49:54]OFD Sender: No OFD packet to send [07:49:59]OFD Sender: No OFD packet to send [07:50:04]OFD Sender: No OFD packet to send [07:50:09]OFD Sender: No OFD packet to send [07:50:14]OFD Sender: No OFD packet to send [07:50:19]OFD Sender: No OFD packet to send [07:50:24]OFD Sender: No OFD packet to send [07:50:29]OFD Sender: No OFD packet to send [07:50:34]OFD Sender: No OFD packet to send [07:50:39]OFD Sender: No OFD packet to send [07:50:44]OFD Sender: No OFD packet to send [07:50:49]OFD Sender: No OFD packet to send [07:50:54]OFD Sender: No OFD packet to send [07:50:59]OFD Sender: No OFD packet to send [07:51:04]OFD Sender: No OFD packet to send [07:51:09]OFD Sender: No OFD packet to send [07:51:14]OFD Sender: No OFD packet to send [07:51:19]OFD Sender: No OFD packet to send [07:51:24]OFD Sender: No OFD packet to send [07:51:29]OFD Sender: No OFD packet to send [07:51:34]OFD Sender: No OFD packet to send [07:51:39]OFD Sender: No OFD packet to send [07:51:44]OFD Sender: No OFD packet to send [07:51:49]OFD Sender: No OFD packet to send [07:51:54]OFD Sender: No OFD packet to send [07:51:59]OFD Sender: No OFD packet to send [07:52:04]OFD Sender: No OFD packet to send [07:52:09]OFD Sender: No OFD packet to send [07:52:14]OFD Sender: No OFD packet to send [07:52:19]OFD Sender: No OFD packet to send [07:52:24]OFD Sender: No OFD packet to send [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:06]accept exits with 9 [07:53:06]New connection [07:53:06]New thread 3067530596 created [07:53:06]Thread 3067387236 joined [07:53:06]Waiting for new connection... [07:53:06] Sock 9.Parse request [07:53:06]Sock 9.Check first char [07:53:06]Sock 9.First char is OK [07:53:06]request: POST /json_proto HTTP/1.0 [07:53:06]Method: POST [07:53:06]URL: /json_proto [07:53:06]Method is POST - this is cgi request [07:53:06]url: /json_proto [07:53:06]query_string will be loaded in cgi processing [07:53:06]execute_cgi json_proto POST (null) [07:53:06]execute_cgi path=json_proto method=POST [07:53:06]POST find Content-Length [07:53:06]Host: 172.17.45.8:8080 [07:53:06]Content-Length: 737 [07:53:06]Content-Type: application/json [07:53:06] [07:53:06]POST finish read [07:53:06]Found Content-Length = 737 [07:53:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150430", "tax_sys" : 0, "items" : [ { "code": "4607015232592", "name": "\u0412\u0430\u0444\u043B\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0432\u0430\u0440\u0435\u043D\u043E\u0439 \u0441\u0433\u0443\u0449\u0435\u043D\u043A\u043E\u0439 200\u0433", "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" ] } } [07:53:06]execute_script... [07:53: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)150430", "tax_sys" : 0, "items" : [ { "code": "4607015232592", "name": "\u0412\u0430\u0444\u043B\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0432\u0430\u0440\u0435\u043D\u043E\u0439 \u0441\u0433\u0443\u0449\u0435\u043D\u043A\u043E\u0439 200\u0433", "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" ] } } [07:53:06]POST & json_proto [07:53:06]process_json_proto [07:53:06]json parsed OK: [07:53:06]protocol is kg_v1.0 [07:53:06]action value=close_receipt [07:53:06]process_action close_receipt [07:53:06]cmd_close_receipt [07:53:06]MH_GetDate [07:53:06]Write to MH i2c: F0 00 00 C0 0E BD [07:53:06]Write i2c OK [07:53:06]MH_I2C_Read... [07:53:06]Read from MH i2c: F0 [07:53:06]MH_I2C_Read... [07:53:06]Read from MH i2c: F0 09 00 [07:53:06]MH_I2C_Read... [07:53:06]Read from MH i2c: F0 09 00 C0 0E 00 E6 F8 A5 66 A6 1F 7F 64 57 [07:53:07]GetLastDocTimeStamp 1722147570 [07:53:07]current date 1722153190 [07:53:07]FM_GetShiftState [07:53:07]SAM_PROTO_GetShiftState [07:53:07]wFMCommunicate request_size=4 [07:53:07]MH_SAM_APDU [07:53:07]CAPDU: 80 13 01 00 [07:53:07]Write to MH i2c: E2 08 00 C1 0E 80 13 01 00 00 00 00 00 4C [07:53:07]Write i2c OK [07:53:07]MH_I2C_Read... [07:53:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:53:07]Read from MH i2c: E2 [07:53:07]MH_I2C_Read... [07:53:07]Read from MH i2c: E2 0E 00 [07:53:07]MH_I2C_Read... [07:53:07]Read from MH i2c: E2 0E 00 C1 0E 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 74 [07:53:07]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [07:53:07]wFMCommunicate OK [07:53:07]SAM_PROTO_GetShiftState done [07:53:07]FM_GetShiftState done [07:53:07]opened in 1722127230 [07:53:07]opened+sec_in_day 1722213630 [07:53:07]quantity*price = 9500 [07:53:07]sum+1 = 9501 [07:53:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 10 28.07.2024 07:53 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27032 ФПД: 35259346027159 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T075310&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27032&fm=35259346027159&tin=02508201610067®Number=0000000000092663&sum=9500 0 [07:53:08]StoreToDocumentArchive [07:53:08]shift 433 fd 27032 [07:53:08]save to /storage/0433/doc_00027032 [07:53:08]save last doc name /storage/0433/doc_00027032 to /storage/kkm_last_doc_name [07:53:08]save OK [07:53:08]Clear old archive folders... [07:53:08]ProcessDocumentItem done err = 0, tmpTLVsize=308 [07:53:08]tlvbuf is 01815150 [07:53:08]SAM_PROTO_ClearQueue [07:53:08]wFMCommunicate request_size=4 [07:53:08]MH_SAM_APDU [07:53:08]CAPDU: 80 09 00 00 [07:53:08]Write to MH i2c: E2 08 00 CE 0E 80 09 00 00 00 00 00 00 4E [07:53:08]Write i2c OK [07:53:08]MH_I2C_Read... [07:53:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:53:08]Read from MH i2c: E2 [07:53:08]MH_I2C_Read... [07:53:08]Read from MH i2c: E2 03 00 [07:53:08]MH_I2C_Read... [07:53:08]Read from MH i2c: E2 03 00 CE 0E 00 90 00 50 [07:53:08]RAPDU: 90 00 [07:53:08]wFMCommunicate OK [07:53:08]SAM_PROTO_ClearQueue done [07:53:08]KKMCreateOFDPacket [07:53:08]OFDProtocolAddRootSTLVToBuf [07:53:08]FM_MakeSignedData [07:53:08]FM_MakeSignedData [07:53:08]SAM_PROTO_SignData [07:53:08]wFMCommunicate request_size=4 [07:53:08]MH_SAM_APDU [07:53:08]CAPDU: 80 0D 01 02 [07:53:08]Write to MH i2c: E2 08 00 CF 0E 80 0D 01 02 00 00 00 00 56 [07:53:08]Write i2c OK [07:53:08]MH_I2C_Read... [07:53:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:53:08]Read from MH i2c: E2 [07:53:08]MH_I2C_Read... [07:53:08]Read from MH i2c: E2 03 00 [07:53:08]MH_I2C_Read... [07:53:08]Read from MH i2c: E2 03 00 CF 0E 00 90 00 51 [07:53:08]RAPDU: 90 00 [07:53:08]wFMCommunicate OK [07:53:08]wFMCommunicate request_size=255 [07:53:08]MH_SAM_APDU [07:53:08]CAPDU: 80 0D 02 02 FA 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 35 39 32 06 04 42 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 32 30 30 D0 B3 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 0A 00 00 00 F4 03 04 00 E6 F8 A5 66 0E 04 04 00 B1 01 00 00 B9 [07:53:08]Write to MH i2c: E2 02 01 D0 0E 80 0D 02 02 FA 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 35 39 32 06 04 42 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 32 30 30 D0 B3 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 0A 00 00 00 F4 03 04 00 E6 F8 A5 66 0E 04 04 00 B1 01 00 00 B9 00 00 44 [07:53:08]Write i2c OK [07:53:08]MH_I2C_Read... [07:53:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:53:08]Read from MH i2c: E2 [07:53:08]MH_I2C_Read... [07:53:08]Read from MH i2c: E2 03 00 [07:53:08]MH_I2C_Read... [07:53:08]Read from MH i2c: E2 03 00 D0 0E 00 90 00 52 [07:53:08]RAPDU: 90 00 [07:53:08]wFMCommunicate OK [07:53:08]wFMCommunicate request_size=67 [07:53:08]MH_SAM_APDU [07:53:08]CAPDU: 80 0D 02 02 3E 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 98 69 00 00 35 04 06 00 20 11 74 CB 82 97 [07:53:08]Write to MH i2c: E2 46 00 D1 0E 80 0D 02 02 3E 00 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 98 69 00 00 35 04 06 00 20 11 74 CB 82 97 00 00 42 [07:53:08]Write i2c OK [07:53:08]MH_I2C_Read... [07:53:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:53:08]Read from MH i2c: E2 [07:53:08]MH_I2C_Read... [07:53:08]Read from MH i2c: E2 03 00 [07:53:08]MH_I2C_Read... [07:53:08]Read from MH i2c: E2 03 00 D1 0E 00 90 00 53 [07:53:08]RAPDU: 90 00 [07:53:08]wFMCommunicate OK [07:53:08]wFMCommunicate request_size=4 [07:53:08]MH_SAM_APDU [07:53:08]CAPDU: 80 0D 03 02 [07:53:08]Write to MH i2c: E2 08 00 D2 0E 80 0D 03 02 00 00 00 00 5B [07:53:08]Write i2c OK [07:53:08]MH_I2C_Read... [07:53:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:53:08]Read from MH i2c: E2 [07:53:08]MH_I2C_Read... [07:53:08]Read from MH i2c: E2 0B 00 [07:53:08]MH_I2C_Read... [07:53:08]Read from MH i2c: E2 0B 00 D2 0E 00 22 97 BA 43 09 57 11 74 90 00 F7 [07:53:08]RAPDU: 22 97 BA 43 09 57 11 74 90 00 [07:53:08]wFMCommunicate OK [07:53:08]SAM_PROTO_SignData done [07:53:08]FM_MakeSignedData done [07:53:08]CreateOFDProtocolMessage [07:53:08]wFMCommunicate request_size=4 [07:53:08]MH_SAM_APDU [07:53:08]CAPDU: 80 11 00 00 [07:53:08]Write to MH i2c: E2 08 00 D3 0E 80 11 00 00 00 00 00 00 5B [07:53:08]Write i2c OK [07:53:08]MH_I2C_Read... [07:53:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:53:08]Read from MH i2c: E2 [07:53:08]MH_I2C_Read... [07:53:08]Read from MH i2c: E2 17 00 [07:53:08]MH_I2C_Read... [07:53:08]Read from MH i2c: E2 17 00 D3 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 B4 [07:53:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [07:53:08]wFMCommunicate OK [07:53:08]CreateOFDProtocolMessage done [07:53:08]OFDSenderStorePacket 27032 [07:53:08]StoreOFDPacket docnum=27032 [07:53:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 48 01 00 00 34 C4 40 01 98 8A 5A 03 01 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 35 39 32 06 04 42 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 32 30 30 D0 B3 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 0A 00 00 00 F4 03 04 00 E6 F8 A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 98 69 00 00 35 04 06 00 20 11 74 CB 82 97 22 97 BA 43 09 57 11 74 [07:53:08]CheckFolder [07:53:08]dirname=/storage/ofd_packets [07:53:08]CheckFolder done [07:53:08]ProducePacketName [07:53:08]name=ofd_packets/00027032 [07:53:08]NVStorageSaveData ofd_packets/00027032 [07:53:08]File name is /storage/ofd_packets/00027032 [07:53:08]Write 358 bytes [07:53:08]NVStorageSaveData done [07:53:08]OFDSenderStorePacket done [07:53:08]KKMCreateOFDPacket done [07:53:08]NVStorageSaveData kkm_last_timestamp [07:53:08]File name is /storage/kkm_last_timestamp [07:53:08]Write 4 bytes [07:53:08]NVStorageSaveData done [07:53:08]ExternCall_PrintAddStr [07:53:08]wPrintStart [07:53:08]Write to MH i2c: 01 00 00 D4 0E E2 [07:53:08]Write i2c OK [07:53:08]MH_I2C_Read... [07:53:08]Read from MH i2c: 01 [07:53:08]MH_I2C_Read... [07:53:08]Read from MH i2c: 01 07 00 [07:53:08]MH_I2C_Read... [07:53:08]Read from MH i2c: 01 07 00 D4 0E 00 00 00 00 00 FF 0F F7 [07:53:08]RasterBufferAndPrint [07:53:08]line Счет N : (3)150430 [07:53:08]line ИНН: 02508201610067 [07:53:08]line Контрольно-Кассовый Чек [07:53:08]line ПРОДАЖА [07:53:08]line Товар: 4607015232592 [07:53:08]line Вафли Яшкино с вареной сгущенкой 200г [07:53:08]line 1.000 * 95.00 [07:53:08]line = 95.00 [07:53:08]line НДС 12% НСП 1% [07:53:08]line > о реализуемом товаре [07:53:08]line ИТОГО: 95.00 [07:53:08]line НСП 1% : 0.84 [07:53:08]line НДС 12% : 10.09 [07:53:08]line Наличными: 95.00 [07:53:08]line Безнал.: 0.00 [07:53:08]line Место: АЗС № 134 "Партнер Нефть" [07:53:08]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [07:53:08]line СНО: Общий режим [07:53:08]line Чек 10 28.07.2024 07:53 [07:53:08]line Смена: 433 ФФД: 1.0 [07:53:08]line ЗНМ: 0300000043 [07:53:08]line РНМ: 0000000000092663 [07:53:08]line Версия ККМ: 001 [07:53:08]line ФМ: 0000000000874937 [07:53:08]line ФД: 27032 [07:53:08]line ФПД: 35259346027159 [07:53:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T075310&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27032&fm=35259346027159&tin=02508201610067®Number=0000000000092663&sum=9500 [07:53:09]OFD Sender: Processing packet 27032 [packets to send 9, broken 8] [07:53:09]ProducePacketName [07:53:09]name=ofd_packets/00027032 [07:53:09]OFD Sender: To server: pG, [07:53:09]CommunicateWithHost lk.salyk.kg:30040 [07:53:09]ConnectInit lk.salyk.kg [07:53:09]line 0 [07:53:09]written 0, free lines is 4095 [07:53:09]Connected sock=10 [07:53:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 48 01 00 00 34 C4 40 01 98 8A 5A 03 01 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 35 39 32 06 04 42 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 32 30 30 D0 B3 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 0A 00 00 00 F4 03 04 00 E6 F8 A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 98 69 00 00 35 04 06 00 20 11 74 CB 82 97 22 97 BA 43 09 57 11 74 [07:53:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 26 6B 47 00 D3 1D 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 38 37 34 39 33 37 10 04 04 00 98 69 00 00 F4 03 04 00 3A 9F A5 66 B6 04 01 00 00 54 B6 11 A6 77 7D 8F 52 [07:53:09]CommunicateWithHost err = 0 [07:53:09]CheckOFDResponse [07:53:09]1017 (14) - 77093643461234 [07:53:09]1041 (16) - 0000000000874937 [07:53:09]1040 (4) - 27032 [07:53:09]1012 (4) - 28.07.2024 01:30 [07:53:09]1206 (1) - 0 [07:53:09]OFD Sender: Remove packet 27032 [07:53:09]ProducePacketName [07:53:09]name=ofd_packets/00027032 [07:53:09]NVStorageDeleteData [07:53:09]Write to MH i2c: 01 00 00 FC 0E 0A [07:53:09]Write i2c OK [07:53:09]MH_I2C_Read... [07:53:09]Read from MH i2c: 01 [07:53:09]MH_I2C_Read... [07:53:09]Read from MH i2c: 01 07 00 [07:53:09]MH_I2C_Read... [07:53:09]Read from MH i2c: 01 07 00 FC 0E 00 00 00 00 00 D6 0C F3 [07:53:09]RasterBufferAndPrint [07:53:09]line [07:53:09]line [07:53:09]line [07:53:09]line [07:53:09]line [07:53:09]written 0, free lines is 3290 [07:53:09]MH_Cut [07:53:09]Write to MH i2c: D1 01 00 03 0F 01 E4 [07:53:09]Write i2c OK [07:53:09]MH_I2C_Read... [07:53:09]Read from MH i2c: D1 [07:53:09]MH_I2C_Read... [07:53:09]Read from MH i2c: D1 01 00 [07:53:09]MH_I2C_Read... [07:53:09]Read from MH i2c: D1 01 00 03 0F 00 E3 [07:53:09]Write to MH i2c: 01 00 00 04 0F 13 [07:53:09]Write i2c OK [07:53:09]MH_I2C_Read... [07:53:09]OFD Sender: No OFD packet to send [07:53:10]*** Cut start [07:53:10]*** Partial cut [07:53:10]*** CUTSNS_PIN = 1 [07:53:10]*** CUTSNS_PIN = 0 [07:53:10]*** Brake cut motor [07:53:10]Read from MH i2c: 01 [07:53:10]*** Stop cut motor [07:53:10]*** Cut end [07:53:10]MH_I2C_Read... [07:53:10]Read from MH i2c: 01 07 00 [07:53:10]MH_I2C_Read... [07:53:10]Read from MH i2c: 01 07 00 04 0F 00 00 00 00 00 FF 0F 28 [07:53:10]process_action close_receipt done [07:53:10]requested_data is exist [07:53:10]produce_requested_data [07:53:10]requested_item fm.sn is exist - process it [07:53:10]wFMCommunicate request_size=4 [07:53:10]MH_SAM_APDU [07:53:10]CAPDU: 80 11 00 00 [07:53:10]Write to MH i2c: E2 08 00 05 0F 80 11 00 00 00 00 00 00 8E [07:53:10]Write i2c OK [07:53:10]MH_I2C_Read... [07:53:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:53:10]Read from MH i2c: E2 [07:53:10]MH_I2C_Read... [07:53:10]Read from MH i2c: E2 17 00 [07:53:10]MH_I2C_Read... [07:53:10]Read from MH i2c: E2 17 00 05 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 E7 [07:53:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [07:53:10]wFMCommunicate OK [07:53:10]requested_item fd.num is exist - process it [07:53:10]SAM_PROTO_GetFieldsCounters [07:53:10]wFMCommunicate request_size=4 [07:53:10]MH_SAM_APDU [07:53:10]CAPDU: 80 13 00 00 [07:53:10]Write to MH i2c: E2 08 00 06 0F 80 13 00 00 00 00 00 00 91 [07:53:10]Write i2c OK [07:53:10]MH_I2C_Read... [07:53:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:53:11]Read from MH i2c: E2 [07:53:11]MH_I2C_Read... [07:53:11]Read from MH i2c: E2 62 00 [07:53:11]MH_I2C_Read... [07:53:11]Read from MH i2c: E2 62 00 06 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 98 69 00 00 0E 04 04 00 B1 01 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 8A [07:53:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 98 69 00 00 0E 04 04 00 B1 01 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 [07:53:11]wFMCommunicate OK [07:53:11]SAM_PROTO_GetFieldsCounters done [07:53:11]requested_item shift.num is exist - process it [07:53:11]requested_item shift.opened is exist - process it [07:53:11]req_shift_opened [07:53:11]FM_GetShiftState [07:53:11]SAM_PROTO_GetShiftState [07:53:11]wFMCommunicate request_size=4 [07:53:11]MH_SAM_APDU [07:53:11]CAPDU: 80 13 01 00 [07:53:11]Write to MH i2c: E2 08 00 07 0F 80 13 01 00 00 00 00 00 93 [07:53:11]Write i2c OK [07:53:11]MH_I2C_Read... [07:53:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:53:11]Read from MH i2c: E2 [07:53:11]MH_I2C_Read... [07:53:11]Read from MH i2c: E2 0E 00 [07:53:11]MH_I2C_Read... [07:53:11]Read from MH i2c: E2 0E 00 07 0F 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 BB [07:53:11]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [07:53:11]wFMCommunicate OK [07:53:11]SAM_PROTO_GetShiftState done [07:53:11]FM_GetShiftState done [07:53:11]req_shift_opened done [07:53:11]requested_item shift.open_date is exist - process it [07:53:11]req_shift_open_date [07:53:11]req_shift_open_date done [07:53:11]produce_requested_data done [07:53:11]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27032,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [07:53:11]process_action_free close_receipt [07:53:11]json_value_free [07:53:11]json_value_free done [07:53:11]process_json_proto returns [07:53:11]Send response to host [07:53:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27032,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [07:53:11]free response buf [07:53:11]execute_script done [07:53:11]execute_script returns [07:53:11]free content buf [07:53:11]Sock 9.Close socket [07:53:11]Sock 9.Thread stoped [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]accept exits with 7 [07:53:34]New connection [07:53:34]New thread 3067387236 created [07:53:34]Thread 3067530596 joined [07:53:34]Waiting for new connection... [07:53:34] Sock 7.Parse request [07:53:34]Sock 7.Check first char [07:53:34]Sock 7.First char is OK [07:53:34]request: POST /json_proto HTTP/1.0 [07:53:34]Method: POST [07:53:34]URL: /json_proto [07:53:34]Method is POST - this is cgi request [07:53:34]url: /json_proto [07:53:34]query_string will be loaded in cgi processing [07:53:34]execute_cgi json_proto POST (null) [07:53:34]execute_cgi path=json_proto method=POST [07:53:34]POST find Content-Length [07:53:34]Host: 172.17.45.8:8080 [07:53:34]Content-Length: 650 [07:53:34]Content-Type: application/json [07:53:34] [07:53:34]POST finish read [07:53:34]Found Content-Length = 650 [07:53:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150431", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "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" ] } } [07:53:34]execute_script... [07:53: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)150431", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "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" ] } } [07:53:34]POST & json_proto [07:53:34]process_json_proto [07:53:34]json parsed OK: [07:53:34]protocol is kg_v1.0 [07:53:34]action value=close_receipt [07:53:34]process_action close_receipt [07:53:34]cmd_close_receipt [07:53:34]MH_GetDate [07:53:34]Write to MH i2c: F0 00 00 08 0F 06 [07:53:34]Write i2c OK [07:53:34]MH_I2C_Read... [07:53:34]Read from MH i2c: F0 [07:53:34]MH_I2C_Read... [07:53:34]Read from MH i2c: F0 09 00 [07:53:34]MH_I2C_Read... [07:53:34]Read from MH i2c: F0 09 00 08 0F 00 01 F9 A5 66 A6 1F 7F 64 BC [07:53:34]GetLastDocTimeStamp 1722153190 [07:53:34]current date 1722153217 [07:53:34]FM_GetShiftState [07:53:34]SAM_PROTO_GetShiftState [07:53:34]wFMCommunicate request_size=4 [07:53:34]MH_SAM_APDU [07:53:34]CAPDU: 80 13 01 00 [07:53:34]Write to MH i2c: E2 08 00 09 0F 80 13 01 00 00 00 00 00 95 [07:53:34]Write i2c OK [07:53:34]MH_I2C_Read... [07:53:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:53:34]Read from MH i2c: E2 [07:53:34]MH_I2C_Read... [07:53:34]Read from MH i2c: E2 0E 00 [07:53:34]MH_I2C_Read... [07:53:34]Read from MH i2c: E2 0E 00 09 0F 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 BD [07:53:34]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [07:53:34]wFMCommunicate OK [07:53:34]SAM_PROTO_GetShiftState done [07:53:34]FM_GetShiftState done [07:53:34]opened in 1722127230 [07:53:34]opened+sec_in_day 1722213630 [07:53:34]quantity*price = 10500 [07:53:34]sum+1 = 10501 [07:53:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 11 28.07.2024 07:53 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27033 ФПД: 145290278885279 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T075337&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27033&fm=145290278885279&tin=02508201610067®Number=0000000000092663&sum=10500 0 [07:53:35]StoreToDocumentArchive [07:53:35]shift 433 fd 27033 [07:53:35]save to /storage/0433/doc_00027033 [07:53:35]save last doc name /storage/0433/doc_00027033 to /storage/kkm_last_doc_name [07:53:35]save OK [07:53:35]Clear old archive folders... [07:53:35]ProcessDocumentItem done err = 0, tmpTLVsize=282 [07:53:35]tlvbuf is B6F4E310 [07:53:35]SAM_PROTO_ClearQueue [07:53:35]wFMCommunicate request_size=4 [07:53:35]MH_SAM_APDU [07:53:35]CAPDU: 80 09 00 00 [07:53:35]Write to MH i2c: E2 08 00 16 0F 80 09 00 00 00 00 00 00 97 [07:53:35]Write i2c OK [07:53:35]MH_I2C_Read... [07:53:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:53:35]Read from MH i2c: E2 [07:53:35]MH_I2C_Read... [07:53:35]Read from MH i2c: E2 03 00 [07:53:35]MH_I2C_Read... [07:53:35]Read from MH i2c: E2 03 00 16 0F 00 90 00 99 [07:53:35]RAPDU: 90 00 [07:53:35]wFMCommunicate OK [07:53:35]SAM_PROTO_ClearQueue done [07:53:35]KKMCreateOFDPacket [07:53:35]OFDProtocolAddRootSTLVToBuf [07:53:35]FM_MakeSignedData [07:53:35]FM_MakeSignedData [07:53:35]SAM_PROTO_SignData [07:53:35]wFMCommunicate request_size=4 [07:53:35]MH_SAM_APDU [07:53:35]CAPDU: 80 0D 01 02 [07:53:35]Write to MH i2c: E2 08 00 17 0F 80 0D 01 02 00 00 00 00 9F [07:53:35]Write i2c OK [07:53:35]MH_I2C_Read... [07:53:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:53:35]Read from MH i2c: E2 [07:53:35]MH_I2C_Read... [07:53:35]Read from MH i2c: E2 03 00 [07:53:35]MH_I2C_Read... [07:53:35]Read from MH i2c: E2 03 00 17 0F 00 90 00 9A [07:53:35]RAPDU: 90 00 [07:53:35]wFMCommunicate OK [07:53:35]wFMCommunicate request_size=255 [07:53:35]MH_SAM_APDU [07:53:35]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 34 37 33 30 30 31 38 06 04 28 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 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 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 0B 00 00 00 F4 03 04 00 01 F9 A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 [07:53:35]Write to MH i2c: E2 02 01 18 0F 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 34 37 33 30 30 31 38 06 04 28 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 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 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 0B 00 00 00 F4 03 04 00 01 F9 A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 00 00 2A [07:53:35]Write i2c OK [07:53:35]MH_I2C_Read... [07:53:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:53:35]Read from MH i2c: E2 [07:53:35]MH_I2C_Read... [07:53:35]Read from MH i2c: E2 03 00 [07:53:35]MH_I2C_Read... [07:53:35]Read from MH i2c: E2 03 00 18 0F 00 90 00 9B [07:53:35]RAPDU: 90 00 [07:53:35]wFMCommunicate OK [07:53:35]wFMCommunicate request_size=41 [07:53:35]MH_SAM_APDU [07:53:35]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 99 69 00 00 35 04 06 00 84 24 07 76 57 9F [07:53:35]Write to MH i2c: E2 2C 00 19 0F 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 99 69 00 00 35 04 06 00 84 24 07 76 57 9F 00 00 94 [07:53:35]Write i2c OK [07:53:35]MH_I2C_Read... [07:53:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:53:35]Read from MH i2c: E2 [07:53:35]MH_I2C_Read... [07:53:35]Read from MH i2c: E2 03 00 [07:53:35]MH_I2C_Read... [07:53:35]Read from MH i2c: E2 03 00 19 0F 00 90 00 9C [07:53:35]RAPDU: 90 00 [07:53:35]wFMCommunicate OK [07:53:35]wFMCommunicate request_size=4 [07:53:35]MH_SAM_APDU [07:53:35]CAPDU: 80 0D 03 02 [07:53:35]Write to MH i2c: E2 08 00 1A 0F 80 0D 03 02 00 00 00 00 A4 [07:53:35]Write i2c OK [07:53:35]MH_I2C_Read... [07:53:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:53:35]Read from MH i2c: E2 [07:53:35]MH_I2C_Read... [07:53:35]Read from MH i2c: E2 0B 00 [07:53:35]MH_I2C_Read... [07:53:35]Read from MH i2c: E2 0B 00 1A 0F 00 34 E1 65 DD AE AD B0 34 90 00 3B [07:53:35]RAPDU: 34 E1 65 DD AE AD B0 34 90 00 [07:53:35]wFMCommunicate OK [07:53:35]SAM_PROTO_SignData done [07:53:35]FM_MakeSignedData done [07:53:35]CreateOFDProtocolMessage [07:53:35]wFMCommunicate request_size=4 [07:53:35]MH_SAM_APDU [07:53:35]CAPDU: 80 11 00 00 [07:53:35]Write to MH i2c: E2 08 00 1B 0F 80 11 00 00 00 00 00 00 A4 [07:53:35]Write i2c OK [07:53:35]MH_I2C_Read... [07:53:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:53:35]Read from MH i2c: E2 [07:53:35]MH_I2C_Read... [07:53:35]Read from MH i2c: E2 17 00 [07:53:35]MH_I2C_Read... [07:53:35]Read from MH i2c: E2 17 00 1B 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 FD [07:53:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [07:53:35]wFMCommunicate OK [07:53:35]CreateOFDProtocolMessage done [07:53:35]OFDSenderStorePacket 27033 [07:53:35]StoreOFDPacket docnum=27033 [07:53:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 2E 01 00 00 DB 65 26 01 BD 04 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 34 37 33 30 30 31 38 06 04 28 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 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 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 0B 00 00 00 F4 03 04 00 01 F9 A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 99 69 00 00 35 04 06 00 84 24 07 76 57 9F 34 E1 65 DD AE AD B0 34 [07:53:35]CheckFolder [07:53:35]dirname=/storage/ofd_packets [07:53:35]CheckFolder done [07:53:35]ProducePacketName [07:53:35]name=ofd_packets/00027033 [07:53:35]NVStorageSaveData ofd_packets/00027033 [07:53:35]File name is /storage/ofd_packets/00027033 [07:53:35]Write 332 bytes [07:53:35]NVStorageSaveData done [07:53:35]OFDSenderStorePacket done [07:53:35]KKMCreateOFDPacket done [07:53:35]NVStorageSaveData kkm_last_timestamp [07:53:35]File name is /storage/kkm_last_timestamp [07:53:35]Write 4 bytes [07:53:35]NVStorageSaveData done [07:53:35]ExternCall_PrintAddStr [07:53:35]wPrintStart [07:53:35]Write to MH i2c: 01 00 00 1C 0F 2B [07:53:35]Write i2c OK [07:53:35]MH_I2C_Read... [07:53:35]Read from MH i2c: 01 [07:53:35]MH_I2C_Read... [07:53:35]Read from MH i2c: 01 07 00 [07:53:35]MH_I2C_Read... [07:53:35]Read from MH i2c: 01 07 00 1C 0F 00 00 00 00 00 FF 0F 40 [07:53:35]RasterBufferAndPrint [07:53:35]line Счет N : (3)150431 [07:53:35]line ИНН: 02508201610067 [07:53:35]line Контрольно-Кассовый Чек [07:53:35]line ПРОДАЖА [07:53:35]line Товар: 2000034730018 [07:53:35]line Кофе Американо (GABB TRADE) [07:53:35]line 1.000 * 105.00 [07:53:35]line = 105.00 [07:53:35]line НДС 12% НСП 1% [07:53:35]line > о реализуемом товаре [07:53:35]line ИТОГО: 105.00 [07:53:35]line НСП 1% : 0.93 [07:53:35]line НДС 12% : 11.15 [07:53:35]line Наличными: 105.00 [07:53:35]line Безнал.: 0.00 [07:53:35]line Место: АЗС № 134 "Партнер Нефть" [07:53:35]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [07:53:35]line СНО: Общий режим [07:53:35]line Чек 11 28.07.2024 07:53 [07:53:35]line Смена: 433 ФФД: 1.0 [07:53:35]line ЗНМ: 0300000043 [07:53:35]line РНМ: 0000000000092663 [07:53:36]line Версия ККМ: 001 [07:53:36]line ФМ: 0000000000874937 [07:53:36]line ФД: 27033 [07:53:36]line ФПД: 145290278885279 [07:53:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T075337&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27033&fm=145290278885279&tin=02508201610067®Number=0000000000092663&sum=10500 [07:53:36]line 0 [07:53:36]OFD Sender: Processing packet 27033 [packets to send 9, broken 8] [07:53:36]ProducePacketName [07:53:36]name=ofd_packets/00027033 [07:53:36]OFD Sender: To server: pG, [07:53:36]CommunicateWithHost lk.salyk.kg:30040 [07:53:36]ConnectInit lk.salyk.kg [07:53:36]written 0, free lines is 4095 [07:53:36]Connected sock=10 [07:53:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 2E 01 00 00 DB 65 26 01 BD 04 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 34 37 33 30 30 31 38 06 04 28 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 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 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 0B 00 00 00 F4 03 04 00 01 F9 A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 99 69 00 00 35 04 06 00 84 24 07 76 57 9F 34 E1 65 DD AE AD B0 34 [07:53:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 24 E4 47 00 F8 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 38 37 34 39 33 37 10 04 04 00 99 69 00 00 F4 03 04 00 55 9F A5 66 B6 04 01 00 00 1A 4E D5 E5 6A 29 21 32 [07:53:36]CommunicateWithHost err = 0 [07:53:36]CheckOFDResponse [07:53:36]1017 (14) - 77093643461234 [07:53:36]1041 (16) - 0000000000874937 [07:53:36]1040 (4) - 27033 [07:53:36]1012 (4) - 28.07.2024 01:31 [07:53:36]1206 (1) - 0 [07:53:36]OFD Sender: Remove packet 27033 [07:53:36]ProducePacketName [07:53:36]name=ofd_packets/00027033 [07:53:36]NVStorageDeleteData [07:53:36]Write to MH i2c: 01 00 00 44 0F 53 [07:53:36]Write i2c OK [07:53:36]MH_I2C_Read... [07:53:36]Read from MH i2c: 01 [07:53:36]MH_I2C_Read... [07:53:36]Read from MH i2c: 01 07 00 [07:53:36]MH_I2C_Read... [07:53:36]Read from MH i2c: 01 07 00 44 0F 00 00 00 00 00 D6 0C 3C [07:53:36]RasterBufferAndPrint [07:53:36]line [07:53:36]line [07:53:36]line [07:53:36]line [07:53:36]line [07:53:36]written 0, free lines is 3290 [07:53:36]MH_Cut [07:53:36]Write to MH i2c: D1 01 00 4B 0F 01 2C [07:53:36]Write i2c OK [07:53:36]MH_I2C_Read... [07:53:36]Read from MH i2c: D1 [07:53:36]MH_I2C_Read... [07:53:36]Read from MH i2c: D1 01 00 [07:53:36]MH_I2C_Read... [07:53:36]Read from MH i2c: D1 01 00 4B 0F 00 2B [07:53:36]Write to MH i2c: 01 00 00 4C 0F 5B [07:53:36]Write i2c OK [07:53:36]MH_I2C_Read... [07:53:36]OFD Sender: No OFD packet to send [07:53:37]*** Cut start [07:53:37]*** Partial cut [07:53:37]*** CUTSNS_PIN = 1 [07:53:37]*** CUTSNS_PIN = 0 [07:53:37]*** Brake cut motor [07:53:37]Read from MH i2c: 01 [07:53:37]MH_I2C_Read... [07:53:37]*** Stop cut motor [07:53:37]*** Cut end [07:53:37]Read from MH i2c: 01 07 00 [07:53:37]MH_I2C_Read... [07:53:37]Read from MH i2c: 01 07 00 4C 0F 00 00 00 00 00 FF 0F 70 [07:53:37]process_action close_receipt done [07:53:37]requested_data is exist [07:53:37]produce_requested_data [07:53:37]requested_item fm.sn is exist - process it [07:53:37]wFMCommunicate request_size=4 [07:53:37]MH_SAM_APDU [07:53:37]CAPDU: 80 11 00 00 [07:53:37]Write to MH i2c: E2 08 00 4D 0F 80 11 00 00 00 00 00 00 D6 [07:53:37]Write i2c OK [07:53:37]MH_I2C_Read... [07:53:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:53:37]Read from MH i2c: E2 [07:53:37]MH_I2C_Read... [07:53:37]Read from MH i2c: E2 17 00 [07:53:37]MH_I2C_Read... [07:53:37]Read from MH i2c: E2 17 00 4D 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 2F [07:53:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [07:53:37]wFMCommunicate OK [07:53:37]requested_item fd.num is exist - process it [07:53:37]SAM_PROTO_GetFieldsCounters [07:53:37]wFMCommunicate request_size=4 [07:53:37]MH_SAM_APDU [07:53:37]CAPDU: 80 13 00 00 [07:53:37]Write to MH i2c: E2 08 00 4E 0F 80 13 00 00 00 00 00 00 D9 [07:53:37]Write i2c OK [07:53:37]MH_I2C_Read... [07:53:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:53:38]Read from MH i2c: E2 [07:53:38]MH_I2C_Read... [07:53:38]Read from MH i2c: E2 62 00 [07:53:38]MH_I2C_Read... [07:53:38]Read from MH i2c: E2 62 00 4E 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 99 69 00 00 0E 04 04 00 B1 01 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 D6 [07:53:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 99 69 00 00 0E 04 04 00 B1 01 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 [07:53:38]wFMCommunicate OK [07:53:38]SAM_PROTO_GetFieldsCounters done [07:53:38]requested_item shift.num is exist - process it [07:53:38]requested_item shift.opened is exist - process it [07:53:38]req_shift_opened [07:53:38]FM_GetShiftState [07:53:38]SAM_PROTO_GetShiftState [07:53:38]wFMCommunicate request_size=4 [07:53:38]MH_SAM_APDU [07:53:38]CAPDU: 80 13 01 00 [07:53:38]Write to MH i2c: E2 08 00 4F 0F 80 13 01 00 00 00 00 00 DB [07:53:38]Write i2c OK [07:53:38]MH_I2C_Read... [07:53:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:53:38]Read from MH i2c: E2 [07:53:38]MH_I2C_Read... [07:53:38]Read from MH i2c: E2 0E 00 [07:53:38]MH_I2C_Read... [07:53:38]Read from MH i2c: E2 0E 00 4F 0F 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 03 [07:53:38]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [07:53:38]wFMCommunicate OK [07:53:38]SAM_PROTO_GetShiftState done [07:53:38]FM_GetShiftState done [07:53:38]req_shift_opened done [07:53:38]requested_item shift.open_date is exist - process it [07:53:38]req_shift_open_date [07:53:38]req_shift_open_date done [07:53:38]produce_requested_data done [07:53:38]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27033,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [07:53:38]process_action_free close_receipt [07:53:38]json_value_free [07:53:38]json_value_free done [07:53:38]process_json_proto returns [07:53:38]Send response to host [07:53:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27033,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [07:53:38]free response buf [07:53:38]execute_script done [07:53:38]execute_script returns [07:53:38]free content buf [07:53:38]Sock 7.Close socket [07:53:38]Sock 7.Thread stoped [07:53:41]OFD Sender: No OFD packet to send [07:53:46]OFD Sender: No OFD packet to send [07:53:51]OFD Sender: No OFD packet to send [07:53:56]OFD Sender: No OFD packet to send [07:54:01]OFD Sender: No OFD packet to send [07:54:06]OFD Sender: No OFD packet to send [07:54:08]accept exits with 9 [07:54:08]New connection [07:54:08]New thread 3067530596 created [07:54:08]Thread 3067387236 joined [07:54:08]Waiting for new connection... [07:54:08] Sock 9.Parse request [07:54:08]Sock 9.Check first char [07:54:08]Sock 9.First char is OK [07:54:08]request: POST /json_proto HTTP/1.0 [07:54:08]Method: POST [07:54:08]URL: /json_proto [07:54:08]Method is POST - this is cgi request [07:54:08]url: /json_proto [07:54:08]query_string will be loaded in cgi processing [07:54:08]execute_cgi json_proto POST (null) [07:54:08]execute_cgi path=json_proto method=POST [07:54:08]POST find Content-Length [07:54:08]Host: 172.17.45.8:8080 [07:54:08]Content-Length: 644 [07:54:08]Content-Type: application/json [07:54:08] [07:54:08]POST finish read [07:54:08]Found Content-Length = 644 [07:54:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150432", "tax_sys" : 0, "items" : [ { "code": "2000036200014", "name": "\u041A\u043E\u0444\u0435 \u042D\u0441\u043F\u0440\u0435\u0441\u0441\u043E (GABB TRADE)", "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" ] } } [07:54:08]execute_script... [07:54: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)150432", "tax_sys" : 0, "items" : [ { "code": "2000036200014", "name": "\u041A\u043E\u0444\u0435 \u042D\u0441\u043F\u0440\u0435\u0441\u0441\u043E (GABB TRADE)", "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" ] } } [07:54:08]POST & json_proto [07:54:08]process_json_proto [07:54:08]json parsed OK: [07:54:08]protocol is kg_v1.0 [07:54:08]action value=close_receipt [07:54:08]process_action close_receipt [07:54:08]cmd_close_receipt [07:54:08]MH_GetDate [07:54:08]Write to MH i2c: F0 00 00 50 0F 4E [07:54:08]Write i2c OK [07:54:08]MH_I2C_Read... [07:54:08]Read from MH i2c: F0 [07:54:08]MH_I2C_Read... [07:54:08]Read from MH i2c: F0 09 00 [07:54:08]MH_I2C_Read... [07:54:08]Read from MH i2c: F0 09 00 50 0F 00 23 F9 A5 66 A6 1F 7F 64 26 [07:54:08]GetLastDocTimeStamp 1722153217 [07:54:08]current date 1722153251 [07:54:08]FM_GetShiftState [07:54:08]SAM_PROTO_GetShiftState [07:54:08]wFMCommunicate request_size=4 [07:54:08]MH_SAM_APDU [07:54:08]CAPDU: 80 13 01 00 [07:54:08]Write to MH i2c: E2 08 00 51 0F 80 13 01 00 00 00 00 00 DD [07:54:08]Write i2c OK [07:54:08]MH_I2C_Read... [07:54:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:54:08]Read from MH i2c: E2 [07:54:08]MH_I2C_Read... [07:54:08]Read from MH i2c: E2 0E 00 [07:54:08]MH_I2C_Read... [07:54:08]Read from MH i2c: E2 0E 00 51 0F 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 05 [07:54:08]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [07:54:08]wFMCommunicate OK [07:54:08]SAM_PROTO_GetShiftState done [07:54:08]FM_GetShiftState done [07:54:08]opened in 1722127230 [07:54:08]opened+sec_in_day 1722213630 [07:54:08]quantity*price = 10500 [07:54:08]sum+1 = 10501 [07:54:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 12 28.07.2024 07:54 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27034 ФПД: 227465104770409 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T075411&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27034&fm=227465104770409&tin=02508201610067®Number=0000000000092663&sum=10500 0 [07:54:09]StoreToDocumentArchive [07:54:09]shift 433 fd 27034 [07:54:09]save to /storage/0433/doc_00027034 [07:54:09]save last doc name /storage/0433/doc_00027034 to /storage/kkm_last_doc_name [07:54:09]save OK [07:54:09]Clear old archive folders... [07:54:09]ProcessDocumentItem done err = 0, tmpTLVsize=280 [07:54:09]tlvbuf is 01896DC0 [07:54:09]SAM_PROTO_ClearQueue [07:54:09]wFMCommunicate request_size=4 [07:54:09]MH_SAM_APDU [07:54:09]CAPDU: 80 09 00 00 [07:54:09]Write to MH i2c: E2 08 00 5E 0F 80 09 00 00 00 00 00 00 DF [07:54:09]Write i2c OK [07:54:09]MH_I2C_Read... [07:54:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:54:09]Read from MH i2c: E2 [07:54:09]MH_I2C_Read... [07:54:09]Read from MH i2c: E2 03 00 [07:54:09]MH_I2C_Read... [07:54:09]Read from MH i2c: E2 03 00 5E 0F 00 90 00 E1 [07:54:09]RAPDU: 90 00 [07:54:09]wFMCommunicate OK [07:54:09]SAM_PROTO_ClearQueue done [07:54:09]KKMCreateOFDPacket [07:54:09]OFDProtocolAddRootSTLVToBuf [07:54:09]FM_MakeSignedData [07:54:09]FM_MakeSignedData [07:54:09]SAM_PROTO_SignData [07:54:09]wFMCommunicate request_size=4 [07:54:09]MH_SAM_APDU [07:54:09]CAPDU: 80 0D 01 02 [07:54:09]Write to MH i2c: E2 08 00 5F 0F 80 0D 01 02 00 00 00 00 E7 [07:54:09]Write i2c OK [07:54:09]MH_I2C_Read... [07:54:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:54:09]Read from MH i2c: E2 [07:54:09]MH_I2C_Read... [07:54:09]Read from MH i2c: E2 03 00 [07:54:09]MH_I2C_Read... [07:54:09]Read from MH i2c: E2 03 00 5F 0F 00 90 00 E2 [07:54:09]RAPDU: 90 00 [07:54:09]wFMCommunicate OK [07:54:09]wFMCommunicate request_size=255 [07:54:09]MH_SAM_APDU [07:54:09]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 30 30 30 31 34 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 AD D1 81 D0 BF D1 80 D0 B5 D1 81 D1 81 D0 BE 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 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 0C 00 00 00 F4 03 04 00 23 F9 A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 [07:54:09]Write to MH i2c: E2 02 01 60 0F 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 30 30 30 31 34 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 AD D1 81 D0 BF D1 80 D0 B5 D1 81 D1 81 D0 BE 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 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 0C 00 00 00 F4 03 04 00 23 F9 A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 00 00 8C [07:54:09]Write i2c OK [07:54:09]MH_I2C_Read... [07:54:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:54:09]Read from MH i2c: E2 [07:54:09]MH_I2C_Read... [07:54:09]Read from MH i2c: E2 03 00 [07:54:09]MH_I2C_Read... [07:54:09]Read from MH i2c: E2 03 00 60 0F 00 90 00 E3 [07:54:09]RAPDU: 90 00 [07:54:09]wFMCommunicate OK [07:54:09]wFMCommunicate request_size=39 [07:54:09]MH_SAM_APDU [07:54:09]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 9A 69 00 00 35 04 06 00 CE E0 D8 C4 C5 69 [07:54:09]Write to MH i2c: E2 2A 00 61 0F 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 9A 69 00 00 35 04 06 00 CE E0 D8 C4 C5 69 00 00 26 [07:54:09]Write i2c OK [07:54:09]MH_I2C_Read... [07:54:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:54:09]Read from MH i2c: E2 [07:54:09]MH_I2C_Read... [07:54:09]Read from MH i2c: E2 03 00 [07:54:09]MH_I2C_Read... [07:54:09]Read from MH i2c: E2 03 00 61 0F 00 90 00 E4 [07:54:09]RAPDU: 90 00 [07:54:09]wFMCommunicate OK [07:54:09]wFMCommunicate request_size=4 [07:54:09]MH_SAM_APDU [07:54:09]CAPDU: 80 0D 03 02 [07:54:09]Write to MH i2c: E2 08 00 62 0F 80 0D 03 02 00 00 00 00 EC [07:54:09]Write i2c OK [07:54:09]MH_I2C_Read... [07:54:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:54:09]Read from MH i2c: E2 [07:54:09]MH_I2C_Read... [07:54:09]Read from MH i2c: E2 0B 00 [07:54:09]MH_I2C_Read... [07:54:09]Read from MH i2c: E2 0B 00 62 0F 00 6E 7B EA BA 2D DB BE 1F 90 00 5F [07:54:09]RAPDU: 6E 7B EA BA 2D DB BE 1F 90 00 [07:54:09]wFMCommunicate OK [07:54:09]SAM_PROTO_SignData done [07:54:09]FM_MakeSignedData done [07:54:09]CreateOFDProtocolMessage [07:54:09]wFMCommunicate request_size=4 [07:54:09]MH_SAM_APDU [07:54:09]CAPDU: 80 11 00 00 [07:54:09]Write to MH i2c: E2 08 00 63 0F 80 11 00 00 00 00 00 00 EC [07:54:09]Write i2c OK [07:54:09]MH_I2C_Read... [07:54:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:54:09]Read from MH i2c: E2 [07:54:09]MH_I2C_Read... [07:54:09]Read from MH i2c: E2 17 00 [07:54:09]MH_I2C_Read... [07:54:09]Read from MH i2c: E2 17 00 63 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 45 [07:54:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [07:54:09]wFMCommunicate OK [07:54:09]CreateOFDProtocolMessage done [07:54:09]OFDSenderStorePacket 27034 [07:54:09]StoreOFDPacket docnum=27034 [07:54:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 2C 01 00 00 4B 46 24 01 2E 3C 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 30 30 30 31 34 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 AD D1 81 D0 BF D1 80 D0 B5 D1 81 D1 81 D0 BE 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 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 0C 00 00 00 F4 03 04 00 23 F9 A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 9A 69 00 00 35 04 06 00 CE E0 D8 C4 C5 69 6E 7B EA BA 2D DB BE 1F [07:54:09]CheckFolder [07:54:09]dirname=/storage/ofd_packets [07:54:09]CheckFolder done [07:54:09]ProducePacketName [07:54:09]name=ofd_packets/00027034 [07:54:09]NVStorageSaveData ofd_packets/00027034 [07:54:09]File name is /storage/ofd_packets/00027034 [07:54:09]Write 330 bytes [07:54:09]NVStorageSaveData done [07:54:09]OFDSenderStorePacket done [07:54:09]KKMCreateOFDPacket done [07:54:09]NVStorageSaveData kkm_last_timestamp [07:54:09]File name is /storage/kkm_last_timestamp [07:54:09]Write 4 bytes [07:54:09]NVStorageSaveData done [07:54:09]ExternCall_PrintAddStr [07:54:09]wPrintStart [07:54:09]Write to MH i2c: 01 00 00 64 0F 73 [07:54:09]Write i2c OK [07:54:09]MH_I2C_Read... [07:54:09]Read from MH i2c: 01 [07:54:09]MH_I2C_Read... [07:54:09]Read from MH i2c: 01 07 00 [07:54:09]MH_I2C_Read... [07:54:09]Read from MH i2c: 01 07 00 64 0F 00 00 00 00 00 FF 0F 88 [07:54:09]RasterBufferAndPrint [07:54:09]line Счет N : (3)150432 [07:54:09]line ИНН: 02508201610067 [07:54:09]line Контрольно-Кассовый Чек [07:54:09]line ПРОДАЖА [07:54:09]line Товар: 2000036200014 [07:54:09]line Кофе Эспрессо (GABB TRADE) [07:54:09]line 1.000 * 105.00 [07:54:09]line = 105.00 [07:54:09]line НДС 12% НСП 1% [07:54:09]line > о реализуемом товаре [07:54:09]line ИТОГО: 105.00 [07:54:09]line НСП 1% : 0.93 [07:54:09]line НДС 12% : 11.15 [07:54:09]line Наличными: 105.00 [07:54:09]line Безнал.: 0.00 [07:54:09]line Место: АЗС № 134 "Партнер Нефть" [07:54:09]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [07:54:09]line СНО: Общий режим [07:54:09]line Чек 12 28.07.2024 07:54 [07:54:09]line Смена: 433 ФФД: 1.0 [07:54:09]line ЗНМ: 0300000043 [07:54:09]line РНМ: 0000000000092663 [07:54:09]line Версия ККМ: 001 [07:54:09]line ФМ: 0000000000874937 [07:54:09]line ФД: 27034 [07:54:09]line ФПД: 227465104770409 [07:54:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T075411&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27034&fm=227465104770409&tin=02508201610067®Number=0000000000092663&sum=10500 [07:54:10]line 0 [07:54:10]OFD Sender: Processing packet 27034 [packets to send 9, broken 8] [07:54:10]ProducePacketName [07:54:10]name=ofd_packets/00027034 [07:54:10]OFD Sender: To server: pG, [07:54:10]CommunicateWithHost lk.salyk.kg:30040 [07:54:10]ConnectInit lk.salyk.kg [07:54:10]written 0, free lines is 4095 [07:54:10]Connected sock=10 [07:54:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 2C 01 00 00 4B 46 24 01 2E 3C 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 30 30 30 31 34 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 AD D1 81 D0 BF D1 80 D0 B5 D1 81 D1 81 D0 BE 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 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 0C 00 00 00 F4 03 04 00 23 F9 A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 9A 69 00 00 35 04 06 00 CE E0 D8 C4 C5 69 6E 7B EA BA 2D DB BE 1F [07:54:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 8E 17 47 00 EC 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 38 37 34 39 33 37 10 04 04 00 9A 69 00 00 F4 03 04 00 77 9F A5 66 B6 04 01 00 00 5D 46 0E AA BD E6 87 6B [07:54:10]CommunicateWithHost err = 0 [07:54:10]CheckOFDResponse [07:54:10]1017 (14) - 77093643461234 [07:54:10]1041 (16) - 0000000000874937 [07:54:10]1040 (4) - 27034 [07:54:10]1012 (4) - 28.07.2024 01:31 [07:54:10]1206 (1) - 0 [07:54:10]OFD Sender: Remove packet 27034 [07:54:10]ProducePacketName [07:54:10]name=ofd_packets/00027034 [07:54:10]NVStorageDeleteData [07:54:10]Write to MH i2c: 01 00 00 8B 0F 9A [07:54:10]Write i2c OK [07:54:10]MH_I2C_Read... [07:54:10]Read from MH i2c: 01 [07:54:10]MH_I2C_Read... [07:54:10]Read from MH i2c: 01 07 00 [07:54:10]MH_I2C_Read... [07:54:10]Read from MH i2c: 01 07 00 8B 0F 00 00 00 00 00 E6 0C 93 [07:54:10]RasterBufferAndPrint [07:54:10]line [07:54:10]line [07:54:10]line [07:54:10]line [07:54:10]line [07:54:10]written 0, free lines is 3307 [07:54:10]MH_Cut [07:54:10]Write to MH i2c: D1 01 00 92 0F 01 73 [07:54:10]Write i2c OK [07:54:10]MH_I2C_Read... [07:54:10]Read from MH i2c: D1 [07:54:10]MH_I2C_Read... [07:54:10]Read from MH i2c: D1 01 00 [07:54:10]MH_I2C_Read... [07:54:10]Read from MH i2c: D1 01 00 92 0F 00 72 [07:54:10]Write to MH i2c: 01 00 00 93 0F A2 [07:54:10]Write i2c OK [07:54:10]MH_I2C_Read... [07:54:10]OFD Sender: No OFD packet to send [07:54:11]*** Cut start [07:54:11]*** Partial cut [07:54:11]*** CUTSNS_PIN = 1 [07:54:11]*** CUTSNS_PIN = 0 [07:54:11]*** Brake cut motor [07:54:11]Read from MH i2c: 01 [07:54:11]MH_I2C_Read... [07:54:11]*** Stop cut motor [07:54:11]*** Cut end [07:54:11]Read from MH i2c: 01 07 00 [07:54:11]MH_I2C_Read... [07:54:11]Read from MH i2c: 01 07 00 93 0F 00 00 00 00 00 FF 0F B7 [07:54:11]process_action close_receipt done [07:54:11]requested_data is exist [07:54:11]produce_requested_data [07:54:11]requested_item fm.sn is exist - process it [07:54:11]wFMCommunicate request_size=4 [07:54:11]MH_SAM_APDU [07:54:11]CAPDU: 80 11 00 00 [07:54:11]Write to MH i2c: E2 08 00 94 0F 80 11 00 00 00 00 00 00 1D [07:54:11]Write i2c OK [07:54:11]MH_I2C_Read... [07:54:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:54:11]Read from MH i2c: E2 [07:54:11]MH_I2C_Read... [07:54:11]Read from MH i2c: E2 17 00 [07:54:11]MH_I2C_Read... [07:54:11]Read from MH i2c: E2 17 00 94 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 76 [07:54:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [07:54:11]wFMCommunicate OK [07:54:11]requested_item fd.num is exist - process it [07:54:11]SAM_PROTO_GetFieldsCounters [07:54:11]wFMCommunicate request_size=4 [07:54:11]MH_SAM_APDU [07:54:11]CAPDU: 80 13 00 00 [07:54:11]Write to MH i2c: E2 08 00 95 0F 80 13 00 00 00 00 00 00 20 [07:54:11]Write i2c OK [07:54:11]MH_I2C_Read... [07:54:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:54:12]Read from MH i2c: E2 [07:54:12]MH_I2C_Read... [07:54:12]Read from MH i2c: E2 62 00 [07:54:12]MH_I2C_Read... [07:54:12]Read from MH i2c: E2 62 00 95 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 9A 69 00 00 0E 04 04 00 B1 01 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 21 [07:54:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 9A 69 00 00 0E 04 04 00 B1 01 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 [07:54:12]wFMCommunicate OK [07:54:12]SAM_PROTO_GetFieldsCounters done [07:54:12]requested_item shift.num is exist - process it [07:54:12]requested_item shift.opened is exist - process it [07:54:12]req_shift_opened [07:54:12]FM_GetShiftState [07:54:12]SAM_PROTO_GetShiftState [07:54:12]wFMCommunicate request_size=4 [07:54:12]MH_SAM_APDU [07:54:12]CAPDU: 80 13 01 00 [07:54:12]Write to MH i2c: E2 08 00 96 0F 80 13 01 00 00 00 00 00 22 [07:54:12]Write i2c OK [07:54:12]MH_I2C_Read... [07:54:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:54:12]Read from MH i2c: E2 [07:54:12]MH_I2C_Read... [07:54:12]Read from MH i2c: E2 0E 00 [07:54:12]MH_I2C_Read... [07:54:12]Read from MH i2c: E2 0E 00 96 0F 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 4A [07:54:12]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [07:54:12]wFMCommunicate OK [07:54:12]SAM_PROTO_GetShiftState done [07:54:12]FM_GetShiftState done [07:54:12]req_shift_opened done [07:54:12]requested_item shift.open_date is exist - process it [07:54:12]req_shift_open_date [07:54:12]req_shift_open_date done [07:54:12]produce_requested_data done [07:54:12]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27034,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [07:54:12]process_action_free close_receipt [07:54:12]json_value_free [07:54:12]json_value_free done [07:54:12]process_json_proto returns [07:54:12]Send response to host [07:54:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27034,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [07:54:12]free response buf [07:54:12]execute_script done [07:54:12]execute_script returns [07:54:12]free content buf [07:54:12]Sock 9.Close socket [07:54:12]Sock 9.Thread stoped [07:54:15]OFD Sender: No OFD packet to send [07:54:20]OFD Sender: No OFD packet to send [07:54:25]OFD Sender: No OFD packet to send [07:54:30]OFD Sender: No OFD packet to send [07:54:36]OFD Sender: No OFD packet to send [07:54:36]accept exits with 7 [07:54:36]New connection [07:54:36]New thread 3067387236 created [07:54:36]Thread 3067530596 joined [07:54:36]Waiting for new connection... [07:54:36] Sock 7.Parse request [07:54:36]Sock 7.Check first char [07:54:36]Sock 7.First char is OK [07:54:36]request: POST /json_proto HTTP/1.0 [07:54:36]Method: POST [07:54:36]URL: /json_proto [07:54:36]Method is POST - this is cgi request [07:54:36]url: /json_proto [07:54:36]query_string will be loaded in cgi processing [07:54:36]execute_cgi json_proto POST (null) [07:54:36]execute_cgi path=json_proto method=POST [07:54:36]POST find Content-Length [07:54:36]Host: 172.17.45.8:8080 [07:54:36]Content-Length: 630 [07:54:36]Content-Type: application/json [07:54:36] [07:54:36]POST finish read [07:54:36]Found Content-Length = 630 [07:54:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150433", "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" ] } } [07:54:36]execute_script... [07:54: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)150433", "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" ] } } [07:54:36]POST & json_proto [07:54:36]process_json_proto [07:54:36]json parsed OK: [07:54:36]protocol is kg_v1.0 [07:54:36]action value=close_receipt [07:54:36]process_action close_receipt [07:54:36]cmd_close_receipt [07:54:36]MH_GetDate [07:54:36]Write to MH i2c: F0 00 00 97 0F 95 [07:54:36]Write i2c OK [07:54:36]MH_I2C_Read... [07:54:36]Read from MH i2c: F0 [07:54:36]MH_I2C_Read... [07:54:36]Read from MH i2c: F0 09 00 [07:54:36]MH_I2C_Read... [07:54:36]Read from MH i2c: F0 09 00 97 0F 00 3F F9 A5 66 A6 1F 7F 64 89 [07:54:36]GetLastDocTimeStamp 1722153251 [07:54:36]current date 1722153279 [07:54:36]FM_GetShiftState [07:54:36]SAM_PROTO_GetShiftState [07:54:36]wFMCommunicate request_size=4 [07:54:36]MH_SAM_APDU [07:54:36]CAPDU: 80 13 01 00 [07:54:36]Write to MH i2c: E2 08 00 98 0F 80 13 01 00 00 00 00 00 24 [07:54:36]Write i2c OK [07:54:36]MH_I2C_Read... [07:54:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:54:36]Read from MH i2c: E2 [07:54:36]MH_I2C_Read... [07:54:36]Read from MH i2c: E2 0E 00 [07:54:36]MH_I2C_Read... [07:54:36]Read from MH i2c: E2 0E 00 98 0F 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 4C [07:54:36]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [07:54:36]wFMCommunicate OK [07:54:36]SAM_PROTO_GetShiftState done [07:54:36]FM_GetShiftState done [07:54:36]opened in 1722127230 [07:54:36]opened+sec_in_day 1722213630 [07:54:36]quantity*price = 5000 [07:54:36]sum+1 = 5001 [07:54:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 13 28.07.2024 07:54 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27035 ФПД: 118629578151341 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T075439&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27035&fm=118629578151341&tin=02508201610067®Number=0000000000092663&sum=5000 0 [07:54:37]StoreToDocumentArchive [07:54:37]shift 433 fd 27035 [07:54:37]save to /storage/0433/doc_00027035 [07:54:37]save last doc name /storage/0433/doc_00027035 to /storage/kkm_last_doc_name [07:54:37]save OK [07:54:37]Clear old archive folders... [07:54:37]ProcessDocumentItem done err = 0, tmpTLVsize=269 [07:54:37]tlvbuf is 01815690 [07:54:37]SAM_PROTO_ClearQueue [07:54:37]wFMCommunicate request_size=4 [07:54:37]MH_SAM_APDU [07:54:37]CAPDU: 80 09 00 00 [07:54:37]Write to MH i2c: E2 08 00 A5 0F 80 09 00 00 00 00 00 00 26 [07:54:37]Write i2c OK [07:54:37]MH_I2C_Read... [07:54:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:54:37]Read from MH i2c: E2 [07:54:37]MH_I2C_Read... [07:54:37]Read from MH i2c: E2 03 00 [07:54:37]MH_I2C_Read... [07:54:37]Read from MH i2c: E2 03 00 A5 0F 00 90 00 28 [07:54:37]RAPDU: 90 00 [07:54:37]wFMCommunicate OK [07:54:37]SAM_PROTO_ClearQueue done [07:54:37]KKMCreateOFDPacket [07:54:37]OFDProtocolAddRootSTLVToBuf [07:54:37]FM_MakeSignedData [07:54:37]FM_MakeSignedData [07:54:37]SAM_PROTO_SignData [07:54:37]wFMCommunicate request_size=4 [07:54:37]MH_SAM_APDU [07:54:37]CAPDU: 80 0D 01 02 [07:54:37]Write to MH i2c: E2 08 00 A6 0F 80 0D 01 02 00 00 00 00 2E [07:54:37]Write i2c OK [07:54:37]MH_I2C_Read... [07:54:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:54:37]Read from MH i2c: E2 [07:54:37]MH_I2C_Read... [07:54:37]Read from MH i2c: E2 03 00 [07:54:37]MH_I2C_Read... [07:54:37]Read from MH i2c: E2 03 00 A6 0F 00 90 00 29 [07:54:37]RAPDU: 90 00 [07:54:37]wFMCommunicate OK [07:54:37]wFMCommunicate request_size=255 [07:54:37]MH_SAM_APDU [07:54:37]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 0D 00 00 00 F4 03 04 00 3F F9 A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [07:54:37]Write to MH i2c: E2 02 01 A7 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 0D 00 00 00 F4 03 04 00 3F F9 A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 48 [07:54:37]Write i2c OK [07:54:37]MH_I2C_Read... [07:54:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:54:37]Read from MH i2c: E2 [07:54:37]MH_I2C_Read... [07:54:37]Read from MH i2c: E2 03 00 [07:54:37]MH_I2C_Read... [07:54:37]Read from MH i2c: E2 03 00 A7 0F 00 90 00 2A [07:54:37]RAPDU: 90 00 [07:54:37]wFMCommunicate OK [07:54:37]wFMCommunicate request_size=28 [07:54:37]MH_SAM_APDU [07:54:37]CAPDU: 80 0D 02 02 17 37 34 39 33 37 10 04 04 00 9B 69 00 00 35 04 06 00 6B E4 99 DD 95 AD [07:54:37]Write to MH i2c: E2 1F 00 A8 0F 80 0D 02 02 17 00 37 34 39 33 37 10 04 04 00 9B 69 00 00 35 04 06 00 6B E4 99 DD 95 AD 00 00 CF [07:54:37]Write i2c OK [07:54:37]MH_I2C_Read... [07:54:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:54:37]Read from MH i2c: E2 [07:54:37]MH_I2C_Read... [07:54:37]Read from MH i2c: E2 03 00 [07:54:37]MH_I2C_Read... [07:54:37]Read from MH i2c: E2 03 00 A8 0F 00 90 00 2B [07:54:37]RAPDU: 90 00 [07:54:37]wFMCommunicate OK [07:54:37]wFMCommunicate request_size=4 [07:54:37]MH_SAM_APDU [07:54:37]CAPDU: 80 0D 03 02 [07:54:37]Write to MH i2c: E2 08 00 A9 0F 80 0D 03 02 00 00 00 00 33 [07:54:37]Write i2c OK [07:54:37]MH_I2C_Read... [07:54:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:54:37]Read from MH i2c: E2 [07:54:37]MH_I2C_Read... [07:54:37]Read from MH i2c: E2 0B 00 [07:54:37]MH_I2C_Read... [07:54:37]Read from MH i2c: E2 0B 00 A9 0F 00 E3 70 98 0E 35 DF 3D 56 90 00 D4 [07:54:37]RAPDU: E3 70 98 0E 35 DF 3D 56 90 00 [07:54:37]wFMCommunicate OK [07:54:37]SAM_PROTO_SignData done [07:54:37]FM_MakeSignedData done [07:54:37]CreateOFDProtocolMessage [07:54:37]wFMCommunicate request_size=4 [07:54:37]MH_SAM_APDU [07:54:37]CAPDU: 80 11 00 00 [07:54:37]Write to MH i2c: E2 08 00 AA 0F 80 11 00 00 00 00 00 00 33 [07:54:37]Write i2c OK [07:54:37]MH_I2C_Read... [07:54:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:54:37]Read from MH i2c: E2 [07:54:37]MH_I2C_Read... [07:54:37]Read from MH i2c: E2 17 00 [07:54:37]MH_I2C_Read... [07:54:37]Read from MH i2c: E2 17 00 AA 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 8C [07:54:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [07:54:37]wFMCommunicate OK [07:54:37]CreateOFDProtocolMessage done [07:54:37]OFDSenderStorePacket 27035 [07:54:37]StoreOFDPacket docnum=27035 [07:54:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 21 01 00 00 69 8E 19 01 5E 79 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 0D 00 00 00 F4 03 04 00 3F F9 A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 9B 69 00 00 35 04 06 00 6B E4 99 DD 95 AD E3 70 98 0E 35 DF 3D 56 [07:54:37]CheckFolder [07:54:37]dirname=/storage/ofd_packets [07:54:37]CheckFolder done [07:54:37]ProducePacketName [07:54:37]name=ofd_packets/00027035 [07:54:37]NVStorageSaveData ofd_packets/00027035 [07:54:37]File name is /storage/ofd_packets/00027035 [07:54:37]Write 319 bytes [07:54:37]NVStorageSaveData done [07:54:37]OFDSenderStorePacket done [07:54:37]KKMCreateOFDPacket done [07:54:37]NVStorageSaveData kkm_last_timestamp [07:54:37]File name is /storage/kkm_last_timestamp [07:54:37]Write 4 bytes [07:54:37]NVStorageSaveData done [07:54:37]ExternCall_PrintAddStr [07:54:37]wPrintStart [07:54:37]Write to MH i2c: 01 00 00 AB 0F BA [07:54:37]Write i2c OK [07:54:37]MH_I2C_Read... [07:54:37]Read from MH i2c: 01 [07:54:37]MH_I2C_Read... [07:54:37]Read from MH i2c: 01 07 00 [07:54:37]MH_I2C_Read... [07:54:37]Read from MH i2c: 01 07 00 AB 0F 00 00 00 00 00 FF 0F CF [07:54:37]RasterBufferAndPrint [07:54:37]line Счет N : (3)150433 [07:54:37]line ИНН: 02508201610067 [07:54:37]line Контрольно-Кассовый Чек [07:54:37]line ПРОДАЖА [07:54:37]line Товар: 4700000160358 [07:54:37]line Вода Легенда 1л [07:54:37]line 1.000 * 50.00 [07:54:37]line = 50.00 [07:54:37]line НДС 12% НСП 1% [07:54:37]line > о реализуемом товаре [07:54:37]line ИТОГО: 50.00 [07:54:37]line НСП 1% : 0.44 [07:54:37]line НДС 12% : 5.31 [07:54:37]line Наличными: 50.00 [07:54:37]line Безнал.: 0.00 [07:54:37]line Место: АЗС № 134 "Партнер Нефть" [07:54:37]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [07:54:37]line СНО: Общий режим [07:54:37]line Чек 13 28.07.2024 07:54 [07:54:37]line Смена: 433 ФФД: 1.0 [07:54:37]line ЗНМ: 0300000043 [07:54:37]line РНМ: 0000000000092663 [07:54:37]line Версия ККМ: 001 [07:54:37]line ФМ: 0000000000874937 [07:54:37]line ФД: 27035 [07:54:37]line ФПД: 118629578151341 [07:54:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T075439&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27035&fm=118629578151341&tin=02508201610067®Number=0000000000092663&sum=5000 [07:54:37]line 0 [07:54:38]written 0, free lines is 4095 [07:54:38]OFD Sender: Processing packet 27035 [packets to send 9, broken 8] [07:54:38]ProducePacketName [07:54:38]name=ofd_packets/00027035 [07:54:38]OFD Sender: To server: pG, [07:54:38]CommunicateWithHost lk.salyk.kg:30040 [07:54:38]ConnectInit lk.salyk.kg [07:54:38]Connected sock=10 [07:54:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 21 01 00 00 69 8E 19 01 5E 79 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 0D 00 00 00 F4 03 04 00 3F F9 A5 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 9B 69 00 00 35 04 06 00 6B E4 99 DD 95 AD E3 70 98 0E 35 DF 3D 56 [07:54:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 50 AC 47 00 BF C8 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 38 37 34 39 33 37 10 04 04 00 9B 69 00 00 F4 03 04 00 93 9F A5 66 B6 04 01 00 00 88 93 A5 71 B1 BC 42 9C [07:54:38]CommunicateWithHost err = 0 [07:54:38]CheckOFDResponse [07:54:38]1017 (14) - 77093643461234 [07:54:38]1041 (16) - 0000000000874937 [07:54:38]1040 (4) - 27035 [07:54:38]1012 (4) - 28.07.2024 01:32 [07:54:38]1206 (1) - 0 [07:54:38]OFD Sender: Remove packet 27035 [07:54:38]ProducePacketName [07:54:38]name=ofd_packets/00027035 [07:54:38]NVStorageDeleteData [07:54:38]Write to MH i2c: 01 00 00 D2 0F E1 [07:54:38]Write i2c OK [07:54:38]MH_I2C_Read... [07:54:38]Read from MH i2c: 01 [07:54:38]MH_I2C_Read... [07:54:38]Read from MH i2c: 01 07 00 [07:54:38]MH_I2C_Read... [07:54:38]Read from MH i2c: 01 07 00 D2 0F 00 00 00 00 00 05 0D FA [07:54:38]RasterBufferAndPrint [07:54:38]line [07:54:38]line [07:54:38]line [07:54:38]line [07:54:38]line [07:54:38]written 0, free lines is 3340 [07:54:38]MH_Cut [07:54:38]Write to MH i2c: D1 01 00 D9 0F 01 BA [07:54:38]Write i2c OK [07:54:38]MH_I2C_Read... [07:54:38]Read from MH i2c: D1 [07:54:38]MH_I2C_Read... [07:54:38]Read from MH i2c: D1 01 00 [07:54:38]MH_I2C_Read... [07:54:38]Read from MH i2c: D1 01 00 D9 0F 00 B9 [07:54:38]Write to MH i2c: 01 00 00 DA 0F E9 [07:54:38]Write i2c OK [07:54:38]MH_I2C_Read... [07:54:38]OFD Sender: No OFD packet to send [07:54:39]*** Cut start [07:54:39]*** Partial cut [07:54:39]*** CUTSNS_PIN = 1 [07:54:39]*** CUTSNS_PIN = 0 [07:54:39]*** Brake cut motor [07:54:39]Read from MH i2c: 01 [07:54:39]MH_I2C_Read... [07:54:39]*** Stop cut motor [07:54:39]*** Cut end [07:54:39]Read from MH i2c: 01 07 00 [07:54:39]MH_I2C_Read... [07:54:39]Read from MH i2c: 01 07 00 DA 0F 00 00 00 00 00 FF 0F FE [07:54:39]process_action close_receipt done [07:54:39]requested_data is exist [07:54:39]produce_requested_data [07:54:39]requested_item fm.sn is exist - process it [07:54:39]wFMCommunicate request_size=4 [07:54:39]MH_SAM_APDU [07:54:39]CAPDU: 80 11 00 00 [07:54:39]Write to MH i2c: E2 08 00 DB 0F 80 11 00 00 00 00 00 00 64 [07:54:39]Write i2c OK [07:54:39]MH_I2C_Read... [07:54:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:54:39]Read from MH i2c: E2 [07:54:39]MH_I2C_Read... [07:54:39]Read from MH i2c: E2 17 00 [07:54:39]MH_I2C_Read... [07:54:39]Read from MH i2c: E2 17 00 DB 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 BD [07:54:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [07:54:39]wFMCommunicate OK [07:54:39]requested_item fd.num is exist - process it [07:54:39]SAM_PROTO_GetFieldsCounters [07:54:39]wFMCommunicate request_size=4 [07:54:39]MH_SAM_APDU [07:54:39]CAPDU: 80 13 00 00 [07:54:39]Write to MH i2c: E2 08 00 DC 0F 80 13 00 00 00 00 00 00 67 [07:54:39]Write i2c OK [07:54:39]MH_I2C_Read... [07:54:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:54:40]Read from MH i2c: E2 [07:54:40]MH_I2C_Read... [07:54:40]Read from MH i2c: E2 62 00 [07:54:40]MH_I2C_Read... [07:54:40]Read from MH i2c: E2 62 00 DC 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 9B 69 00 00 0E 04 04 00 B1 01 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 6C [07:54:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 9B 69 00 00 0E 04 04 00 B1 01 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 [07:54:40]wFMCommunicate OK [07:54:40]SAM_PROTO_GetFieldsCounters done [07:54:40]requested_item shift.num is exist - process it [07:54:40]requested_item shift.opened is exist - process it [07:54:40]req_shift_opened [07:54:40]FM_GetShiftState [07:54:40]SAM_PROTO_GetShiftState [07:54:40]wFMCommunicate request_size=4 [07:54:40]MH_SAM_APDU [07:54:40]CAPDU: 80 13 01 00 [07:54:40]Write to MH i2c: E2 08 00 DD 0F 80 13 01 00 00 00 00 00 69 [07:54:40]Write i2c OK [07:54:40]MH_I2C_Read... [07:54:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:54:40]Read from MH i2c: E2 [07:54:40]MH_I2C_Read... [07:54:40]Read from MH i2c: E2 0E 00 [07:54:40]MH_I2C_Read... [07:54:40]Read from MH i2c: E2 0E 00 DD 0F 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 91 [07:54:40]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [07:54:40]wFMCommunicate OK [07:54:40]SAM_PROTO_GetShiftState done [07:54:40]FM_GetShiftState done [07:54:40]req_shift_opened done [07:54:40]requested_item shift.open_date is exist - process it [07:54:40]req_shift_open_date [07:54:40]req_shift_open_date done [07:54:40]produce_requested_data done [07:54:40]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27035,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [07:54:40]process_action_free close_receipt [07:54:40]json_value_free [07:54:40]json_value_free done [07:54:40]process_json_proto returns [07:54:40]Send response to host [07:54:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27035,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [07:54:40]free response buf [07:54:40]execute_script done [07:54:40]execute_script returns [07:54:40]free content buf [07:54:40]Sock 7.Close socket [07:54:40]Sock 7.Thread stoped [07:54:43]OFD Sender: No OFD packet to send [07:54:48]OFD Sender: No OFD packet to send [07:54:53]OFD Sender: No OFD packet to send [07:54:58]OFD Sender: No OFD packet to send [07:55:03]OFD Sender: No OFD packet to send [07:55:08]OFD Sender: No OFD packet to send [07:55:13]OFD Sender: No OFD packet to send [07:55:18]OFD Sender: No OFD packet to send [07:55:23]OFD Sender: No OFD packet to send [07:55:28]OFD Sender: No OFD packet to send [07:55:33]OFD Sender: No OFD packet to send [07:55:38]OFD Sender: No OFD packet to send [07:55:43]OFD Sender: No OFD packet to send [07:55:48]OFD Sender: No OFD packet to send [07:55:53]OFD Sender: No OFD packet to send [07:55:58]OFD Sender: No OFD packet to send [07:56:03]OFD Sender: No OFD packet to send [07:56:08]OFD Sender: No OFD packet to send [07:56:13]OFD Sender: No OFD packet to send [07:56:18]OFD Sender: No OFD packet to send [07:56:23]OFD Sender: No OFD packet to send [07:56:28]OFD Sender: No OFD packet to send [07:56:33]OFD Sender: No OFD packet to send [07:56:38]OFD Sender: No OFD packet to send [07:56:43]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:39]OFD Sender: No OFD packet to send [08:09:44]OFD Sender: No OFD packet to send [08:09:49]OFD Sender: No OFD packet to send [08:09:54]OFD Sender: No OFD packet to send [08:09:59]OFD Sender: No OFD packet to send [08:10:04]OFD Sender: No OFD packet to send [08:10:09]OFD Sender: No OFD packet to send [08:10:14]OFD Sender: No OFD packet to send [08:10:19]OFD Sender: No OFD packet to send [08:10:24]OFD Sender: No OFD packet to send [08:10:29]OFD Sender: No OFD packet to send [08:10:34]OFD Sender: No OFD packet to send [08:10:39]OFD Sender: No OFD packet to send [08:10:44]OFD Sender: No OFD packet to send [08:10:49]OFD Sender: No OFD packet to send [08:10:54]OFD Sender: No OFD packet to send [08:10:59]OFD Sender: No OFD packet to send [08:11:04]OFD Sender: No OFD packet to send [08:11:09]OFD Sender: No OFD packet to send [08:11:14]OFD Sender: No OFD packet to send [08:11:19]OFD Sender: No OFD packet to send [08:11:24]OFD Sender: No OFD packet to send [08:11:29]OFD Sender: No OFD packet to send [08:11:34]OFD Sender: No OFD packet to send [08:11:39]OFD Sender: No OFD packet to send [08:11:44]OFD Sender: No OFD packet to send [08:11:49]OFD Sender: No OFD packet to send [08:11:54]OFD Sender: No OFD packet to send [08:11:59]OFD Sender: No OFD packet to send [08:12:04]OFD Sender: No OFD packet to send [08:12:09]OFD Sender: No OFD packet to send [08:12:14]OFD Sender: No OFD packet to send [08:12:19]OFD Sender: No OFD packet to send [08:12:24]OFD Sender: No OFD packet to send [08:12:29]OFD Sender: No OFD packet to send [08:12:34]OFD Sender: No OFD packet to send [08:12:39]OFD Sender: No OFD packet to send [08:12:44]OFD Sender: No OFD packet to send [08:12:49]OFD Sender: No OFD packet to send [08:12:54]OFD Sender: No OFD packet to send [08:12:59]OFD Sender: No OFD packet to send [08:13:04]OFD Sender: No OFD packet to send [08:13:09]OFD Sender: No OFD packet to send [08:13:14]OFD Sender: No OFD packet to send [08:13:19]OFD Sender: No OFD packet to send [08:13:24]OFD Sender: No OFD packet to send [08:13:29]OFD Sender: No OFD packet to send [08:13:34]OFD Sender: No OFD packet to send [08:13:39]OFD Sender: No OFD packet to send [08:13:44]OFD Sender: No OFD packet to send [08:13:49]OFD Sender: No OFD packet to send [08:13:54]OFD Sender: No OFD packet to send [08:13:59]OFD Sender: No OFD packet to send [08:14:04]OFD Sender: No OFD packet to send [08:14:09]OFD Sender: No OFD packet to send [08:14:14]OFD Sender: No OFD packet to send [08:14:19]OFD Sender: No OFD packet to send [08:14:24]OFD Sender: No OFD packet to send [08:14:29]OFD Sender: No OFD packet to send [08:14:34]OFD Sender: No OFD packet to send [08:14:39]OFD Sender: No OFD packet to send [08:14:44]OFD Sender: No OFD packet to send [08:14:49]OFD Sender: No OFD packet to send [08:14:54]OFD Sender: No OFD packet to send [08:14:59]OFD Sender: No OFD packet to send [08:15:04]OFD Sender: No OFD packet to send [08:15:09]OFD Sender: No OFD packet to send [08:15:14]OFD Sender: No OFD packet to send [08:15:19]OFD Sender: No OFD packet to send [08:15:24]OFD Sender: No OFD packet to send [08:15:29]OFD Sender: No OFD packet to send [08:15:34]OFD Sender: No OFD packet to send [08:15:39]OFD Sender: No OFD packet to send [08:15:44]OFD Sender: No OFD packet to send [08:15:49]OFD Sender: No OFD packet to send [08:15:54]OFD Sender: No OFD packet to send [08:15:59]OFD Sender: No OFD packet to send [08:16:04]OFD Sender: No OFD packet to send [08:16:09]OFD Sender: No OFD packet to send [08:16:14]OFD Sender: No OFD packet to send [08:16:19]OFD Sender: No OFD packet to send [08:16:24]OFD Sender: No OFD packet to send [08:16:29]OFD Sender: No OFD packet to send [08:16:34]OFD Sender: No OFD packet to send [08:16:39]OFD Sender: No OFD packet to send [08:16:44]OFD Sender: No OFD packet to send [08:16:49]OFD Sender: No OFD packet to send [08:16:54]OFD Sender: No OFD packet to send [08:16:59]OFD Sender: No OFD packet to send [08:17:04]OFD Sender: No OFD packet to send [08:17:09]OFD Sender: No OFD packet to send [08:17:14]OFD Sender: No OFD packet to send [08:17:19]OFD Sender: No OFD packet to send [08:17:24]OFD Sender: No OFD packet to send [08:17:29]OFD Sender: No OFD packet to send [08:17:34]OFD Sender: No OFD packet to send [08:17:39]OFD Sender: No OFD packet to send [08:17:44]OFD Sender: No OFD packet to send [08:17:49]OFD Sender: No OFD packet to send [08:17:54]OFD Sender: No OFD packet to send [08:17:59]OFD Sender: No OFD packet to send [08:18:05]OFD Sender: No OFD packet to send [08:18:10]OFD Sender: No OFD packet to send [08:18:15]OFD Sender: No OFD packet to send [08:18:20]OFD Sender: No OFD packet to send [08:18:25]OFD Sender: No OFD packet to send [08:18:30]OFD Sender: No OFD packet to send [08:18:35]OFD Sender: No OFD packet to send [08:18:40]OFD Sender: No OFD packet to send [08:18:45]OFD Sender: No OFD packet to send [08:18:50]OFD Sender: No OFD packet to send [08:18:55]OFD Sender: No OFD packet to send [08:19:00]OFD Sender: No OFD packet to send [08:19:05]OFD Sender: No OFD packet to send [08:19:10]OFD Sender: No OFD packet to send [08:19:15]OFD Sender: No OFD packet to send [08:19:20]OFD Sender: No OFD packet to send [08:19:25]OFD Sender: No OFD packet to send [08:19:30]OFD Sender: No OFD packet to send [08:19:35]OFD Sender: No OFD packet to send [08:19:40]OFD Sender: No OFD packet to send [08:19:45]OFD Sender: No OFD packet to send [08:19:50]OFD Sender: No OFD packet to send [08:19:55]OFD Sender: No OFD packet to send [08:20:00]OFD Sender: No OFD packet to send [08:20:05]OFD Sender: No OFD packet to send [08:20:10]OFD Sender: No OFD packet to send [08:20:15]OFD Sender: No OFD packet to send [08:20:20]OFD Sender: No OFD packet to send [08:20:25]OFD Sender: No OFD packet to send [08:20:30]OFD Sender: No OFD packet to send [08:20:35]OFD Sender: No OFD packet to send [08:20:40]OFD Sender: No OFD packet to send [08:20:45]OFD Sender: No OFD packet to send [08:20:50]OFD Sender: No OFD packet to send [08:20:55]OFD Sender: No OFD packet to send [08:21:00]OFD Sender: No OFD packet to send [08:21:05]OFD Sender: No OFD packet to send [08:21:10]OFD Sender: No OFD packet to send [08:21:15]OFD Sender: No OFD packet to send [08:21:20]OFD Sender: No OFD packet to send [08:21:25]OFD Sender: No OFD packet to send [08:21:30]OFD Sender: No OFD packet to send [08:21:35]OFD Sender: No OFD packet to send [08:21:40]OFD Sender: No OFD packet to send [08:21:45]OFD Sender: No OFD packet to send [08:21:50]OFD Sender: No OFD packet to send [08:21:55]OFD Sender: No OFD packet to send [08:22:00]OFD Sender: No OFD packet to send [08:22:05]OFD Sender: No OFD packet to send [08:22:10]OFD Sender: No OFD packet to send [08:22:15]OFD Sender: No OFD packet to send [08:22:20]OFD Sender: No OFD packet to send [08:22:25]OFD Sender: No OFD packet to send [08:22:30]OFD Sender: No OFD packet to send [08:22:35]OFD Sender: No OFD packet to send [08:22:40]OFD Sender: No OFD packet to send [08:22:45]OFD Sender: No OFD packet to send [08:22:50]OFD Sender: No OFD packet to send [08:22:55]OFD Sender: No OFD packet to send [08:23:00]OFD Sender: No OFD packet to send [08:23:05]OFD Sender: No OFD packet to send [08:23:10]OFD Sender: No OFD packet to send [08:23:15]OFD Sender: No OFD packet to send [08:23:20]OFD Sender: No OFD packet to send [08:23:25]OFD Sender: No OFD packet to send [08:23:30]OFD Sender: No OFD packet to send [08:23:35]OFD Sender: No OFD packet to send [08:23:40]OFD Sender: No OFD packet to send [08:23:45]OFD Sender: No OFD packet to send [08:23:50]OFD Sender: No OFD packet to send [08:23:55]OFD Sender: No OFD packet to send [08:24:00]OFD Sender: No OFD packet to send [08:24:05]OFD Sender: No OFD packet to send [08:24:10]OFD Sender: No OFD packet to send [08:24:15]OFD Sender: No OFD packet to send [08:24:20]OFD Sender: No OFD packet to send [08:24:25]OFD Sender: No OFD packet to send [08:24:30]OFD Sender: No OFD packet to send [08:24:35]OFD Sender: No OFD packet to send [08:24:40]OFD Sender: No OFD packet to send [08:24:45]OFD Sender: No OFD packet to send [08:24:50]OFD Sender: No OFD packet to send [08:24:55]OFD Sender: No OFD packet to send [08:25:00]OFD Sender: No OFD packet to send [08:25:05]OFD Sender: No OFD packet to send [08:25:10]OFD Sender: No OFD packet to send [08:25:15]OFD Sender: No OFD packet to send [08:25:20]OFD Sender: No OFD packet to send [08:25:25]OFD Sender: No OFD packet to send [08:25:30]OFD Sender: No OFD packet to send [08:25:35]OFD Sender: No OFD packet to send [08:25:40]OFD Sender: No OFD packet to send [08:25:45]OFD Sender: No OFD packet to send [08:25:50]OFD Sender: No OFD packet to send [08:25:55]OFD Sender: No OFD packet to send [08:26:00]OFD Sender: No OFD packet to send [08:26:05]OFD Sender: No OFD packet to send [08:26:10]OFD Sender: No OFD packet to send [08:26:15]OFD Sender: No OFD packet to send [08:26:20]OFD Sender: No OFD packet to send [08:26:25]OFD Sender: No OFD packet to send [08:26:30]OFD Sender: No OFD packet to send [08:26:35]OFD Sender: No OFD packet to send [08:26:40]OFD Sender: No OFD packet to send [08:26:45]OFD Sender: No OFD packet to send [08:26:50]OFD Sender: No OFD packet to send [08:26:55]OFD Sender: No OFD packet to send [08:27:00]OFD Sender: No OFD packet to send [08:27:05]OFD Sender: No OFD packet to send [08:27:10]OFD Sender: No OFD packet to send [08:27:15]OFD Sender: No OFD packet to send [08:27:20]OFD Sender: No OFD packet to send [08:27:25]OFD Sender: No OFD packet to send [08:27:30]OFD Sender: No OFD packet to send [08:27:35]OFD Sender: No OFD packet to send [08:27:40]OFD Sender: No OFD packet to send [08:27:45]OFD Sender: No OFD packet to send [08:27:50]OFD Sender: No OFD packet to send [08:27:55]OFD Sender: No OFD packet to send [08:28:00]OFD Sender: No OFD packet to send [08:28:05]OFD Sender: No OFD packet to send [08:28:10]OFD Sender: No OFD packet to send [08:28:15]OFD Sender: No OFD packet to send [08:28:20]OFD Sender: No OFD packet to send [08:28:25]OFD Sender: No OFD packet to send [08:28:30]OFD Sender: No OFD packet to send [08:28:35]OFD Sender: No OFD packet to send [08:28:40]OFD Sender: No OFD packet to send [08:28:45]OFD Sender: No OFD packet to send [08:28:50]OFD Sender: No OFD packet to send [08:28:55]OFD Sender: No OFD packet to send [08:29:00]OFD Sender: No OFD packet to send [08:29:05]OFD Sender: No OFD packet to send [08:29:10]OFD Sender: No OFD packet to send [08:29:15]OFD Sender: No OFD packet to send [08:29:20]OFD Sender: No OFD packet to send [08:29:25]OFD Sender: No OFD packet to send [08:29:30]OFD Sender: No OFD packet to send [08:29:35]OFD Sender: No OFD packet to send [08:29:40]OFD Sender: No OFD packet to send [08:29:45]OFD Sender: No OFD packet to send [08:29:50]OFD Sender: No OFD packet to send [08:29:55]OFD Sender: No OFD packet to send [08:30:00]OFD Sender: No OFD packet to send [08:30:05]OFD Sender: No OFD packet to send [08:30:10]OFD Sender: No OFD packet to send [08:30:15]OFD Sender: No OFD packet to send [08:30:20]OFD Sender: No OFD packet to send [08:30:25]OFD Sender: No OFD packet to send [08:30:30]OFD Sender: No OFD packet to send [08:30:35]OFD Sender: No OFD packet to send [08:30:40]OFD Sender: No OFD packet to send [08:30:45]OFD Sender: No OFD packet to send [08:30:50]OFD Sender: No OFD packet to send [08:30:55]OFD Sender: No OFD packet to send [08:31:00]OFD Sender: No OFD packet to send [08:31:05]OFD Sender: No OFD packet to send [08:31:10]OFD Sender: No OFD packet to send [08:31:15]OFD Sender: No OFD packet to send [08:31:20]OFD Sender: No OFD packet to send [08:31:25]OFD Sender: No OFD packet to send [08:31:30]OFD Sender: No OFD packet to send [08:31:35]OFD Sender: No OFD packet to send [08:31:40]OFD Sender: No OFD packet to send [08:31:45]OFD Sender: No OFD packet to send [08:31:50]OFD Sender: No OFD packet to send [08:31:55]OFD Sender: No OFD packet to send [08:32:00]OFD Sender: No OFD packet to send [08:32:05]OFD Sender: No OFD packet to send [08:32:10]OFD Sender: No OFD packet to send [08:32:15]OFD Sender: No OFD packet to send [08:32:20]OFD Sender: No OFD packet to send [08:32:25]OFD Sender: No OFD packet to send [08:32:30]OFD Sender: No OFD packet to send [08:32:35]OFD Sender: No OFD packet to send [08:32:40]OFD Sender: No OFD packet to send [08:32:45]OFD Sender: No OFD packet to send [08:32:50]OFD Sender: No OFD packet to send [08:32:55]OFD Sender: No OFD packet to send [08:33:00]OFD Sender: No OFD packet to send [08:33:05]OFD Sender: No OFD packet to send [08:33:10]OFD Sender: No OFD packet to send [08:33:15]OFD Sender: No OFD packet to send [08:33:20]OFD Sender: No OFD packet to send [08:33:25]OFD Sender: No OFD packet to send [08:33:30]OFD Sender: No OFD packet to send [08:33:35]OFD Sender: No OFD packet to send [08:33:40]OFD Sender: No OFD packet to send [08:33:45]OFD Sender: No OFD packet to send [08:33:50]OFD Sender: No OFD packet to send [08:33:55]OFD Sender: No OFD packet to send [08:34:00]OFD Sender: No OFD packet to send [08:34:05]OFD Sender: No OFD packet to send [08:34:10]OFD Sender: No OFD packet to send [08:34:15]OFD Sender: No OFD packet to send [08:34:20]OFD Sender: No OFD packet to send [08:34:25]OFD Sender: No OFD packet to send [08:34:30]OFD Sender: No OFD packet to send [08:34:35]OFD Sender: No OFD packet to send [08:34:40]OFD Sender: No OFD packet to send [08:34:45]OFD Sender: No OFD packet to send [08:34:50]OFD Sender: No OFD packet to send [08:34:55]OFD Sender: No OFD packet to send [08:35:00]OFD Sender: No OFD packet to send [08:35:05]OFD Sender: No OFD packet to send [08:35:10]OFD Sender: No OFD packet to send [08:35:15]OFD Sender: No OFD packet to send [08:35:20]OFD Sender: No OFD packet to send [08:35:25]OFD Sender: No OFD packet to send [08:35:30]OFD Sender: No OFD packet to send [08:35:35]OFD Sender: No OFD packet to send [08:35:40]OFD Sender: No OFD packet to send [08:35:45]OFD Sender: No OFD packet to send [08:35:50]OFD Sender: No OFD packet to send [08:35:55]OFD Sender: No OFD packet to send [08:36:00]OFD Sender: No OFD packet to send [08:36:05]OFD Sender: No OFD packet to send [08:36:10]OFD Sender: No OFD packet to send [08:36:15]OFD Sender: No OFD packet to send [08:36:20]OFD Sender: No OFD packet to send [08:36:25]OFD Sender: No OFD packet to send [08:36:30]OFD Sender: No OFD packet to send [08:36:35]OFD Sender: No OFD packet to send [08:36:40]OFD Sender: No OFD packet to send [08:36:45]OFD Sender: No OFD packet to send [08:36:50]OFD Sender: No OFD packet to send [08:36:55]OFD Sender: No OFD packet to send [08:37:00]OFD Sender: No OFD packet to send [08:37:05]OFD Sender: No OFD packet to send [08:37:10]OFD Sender: No OFD packet to send [08:37:15]OFD Sender: No OFD packet to send [08:37:20]OFD Sender: No OFD packet to send [08:37:25]OFD Sender: No OFD packet to send [08:37:30]OFD Sender: No OFD packet to send [08:37:35]OFD Sender: No OFD packet to send [08:37:40]OFD Sender: No OFD packet to send [08:37:45]OFD Sender: No OFD packet to send [08:37:50]OFD Sender: No OFD packet to send [08:37:55]OFD Sender: No OFD packet to send [08:38:00]OFD Sender: No OFD packet to send [08:38:05]OFD Sender: No OFD packet to send [08:38:10]OFD Sender: No OFD packet to send [08:38:15]OFD Sender: No OFD packet to send [08:38:20]OFD Sender: No OFD packet to send [08:38:25]OFD Sender: No OFD packet to send [08:38:30]OFD Sender: No OFD packet to send [08:38:35]OFD Sender: No OFD packet to send [08:38:40]OFD Sender: No OFD packet to send [08:38:45]OFD Sender: No OFD packet to send [08:38:50]OFD Sender: No OFD packet to send [08:38:55]OFD Sender: No OFD packet to send [08:39:00]OFD Sender: No OFD packet to send [08:39:05]OFD Sender: No OFD packet to send [08:39:10]OFD Sender: No OFD packet to send [08:39:15]OFD Sender: No OFD packet to send [08:39:20]OFD Sender: No OFD packet to send [08:39:25]OFD Sender: No OFD packet to send [08:39:30]OFD Sender: No OFD packet to send [08:39:36]OFD Sender: No OFD packet to send [08:39:41]OFD Sender: No OFD packet to send [08:39:46]OFD Sender: No OFD packet to send [08:39:51]OFD Sender: No OFD packet to send [08:39:56]OFD Sender: No OFD packet to send [08:40:01]OFD Sender: No OFD packet to send [08:40:06]OFD Sender: No OFD packet to send [08:40:11]OFD Sender: No OFD packet to send [08:40:16]OFD Sender: No OFD packet to send [08:40:21]OFD Sender: No OFD packet to send [08:40:26]OFD Sender: No OFD packet to send [08:40:31]OFD Sender: No OFD packet to send [08:40:36]OFD Sender: No OFD packet to send [08:40:41]OFD Sender: No OFD packet to send [08:40:46]OFD Sender: No OFD packet to send [08:40:51]OFD Sender: No OFD packet to send [08:40:56]OFD Sender: No OFD packet to send [08:41:01]OFD Sender: No OFD packet to send [08:41:06]OFD Sender: No OFD packet to send [08:41:11]OFD Sender: No OFD packet to send [08:41:16]OFD Sender: No OFD packet to send [08:41:21]OFD Sender: No OFD packet to send [08:41:26]OFD Sender: No OFD packet to send [08:41:31]OFD Sender: No OFD packet to send [08:41:36]OFD Sender: No OFD packet to send [08:41:41]OFD Sender: No OFD packet to send [08:41:46]OFD Sender: No OFD packet to send [08:41:51]OFD Sender: No OFD packet to send [08:41:56]OFD Sender: No OFD packet to send [08:42:01]OFD Sender: No OFD packet to send [08:42:06]OFD Sender: No OFD packet to send [08:42:11]OFD Sender: No OFD packet to send [08:42:16]OFD Sender: No OFD packet to send [08:42:21]OFD Sender: No OFD packet to send [08:42:26]OFD Sender: No OFD packet to send [08:42:31]OFD Sender: No OFD packet to send [08:42:36]OFD Sender: No OFD packet to send [08:42:41]OFD Sender: No OFD packet to send [08:42:46]OFD Sender: No OFD packet to send [08:42:51]OFD Sender: No OFD packet to send [08:42:56]OFD Sender: No OFD packet to send [08:43:01]OFD Sender: No OFD packet to send [08:43:06]OFD Sender: No OFD packet to send [08:43:11]OFD Sender: No OFD packet to send [08:43:16]OFD Sender: No OFD packet to send [08:43:21]OFD Sender: No OFD packet to send [08:43:26]OFD Sender: No OFD packet to send [08:43:31]OFD Sender: No OFD packet to send [08:43:36]OFD Sender: No OFD packet to send [08:43:41]OFD Sender: No OFD packet to send [08:43:46]OFD Sender: No OFD packet to send [08:43:51]OFD Sender: No OFD packet to send [08:43:56]OFD Sender: No OFD packet to send [08:44:01]OFD Sender: No OFD packet to send [08:44:06]OFD Sender: No OFD packet to send [08:44:11]OFD Sender: No OFD packet to send [08:44:16]OFD Sender: No OFD packet to send [08:44:21]OFD Sender: No OFD packet to send [08:44:26]OFD Sender: No OFD packet to send [08:44:31]OFD Sender: No OFD packet to send [08:44:36]OFD Sender: No OFD packet to send [08:44:41]OFD Sender: No OFD packet to send [08:44:46]OFD Sender: No OFD packet to send [08:44:51]OFD Sender: No OFD packet to send [08:44:56]OFD Sender: No OFD packet to send [08:45:01]OFD Sender: No OFD packet to send [08:45:06]OFD Sender: No OFD packet to send [08:45:11]OFD Sender: No OFD packet to send [08:45:16]OFD Sender: No OFD packet to send [08:45:21]OFD Sender: No OFD packet to send [08:45:26]OFD Sender: No OFD packet to send [08:45:31]OFD Sender: No OFD packet to send [08:45:36]OFD Sender: No OFD packet to send [08:45:41]OFD Sender: No OFD packet to send [08:45:46]OFD Sender: No OFD packet to send [08:45:51]OFD Sender: No OFD packet to send [08:45:56]OFD Sender: No OFD packet to send [08:46:01]OFD Sender: No OFD packet to send [08:46:06]OFD Sender: No OFD packet to send [08:46:11]OFD Sender: No OFD packet to send [08:46:16]OFD Sender: No OFD packet to send [08:46:21]OFD Sender: No OFD packet to send [08:46:26]OFD Sender: No OFD packet to send [08:46:31]OFD Sender: No OFD packet to send [08:46:36]OFD Sender: No OFD packet to send [08:46:41]OFD Sender: No OFD packet to send [08:46:46]OFD Sender: No OFD packet to send [08:46:51]OFD Sender: No OFD packet to send [08:46:56]OFD Sender: No OFD packet to send [08:47:01]OFD Sender: No OFD packet to send [08:47:06]OFD Sender: No OFD packet to send [08:47:11]OFD Sender: No OFD packet to send [08:47:16]OFD Sender: No OFD packet to send [08:47:21]OFD Sender: No OFD packet to send [08:47:26]OFD Sender: No OFD packet to send [08:47:31]OFD Sender: No OFD packet to send [08:47:36]OFD Sender: No OFD packet to send [08:47:41]OFD Sender: No OFD packet to send [08:47:46]OFD Sender: No OFD packet to send [08:47:51]OFD Sender: No OFD packet to send [08:47:56]OFD Sender: No OFD packet to send [08:48:01]OFD Sender: No OFD packet to send [08:48:06]OFD Sender: No OFD packet to send [08:48:11]OFD Sender: No OFD packet to send [08:48:16]OFD Sender: No OFD packet to send [08:48:21]OFD Sender: No OFD packet to send [08:48:26]OFD Sender: No OFD packet to send [08:48:31]OFD Sender: No OFD packet to send [08:48:36]OFD Sender: No OFD packet to send [08:48:41]OFD Sender: No OFD packet to send [08:48:46]OFD Sender: No OFD packet to send [08:48:51]OFD Sender: No OFD packet to send [08:48:56]OFD Sender: No OFD packet to send [08:49:01]OFD Sender: No OFD packet to send [08:49:06]OFD Sender: No OFD packet to send [08:49:11]OFD Sender: No OFD packet to send [08:49:16]OFD Sender: No OFD packet to send [08:49:21]OFD Sender: No OFD packet to send [08:49:26]OFD Sender: No OFD packet to send [08:49:31]OFD Sender: No OFD packet to send [08:49:36]OFD Sender: No OFD packet to send [08:49:41]OFD Sender: No OFD packet to send [08:49:46]OFD Sender: No OFD packet to send [08:49:51]OFD Sender: No OFD packet to send [08:49:56]OFD Sender: No OFD packet to send [08:50:01]OFD Sender: No OFD packet to send [08:50:06]OFD Sender: No OFD packet to send [08:50:11]OFD Sender: No OFD packet to send [08:50:16]OFD Sender: No OFD packet to send [08:50:21]OFD Sender: No OFD packet to send [08:50:26]OFD Sender: No OFD packet to send [08:50:31]OFD Sender: No OFD packet to send [08:50:36]OFD Sender: No OFD packet to send [08:50:41]OFD Sender: No OFD packet to send [08:50:46]OFD Sender: No OFD packet to send [08:50:51]OFD Sender: No OFD packet to send [08:50:56]OFD Sender: No OFD packet to send [08:51:01]OFD Sender: No OFD packet to send [08:51:06]OFD Sender: No OFD packet to send [08:51:11]OFD Sender: No OFD packet to send [08:51:16]OFD Sender: No OFD packet to send [08:51:21]OFD Sender: No OFD packet to send [08:51:26]OFD Sender: No OFD packet to send [08:51:31]OFD Sender: No OFD packet to send [08:51:36]OFD Sender: No OFD packet to send [08:51:41]OFD Sender: No OFD packet to send [08:51:46]OFD Sender: No OFD packet to send [08:51:51]OFD Sender: No OFD packet to send [08:51:56]OFD Sender: No OFD packet to send [08:52:01]OFD Sender: No OFD packet to send [08:52:06]OFD Sender: No OFD packet to send [08:52:11]OFD Sender: No OFD packet to send [08:52:16]OFD Sender: No OFD packet to send [08:52:21]OFD Sender: No OFD packet to send [08:52:26]OFD Sender: No OFD packet to send [08:52:31]OFD Sender: No OFD packet to send [08:52:36]OFD Sender: No OFD packet to send [08:52:41]OFD Sender: No OFD packet to send [08:52:46]OFD Sender: No OFD packet to send [08:52:51]OFD Sender: No OFD packet to send [08:52:56]OFD Sender: No OFD packet to send [08:53:01]OFD Sender: No OFD packet to send [08:53:06]OFD Sender: No OFD packet to send [08:53:11]OFD Sender: No OFD packet to send [08:53:16]OFD Sender: No OFD packet to send [08:53:21]OFD Sender: No OFD packet to send [08:53:26]OFD Sender: No OFD packet to send [08:53:31]OFD Sender: No OFD packet to send [08:53:36]OFD Sender: No OFD packet to send [08:53:41]OFD Sender: No OFD packet to send [08:53:46]OFD Sender: No OFD packet to send [08:53:51]OFD Sender: No OFD packet to send [08:53:56]OFD Sender: No OFD packet to send [08:54:01]OFD Sender: No OFD packet to send [08:54:06]OFD Sender: No OFD packet to send [08:54:11]OFD Sender: No OFD packet to send [08:54:16]OFD Sender: No OFD packet to send [08:54:21]OFD Sender: No OFD packet to send [08:54:26]OFD Sender: No OFD packet to send [08:54:31]OFD Sender: No OFD packet to send [08:54:36]OFD Sender: No OFD packet to send [08:54:41]OFD Sender: No OFD packet to send [08:54:46]OFD Sender: No OFD packet to send [08:54:51]OFD Sender: No OFD packet to send [08:54:56]OFD Sender: No OFD packet to send [08:55:01]OFD Sender: No OFD packet to send [08:55:06]OFD Sender: No OFD packet to send [08:55:11]OFD Sender: No OFD packet to send [08:55:16]OFD Sender: No OFD packet to send [08:55:21]OFD Sender: No OFD packet to send [08:55:26]OFD Sender: No OFD packet to send [08:55:31]OFD Sender: No OFD packet to send [08:55:36]OFD Sender: No OFD packet to send [08:55:41]OFD Sender: No OFD packet to send [08:55:46]OFD Sender: No OFD packet to send [08:55:51]OFD Sender: No OFD packet to send [08:55:56]OFD Sender: No OFD packet to send [08:56:01]OFD Sender: No OFD packet to send [08:56:06]OFD Sender: No OFD packet to send [08:56:11]OFD Sender: No OFD packet to send [08:56:16]OFD Sender: No OFD packet to send [08:56:21]OFD Sender: No OFD packet to send [08:56:26]OFD Sender: No OFD packet to send [08:56:31]OFD Sender: No OFD packet to send [08:56:36]OFD Sender: No OFD packet to send [08:56:41]OFD Sender: No OFD packet to send [08:56:46]OFD Sender: No OFD packet to send [08:56:51]OFD Sender: No OFD packet to send [08:56:56]OFD Sender: No OFD packet to send [08:57:01]OFD Sender: No OFD packet to send [08:57:06]OFD Sender: No OFD packet to send [08:57:11]OFD Sender: No OFD packet to send [08:57:16]OFD Sender: No OFD packet to send [08:57:21]OFD Sender: No OFD packet to send [08:57:26]OFD Sender: No OFD packet to send [08:57:31]OFD Sender: No OFD packet to send [08:57:36]OFD Sender: No OFD packet to send [08:57:41]OFD Sender: No OFD packet to send [08:57:46]OFD Sender: No OFD packet to send [08:57:51]OFD Sender: No OFD packet to send [08:57:56]OFD Sender: No OFD packet to send [08:58:01]OFD Sender: No OFD packet to send [08:58:06]OFD Sender: No OFD packet to send [08:58:11]OFD Sender: No OFD packet to send [08:58:16]OFD Sender: No OFD packet to send [08:58:21]OFD Sender: No OFD packet to send [08:58:26]OFD Sender: No OFD packet to send [08:58:31]OFD Sender: No OFD packet to send [08:58:36]OFD Sender: No OFD packet to send [08:58:41]OFD Sender: No OFD packet to send [08:58:46]OFD Sender: No OFD packet to send [08:58:51]OFD Sender: No OFD packet to send [08:58:56]OFD Sender: No OFD packet to send [08:59:01]OFD Sender: No OFD packet to send [08:59:06]OFD Sender: No OFD packet to send [08:59:11]OFD Sender: No OFD packet to send [08:59:16]OFD Sender: No OFD packet to send [08:59:21]OFD Sender: No OFD packet to send [08:59:26]OFD Sender: No OFD packet to send [08:59:31]OFD Sender: No OFD packet to send [08:59:36]OFD Sender: No OFD packet to send [08:59:41]OFD Sender: No OFD packet to send [08:59:46]OFD Sender: No OFD packet to send [08:59:51]OFD Sender: No OFD packet to send [08:59:56]OFD Sender: No OFD packet to send [09:00:01]OFD Sender: No OFD packet to send [09:00:06]OFD Sender: No OFD packet to send [09:00:11]OFD Sender: No OFD packet to send [09:00:16]OFD Sender: No OFD packet to send [09:00:21]OFD Sender: No OFD packet to send [09:00:26]OFD Sender: No OFD packet to send [09:00:31]OFD Sender: No OFD packet to send [09:00:36]OFD Sender: No OFD packet to send [09:00:41]OFD Sender: No OFD packet to send [09:00:46]OFD Sender: No OFD packet to send [09:00:52]OFD Sender: No OFD packet to send [09:00:57]OFD Sender: No OFD packet to send [09:01:02]OFD Sender: No OFD packet to send [09:01:07]OFD Sender: No OFD packet to send [09:01:12]OFD Sender: No OFD packet to send [09:01:17]OFD Sender: No OFD packet to send [09:01:22]OFD Sender: No OFD packet to send [09:01:27]OFD Sender: No OFD packet to send [09:01:32]OFD Sender: No OFD packet to send [09:01:37]OFD Sender: No OFD packet to send [09:01:42]OFD Sender: No OFD packet to send [09:01:47]OFD Sender: No OFD packet to send [09:01:52]OFD Sender: No OFD packet to send [09:01:57]OFD Sender: No OFD packet to send [09:02:02]OFD Sender: No OFD packet to send [09:02:07]OFD Sender: No OFD packet to send [09:02:12]OFD Sender: No OFD packet to send [09:02:17]OFD Sender: No OFD packet to send [09:02:22]OFD Sender: No OFD packet to send [09:02:27]OFD Sender: No OFD packet to send [09:02:32]OFD Sender: No OFD packet to send [09:02:37]OFD Sender: No OFD packet to send [09:02:42]OFD Sender: No OFD packet to send [09:02:47]OFD Sender: No OFD packet to send [09:02:52]OFD Sender: No OFD packet to send [09:02:57]OFD Sender: No OFD packet to send [09:03:02]OFD Sender: No OFD packet to send [09:03:07]OFD Sender: No OFD packet to send [09:03:12]OFD Sender: No OFD packet to send [09:03:17]OFD Sender: No OFD packet to send [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:52]OFD Sender: No OFD packet to send [09:05:57]OFD Sender: No OFD packet to send [09:06:02]OFD Sender: No OFD packet to send [09:06:07]OFD Sender: No OFD packet to send [09:06:12]OFD Sender: No OFD packet to send [09:06:17]OFD Sender: No OFD packet to send [09:06:22]OFD Sender: No OFD packet to send [09:06:27]OFD Sender: No OFD packet to send [09:06:32]OFD Sender: No OFD packet to send [09:06:37]OFD Sender: No OFD packet to send [09:06:42]OFD Sender: No OFD packet to send [09:06:47]OFD Sender: No OFD packet to send [09:06:52]OFD Sender: No OFD packet to send [09:06:57]OFD Sender: No OFD packet to send [09:07:02]OFD Sender: No OFD packet to send [09:07:07]OFD Sender: No OFD packet to send [09:07:12]OFD Sender: No OFD packet to send [09:07:17]OFD Sender: No OFD packet to send [09:07:22]OFD Sender: No OFD packet to send [09:07:27]OFD Sender: No OFD packet to send [09:07:32]OFD Sender: No OFD packet to send [09:07:37]OFD Sender: No OFD packet to send [09:07:42]OFD Sender: No OFD packet to send [09:07:47]OFD Sender: No OFD packet to send [09:07:52]OFD Sender: No OFD packet to send [09:07:57]OFD Sender: No OFD packet to send [09:08:02]OFD Sender: No OFD packet to send [09:08:07]OFD Sender: No OFD packet to send [09:08:12]OFD Sender: No OFD packet to send [09:08:17]OFD Sender: No OFD packet to send [09:08:22]OFD Sender: No OFD packet to send [09:08:27]OFD Sender: No OFD packet to send [09:08:32]OFD Sender: No OFD packet to send [09:08:37]OFD Sender: No OFD packet to send [09:08:42]OFD Sender: No OFD packet to send [09:08:47]OFD Sender: No OFD packet to send [09:08:52]OFD Sender: No OFD packet to send [09:08:57]OFD Sender: No OFD packet to send [09:09:02]OFD Sender: No OFD packet to send [09:09:07]OFD Sender: No OFD packet to send [09:09:12]OFD Sender: No OFD packet to send [09:09:17]OFD Sender: No OFD packet to send [09:09:22]OFD Sender: No OFD packet to send [09:09:27]OFD Sender: No OFD packet to send [09:09:32]OFD Sender: No OFD packet to send [09:09:37]OFD Sender: No OFD packet to send [09:09:42]OFD Sender: No OFD packet to send [09:09:47]OFD Sender: No OFD packet to send [09:09:52]OFD Sender: No OFD packet to send [09:09:57]OFD Sender: No OFD packet to send [09:10:02]OFD Sender: No OFD packet to send [09:10:07]OFD Sender: No OFD packet to send [09:10:12]OFD Sender: No OFD packet to send [09:10:17]OFD Sender: No OFD packet to send [09:10:22]OFD Sender: No OFD packet to send [09:10:27]OFD Sender: No OFD packet to send [09:10:32]OFD Sender: No OFD packet to send [09:10:37]OFD Sender: No OFD packet to send [09:10:42]OFD Sender: No OFD packet to send [09:10:47]OFD Sender: No OFD packet to send [09:10:52]OFD Sender: No OFD packet to send [09:10:57]OFD Sender: No OFD packet to send [09:11:02]OFD Sender: No OFD packet to send [09:11:07]OFD Sender: No OFD packet to send [09:11:12]OFD Sender: No OFD packet to send [09:11:17]OFD Sender: No OFD packet to send [09:11:22]OFD Sender: No OFD packet to send [09:11:27]OFD Sender: No OFD packet to send [09:11:32]OFD Sender: No OFD packet to send [09:11:37]OFD Sender: No OFD packet to send [09:11:42]OFD Sender: No OFD packet to send [09:11:47]OFD Sender: No OFD packet to send [09:11:52]OFD Sender: No OFD packet to send [09:11:57]OFD Sender: No OFD packet to send [09:12:02]OFD Sender: No OFD packet to send [09:12:07]OFD Sender: No OFD packet to send [09:12:12]OFD Sender: No OFD packet to send [09:12:17]OFD Sender: No OFD packet to send [09:12:22]OFD Sender: No OFD packet to send [09:12:27]OFD Sender: No OFD packet to send [09:12:32]OFD Sender: No OFD packet to send [09:12:37]OFD Sender: No OFD packet to send [09:12:42]OFD Sender: No OFD packet to send [09:12:47]OFD Sender: No OFD packet to send [09:12:52]OFD Sender: No OFD packet to send [09:12:57]OFD Sender: No OFD packet to send [09:13:02]OFD Sender: No OFD packet to send [09:13:07]OFD Sender: No OFD packet to send [09:13:12]OFD Sender: No OFD packet to send [09:13:17]OFD Sender: No OFD packet to send [09:13:22]OFD Sender: No OFD packet to send [09:13:27]OFD Sender: No OFD packet to send [09:13:32]OFD Sender: No OFD packet to send [09:13:37]OFD Sender: No OFD packet to send [09:13:42]OFD Sender: No OFD packet to send [09:13:47]OFD Sender: No OFD packet to send [09:13:52]OFD Sender: No OFD packet to send [09:13:57]OFD Sender: No OFD packet to send [09:14:02]OFD Sender: No OFD packet to send [09:14:07]OFD Sender: No OFD packet to send [09:14:12]OFD Sender: No OFD packet to send [09:14:17]OFD Sender: No OFD packet to send [09:14:22]OFD Sender: No OFD packet to send [09:14:27]OFD Sender: No OFD packet to send [09:14:32]OFD Sender: No OFD packet to send [09:14:37]OFD Sender: No OFD packet to send [09:14:42]OFD Sender: No OFD packet to send [09:14:47]OFD Sender: No OFD packet to send [09:14:52]OFD Sender: No OFD packet to send [09:14:57]OFD Sender: No OFD packet to send [09:15:02]OFD Sender: No OFD packet to send [09:15:07]OFD Sender: No OFD packet to send [09:15:12]OFD Sender: No OFD packet to send [09:15:17]OFD Sender: No OFD packet to send [09:15:22]OFD Sender: No OFD packet to send [09:15:27]OFD Sender: No OFD packet to send [09:15:32]OFD Sender: No OFD packet to send [09:15:37]OFD Sender: No OFD packet to send [09:15:42]OFD Sender: No OFD packet to send [09:15:47]OFD Sender: No OFD packet to send [09:15:52]OFD Sender: No OFD packet to send [09:15:57]OFD Sender: No OFD packet to send [09:16:02]OFD Sender: No OFD packet to send [09:16:07]OFD Sender: No OFD packet to send [09:16:12]OFD Sender: No OFD packet to send [09:16:17]OFD Sender: No OFD packet to send [09:16:22]OFD Sender: No OFD packet to send [09:16:27]OFD Sender: No OFD packet to send [09:16:32]OFD Sender: No OFD packet to send [09:16:37]OFD Sender: No OFD packet to send [09:16:42]OFD Sender: No OFD packet to send [09:16:47]OFD Sender: No OFD packet to send [09:16:52]OFD Sender: No OFD packet to send [09:16:57]OFD Sender: No OFD packet to send [09:17:02]OFD Sender: No OFD packet to send [09:17:07]OFD Sender: No OFD packet to send [09:17:12]OFD Sender: No OFD packet to send [09:17:17]OFD Sender: No OFD packet to send [09:17:22]OFD Sender: No OFD packet to send [09:17:27]OFD Sender: No OFD packet to send [09:17:32]OFD Sender: No OFD packet to send [09:17:37]OFD Sender: No OFD packet to send [09:17:42]OFD Sender: No OFD packet to send [09:17:47]OFD Sender: No OFD packet to send [09:17:52]OFD Sender: No OFD packet to send [09:17:57]OFD Sender: No OFD packet to send [09:18:02]OFD Sender: No OFD packet to send [09:18:07]OFD Sender: No OFD packet to send [09:18:12]OFD Sender: No OFD packet to send [09:18:17]OFD Sender: No OFD packet to send [09:18:22]OFD Sender: No OFD packet to send [09:18:27]OFD Sender: No OFD packet to send [09:18:32]OFD Sender: No OFD packet to send [09:18:37]OFD Sender: No OFD packet to send [09:18:42]OFD Sender: No OFD packet to send [09:18:47]OFD Sender: No OFD packet to send [09:18:52]OFD Sender: No OFD packet to send [09:18:57]OFD Sender: No OFD packet to send [09:19:02]OFD Sender: No OFD packet to send [09:19:07]OFD Sender: No OFD packet to send [09:19:12]OFD Sender: No OFD packet to send [09:19:17]OFD Sender: No OFD packet to send [09:19:22]OFD Sender: No OFD packet to send [09:19:27]OFD Sender: No OFD packet to send [09:19:32]OFD Sender: No OFD packet to send [09:19:37]OFD Sender: No OFD packet to send [09:19:42]OFD Sender: No OFD packet to send [09:19:47]OFD Sender: No OFD packet to send [09:19:52]OFD Sender: No OFD packet to send [09:19:57]OFD Sender: No OFD packet to send [09:20:02]OFD Sender: No OFD packet to send [09:20:07]OFD Sender: No OFD packet to send [09:20:12]OFD Sender: No OFD packet to send [09:20:17]OFD Sender: No OFD packet to send [09:20:22]OFD Sender: No OFD packet to send [09:20:27]OFD Sender: No OFD packet to send [09:20:32]OFD Sender: No OFD packet to send [09:20:37]OFD Sender: No OFD packet to send [09:20:42]OFD Sender: No OFD packet to send [09:20:47]OFD Sender: No OFD packet to send [09:20:52]OFD Sender: No OFD packet to send [09:20:57]OFD Sender: No OFD packet to send [09:21:02]OFD Sender: No OFD packet to send [09:21:07]OFD Sender: No OFD packet to send [09:21:12]OFD Sender: No OFD packet to send [09:21:17]OFD Sender: No OFD packet to send [09:21:22]OFD Sender: No OFD packet to send [09:21:27]OFD Sender: No OFD packet to send [09:21:32]OFD Sender: No OFD packet to send [09:21:37]OFD Sender: No OFD packet to send [09:21:42]OFD Sender: No OFD packet to send [09:21:47]OFD Sender: No OFD packet to send [09:21:52]OFD Sender: No OFD packet to send [09:21:58]OFD Sender: No OFD packet to send [09:22:03]OFD Sender: No OFD packet to send [09:22:08]OFD Sender: No OFD packet to send [09:22:13]OFD Sender: No OFD packet to send [09:22:18]OFD Sender: No OFD packet to send [09:22:23]OFD Sender: No OFD packet to send [09:22:28]OFD Sender: No OFD packet to send [09:22:33]OFD Sender: No OFD packet to send [09:22:38]OFD Sender: No OFD packet to send [09:22:43]OFD Sender: No OFD packet to send [09:22:48]OFD Sender: No OFD packet to send [09:22:53]OFD Sender: No OFD packet to send [09:22:58]OFD Sender: No OFD packet to send [09:23:03]OFD Sender: No OFD packet to send [09:23:08]OFD Sender: No OFD packet to send [09:23:13]OFD Sender: No OFD packet to send [09:23:18]OFD Sender: No OFD packet to send [09:23:23]OFD Sender: No OFD packet to send [09:23:28]OFD Sender: No OFD packet to send [09:23:33]OFD Sender: No OFD packet to send [09:23:38]OFD Sender: No OFD packet to send [09:23:43]OFD Sender: No OFD packet to send [09:23:48]OFD Sender: No OFD packet to send [09:23:53]OFD Sender: No OFD packet to send [09:23:58]OFD Sender: No OFD packet to send [09:24:03]OFD Sender: No OFD packet to send [09:24:08]OFD Sender: No OFD packet to send [09:24:13]OFD Sender: No OFD packet to send [09:24:18]OFD Sender: No OFD packet to send [09:24:23]OFD Sender: No OFD packet to send [09:24:28]OFD Sender: No OFD packet to send [09:24:33]OFD Sender: No OFD packet to send [09:24:38]OFD Sender: No OFD packet to send [09:24:43]OFD Sender: No OFD packet to send [09:24:48]OFD Sender: No OFD packet to send [09:24:53]OFD Sender: No OFD packet to send [09:24:58]OFD Sender: No OFD packet to send [09:25:03]OFD Sender: No OFD packet to send [09:25:08]OFD Sender: No OFD packet to send [09:25:13]OFD Sender: No OFD packet to send [09:25:18]OFD Sender: No OFD packet to send [09:25:23]OFD Sender: No OFD packet to send [09:25:28]OFD Sender: No OFD packet to send [09:25:33]OFD Sender: No OFD packet to send [09:25:38]OFD Sender: No OFD packet to send [09:25:43]OFD Sender: No OFD packet to send [09:25:48]OFD Sender: No OFD packet to send [09:25:53]OFD Sender: No OFD packet to send [09:25:58]OFD Sender: No OFD packet to send [09:26:03]OFD Sender: No OFD packet to send [09:26:08]OFD Sender: No OFD packet to send [09:26:13]OFD Sender: No OFD packet to send [09:26:18]OFD Sender: No OFD packet to send [09:26:23]OFD Sender: No OFD packet to send [09:26:28]OFD Sender: No OFD packet to send [09:26:33]OFD Sender: No OFD packet to send [09:26:38]OFD Sender: No OFD packet to send [09:26:43]OFD Sender: No OFD packet to send [09:26:48]OFD Sender: No OFD packet to send [09:26:53]OFD Sender: No OFD packet to send [09:26:58]OFD Sender: No OFD packet to send [09:27:03]OFD Sender: No OFD packet to send [09:27:08]OFD Sender: No OFD packet to send [09:27:13]OFD Sender: No OFD packet to send [09:27:18]OFD Sender: No OFD packet to send [09:27:23]OFD Sender: No OFD packet to send [09:27:28]OFD Sender: No OFD packet to send [09:27:33]OFD Sender: No OFD packet to send [09:27:38]OFD Sender: No OFD packet to send [09:27:43]OFD Sender: No OFD packet to send [09:27:48]OFD Sender: No OFD packet to send [09:27:53]OFD Sender: No OFD packet to send [09:27:58]OFD Sender: No OFD packet to send [09:28:03]OFD Sender: No OFD packet to send [09:28:08]OFD Sender: No OFD packet to send [09:28:13]OFD Sender: No OFD packet to send [09:28:18]OFD Sender: No OFD packet to send [09:28:23]OFD Sender: No OFD packet to send [09:28:28]OFD Sender: No OFD packet to send [09:28:33]OFD Sender: No OFD packet to send [09:28:38]OFD Sender: No OFD packet to send [09:28:43]OFD Sender: No OFD packet to send [09:28:48]OFD Sender: No OFD packet to send [09:28:53]OFD Sender: No OFD packet to send [09:28:58]OFD Sender: No OFD packet to send [09:29:03]OFD Sender: No OFD packet to send [09:29:08]OFD Sender: No OFD packet to send [09:29:13]OFD Sender: No OFD packet to send [09:29:18]OFD Sender: No OFD packet to send [09:29:23]OFD Sender: No OFD packet to send [09:29:28]OFD Sender: No OFD packet to send [09:29:33]OFD Sender: No OFD packet to send [09:29:38]OFD Sender: No OFD packet to send [09:29:43]OFD Sender: No OFD packet to send [09:29:48]OFD Sender: No OFD packet to send [09:29:53]OFD Sender: No OFD packet to send [09:29:58]OFD Sender: No OFD packet to send [09:30:03]OFD Sender: No OFD packet to send [09:30:08]OFD Sender: No OFD packet to send [09:30:13]OFD Sender: No OFD packet to send [09:30:18]OFD Sender: No OFD packet to send [09:30:23]OFD Sender: No OFD packet to send [09:30:28]OFD Sender: No OFD packet to send [09:30:33]OFD Sender: No OFD packet to send [09:30:38]OFD Sender: No OFD packet to send [09:30:43]OFD Sender: No OFD packet to send [09:30:48]OFD Sender: No OFD packet to send [09:30:53]OFD Sender: No OFD packet to send [09:30:58]OFD Sender: No OFD packet to send [09:31:03]OFD Sender: No OFD packet to send [09:31:08]OFD Sender: No OFD packet to send [09:31:13]OFD Sender: No OFD packet to send [09:31:18]OFD Sender: No OFD packet to send [09:31:23]OFD Sender: No OFD packet to send [09:31:28]OFD Sender: No OFD packet to send [09:31:33]OFD Sender: No OFD packet to send [09:31:38]OFD Sender: No OFD packet to send [09:31:43]OFD Sender: No OFD packet to send [09:31:48]OFD Sender: No OFD packet to send [09:31:53]OFD Sender: No OFD packet to send [09:31:58]OFD Sender: No OFD packet to send [09:32:03]OFD Sender: No OFD packet to send [09:32:08]OFD Sender: No OFD packet to send [09:32:13]OFD Sender: No OFD packet to send [09:32:18]OFD Sender: No OFD packet to send [09:32:23]OFD Sender: No OFD packet to send [09:32:28]OFD Sender: No OFD packet to send [09:32:33]OFD Sender: No OFD packet to send [09:32:38]OFD Sender: No OFD packet to send [09:32:43]OFD Sender: No OFD packet to send [09:32:48]OFD Sender: No OFD packet to send [09:32:53]OFD Sender: No OFD packet to send [09:32:58]OFD Sender: No OFD packet to send [09:33:03]OFD Sender: No OFD packet to send [09:33:08]OFD Sender: No OFD packet to send [09:33:13]OFD Sender: No OFD packet to send [09:33:18]OFD Sender: No OFD packet to send [09:33:23]OFD Sender: No OFD packet to send [09:33:28]OFD Sender: No OFD packet to send [09:33:33]OFD Sender: No OFD packet to send [09:33:38]OFD Sender: No OFD packet to send [09:33:43]OFD Sender: No OFD packet to send [09:33:48]OFD Sender: No OFD packet to send [09:33:53]OFD Sender: No OFD packet to send [09:33:58]OFD Sender: No OFD packet to send [09:34:03]OFD Sender: No OFD packet to send [09:34:08]OFD Sender: No OFD packet to send [09:34:13]OFD Sender: No OFD packet to send [09:34:18]OFD Sender: No OFD packet to send [09:34:23]OFD Sender: No OFD packet to send [09:34:28]OFD Sender: No OFD packet to send [09:34:33]OFD Sender: No OFD packet to send [09:34:38]OFD Sender: No OFD packet to send [09:34:43]OFD Sender: No OFD packet to send [09:34:48]OFD Sender: No OFD packet to send [09:34:53]OFD Sender: No OFD packet to send [09:34:58]OFD Sender: No OFD packet to send [09:35:03]OFD Sender: No OFD packet to send [09:35:08]OFD Sender: No OFD packet to send [09:35:13]OFD Sender: No OFD packet to send [09:35:18]OFD Sender: No OFD packet to send [09:35:23]OFD Sender: No OFD packet to send [09:35:25]accept exits with 9 [09:35:25]New connection [09:35:25]New thread 3067530596 created [09:35:25]Thread 3067387236 joined [09:35:25]Waiting for new connection... [09:35:25] Sock 9.Parse request [09:35:25]Sock 9.Check first char [09:35:25]Sock 9.First char is OK [09:35:25]request: POST /json_proto HTTP/1.0 [09:35:25]Method: POST [09:35:25]URL: /json_proto [09:35:25]Method is POST - this is cgi request [09:35:25]url: /json_proto [09:35:25]query_string will be loaded in cgi processing [09:35:25]execute_cgi json_proto POST (null) [09:35:25]execute_cgi path=json_proto method=POST [09:35:25]POST find Content-Length [09:35:25]Host: 172.17.45.8:8080 [09:35:25]Content-Length: 624 [09:35:25]Content-Type: application/json [09:35:25] [09:35:25]POST finish read [09:35:25]Found Content-Length = 624 [09:35:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150434", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:35:25]execute_script... [09:35:25]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)150434", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:35:25]POST & json_proto [09:35:25]process_json_proto [09:35:25]json parsed OK: [09:35:25]protocol is kg_v1.0 [09:35:25]action value=close_receipt [09:35:25]process_action close_receipt [09:35:25]cmd_close_receipt [09:35:25]MH_GetDate [09:35:25]Write to MH i2c: F0 00 00 DE 0F DC [09:35:25]Write i2c OK [09:35:25]MH_I2C_Read... [09:35:25]Read from MH i2c: F0 [09:35:25]MH_I2C_Read... [09:35:25]Read from MH i2c: F0 09 00 [09:35:25]MH_I2C_Read... [09:35:25]Read from MH i2c: F0 09 00 DE 0F 00 E1 10 A6 66 A6 1F 7F 64 8A [09:35:25]GetLastDocTimeStamp 1722153279 [09:35:25]current date 1722159329 [09:35:25]FM_GetShiftState [09:35:25]SAM_PROTO_GetShiftState [09:35:25]wFMCommunicate request_size=4 [09:35:25]MH_SAM_APDU [09:35:25]CAPDU: 80 13 01 00 [09:35:25]Write to MH i2c: E2 08 00 DF 0F 80 13 01 00 00 00 00 00 6B [09:35:25]Write i2c OK [09:35:25]MH_I2C_Read... [09:35:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:35:25]Read from MH i2c: E2 [09:35:25]MH_I2C_Read... [09:35:25]Read from MH i2c: E2 0E 00 [09:35:25]MH_I2C_Read... [09:35:25]Read from MH i2c: E2 0E 00 DF 0F 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 93 [09:35:25]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [09:35:25]wFMCommunicate OK [09:35:25]SAM_PROTO_GetShiftState done [09:35:25]FM_GetShiftState done [09:35:25]opened in 1722127230 [09:35:25]opened+sec_in_day 1722213630 [09:35:25]quantity*price = 14300 [09:35:25]sum+1 = 14301 [09:35:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 143.00 НСП 1% : 1.26 НДС 12% : 15.19 Наличными: 143.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 14 28.07.2024 09:35 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27036 ФПД: 68676611802625 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T093529&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27036&fm=68676611802625&tin=02508201610067®Number=0000000000092663&sum=14300 0 [09:35:26]StoreToDocumentArchive [09:35:26]shift 433 fd 27036 [09:35:26]save to /storage/0433/doc_00027036 [09:35:26]save last doc name /storage/0433/doc_00027036 to /storage/kkm_last_doc_name [09:35:26]save OK [09:35:26]Clear old archive folders... [09:35:26]ProcessDocumentItem done err = 0, tmpTLVsize=276 [09:35:26]tlvbuf is 018087B0 [09:35:26]SAM_PROTO_ClearQueue [09:35:26]wFMCommunicate request_size=4 [09:35:26]MH_SAM_APDU [09:35:26]CAPDU: 80 09 00 00 [09:35:26]Write to MH i2c: E2 08 00 EC 0F 80 09 00 00 00 00 00 00 6D [09:35:26]Write i2c OK [09:35:26]MH_I2C_Read... [09:35:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:35:26]Read from MH i2c: E2 [09:35:26]MH_I2C_Read... [09:35:26]Read from MH i2c: E2 03 00 [09:35:26]MH_I2C_Read... [09:35:26]Read from MH i2c: E2 03 00 EC 0F 00 90 00 6F [09:35:26]RAPDU: 90 00 [09:35:26]wFMCommunicate OK [09:35:26]SAM_PROTO_ClearQueue done [09:35:26]KKMCreateOFDPacket [09:35:26]OFDProtocolAddRootSTLVToBuf [09:35:26]FM_MakeSignedData [09:35:26]FM_MakeSignedData [09:35:26]SAM_PROTO_SignData [09:35:26]wFMCommunicate request_size=4 [09:35:26]MH_SAM_APDU [09:35:26]CAPDU: 80 0D 01 02 [09:35:26]Write to MH i2c: E2 08 00 ED 0F 80 0D 01 02 00 00 00 00 75 [09:35:26]Write i2c OK [09:35:26]MH_I2C_Read... [09:35:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:35:26]Read from MH i2c: E2 [09:35:26]MH_I2C_Read... [09:35:26]Read from MH i2c: E2 03 00 [09:35:26]MH_I2C_Read... [09:35:26]Read from MH i2c: E2 03 00 ED 0F 00 90 00 70 [09:35:26]RAPDU: 90 00 [09:35:26]wFMCommunicate OK [09:35:26]wFMCommunicate request_size=255 [09:35:26]MH_SAM_APDU [09:35:26]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 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 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 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 E1 10 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 [09:35:26]Write to MH i2c: E2 02 01 EE 0F 80 0D 02 02 FA 00 03 00 14 01 1E 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 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 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 E1 10 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 00 00 82 [09:35:26]Write i2c OK [09:35:26]MH_I2C_Read... [09:35:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:35:27]Read from MH i2c: E2 [09:35:27]MH_I2C_Read... [09:35:27]Read from MH i2c: E2 03 00 [09:35:27]MH_I2C_Read... [09:35:27]Read from MH i2c: E2 03 00 EE 0F 00 90 00 71 [09:35:27]RAPDU: 90 00 [09:35:27]wFMCommunicate OK [09:35:27]wFMCommunicate request_size=35 [09:35:27]MH_SAM_APDU [09:35:27]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 9C 69 00 00 35 04 06 00 3E 76 05 0D 06 01 [09:35:27]Write to MH i2c: E2 26 00 EF 0F 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 9C 69 00 00 35 04 06 00 3E 76 05 0D 06 01 00 00 43 [09:35:27]Write i2c OK [09:35:27]MH_I2C_Read... [09:35:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:35:27]Read from MH i2c: E2 [09:35:27]MH_I2C_Read... [09:35:27]Read from MH i2c: E2 03 00 [09:35:27]MH_I2C_Read... [09:35:27]Read from MH i2c: E2 03 00 EF 0F 00 90 00 72 [09:35:27]RAPDU: 90 00 [09:35:27]wFMCommunicate OK [09:35:27]wFMCommunicate request_size=4 [09:35:27]MH_SAM_APDU [09:35:27]CAPDU: 80 0D 03 02 [09:35:27]Write to MH i2c: E2 08 00 F0 0F 80 0D 03 02 00 00 00 00 7A [09:35:27]Write i2c OK [09:35:27]MH_I2C_Read... [09:35:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:35:27]Read from MH i2c: E2 [09:35:27]MH_I2C_Read... [09:35:27]Read from MH i2c: E2 0B 00 [09:35:27]MH_I2C_Read... [09:35:27]Read from MH i2c: E2 0B 00 F0 0F 00 67 E9 9A 42 AE CC BB EB 90 00 C7 [09:35:27]RAPDU: 67 E9 9A 42 AE CC BB EB 90 00 [09:35:27]wFMCommunicate OK [09:35:27]SAM_PROTO_SignData done [09:35:27]FM_MakeSignedData done [09:35:27]CreateOFDProtocolMessage [09:35:27]wFMCommunicate request_size=4 [09:35:27]MH_SAM_APDU [09:35:27]CAPDU: 80 11 00 00 [09:35:27]Write to MH i2c: E2 08 00 F1 0F 80 11 00 00 00 00 00 00 7A [09:35:27]Write i2c OK [09:35:27]MH_I2C_Read... [09:35:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:35:27]Read from MH i2c: E2 [09:35:27]MH_I2C_Read... [09:35:27]Read from MH i2c: E2 17 00 [09:35:27]MH_I2C_Read... [09:35:27]Read from MH i2c: E2 17 00 F1 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 D3 [09:35:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [09:35:27]wFMCommunicate OK [09:35:27]CreateOFDProtocolMessage done [09:35:27]OFDSenderStorePacket 27036 [09:35:27]StoreOFDPacket docnum=27036 [09:35:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 28 01 00 00 DB 2E 20 01 CA D8 5A 03 01 00 03 00 14 01 1E 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 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 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 E1 10 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 9C 69 00 00 35 04 06 00 3E 76 05 0D 06 01 67 E9 9A 42 AE CC BB EB [09:35:27]CheckFolder [09:35:27]dirname=/storage/ofd_packets [09:35:27]CheckFolder done [09:35:27]ProducePacketName [09:35:27]name=ofd_packets/00027036 [09:35:27]NVStorageSaveData ofd_packets/00027036 [09:35:27]File name is /storage/ofd_packets/00027036 [09:35:27]Write 326 bytes [09:35:27]NVStorageSaveData done [09:35:27]OFDSenderStorePacket done [09:35:27]KKMCreateOFDPacket done [09:35:27]NVStorageSaveData kkm_last_timestamp [09:35:27]File name is /storage/kkm_last_timestamp [09:35:27]Write 4 bytes [09:35:27]NVStorageSaveData done [09:35:27]ExternCall_PrintAddStr [09:35:27]wPrintStart [09:35:27]Write to MH i2c: 01 00 00 F2 0F 01 [09:35:27]Write i2c OK [09:35:27]MH_I2C_Read... [09:35:27]Read from MH i2c: 01 [09:35:27]MH_I2C_Read... [09:35:27]Read from MH i2c: 01 07 00 [09:35:27]MH_I2C_Read... [09:35:27]Read from MH i2c: 01 07 00 F2 0F 00 00 00 00 00 FF 0F 16 [09:35:27]RasterBufferAndPrint [09:35:27]line Счет N : (3)150434 [09:35:27]line ИНН: 02508201610067 [09:35:27]line Контрольно-Кассовый Чек [09:35:27]line ПРОДАЖА [09:35:27]line Товар: 48744683 [09:35:27]line Сигареты Winston XStyle Caster+ [09:35:27]line 1.000 * 143.00 [09:35:27]line = 143.00 [09:35:27]line НДС 12% НСП 1% [09:35:27]line > о реализуемом товаре [09:35:27]line ИТОГО: 143.00 [09:35:27]line НСП 1% : 1.26 [09:35:27]line НДС 12% : 15.19 [09:35:27]line Наличными: 143.00 [09:35:27]line Безнал.: 0.00 [09:35:27]line Место: АЗС № 134 "Партнер Нефть" [09:35:27]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [09:35:27]line СНО: Общий режим [09:35:27]line Чек 14 28.07.2024 09:35 [09:35:27]line Смена: 433 ФФД: 1.0 [09:35:27]line ЗНМ: 0300000043 [09:35:27]line РНМ: 0000000000092663 [09:35:27]line Версия ККМ: 001 [09:35:27]line ФМ: 0000000000874937 [09:35:27]line ФД: 27036 [09:35:27]line ФПД: 68676611802625 [09:35:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T093529&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27036&fm=68676611802625&tin=02508201610067®Number=0000000000092663&sum=14300 [09:35:27]OFD Sender: Processing packet 27036 [packets to send 9, broken 8] [09:35:27]ProducePacketName [09:35:27]name=ofd_packets/00027036 [09:35:27]OFD Sender: To server: pG, [09:35:27]CommunicateWithHost lk.salyk.kg:30040 [09:35:27]ConnectInit lk.salyk.kg [09:35:27]line 0 [09:35:27]written 0, free lines is 4095 [09:35:27]Connected sock=10 [09:35:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 28 01 00 00 DB 2E 20 01 CA D8 5A 03 01 00 03 00 14 01 1E 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 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 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 E1 10 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 9C 69 00 00 35 04 06 00 3E 76 05 0D 06 01 67 E9 9A 42 AE CC BB EB [09:35:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 BD 5A 47 00 ED 45 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 38 37 34 39 33 37 10 04 04 00 9C 69 00 00 F4 03 04 00 35 B7 A5 66 B6 04 01 00 00 8D DB 51 3F C5 71 84 87 [09:35:28]CommunicateWithHost err = 0 [09:35:28]CheckOFDResponse [09:35:28]1017 (14) - 77093643461234 [09:35:28]1041 (16) - 0000000000874937 [09:35:28]1040 (4) - 27036 [09:35:28]1012 (4) - 28.07.2024 03:12 [09:35:28]1206 (1) - 0 [09:35:28]OFD Sender: Remove packet 27036 [09:35:28]ProducePacketName [09:35:28]name=ofd_packets/00027036 [09:35:28]NVStorageDeleteData [09:35:28]Write to MH i2c: 01 00 00 1A 10 2A [09:35:28]Write i2c OK [09:35:28]MH_I2C_Read... [09:35:28]Read from MH i2c: 01 [09:35:28]MH_I2C_Read... [09:35:28]Read from MH i2c: 01 07 00 [09:35:28]MH_I2C_Read... [09:35:28]Read from MH i2c: 01 07 00 1A 10 00 00 00 00 00 D6 0C 13 [09:35:28]RasterBufferAndPrint [09:35:28]line [09:35:28]line [09:35:28]line [09:35:28]line [09:35:28]line [09:35:28]written 0, free lines is 3290 [09:35:28]MH_Cut [09:35:28]Write to MH i2c: D1 01 00 21 10 01 03 [09:35:28]Write i2c OK [09:35:28]MH_I2C_Read... [09:35:28]Read from MH i2c: D1 [09:35:28]MH_I2C_Read... [09:35:28]Read from MH i2c: D1 01 00 [09:35:28]MH_I2C_Read... [09:35:28]Read from MH i2c: D1 01 00 21 10 00 02 [09:35:28]Write to MH i2c: 01 00 00 22 10 32 [09:35:28]Write i2c OK [09:35:28]MH_I2C_Read... [09:35:28]OFD Sender: No OFD packet to send [09:35:28]*** Cut start [09:35:28]*** Partial cut [09:35:28]*** CUTSNS_PIN = 1 [09:35:28]*** CUTSNS_PIN = 0 [09:35:29]*** Brake cut motor [09:35:29]Read from MH i2c: 01 [09:35:29]MH_I2C_Read... [09:35:29]*** Stop cut motor [09:35:29]*** Cut end [09:35:29]Read from MH i2c: 01 07 00 [09:35:29]MH_I2C_Read... [09:35:29]Read from MH i2c: 01 07 00 22 10 00 00 00 00 00 FF 0F 47 [09:35:29]process_action close_receipt done [09:35:29]requested_data is exist [09:35:29]produce_requested_data [09:35:29]requested_item fm.sn is exist - process it [09:35:29]wFMCommunicate request_size=4 [09:35:29]MH_SAM_APDU [09:35:29]CAPDU: 80 11 00 00 [09:35:29]Write to MH i2c: E2 08 00 23 10 80 11 00 00 00 00 00 00 AD [09:35:29]Write i2c OK [09:35:29]MH_I2C_Read... [09:35:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:35:29]Read from MH i2c: E2 [09:35:29]MH_I2C_Read... [09:35:29]Read from MH i2c: E2 17 00 [09:35:29]MH_I2C_Read... [09:35:29]Read from MH i2c: E2 17 00 23 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 06 [09:35:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [09:35:29]wFMCommunicate OK [09:35:29]requested_item fd.num is exist - process it [09:35:29]SAM_PROTO_GetFieldsCounters [09:35:29]wFMCommunicate request_size=4 [09:35:29]MH_SAM_APDU [09:35:29]CAPDU: 80 13 00 00 [09:35:29]Write to MH i2c: E2 08 00 24 10 80 13 00 00 00 00 00 00 B0 [09:35:29]Write i2c OK [09:35:29]MH_I2C_Read... [09:35:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:35:29]Read from MH i2c: E2 [09:35:29]MH_I2C_Read... [09:35:29]Read from MH i2c: E2 62 00 [09:35:29]MH_I2C_Read... [09:35:29]Read from MH i2c: E2 62 00 24 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 9C 69 00 00 0E 04 04 00 B1 01 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 B9 [09:35:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 9C 69 00 00 0E 04 04 00 B1 01 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 [09:35:29]wFMCommunicate OK [09:35:29]SAM_PROTO_GetFieldsCounters done [09:35:29]requested_item shift.num is exist - process it [09:35:29]requested_item shift.opened is exist - process it [09:35:29]req_shift_opened [09:35:29]FM_GetShiftState [09:35:29]SAM_PROTO_GetShiftState [09:35:29]wFMCommunicate request_size=4 [09:35:29]MH_SAM_APDU [09:35:29]CAPDU: 80 13 01 00 [09:35:29]Write to MH i2c: E2 08 00 25 10 80 13 01 00 00 00 00 00 B2 [09:35:29]Write i2c OK [09:35:29]MH_I2C_Read... [09:35:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:35:29]Read from MH i2c: E2 [09:35:29]MH_I2C_Read... [09:35:29]Read from MH i2c: E2 0E 00 [09:35:29]MH_I2C_Read... [09:35:29]Read from MH i2c: E2 0E 00 25 10 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 DA [09:35:29]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [09:35:29]wFMCommunicate OK [09:35:29]SAM_PROTO_GetShiftState done [09:35:29]FM_GetShiftState done [09:35:29]req_shift_opened done [09:35:29]requested_item shift.open_date is exist - process it [09:35:29]req_shift_open_date [09:35:29]req_shift_open_date done [09:35:29]produce_requested_data done [09:35:29]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27036,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [09:35:29]process_action_free close_receipt [09:35:29]json_value_free [09:35:29]json_value_free done [09:35:29]process_json_proto returns [09:35:29]Send response to host [09:35:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27036,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [09:35:29]free response buf [09:35:29]execute_script done [09:35:29]execute_script returns [09:35:29]free content buf [09:35:29]Sock 9.Close socket [09:35:29]Sock 9.Thread stoped [09:35:33]OFD Sender: No OFD packet to send [09:35:38]OFD Sender: No OFD packet to send [09:35:43]OFD Sender: No OFD packet to send [09:35:48]OFD Sender: No OFD packet to send [09:35:53]OFD Sender: No OFD packet to send [09:35:58]OFD Sender: No OFD packet to send [09:36:03]OFD Sender: No OFD packet to send [09:36:08]OFD Sender: No OFD packet to send [09:36:13]OFD Sender: No OFD packet to send [09:36:18]OFD Sender: No OFD packet to send [09:36:23]OFD Sender: No OFD packet to send [09:36:28]OFD Sender: No OFD packet to send [09:36:33]OFD Sender: No OFD packet to send [09:36:38]OFD Sender: No OFD packet to send [09:36:43]OFD Sender: No OFD packet to send [09:36:48]OFD Sender: No OFD packet to send [09:36:53]OFD Sender: No OFD packet to send [09:36:58]OFD Sender: No OFD packet to send [09:37:03]OFD Sender: No OFD packet to send [09:37:08]OFD Sender: No OFD packet to send [09:37:13]OFD Sender: No OFD packet to send [09:37:18]OFD Sender: No OFD packet to send [09:37:23]OFD Sender: No OFD packet to send [09:37:28]OFD Sender: No OFD packet to send [09:37:33]OFD Sender: No OFD packet to send [09:37:38]OFD Sender: No OFD packet to send [09:37:43]OFD Sender: No OFD packet to send [09:37:48]OFD Sender: No OFD packet to send [09:37:53]OFD Sender: No OFD packet to send [09:37:58]OFD Sender: No OFD packet to send [09:38:03]OFD Sender: No OFD packet to send [09:38:08]OFD Sender: No OFD packet to send [09:38:13]OFD Sender: No OFD packet to send [09:38:18]OFD Sender: No OFD packet to send [09:38:23]OFD Sender: No OFD packet to send [09:38:28]OFD Sender: No OFD packet to send [09:38:33]OFD Sender: No OFD packet to send [09:38:38]OFD Sender: No OFD packet to send [09:38:43]OFD Sender: No OFD packet to send [09:38:48]OFD Sender: No OFD packet to send [09:38:53]OFD Sender: No OFD packet to send [09:38:58]OFD Sender: No OFD packet to send [09:39:03]OFD Sender: No OFD packet to send [09:39:08]OFD Sender: No OFD packet to send [09:39:13]OFD Sender: No OFD packet to send [09:39:18]OFD Sender: No OFD packet to send [09:39:23]OFD Sender: No OFD packet to send [09:39:28]OFD Sender: No OFD packet to send [09:39:33]OFD Sender: No OFD packet to send [09:39:38]OFD Sender: No OFD packet to send [09:39:43]OFD Sender: No OFD packet to send [09:39:48]OFD Sender: No OFD packet to send [09:39:53]OFD Sender: No OFD packet to send [09:39:58]OFD Sender: No OFD packet to send [09:40:03]OFD Sender: No OFD packet to send [09:40:08]OFD Sender: No OFD packet to send [09:40:13]OFD Sender: No OFD packet to send [09:40:18]OFD Sender: No OFD packet to send [09:40:23]OFD Sender: No OFD packet to send [09:40:28]OFD Sender: No OFD packet to send [09:40:33]OFD Sender: No OFD packet to send [09:40:38]OFD Sender: No OFD packet to send [09:40:43]OFD Sender: No OFD packet to send [09:40:48]OFD Sender: No OFD packet to send [09:40:53]OFD Sender: No OFD packet to send [09:40:58]OFD Sender: No OFD packet to send [09:41:03]OFD Sender: No OFD packet to send [09:41:08]OFD Sender: No OFD packet to send [09:41:13]OFD Sender: No OFD packet to send [09:41:18]OFD Sender: No OFD packet to send [09:41:23]OFD Sender: No OFD packet to send [09:41:28]OFD Sender: No OFD packet to send [09:41:33]OFD Sender: No OFD packet to send [09:41:38]OFD Sender: No OFD packet to send [09:41:43]OFD Sender: No OFD packet to send [09:41:48]OFD Sender: No OFD packet to send [09:41:53]OFD Sender: No OFD packet to send [09:41:58]OFD Sender: No OFD packet to send [09:42:03]OFD Sender: No OFD packet to send [09:42:08]OFD Sender: No OFD packet to send [09:42:13]OFD Sender: No OFD packet to send [09:42:18]OFD Sender: No OFD packet to send [09:42:23]OFD Sender: No OFD packet to send [09:42:28]OFD Sender: No OFD packet to send [09:42:33]OFD Sender: No OFD packet to send [09:42:38]OFD Sender: No OFD packet to send [09:42:43]OFD Sender: No OFD packet to send [09:42:48]OFD Sender: No OFD packet to send [09:42:53]OFD Sender: No OFD packet to send [09:42:58]OFD Sender: No OFD packet to send [09:43:03]OFD Sender: No OFD packet to send [09:43:08]OFD Sender: No OFD packet to send [09:43:13]OFD Sender: No OFD packet to send [09:43:18]OFD Sender: No OFD packet to send [09:43:23]OFD Sender: No OFD packet to send [09:43:28]OFD Sender: No OFD packet to send [09:43:33]OFD Sender: No OFD packet to send [09:43:38]OFD Sender: No OFD packet to send [09:43:43]OFD Sender: No OFD packet to send [09:43:48]OFD Sender: No OFD packet to send [09:43:53]OFD Sender: No OFD packet to send [09:43:58]OFD Sender: No OFD packet to send [09:44:03]OFD Sender: No OFD packet to send [09:44:08]OFD Sender: No OFD packet to send [09:44:13]OFD Sender: No OFD packet to send [09:44:18]OFD Sender: No OFD packet to send [09:44:23]OFD Sender: No OFD packet to send [09:44:28]OFD Sender: No OFD packet to send [09:44:33]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:14]OFD Sender: No OFD packet to send [09:45:19]OFD Sender: No OFD packet to send [09:45:24]OFD Sender: No OFD packet to send [09:45:29]OFD Sender: No OFD packet to send [09:45:34]OFD Sender: No OFD packet to send [09:45:39]OFD Sender: No OFD packet to send [09:45:44]OFD Sender: No OFD packet to send [09:45:49]OFD Sender: No OFD packet to send [09:45:54]OFD Sender: No OFD packet to send [09:45:59]OFD Sender: No OFD packet to send [09:46:04]OFD Sender: No OFD packet to send [09:46:09]OFD Sender: No OFD packet to send [09:46:14]OFD Sender: No OFD packet to send [09:46:19]OFD Sender: No OFD packet to send [09:46:24]OFD Sender: No OFD packet to send [09:46:29]OFD Sender: No OFD packet to send [09:46:34]OFD Sender: No OFD packet to send [09:46:39]OFD Sender: No OFD packet to send [09:46:44]OFD Sender: No OFD packet to send [09:46:49]OFD Sender: No OFD packet to send [09:46:54]OFD Sender: No OFD packet to send [09:46:59]OFD Sender: No OFD packet to send [09:47:04]OFD Sender: No OFD packet to send [09:47:09]OFD Sender: No OFD packet to send [09:47:14]OFD Sender: No OFD packet to send [09:47:19]OFD Sender: No OFD packet to send [09:47:24]OFD Sender: No OFD packet to send [09:47:29]OFD Sender: No OFD packet to send [09:47:34]OFD Sender: No OFD packet to send [09:47:39]OFD Sender: No OFD packet to send [09:47:44]OFD Sender: No OFD packet to send [09:47:49]OFD Sender: No OFD packet to send [09:47:54]OFD Sender: No OFD packet to send [09:47:59]OFD Sender: No OFD packet to send [09:48:04]OFD Sender: No OFD packet to send [09:48:09]OFD Sender: No OFD packet to send [09:48:14]OFD Sender: No OFD packet to send [09:48:19]OFD Sender: No OFD packet to send [09:48:24]OFD Sender: No OFD packet to send [09:48:29]OFD Sender: No OFD packet to send [09:48:34]OFD Sender: No OFD packet to send [09:48:39]OFD Sender: No OFD packet to send [09:48:44]OFD Sender: No OFD packet to send [09:48:49]OFD Sender: No OFD packet to send [09:48:54]OFD Sender: No OFD packet to send [09:48:59]OFD Sender: No OFD packet to send [09:49:04]OFD Sender: No OFD packet to send [09:49:09]OFD Sender: No OFD packet to send [09:49:14]OFD Sender: No OFD packet to send [09:49:19]OFD Sender: No OFD packet to send [09:49:24]OFD Sender: No OFD packet to send [09:49:29]OFD Sender: No OFD packet to send [09:49:34]OFD Sender: No OFD packet to send [09:49:39]OFD Sender: No OFD packet to send [09:49:44]OFD Sender: No OFD packet to send [09:49:49]OFD Sender: No OFD packet to send [09:49:54]OFD Sender: No OFD packet to send [09:49:59]OFD Sender: No OFD packet to send [09:50:04]OFD Sender: No OFD packet to send [09:50:09]OFD Sender: No OFD packet to send [09:50:14]OFD Sender: No OFD packet to send [09:50:19]OFD Sender: No OFD packet to send [09:50:24]OFD Sender: No OFD packet to send [09:50:29]OFD Sender: No OFD packet to send [09:50:34]OFD Sender: No OFD packet to send [09:50:39]OFD Sender: No OFD packet to send [09:50:44]OFD Sender: No OFD packet to send [09:50:49]OFD Sender: No OFD packet to send [09:50:54]OFD Sender: No OFD packet to send [09:50:59]OFD Sender: No OFD packet to send [09:51:04]OFD Sender: No OFD packet to send [09:51:09]OFD Sender: No OFD packet to send [09:51:14]OFD Sender: No OFD packet to send [09:51:19]OFD Sender: No OFD packet to send [09:51:24]OFD Sender: No OFD packet to send [09:51:29]OFD Sender: No OFD packet to send [09:51:34]OFD Sender: No OFD packet to send [09:51:39]OFD Sender: No OFD packet to send [09:51:44]OFD Sender: No OFD packet to send [09:51:49]OFD Sender: No OFD packet to send [09:51:54]OFD Sender: No OFD packet to send [09:51:59]OFD Sender: No OFD packet to send [09:52:04]OFD Sender: No OFD packet to send [09:52:09]OFD Sender: No OFD packet to send [09:52:14]OFD Sender: No OFD packet to send [09:52:19]OFD Sender: No OFD packet to send [09:52:24]OFD Sender: No OFD packet to send [09:52:29]OFD Sender: No OFD packet to send [09:52:34]OFD Sender: No OFD packet to send [09:52:39]OFD Sender: No OFD packet to send [09:52:44]OFD Sender: No OFD packet to send [09:52:49]OFD Sender: No OFD packet to send [09:52:54]OFD Sender: No OFD packet to send [09:52:59]OFD Sender: No OFD packet to send [09:53:04]OFD Sender: No OFD packet to send [09:53:09]OFD Sender: No OFD packet to send [09:53:14]OFD Sender: No OFD packet to send [09:53:19]OFD Sender: No OFD packet to send [09:53:24]OFD Sender: No OFD packet to send [09:53:29]OFD Sender: No OFD packet to send [09:53:34]OFD Sender: No OFD packet to send [09:53:39]OFD Sender: No OFD packet to send [09:53:44]OFD Sender: No OFD packet to send [09:53:49]OFD Sender: No OFD packet to send [09:53:54]OFD Sender: No OFD packet to send [09:53:59]OFD Sender: No OFD packet to send [09:54:04]OFD Sender: No OFD packet to send [09:54:09]OFD Sender: No OFD packet to send [09:54:14]OFD Sender: No OFD packet to send [09:54:19]OFD Sender: No OFD packet to send [09:54:24]OFD Sender: No OFD packet to send [09:54:29]OFD Sender: No OFD packet to send [09:54:34]OFD Sender: No OFD packet to send [09:54:39]OFD Sender: No OFD packet to send [09:54:44]OFD Sender: No OFD packet to send [09:54:49]OFD Sender: No OFD packet to send [09:54:54]OFD Sender: No OFD packet to send [09:54:59]OFD Sender: No OFD packet to send [09:55:04]OFD Sender: No OFD packet to send [09:55:09]OFD Sender: No OFD packet to send [09:55:14]OFD Sender: No OFD packet to send [09:55:19]OFD Sender: No OFD packet to send [09:55:24]OFD Sender: No OFD packet to send [09:55:29]OFD Sender: No OFD packet to send [09:55:34]OFD Sender: No OFD packet to send [09:55:39]OFD Sender: No OFD packet to send [09:55:44]OFD Sender: No OFD packet to send [09:55:49]OFD Sender: No OFD packet to send [09:55:54]OFD Sender: No OFD packet to send [09:55:59]OFD Sender: No OFD packet to send [09:56:04]OFD Sender: No OFD packet to send [09:56:09]OFD Sender: No OFD packet to send [09:56:14]OFD Sender: No OFD packet to send [09:56:19]OFD Sender: No OFD packet to send [09:56:24]OFD Sender: No OFD packet to send [09:56:29]OFD Sender: No OFD packet to send [09:56:34]OFD Sender: No OFD packet to send [09:56:39]OFD Sender: No OFD packet to send [09:56:44]OFD Sender: No OFD packet to send [09:56:49]OFD Sender: No OFD packet to send [09:56:54]OFD Sender: No OFD packet to send [09:56:59]OFD Sender: No OFD packet to send [09:57:04]OFD Sender: No OFD packet to send [09:57:09]OFD Sender: No OFD packet to send [09:57:14]OFD Sender: No OFD packet to send [09:57:19]OFD Sender: No OFD packet to send [09:57:24]OFD Sender: No OFD packet to send [09:57:29]OFD Sender: No OFD packet to send [09:57:34]OFD Sender: No OFD packet to send [09:57:39]OFD Sender: No OFD packet to send [09:57:44]OFD Sender: No OFD packet to send [09:57:49]OFD Sender: No OFD packet to send [09:57:54]OFD Sender: No OFD packet to send [09:57:59]OFD Sender: No OFD packet to send [09:58:04]OFD Sender: No OFD packet to send [09:58:09]OFD Sender: No OFD packet to send [09:58:14]OFD Sender: No OFD packet to send [09:58:19]OFD Sender: No OFD packet to send [09:58:24]OFD Sender: No OFD packet to send [09:58:29]OFD Sender: No OFD packet to send [09:58:34]OFD Sender: No OFD packet to send [09:58:39]OFD Sender: No OFD packet to send [09:58:44]OFD Sender: No OFD packet to send [09:58:49]OFD Sender: No OFD packet to send [09:58:54]OFD Sender: No OFD packet to send [09:58:59]OFD Sender: No OFD packet to send [09:59:04]OFD Sender: No OFD packet to send [09:59:09]OFD Sender: No OFD packet to send [09:59:14]OFD Sender: No OFD packet to send [09:59:19]OFD Sender: No OFD packet to send [09:59:24]OFD Sender: No OFD packet to send [09:59:29]OFD Sender: No OFD packet to send [09:59:34]OFD Sender: No OFD packet to send [09:59:39]OFD Sender: No OFD packet to send [09:59:44]OFD Sender: No OFD packet to send [09:59:49]OFD Sender: No OFD packet to send [09:59:54]OFD Sender: No OFD packet to send [09:59:59]OFD Sender: No OFD packet to send [10:00:04]OFD Sender: No OFD packet to send [10:00:09]OFD Sender: No OFD packet to send [10:00:14]OFD Sender: No OFD packet to send [10:00:19]OFD Sender: No OFD packet to send [10:00:24]OFD Sender: No OFD packet to send [10:00:29]OFD Sender: No OFD packet to send [10:00:34]OFD Sender: No OFD packet to send [10:00:39]OFD Sender: No OFD packet to send [10:00:44]OFD Sender: No OFD packet to send [10:00:49]OFD Sender: No OFD packet to send [10:00:54]OFD Sender: No OFD packet to send [10:00:58]accept exits with 7 [10:00:58]New connection [10:00:58]New thread 3067387236 created [10:00:58]Thread 3067530596 joined [10:00:58]Waiting for new connection... [10:00:58] Sock 7.Parse request [10:00:58]Sock 7.Check first char [10:00:58]Sock 7.First char is OK [10:00:58]request: POST /json_proto HTTP/1.0 [10:00:58]Method: POST [10:00:58]URL: /json_proto [10:00:58]Method is POST - this is cgi request [10:00:58]url: /json_proto [10:00:58]query_string will be loaded in cgi processing [10:00:58]execute_cgi json_proto POST (null) [10:00:58]execute_cgi path=json_proto method=POST [10:00:58]POST find Content-Length [10:00:58]Host: 172.17.45.8:8080 [10:00:58]Content-Length: 675 [10:00:58]Content-Type: application/json [10:00:58] [10:00:58]POST finish read [10:00:58]Found Content-Length = 675 [10:00:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150435", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "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" ] } } [10:00:58]execute_script... [10:00: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)150435", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "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" ] } } [10:00:58]POST & json_proto [10:00:58]process_json_proto [10:00:58]json parsed OK: [10:00:58]protocol is kg_v1.0 [10:00:58]action value=close_receipt [10:00:58]process_action close_receipt [10:00:58]cmd_close_receipt [10:00:58]MH_GetDate [10:00:58]Write to MH i2c: F0 00 00 26 10 25 [10:00:58]Write i2c OK [10:00:58]MH_I2C_Read... [10:00:58]Read from MH i2c: F0 [10:00:58]MH_I2C_Read... [10:00:58]Read from MH i2c: F0 09 00 [10:00:58]MH_I2C_Read... [10:00:58]Read from MH i2c: F0 09 00 26 10 00 DE 16 A6 66 A6 1F 7F 64 D6 [10:00:58]GetLastDocTimeStamp 1722159329 [10:00:58]current date 1722160862 [10:00:58]FM_GetShiftState [10:00:58]SAM_PROTO_GetShiftState [10:00:58]wFMCommunicate request_size=4 [10:00:58]MH_SAM_APDU [10:00:58]CAPDU: 80 13 01 00 [10:00:58]Write to MH i2c: E2 08 00 27 10 80 13 01 00 00 00 00 00 B4 [10:00:58]Write i2c OK [10:00:58]MH_I2C_Read... [10:00:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:00:58]Read from MH i2c: E2 [10:00:58]MH_I2C_Read... [10:00:58]Read from MH i2c: E2 0E 00 [10:00:58]MH_I2C_Read... [10:00:58]Read from MH i2c: E2 0E 00 27 10 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 DC [10:00:58]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [10:00:58]wFMCommunicate OK [10:00:58]SAM_PROTO_GetShiftState done [10:00:58]FM_GetShiftState done [10:00:58]opened in 1722127230 [10:00:58]opened+sec_in_day 1722213630 [10:00:58]quantity*price = 6500 [10:00:58]sum+1 = 6501 [10:00:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 15 28.07.2024 10:01 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27037 ФПД: 131836007041978 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T100102&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27037&fm=131836007041978&tin=02508201610067®Number=0000000000092663&sum=6500 0 [10:00:59]StoreToDocumentArchive [10:00:59]shift 433 fd 27037 [10:00:59]save to /storage/0433/doc_00027037 [10:00:59]save last doc name /storage/0433/doc_00027037 to /storage/kkm_last_doc_name [10:00:59]save OK [10:00:59]Clear old archive folders... [10:00:59]ProcessDocumentItem done err = 0, tmpTLVsize=286 [10:00:59]tlvbuf is 018157B0 [10:00:59]SAM_PROTO_ClearQueue [10:00:59]wFMCommunicate request_size=4 [10:00:59]MH_SAM_APDU [10:00:59]CAPDU: 80 09 00 00 [10:00:59]Write to MH i2c: E2 08 00 34 10 80 09 00 00 00 00 00 00 B6 [10:00:59]Write i2c OK [10:00:59]MH_I2C_Read... [10:00:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:00:59]Read from MH i2c: E2 [10:00:59]MH_I2C_Read... [10:00:59]Read from MH i2c: E2 03 00 [10:00:59]MH_I2C_Read... [10:00:59]Read from MH i2c: E2 03 00 34 10 00 90 00 B8 [10:00:59]RAPDU: 90 00 [10:00:59]wFMCommunicate OK [10:00:59]SAM_PROTO_ClearQueue done [10:00:59]KKMCreateOFDPacket [10:00:59]OFDProtocolAddRootSTLVToBuf [10:00:59]FM_MakeSignedData [10:00:59]FM_MakeSignedData [10:00:59]SAM_PROTO_SignData [10:00:59]wFMCommunicate request_size=4 [10:00:59]MH_SAM_APDU [10:00:59]CAPDU: 80 0D 01 02 [10:00:59]Write to MH i2c: E2 08 00 35 10 80 0D 01 02 00 00 00 00 BE [10:00:59]Write i2c OK [10:00:59]MH_I2C_Read... [10:00:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:00:59]Read from MH i2c: E2 [10:00:59]MH_I2C_Read... [10:00:59]Read from MH i2c: E2 03 00 [10:00:59]MH_I2C_Read... [10:00:59]Read from MH i2c: E2 03 00 35 10 00 90 00 B9 [10:00:59]RAPDU: 90 00 [10:00:59]wFMCommunicate OK [10:00:59]wFMCommunicate request_size=255 [10:00:59]MH_SAM_APDU [10:00:59]CAPDU: 80 0D 02 02 FA 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 0F 00 00 00 F4 03 04 00 DE 16 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 [10:00:59]Write to MH i2c: E2 02 01 36 10 80 0D 02 02 FA 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 0F 00 00 00 F4 03 04 00 DE 16 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 00 00 47 [10:00:59]Write i2c OK [10:00:59]MH_I2C_Read... [10:01:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:01:00]Read from MH i2c: E2 [10:01:00]MH_I2C_Read... [10:01:00]Read from MH i2c: E2 03 00 [10:01:00]MH_I2C_Read... [10:01:00]Read from MH i2c: E2 03 00 36 10 00 90 00 BA [10:01:00]RAPDU: 90 00 [10:01:00]wFMCommunicate OK [10:01:00]wFMCommunicate request_size=45 [10:01:00]MH_SAM_APDU [10:01:00]CAPDU: 80 0D 02 02 28 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 9D 69 00 00 35 04 06 00 77 E7 76 5E 4B BA [10:01:00]Write to MH i2c: E2 30 00 37 10 80 0D 02 02 28 00 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 9D 69 00 00 35 04 06 00 77 E7 76 5E 4B BA 00 00 59 [10:01:00]Write i2c OK [10:01:00]MH_I2C_Read... [10:01:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:01:00]Read from MH i2c: E2 [10:01:00]MH_I2C_Read... [10:01:00]Read from MH i2c: E2 03 00 [10:01:00]MH_I2C_Read... [10:01:00]Read from MH i2c: E2 03 00 37 10 00 90 00 BB [10:01:00]RAPDU: 90 00 [10:01:00]wFMCommunicate OK [10:01:00]wFMCommunicate request_size=4 [10:01:00]MH_SAM_APDU [10:01:00]CAPDU: 80 0D 03 02 [10:01:00]Write to MH i2c: E2 08 00 38 10 80 0D 03 02 00 00 00 00 C3 [10:01:00]Write i2c OK [10:01:00]MH_I2C_Read... [10:01:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:01:00]Read from MH i2c: E2 [10:01:00]MH_I2C_Read... [10:01:00]Read from MH i2c: E2 0B 00 [10:01:00]MH_I2C_Read... [10:01:00]Read from MH i2c: E2 0B 00 38 10 00 F5 F9 6F 55 40 42 FF B0 90 00 A7 [10:01:00]RAPDU: F5 F9 6F 55 40 42 FF B0 90 00 [10:01:00]wFMCommunicate OK [10:01:00]SAM_PROTO_SignData done [10:01:00]FM_MakeSignedData done [10:01:00]CreateOFDProtocolMessage [10:01:00]wFMCommunicate request_size=4 [10:01:00]MH_SAM_APDU [10:01:00]CAPDU: 80 11 00 00 [10:01:00]Write to MH i2c: E2 08 00 39 10 80 11 00 00 00 00 00 00 C3 [10:01:00]Write i2c OK [10:01:00]MH_I2C_Read... [10:01:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:01:00]Read from MH i2c: E2 [10:01:00]MH_I2C_Read... [10:01:00]Read from MH i2c: E2 17 00 [10:01:00]MH_I2C_Read... [10:01:00]Read from MH i2c: E2 17 00 39 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 1C [10:01:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [10:01:00]wFMCommunicate OK [10:01:00]CreateOFDProtocolMessage done [10:01:00]OFDSenderStorePacket 27037 [10:01:00]StoreOFDPacket docnum=27037 [10:01:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 32 01 00 00 AF 51 2A 01 44 AF 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 0F 00 00 00 F4 03 04 00 DE 16 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 9D 69 00 00 35 04 06 00 77 E7 76 5E 4B BA F5 F9 6F 55 40 42 FF B0 [10:01:00]CheckFolder [10:01:00]dirname=/storage/ofd_packets [10:01:00]CheckFolder done [10:01:00]ProducePacketName [10:01:00]name=ofd_packets/00027037 [10:01:00]NVStorageSaveData ofd_packets/00027037 [10:01:00]File name is /storage/ofd_packets/00027037 [10:01:00]Write 336 bytes [10:01:00]NVStorageSaveData done [10:01:00]OFDSenderStorePacket done [10:01:00]KKMCreateOFDPacket done [10:01:00]NVStorageSaveData kkm_last_timestamp [10:01:00]File name is /storage/kkm_last_timestamp [10:01:00]Write 4 bytes [10:01:00]NVStorageSaveData done [10:01:00]ExternCall_PrintAddStr [10:01:00]wPrintStart [10:01:00]Write to MH i2c: 01 00 00 3A 10 4A [10:01:00]Write i2c OK [10:01:00]MH_I2C_Read... [10:01:00]Read from MH i2c: 01 [10:01:00]MH_I2C_Read... [10:01:00]Read from MH i2c: 01 07 00 [10:01:00]MH_I2C_Read... [10:01:00]Read from MH i2c: 01 07 00 3A 10 00 00 00 00 00 FF 0F 5F [10:01:00]RasterBufferAndPrint [10:01:00]line Счет N : (3)150435 [10:01:00]line ИНН: 02508201610067 [10:01:00]line Контрольно-Кассовый Чек [10:01:00]line ПРОДАЖА [10:01:00]line Товар: 4700040114120 [10:01:00]line Султан чай 1л. чер персик [10:01:00]line 1.000 * 65.00 [10:01:00]line = 65.00 [10:01:00]line НДС 12% НСП 1% [10:01:00]line > о реализуемом товаре [10:01:00]line ИТОГО: 65.00 [10:01:00]line НСП 1% : 0.57 [10:01:00]line НДС 12% : 6.90 [10:01:00]line Наличными: 65.00 [10:01:00]line Безнал.: 0.00 [10:01:00]line Место: АЗС № 134 "Партнер Нефть" [10:01:00]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [10:01:00]line СНО: Общий режим [10:01:00]line Чек 15 28.07.2024 10:01 [10:01:00]line Смена: 433 ФФД: 1.0 [10:01:00]line ЗНМ: 0300000043 [10:01:00]line РНМ: 0000000000092663 [10:01:00]line Версия ККМ: 001 [10:01:00]line ФМ: 0000000000874937 [10:01:00]line ФД: 27037 [10:01:00]line ФПД: 131836007041978 [10:01:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T100102&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27037&fm=131836007041978&tin=02508201610067®Number=0000000000092663&sum=6500 [10:01:00]OFD Sender: Processing packet 27037 [packets to send 9, broken 8] [10:01:00]ProducePacketName [10:01:00]name=ofd_packets/00027037 [10:01:00]OFD Sender: To server: pG, [10:01:00]CommunicateWithHost lk.salyk.kg:30040 [10:01:00]ConnectInit lk.salyk.kg [10:01:00]line 0 [10:01:00]written 0, free lines is 4095 [10:01:00]Connected sock=10 [10:01:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 32 01 00 00 AF 51 2A 01 44 AF 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 0F 00 00 00 F4 03 04 00 DE 16 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 9D 69 00 00 35 04 06 00 77 E7 76 5E 4B BA F5 F9 6F 55 40 42 FF B0 [10:01:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 29 CB 47 00 8E 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 38 37 34 39 33 37 10 04 04 00 9D 69 00 00 F4 03 04 00 32 BD A5 66 B6 04 01 00 00 C1 CD 3D 08 70 75 DA 24 [10:01:01]CommunicateWithHost err = 0 [10:01:01]CheckOFDResponse [10:01:01]1017 (14) - 77093643461234 [10:01:01]1041 (16) - 0000000000874937 [10:01:01]1040 (4) - 27037 [10:01:01]1012 (4) - 28.07.2024 03:38 [10:01:01]1206 (1) - 0 [10:01:01]OFD Sender: Remove packet 27037 [10:01:01]ProducePacketName [10:01:01]name=ofd_packets/00027037 [10:01:01]NVStorageDeleteData [10:01:01]Write to MH i2c: 01 00 00 61 10 71 [10:01:01]Write i2c OK [10:01:01]MH_I2C_Read... [10:01:01]Read from MH i2c: 01 [10:01:01]MH_I2C_Read... [10:01:01]Read from MH i2c: 01 07 00 [10:01:01]MH_I2C_Read... [10:01:01]Read from MH i2c: 01 07 00 61 10 00 00 00 00 00 EF 0C 73 [10:01:01]RasterBufferAndPrint [10:01:01]line [10:01:01]line [10:01:01]line [10:01:01]line [10:01:01]line [10:01:01]written 0, free lines is 3320 [10:01:01]MH_Cut [10:01:01]Write to MH i2c: D1 01 00 68 10 01 4A [10:01:01]Write i2c OK [10:01:01]MH_I2C_Read... [10:01:01]Read from MH i2c: D1 [10:01:01]MH_I2C_Read... [10:01:01]Read from MH i2c: D1 01 00 [10:01:01]MH_I2C_Read... [10:01:01]Read from MH i2c: D1 01 00 68 10 00 49 [10:01:01]Write to MH i2c: 01 00 00 69 10 79 [10:01:01]Write i2c OK [10:01:01]MH_I2C_Read... [10:01:01]OFD Sender: No OFD packet to send [10:01:01]*** Cut start [10:01:01]*** Partial cut [10:01:01]*** CUTSNS_PIN = 1 [10:01:01]*** CUTSNS_PIN = 0 [10:01:02]*** Brake cut motor [10:01:02]Read from MH i2c: 01 [10:01:02]MH_I2C_Read... [10:01:02]*** Stop cut motor [10:01:02]*** Cut end [10:01:02]Read from MH i2c: 01 07 00 [10:01:02]MH_I2C_Read... [10:01:02]Read from MH i2c: 01 07 00 69 10 00 00 00 00 00 FF 0F 8E [10:01:02]process_action close_receipt done [10:01:02]requested_data is exist [10:01:02]produce_requested_data [10:01:02]requested_item fm.sn is exist - process it [10:01:02]wFMCommunicate request_size=4 [10:01:02]MH_SAM_APDU [10:01:02]CAPDU: 80 11 00 00 [10:01:02]Write to MH i2c: E2 08 00 6A 10 80 11 00 00 00 00 00 00 F4 [10:01:02]Write i2c OK [10:01:02]MH_I2C_Read... [10:01:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:01:02]Read from MH i2c: E2 [10:01:02]MH_I2C_Read... [10:01:02]Read from MH i2c: E2 17 00 [10:01:02]MH_I2C_Read... [10:01:02]Read from MH i2c: E2 17 00 6A 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 4D [10:01:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [10:01:02]wFMCommunicate OK [10:01:02]requested_item fd.num is exist - process it [10:01:02]SAM_PROTO_GetFieldsCounters [10:01:02]wFMCommunicate request_size=4 [10:01:02]MH_SAM_APDU [10:01:02]CAPDU: 80 13 00 00 [10:01:02]Write to MH i2c: E2 08 00 6B 10 80 13 00 00 00 00 00 00 F7 [10:01:02]Write i2c OK [10:01:02]MH_I2C_Read... [10:01:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:01:02]Read from MH i2c: E2 [10:01:02]MH_I2C_Read... [10:01:02]Read from MH i2c: E2 62 00 [10:01:02]MH_I2C_Read... [10:01:02]Read from MH i2c: E2 62 00 6B 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 9D 69 00 00 0E 04 04 00 B1 01 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 04 [10:01:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 9D 69 00 00 0E 04 04 00 B1 01 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:01:02]wFMCommunicate OK [10:01:02]SAM_PROTO_GetFieldsCounters done [10:01:02]requested_item shift.num is exist - process it [10:01:02]requested_item shift.opened is exist - process it [10:01:02]req_shift_opened [10:01:02]FM_GetShiftState [10:01:02]SAM_PROTO_GetShiftState [10:01:02]wFMCommunicate request_size=4 [10:01:02]MH_SAM_APDU [10:01:02]CAPDU: 80 13 01 00 [10:01:02]Write to MH i2c: E2 08 00 6C 10 80 13 01 00 00 00 00 00 F9 [10:01:02]Write i2c OK [10:01:02]MH_I2C_Read... [10:01:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:01:02]Read from MH i2c: E2 [10:01:02]MH_I2C_Read... [10:01:02]Read from MH i2c: E2 0E 00 [10:01:02]MH_I2C_Read... [10:01:02]Read from MH i2c: E2 0E 00 6C 10 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 21 [10:01:02]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [10:01:02]wFMCommunicate OK [10:01:02]SAM_PROTO_GetShiftState done [10:01:02]FM_GetShiftState done [10:01:02]req_shift_opened done [10:01:02]requested_item shift.open_date is exist - process it [10:01:02]req_shift_open_date [10:01:02]req_shift_open_date done [10:01:02]produce_requested_data done [10:01:02]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27037,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [10:01:02]process_action_free close_receipt [10:01:02]json_value_free [10:01:02]json_value_free done [10:01:02]process_json_proto returns [10:01:02]Send response to host [10:01:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27037,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [10:01:02]free response buf [10:01:02]execute_script done [10:01:02]execute_script returns [10:01:02]free content buf [10:01:02]Sock 7.Close socket [10:01:02]Sock 7.Thread stoped [10:01:06]OFD Sender: No OFD packet to send [10:01:11]OFD Sender: No OFD packet to send [10:01:16]OFD Sender: No OFD packet to send [10:01:21]OFD Sender: No OFD packet to send [10:01:26]OFD Sender: No OFD packet to send [10:01:31]OFD Sender: No OFD packet to send [10:01:36]OFD Sender: No OFD packet to send [10:01:41]OFD Sender: No OFD packet to send [10:01:46]OFD Sender: No OFD packet to send [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:36]OFD Sender: No OFD packet to send [10:07:41]OFD Sender: No OFD packet to send [10:07:46]OFD Sender: No OFD packet to send [10:07:51]OFD Sender: No OFD packet to send [10:07:56]OFD Sender: No OFD packet to send [10:08:01]OFD Sender: No OFD packet to send [10:08:06]OFD Sender: No OFD packet to send [10:08:11]OFD Sender: No OFD packet to send [10:08:16]OFD Sender: No OFD packet to send [10:08:21]OFD Sender: No OFD packet to send [10:08:26]OFD Sender: No OFD packet to send [10:08:31]OFD Sender: No OFD packet to send [10:08:36]OFD Sender: No OFD packet to send [10:08:41]OFD Sender: No OFD packet to send [10:08:46]OFD Sender: No OFD packet to send [10:08:51]OFD Sender: No OFD packet to send [10:08:56]OFD Sender: No OFD packet to send [10:09:01]OFD Sender: No OFD packet to send [10:09:06]OFD Sender: No OFD packet to send [10:09:11]OFD Sender: No OFD packet to send [10:09:16]OFD Sender: No OFD packet to send [10:09:21]OFD Sender: No OFD packet to send [10:09:26]OFD Sender: No OFD packet to send [10:09:31]OFD Sender: No OFD packet to send [10:09:36]OFD Sender: No OFD packet to send [10:09:41]OFD Sender: No OFD packet to send [10:09:46]OFD Sender: No OFD packet to send [10:09:51]OFD Sender: No OFD packet to send [10:09:56]OFD Sender: No OFD packet to send [10:10:01]OFD Sender: No OFD packet to send [10:10:06]OFD Sender: No OFD packet to send [10:10:12]OFD Sender: No OFD packet to send [10:10:17]OFD Sender: No OFD packet to send [10:10:22]OFD Sender: No OFD packet to send [10:10:27]OFD Sender: No OFD packet to send [10:10:32]OFD Sender: No OFD packet to send [10:10:37]OFD Sender: No OFD packet to send [10:10:42]OFD Sender: No OFD packet to send [10:10:47]OFD Sender: No OFD packet to send [10:10:52]OFD Sender: No OFD packet to send [10:10:57]OFD Sender: No OFD packet to send [10:11:02]OFD Sender: No OFD packet to send [10:11:07]OFD Sender: No OFD packet to send [10:11:12]OFD Sender: No OFD packet to send [10:11:17]OFD Sender: No OFD packet to send [10:11:22]OFD Sender: No OFD packet to send [10:11:27]OFD Sender: No OFD packet to send [10:11:32]OFD Sender: No OFD packet to send [10:11:37]OFD Sender: No OFD packet to send [10:11:42]OFD Sender: No OFD packet to send [10:11:47]OFD Sender: No OFD packet to send [10:11:52]OFD Sender: No OFD packet to send [10:11:57]OFD Sender: No OFD packet to send [10:12:02]OFD Sender: No OFD packet to send [10:12:07]OFD Sender: No OFD packet to send [10:12:12]OFD Sender: No OFD packet to send [10:12:17]OFD Sender: No OFD packet to send [10:12:22]OFD Sender: No OFD packet to send [10:12:27]OFD Sender: No OFD packet to send [10:12:32]OFD Sender: No OFD packet to send [10:12:37]OFD Sender: No OFD packet to send [10:12:42]OFD Sender: No OFD packet to send [10:12:47]OFD Sender: No OFD packet to send [10:12:52]OFD Sender: No OFD packet to send [10:12:57]OFD Sender: No OFD packet to send [10:13:02]OFD Sender: No OFD packet to send [10:13:07]OFD Sender: No OFD packet to send [10:13:12]OFD Sender: No OFD packet to send [10:13:17]OFD Sender: No OFD packet to send [10:13:22]OFD Sender: No OFD packet to send [10:13:27]OFD Sender: No OFD packet to send [10:13:32]OFD Sender: No OFD packet to send [10:13:37]OFD Sender: No OFD packet to send [10:13:42]OFD Sender: No OFD packet to send [10:13:47]OFD Sender: No OFD packet to send [10:13:52]OFD Sender: No OFD packet to send [10:13:57]OFD Sender: No OFD packet to send [10:14:02]OFD Sender: No OFD packet to send [10:14:07]OFD Sender: No OFD packet to send [10:14:12]OFD Sender: No OFD packet to send [10:14:17]OFD Sender: No OFD packet to send [10:14:22]OFD Sender: No OFD packet to send [10:14:27]OFD Sender: No OFD packet to send [10:14:32]OFD Sender: No OFD packet to send [10:14:37]OFD Sender: No OFD packet to send [10:14:42]OFD Sender: No OFD packet to send [10:14:47]OFD Sender: No OFD packet to send [10:14:52]OFD Sender: No OFD packet to send [10:14:57]OFD Sender: No OFD packet to send [10:15:02]OFD Sender: No OFD packet to send [10:15:07]OFD Sender: No OFD packet to send [10:15:12]OFD Sender: No OFD packet to send [10:15:17]OFD Sender: No OFD packet to send [10:15:22]OFD Sender: No OFD packet to send [10:15:27]OFD Sender: No OFD packet to send [10:15:32]OFD Sender: No OFD packet to send [10:15:37]OFD Sender: No OFD packet to send [10:15:42]OFD Sender: No OFD packet to send [10:15:47]OFD Sender: No OFD packet to send [10:15:52]OFD Sender: No OFD packet to send [10:15:57]OFD Sender: No OFD packet to send [10:16:02]OFD Sender: No OFD packet to send [10:16:07]OFD Sender: No OFD packet to send [10:16:12]OFD Sender: No OFD packet to send [10:16:17]OFD Sender: No OFD packet to send [10:16:22]OFD Sender: No OFD packet to send [10:16:27]OFD Sender: No OFD packet to send [10:16:32]OFD Sender: No OFD packet to send [10:16:37]OFD Sender: No OFD packet to send [10:16:42]OFD Sender: No OFD packet to send [10:16:47]OFD Sender: No OFD packet to send [10:16:52]OFD Sender: No OFD packet to send [10:16:57]OFD Sender: No OFD packet to send [10:17:02]OFD Sender: No OFD packet to send [10:17:07]OFD Sender: No OFD packet to send [10:17:12]OFD Sender: No OFD packet to send [10:17:17]OFD Sender: No OFD packet to send [10:17:22]OFD Sender: No OFD packet to send [10:17:27]OFD Sender: No OFD packet to send [10:17:32]OFD Sender: No OFD packet to send [10:17:37]OFD Sender: No OFD packet to send [10:17:42]OFD Sender: No OFD packet to send [10:17:47]OFD Sender: No OFD packet to send [10:17:52]OFD Sender: No OFD packet to send [10:17:57]OFD Sender: No OFD packet to send [10:18:02]OFD Sender: No OFD packet to send [10:18:07]OFD Sender: No OFD packet to send [10:18:12]OFD Sender: No OFD packet to send [10:18:17]OFD Sender: No OFD packet to send [10:18:22]OFD Sender: No OFD packet to send [10:18:27]OFD Sender: No OFD packet to send [10:18:32]OFD Sender: No OFD packet to send [10:18:37]OFD Sender: No OFD packet to send [10:18:42]OFD Sender: No OFD packet to send [10:18:47]OFD Sender: No OFD packet to send [10:18:52]OFD Sender: No OFD packet to send [10:18:57]OFD Sender: No OFD packet to send [10:19:02]OFD Sender: No OFD packet to send [10:19:07]OFD Sender: No OFD packet to send [10:19:12]OFD Sender: No OFD packet to send [10:19:17]OFD Sender: No OFD packet to send [10:19:22]OFD Sender: No OFD packet to send [10:19:27]OFD Sender: No OFD packet to send [10:19:32]OFD Sender: No OFD packet to send [10:19:37]OFD Sender: No OFD packet to send [10:19:42]OFD Sender: No OFD packet to send [10:19:47]OFD Sender: No OFD packet to send [10:19:52]OFD Sender: No OFD packet to send [10:19:57]OFD Sender: No OFD packet to send [10:20:02]OFD Sender: No OFD packet to send [10:20:07]OFD Sender: No OFD packet to send [10:20:12]OFD Sender: No OFD packet to send [10:20:17]OFD Sender: No OFD packet to send [10:20:22]OFD Sender: No OFD packet to send [10:20:27]OFD Sender: No OFD packet to send [10:20:32]OFD Sender: No OFD packet to send [10:20:37]OFD Sender: No OFD packet to send [10:20:42]OFD Sender: No OFD packet to send [10:20:47]OFD Sender: No OFD packet to send [10:20:52]OFD Sender: No OFD packet to send [10:20:57]OFD Sender: No OFD packet to send [10:21:02]OFD Sender: No OFD packet to send [10:21:07]OFD Sender: No OFD packet to send [10:21:12]OFD Sender: No OFD packet to send [10:21:17]OFD Sender: No OFD packet to send [10:21:22]OFD Sender: No OFD packet to send [10:21:27]OFD Sender: No OFD packet to send [10:21:32]OFD Sender: No OFD packet to send [10:21:37]OFD Sender: No OFD packet to send [10:21:42]OFD Sender: No OFD packet to send [10:21:47]OFD Sender: No OFD packet to send [10:21:52]OFD Sender: No OFD packet to send [10:21:57]OFD Sender: No OFD packet to send [10:22:02]OFD Sender: No OFD packet to send [10:22:07]OFD Sender: No OFD packet to send [10:22:12]OFD Sender: No OFD packet to send [10:22:17]OFD Sender: No OFD packet to send [10:22:22]OFD Sender: No OFD packet to send [10:22:27]OFD Sender: No OFD packet to send [10:22:32]OFD Sender: No OFD packet to send [10:22:37]OFD Sender: No OFD packet to send [10:22:42]OFD Sender: No OFD packet to send [10:22:47]OFD Sender: No OFD packet to send [10:22:52]OFD Sender: No OFD packet to send [10:22:57]OFD Sender: No OFD packet to send [10:23:02]OFD Sender: No OFD packet to send [10:23:07]OFD Sender: No OFD packet to send [10:23:12]OFD Sender: No OFD packet to send [10:23:17]OFD Sender: No OFD packet to send [10:23:22]OFD Sender: No OFD packet to send [10:23:27]OFD Sender: No OFD packet to send [10:23:32]OFD Sender: No OFD packet to send [10:23:37]OFD Sender: No OFD packet to send [10:23:42]OFD Sender: No OFD packet to send [10:23:47]OFD Sender: No OFD packet to send [10:23:52]OFD Sender: No OFD packet to send [10:23:57]OFD Sender: No OFD packet to send [10:24:02]OFD Sender: No OFD packet to send [10:24:07]OFD Sender: No OFD packet to send [10:24:12]OFD Sender: No OFD packet to send [10:24:17]OFD Sender: No OFD packet to send [10:24:22]OFD Sender: No OFD packet to send [10:24:27]OFD Sender: No OFD packet to send [10:24:32]OFD Sender: No OFD packet to send [10:24:37]OFD Sender: No OFD packet to send [10:24:42]OFD Sender: No OFD packet to send [10:24:47]OFD Sender: No OFD packet to send [10:24:52]OFD Sender: No OFD packet to send [10:24:57]OFD Sender: No OFD packet to send [10:25:02]OFD Sender: No OFD packet to send [10:25:07]OFD Sender: No OFD packet to send [10:25:12]OFD Sender: No OFD packet to send [10:25:17]OFD Sender: No OFD packet to send [10:25:22]OFD Sender: No OFD packet to send [10:25:27]OFD Sender: No OFD packet to send [10:25:32]OFD Sender: No OFD packet to send [10:25:37]OFD Sender: No OFD packet to send [10:25:42]OFD Sender: No OFD packet to send [10:25:47]OFD Sender: No OFD packet to send [10:25:52]OFD Sender: No OFD packet to send [10:25:57]OFD Sender: No OFD packet to send [10:26:02]OFD Sender: No OFD packet to send [10:26:07]OFD Sender: No OFD packet to send [10:26:12]OFD Sender: No OFD packet to send [10:26:17]OFD Sender: No OFD packet to send [10:26:22]OFD Sender: No OFD packet to send [10:26:27]OFD Sender: No OFD packet to send [10:26:32]OFD Sender: No OFD packet to send [10:26:37]OFD Sender: No OFD packet to send [10:26:42]OFD Sender: No OFD packet to send [10:26:47]OFD Sender: No OFD packet to send [10:26:52]OFD Sender: No OFD packet to send [10:26:57]OFD Sender: No OFD packet to send [10:27:02]OFD Sender: No OFD packet to send [10:27:07]OFD Sender: No OFD packet to send [10:27:12]OFD Sender: No OFD packet to send [10:27:17]OFD Sender: No OFD packet to send [10:27:22]OFD Sender: No OFD packet to send [10:27:27]OFD Sender: No OFD packet to send [10:27:32]OFD Sender: No OFD packet to send [10:27:37]OFD Sender: No OFD packet to send [10:27:42]OFD Sender: No OFD packet to send [10:27:47]OFD Sender: No OFD packet to send [10:27:52]OFD Sender: No OFD packet to send [10:27:57]OFD Sender: No OFD packet to send [10:28:02]OFD Sender: No OFD packet to send [10:28:07]OFD Sender: No OFD packet to send [10:28:12]OFD Sender: No OFD packet to send [10:28:17]OFD Sender: No OFD packet to send [10:28:22]OFD Sender: No OFD packet to send [10:28:27]OFD Sender: No OFD packet to send [10:28:32]OFD Sender: No OFD packet to send [10:28:37]OFD Sender: No OFD packet to send [10:28:42]OFD Sender: No OFD packet to send [10:28:47]OFD Sender: No OFD packet to send [10:28:52]OFD Sender: No OFD packet to send [10:28:57]OFD Sender: No OFD packet to send [10:29:02]OFD Sender: No OFD packet to send [10:29:07]OFD Sender: No OFD packet to send [10:29:12]OFD Sender: No OFD packet to send [10:29:17]OFD Sender: No OFD packet to send [10:29:22]OFD Sender: No OFD packet to send [10:29:27]OFD Sender: No OFD packet to send [10:29:32]OFD Sender: No OFD packet to send [10:29:37]OFD Sender: No OFD packet to send [10:29:42]OFD Sender: No OFD packet to send [10:29:47]OFD Sender: No OFD packet to send [10:29:52]OFD Sender: No OFD packet to send [10:29:57]OFD Sender: No OFD packet to send [10:30:02]OFD Sender: No OFD packet to send [10:30:07]OFD Sender: No OFD packet to send [10:30:12]OFD Sender: No OFD packet to send [10:30:17]OFD Sender: No OFD packet to send [10:30:22]OFD Sender: No OFD packet to send [10:30:27]OFD Sender: No OFD packet to send [10:30:32]OFD Sender: No OFD packet to send [10:30:37]OFD Sender: No OFD packet to send [10:30:42]OFD Sender: No OFD packet to send [10:30:47]OFD Sender: No OFD packet to send [10:30:52]OFD Sender: No OFD packet to send [10:30:57]OFD Sender: No OFD packet to send [10:31:02]OFD Sender: No OFD packet to send [10:31:07]OFD Sender: No OFD packet to send [10:31:12]OFD Sender: No OFD packet to send [10:31:17]OFD Sender: No OFD packet to send [10:31:22]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:58]OFD Sender: No OFD packet to send [10:36:03]OFD Sender: No OFD packet to send [10:36:08]OFD Sender: No OFD packet to send [10:36:13]OFD Sender: No OFD packet to send [10:36:18]OFD Sender: No OFD packet to send [10:36:23]OFD Sender: No OFD packet to send [10:36:28]OFD Sender: No OFD packet to send [10:36:33]OFD Sender: No OFD packet to send [10:36:38]OFD Sender: No OFD packet to send [10:36:43]OFD Sender: No OFD packet to send [10:36:48]OFD Sender: No OFD packet to send [10:36:53]OFD Sender: No OFD packet to send [10:36:58]OFD Sender: No OFD packet to send [10:37:03]OFD Sender: No OFD packet to send [10:37:08]OFD Sender: No OFD packet to send [10:37:13]OFD Sender: No OFD packet to send [10:37:18]OFD Sender: No OFD packet to send [10:37:23]OFD Sender: No OFD packet to send [10:37:28]OFD Sender: No OFD packet to send [10:37:33]OFD Sender: No OFD packet to send [10:37:38]OFD Sender: No OFD packet to send [10:37:43]OFD Sender: No OFD packet to send [10:37:48]OFD Sender: No OFD packet to send [10:37:53]OFD Sender: No OFD packet to send [10:37:58]OFD Sender: No OFD packet to send [10:38:03]OFD Sender: No OFD packet to send [10:38:08]OFD Sender: No OFD packet to send [10:38:13]OFD Sender: No OFD packet to send [10:38:18]OFD Sender: No OFD packet to send [10:38:23]OFD Sender: No OFD packet to send [10:38:28]OFD Sender: No OFD packet to send [10:38:33]OFD Sender: No OFD packet to send [10:38:38]OFD Sender: No OFD packet to send [10:38:43]OFD Sender: No OFD packet to send [10:38:43]accept exits with 9 [10:38:43]New connection [10:38:43]New thread 3067530596 created [10:38:43]Thread 3067387236 joined [10:38:43]Waiting for new connection... [10:38:43] Sock 9.Parse request [10:38:43]Sock 9.Check first char [10:38:43]Sock 9.First char is OK [10:38:43]request: POST /json_proto HTTP/1.0 [10:38:43]Method: POST [10:38:43]URL: /json_proto [10:38:43]Method is POST - this is cgi request [10:38:43]url: /json_proto [10:38:43]query_string will be loaded in cgi processing [10:38:43]execute_cgi json_proto POST (null) [10:38:43]execute_cgi path=json_proto method=POST [10:38:43]POST find Content-Length [10:38:43]Host: 172.17.45.8:8080 [10:38:43]Content-Length: 623 [10:38:43]Content-Type: application/json [10:38:43] [10:38:43]POST finish read [10:38:43]Found Content-Length = 623 [10:38:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150436", "tax_sys" : 0, "items" : [ { "code": "4650243871781", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F Orange 0,45 \u0436/\u0431", "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" ] } } [10:38:43]execute_script... [10:38: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)150436", "tax_sys" : 0, "items" : [ { "code": "4650243871781", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F Orange 0,45 \u0436/\u0431", "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" ] } } [10:38:43]POST & json_proto [10:38:43]process_json_proto [10:38:43]json parsed OK: [10:38:43]protocol is kg_v1.0 [10:38:43]action value=close_receipt [10:38:43]process_action close_receipt [10:38:43]cmd_close_receipt [10:38:43]MH_GetDate [10:38:43]Write to MH i2c: F0 00 00 6D 10 6C [10:38:43]Write i2c OK [10:38:43]MH_I2C_Read... [10:38:43]Read from MH i2c: F0 [10:38:43]MH_I2C_Read... [10:38:43]Read from MH i2c: F0 09 00 [10:38:43]MH_I2C_Read... [10:38:43]Read from MH i2c: F0 09 00 6D 10 00 B7 1F A6 66 A6 1F 7F 64 FF [10:38:43]GetLastDocTimeStamp 1722160862 [10:38:43]current date 1722163127 [10:38:43]FM_GetShiftState [10:38:43]SAM_PROTO_GetShiftState [10:38:43]wFMCommunicate request_size=4 [10:38:43]MH_SAM_APDU [10:38:43]CAPDU: 80 13 01 00 [10:38:43]Write to MH i2c: E2 08 00 6E 10 80 13 01 00 00 00 00 00 FB [10:38:43]Write i2c OK [10:38:43]MH_I2C_Read... [10:38:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:38:43]Read from MH i2c: E2 [10:38:43]MH_I2C_Read... [10:38:43]Read from MH i2c: E2 0E 00 [10:38:43]MH_I2C_Read... [10:38:43]Read from MH i2c: E2 0E 00 6E 10 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 23 [10:38:43]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [10:38:43]wFMCommunicate OK [10:38:43]SAM_PROTO_GetShiftState done [10:38:43]FM_GetShiftState done [10:38:43]opened in 1722127230 [10:38:43]opened+sec_in_day 1722213630 [10:38:43]quantity*price = 11000 [10:38:43]sum+1 = 11001 [10:38:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 16 28.07.2024 10:38 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27038 ФПД: 179051484218005 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T103847&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27038&fm=179051484218005&tin=02508201610067®Number=0000000000092663&sum=11000 0 [10:38:44]StoreToDocumentArchive [10:38:44]shift 433 fd 27038 [10:38:44]save to /storage/0433/doc_00027038 [10:38:44]save last doc name /storage/0433/doc_00027038 to /storage/kkm_last_doc_name [10:38:44]save OK [10:38:44]Clear old archive folders... [10:38:44]ProcessDocumentItem done err = 0, tmpTLVsize=279 [10:38:44]tlvbuf is 01815680 [10:38:44]SAM_PROTO_ClearQueue [10:38:44]wFMCommunicate request_size=4 [10:38:44]MH_SAM_APDU [10:38:44]CAPDU: 80 09 00 00 [10:38:44]Write to MH i2c: E2 08 00 7B 10 80 09 00 00 00 00 00 00 FD [10:38:44]Write i2c OK [10:38:44]MH_I2C_Read... [10:38:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:38:44]Read from MH i2c: E2 [10:38:44]MH_I2C_Read... [10:38:44]Read from MH i2c: E2 03 00 [10:38:44]MH_I2C_Read... [10:38:44]Read from MH i2c: E2 03 00 7B 10 00 90 00 FF [10:38:44]RAPDU: 90 00 [10:38:44]wFMCommunicate OK [10:38:44]SAM_PROTO_ClearQueue done [10:38:44]KKMCreateOFDPacket [10:38:44]OFDProtocolAddRootSTLVToBuf [10:38:44]FM_MakeSignedData [10:38:44]FM_MakeSignedData [10:38:44]SAM_PROTO_SignData [10:38:44]wFMCommunicate request_size=4 [10:38:44]MH_SAM_APDU [10:38:44]CAPDU: 80 0D 01 02 [10:38:44]Write to MH i2c: E2 08 00 7C 10 80 0D 01 02 00 00 00 00 05 [10:38:44]Write i2c OK [10:38:44]MH_I2C_Read... [10:38:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:38:44]Read from MH i2c: E2 [10:38:44]MH_I2C_Read... [10:38:44]Read from MH i2c: E2 03 00 [10:38:44]MH_I2C_Read... [10:38:44]Read from MH i2c: E2 03 00 7C 10 00 90 00 00 [10:38:44]RAPDU: 90 00 [10:38:44]wFMCommunicate OK [10:38:44]wFMCommunicate request_size=255 [10:38:44]MH_SAM_APDU [10:38:44]CAPDU: 80 0D 02 02 FA 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 61 6E 67 65 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 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 10 00 00 00 F4 03 04 00 B7 1F A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 [10:38:44]Write to MH i2c: E2 02 01 7D 10 80 0D 02 02 FA 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 61 6E 67 65 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 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 10 00 00 00 F4 03 04 00 B7 1F A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 00 00 AC [10:38:44]Write i2c OK [10:38:44]MH_I2C_Read... [10:38:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:38:45]Read from MH i2c: E2 [10:38:45]MH_I2C_Read... [10:38:45]Read from MH i2c: E2 03 00 [10:38:45]MH_I2C_Read... [10:38:45]Read from MH i2c: E2 03 00 7D 10 00 90 00 01 [10:38:45]RAPDU: 90 00 [10:38:45]wFMCommunicate OK [10:38:45]wFMCommunicate request_size=38 [10:38:45]MH_SAM_APDU [10:38:45]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 9E 69 00 00 35 04 06 00 A2 D8 AC 1D 02 95 [10:38:45]Write to MH i2c: E2 29 00 7E 10 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 9E 69 00 00 35 04 06 00 A2 D8 AC 1D 02 95 00 00 78 [10:38:45]Write i2c OK [10:38:45]MH_I2C_Read... [10:38:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:38:45]Read from MH i2c: E2 [10:38:45]MH_I2C_Read... [10:38:45]Read from MH i2c: E2 03 00 [10:38:45]MH_I2C_Read... [10:38:45]Read from MH i2c: E2 03 00 7E 10 00 90 00 02 [10:38:45]RAPDU: 90 00 [10:38:45]wFMCommunicate OK [10:38:45]wFMCommunicate request_size=4 [10:38:45]MH_SAM_APDU [10:38:45]CAPDU: 80 0D 03 02 [10:38:45]Write to MH i2c: E2 08 00 7F 10 80 0D 03 02 00 00 00 00 0A [10:38:45]Write i2c OK [10:38:45]MH_I2C_Read... [10:38:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:38:45]Read from MH i2c: E2 [10:38:45]MH_I2C_Read... [10:38:45]Read from MH i2c: E2 0B 00 [10:38:45]MH_I2C_Read... [10:38:45]Read from MH i2c: E2 0B 00 7F 10 00 C2 B2 02 33 3B 39 59 B3 90 00 34 [10:38:45]RAPDU: C2 B2 02 33 3B 39 59 B3 90 00 [10:38:45]wFMCommunicate OK [10:38:45]SAM_PROTO_SignData done [10:38:45]FM_MakeSignedData done [10:38:45]CreateOFDProtocolMessage [10:38:45]wFMCommunicate request_size=4 [10:38:45]MH_SAM_APDU [10:38:45]CAPDU: 80 11 00 00 [10:38:45]Write to MH i2c: E2 08 00 80 10 80 11 00 00 00 00 00 00 0A [10:38:45]Write i2c OK [10:38:45]MH_I2C_Read... [10:38:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:38:45]Read from MH i2c: E2 [10:38:45]MH_I2C_Read... [10:38:45]Read from MH i2c: E2 17 00 [10:38:45]MH_I2C_Read... [10:38:45]Read from MH i2c: E2 17 00 80 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 63 [10:38:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [10:38:45]wFMCommunicate OK [10:38:45]CreateOFDProtocolMessage done [10:38:45]OFDSenderStorePacket 27038 [10:38:45]StoreOFDPacket docnum=27038 [10:38:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 2B 01 00 00 35 47 23 01 12 D5 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 61 6E 67 65 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 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 10 00 00 00 F4 03 04 00 B7 1F A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 9E 69 00 00 35 04 06 00 A2 D8 AC 1D 02 95 C2 B2 02 33 3B 39 59 B3 [10:38:45]CheckFolder [10:38:45]dirname=/storage/ofd_packets [10:38:45]CheckFolder done [10:38:45]ProducePacketName [10:38:45]name=ofd_packets/00027038 [10:38:45]NVStorageSaveData ofd_packets/00027038 [10:38:45]File name is /storage/ofd_packets/00027038 [10:38:45]Write 329 bytes [10:38:45]NVStorageSaveData done [10:38:45]OFDSenderStorePacket done [10:38:45]KKMCreateOFDPacket done [10:38:45]NVStorageSaveData kkm_last_timestamp [10:38:45]File name is /storage/kkm_last_timestamp [10:38:45]Write 4 bytes [10:38:45]NVStorageSaveData done [10:38:45]ExternCall_PrintAddStr [10:38:45]wPrintStart [10:38:45]Write to MH i2c: 01 00 00 81 10 91 [10:38:45]Write i2c OK [10:38:45]MH_I2C_Read... [10:38:45]Read from MH i2c: 01 [10:38:45]MH_I2C_Read... [10:38:45]Read from MH i2c: 01 07 00 [10:38:45]MH_I2C_Read... [10:38:45]Read from MH i2c: 01 07 00 81 10 00 00 00 00 00 FF 0F A6 [10:38:45]RasterBufferAndPrint [10:38:45]line Счет N : (3)150436 [10:38:45]line ИНН: 02508201610067 [10:38:45]line Контрольно-Кассовый Чек [10:38:45]line ПРОДАЖА [10:38:45]line Товар: 4650243871781 [10:38:45]line Gorilla эн нап Orange 0,45 ж/б [10:38:45]line 1.000 * 110.00 [10:38:45]line = 110.00 [10:38:45]line НДС 12% НСП 1% [10:38:45]line > о реализуемом товаре [10:38:45]line ИТОГО: 110.00 [10:38:45]line НСП 1% : 0.97 [10:38:45]line НДС 12% : 11.68 [10:38:45]line Наличными: 110.00 [10:38:45]line Безнал.: 0.00 [10:38:45]line Место: АЗС № 134 "Партнер Нефть" [10:38:45]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [10:38:45]line СНО: Общий режим [10:38:45]line Чек 16 28.07.2024 10:38 [10:38:45]line Смена: 433 ФФД: 1.0 [10:38:45]line ЗНМ: 0300000043 [10:38:45]line РНМ: 0000000000092663 [10:38:45]line Версия ККМ: 001 [10:38:45]line ФМ: 0000000000874937 [10:38:45]line ФД: 27038 [10:38:45]line ФПД: 179051484218005 [10:38:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T103847&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27038&fm=179051484218005&tin=02508201610067®Number=0000000000092663&sum=11000 [10:38:45]line 0 [10:38:45]OFD Sender: Processing packet 27038 [packets to send 9, broken 8] [10:38:45]ProducePacketName [10:38:45]name=ofd_packets/00027038 [10:38:45]OFD Sender: To server: pG, [10:38:45]CommunicateWithHost lk.salyk.kg:30040 [10:38:45]ConnectInit lk.salyk.kg [10:38:45]written 0, free lines is 4095 [10:38:45]Connected sock=10 [10:38:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 2B 01 00 00 35 47 23 01 12 D5 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 61 6E 67 65 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 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 10 00 00 00 F4 03 04 00 B7 1F A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 9E 69 00 00 35 04 06 00 A2 D8 AC 1D 02 95 C2 B2 02 33 3B 39 59 B3 [10:38:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 71 14 47 00 2B BF 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 38 37 34 39 33 37 10 04 04 00 9E 69 00 00 F4 03 04 00 0B C6 A5 66 B6 04 01 00 00 DE A9 55 D1 5B 0C B2 14 [10:38:45]CommunicateWithHost err = 0 [10:38:45]CheckOFDResponse [10:38:45]1017 (14) - 77093643461234 [10:38:45]1041 (16) - 0000000000874937 [10:38:45]1040 (4) - 27038 [10:38:45]1012 (4) - 28.07.2024 04:16 [10:38:45]1206 (1) - 0 [10:38:45]OFD Sender: Remove packet 27038 [10:38:45]ProducePacketName [10:38:45]name=ofd_packets/00027038 [10:38:45]NVStorageDeleteData [10:38:45]Write to MH i2c: 01 00 00 A8 10 B8 [10:38:45]Write i2c OK [10:38:45]MH_I2C_Read... [10:38:45]Read from MH i2c: 01 [10:38:45]MH_I2C_Read... [10:38:45]Read from MH i2c: 01 07 00 [10:38:45]MH_I2C_Read... [10:38:45]Read from MH i2c: 01 07 00 A8 10 00 00 00 00 00 E6 0C B1 [10:38:45]RasterBufferAndPrint [10:38:45]line [10:38:45]line [10:38:45]line [10:38:45]line [10:38:45]line [10:38:45]written 0, free lines is 3309 [10:38:45]MH_Cut [10:38:45]Write to MH i2c: D1 01 00 AF 10 01 91 [10:38:45]Write i2c OK [10:38:45]MH_I2C_Read... [10:38:45]Read from MH i2c: D1 [10:38:45]MH_I2C_Read... [10:38:45]Read from MH i2c: D1 01 00 [10:38:45]MH_I2C_Read... [10:38:45]Read from MH i2c: D1 01 00 AF 10 00 90 [10:38:45]Write to MH i2c: 01 00 00 B0 10 C0 [10:38:45]Write i2c OK [10:38:45]MH_I2C_Read... [10:38:46]OFD Sender: No OFD packet to send [10:38:46]*** Cut start [10:38:46]*** Partial cut [10:38:46]*** CUTSNS_PIN = 1 [10:38:46]*** CUTSNS_PIN = 0 [10:38:46]*** Brake cut motor [10:38:47]Read from MH i2c: 01 [10:38:47]MH_I2C_Read... [10:38:47]*** Stop cut motor [10:38:47]*** Cut end [10:38:47]Read from MH i2c: 01 07 00 [10:38:47]MH_I2C_Read... [10:38:47]Read from MH i2c: 01 07 00 B0 10 00 00 00 00 00 FF 0F D5 [10:38:47]process_action close_receipt done [10:38:47]requested_data is exist [10:38:47]produce_requested_data [10:38:47]requested_item fm.sn is exist - process it [10:38:47]wFMCommunicate request_size=4 [10:38:47]MH_SAM_APDU [10:38:47]CAPDU: 80 11 00 00 [10:38:47]Write to MH i2c: E2 08 00 B1 10 80 11 00 00 00 00 00 00 3B [10:38:47]Write i2c OK [10:38:47]MH_I2C_Read... [10:38:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:38:47]Read from MH i2c: E2 [10:38:47]MH_I2C_Read... [10:38:47]Read from MH i2c: E2 17 00 [10:38:47]MH_I2C_Read... [10:38:47]Read from MH i2c: E2 17 00 B1 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 94 [10:38:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [10:38:47]wFMCommunicate OK [10:38:47]requested_item fd.num is exist - process it [10:38:47]SAM_PROTO_GetFieldsCounters [10:38:47]wFMCommunicate request_size=4 [10:38:47]MH_SAM_APDU [10:38:47]CAPDU: 80 13 00 00 [10:38:47]Write to MH i2c: E2 08 00 B2 10 80 13 00 00 00 00 00 00 3E [10:38:47]Write i2c OK [10:38:47]MH_I2C_Read... [10:38:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:38:47]Read from MH i2c: E2 [10:38:47]MH_I2C_Read... [10:38:47]Read from MH i2c: E2 62 00 [10:38:47]MH_I2C_Read... [10:38:47]Read from MH i2c: E2 62 00 B2 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 9E 69 00 00 0E 04 04 00 B1 01 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 4F [10:38:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 9E 69 00 00 0E 04 04 00 B1 01 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:38:47]wFMCommunicate OK [10:38:47]SAM_PROTO_GetFieldsCounters done [10:38:47]requested_item shift.num is exist - process it [10:38:47]requested_item shift.opened is exist - process it [10:38:47]req_shift_opened [10:38:47]FM_GetShiftState [10:38:47]SAM_PROTO_GetShiftState [10:38:47]wFMCommunicate request_size=4 [10:38:47]MH_SAM_APDU [10:38:47]CAPDU: 80 13 01 00 [10:38:47]Write to MH i2c: E2 08 00 B3 10 80 13 01 00 00 00 00 00 40 [10:38:47]Write i2c OK [10:38:47]MH_I2C_Read... [10:38:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:38:47]Read from MH i2c: E2 [10:38:47]MH_I2C_Read... [10:38:47]Read from MH i2c: E2 0E 00 [10:38:47]MH_I2C_Read... [10:38:47]Read from MH i2c: E2 0E 00 B3 10 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 68 [10:38:47]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [10:38:47]wFMCommunicate OK [10:38:47]SAM_PROTO_GetShiftState done [10:38:47]FM_GetShiftState done [10:38:47]req_shift_opened done [10:38:47]requested_item shift.open_date is exist - process it [10:38:47]req_shift_open_date [10:38:47]req_shift_open_date done [10:38:47]produce_requested_data done [10:38:47]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27038,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [10:38:47]process_action_free close_receipt [10:38:47]json_value_free [10:38:47]json_value_free done [10:38:47]process_json_proto returns [10:38:47]Send response to host [10:38:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27038,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [10:38:47]free response buf [10:38:47]execute_script done [10:38:47]execute_script returns [10:38:47]free content buf [10:38:47]Sock 9.Close socket [10:38:47]Sock 9.Thread stoped [10:38:51]OFD Sender: No OFD packet to send [10:38:56]OFD Sender: No OFD packet to send [10:39:01]OFD Sender: No OFD packet to send [10:39:06]OFD Sender: No OFD packet to send [10:39:11]OFD Sender: No OFD packet to send [10:39:16]OFD Sender: No OFD packet to send [10:39:21]OFD Sender: No OFD packet to send [10:39:26]OFD Sender: No OFD packet to send [10:39:31]OFD Sender: No OFD packet to send [10:39:36]OFD Sender: No OFD packet to send [10:39:41]OFD Sender: No OFD packet to send [10:39:46]OFD Sender: No OFD packet to send [10:39:51]OFD Sender: No OFD packet to send [10:39:56]OFD Sender: No OFD packet to send [10:40:01]OFD Sender: No OFD packet to send [10:40:06]OFD Sender: No OFD packet to send [10:40:11]OFD Sender: No OFD packet to send [10:40:16]OFD Sender: No OFD packet to send [10:40:21]OFD Sender: No OFD packet to send [10:40:26]OFD Sender: No OFD packet to send [10:40:31]OFD Sender: No OFD packet to send [10:40:36]OFD Sender: No OFD packet to send [10:40:41]OFD Sender: No OFD packet to send [10:40:46]OFD Sender: No OFD packet to send [10:40:51]OFD Sender: No OFD packet to send [10:40:56]OFD Sender: No OFD packet to send [10:41:01]OFD Sender: No OFD packet to send [10:41:06]OFD Sender: No OFD packet to send [10:41:11]OFD Sender: No OFD packet to send [10:41:16]OFD Sender: No OFD packet to send [10:41:21]OFD Sender: No OFD packet to send [10:41:26]OFD Sender: No OFD packet to send [10:41:31]OFD Sender: No OFD packet to send [10:41:36]OFD Sender: No OFD packet to send [10:41:41]OFD Sender: No OFD packet to send [10:41:46]OFD Sender: No OFD packet to send [10:41:51]OFD Sender: No OFD packet to send [10:41:56]OFD Sender: No OFD packet to send [10:42:01]OFD Sender: No OFD packet to send [10:42:06]OFD Sender: No OFD packet to send [10:42:11]OFD Sender: No OFD packet to send [10:42:16]OFD Sender: No OFD packet to send [10:42:21]OFD Sender: No OFD packet to send [10:42:26]OFD Sender: No OFD packet to send [10:42:31]OFD Sender: No OFD packet to send [10:42:36]OFD Sender: No OFD packet to send [10:42:41]OFD Sender: No OFD packet to send [10:42:46]OFD Sender: No OFD packet to send [10:42:51]OFD Sender: No OFD packet to send [10:42:56]OFD Sender: No OFD packet to send [10:43:01]OFD Sender: No OFD packet to send [10:43:06]OFD Sender: No OFD packet to send [10:43:11]OFD Sender: No OFD packet to send [10:43:14]accept exits with 7 [10:43:14]New connection [10:43:14]New thread 3067387236 created [10:43:14]Thread 3067530596 joined [10:43:14]Waiting for new connection... [10:43:14] Sock 7.Parse request [10:43:14]Sock 7.Check first char [10:43:14]Sock 7.First char is OK [10:43:14]request: POST /json_proto HTTP/1.0 [10:43:14]Method: POST [10:43:14]URL: /json_proto [10:43:14]Method is POST - this is cgi request [10:43:14]url: /json_proto [10:43:14]query_string will be loaded in cgi processing [10:43:14]execute_cgi json_proto POST (null) [10:43:14]execute_cgi path=json_proto method=POST [10:43:14]POST find Content-Length [10:43:14]Host: 172.17.45.8:8080 [10:43:14]Content-Length: 940 [10:43:14]Content-Type: application/json [10:43:14] [10:43:14]POST finish read [10:43:14]Found Content-Length = 940 [10:43:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150437", "tax_sys" : 0, "items" : [ { "code": "4700001060862", "name": "\u041D\u0430\u0441\u0442\u043E\u0439\u043A\u0430 \u041A\u043E\u0444\u0435 \u043D\u0430 \u043A\u043E\u043D\u044C\u044F\u043A\u0435 0,2\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 240.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:43:14]execute_script... [10:43: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)150437", "tax_sys" : 0, "items" : [ { "code": "4700001060862", "name": "\u041D\u0430\u0441\u0442\u043E\u0439\u043A\u0430 \u041A\u043E\u0444\u0435 \u043D\u0430 \u043A\u043E\u043D\u044C\u044F\u043A\u0435 0,2\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 240.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:43:14]POST & json_proto [10:43:14]process_json_proto [10:43:14]json parsed OK: [10:43:14]protocol is kg_v1.0 [10:43:14]action value=close_receipt [10:43:14]process_action close_receipt [10:43:14]cmd_close_receipt [10:43:14]MH_GetDate [10:43:14]Write to MH i2c: F0 00 00 B4 10 B3 [10:43:14]Write i2c OK [10:43:14]MH_I2C_Read... [10:43:14]Read from MH i2c: F0 [10:43:14]MH_I2C_Read... [10:43:14]Read from MH i2c: F0 09 00 [10:43:14]MH_I2C_Read... [10:43:14]Read from MH i2c: F0 09 00 B4 10 00 C6 20 A6 66 A6 1F 7F 64 56 [10:43:14]GetLastDocTimeStamp 1722163127 [10:43:14]current date 1722163398 [10:43:14]FM_GetShiftState [10:43:14]SAM_PROTO_GetShiftState [10:43:14]wFMCommunicate request_size=4 [10:43:14]MH_SAM_APDU [10:43:14]CAPDU: 80 13 01 00 [10:43:14]Write to MH i2c: E2 08 00 B5 10 80 13 01 00 00 00 00 00 42 [10:43:14]Write i2c OK [10:43:14]MH_I2C_Read... [10:43:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:43:14]Read from MH i2c: E2 [10:43:14]MH_I2C_Read... [10:43:14]Read from MH i2c: E2 0E 00 [10:43:14]MH_I2C_Read... [10:43:14]Read from MH i2c: E2 0E 00 B5 10 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 6A [10:43:14]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [10:43:14]wFMCommunicate OK [10:43:14]SAM_PROTO_GetShiftState done [10:43:14]FM_GetShiftState done [10:43:14]opened in 1722127230 [10:43:14]opened+sec_in_day 1722213630 [10:43:14]quantity*price = 20000 [10:43:14]sum+1 = 20001 [10:43:14]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160198 Вода Байтик 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 240.00 НСП 1% : 2.12 НДС 12% : 25.49 Наличными: 240.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 17 28.07.2024 10:43 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27039 ФПД: 132731632284746 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T104318&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27039&fm=132731632284746&tin=02508201610067®Number=0000000000092663&sum=24000 0 [10:43:15]StoreToDocumentArchive [10:43:15]shift 433 fd 27039 [10:43:15]save to /storage/0433/doc_00027039 [10:43:15]save last doc name /storage/0433/doc_00027039 to /storage/kkm_last_doc_name [10:43:15]save OK [10:43:15]Clear old archive folders... [10:43:15]ProcessDocumentItem done err = 0, tmpTLVsize=392 [10:43:15]tlvbuf is 01811E80 [10:43:15]SAM_PROTO_ClearQueue [10:43:15]wFMCommunicate request_size=4 [10:43:15]MH_SAM_APDU [10:43:15]CAPDU: 80 09 00 00 [10:43:15]Write to MH i2c: E2 08 00 C2 10 80 09 00 00 00 00 00 00 44 [10:43:15]Write i2c OK [10:43:15]MH_I2C_Read... [10:43:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:43:15]Read from MH i2c: E2 [10:43:15]MH_I2C_Read... [10:43:15]Read from MH i2c: E2 03 00 [10:43:15]MH_I2C_Read... [10:43:15]Read from MH i2c: E2 03 00 C2 10 00 90 00 46 [10:43:15]RAPDU: 90 00 [10:43:15]wFMCommunicate OK [10:43:15]SAM_PROTO_ClearQueue done [10:43:15]KKMCreateOFDPacket [10:43:15]OFDProtocolAddRootSTLVToBuf [10:43:15]FM_MakeSignedData [10:43:15]FM_MakeSignedData [10:43:15]SAM_PROTO_SignData [10:43:15]wFMCommunicate request_size=4 [10:43:15]MH_SAM_APDU [10:43:15]CAPDU: 80 0D 01 02 [10:43:15]Write to MH i2c: E2 08 00 C3 10 80 0D 01 02 00 00 00 00 4C [10:43:15]Write i2c OK [10:43:15]MH_I2C_Read... [10:43:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:43:16]Read from MH i2c: E2 [10:43:16]MH_I2C_Read... [10:43:16]Read from MH i2c: E2 03 00 [10:43:16]MH_I2C_Read... [10:43:16]Read from MH i2c: E2 03 00 C3 10 00 90 00 47 [10:43:16]RAPDU: 90 00 [10:43:16]wFMCommunicate OK [10:43:16]wFMCommunicate request_size=255 [10:43:16]MH_SAM_APDU [10:43:16]CAPDU: 80 0D 02 02 FA 03 00 88 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 38 36 32 06 04 33 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 9A D0 BE D1 84 D0 B5 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 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 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 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 [10:43:16]Write to MH i2c: E2 02 01 C4 10 80 0D 02 02 FA 00 03 00 88 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 38 36 32 06 04 33 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 9A D0 BE D1 84 D0 B5 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 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 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 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 00 00 0B [10:43:16]Write i2c OK [10:43:16]MH_I2C_Read... [10:43:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:43:16]Read from MH i2c: E2 [10:43:16]MH_I2C_Read... [10:43:16]Read from MH i2c: E2 03 00 [10:43:16]MH_I2C_Read... [10:43:16]Read from MH i2c: E2 03 00 C4 10 00 90 00 48 [10:43:16]RAPDU: 90 00 [10:43:16]wFMCommunicate OK [10:43:16]wFMCommunicate request_size=151 [10:43:16]MH_SAM_APDU [10:43:16]CAPDU: 80 0D 02 02 92 03 01 00 01 F7 03 06 00 D4 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 11 00 00 00 F4 03 04 00 C6 20 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 9F 69 00 00 35 04 06 00 78 B7 FD CA F4 4A [10:43:16]Write to MH i2c: E2 9A 00 C5 10 80 0D 02 02 92 00 03 01 00 01 F7 03 06 00 D4 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 11 00 00 00 F4 03 04 00 C6 20 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 9F 69 00 00 35 04 06 00 78 B7 FD CA F4 4A 00 00 8C [10:43:16]Write i2c OK [10:43:16]MH_I2C_Read... [10:43:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:43:16]Read from MH i2c: E2 [10:43:16]MH_I2C_Read... [10:43:16]Read from MH i2c: E2 03 00 [10:43:16]MH_I2C_Read... [10:43:16]Read from MH i2c: E2 03 00 C5 10 00 90 00 49 [10:43:16]RAPDU: 90 00 [10:43:16]wFMCommunicate OK [10:43:16]wFMCommunicate request_size=4 [10:43:16]MH_SAM_APDU [10:43:16]CAPDU: 80 0D 03 02 [10:43:16]Write to MH i2c: E2 08 00 C6 10 80 0D 03 02 00 00 00 00 51 [10:43:16]Write i2c OK [10:43:16]MH_I2C_Read... [10:43:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:43:16]Read from MH i2c: E2 [10:43:16]MH_I2C_Read... [10:43:16]Read from MH i2c: E2 0B 00 [10:43:16]MH_I2C_Read... [10:43:16]Read from MH i2c: E2 0B 00 C6 10 00 61 35 89 01 85 0A 7A 76 90 00 F1 [10:43:16]RAPDU: 61 35 89 01 85 0A 7A 76 90 00 [10:43:16]wFMCommunicate OK [10:43:16]SAM_PROTO_SignData done [10:43:16]FM_MakeSignedData done [10:43:16]CreateOFDProtocolMessage [10:43:16]wFMCommunicate request_size=4 [10:43:16]MH_SAM_APDU [10:43:16]CAPDU: 80 11 00 00 [10:43:16]Write to MH i2c: E2 08 00 C7 10 80 11 00 00 00 00 00 00 51 [10:43:16]Write i2c OK [10:43:16]MH_I2C_Read... [10:43:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:43:16]Read from MH i2c: E2 [10:43:16]MH_I2C_Read... [10:43:16]Read from MH i2c: E2 17 00 [10:43:16]MH_I2C_Read... [10:43:16]Read from MH i2c: E2 17 00 C7 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 AA [10:43:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [10:43:16]wFMCommunicate OK [10:43:16]CreateOFDProtocolMessage done [10:43:16]OFDSenderStorePacket 27039 [10:43:16]StoreOFDPacket docnum=27039 [10:43:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 9C 01 00 00 B8 39 94 01 A8 8C 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 38 36 32 06 04 33 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 9A D0 BE D1 84 D0 B5 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 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 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 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 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 11 00 00 00 F4 03 04 00 C6 20 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 9F 69 00 00 35 04 06 00 78 B7 FD CA F4 4A 61 35 89 01 85 0A 7A 76 [10:43:16]CheckFolder [10:43:16]dirname=/storage/ofd_packets [10:43:16]CheckFolder done [10:43:16]ProducePacketName [10:43:16]name=ofd_packets/00027039 [10:43:16]NVStorageSaveData ofd_packets/00027039 [10:43:16]File name is /storage/ofd_packets/00027039 [10:43:16]Write 442 bytes [10:43:16]NVStorageSaveData done [10:43:16]OFDSenderStorePacket done [10:43:16]KKMCreateOFDPacket done [10:43:16]NVStorageSaveData kkm_last_timestamp [10:43:16]File name is /storage/kkm_last_timestamp [10:43:16]Write 4 bytes [10:43:16]NVStorageSaveData done [10:43:16]ExternCall_PrintAddStr [10:43:16]wPrintStart [10:43:16]Write to MH i2c: 01 00 00 C8 10 D8 [10:43:16]OFD Sender: No OFD packet to send [10:43:16]Write i2c OK [10:43:16]MH_I2C_Read... [10:43:16]Read from MH i2c: 01 [10:43:16]MH_I2C_Read... [10:43:16]Read from MH i2c: 01 07 00 [10:43:16]MH_I2C_Read... [10:43:16]Read from MH i2c: 01 07 00 C8 10 00 00 00 00 00 FF 0F ED [10:43:16]RasterBufferAndPrint [10:43:16]line Счет N : (3)150437 [10:43:16]line ИНН: 02508201610067 [10:43:16]line Контрольно-Кассовый Чек [10:43:16]line ПРОДАЖА [10:43:16]line Товар: 4700001060862 [10:43:16]line Настойка Кофе на коньяке 0,2л [10:43:16]line 1.000 * 200.00 [10:43:16]line = 200.00 [10:43:16]line НДС 12% НСП 1% [10:43:16]line > о реализуемом товаре [10:43:16]line Товар: 4700000160198 [10:43:16]line Вода Байтик 0,5л [10:43:16]line 1.000 * 40.00 [10:43:16]line = 40.00 [10:43:16]line НДС 12% НСП 1% [10:43:16]line > о реализуемом товаре [10:43:16]line ИТОГО: 240.00 [10:43:16]line НСП 1% : 2.12 [10:43:16]line НДС 12% : 25.49 [10:43:16]line Наличными: 240.00 [10:43:16]line Безнал.: 0.00 [10:43:16]line Место: АЗС № 134 "Партнер Нефть" [10:43:16]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [10:43:16]line СНО: Общий режим [10:43:16]line Чек 17 28.07.2024 10:43 [10:43:16]line Смена: 433 ФФД: 1.0 [10:43:16]line ЗНМ: 0300000043 [10:43:16]line РНМ: 0000000000092663 [10:43:16]line Версия ККМ: 001 [10:43:16]line ФМ: 0000000000874937 [10:43:16]line ФД: 27039 [10:43:16]line ФПД: 132731632284746 [10:43:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T104318&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27039&fm=132731632284746&tin=02508201610067®Number=0000000000092663&sum=24000 [10:43:16]line 0 [10:43:16]OFD Sender: Processing packet 27039 [packets to send 9, broken 8] [10:43:16]ProducePacketName [10:43:16]name=ofd_packets/00027039 [10:43:16]OFD Sender: To server: pG, [10:43:16]CommunicateWithHost lk.salyk.kg:30040 [10:43:16]ConnectInit lk.salyk.kg [10:43:16]written 0, free lines is 4095 [10:43:17]Connected sock=10 [10:43:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 9C 01 00 00 B8 39 94 01 A8 8C 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 38 36 32 06 04 33 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 9A D0 BE D1 84 D0 B5 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 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 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 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 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 11 00 00 00 F4 03 04 00 C6 20 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 9F 69 00 00 35 04 06 00 78 B7 FD CA F4 4A 61 35 89 01 85 0A 7A 76 [10:43:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 75 2C 47 00 9C CB 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 38 37 34 39 33 37 10 04 04 00 9F 69 00 00 F4 03 04 00 1A C7 A5 66 B6 04 01 00 00 7A D8 65 D9 23 BA 1D 58 [10:43:17]CommunicateWithHost err = 0 [10:43:17]CheckOFDResponse [10:43:17]1017 (14) - 77093643461234 [10:43:17]1041 (16) - 0000000000874937 [10:43:17]1040 (4) - 27039 [10:43:17]1012 (4) - 28.07.2024 04:20 [10:43:17]1206 (1) - 0 [10:43:17]OFD Sender: Remove packet 27039 [10:43:17]ProducePacketName [10:43:17]name=ofd_packets/00027039 [10:43:17]NVStorageDeleteData [10:43:17]Write to MH i2c: 01 00 00 F6 10 06 [10:43:17]Write i2c OK [10:43:17]MH_I2C_Read... [10:43:17]Read from MH i2c: 01 [10:43:17]MH_I2C_Read... [10:43:17]Read from MH i2c: 01 07 00 [10:43:17]MH_I2C_Read... [10:43:17]Read from MH i2c: 01 07 00 F6 10 00 00 00 00 00 95 0C AE [10:43:17]RasterBufferAndPrint [10:43:17]line [10:43:17]line [10:43:17]line [10:43:17]line [10:43:17]line [10:43:17]written 0, free lines is 3230 [10:43:17]MH_Cut [10:43:17]Write to MH i2c: D1 01 00 FD 10 01 DF [10:43:17]Write i2c OK [10:43:17]MH_I2C_Read... [10:43:17]Read from MH i2c: D1 [10:43:17]MH_I2C_Read... [10:43:17]Read from MH i2c: D1 01 00 [10:43:17]MH_I2C_Read... [10:43:17]Read from MH i2c: D1 01 00 FD 10 00 DE [10:43:17]Write to MH i2c: 01 00 00 FE 10 0E [10:43:17]Write i2c OK [10:43:17]MH_I2C_Read... [10:43:17]OFD Sender: No OFD packet to send [10:43:18]*** Cut start [10:43:18]*** Partial cut [10:43:18]*** CUTSNS_PIN = 1 [10:43:18]*** CUTSNS_PIN = 0 [10:43:18]*** Brake cut motor [10:43:18]Read from MH i2c: 01 [10:43:18]MH_I2C_Read... [10:43:18]*** Stop cut motor [10:43:18]*** Cut end [10:43:18]Read from MH i2c: 01 07 00 [10:43:18]MH_I2C_Read... [10:43:18]Read from MH i2c: 01 07 00 FE 10 00 00 00 00 00 FF 0F 23 [10:43:18]process_action close_receipt done [10:43:18]requested_data is exist [10:43:18]produce_requested_data [10:43:18]requested_item fm.sn is exist - process it [10:43:18]wFMCommunicate request_size=4 [10:43:18]MH_SAM_APDU [10:43:18]CAPDU: 80 11 00 00 [10:43:18]Write to MH i2c: E2 08 00 FF 10 80 11 00 00 00 00 00 00 89 [10:43:18]Write i2c OK [10:43:18]MH_I2C_Read... [10:43:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:43:18]Read from MH i2c: E2 [10:43:18]MH_I2C_Read... [10:43:18]Read from MH i2c: E2 17 00 [10:43:18]MH_I2C_Read... [10:43:18]Read from MH i2c: E2 17 00 FF 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 E2 [10:43:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [10:43:18]wFMCommunicate OK [10:43:18]requested_item fd.num is exist - process it [10:43:18]SAM_PROTO_GetFieldsCounters [10:43:18]wFMCommunicate request_size=4 [10:43:18]MH_SAM_APDU [10:43:18]CAPDU: 80 13 00 00 [10:43:18]Write to MH i2c: E2 08 00 00 11 80 13 00 00 00 00 00 00 8D [10:43:18]Write i2c OK [10:43:18]MH_I2C_Read... [10:43:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:43:19]Read from MH i2c: E2 [10:43:19]MH_I2C_Read... [10:43:19]Read from MH i2c: E2 62 00 [10:43:19]MH_I2C_Read... [10:43:19]Read from MH i2c: E2 62 00 00 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 9F 69 00 00 0E 04 04 00 B1 01 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 A2 [10:43:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 9F 69 00 00 0E 04 04 00 B1 01 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:43:19]wFMCommunicate OK [10:43:19]SAM_PROTO_GetFieldsCounters done [10:43:19]requested_item shift.num is exist - process it [10:43:19]requested_item shift.opened is exist - process it [10:43:19]req_shift_opened [10:43:19]FM_GetShiftState [10:43:19]SAM_PROTO_GetShiftState [10:43:19]wFMCommunicate request_size=4 [10:43:19]MH_SAM_APDU [10:43:19]CAPDU: 80 13 01 00 [10:43:19]Write to MH i2c: E2 08 00 01 11 80 13 01 00 00 00 00 00 8F [10:43:19]Write i2c OK [10:43:19]MH_I2C_Read... [10:43:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:43:19]Read from MH i2c: E2 [10:43:19]MH_I2C_Read... [10:43:19]Read from MH i2c: E2 0E 00 [10:43:19]MH_I2C_Read... [10:43:19]Read from MH i2c: E2 0E 00 01 11 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 B7 [10:43:19]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [10:43:19]wFMCommunicate OK [10:43:19]SAM_PROTO_GetShiftState done [10:43:19]FM_GetShiftState done [10:43:19]req_shift_opened done [10:43:19]requested_item shift.open_date is exist - process it [10:43:19]req_shift_open_date [10:43:19]req_shift_open_date done [10:43:19]produce_requested_data done [10:43:19]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27039,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [10:43:19]process_action_free close_receipt [10:43:19]json_value_free [10:43:19]json_value_free done [10:43:19]process_json_proto returns [10:43:19]Send response to host [10:43:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27039,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [10:43:19]free response buf [10:43:19]execute_script done [10:43:19]execute_script returns [10:43:19]free content buf [10:43:19]Sock 7.Close socket [10:43:19]Sock 7.Thread stoped [10:43:22]OFD Sender: No OFD packet to send [10:43:27]OFD Sender: No OFD packet to send [10:43:32]OFD Sender: No OFD packet to send [10:43:37]OFD Sender: No OFD packet to send [10:43:42]OFD Sender: No OFD packet to send [10:43:47]OFD Sender: No OFD packet to send [10:43:52]OFD Sender: No OFD packet to send [10:43:57]OFD Sender: No OFD packet to send [10:44:02]OFD Sender: No OFD packet to send [10:44:07]OFD Sender: No OFD packet to send [10:44:12]OFD Sender: No OFD packet to send [10:44:17]OFD Sender: No OFD packet to send [10:44:22]OFD Sender: No OFD packet to send [10:44:27]OFD Sender: No OFD packet to send [10:44:32]OFD Sender: No OFD packet to send [10:44:37]OFD Sender: No OFD packet to send [10:44:42]OFD Sender: No OFD packet to send [10:44:47]OFD Sender: No OFD packet to send [10:44:52]OFD Sender: No OFD packet to send [10:44:57]OFD Sender: No OFD packet to send [10:45:02]OFD Sender: No OFD packet to send [10:45:07]OFD Sender: No OFD packet to send [10:45:12]OFD Sender: No OFD packet to send [10:45:17]OFD Sender: No OFD packet to send [10:45:22]OFD Sender: No OFD packet to send [10:45:27]OFD Sender: No OFD packet to send [10:45:32]OFD Sender: No OFD packet to send [10:45:37]OFD Sender: No OFD packet to send [10:45:42]OFD Sender: No OFD packet to send [10:45:47]OFD Sender: No OFD packet to send [10:45:52]OFD Sender: No OFD packet to send [10:45:57]OFD Sender: No OFD packet to send [10:46:02]OFD Sender: No OFD packet to send [10:46:07]OFD Sender: No OFD packet to send [10:46:12]OFD Sender: No OFD packet to send [10:46:17]OFD Sender: No OFD packet to send [10:46:22]OFD Sender: No OFD packet to send [10:46:27]OFD Sender: No OFD packet to send [10:46:32]OFD Sender: No OFD packet to send [10:46:37]OFD Sender: No OFD packet to send [10:46:42]OFD Sender: No OFD packet to send [10:46:47]OFD Sender: No OFD packet to send [10:46:52]OFD Sender: No OFD packet to send [10:46:57]OFD Sender: No OFD packet to send [10:47:02]OFD Sender: No OFD packet to send [10:47:07]OFD Sender: No OFD packet to send [10:47:12]OFD Sender: No OFD packet to send [10:47:17]OFD Sender: No OFD packet to send [10:47:22]OFD Sender: No OFD packet to send [10:47:27]OFD Sender: No OFD packet to send [10:47:32]OFD Sender: No OFD packet to send [10:47:37]OFD Sender: No OFD packet to send [10:47:42]OFD Sender: No OFD packet to send [10:47:47]OFD Sender: No OFD packet to send [10:47:52]OFD Sender: No OFD packet to send [10:47:57]OFD Sender: No OFD packet to send [10:48:02]OFD Sender: No OFD packet to send [10:48:07]OFD Sender: No OFD packet to send [10:48:12]OFD Sender: No OFD packet to send [10:48:18]OFD Sender: No OFD packet to send [10:48:23]OFD Sender: No OFD packet to send [10:48:28]OFD Sender: No OFD packet to send [10:48:33]OFD Sender: No OFD packet to send [10:48:38]OFD Sender: No OFD packet to send [10:48:43]OFD Sender: No OFD packet to send [10:48:48]OFD Sender: No OFD packet to send [10:48:53]OFD Sender: No OFD packet to send [10:48:58]OFD Sender: No OFD packet to send [10:49:03]OFD Sender: No OFD packet to send [10:49:08]OFD Sender: No OFD packet to send [10:49:13]OFD Sender: No OFD packet to send [10:49:18]OFD Sender: No OFD packet to send [10:49:23]OFD Sender: No OFD packet to send [10:49:28]OFD Sender: No OFD packet to send [10:49:33]OFD Sender: No OFD packet to send [10:49:38]OFD Sender: No OFD packet to send [10:49:43]OFD Sender: No OFD packet to send [10:49:48]OFD Sender: No OFD packet to send [10:49:53]OFD Sender: No OFD packet to send [10:49:58]OFD Sender: No OFD packet to send [10:50:03]OFD Sender: No OFD packet to send [10:50:08]OFD Sender: No OFD packet to send [10:50:13]OFD Sender: No OFD packet to send [10:50:14]accept exits with 9 [10:50:14]New connection [10:50:14]New thread 3067530596 created [10:50:14]Thread 3067387236 joined [10:50:14]Waiting for new connection... [10:50:14] Sock 9.Parse request [10:50:14]Sock 9.Check first char [10:50:14]Sock 9.First char is OK [10:50:14]request: POST /json_proto HTTP/1.0 [10:50:14]Method: POST [10:50:14]URL: /json_proto [10:50:14]Method is POST - this is cgi request [10:50:14]url: /json_proto [10:50:14]query_string will be loaded in cgi processing [10:50:14]execute_cgi json_proto POST (null) [10:50:14]execute_cgi path=json_proto method=POST [10:50:14]POST find Content-Length [10:50:14]Host: 172.17.45.8:8080 [10:50:14]Content-Length: 1568 [10:50:14]Content-Type: application/json [10:50:14] [10:50:14]POST finish read [10:50:14]Found Content-Length = 1568 [10:50:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150438", "tax_sys" : 0, "items" : [ { "code": "4603290004817", "name": "\u041F\u0435\u0447 \u0437\u0430\u0442 \u042F\u0448\u043A\u0438\u043D\u043E \u043A\u043B\u0443\u0431\u043D \u041A\u0440\u0435\u043C 182\u0433", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4603290004824", "name": "\u041F\u0435\u0447 \u0437\u0430\u0442 \u042F\u0448\u043A\u0438\u043D\u043E \u0441\u043B\u0438\u0432 \u041A\u0440\u0435\u043C 182\u0433", "price" : 81.00, "quantity" : 1.000, "sum" : 81.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4603290004831", "name": "\u041F\u0435\u0447.\u0437\u0430\u0442.TONDI \u0421\u044D\u043D\u0434.\u0448\u043E\u043A.\u0432\u043A.", "price" : 86.00, "quantity" : 1.000, "sum" : 86.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 377.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:50:14]execute_script... [10:50: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)150438", "tax_sys" : 0, "items" : [ { "code": "4603290004817", "name": "\u041F\u0435\u0447 \u0437\u0430\u0442 \u042F\u0448\u043A\u0438\u043D\u043E \u043A\u043B\u0443\u0431\u043D \u041A\u0440\u0435\u043C 182\u0433", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4603290004824", "name": "\u041F\u0435\u0447 \u0437\u0430\u0442 \u042F\u0448\u043A\u0438\u043D\u043E \u0441\u043B\u0438\u0432 \u041A\u0440\u0435\u043C 182\u0433", "price" : 81.00, "quantity" : 1.000, "sum" : 81.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4603290004831", "name": "\u041F\u0435\u0447.\u0437\u0430\u0442.TONDI \u0421\u044D\u043D\u0434.\u0448\u043E\u043A.\u0432\u043A.", "price" : 86.00, "quantity" : 1.000, "sum" : 86.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 377.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:50:14]POST & json_proto [10:50:14]process_json_proto [10:50:14]json parsed OK: [10:50:14]protocol is kg_v1.0 [10:50:14]action value=close_receipt [10:50:14]process_action close_receipt [10:50:14]cmd_close_receipt [10:50:14]MH_GetDate [10:50:14]Write to MH i2c: F0 00 00 02 11 02 [10:50:14]Write i2c OK [10:50:14]MH_I2C_Read... [10:50:14]Read from MH i2c: F0 [10:50:14]MH_I2C_Read... [10:50:14]Read from MH i2c: F0 09 00 [10:50:14]MH_I2C_Read... [10:50:14]Read from MH i2c: F0 09 00 02 11 00 6A 22 A6 66 A6 1F 7F 64 4B [10:50:14]GetLastDocTimeStamp 1722163398 [10:50:14]current date 1722163818 [10:50:14]FM_GetShiftState [10:50:14]SAM_PROTO_GetShiftState [10:50:14]wFMCommunicate request_size=4 [10:50:14]MH_SAM_APDU [10:50:14]CAPDU: 80 13 01 00 [10:50:14]Write to MH i2c: E2 08 00 03 11 80 13 01 00 00 00 00 00 91 [10:50:14]Write i2c OK [10:50:14]MH_I2C_Read... [10:50:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:50:14]Read from MH i2c: E2 [10:50:14]MH_I2C_Read... [10:50:14]Read from MH i2c: E2 0E 00 [10:50:14]MH_I2C_Read... [10:50:14]Read from MH i2c: E2 0E 00 03 11 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 B9 [10:50:14]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [10:50:14]wFMCommunicate OK [10:50:14]SAM_PROTO_GetShiftState done [10:50:14]FM_GetShiftState done [10:50:14]opened in 1722127230 [10:50:14]opened+sec_in_day 1722213630 [10:50:14]quantity*price = 8000 [10:50:14]sum+1 = 8001 [10:50:14]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4603290004824 Печ зат Яшкино слив Крем 182г 1.000 * 81.00 = 81.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4603290004831 Печ.зат.TONDI Сэнд.шок.вк. 1.000 * 86.00 = 86.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700040114120 Султан чай 1л. чер персик 2.000 * 65.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 377.00 НСП 1% : 3.34 НДС 12% : 40.03 Наличными: 377.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 18 28.07.2024 10:50 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27040 ФПД: 230946391074979 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T105018&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27040&fm=230946391074979&tin=02508201610067®Number=0000000000092663&sum=37700 0 [10:50:15]StoreToDocumentArchive [10:50:15]shift 433 fd 27040 [10:50:15]save to /storage/0433/doc_00027040 [10:50:15]save last doc name /storage/0433/doc_00027040 to /storage/kkm_last_doc_name [10:50:15]save OK [10:50:15]Clear old archive folders... [10:50:15]ProcessDocumentItem done err = 0, tmpTLVsize=645 [10:50:15]tlvbuf is 018955A0 [10:50:15]SAM_PROTO_ClearQueue [10:50:15]wFMCommunicate request_size=4 [10:50:15]MH_SAM_APDU [10:50:15]CAPDU: 80 09 00 00 [10:50:15]Write to MH i2c: E2 08 00 10 11 80 09 00 00 00 00 00 00 93 [10:50:15]Write i2c OK [10:50:15]MH_I2C_Read... [10:50:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:50:15]Read from MH i2c: E2 [10:50:15]MH_I2C_Read... [10:50:15]Read from MH i2c: E2 03 00 [10:50:15]MH_I2C_Read... [10:50:15]Read from MH i2c: E2 03 00 10 11 00 90 00 95 [10:50:15]RAPDU: 90 00 [10:50:15]wFMCommunicate OK [10:50:15]SAM_PROTO_ClearQueue done [10:50:15]KKMCreateOFDPacket [10:50:15]OFDProtocolAddRootSTLVToBuf [10:50:15]FM_MakeSignedData [10:50:15]FM_MakeSignedData [10:50:15]SAM_PROTO_SignData [10:50:15]wFMCommunicate request_size=4 [10:50:15]MH_SAM_APDU [10:50:15]CAPDU: 80 0D 01 02 [10:50:15]Write to MH i2c: E2 08 00 11 11 80 0D 01 02 00 00 00 00 9B [10:50:15]Write i2c OK [10:50:15]MH_I2C_Read... [10:50:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:50:15]Read from MH i2c: E2 [10:50:15]MH_I2C_Read... [10:50:15]Read from MH i2c: E2 03 00 [10:50:15]MH_I2C_Read... [10:50:15]Read from MH i2c: E2 03 00 11 11 00 90 00 96 [10:50:15]RAPDU: 90 00 [10:50:15]wFMCommunicate OK [10:50:15]wFMCommunicate request_size=255 [10:50:15]MH_SAM_APDU [10:50:15]CAPDU: 80 0D 02 02 FA 03 00 85 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 31 37 06 04 34 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 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 23 04 76 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 32 34 06 04 32 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 [10:50:15]Write to MH i2c: E2 02 01 12 11 80 0D 02 02 FA 00 03 00 85 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 31 37 06 04 34 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 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 23 04 76 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 32 34 06 04 32 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 00 00 C0 [10:50:15]Write i2c OK [10:50:15]MH_I2C_Read... [10:50:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:50:15]Read from MH i2c: E2 [10:50:15]MH_I2C_Read... [10:50:15]Read from MH i2c: E2 03 00 [10:50:15]MH_I2C_Read... [10:50:15]Read from MH i2c: E2 03 00 12 11 00 90 00 97 [10:50:15]RAPDU: 90 00 [10:50:15]wFMCommunicate OK [10:50:15]wFMCommunicate request_size=255 [10:50:15]MH_SAM_APDU [10:50:15]CAPDU: 80 0D 02 02 FA BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 33 31 06 04 29 00 D0 9F D0 B5 D1 87 2E D0 B7 D0 B0 D1 82 2E 54 4F 4E 44 49 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2E D0 B2 D0 BA 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 21 00 00 00 00 13 04 06 00 98 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 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 44 93 00 00 00 00 EB 03 26 00 EF 03 [10:50:15]Write to MH i2c: E2 02 01 13 11 80 0D 02 02 FA 00 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 33 31 06 04 29 00 D0 9F D0 B5 D1 87 2E D0 B7 D0 B0 D1 82 2E 54 4F 4E 44 49 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2E D0 B2 D0 BA 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 21 00 00 00 00 13 04 06 00 98 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 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 44 93 00 00 00 00 EB 03 26 00 EF 03 00 00 03 [10:50:16]Write i2c OK [10:50:16]MH_I2C_Read... [10:50:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:50:16]Read from MH i2c: E2 [10:50:16]MH_I2C_Read... [10:50:16]Read from MH i2c: E2 03 00 [10:50:16]MH_I2C_Read... [10:50:16]Read from MH i2c: E2 03 00 13 11 00 90 00 98 [10:50:16]RAPDU: 90 00 [10:50:16]wFMCommunicate OK [10:50:16]wFMCommunicate request_size=154 [10:50:16]MH_SAM_APDU [10:50:16]CAPDU: 80 0D 02 02 95 0F 00 F6 03 01 00 01 F7 03 06 00 4E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 0F 00 00 00 00 07 04 06 00 44 93 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 6A 22 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A0 69 00 00 35 04 06 00 D2 0B 65 9A 28 A3 [10:50:16]Write to MH i2c: E2 9D 00 14 11 80 0D 02 02 95 00 0F 00 F6 03 01 00 01 F7 03 06 00 4E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 0F 00 00 00 00 07 04 06 00 44 93 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 6A 22 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A0 69 00 00 35 04 06 00 D2 0B 65 9A 28 A3 00 00 EB [10:50:16]Write i2c OK [10:50:16]MH_I2C_Read... [10:50:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:50:16]Read from MH i2c: E2 [10:50:16]MH_I2C_Read... [10:50:16]Read from MH i2c: E2 03 00 [10:50:16]MH_I2C_Read... [10:50:16]Read from MH i2c: E2 03 00 14 11 00 90 00 99 [10:50:16]RAPDU: 90 00 [10:50:16]wFMCommunicate OK [10:50:16]wFMCommunicate request_size=4 [10:50:16]MH_SAM_APDU [10:50:16]CAPDU: 80 0D 03 02 [10:50:16]Write to MH i2c: E2 08 00 15 11 80 0D 03 02 00 00 00 00 A1 [10:50:16]Write i2c OK [10:50:16]MH_I2C_Read... [10:50:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:50:16]Read from MH i2c: E2 [10:50:16]MH_I2C_Read... [10:50:16]Read from MH i2c: E2 0B 00 [10:50:16]MH_I2C_Read... [10:50:16]Read from MH i2c: E2 0B 00 15 11 00 AE FA B6 D3 C5 CF 88 A4 90 00 93 [10:50:16]RAPDU: AE FA B6 D3 C5 CF 88 A4 90 00 [10:50:16]wFMCommunicate OK [10:50:16]SAM_PROTO_SignData done [10:50:16]FM_MakeSignedData done [10:50:16]CreateOFDProtocolMessage [10:50:16]wFMCommunicate request_size=4 [10:50:16]MH_SAM_APDU [10:50:16]CAPDU: 80 11 00 00 [10:50:16]Write to MH i2c: E2 08 00 16 11 80 11 00 00 00 00 00 00 A1 [10:50:16]Write i2c OK [10:50:16]MH_I2C_Read... [10:50:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:50:16]Read from MH i2c: E2 [10:50:16]MH_I2C_Read... [10:50:16]Read from MH i2c: E2 17 00 [10:50:16]MH_I2C_Read... [10:50:16]Read from MH i2c: E2 17 00 16 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 FA [10:50:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [10:50:16]wFMCommunicate OK [10:50:16]CreateOFDProtocolMessage done [10:50:16]OFDSenderStorePacket 27040 [10:50:16]StoreOFDPacket docnum=27040 [10:50:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 99 02 00 00 3D 4C 91 02 6D 4F 5A 03 01 00 03 00 85 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 31 37 06 04 34 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 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 23 04 76 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 32 34 06 04 32 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 33 31 06 04 29 00 D0 9F D0 B5 D1 87 2E D0 B7 D0 B0 D1 82 2E 54 4F 4E 44 49 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2E D0 B2 D0 BA 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 21 00 00 00 00 13 04 06 00 98 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 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 44 93 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 0F 00 00 00 00 07 04 06 00 44 93 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 6A 22 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A0 69 00 00 35 04 06 00 D2 0B 65 9A 28 A3 AE FA B6 D3 C5 CF 88 A4 [10:50:16]CheckFolder [10:50:16]dirname=/storage/ofd_packets [10:50:16]CheckFolder done [10:50:16]ProducePacketName [10:50:16]name=ofd_packets/00027040 [10:50:16]NVStorageSaveData ofd_packets/00027040 [10:50:16]File name is /storage/ofd_packets/00027040 [10:50:16]Write 695 bytes [10:50:16]NVStorageSaveData done [10:50:16]OFDSenderStorePacket done [10:50:16]KKMCreateOFDPacket done [10:50:16]NVStorageSaveData kkm_last_timestamp [10:50:16]File name is /storage/kkm_last_timestamp [10:50:16]Write 4 bytes [10:50:16]NVStorageSaveData done [10:50:16]ExternCall_PrintAddStr [10:50:16]wPrintStart [10:50:16]Write to MH i2c: 01 00 00 17 11 28 [10:50:16]Write i2c OK [10:50:16]MH_I2C_Read... [10:50:16]Read from MH i2c: 01 [10:50:16]MH_I2C_Read... [10:50:16]Read from MH i2c: 01 07 00 [10:50:16]MH_I2C_Read... [10:50:16]Read from MH i2c: 01 07 00 17 11 00 00 00 00 00 FF 0F 3D [10:50:16]RasterBufferAndPrint [10:50:16]line Счет N : (3)150438 [10:50:16]line ИНН: 02508201610067 [10:50:16]line Контрольно-Кассовый Чек [10:50:16]line ПРОДАЖА [10:50:16]line Товар: 4603290004817 [10:50:16]line Печ зат Яшкино клубн Крем 182г [10:50:16]line 1.000 * 80.00 [10:50:16]line = 80.00 [10:50:16]line НДС 12% НСП 1% [10:50:16]line > о реализуемом товаре [10:50:16]line Товар: 4603290004824 [10:50:16]line Печ зат Яшкино слив Крем 182г [10:50:16]line 1.000 * 81.00 [10:50:16]line = 81.00 [10:50:16]line НДС 12% НСП 1% [10:50:16]line > о реализуемом товаре [10:50:16]line Товар: 4603290004831 [10:50:16]line Печ.зат.TONDI Сэнд.шок.вк. [10:50:16]line 1.000 * 86.00 [10:50:16]line = 86.00 [10:50:16]line НДС 12% НСП 1% [10:50:16]line > о реализуемом товаре [10:50:16]line Товар: 4700040114120 [10:50:16]line Султан чай 1л. чер персик [10:50:16]line 2.000 * 65.00 [10:50:16]line = 130.00 [10:50:16]line НДС 12% НСП 1% [10:50:16]line > о реализуемом товаре [10:50:16]line ИТОГО: 377.00 [10:50:16]line НСП 1% : 3.34 [10:50:16]line НДС 12% : 40.03 [10:50:16]line Наличными: 377.00 [10:50:16]line Безнал.: 0.00 [10:50:16]line Место: АЗС № 134 "Партнер Нефть" [10:50:16]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [10:50:16]line СНО: Общий режим [10:50:16]line Чек 18 28.07.2024 10:50 [10:50:16]line Смена: 433 ФФД: 1.0 [10:50:16]line ЗНМ: 0300000043 [10:50:16]line РНМ: 0000000000092663 [10:50:16]line Версия ККМ: 001 [10:50:16]line ФМ: 0000000000874937 [10:50:16]line ФД: 27040 [10:50:16]line ФПД: 230946391074979 [10:50:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T105018&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27040&fm=230946391074979&tin=02508201610067®Number=0000000000092663&sum=37700 [10:50:16]OFD Sender: Processing packet 27040 [packets to send 9, broken 8] [10:50:16]ProducePacketName [10:50:16]name=ofd_packets/00027040 [10:50:16]OFD Sender: To server: pG, [10:50:16]CommunicateWithHost lk.salyk.kg:30040 [10:50:16]ConnectInit lk.salyk.kg [10:50:16]line 0 [10:50:16]written 0, free lines is 4095 [10:50:16]Connected sock=10 [10:50:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 99 02 00 00 3D 4C 91 02 6D 4F 5A 03 01 00 03 00 85 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 31 37 06 04 34 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 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 23 04 76 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 32 34 06 04 32 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 33 31 06 04 29 00 D0 9F D0 B5 D1 87 2E D0 B7 D0 B0 D1 82 2E 54 4F 4E 44 49 20 D0 A1 D1 8D D0 BD D0 B4 2E D1 88 D0 BE D0 BA 2E D0 B2 D0 BA 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 21 00 00 00 00 13 04 06 00 98 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 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 44 93 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 0F 00 00 00 00 07 04 06 00 44 93 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 6A 22 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A0 69 00 00 35 04 06 00 D2 0B 65 9A 28 A3 AE FA B6 D3 C5 CF 88 A4 [10:50:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 A8 D3 47 00 D1 50 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 38 37 34 39 33 37 10 04 04 00 A0 69 00 00 F4 03 04 00 BE C8 A5 66 B6 04 01 00 00 68 B4 B0 14 A0 90 90 91 [10:50:17]CommunicateWithHost err = 0 [10:50:17]CheckOFDResponse [10:50:17]1017 (14) - 77093643461234 [10:50:17]1041 (16) - 0000000000874937 [10:50:17]1040 (4) - 27040 [10:50:17]1012 (4) - 28.07.2024 04:27 [10:50:17]1206 (1) - 0 [10:50:17]OFD Sender: Remove packet 27040 [10:50:17]ProducePacketName [10:50:17]name=ofd_packets/00027040 [10:50:17]NVStorageDeleteData [10:50:17]Write to MH i2c: 01 00 00 52 11 63 [10:50:17]Write i2c OK [10:50:17]MH_I2C_Read... [10:50:17]Read from MH i2c: 01 [10:50:17]MH_I2C_Read... [10:50:17]Read from MH i2c: 01 07 00 [10:50:17]MH_I2C_Read... [10:50:17]Read from MH i2c: 01 07 00 52 11 00 00 00 00 00 B1 0B 26 [10:50:17]RasterBufferAndPrint [10:50:17]line [10:50:17]line [10:50:17]line [10:50:17]line [10:50:17]line [10:50:17]written 0, free lines is 2999 [10:50:17]MH_Cut [10:50:17]Write to MH i2c: D1 01 00 59 11 01 3C [10:50:17]Write i2c OK [10:50:17]MH_I2C_Read... [10:50:17]Read from MH i2c: D1 [10:50:17]MH_I2C_Read... [10:50:17]Read from MH i2c: D1 01 00 [10:50:17]MH_I2C_Read... [10:50:17]Read from MH i2c: D1 01 00 59 11 00 3B [10:50:17]Write to MH i2c: 01 00 00 5A 11 6B [10:50:17]Write i2c OK [10:50:17]MH_I2C_Read... [10:50:17]OFD Sender: No OFD packet to send [10:50:18]*** Cut start [10:50:18]*** Partial cut [10:50:18]*** CUTSNS_PIN = 1 [10:50:18]*** CUTSNS_PIN = 0 [10:50:18]*** Brake cut motor [10:50:19]Read from MH i2c: 01 [10:50:19]MH_I2C_Read... [10:50:19]*** Stop cut motor [10:50:19]*** Cut end [10:50:19]Read from MH i2c: 01 07 00 [10:50:19]MH_I2C_Read... [10:50:19]Read from MH i2c: 01 07 00 5A 11 00 00 00 00 00 FF 0F 80 [10:50:19]process_action close_receipt done [10:50:19]requested_data is exist [10:50:19]produce_requested_data [10:50:19]requested_item fm.sn is exist - process it [10:50:19]wFMCommunicate request_size=4 [10:50:19]MH_SAM_APDU [10:50:19]CAPDU: 80 11 00 00 [10:50:19]Write to MH i2c: E2 08 00 5B 11 80 11 00 00 00 00 00 00 E6 [10:50:19]Write i2c OK [10:50:19]MH_I2C_Read... [10:50:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:50:19]Read from MH i2c: E2 [10:50:19]MH_I2C_Read... [10:50:19]Read from MH i2c: E2 17 00 [10:50:19]MH_I2C_Read... [10:50:19]Read from MH i2c: E2 17 00 5B 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 3F [10:50:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [10:50:19]wFMCommunicate OK [10:50:19]requested_item fd.num is exist - process it [10:50:19]SAM_PROTO_GetFieldsCounters [10:50:19]wFMCommunicate request_size=4 [10:50:19]MH_SAM_APDU [10:50:19]CAPDU: 80 13 00 00 [10:50:19]Write to MH i2c: E2 08 00 5C 11 80 13 00 00 00 00 00 00 E9 [10:50:19]Write i2c OK [10:50:19]MH_I2C_Read... [10:50:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:50:19]Read from MH i2c: E2 [10:50:19]MH_I2C_Read... [10:50:19]Read from MH i2c: E2 62 00 [10:50:19]MH_I2C_Read... [10:50:19]Read from MH i2c: E2 62 00 5C 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 A0 69 00 00 0E 04 04 00 B1 01 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 02 [10:50:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 A0 69 00 00 0E 04 04 00 B1 01 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 [10:50:19]wFMCommunicate OK [10:50:19]SAM_PROTO_GetFieldsCounters done [10:50:19]requested_item shift.num is exist - process it [10:50:19]requested_item shift.opened is exist - process it [10:50:19]req_shift_opened [10:50:19]FM_GetShiftState [10:50:19]SAM_PROTO_GetShiftState [10:50:19]wFMCommunicate request_size=4 [10:50:19]MH_SAM_APDU [10:50:19]CAPDU: 80 13 01 00 [10:50:19]Write to MH i2c: E2 08 00 5D 11 80 13 01 00 00 00 00 00 EB [10:50:19]Write i2c OK [10:50:19]MH_I2C_Read... [10:50:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:50:19]Read from MH i2c: E2 [10:50:19]MH_I2C_Read... [10:50:19]Read from MH i2c: E2 0E 00 [10:50:19]MH_I2C_Read... [10:50:19]Read from MH i2c: E2 0E 00 5D 11 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 13 [10:50:19]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [10:50:19]wFMCommunicate OK [10:50:19]SAM_PROTO_GetShiftState done [10:50:19]FM_GetShiftState done [10:50:19]req_shift_opened done [10:50:19]requested_item shift.open_date is exist - process it [10:50:19]req_shift_open_date [10:50:19]req_shift_open_date done [10:50:19]produce_requested_data done [10:50:19]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27040,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [10:50:19]process_action_free close_receipt [10:50:19]json_value_free [10:50:19]json_value_free done [10:50:19]process_json_proto returns [10:50:19]Send response to host [10:50:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27040,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [10:50:19]free response buf [10:50:19]execute_script done [10:50:19]execute_script returns [10:50:19]free content buf [10:50:19]Sock 9.Close socket [10:50:19]Sock 9.Thread stoped [10:50:22]OFD Sender: No OFD packet to send [10:50:27]OFD Sender: No OFD packet to send [10:50:32]OFD Sender: No OFD packet to send [10:50:37]OFD Sender: No OFD packet to send [10:50:42]OFD Sender: No OFD packet to send [10:50:47]OFD Sender: No OFD packet to send [10:50:52]OFD Sender: No OFD packet to send [10:50:57]OFD Sender: No OFD packet to send [10:51:02]OFD Sender: No OFD packet to send [10:51:07]OFD Sender: No OFD packet to send [10:51:12]OFD Sender: No OFD packet to send [10:51:17]OFD Sender: No OFD packet to send [10:51:22]OFD Sender: No OFD packet to send [10:51:27]OFD Sender: No OFD packet to send [10:51:32]OFD Sender: No OFD packet to send [10:51:37]OFD Sender: No OFD packet to send [10:51:42]OFD Sender: No OFD packet to send [10:51:47]OFD Sender: No OFD packet to send [10:51:52]OFD Sender: No OFD packet to send [10:51:57]OFD Sender: No OFD packet to send [10:52:02]OFD Sender: No OFD packet to send [10:52:07]OFD Sender: No OFD packet to send [10:52:12]OFD Sender: No OFD packet to send [10:52:17]OFD Sender: No OFD packet to send [10:52:22]OFD Sender: No OFD packet to send [10:52:27]OFD Sender: No OFD packet to send [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:28]OFD Sender: No OFD packet to send [10:56:33]OFD Sender: No OFD packet to send [10:56:38]OFD Sender: No OFD packet to send [10:56:43]OFD Sender: No OFD packet to send [10:56:48]OFD Sender: No OFD packet to send [10:56:53]OFD Sender: No OFD packet to send [10:56:58]OFD Sender: No OFD packet to send [10:57:03]OFD Sender: No OFD packet to send [10:57:08]OFD Sender: No OFD packet to send [10:57:13]OFD Sender: No OFD packet to send [10:57:18]OFD Sender: No OFD packet to send [10:57:23]OFD Sender: No OFD packet to send [10:57:28]OFD Sender: No OFD packet to send [10:57:33]OFD Sender: No OFD packet to send [10:57:38]OFD Sender: No OFD packet to send [10:57:43]OFD Sender: No OFD packet to send [10:57:48]OFD Sender: No OFD packet to send [10:57:53]OFD Sender: No OFD packet to send [10:57:58]OFD Sender: No OFD packet to send [10:58:03]OFD Sender: No OFD packet to send [10:58:08]OFD Sender: No OFD packet to send [10:58:13]OFD Sender: No OFD packet to send [10:58:18]OFD Sender: No OFD packet to send [10:58:23]OFD Sender: No OFD packet to send [10:58:28]OFD Sender: No OFD packet to send [10:58:33]OFD Sender: No OFD packet to send [10:58:38]OFD Sender: No OFD packet to send [10:58:43]OFD Sender: No OFD packet to send [10:58:48]OFD Sender: No OFD packet to send [10:58:53]OFD Sender: No OFD packet to send [10:58:58]OFD Sender: No OFD packet to send [10:59:03]OFD Sender: No OFD packet to send [10:59:08]OFD Sender: No OFD packet to send [10:59:13]OFD Sender: No OFD packet to send [10:59:18]OFD Sender: No OFD packet to send [10:59:23]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:44]OFD Sender: No OFD packet to send [11:17:49]OFD Sender: No OFD packet to send [11:17:54]OFD Sender: No OFD packet to send [11:17:59]OFD Sender: No OFD packet to send [11:18:04]OFD Sender: No OFD packet to send [11:18:09]OFD Sender: No OFD packet to send [11:18:14]OFD Sender: No OFD packet to send [11:18:19]OFD Sender: No OFD packet to send [11:18:24]OFD Sender: No OFD packet to send [11:18:29]OFD Sender: No OFD packet to send [11:18:34]OFD Sender: No OFD packet to send [11:18:39]OFD Sender: No OFD packet to send [11:18:44]OFD Sender: No OFD packet to send [11:18:49]OFD Sender: No OFD packet to send [11:18:54]OFD Sender: No OFD packet to send [11:18:59]OFD Sender: No OFD packet to send [11:19:04]OFD Sender: No OFD packet to send [11:19:09]OFD Sender: No OFD packet to send [11:19:14]OFD Sender: No OFD packet to send [11:19:19]OFD Sender: No OFD packet to send [11:19:24]OFD Sender: No OFD packet to send [11:19:29]OFD Sender: No OFD packet to send [11:19:34]OFD Sender: No OFD packet to send [11:19:39]OFD Sender: No OFD packet to send [11:19:44]OFD Sender: No OFD packet to send [11:19:49]OFD Sender: No OFD packet to send [11:19:54]OFD Sender: No OFD packet to send [11:19:59]OFD Sender: No OFD packet to send [11:20:04]OFD Sender: No OFD packet to send [11:20:09]OFD Sender: No OFD packet to send [11:20:14]OFD Sender: No OFD packet to send [11:20:19]OFD Sender: No OFD packet to send [11:20:24]OFD Sender: No OFD packet to send [11:20:29]OFD Sender: No OFD packet to send [11:20:34]OFD Sender: No OFD packet to send [11:20:39]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:44]OFD Sender: No OFD packet to send [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:44]OFD Sender: No OFD packet to send [11:31:49]OFD Sender: No OFD packet to send [11:31:54]OFD Sender: No OFD packet to send [11:31:59]OFD Sender: No OFD packet to send [11:32:04]OFD Sender: No OFD packet to send [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:14]OFD Sender: No OFD packet to send [11:36:19]OFD Sender: No OFD packet to send [11:36:24]OFD Sender: No OFD packet to send [11:36:29]OFD Sender: No OFD packet to send [11:36:34]OFD Sender: No OFD packet to send [11:36:39]OFD Sender: No OFD packet to send [11:36:44]OFD Sender: No OFD packet to send [11:36:49]OFD Sender: No OFD packet to send [11:36:54]OFD Sender: No OFD packet to send [11:36:59]OFD Sender: No OFD packet to send [11:37:04]OFD Sender: No OFD packet to send [11:37:09]OFD Sender: No OFD packet to send [11:37:14]OFD Sender: No OFD packet to send [11:37:19]OFD Sender: No OFD packet to send [11:37:24]OFD Sender: No OFD packet to send [11:37:29]OFD Sender: No OFD packet to send [11:37:34]OFD Sender: No OFD packet to send [11:37:39]OFD Sender: No OFD packet to send [11:37:44]OFD Sender: No OFD packet to send [11:37:49]OFD Sender: No OFD packet to send [11:37:54]OFD Sender: No OFD packet to send [11:37:59]OFD Sender: No OFD packet to send [11:38:04]OFD Sender: No OFD packet to send [11:38:09]OFD Sender: No OFD packet to send [11:38:14]OFD Sender: No OFD packet to send [11:38:19]accept exits with 7 [11:38:19]New connection [11:38:19]New thread 3067387236 created [11:38:19]Thread 3067530596 joined [11:38:19]Waiting for new connection... [11:38:19] Sock 7.Parse request [11:38:19]Sock 7.Check first char [11:38:19]Sock 7.First char is OK [11:38:19]request: POST /json_proto HTTP/1.0 [11:38:19]Method: POST [11:38:19]URL: /json_proto [11:38:19]Method is POST - this is cgi request [11:38:19]url: /json_proto [11:38:19]query_string will be loaded in cgi processing [11:38:19]execute_cgi json_proto POST (null) [11:38:19]execute_cgi path=json_proto method=POST [11:38:19]POST find Content-Length [11:38:19]Host: 172.17.45.8:8080 [11:38:19]Content-Length: 644 [11:38:19]Content-Type: application/json [11:38:19] [11:38:19]POST finish read [11:38:19]Found Content-Length = 644 [11:38:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150439", "tax_sys" : 0, "items" : [ { "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "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" ] } } [11:38:19]execute_script... [11:38: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)150439", "tax_sys" : 0, "items" : [ { "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "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" ] } } [11:38:19]POST & json_proto [11:38:19]process_json_proto [11:38:19]json parsed OK: [11:38:19]protocol is kg_v1.0 [11:38:19]action value=close_receipt [11:38:19]process_action close_receipt [11:38:19]cmd_close_receipt [11:38:19]MH_GetDate [11:38:19]Write to MH i2c: F0 00 00 5E 11 5E [11:38:19]Write i2c OK [11:38:19]MH_I2C_Read... [11:38:19]Read from MH i2c: F0 [11:38:19]MH_I2C_Read... [11:38:19]Read from MH i2c: F0 09 00 [11:38:19]MH_I2C_Read... [11:38:19]Read from MH i2c: F0 09 00 5E 11 00 AF 2D A6 66 A6 1F 7F 64 F7 [11:38:19]GetLastDocTimeStamp 1722163818 [11:38:19]current date 1722166703 [11:38:19]FM_GetShiftState [11:38:19]SAM_PROTO_GetShiftState [11:38:19]wFMCommunicate request_size=4 [11:38:19]MH_SAM_APDU [11:38:19]CAPDU: 80 13 01 00 [11:38:19]Write to MH i2c: E2 08 00 5F 11 80 13 01 00 00 00 00 00 ED [11:38:19]Write i2c OK [11:38:19]MH_I2C_Read... [11:38:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:38:19]Read from MH i2c: E2 [11:38:19]MH_I2C_Read... [11:38:19]Read from MH i2c: E2 0E 00 [11:38:19]MH_I2C_Read... [11:38:19]Read from MH i2c: E2 0E 00 5F 11 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 15 [11:38:19]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [11:38:19]wFMCommunicate OK [11:38:19]SAM_PROTO_GetShiftState done [11:38:19]FM_GetShiftState done [11:38:19]opened in 1722127230 [11:38:19]opened+sec_in_day 1722213630 [11:38:19]quantity*price = 5000 [11:38:19]sum+1 = 5001 [11:38:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 19 28.07.2024 11:38 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27041 ФПД: 197650464881033 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T113823&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27041&fm=197650464881033&tin=02508201610067®Number=0000000000092663&sum=5000 0 [11:38:20]StoreToDocumentArchive [11:38:20]shift 433 fd 27041 [11:38:20]save to /storage/0433/doc_00027041 [11:38:20]save last doc name /storage/0433/doc_00027041 to /storage/kkm_last_doc_name [11:38:20]save OK [11:38:20]Clear old archive folders... [11:38:20]ProcessDocumentItem done err = 0, tmpTLVsize=275 [11:38:20]tlvbuf is 017C8ED0 [11:38:20]SAM_PROTO_ClearQueue [11:38:20]wFMCommunicate request_size=4 [11:38:20]MH_SAM_APDU [11:38:20]CAPDU: 80 09 00 00 [11:38:20]Write to MH i2c: E2 08 00 6C 11 80 09 00 00 00 00 00 00 EF [11:38:20]Write i2c OK [11:38:20]MH_I2C_Read... [11:38:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:38:20]Read from MH i2c: E2 [11:38:20]MH_I2C_Read... [11:38:20]Read from MH i2c: E2 03 00 [11:38:20]MH_I2C_Read... [11:38:20]Read from MH i2c: E2 03 00 6C 11 00 90 00 F1 [11:38:20]RAPDU: 90 00 [11:38:20]wFMCommunicate OK [11:38:20]SAM_PROTO_ClearQueue done [11:38:20]KKMCreateOFDPacket [11:38:20]OFDProtocolAddRootSTLVToBuf [11:38:20]FM_MakeSignedData [11:38:20]FM_MakeSignedData [11:38:20]SAM_PROTO_SignData [11:38:20]wFMCommunicate request_size=4 [11:38:20]MH_SAM_APDU [11:38:20]CAPDU: 80 0D 01 02 [11:38:20]Write to MH i2c: E2 08 00 6D 11 80 0D 01 02 00 00 00 00 F7 [11:38:20]Write i2c OK [11:38:20]MH_I2C_Read... [11:38:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:38:20]Read from MH i2c: E2 [11:38:20]MH_I2C_Read... [11:38:20]Read from MH i2c: E2 03 00 [11:38:20]MH_I2C_Read... [11:38:20]Read from MH i2c: E2 03 00 6D 11 00 90 00 F2 [11:38:20]RAPDU: 90 00 [11:38:20]wFMCommunicate OK [11:38:20]wFMCommunicate request_size=255 [11:38:20]MH_SAM_APDU [11:38:20]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 20 D0 B1 2F D0 B3 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 13 00 00 00 F4 03 04 00 AF 2D A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 [11:38:20]Write to MH i2c: E2 02 01 6E 11 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 20 D0 B1 2F D0 B3 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 13 00 00 00 F4 03 04 00 AF 2D A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 00 00 06 [11:38:20]Write i2c OK [11:38:20]MH_I2C_Read... [11:38:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:38:20]Read from MH i2c: E2 [11:38:20]MH_I2C_Read... [11:38:20]Read from MH i2c: E2 03 00 [11:38:20]MH_I2C_Read... [11:38:20]Read from MH i2c: E2 03 00 6E 11 00 90 00 F3 [11:38:20]RAPDU: 90 00 [11:38:20]wFMCommunicate OK [11:38:20]wFMCommunicate request_size=34 [11:38:20]MH_SAM_APDU [11:38:20]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A1 69 00 00 35 04 06 00 B3 C3 15 BF B9 89 [11:38:20]Write to MH i2c: E2 25 00 6F 11 80 0D 02 02 1D 00 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A1 69 00 00 35 04 06 00 B3 C3 15 BF B9 89 00 00 57 [11:38:20]Write i2c OK [11:38:20]MH_I2C_Read... [11:38:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:38:20]Read from MH i2c: E2 [11:38:20]MH_I2C_Read... [11:38:20]Read from MH i2c: E2 03 00 [11:38:20]MH_I2C_Read... [11:38:20]Read from MH i2c: E2 03 00 6F 11 00 90 00 F4 [11:38:20]RAPDU: 90 00 [11:38:20]wFMCommunicate OK [11:38:20]wFMCommunicate request_size=4 [11:38:20]MH_SAM_APDU [11:38:20]CAPDU: 80 0D 03 02 [11:38:20]Write to MH i2c: E2 08 00 70 11 80 0D 03 02 00 00 00 00 FC [11:38:20]Write i2c OK [11:38:20]MH_I2C_Read... [11:38:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:38:21]Read from MH i2c: E2 [11:38:21]MH_I2C_Read... [11:38:21]Read from MH i2c: E2 0B 00 [11:38:21]MH_I2C_Read... [11:38:21]Read from MH i2c: E2 0B 00 70 11 00 98 30 45 04 2B 7B A9 53 90 00 B0 [11:38:21]RAPDU: 98 30 45 04 2B 7B A9 53 90 00 [11:38:21]wFMCommunicate OK [11:38:21]SAM_PROTO_SignData done [11:38:21]FM_MakeSignedData done [11:38:21]CreateOFDProtocolMessage [11:38:21]wFMCommunicate request_size=4 [11:38:21]MH_SAM_APDU [11:38:21]CAPDU: 80 11 00 00 [11:38:21]Write to MH i2c: E2 08 00 71 11 80 11 00 00 00 00 00 00 FC [11:38:21]Write i2c OK [11:38:21]MH_I2C_Read... [11:38:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:38:21]Read from MH i2c: E2 [11:38:21]MH_I2C_Read... [11:38:21]Read from MH i2c: E2 17 00 [11:38:21]MH_I2C_Read... [11:38:21]Read from MH i2c: E2 17 00 71 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 55 [11:38:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [11:38:21]wFMCommunicate OK [11:38:21]CreateOFDProtocolMessage done [11:38:21]OFDSenderStorePacket 27041 [11:38:21]StoreOFDPacket docnum=27041 [11:38:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 27 01 00 00 17 F5 1F 01 04 34 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 20 D0 B1 2F D0 B3 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 13 00 00 00 F4 03 04 00 AF 2D A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A1 69 00 00 35 04 06 00 B3 C3 15 BF B9 89 98 30 45 04 2B 7B A9 53 [11:38:21]CheckFolder [11:38:21]dirname=/storage/ofd_packets [11:38:21]CheckFolder done [11:38:21]ProducePacketName [11:38:21]name=ofd_packets/00027041 [11:38:21]NVStorageSaveData ofd_packets/00027041 [11:38:21]File name is /storage/ofd_packets/00027041 [11:38:21]Write 325 bytes [11:38:21]NVStorageSaveData done [11:38:21]OFDSenderStorePacket done [11:38:21]KKMCreateOFDPacket done [11:38:21]NVStorageSaveData kkm_last_timestamp [11:38:21]File name is /storage/kkm_last_timestamp [11:38:21]Write 4 bytes [11:38:21]NVStorageSaveData done [11:38:21]ExternCall_PrintAddStr [11:38:21]wPrintStart [11:38:21]Write to MH i2c: 01 00 00 72 11 83 [11:38:21]Write i2c OK [11:38:21]MH_I2C_Read... [11:38:21]Read from MH i2c: 01 [11:38:21]MH_I2C_Read... [11:38:21]Read from MH i2c: 01 07 00 [11:38:21]MH_I2C_Read... [11:38:21]Read from MH i2c: 01 07 00 72 11 00 00 00 00 00 FF 0F 98 [11:38:21]RasterBufferAndPrint [11:38:21]line Счет N : (3)150439 [11:38:21]line ИНН: 02508201610067 [11:38:21]line Контрольно-Кассовый Чек [11:38:21]line ПРОДАЖА [11:38:21]line Товар: 5449000005489 [11:38:21]line Вода Бонаква 1л б/г [11:38:21]line 1.000 * 50.00 [11:38:21]line = 50.00 [11:38:21]line НДС 12% НСП 1% [11:38:21]line > о реализуемом товаре [11:38:21]line ИТОГО: 50.00 [11:38:21]line НСП 1% : 0.44 [11:38:21]line НДС 12% : 5.31 [11:38:21]line Наличными: 50.00 [11:38:21]line Безнал.: 0.00 [11:38:21]line Место: АЗС № 134 "Партнер Нефть" [11:38:21]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [11:38:21]line СНО: Общий режим [11:38:21]line Чек 19 28.07.2024 11:38 [11:38:21]line Смена: 433 ФФД: 1.0 [11:38:21]line ЗНМ: 0300000043 [11:38:21]line РНМ: 0000000000092663 [11:38:21]line Версия ККМ: 001 [11:38:21]line ФМ: 0000000000874937 [11:38:21]line ФД: 27041 [11:38:21]line ФПД: 197650464881033 [11:38:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T113823&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27041&fm=197650464881033&tin=02508201610067®Number=0000000000092663&sum=5000 [11:38:21]line 0 [11:38:21]OFD Sender: Processing packet 27041 [packets to send 9, broken 8] [11:38:21]ProducePacketName [11:38:21]name=ofd_packets/00027041 [11:38:21]OFD Sender: To server: pG, [11:38:21]CommunicateWithHost lk.salyk.kg:30040 [11:38:21]ConnectInit lk.salyk.kg [11:38:21]written 0, free lines is 4095 [11:38:21]Connected sock=10 [11:38:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 27 01 00 00 17 F5 1F 01 04 34 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 20 D0 B1 2F D0 B3 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 13 00 00 00 F4 03 04 00 AF 2D A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A1 69 00 00 35 04 06 00 B3 C3 15 BF B9 89 98 30 45 04 2B 7B A9 53 [11:38:21]Write to MH i2c: 01 00 00 99 11 AA [11:38:21]Write i2c OK [11:38:21]MH_I2C_Read... [11:38:21]Read from MH i2c: 01 [11:38:21]MH_I2C_Read... [11:38:21]Read from MH i2c: 01 07 00 [11:38:21]MH_I2C_Read... [11:38:21]Read from MH i2c: 01 07 00 99 11 00 00 00 00 00 F2 0C AF [11:38:21]RasterBufferAndPrint [11:38:21]line [11:38:21]line [11:38:21]line [11:38:21]line [11:38:21]line [11:38:21]written 0, free lines is 3319 [11:38:21]MH_Cut [11:38:21]Write to MH i2c: D1 01 00 A0 11 01 83 [11:38:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 55 A5 47 00 77 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 38 37 34 39 33 37 10 04 04 00 A1 69 00 00 F4 03 04 00 03 D4 A5 66 B6 04 01 00 00 0E 0E 3E 45 21 C8 D8 A3 [11:38:21]CommunicateWithHost err = 0 [11:38:21]CheckOFDResponse [11:38:21]1017 (14) - 77093643461234 [11:38:21]1041 (16) - 0000000000874937 [11:38:21]1040 (4) - 27041 [11:38:21]1012 (4) - 28.07.2024 05:15 [11:38:21]1206 (1) - 0 [11:38:21]OFD Sender: Remove packet 27041 [11:38:21]ProducePacketName [11:38:21]name=ofd_packets/00027041 [11:38:21]NVStorageDeleteData [11:38:21]Write i2c OK [11:38:21]MH_I2C_Read... [11:38:21]Read from MH i2c: D1 [11:38:21]MH_I2C_Read... [11:38:21]Read from MH i2c: D1 01 00 [11:38:21]MH_I2C_Read... [11:38:21]Read from MH i2c: D1 01 00 A0 11 00 82 [11:38:21]Write to MH i2c: 01 00 00 A1 11 B2 [11:38:21]Write i2c OK [11:38:21]MH_I2C_Read... [11:38:22]OFD Sender: No OFD packet to send [11:38:22]*** Cut start [11:38:22]*** Partial cut [11:38:22]*** CUTSNS_PIN = 1 [11:38:22]*** CUTSNS_PIN = 0 [11:38:22]*** Brake cut motor [11:38:23]Read from MH i2c: 01 [11:38:23]MH_I2C_Read... [11:38:23]*** Stop cut motor [11:38:23]*** Cut end [11:38:23]Read from MH i2c: 01 07 00 [11:38:23]MH_I2C_Read... [11:38:23]Read from MH i2c: 01 07 00 A1 11 00 00 00 00 00 FF 0F C7 [11:38:23]process_action close_receipt done [11:38:23]requested_data is exist [11:38:23]produce_requested_data [11:38:23]requested_item fm.sn is exist - process it [11:38:23]wFMCommunicate request_size=4 [11:38:23]MH_SAM_APDU [11:38:23]CAPDU: 80 11 00 00 [11:38:23]Write to MH i2c: E2 08 00 A2 11 80 11 00 00 00 00 00 00 2D [11:38:23]Write i2c OK [11:38:23]MH_I2C_Read... [11:38:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:38:23]Read from MH i2c: E2 [11:38:23]MH_I2C_Read... [11:38:23]Read from MH i2c: E2 17 00 [11:38:23]MH_I2C_Read... [11:38:23]Read from MH i2c: E2 17 00 A2 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 86 [11:38:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [11:38:23]wFMCommunicate OK [11:38:23]requested_item fd.num is exist - process it [11:38:23]SAM_PROTO_GetFieldsCounters [11:38:23]wFMCommunicate request_size=4 [11:38:23]MH_SAM_APDU [11:38:23]CAPDU: 80 13 00 00 [11:38:23]Write to MH i2c: E2 08 00 A3 11 80 13 00 00 00 00 00 00 30 [11:38:23]Write i2c OK [11:38:23]MH_I2C_Read... [11:38:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:38:23]Read from MH i2c: E2 [11:38:23]MH_I2C_Read... [11:38:23]Read from MH i2c: E2 62 00 [11:38:23]MH_I2C_Read... [11:38:23]Read from MH i2c: E2 62 00 A3 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 A1 69 00 00 0E 04 04 00 B1 01 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 4D [11:38:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 A1 69 00 00 0E 04 04 00 B1 01 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:38:23]wFMCommunicate OK [11:38:23]SAM_PROTO_GetFieldsCounters done [11:38:23]requested_item shift.num is exist - process it [11:38:23]requested_item shift.opened is exist - process it [11:38:23]req_shift_opened [11:38:23]FM_GetShiftState [11:38:23]SAM_PROTO_GetShiftState [11:38:23]wFMCommunicate request_size=4 [11:38:23]MH_SAM_APDU [11:38:23]CAPDU: 80 13 01 00 [11:38:23]Write to MH i2c: E2 08 00 A4 11 80 13 01 00 00 00 00 00 32 [11:38:23]Write i2c OK [11:38:23]MH_I2C_Read... [11:38:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:38:23]Read from MH i2c: E2 [11:38:23]MH_I2C_Read... [11:38:23]Read from MH i2c: E2 0E 00 [11:38:23]MH_I2C_Read... [11:38:23]Read from MH i2c: E2 0E 00 A4 11 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 5A [11:38:23]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [11:38:23]wFMCommunicate OK [11:38:23]SAM_PROTO_GetShiftState done [11:38:23]FM_GetShiftState done [11:38:23]req_shift_opened done [11:38:23]requested_item shift.open_date is exist - process it [11:38:23]req_shift_open_date [11:38:23]req_shift_open_date done [11:38:23]produce_requested_data done [11:38:23]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27041,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [11:38:23]process_action_free close_receipt [11:38:23]json_value_free [11:38:23]json_value_free done [11:38:23]process_json_proto returns [11:38:23]Send response to host [11:38:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27041,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [11:38:23]free response buf [11:38:23]execute_script done [11:38:23]execute_script returns [11:38:23]free content buf [11:38:23]Sock 7.Close socket [11:38:23]Sock 7.Thread stoped [11:38:27]OFD Sender: No OFD packet to send [11:38:32]OFD Sender: No OFD packet to send [11:38:37]OFD Sender: No OFD packet to send [11:38:42]OFD Sender: No OFD packet to send [11:38:47]OFD Sender: No OFD packet to send [11:38:52]OFD Sender: No OFD packet to send [11:38:57]OFD Sender: No OFD packet to send [11:39:02]OFD Sender: No OFD packet to send [11:39:07]OFD Sender: No OFD packet to send [11:39:12]OFD Sender: No OFD packet to send [11:39:17]OFD Sender: No OFD packet to send [11:39:22]OFD Sender: No OFD packet to send [11:39:27]OFD Sender: No OFD packet to send [11:39:32]OFD Sender: No OFD packet to send [11:39:37]OFD Sender: No OFD packet to send [11:39:42]OFD Sender: No OFD packet to send [11:39:47]OFD Sender: No OFD packet to send [11:39:52]OFD Sender: No OFD packet to send [11:39:57]OFD Sender: No OFD packet to send [11:40:02]OFD Sender: No OFD packet to send [11:40:07]OFD Sender: No OFD packet to send [11:40:12]OFD Sender: No OFD packet to send [11:40:17]OFD Sender: No OFD packet to send [11:40:22]OFD Sender: No OFD packet to send [11:40:27]OFD Sender: No OFD packet to send [11:40:32]OFD Sender: No OFD packet to send [11:40:37]OFD Sender: No OFD packet to send [11:40:42]OFD Sender: No OFD packet to send [11:40:47]OFD Sender: No OFD packet to send [11:40:52]OFD Sender: No OFD packet to send [11:40:57]OFD Sender: No OFD packet to send [11:41:02]OFD Sender: No OFD packet to send [11:41:07]OFD Sender: No OFD packet to send [11:41:12]OFD Sender: No OFD packet to send [11:41:17]OFD Sender: No OFD packet to send [11:41:22]OFD Sender: No OFD packet to send [11:41:27]OFD Sender: No OFD packet to send [11:41:32]OFD Sender: No OFD packet to send [11:41:37]OFD Sender: No OFD packet to send [11:41:42]OFD Sender: No OFD packet to send [11:41:47]OFD Sender: No OFD packet to send [11:41:52]OFD Sender: No OFD packet to send [11:41:57]OFD Sender: No OFD packet to send [11:42:02]OFD Sender: No OFD packet to send [11:42:07]OFD Sender: No OFD packet to send [11:42:12]OFD Sender: No OFD packet to send [11:42:17]OFD Sender: No OFD packet to send [11:42:22]OFD Sender: No OFD packet to send [11:42:27]OFD Sender: No OFD packet to send [11:42:32]OFD Sender: No OFD packet to send [11:42:37]OFD Sender: No OFD packet to send [11:42:42]OFD Sender: No OFD packet to send [11:42:47]OFD Sender: No OFD packet to send [11:42:52]OFD Sender: No OFD packet to send [11:42:57]OFD Sender: No OFD packet to send [11:43:02]OFD Sender: No OFD packet to send [11:43:07]OFD Sender: No OFD packet to send [11:43:12]OFD Sender: No OFD packet to send [11:43:17]OFD Sender: No OFD packet to send [11:43:22]OFD Sender: No OFD packet to send [11:43:27]OFD Sender: No OFD packet to send [11:43:32]OFD Sender: No OFD packet to send [11:43:37]OFD Sender: No OFD packet to send [11:43:41]accept exits with 9 [11:43:41]New connection [11:43:41]New thread 3067530596 created [11:43:41]Thread 3067387236 joined [11:43:41]Waiting for new connection... [11:43:41] Sock 9.Parse request [11:43:41]Sock 9.Check first char [11:43:41]Sock 9.First char is OK [11:43:41]request: POST /json_proto HTTP/1.0 [11:43:41]Method: POST [11:43:41]URL: /json_proto [11:43:41]Method is POST - this is cgi request [11:43:41]url: /json_proto [11:43:41]query_string will be loaded in cgi processing [11:43:41]execute_cgi json_proto POST (null) [11:43:41]execute_cgi path=json_proto method=POST [11:43:41]POST find Content-Length [11:43:41]Host: 172.17.45.8:8080 [11:43:41]Content-Length: 699 [11:43:41]Content-Type: application/json [11:43:41] [11:43:41]POST finish read [11:43:41]Found Content-Length = 699 [11:43:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150440", "tax_sys" : 0, "items" : [ { "code": "4700000482740", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fr \u0433\u0430\u0437 \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u0436/\u0431 0,45\u043B", "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" ] } } [11:43:41]execute_script... [11:43: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)150440", "tax_sys" : 0, "items" : [ { "code": "4700000482740", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fr \u0433\u0430\u0437 \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u0436/\u0431 0,45\u043B", "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" ] } } [11:43:41]POST & json_proto [11:43:41]process_json_proto [11:43:41]json parsed OK: [11:43:41]protocol is kg_v1.0 [11:43:41]action value=close_receipt [11:43:41]process_action close_receipt [11:43:41]cmd_close_receipt [11:43:41]MH_GetDate [11:43:41]Write to MH i2c: F0 00 00 A5 11 A5 [11:43:41]Write i2c OK [11:43:41]MH_I2C_Read... [11:43:41]Read from MH i2c: F0 [11:43:41]MH_I2C_Read... [11:43:41]Read from MH i2c: F0 09 00 [11:43:41]MH_I2C_Read... [11:43:41]Read from MH i2c: F0 09 00 A5 11 00 F1 2E A6 66 A6 1F 7F 64 81 [11:43:41]GetLastDocTimeStamp 1722166703 [11:43:41]current date 1722167025 [11:43:41]FM_GetShiftState [11:43:41]SAM_PROTO_GetShiftState [11:43:41]wFMCommunicate request_size=4 [11:43:41]MH_SAM_APDU [11:43:41]CAPDU: 80 13 01 00 [11:43:41]Write to MH i2c: E2 08 00 A6 11 80 13 01 00 00 00 00 00 34 [11:43:41]Write i2c OK [11:43:41]MH_I2C_Read... [11:43:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:43:41]Read from MH i2c: E2 [11:43:41]MH_I2C_Read... [11:43:41]Read from MH i2c: E2 0E 00 [11:43:41]MH_I2C_Read... [11:43:41]Read from MH i2c: E2 0E 00 A6 11 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 5C [11:43:41]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [11:43:41]wFMCommunicate OK [11:43:41]SAM_PROTO_GetShiftState done [11:43:41]FM_GetShiftState done [11:43:41]opened in 1722127230 [11:43:41]opened+sec_in_day 1722213630 [11:43:41]quantity*price = 9500 [11:43:41]sum+1 = 9501 [11:43:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 20 28.07.2024 11:43 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27042 ФПД: 194306307852208 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T114345&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27042&fm=194306307852208&tin=02508201610067®Number=0000000000092663&sum=9500 0 [11:43:42]StoreToDocumentArchive [11:43:42]shift 433 fd 27042 [11:43:42]save to /storage/0433/doc_00027042 [11:43:42]save last doc name /storage/0433/doc_00027042 to /storage/kkm_last_doc_name [11:43:42]save OK [11:43:42]Clear old archive folders... [11:43:42]ProcessDocumentItem done err = 0, tmpTLVsize=302 [11:43:42]tlvbuf is B6F350B0 [11:43:42]SAM_PROTO_ClearQueue [11:43:42]wFMCommunicate request_size=4 [11:43:42]MH_SAM_APDU [11:43:42]CAPDU: 80 09 00 00 [11:43:42]Write to MH i2c: E2 08 00 B3 11 80 09 00 00 00 00 00 00 36 [11:43:42]Write i2c OK [11:43:42]MH_I2C_Read... [11:43:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:43:42]Read from MH i2c: E2 [11:43:42]MH_I2C_Read... [11:43:42]Read from MH i2c: E2 03 00 [11:43:42]MH_I2C_Read... [11:43:42]Read from MH i2c: E2 03 00 B3 11 00 90 00 38 [11:43:42]RAPDU: 90 00 [11:43:42]wFMCommunicate OK [11:43:42]SAM_PROTO_ClearQueue done [11:43:42]KKMCreateOFDPacket [11:43:42]OFDProtocolAddRootSTLVToBuf [11:43:42]FM_MakeSignedData [11:43:42]FM_MakeSignedData [11:43:42]SAM_PROTO_SignData [11:43:42]wFMCommunicate request_size=4 [11:43:42]MH_SAM_APDU [11:43:42]CAPDU: 80 0D 01 02 [11:43:42]Write to MH i2c: E2 08 00 B4 11 80 0D 01 02 00 00 00 00 3E [11:43:42]Write i2c OK [11:43:42]MH_I2C_Read... [11:43:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:43:42]Read from MH i2c: E2 [11:43:42]MH_I2C_Read... [11:43:42]Read from MH i2c: E2 03 00 [11:43:42]MH_I2C_Read... [11:43:42]Read from MH i2c: E2 03 00 B4 11 00 90 00 39 [11:43:42]RAPDU: 90 00 [11:43:42]wFMCommunicate OK [11:43:42]wFMCommunicate request_size=255 [11:43:42]MH_SAM_APDU [11:43:42]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 34 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 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 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 14 00 00 00 F4 03 04 00 F1 2E A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 [11:43:42]Write to MH i2c: E2 02 01 B5 11 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 34 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 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 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 14 00 00 00 F4 03 04 00 F1 2E A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 00 00 51 [11:43:42]Write i2c OK [11:43:42]MH_I2C_Read... [11:43:42]OFD Sender: No OFD packet to send [11:43:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:43:42]Read from MH i2c: E2 [11:43:42]MH_I2C_Read... [11:43:42]Read from MH i2c: E2 03 00 [11:43:42]MH_I2C_Read... [11:43:42]Read from MH i2c: E2 03 00 B5 11 00 90 00 3A [11:43:42]RAPDU: 90 00 [11:43:42]wFMCommunicate OK [11:43:42]wFMCommunicate request_size=61 [11:43:42]MH_SAM_APDU [11:43:42]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A2 69 00 00 35 04 06 00 B0 B8 76 75 07 B0 [11:43:42]Write to MH i2c: E2 40 00 B6 11 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A2 69 00 00 35 04 06 00 B0 B8 76 75 07 B0 00 00 92 [11:43:42]Write i2c OK [11:43:42]MH_I2C_Read... [11:43:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:43:42]Read from MH i2c: E2 [11:43:42]MH_I2C_Read... [11:43:42]Read from MH i2c: E2 03 00 [11:43:42]MH_I2C_Read... [11:43:42]Read from MH i2c: E2 03 00 B6 11 00 90 00 3B [11:43:42]RAPDU: 90 00 [11:43:42]wFMCommunicate OK [11:43:42]wFMCommunicate request_size=4 [11:43:42]MH_SAM_APDU [11:43:42]CAPDU: 80 0D 03 02 [11:43:42]Write to MH i2c: E2 08 00 B7 11 80 0D 03 02 00 00 00 00 43 [11:43:42]Write i2c OK [11:43:42]MH_I2C_Read... [11:43:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:43:42]Read from MH i2c: E2 [11:43:42]MH_I2C_Read... [11:43:42]Read from MH i2c: E2 0B 00 [11:43:42]MH_I2C_Read... [11:43:42]Read from MH i2c: E2 0B 00 B7 11 00 A1 CB D2 DD 0C DB 4F A7 90 00 3C [11:43:42]RAPDU: A1 CB D2 DD 0C DB 4F A7 90 00 [11:43:42]wFMCommunicate OK [11:43:42]SAM_PROTO_SignData done [11:43:42]FM_MakeSignedData done [11:43:42]CreateOFDProtocolMessage [11:43:42]wFMCommunicate request_size=4 [11:43:42]MH_SAM_APDU [11:43:42]CAPDU: 80 11 00 00 [11:43:42]Write to MH i2c: E2 08 00 B8 11 80 11 00 00 00 00 00 00 43 [11:43:42]Write i2c OK [11:43:42]MH_I2C_Read... [11:43:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:43:42]Read from MH i2c: E2 [11:43:42]MH_I2C_Read... [11:43:42]Read from MH i2c: E2 17 00 [11:43:42]MH_I2C_Read... [11:43:42]Read from MH i2c: E2 17 00 B8 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 9C [11:43:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [11:43:42]wFMCommunicate OK [11:43:42]CreateOFDProtocolMessage done [11:43:42]OFDSenderStorePacket 27042 [11:43:42]StoreOFDPacket docnum=27042 [11:43:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 42 01 00 00 5D 61 3A 01 54 78 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 34 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 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 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 14 00 00 00 F4 03 04 00 F1 2E A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A2 69 00 00 35 04 06 00 B0 B8 76 75 07 B0 A1 CB D2 DD 0C DB 4F A7 [11:43:42]CheckFolder [11:43:42]dirname=/storage/ofd_packets [11:43:42]CheckFolder done [11:43:42]ProducePacketName [11:43:42]name=ofd_packets/00027042 [11:43:42]NVStorageSaveData ofd_packets/00027042 [11:43:42]File name is /storage/ofd_packets/00027042 [11:43:42]Write 352 bytes [11:43:42]NVStorageSaveData done [11:43:42]OFDSenderStorePacket done [11:43:42]KKMCreateOFDPacket done [11:43:42]NVStorageSaveData kkm_last_timestamp [11:43:42]File name is /storage/kkm_last_timestamp [11:43:42]Write 4 bytes [11:43:42]NVStorageSaveData done [11:43:42]ExternCall_PrintAddStr [11:43:42]wPrintStart [11:43:42]Write to MH i2c: 01 00 00 B9 11 CA [11:43:42]Write i2c OK [11:43:42]MH_I2C_Read... [11:43:42]Read from MH i2c: 01 [11:43:42]MH_I2C_Read... [11:43:42]Read from MH i2c: 01 07 00 [11:43:42]MH_I2C_Read... [11:43:42]Read from MH i2c: 01 07 00 B9 11 00 00 00 00 00 FF 0F DF [11:43:42]RasterBufferAndPrint [11:43:42]line Счет N : (3)150440 [11:43:42]line ИНН: 02508201610067 [11:43:42]line Контрольно-Кассовый Чек [11:43:42]line ПРОДАЖА [11:43:42]line Товар: 4700000482740 [11:43:42]line Напиток Nitro Fr газ апельсин ж/б 0,45л [11:43:42]line 1.000 * 95.00 [11:43:42]line = 95.00 [11:43:42]line НДС 12% НСП 1% [11:43:42]line > о реализуемом товаре [11:43:42]line ИТОГО: 95.00 [11:43:42]line НСП 1% : 0.84 [11:43:42]line НДС 12% : 10.09 [11:43:42]line Наличными: 95.00 [11:43:42]line Безнал.: 0.00 [11:43:42]line Место: АЗС № 134 "Партнер Нефть" [11:43:42]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [11:43:43]line СНО: Общий режим [11:43:43]line Чек 20 28.07.2024 11:43 [11:43:43]line Смена: 433 ФФД: 1.0 [11:43:43]line ЗНМ: 0300000043 [11:43:43]line РНМ: 0000000000092663 [11:43:43]line Версия ККМ: 001 [11:43:43]line ФМ: 0000000000874937 [11:43:43]line ФД: 27042 [11:43:43]line ФПД: 194306307852208 [11:43:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T114345&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27042&fm=194306307852208&tin=02508201610067®Number=0000000000092663&sum=9500 [11:43:43]line 0 [11:43:43]OFD Sender: Processing packet 27042 [packets to send 9, broken 8] [11:43:43]ProducePacketName [11:43:43]name=ofd_packets/00027042 [11:43:43]OFD Sender: To server: pG, [11:43:43]CommunicateWithHost lk.salyk.kg:30040 [11:43:43]ConnectInit lk.salyk.kg [11:43:43]written 0, free lines is 4095 [11:43:43]Connected sock=10 [11:43:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 42 01 00 00 5D 61 3A 01 54 78 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 34 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 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 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 14 00 00 00 F4 03 04 00 F1 2E A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A2 69 00 00 35 04 06 00 B0 B8 76 75 07 B0 A1 CB D2 DD 0C DB 4F A7 [11:43:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 31 3D 47 00 53 20 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 38 37 34 39 33 37 10 04 04 00 A2 69 00 00 F4 03 04 00 45 D5 A5 66 B6 04 01 00 00 A4 A1 10 CC 53 73 EB 3F [11:43:43]CommunicateWithHost err = 0 [11:43:43]CheckOFDResponse [11:43:43]1017 (14) - 77093643461234 [11:43:43]1041 (16) - 0000000000874937 [11:43:43]1040 (4) - 27042 [11:43:43]1012 (4) - 28.07.2024 05:21 [11:43:43]1206 (1) - 0 [11:43:43]OFD Sender: Remove packet 27042 [11:43:43]ProducePacketName [11:43:43]name=ofd_packets/00027042 [11:43:43]NVStorageDeleteData [11:43:43]Write to MH i2c: 01 00 00 E1 11 F2 [11:43:43]Write i2c OK [11:43:43]MH_I2C_Read... [11:43:43]Read from MH i2c: 01 [11:43:43]MH_I2C_Read... [11:43:43]Read from MH i2c: 01 07 00 [11:43:43]MH_I2C_Read... [11:43:43]Read from MH i2c: 01 07 00 E1 11 00 00 00 00 00 E1 0C E6 [11:43:43]RasterBufferAndPrint [11:43:43]line [11:43:43]line [11:43:43]line [11:43:43]line [11:43:43]line [11:43:43]written 0, free lines is 3303 [11:43:43]MH_Cut [11:43:43]Write to MH i2c: D1 01 00 E8 11 01 CB [11:43:43]Write i2c OK [11:43:43]MH_I2C_Read... [11:43:43]Read from MH i2c: D1 [11:43:43]MH_I2C_Read... [11:43:43]Read from MH i2c: D1 01 00 [11:43:43]MH_I2C_Read... [11:43:43]Read from MH i2c: D1 01 00 E8 11 00 CA [11:43:43]Write to MH i2c: 01 00 00 E9 11 FA [11:43:43]Write i2c OK [11:43:43]MH_I2C_Read... [11:43:44]OFD Sender: No OFD packet to send [11:43:44]*** Cut start [11:43:44]*** Partial cut [11:43:44]*** CUTSNS_PIN = 1 [11:43:44]*** CUTSNS_PIN = 0 [11:43:44]*** Brake cut motor [11:43:45]Read from MH i2c: 01 [11:43:45]MH_I2C_Read... [11:43:45]*** Stop cut motor [11:43:45]*** Cut end [11:43:45]Read from MH i2c: 01 07 00 [11:43:45]MH_I2C_Read... [11:43:45]Read from MH i2c: 01 07 00 E9 11 00 00 00 00 00 FF 0F 0F [11:43:45]process_action close_receipt done [11:43:45]requested_data is exist [11:43:45]produce_requested_data [11:43:45]requested_item fm.sn is exist - process it [11:43:45]wFMCommunicate request_size=4 [11:43:45]MH_SAM_APDU [11:43:45]CAPDU: 80 11 00 00 [11:43:45]Write to MH i2c: E2 08 00 EA 11 80 11 00 00 00 00 00 00 75 [11:43:45]Write i2c OK [11:43:45]MH_I2C_Read... [11:43:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:43:45]Read from MH i2c: E2 [11:43:45]MH_I2C_Read... [11:43:45]Read from MH i2c: E2 17 00 [11:43:45]MH_I2C_Read... [11:43:45]Read from MH i2c: E2 17 00 EA 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 CE [11:43:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [11:43:45]wFMCommunicate OK [11:43:45]requested_item fd.num is exist - process it [11:43:45]SAM_PROTO_GetFieldsCounters [11:43:45]wFMCommunicate request_size=4 [11:43:45]MH_SAM_APDU [11:43:45]CAPDU: 80 13 00 00 [11:43:45]Write to MH i2c: E2 08 00 EB 11 80 13 00 00 00 00 00 00 78 [11:43:45]Write i2c OK [11:43:45]MH_I2C_Read... [11:43:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:43:45]Read from MH i2c: E2 [11:43:45]MH_I2C_Read... [11:43:45]Read from MH i2c: E2 62 00 [11:43:45]MH_I2C_Read... [11:43:45]Read from MH i2c: E2 62 00 EB 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 A2 69 00 00 0E 04 04 00 B1 01 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 99 [11:43:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 A2 69 00 00 0E 04 04 00 B1 01 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:43:45]wFMCommunicate OK [11:43:45]SAM_PROTO_GetFieldsCounters done [11:43:45]requested_item shift.num is exist - process it [11:43:45]requested_item shift.opened is exist - process it [11:43:45]req_shift_opened [11:43:45]FM_GetShiftState [11:43:45]SAM_PROTO_GetShiftState [11:43:45]wFMCommunicate request_size=4 [11:43:45]MH_SAM_APDU [11:43:45]CAPDU: 80 13 01 00 [11:43:45]Write to MH i2c: E2 08 00 EC 11 80 13 01 00 00 00 00 00 7A [11:43:45]Write i2c OK [11:43:45]MH_I2C_Read... [11:43:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:43:45]Read from MH i2c: E2 [11:43:45]MH_I2C_Read... [11:43:45]Read from MH i2c: E2 0E 00 [11:43:45]MH_I2C_Read... [11:43:45]Read from MH i2c: E2 0E 00 EC 11 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 A2 [11:43:45]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [11:43:45]wFMCommunicate OK [11:43:45]SAM_PROTO_GetShiftState done [11:43:45]FM_GetShiftState done [11:43:45]req_shift_opened done [11:43:45]requested_item shift.open_date is exist - process it [11:43:45]req_shift_open_date [11:43:45]req_shift_open_date done [11:43:45]produce_requested_data done [11:43:45]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27042,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [11:43:45]process_action_free close_receipt [11:43:45]json_value_free [11:43:45]json_value_free done [11:43:45]process_json_proto returns [11:43:45]Send response to host [11:43:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27042,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [11:43:45]free response buf [11:43:45]execute_script done [11:43:45]execute_script returns [11:43:45]free content buf [11:43:45]Sock 9.Close socket [11:43:45]Sock 9.Thread stoped [11:43:49]OFD Sender: No OFD packet to send [11:43:54]OFD Sender: No OFD packet to send [11:43:59]OFD Sender: No OFD packet to send [11:44:04]OFD Sender: No OFD packet to send [11:44:09]OFD Sender: No OFD packet to send [11:44:14]OFD Sender: No OFD packet to send [11:44:19]OFD Sender: No OFD packet to send [11:44:24]OFD Sender: No OFD packet to send [11:44:29]OFD Sender: No OFD packet to send [11:44:34]OFD Sender: No OFD packet to send [11:44:39]OFD Sender: No OFD packet to send [11:44:44]OFD Sender: No OFD packet to send [11:44:49]OFD Sender: No OFD packet to send [11:44:54]OFD Sender: No OFD packet to send [11:44:59]OFD Sender: No OFD packet to send [11:45:04]OFD Sender: No OFD packet to send [11:45:09]OFD Sender: No OFD packet to send [11:45:14]OFD Sender: No OFD packet to send [11:45:19]OFD Sender: No OFD packet to send [11:45:24]OFD Sender: No OFD packet to send [11:45:29]OFD Sender: No OFD packet to send [11:45:34]OFD Sender: No OFD packet to send [11:45:39]OFD Sender: No OFD packet to send [11:45:44]OFD Sender: No OFD packet to send [11:45:49]OFD Sender: No OFD packet to send [11:45:54]OFD Sender: No OFD packet to send [11:45:59]OFD Sender: No OFD packet to send [11:46:04]OFD Sender: No OFD packet to send [11:46:09]OFD Sender: No OFD packet to send [11:46:14]OFD Sender: No OFD packet to send [11:46:19]OFD Sender: No OFD packet to send [11:46:24]OFD Sender: No OFD packet to send [11:46:29]OFD Sender: No OFD packet to send [11:46:34]OFD Sender: No OFD packet to send [11:46:39]OFD Sender: No OFD packet to send [11:46:44]OFD Sender: No OFD packet to send [11:46:49]OFD Sender: No OFD packet to send [11:46:54]OFD Sender: No OFD packet to send [11:46:59]OFD Sender: No OFD packet to send [11:47:04]OFD Sender: No OFD packet to send [11:47:09]OFD Sender: No OFD packet to send [11:47:14]OFD Sender: No OFD packet to send [11:47:19]OFD Sender: No OFD packet to send [11:47:24]OFD Sender: No OFD packet to send [11:47:29]OFD Sender: No OFD packet to send [11:47:34]OFD Sender: No OFD packet to send [11:47:39]OFD Sender: No OFD packet to send [11:47:44]OFD Sender: No OFD packet to send [11:47:49]OFD Sender: No OFD packet to send [11:47:54]OFD Sender: No OFD packet to send [11:47:59]OFD Sender: No OFD packet to send [11:48:04]OFD Sender: No OFD packet to send [11:48:09]OFD Sender: No OFD packet to send [11:48:14]OFD Sender: No OFD packet to send [11:48:19]OFD Sender: No OFD packet to send [11:48:24]OFD Sender: No OFD packet to send [11:48:29]OFD Sender: No OFD packet to send [11:48:34]OFD Sender: No OFD packet to send [11:48:39]OFD Sender: No OFD packet to send [11:48:44]OFD Sender: No OFD packet to send [11:48:49]OFD Sender: No OFD packet to send [11:48:54]OFD Sender: No OFD packet to send [11:48:59]OFD Sender: No OFD packet to send [11:49:04]OFD Sender: No OFD packet to send [11:49:09]OFD Sender: No OFD packet to send [11:49:14]OFD Sender: No OFD packet to send [11:49:19]OFD Sender: No OFD packet to send [11:49:24]OFD Sender: No OFD packet to send [11:49:29]OFD Sender: No OFD packet to send [11:49:34]OFD Sender: No OFD packet to send [11:49:39]OFD Sender: No OFD packet to send [11:49:44]OFD Sender: No OFD packet to send [11:49:49]OFD Sender: No OFD packet to send [11:49:54]OFD Sender: No OFD packet to send [11:49:59]OFD Sender: No OFD packet to send [11:50:04]OFD Sender: No OFD packet to send [11:50:09]OFD Sender: No OFD packet to send [11:50:14]OFD Sender: No OFD packet to send [11:50:19]OFD Sender: No OFD packet to send [11:50:24]OFD Sender: No OFD packet to send [11:50:29]OFD Sender: No OFD packet to send [11:50:34]accept exits with 7 [11:50:34]New connection [11:50:34]New thread 3067387236 created [11:50:34]Thread 3067530596 joined [11:50:34]Waiting for new connection... [11:50:34] Sock 7.Parse request [11:50:34]Sock 7.Check first char [11:50:34]Sock 7.First char is OK [11:50:34]request: POST /json_proto HTTP/1.0 [11:50:34]Method: POST [11:50:34]URL: /json_proto [11:50:34]Method is POST - this is cgi request [11:50:34]url: /json_proto [11:50:34]query_string will be loaded in cgi processing [11:50:34]execute_cgi json_proto POST (null) [11:50:34]execute_cgi path=json_proto method=POST [11:50:34]POST find Content-Length [11:50:34]Host: 172.17.45.8:8080 [11:50:34]Content-Length: 591 [11:50:34]Content-Type: application/json [11:50:34] [11:50:34]POST finish read [11:50:34]Found Content-Length = 591 [11:50:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150441", "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" ] } } [11:50:34]execute_script... [11:50: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)150441", "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" ] } } [11:50:34]POST & json_proto [11:50:34]process_json_proto [11:50:34]json parsed OK: [11:50:34]protocol is kg_v1.0 [11:50:34]action value=close_receipt [11:50:34]process_action close_receipt [11:50:34]cmd_close_receipt [11:50:34]MH_GetDate [11:50:34]Write to MH i2c: F0 00 00 ED 11 ED [11:50:34]Write i2c OK [11:50:34]MH_I2C_Read... [11:50:34]Read from MH i2c: F0 [11:50:34]MH_I2C_Read... [11:50:34]Read from MH i2c: F0 09 00 [11:50:34]MH_I2C_Read... [11:50:34]Read from MH i2c: F0 09 00 ED 11 00 8E 30 A6 66 A6 1F 7F 64 68 [11:50:34]GetLastDocTimeStamp 1722167025 [11:50:34]current date 1722167438 [11:50:34]FM_GetShiftState [11:50:34]SAM_PROTO_GetShiftState [11:50:34]wFMCommunicate request_size=4 [11:50:34]MH_SAM_APDU [11:50:34]CAPDU: 80 13 01 00 [11:50:34]Write to MH i2c: E2 08 00 EE 11 80 13 01 00 00 00 00 00 7C [11:50:34]Write i2c OK [11:50:34]MH_I2C_Read... [11:50:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:50:34]Read from MH i2c: E2 [11:50:34]MH_I2C_Read... [11:50:34]Read from MH i2c: E2 0E 00 [11:50:34]MH_I2C_Read... [11:50:34]Read from MH i2c: E2 0E 00 EE 11 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 A4 [11:50:34]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [11:50:34]wFMCommunicate OK [11:50:34]SAM_PROTO_GetShiftState done [11:50:34]FM_GetShiftState done [11:50:34]opened in 1722127230 [11:50:34]opened+sec_in_day 1722213630 [11:50:34]quantity*price = 4500 [11:50:34]sum+1 = 4501 [11:50:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 21 28.07.2024 11:50 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27043 ФПД: 129183955009789 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T115038&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27043&fm=129183955009789&tin=02508201610067®Number=0000000000092663&sum=4500 0 [11:50:35]StoreToDocumentArchive [11:50:35]shift 433 fd 27043 [11:50:35]save to /storage/0433/doc_00027043 [11:50:35]save last doc name /storage/0433/doc_00027043 to /storage/kkm_last_doc_name [11:50:35]save OK [11:50:35]Clear old archive folders... [11:50:35]ProcessDocumentItem done err = 0, tmpTLVsize=266 [11:50:35]tlvbuf is 0167BE40 [11:50:35]SAM_PROTO_ClearQueue [11:50:35]wFMCommunicate request_size=4 [11:50:35]MH_SAM_APDU [11:50:35]CAPDU: 80 09 00 00 [11:50:35]Write to MH i2c: E2 08 00 FB 11 80 09 00 00 00 00 00 00 7E [11:50:35]Write i2c OK [11:50:35]MH_I2C_Read... [11:50:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:50:35]Read from MH i2c: E2 [11:50:35]MH_I2C_Read... [11:50:35]Read from MH i2c: E2 03 00 [11:50:35]MH_I2C_Read... [11:50:35]Read from MH i2c: E2 03 00 FB 11 00 90 00 80 [11:50:35]RAPDU: 90 00 [11:50:35]wFMCommunicate OK [11:50:35]SAM_PROTO_ClearQueue done [11:50:35]KKMCreateOFDPacket [11:50:35]OFDProtocolAddRootSTLVToBuf [11:50:35]FM_MakeSignedData [11:50:35]FM_MakeSignedData [11:50:35]SAM_PROTO_SignData [11:50:35]wFMCommunicate request_size=4 [11:50:35]MH_SAM_APDU [11:50:35]CAPDU: 80 0D 01 02 [11:50:35]Write to MH i2c: E2 08 00 FC 11 80 0D 01 02 00 00 00 00 86 [11:50:35]Write i2c OK [11:50:35]MH_I2C_Read... [11:50:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:50:35]Read from MH i2c: E2 [11:50:35]MH_I2C_Read... [11:50:35]Read from MH i2c: E2 03 00 [11:50:35]MH_I2C_Read... [11:50:35]Read from MH i2c: E2 03 00 FC 11 00 90 00 81 [11:50:35]RAPDU: 90 00 [11:50:35]wFMCommunicate OK [11:50:35]wFMCommunicate request_size=255 [11:50:35]MH_SAM_APDU [11:50:35]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 15 00 00 00 F4 03 04 00 8E 30 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 [11:50:35]Write to MH i2c: E2 02 01 FD 11 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 15 00 00 00 F4 03 04 00 8E 30 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 00 00 1F [11:50:35]Write i2c OK [11:50:35]MH_I2C_Read... [11:50:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:50:35]Read from MH i2c: E2 [11:50:35]MH_I2C_Read... [11:50:35]Read from MH i2c: E2 03 00 [11:50:35]MH_I2C_Read... [11:50:35]Read from MH i2c: E2 03 00 FD 11 00 90 00 82 [11:50:35]RAPDU: 90 00 [11:50:35]wFMCommunicate OK [11:50:35]wFMCommunicate request_size=25 [11:50:35]MH_SAM_APDU [11:50:35]CAPDU: 80 0D 02 02 14 33 37 10 04 04 00 A3 69 00 00 35 04 06 00 75 7D FB BF C0 FD [11:50:35]Write to MH i2c: E2 1C 00 FE 11 80 0D 02 02 14 00 33 37 10 04 04 00 A3 69 00 00 35 04 06 00 75 7D FB BF C0 FD 00 00 E7 [11:50:35]Write i2c OK [11:50:35]MH_I2C_Read... [11:50:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:50:35]Read from MH i2c: E2 [11:50:35]MH_I2C_Read... [11:50:35]Read from MH i2c: E2 03 00 [11:50:35]MH_I2C_Read... [11:50:35]Read from MH i2c: E2 03 00 FE 11 00 90 00 83 [11:50:35]RAPDU: 90 00 [11:50:35]wFMCommunicate OK [11:50:35]wFMCommunicate request_size=4 [11:50:35]MH_SAM_APDU [11:50:35]CAPDU: 80 0D 03 02 [11:50:35]Write to MH i2c: E2 08 00 FF 11 80 0D 03 02 00 00 00 00 8B [11:50:35]Write i2c OK [11:50:35]MH_I2C_Read... [11:50:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:50:35]Read from MH i2c: E2 [11:50:35]MH_I2C_Read... [11:50:35]Read from MH i2c: E2 0B 00 [11:50:35]MH_I2C_Read... [11:50:35]Read from MH i2c: E2 0B 00 FF 11 00 A7 9A FA AA 4D 9C 6F 40 90 00 09 [11:50:35]RAPDU: A7 9A FA AA 4D 9C 6F 40 90 00 [11:50:35]wFMCommunicate OK [11:50:35]SAM_PROTO_SignData done [11:50:35]FM_MakeSignedData done [11:50:35]CreateOFDProtocolMessage [11:50:35]wFMCommunicate request_size=4 [11:50:35]MH_SAM_APDU [11:50:35]CAPDU: 80 11 00 00 [11:50:35]Write to MH i2c: E2 08 00 00 12 80 11 00 00 00 00 00 00 8C [11:50:35]Write i2c OK [11:50:35]MH_I2C_Read... [11:50:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:50:35]Read from MH i2c: E2 [11:50:35]MH_I2C_Read... [11:50:35]Read from MH i2c: E2 17 00 [11:50:35]MH_I2C_Read... [11:50:35]Read from MH i2c: E2 17 00 00 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 E5 [11:50:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [11:50:35]wFMCommunicate OK [11:50:35]CreateOFDProtocolMessage done [11:50:35]OFDSenderStorePacket 27043 [11:50:35]StoreOFDPacket docnum=27043 [11:50:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 1E 01 00 00 B9 76 16 01 E0 63 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 15 00 00 00 F4 03 04 00 8E 30 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A3 69 00 00 35 04 06 00 75 7D FB BF C0 FD A7 9A FA AA 4D 9C 6F 40 [11:50:35]CheckFolder [11:50:35]dirname=/storage/ofd_packets [11:50:35]CheckFolder done [11:50:35]ProducePacketName [11:50:35]name=ofd_packets/00027043 [11:50:35]NVStorageSaveData ofd_packets/00027043 [11:50:35]File name is /storage/ofd_packets/00027043 [11:50:35]Write 316 bytes [11:50:35]NVStorageSaveData done [11:50:35]OFDSenderStorePacket done [11:50:35]KKMCreateOFDPacket done [11:50:35]NVStorageSaveData kkm_last_timestamp [11:50:35]File name is /storage/kkm_last_timestamp [11:50:35]Write 4 bytes [11:50:35]NVStorageSaveData done [11:50:35]ExternCall_PrintAddStr [11:50:36]wPrintStart [11:50:36]Write to MH i2c: 01 00 00 01 12 13 [11:50:36]OFD Sender: Processing packet 27043 [packets to send 9, broken 8] [11:50:36]ProducePacketName [11:50:36]name=ofd_packets/00027043 [11:50:36]OFD Sender: To server: pG, [11:50:36]CommunicateWithHost lk.salyk.kg:30040 [11:50:36]ConnectInit lk.salyk.kg [11:50:36]Write i2c OK [11:50:36]MH_I2C_Read... [11:50:36]Read from MH i2c: 01 [11:50:36]MH_I2C_Read... [11:50:36]Read from MH i2c: 01 07 00 [11:50:36]MH_I2C_Read... [11:50:36]Read from MH i2c: 01 07 00 01 12 00 00 00 00 00 FF 0F 28 [11:50:36]RasterBufferAndPrint [11:50:36]line Счет N : (3)150441 [11:50:36]line ИНН: 02508201610067 [11:50:36]line Контрольно-Кассовый Чек [11:50:36]line ПРОДАЖА [11:50:36]line Товар: 46141538 [11:50:36]line Р/ж Orbit Bubblemint 13,6г [11:50:36]line 1.000 * 45.00 [11:50:36]line = 45.00 [11:50:36]line НДС 12% НСП 1% [11:50:36]line > о реализуемом товаре [11:50:36]line ИТОГО: 45.00 [11:50:36]line НСП 1% : 0.40 [11:50:36]line НДС 12% : 4.78 [11:50:36]line Наличными: 45.00 [11:50:36]line Безнал.: 0.00 [11:50:36]line Место: АЗС № 134 "Партнер Нефть" [11:50:36]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [11:50:36]line СНО: Общий режим [11:50:36]line Чек 21 28.07.2024 11:50 [11:50:36]line Смена: 433 ФФД: 1.0 [11:50:36]line ЗНМ: 0300000043 [11:50:36]line РНМ: 0000000000092663 [11:50:36]line Версия ККМ: 001 [11:50:36]line ФМ: 0000000000874937 [11:50:36]line ФД: 27043 [11:50:36]line ФПД: 129183955009789 [11:50:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T115038&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27043&fm=129183955009789&tin=02508201610067®Number=0000000000092663&sum=4500 [11:50:36]Connected sock=9 [11:50:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 1E 01 00 00 B9 76 16 01 E0 63 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 15 00 00 00 F4 03 04 00 8E 30 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A3 69 00 00 35 04 06 00 75 7D FB BF C0 FD A7 9A FA AA 4D 9C 6F 40 [11:50:36]line 0 [11:50:36]written 0, free lines is 4095 [11:50:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 14 E1 47 00 BA 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 38 37 34 39 33 37 10 04 04 00 A3 69 00 00 F4 03 04 00 E2 D6 A5 66 B6 04 01 00 00 A8 58 49 F2 D5 A2 66 5F [11:50:36]CommunicateWithHost err = 0 [11:50:36]CheckOFDResponse [11:50:36]1017 (14) - 77093643461234 [11:50:36]1041 (16) - 0000000000874937 [11:50:36]1040 (4) - 27043 [11:50:36]1012 (4) - 28.07.2024 05:28 [11:50:36]1206 (1) - 0 [11:50:36]OFD Sender: Remove packet 27043 [11:50:36]ProducePacketName [11:50:36]name=ofd_packets/00027043 [11:50:36]NVStorageDeleteData [11:50:36]Write to MH i2c: 01 00 00 28 12 3A [11:50:36]Write i2c OK [11:50:36]MH_I2C_Read... [11:50:36]Read from MH i2c: 01 [11:50:36]MH_I2C_Read... [11:50:36]Read from MH i2c: 01 07 00 [11:50:36]MH_I2C_Read... [11:50:36]Read from MH i2c: 01 07 00 28 12 00 00 00 00 00 F7 0C 44 [11:50:36]RasterBufferAndPrint [11:50:36]line [11:50:36]line [11:50:36]line [11:50:36]line [11:50:36]line [11:50:36]written 0, free lines is 3326 [11:50:36]MH_Cut [11:50:36]Write to MH i2c: D1 01 00 2F 12 01 13 [11:50:36]Write i2c OK [11:50:36]MH_I2C_Read... [11:50:36]Read from MH i2c: D1 [11:50:36]MH_I2C_Read... [11:50:36]Read from MH i2c: D1 01 00 [11:50:36]MH_I2C_Read... [11:50:36]Read from MH i2c: D1 01 00 2F 12 00 12 [11:50:36]Write to MH i2c: 01 00 00 30 12 42 [11:50:36]Write i2c OK [11:50:36]MH_I2C_Read... [11:50:37]OFD Sender: No OFD packet to send [11:50:37]*** Cut start [11:50:37]*** Partial cut [11:50:37]*** CUTSNS_PIN = 1 [11:50:37]*** CUTSNS_PIN = 0 [11:50:37]*** Brake cut motor [11:50:38]Read from MH i2c: 01 [11:50:38]MH_I2C_Read... [11:50:38]*** Stop cut motor [11:50:38]*** Cut end [11:50:38]Read from MH i2c: 01 07 00 [11:50:38]MH_I2C_Read... [11:50:38]Read from MH i2c: 01 07 00 30 12 00 00 00 00 00 FF 0F 57 [11:50:38]process_action close_receipt done [11:50:38]requested_data is exist [11:50:38]produce_requested_data [11:50:38]requested_item fm.sn is exist - process it [11:50:38]wFMCommunicate request_size=4 [11:50:38]MH_SAM_APDU [11:50:38]CAPDU: 80 11 00 00 [11:50:38]Write to MH i2c: E2 08 00 31 12 80 11 00 00 00 00 00 00 BD [11:50:38]Write i2c OK [11:50:38]MH_I2C_Read... [11:50:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:50:38]Read from MH i2c: E2 [11:50:38]MH_I2C_Read... [11:50:38]Read from MH i2c: E2 17 00 [11:50:38]MH_I2C_Read... [11:50:38]Read from MH i2c: E2 17 00 31 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 16 [11:50:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [11:50:38]wFMCommunicate OK [11:50:38]requested_item fd.num is exist - process it [11:50:38]SAM_PROTO_GetFieldsCounters [11:50:38]wFMCommunicate request_size=4 [11:50:38]MH_SAM_APDU [11:50:38]CAPDU: 80 13 00 00 [11:50:38]Write to MH i2c: E2 08 00 32 12 80 13 00 00 00 00 00 00 C0 [11:50:38]Write i2c OK [11:50:38]MH_I2C_Read... [11:50:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:50:38]Read from MH i2c: E2 [11:50:38]MH_I2C_Read... [11:50:38]Read from MH i2c: E2 62 00 [11:50:38]MH_I2C_Read... [11:50:38]Read from MH i2c: E2 62 00 32 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 A3 69 00 00 0E 04 04 00 B1 01 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 E5 [11:50:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 A3 69 00 00 0E 04 04 00 B1 01 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:50:38]wFMCommunicate OK [11:50:38]SAM_PROTO_GetFieldsCounters done [11:50:38]requested_item shift.num is exist - process it [11:50:38]requested_item shift.opened is exist - process it [11:50:38]req_shift_opened [11:50:38]FM_GetShiftState [11:50:38]SAM_PROTO_GetShiftState [11:50:38]wFMCommunicate request_size=4 [11:50:38]MH_SAM_APDU [11:50:38]CAPDU: 80 13 01 00 [11:50:38]Write to MH i2c: E2 08 00 33 12 80 13 01 00 00 00 00 00 C2 [11:50:38]Write i2c OK [11:50:38]MH_I2C_Read... [11:50:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:50:38]Read from MH i2c: E2 [11:50:38]MH_I2C_Read... [11:50:38]Read from MH i2c: E2 0E 00 [11:50:38]MH_I2C_Read... [11:50:38]Read from MH i2c: E2 0E 00 33 12 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 EA [11:50:38]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [11:50:38]wFMCommunicate OK [11:50:38]SAM_PROTO_GetShiftState done [11:50:38]FM_GetShiftState done [11:50:38]req_shift_opened done [11:50:38]requested_item shift.open_date is exist - process it [11:50:38]req_shift_open_date [11:50:38]req_shift_open_date done [11:50:38]produce_requested_data done [11:50:38]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27043,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [11:50:38]process_action_free close_receipt [11:50:38]json_value_free [11:50:38]json_value_free done [11:50:38]process_json_proto returns [11:50:38]Send response to host [11:50:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27043,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [11:50:38]free response buf [11:50:38]execute_script done [11:50:38]execute_script returns [11:50:38]free content buf [11:50:38]Sock 7.Close socket [11:50:38]Sock 7.Thread stoped [11:50:42]OFD Sender: No OFD packet to send [11:50:47]OFD Sender: No OFD packet to send [11:50:52]OFD Sender: No OFD packet to send [11:50:57]OFD Sender: No OFD packet to send [11:51:02]OFD Sender: No OFD packet to send [11:51:07]OFD Sender: No OFD packet to send [11:51:12]OFD Sender: No OFD packet to send [11:51:17]OFD Sender: No OFD packet to send [11:51:22]OFD Sender: No OFD packet to send [11:51:27]OFD Sender: No OFD packet to send [11:51:32]OFD Sender: No OFD packet to send [11:51:37]OFD Sender: No OFD packet to send [11:51:42]OFD Sender: No OFD packet to send [11:51:47]OFD Sender: No OFD packet to send [11:51:52]OFD Sender: No OFD packet to send [11:51:57]OFD Sender: No OFD packet to send [11:52:02]OFD Sender: No OFD packet to send [11:52:07]OFD Sender: No OFD packet to send [11:52:12]OFD Sender: No OFD packet to send [11:52:17]OFD Sender: No OFD packet to send [11:52:22]OFD Sender: No OFD packet to send [11:52:27]OFD Sender: No OFD packet to send [11:52:32]OFD Sender: No OFD packet to send [11:52:37]OFD Sender: No OFD packet to send [11:52:42]OFD Sender: No OFD packet to send [11:52:47]OFD Sender: No OFD packet to send [11:52:52]OFD Sender: No OFD packet to send [11:52:57]OFD Sender: No OFD packet to send [11:53:02]OFD Sender: No OFD packet to send [11:53:07]OFD Sender: No OFD packet to send [11:53:12]OFD Sender: No OFD packet to send [11:53:17]OFD Sender: No OFD packet to send [11:53:22]OFD Sender: No OFD packet to send [11:53:27]OFD Sender: No OFD packet to send [11:53:32]OFD Sender: No OFD packet to send [11:53:37]OFD Sender: No OFD packet to send [11:53:42]OFD Sender: No OFD packet to send [11:53:47]OFD Sender: No OFD packet to send [11:53:52]OFD Sender: No OFD packet to send [11:53:57]OFD Sender: No OFD packet to send [11:54:02]OFD Sender: No OFD packet to send [11:54:07]OFD Sender: No OFD packet to send [11:54:12]OFD Sender: No OFD packet to send [11:54:17]OFD Sender: No OFD packet to send [11:54:22]OFD Sender: No OFD packet to send [11:54:27]OFD Sender: No OFD packet to send [11:54:32]OFD Sender: No OFD packet to send [11:54:37]OFD Sender: No OFD packet to send [11:54:42]OFD Sender: No OFD packet to send [11:54:47]OFD Sender: No OFD packet to send [11:54:52]OFD Sender: No OFD packet to send [11:54:57]OFD Sender: No OFD packet to send [11:55:02]OFD Sender: No OFD packet to send [11:55:07]OFD Sender: No OFD packet to send [11:55:12]OFD Sender: No OFD packet to send [11:55:17]OFD Sender: No OFD packet to send [11:55:22]OFD Sender: No OFD packet to send [11:55:27]OFD Sender: No OFD packet to send [11:55:32]OFD Sender: No OFD packet to send [11:55:37]OFD Sender: No OFD packet to send [11:55:42]OFD Sender: No OFD packet to send [11:55:47]OFD Sender: No OFD packet to send [11:55:52]OFD Sender: No OFD packet to send [11:55:57]OFD Sender: No OFD packet to send [11:56:02]OFD Sender: No OFD packet to send [11:56:07]OFD Sender: No OFD packet to send [11:56:12]OFD Sender: No OFD packet to send [11:56:17]OFD Sender: No OFD packet to send [11:56:22]OFD Sender: No OFD packet to send [11:56:27]OFD Sender: No OFD packet to send [11:56:32]OFD Sender: No OFD packet to send [11:56:37]OFD Sender: No OFD packet to send [11:56:42]OFD Sender: No OFD packet to send [11:56:47]OFD Sender: No OFD packet to send [11:56:52]OFD Sender: No OFD packet to send [11:56:57]OFD Sender: No OFD packet to send [11:57:02]OFD Sender: No OFD packet to send [11:57:07]OFD Sender: No OFD packet to send [11:57:12]OFD Sender: No OFD packet to send [11:57:17]OFD Sender: No OFD packet to send [11:57:22]OFD Sender: No OFD packet to send [11:57:27]OFD Sender: No OFD packet to send [11:57:32]OFD Sender: No OFD packet to send [11:57:37]OFD Sender: No OFD packet to send [11:57:42]OFD Sender: No OFD packet to send [11:57:47]OFD Sender: No OFD packet to send [11:57:52]OFD Sender: No OFD packet to send [11:57:57]OFD Sender: No OFD packet to send [11:58:02]OFD Sender: No OFD packet to send [11:58:07]OFD Sender: No OFD packet to send [11:58:12]OFD Sender: No OFD packet to send [11:58:17]OFD Sender: No OFD packet to send [11:58:22]OFD Sender: No OFD packet to send [11:58:27]OFD Sender: No OFD packet to send [11:58:32]OFD Sender: No OFD packet to send [11:58:37]OFD Sender: No OFD packet to send [11:58:42]OFD Sender: No OFD packet to send [11:58:47]OFD Sender: No OFD packet to send [11:58:52]OFD Sender: No OFD packet to send [11:58:57]OFD Sender: No OFD packet to send [11:59:02]OFD Sender: No OFD packet to send [11:59:07]OFD Sender: No OFD packet to send [11:59:12]OFD Sender: No OFD packet to send [11:59:17]OFD Sender: No OFD packet to send [11:59:22]OFD Sender: No OFD packet to send [11:59:27]OFD Sender: No OFD packet to send [11:59:32]OFD Sender: No OFD packet to send [11:59:37]OFD Sender: No OFD packet to send [11:59:42]OFD Sender: No OFD packet to send [11:59:47]OFD Sender: No OFD packet to send [11:59:52]OFD Sender: No OFD packet to send [11:59:57]OFD Sender: No OFD packet to send [12:00:02]OFD Sender: No OFD packet to send [12:00:07]OFD Sender: No OFD packet to send [12:00:12]OFD Sender: No OFD packet to send [12:00:17]OFD Sender: No OFD packet to send [12:00:22]OFD Sender: No OFD packet to send [12:00:27]OFD Sender: No OFD packet to send [12:00:32]OFD Sender: No OFD packet to send [12:00:37]OFD Sender: No OFD packet to send [12:00:42]OFD Sender: No OFD packet to send [12:00:47]OFD Sender: No OFD packet to send [12:00:52]OFD Sender: No OFD packet to send [12:00:57]OFD Sender: No OFD packet to send [12:01:02]OFD Sender: No OFD packet to send [12:01:07]OFD Sender: No OFD packet to send [12:01:12]OFD Sender: No OFD packet to send [12:01:17]OFD Sender: No OFD packet to send [12:01:22]OFD Sender: No OFD packet to send [12:01:27]OFD Sender: No OFD packet to send [12:01:32]OFD Sender: No OFD packet to send [12:01:37]OFD Sender: No OFD packet to send [12:01:42]OFD Sender: No OFD packet to send [12:01:47]OFD Sender: No OFD packet to send [12:01:52]OFD Sender: No OFD packet to send [12:01:57]OFD Sender: No OFD packet to send [12:02:02]OFD Sender: No OFD packet to send [12:02:07]OFD Sender: No OFD packet to send [12:02:12]OFD Sender: No OFD packet to send [12:02:17]OFD Sender: No OFD packet to send [12:02:22]OFD Sender: No OFD packet to send [12:02:27]OFD Sender: No OFD packet to send [12:02:32]OFD Sender: No OFD packet to send [12:02:37]OFD Sender: No OFD packet to send [12:02:42]OFD Sender: No OFD packet to send [12:02:47]OFD Sender: No OFD packet to send [12:02:52]OFD Sender: No OFD packet to send [12:02:57]OFD Sender: No OFD packet to send [12:03:02]OFD Sender: No OFD packet to send [12:03:07]OFD Sender: No OFD packet to send [12:03:12]OFD Sender: No OFD packet to send [12:03:17]OFD Sender: No OFD packet to send [12:03:22]OFD Sender: No OFD packet to send [12:03:27]OFD Sender: No OFD packet to send [12:03:32]OFD Sender: No OFD packet to send [12:03:37]OFD Sender: No OFD packet to send [12:03:42]OFD Sender: No OFD packet to send [12:03:47]OFD Sender: No OFD packet to send [12:03:52]OFD Sender: No OFD packet to send [12:03:57]OFD Sender: No OFD packet to send [12:04:02]OFD Sender: No OFD packet to send [12:04:07]OFD Sender: No OFD packet to send [12:04:12]OFD Sender: No OFD packet to send [12:04:17]OFD Sender: No OFD packet to send [12:04:22]OFD Sender: No OFD packet to send [12:04:27]OFD Sender: No OFD packet to send [12:04:32]OFD Sender: No OFD packet to send [12:04:37]OFD Sender: No OFD packet to send [12:04:42]OFD Sender: No OFD packet to send [12:04:47]OFD Sender: No OFD packet to send [12:04:52]OFD Sender: No OFD packet to send [12:04:57]OFD Sender: No OFD packet to send [12:05:02]OFD Sender: No OFD packet to send [12:05:07]OFD Sender: No OFD packet to send [12:05:12]OFD Sender: No OFD packet to send [12:05:17]OFD Sender: No OFD packet to send [12:05:22]OFD Sender: No OFD packet to send [12:05:27]OFD Sender: No OFD packet to send [12:05:32]OFD Sender: No OFD packet to send [12:05:37]OFD Sender: No OFD packet to send [12:05:42]OFD Sender: No OFD packet to send [12:05:47]OFD Sender: No OFD packet to send [12:05:52]OFD Sender: No OFD packet to send [12:05:57]OFD Sender: No OFD packet to send [12:06:02]OFD Sender: No OFD packet to send [12:06:07]OFD Sender: No OFD packet to send [12:06:12]OFD Sender: No OFD packet to send [12:06:17]OFD Sender: No OFD packet to send [12:06:22]OFD Sender: No OFD packet to send [12:06:27]OFD Sender: No OFD packet to send [12:06:32]OFD Sender: No OFD packet to send [12:06:37]OFD Sender: No OFD packet to send [12:06:42]OFD Sender: No OFD packet to send [12:06:47]OFD Sender: No OFD packet to send [12:06:52]OFD Sender: No OFD packet to send [12:06:57]OFD Sender: No OFD packet to send [12:07:02]OFD Sender: No OFD packet to send [12:07:07]OFD Sender: No OFD packet to send [12:07:12]OFD Sender: No OFD packet to send [12:07:17]OFD Sender: No OFD packet to send [12:07:22]OFD Sender: No OFD packet to send [12:07:27]OFD Sender: No OFD packet to send [12:07:32]OFD Sender: No OFD packet to send [12:07:37]OFD Sender: No OFD packet to send [12:07:42]OFD Sender: No OFD packet to send [12:07:47]OFD Sender: No OFD packet to send [12:07:52]OFD Sender: No OFD packet to send [12:07:57]OFD Sender: No OFD packet to send [12:08:02]OFD Sender: No OFD packet to send [12:08:07]OFD Sender: No OFD packet to send [12:08:12]OFD Sender: No OFD packet to send [12:08:17]OFD Sender: No OFD packet to send [12:08:22]OFD Sender: No OFD packet to send [12:08:27]OFD Sender: No OFD packet to send [12:08:32]OFD Sender: No OFD packet to send [12:08:37]OFD Sender: No OFD packet to send [12:08:42]OFD Sender: No OFD packet to send [12:08:47]OFD Sender: No OFD packet to send [12:08:52]OFD Sender: No OFD packet to send [12:08:57]OFD Sender: No OFD packet to send [12:09:02]OFD Sender: No OFD packet to send [12:09:07]OFD Sender: No OFD packet to send [12:09:12]OFD Sender: No OFD packet to send [12:09:17]OFD Sender: No OFD packet to send [12:09:22]OFD Sender: No OFD packet to send [12:09:27]OFD Sender: No OFD packet to send [12:09:32]OFD Sender: No OFD packet to send [12:09:37]OFD Sender: No OFD packet to send [12:09:42]OFD Sender: No OFD packet to send [12:09:47]OFD Sender: No OFD packet to send [12:09:52]OFD Sender: No OFD packet to send [12:09:57]OFD Sender: No OFD packet to send [12:10:02]OFD Sender: No OFD packet to send [12:10:07]OFD Sender: No OFD packet to send [12:10:12]OFD Sender: No OFD packet to send [12:10:17]OFD Sender: No OFD packet to send [12:10:22]OFD Sender: No OFD packet to send [12:10:27]OFD Sender: No OFD packet to send [12:10:32]OFD Sender: No OFD packet to send [12:10:37]OFD Sender: No OFD packet to send [12:10:42]OFD Sender: No OFD packet to send [12:10:48]OFD Sender: No OFD packet to send [12:10:53]OFD Sender: No OFD packet to send [12:10:58]OFD Sender: No OFD packet to send [12:11:03]OFD Sender: No OFD packet to send [12:11:08]OFD Sender: No OFD packet to send [12:11:13]OFD Sender: No OFD packet to send [12:11:18]OFD Sender: No OFD packet to send [12:11:23]OFD Sender: No OFD packet to send [12:11:28]OFD Sender: No OFD packet to send [12:11:33]OFD Sender: No OFD packet to send [12:11:38]OFD Sender: No OFD packet to send [12:11:43]OFD Sender: No OFD packet to send [12:11:48]OFD Sender: No OFD packet to send [12:11:53]OFD Sender: No OFD packet to send [12:11:58]OFD Sender: No OFD packet to send [12:12:03]OFD Sender: No OFD packet to send [12:12:08]OFD Sender: No OFD packet to send [12:12:13]OFD Sender: No OFD packet to send [12:12:18]OFD Sender: No OFD packet to send [12:12:23]OFD Sender: No OFD packet to send [12:12:28]OFD Sender: No OFD packet to send [12:12:33]OFD Sender: No OFD packet to send [12:12:38]OFD Sender: No OFD packet to send [12:12:43]OFD Sender: No OFD packet to send [12:12:48]OFD Sender: No OFD packet to send [12:12:53]OFD Sender: No OFD packet to send [12:12:58]OFD Sender: No OFD packet to send [12:13:03]OFD Sender: No OFD packet to send [12:13:08]OFD Sender: No OFD packet to send [12:13:13]OFD Sender: No OFD packet to send [12:13:18]OFD Sender: No OFD packet to send [12:13:23]OFD Sender: No OFD packet to send [12:13:28]OFD Sender: No OFD packet to send [12:13:33]OFD Sender: No OFD packet to send [12:13:38]OFD Sender: No OFD packet to send [12:13:43]OFD Sender: No OFD packet to send [12:13:48]OFD Sender: No OFD packet to send [12:13:53]OFD Sender: No OFD packet to send [12:13:58]OFD Sender: No OFD packet to send [12:14:03]OFD Sender: No OFD packet to send [12:14:08]OFD Sender: No OFD packet to send [12:14:13]OFD Sender: No OFD packet to send [12:14:18]OFD Sender: No OFD packet to send [12:14:23]OFD Sender: No OFD packet to send [12:14:28]OFD Sender: No OFD packet to send [12:14:33]OFD Sender: No OFD packet to send [12:14:38]OFD Sender: No OFD packet to send [12:14:43]OFD Sender: No OFD packet to send [12:14:48]OFD Sender: No OFD packet to send [12:14:53]OFD Sender: No OFD packet to send [12:14:58]OFD Sender: No OFD packet to send [12:15:03]OFD Sender: No OFD packet to send [12:15:08]OFD Sender: No OFD packet to send [12:15:13]OFD Sender: No OFD packet to send [12:15:18]OFD Sender: No OFD packet to send [12:15:23]OFD Sender: No OFD packet to send [12:15:28]OFD Sender: No OFD packet to send [12:15:33]OFD Sender: No OFD packet to send [12:15:38]OFD Sender: No OFD packet to send [12:15:43]OFD Sender: No OFD packet to send [12:15:48]OFD Sender: No OFD packet to send [12:15:53]OFD Sender: No OFD packet to send [12:15:58]OFD Sender: No OFD packet to send [12:16:03]OFD Sender: No OFD packet to send [12:16:08]OFD Sender: No OFD packet to send [12:16:13]OFD Sender: No OFD packet to send [12:16:18]OFD Sender: No OFD packet to send [12:16:23]OFD Sender: No OFD packet to send [12:16:28]OFD Sender: No OFD packet to send [12:16:33]OFD Sender: No OFD packet to send [12:16:38]OFD Sender: No OFD packet to send [12:16:43]OFD Sender: No OFD packet to send [12:16:48]OFD Sender: No OFD packet to send [12:16:53]OFD Sender: No OFD packet to send [12:16:58]OFD Sender: No OFD packet to send [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:48]OFD Sender: No OFD packet to send [12:22:53]OFD Sender: No OFD packet to send [12:22:58]OFD Sender: No OFD packet to send [12:23:03]OFD Sender: No OFD packet to send [12:23:08]OFD Sender: No OFD packet to send [12:23:13]OFD Sender: No OFD packet to send [12:23:18]OFD Sender: No OFD packet to send [12:23:23]OFD Sender: No OFD packet to send [12:23:28]OFD Sender: No OFD packet to send [12:23:33]OFD Sender: No OFD packet to send [12:23:38]OFD Sender: No OFD packet to send [12:23:43]OFD Sender: No OFD packet to send [12:23:48]OFD Sender: No OFD packet to send [12:23:53]OFD Sender: No OFD packet to send [12:23:58]OFD Sender: No OFD packet to send [12:24:03]OFD Sender: No OFD packet to send [12:24:08]OFD Sender: No OFD packet to send [12:24:13]OFD Sender: No OFD packet to send [12:24:18]OFD Sender: No OFD packet to send [12:24:23]OFD Sender: No OFD packet to send [12:24:28]OFD Sender: No OFD packet to send [12:24:33]OFD Sender: No OFD packet to send [12:24:38]OFD Sender: No OFD packet to send [12:24:43]OFD Sender: No OFD packet to send [12:24:48]OFD Sender: No OFD packet to send [12:24:53]OFD Sender: No OFD packet to send [12:24:58]OFD Sender: No OFD packet to send [12:25:03]OFD Sender: No OFD packet to send [12:25:08]OFD Sender: No OFD packet to send [12:25:13]OFD Sender: No OFD packet to send [12:25:18]OFD Sender: No OFD packet to send [12:25:23]OFD Sender: No OFD packet to send [12:25:28]OFD Sender: No OFD packet to send [12:25:33]OFD Sender: No OFD packet to send [12:25:38]OFD Sender: No OFD packet to send [12:25:43]OFD Sender: No OFD packet to send [12:25:48]OFD Sender: No OFD packet to send [12:25:53]OFD Sender: No OFD packet to send [12:25:58]OFD Sender: No OFD packet to send [12:26:03]OFD Sender: No OFD packet to send [12:26:08]OFD Sender: No OFD packet to send [12:26:13]OFD Sender: No OFD packet to send [12:26:18]OFD Sender: No OFD packet to send [12:26:23]OFD Sender: No OFD packet to send [12:26:28]OFD Sender: No OFD packet to send [12:26:33]OFD Sender: No OFD packet to send [12:26:38]OFD Sender: No OFD packet to send [12:26:43]OFD Sender: No OFD packet to send [12:26:48]OFD Sender: No OFD packet to send [12:26:53]OFD Sender: No OFD packet to send [12:26:58]OFD Sender: No OFD packet to send [12:27:03]OFD Sender: No OFD packet to send [12:27:08]OFD Sender: No OFD packet to send [12:27:13]OFD Sender: No OFD packet to send [12:27:18]OFD Sender: No OFD packet to send [12:27:23]OFD Sender: No OFD packet to send [12:27:28]OFD Sender: No OFD packet to send [12:27:33]OFD Sender: No OFD packet to send [12:27:38]OFD Sender: No OFD packet to send [12:27:43]OFD Sender: No OFD packet to send [12:27:48]OFD Sender: No OFD packet to send [12:27:53]OFD Sender: No OFD packet to send [12:27:58]OFD Sender: No OFD packet to send [12:28:03]OFD Sender: No OFD packet to send [12:28:08]OFD Sender: No OFD packet to send [12:28:13]OFD Sender: No OFD packet to send [12:28:18]OFD Sender: No OFD packet to send [12:28:23]OFD Sender: No OFD packet to send [12:28:28]OFD Sender: No OFD packet to send [12:28:33]OFD Sender: No OFD packet to send [12:28:38]OFD Sender: No OFD packet to send [12:28:43]OFD Sender: No OFD packet to send [12:28:48]OFD Sender: No OFD packet to send [12:28:53]OFD Sender: No OFD packet to send [12:28:58]OFD Sender: No OFD packet to send [12:29:03]OFD Sender: No OFD packet to send [12:29:08]OFD Sender: No OFD packet to send [12:29:13]OFD Sender: No OFD packet to send [12:29:18]OFD Sender: No OFD packet to send [12:29:23]OFD Sender: No OFD packet to send [12:29:28]OFD Sender: No OFD packet to send [12:29:33]OFD Sender: No OFD packet to send [12:29:38]OFD Sender: No OFD packet to send [12:29:43]OFD Sender: No OFD packet to send [12:29:48]OFD Sender: No OFD packet to send [12:29:53]OFD Sender: No OFD packet to send [12:29:58]OFD Sender: No OFD packet to send [12:30:03]OFD Sender: No OFD packet to send [12:30:08]OFD Sender: No OFD packet to send [12:30:13]OFD Sender: No OFD packet to send [12:30:18]OFD Sender: No OFD packet to send [12:30:23]OFD Sender: No OFD packet to send [12:30:28]OFD Sender: No OFD packet to send [12:30:33]OFD Sender: No OFD packet to send [12:30:38]OFD Sender: No OFD packet to send [12:30:43]OFD Sender: No OFD packet to send [12:30:48]OFD Sender: No OFD packet to send [12:30:53]OFD Sender: No OFD packet to send [12:30:58]OFD Sender: No OFD packet to send [12:31:03]OFD Sender: No OFD packet to send [12:31:08]OFD Sender: No OFD packet to send [12:31:13]OFD Sender: No OFD packet to send [12:31:18]OFD Sender: No OFD packet to send [12:31:23]OFD Sender: No OFD packet to send [12:31:28]OFD Sender: No OFD packet to send [12:31:33]OFD Sender: No OFD packet to send [12:31:38]OFD Sender: No OFD packet to send [12:31:43]OFD Sender: No OFD packet to send [12:31:48]OFD Sender: No OFD packet to send [12:31:53]OFD Sender: No OFD packet to send [12:31:58]OFD Sender: No OFD packet to send [12:32:03]OFD Sender: No OFD packet to send [12:32:08]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:44]OFD Sender: No OFD packet to send [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:14]OFD Sender: No OFD packet to send [12:39:19]OFD Sender: No OFD packet to send [12:39:24]OFD Sender: No OFD packet to send [12:39:29]OFD Sender: No OFD packet to send [12:39:34]OFD Sender: No OFD packet to send [12:39:39]OFD Sender: No OFD packet to send [12:39:44]OFD Sender: No OFD packet to send [12:39:49]OFD Sender: No OFD packet to send [12:39:54]OFD Sender: No OFD packet to send [12:39:59]OFD Sender: No OFD packet to send [12:40:04]OFD Sender: No OFD packet to send [12:40:09]OFD Sender: No OFD packet to send [12:40:14]OFD Sender: No OFD packet to send [12:40:19]OFD Sender: No OFD packet to send [12:40:24]OFD Sender: No OFD packet to send [12:40:29]OFD Sender: No OFD packet to send [12:40:34]OFD Sender: No OFD packet to send [12:40:39]OFD Sender: No OFD packet to send [12:40:44]OFD Sender: No OFD packet to send [12:40:49]OFD Sender: No OFD packet to send [12:40:54]OFD Sender: No OFD packet to send [12:40:59]OFD Sender: No OFD packet to send [12:41:04]OFD Sender: No OFD packet to send [12:41:09]OFD Sender: No OFD packet to send [12:41:14]OFD Sender: No OFD packet to send [12:41:19]OFD Sender: No OFD packet to send [12:41:24]OFD Sender: No OFD packet to send [12:41:29]OFD Sender: No OFD packet to send [12:41:34]OFD Sender: No OFD packet to send [12:41:39]OFD Sender: No OFD packet to send [12:41:44]OFD Sender: No OFD packet to send [12:41:49]OFD Sender: No OFD packet to send [12:41:54]OFD Sender: No OFD packet to send [12:41:59]OFD Sender: No OFD packet to send [12:42:04]OFD Sender: No OFD packet to send [12:42:09]OFD Sender: No OFD packet to send [12:42:14]OFD Sender: No OFD packet to send [12:42:19]OFD Sender: No OFD packet to send [12:42:24]OFD Sender: No OFD packet to send [12:42:29]OFD Sender: No OFD packet to send [12:42:34]OFD Sender: No OFD packet to send [12:42:39]OFD Sender: No OFD packet to send [12:42:44]OFD Sender: No OFD packet to send [12:42:49]OFD Sender: No OFD packet to send [12:42:54]OFD Sender: No OFD packet to send [12:42:59]OFD Sender: No OFD packet to send [12:43:04]OFD Sender: No OFD packet to send [12:43:09]OFD Sender: No OFD packet to send [12:43:14]OFD Sender: No OFD packet to send [12:43:19]OFD Sender: No OFD packet to send [12:43:24]OFD Sender: No OFD packet to send [12:43:29]OFD Sender: No OFD packet to send [12:43:34]OFD Sender: No OFD packet to send [12:43:39]OFD Sender: No OFD packet to send [12:43:44]OFD Sender: No OFD packet to send [12:43:49]OFD Sender: No OFD packet to send [12:43:54]OFD Sender: No OFD packet to send [12:43:59]OFD Sender: No OFD packet to send [12:44:04]OFD Sender: No OFD packet to send [12:44:09]OFD Sender: No OFD packet to send [12:44:14]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:04]OFD Sender: No OFD packet to send [12:48:09]OFD Sender: No OFD packet to send [12:48:14]OFD Sender: No OFD packet to send [12:48:19]OFD Sender: No OFD packet to send [12:48:24]OFD Sender: No OFD packet to send [12:48:29]OFD Sender: No OFD packet to send [12:48:34]OFD Sender: No OFD packet to send [12:48:39]OFD Sender: No OFD packet to send [12:48:44]OFD Sender: No OFD packet to send [12:48:49]OFD Sender: No OFD packet to send [12:48:54]OFD Sender: No OFD packet to send [12:48:59]OFD Sender: No OFD packet to send [12:49:04]OFD Sender: No OFD packet to send [12:49:09]OFD Sender: No OFD packet to send [12:49:14]OFD Sender: No OFD packet to send [12:49:19]OFD Sender: No OFD packet to send [12:49:24]OFD Sender: No OFD packet to send [12:49:29]OFD Sender: No OFD packet to send [12:49:34]OFD Sender: No OFD packet to send [12:49:39]OFD Sender: No OFD packet to send [12:49:44]OFD Sender: No OFD packet to send [12:49:49]OFD Sender: No OFD packet to send [12:49:54]OFD Sender: No OFD packet to send [12:49:59]OFD Sender: No OFD packet to send [12:50:04]OFD Sender: No OFD packet to send [12:50:09]OFD Sender: No OFD packet to send [12:50:14]OFD Sender: No OFD packet to send [12:50:19]OFD Sender: No OFD packet to send [12:50:24]OFD Sender: No OFD packet to send [12:50:29]OFD Sender: No OFD packet to send [12:50:34]OFD Sender: No OFD packet to send [12:50:39]OFD Sender: No OFD packet to send [12:50:44]OFD Sender: No OFD packet to send [12:50:49]OFD Sender: No OFD packet to send [12:50:54]OFD Sender: No OFD packet to send [12:50:59]OFD Sender: No OFD packet to send [12:51:04]OFD Sender: No OFD packet to send [12:51:09]OFD Sender: No OFD packet to send [12:51:14]OFD Sender: No OFD packet to send [12:51:19]OFD Sender: No OFD packet to send [12:51:24]OFD Sender: No OFD packet to send [12:51:29]OFD Sender: No OFD packet to send [12:51:34]OFD Sender: No OFD packet to send [12:51:39]OFD Sender: No OFD packet to send [12:51:44]OFD Sender: No OFD packet to send [12:51:49]OFD Sender: No OFD packet to send [12:51:54]OFD Sender: No OFD packet to send [12:51:59]OFD Sender: No OFD packet to send [12:52:04]OFD Sender: No OFD packet to send [12:52:09]OFD Sender: No OFD packet to send [12:52:14]OFD Sender: No OFD packet to send [12:52:19]OFD Sender: No OFD packet to send [12:52:24]OFD Sender: No OFD packet to send [12:52:29]OFD Sender: No OFD packet to send [12:52:34]OFD Sender: No OFD packet to send [12:52:39]OFD Sender: No OFD packet to send [12:52:44]OFD Sender: No OFD packet to send [12:52:49]OFD Sender: No OFD packet to send [12:52:54]OFD Sender: No OFD packet to send [12:52:59]OFD Sender: No OFD packet to send [12:53:04]OFD Sender: No OFD packet to send [12:53:09]OFD Sender: No OFD packet to send [12:53:14]OFD Sender: No OFD packet to send [12:53:19]OFD Sender: No OFD packet to send [12:53:24]OFD Sender: No OFD packet to send [12:53:29]accept exits with 10 [12:53:29]New connection [12:53:29]New thread 3067530596 created [12:53:29]Thread 3067387236 joined [12:53:29]Waiting for new connection... [12:53:29] Sock 10.Parse request [12:53:29]Sock 10.Check first char [12:53:29]Sock 10.First char is OK [12:53:29]request: POST /json_proto HTTP/1.0 [12:53:29]Method: POST [12:53:29]URL: /json_proto [12:53:29]Method is POST - this is cgi request [12:53:29]url: /json_proto [12:53:29]query_string will be loaded in cgi processing [12:53:29]execute_cgi json_proto POST (null) [12:53:29]execute_cgi path=json_proto method=POST [12:53:29]POST find Content-Length [12:53:29]Host: 172.17.45.8:8080 [12:53:29]Content-Length: 669 [12:53:29]Content-Type: application/json [12:53:29] [12:53:29]POST finish read [12:53:29]Found Content-Length = 669 [12:53:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150442", "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" ] } } [12:53:29]execute_script... [12:53: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)150442", "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" ] } } [12:53:29]POST & json_proto [12:53:29]process_json_proto [12:53:29]json parsed OK: [12:53:29]protocol is kg_v1.0 [12:53:29]action value=close_receipt [12:53:29]process_action close_receipt [12:53:29]cmd_close_receipt [12:53:29]MH_GetDate [12:53:29]Write to MH i2c: F0 00 00 34 12 35 [12:53:29]Write i2c OK [12:53:29]MH_I2C_Read... [12:53:29]Read from MH i2c: F0 [12:53:29]MH_I2C_Read... [12:53:29]Read from MH i2c: F0 09 00 [12:53:29]MH_I2C_Read... [12:53:29]Read from MH i2c: F0 09 00 34 12 00 4D 3F A6 66 A6 1F 7F 64 7E [12:53:29]GetLastDocTimeStamp 1722167438 [12:53:29]current date 1722171213 [12:53:29]FM_GetShiftState [12:53:29]SAM_PROTO_GetShiftState [12:53:29]wFMCommunicate request_size=4 [12:53:29]MH_SAM_APDU [12:53:29]CAPDU: 80 13 01 00 [12:53:29]Write to MH i2c: E2 08 00 35 12 80 13 01 00 00 00 00 00 C4 [12:53:29]Write i2c OK [12:53:29]MH_I2C_Read... [12:53:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:53:29]Read from MH i2c: E2 [12:53:29]MH_I2C_Read... [12:53:29]Read from MH i2c: E2 0E 00 [12:53:29]MH_I2C_Read... [12:53:29]Read from MH i2c: E2 0E 00 35 12 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 EC [12:53:29]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [12:53:29]wFMCommunicate OK [12:53:29]SAM_PROTO_GetShiftState done [12:53:29]FM_GetShiftState done [12:53:29]opened in 1722127230 [12:53:29]opened+sec_in_day 1722213630 [12:53:29]quantity*price = 6500 [12:53:29]sum+1 = 6501 [12:53:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 22 28.07.2024 12:53 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27044 ФПД: 277211830610765 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T125333&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27044&fm=277211830610765&tin=02508201610067®Number=0000000000092663&sum=6500 0 [12:53:30]StoreToDocumentArchive [12:53:30]shift 433 fd 27044 [12:53:30]save to /storage/0433/doc_00027044 [12:53:30]save last doc name /storage/0433/doc_00027044 to /storage/kkm_last_doc_name [12:53:30]save OK [12:53:30]Clear old archive folders... [12:53:30]ProcessDocumentItem done err = 0, tmpTLVsize=284 [12:53:30]tlvbuf is 0180CC60 [12:53:30]SAM_PROTO_ClearQueue [12:53:30]wFMCommunicate request_size=4 [12:53:30]MH_SAM_APDU [12:53:30]CAPDU: 80 09 00 00 [12:53:30]Write to MH i2c: E2 08 00 42 12 80 09 00 00 00 00 00 00 C6 [12:53:30]Write i2c OK [12:53:30]MH_I2C_Read... [12:53:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:53:30]Read from MH i2c: E2 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: E2 03 00 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: E2 03 00 42 12 00 90 00 C8 [12:53:30]RAPDU: 90 00 [12:53:30]wFMCommunicate OK [12:53:30]SAM_PROTO_ClearQueue done [12:53:30]KKMCreateOFDPacket [12:53:30]OFDProtocolAddRootSTLVToBuf [12:53:30]FM_MakeSignedData [12:53:30]FM_MakeSignedData [12:53:30]SAM_PROTO_SignData [12:53:30]wFMCommunicate request_size=4 [12:53:30]MH_SAM_APDU [12:53:30]CAPDU: 80 0D 01 02 [12:53:30]Write to MH i2c: E2 08 00 43 12 80 0D 01 02 00 00 00 00 CE [12:53:30]Write i2c OK [12:53:30]MH_I2C_Read... [12:53:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:53:30]Read from MH i2c: E2 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: E2 03 00 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: E2 03 00 43 12 00 90 00 C9 [12:53:30]RAPDU: 90 00 [12:53:30]wFMCommunicate OK [12:53:30]wFMCommunicate request_size=255 [12:53:30]MH_SAM_APDU [12:53:30]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 16 00 00 00 F4 03 04 00 4D 3F A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 [12:53:30]Write to MH i2c: E2 02 01 44 12 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 16 00 00 00 F4 03 04 00 4D 3F A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 00 00 BB [12:53:30]Write i2c OK [12:53:30]MH_I2C_Read... [12:53:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:53:30]Read from MH i2c: E2 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: E2 03 00 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: E2 03 00 44 12 00 90 00 CA [12:53:30]RAPDU: 90 00 [12:53:30]wFMCommunicate OK [12:53:30]wFMCommunicate request_size=43 [12:53:30]MH_SAM_APDU [12:53:30]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A4 69 00 00 35 04 06 00 FC 1F 68 B0 EB 4D [12:53:30]Write to MH i2c: E2 2E 00 45 12 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A4 69 00 00 35 04 06 00 FC 1F 68 B0 EB 4D 00 00 37 [12:53:30]Write i2c OK [12:53:30]MH_I2C_Read... [12:53:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:53:30]Read from MH i2c: E2 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: E2 03 00 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: E2 03 00 45 12 00 90 00 CB [12:53:30]RAPDU: 90 00 [12:53:30]wFMCommunicate OK [12:53:30]wFMCommunicate request_size=4 [12:53:30]MH_SAM_APDU [12:53:30]CAPDU: 80 0D 03 02 [12:53:30]Write to MH i2c: E2 08 00 46 12 80 0D 03 02 00 00 00 00 D3 [12:53:30]Write i2c OK [12:53:30]MH_I2C_Read... [12:53:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:53:30]Read from MH i2c: E2 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: E2 0B 00 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: E2 0B 00 46 12 00 CA 1C 78 BA B3 71 BC CF 90 00 9B [12:53:30]RAPDU: CA 1C 78 BA B3 71 BC CF 90 00 [12:53:30]wFMCommunicate OK [12:53:30]SAM_PROTO_SignData done [12:53:30]FM_MakeSignedData done [12:53:30]CreateOFDProtocolMessage [12:53:30]wFMCommunicate request_size=4 [12:53:30]MH_SAM_APDU [12:53:30]CAPDU: 80 11 00 00 [12:53:30]Write to MH i2c: E2 08 00 47 12 80 11 00 00 00 00 00 00 D3 [12:53:30]Write i2c OK [12:53:30]MH_I2C_Read... [12:53:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:53:30]Read from MH i2c: E2 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: E2 17 00 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: E2 17 00 47 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 2C [12:53:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [12:53:30]wFMCommunicate OK [12:53:30]CreateOFDProtocolMessage done [12:53:30]OFDSenderStorePacket 27044 [12:53:30]StoreOFDPacket docnum=27044 [12:53:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 30 01 00 00 DC 9E 28 01 1D 46 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 16 00 00 00 F4 03 04 00 4D 3F A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A4 69 00 00 35 04 06 00 FC 1F 68 B0 EB 4D CA 1C 78 BA B3 71 BC CF [12:53:30]CheckFolder [12:53:30]dirname=/storage/ofd_packets [12:53:30]CheckFolder done [12:53:30]ProducePacketName [12:53:30]name=ofd_packets/00027044 [12:53:30]NVStorageSaveData ofd_packets/00027044 [12:53:30]File name is /storage/ofd_packets/00027044 [12:53:30]Write 334 bytes [12:53:30]NVStorageSaveData done [12:53:30]OFDSenderStorePacket done [12:53:30]KKMCreateOFDPacket done [12:53:30]NVStorageSaveData kkm_last_timestamp [12:53:30]File name is /storage/kkm_last_timestamp [12:53:30]Write 4 bytes [12:53:30]NVStorageSaveData done [12:53:30]ExternCall_PrintAddStr [12:53:30]wPrintStart [12:53:30]Write to MH i2c: 01 00 00 48 12 5A [12:53:30]Write i2c OK [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: 01 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: 01 07 00 [12:53:30]MH_I2C_Read... [12:53:30]Read from MH i2c: 01 07 00 48 12 00 00 00 00 00 FF 0F 6F [12:53:30]RasterBufferAndPrint [12:53:30]line Счет N : (3)150442 [12:53:30]line ИНН: 02508201610067 [12:53:30]line Контрольно-Кассовый Чек [12:53:30]line ПРОДАЖА [12:53:30]line Товар: 4700040114137 [12:53:30]line Султан чай 1л. зел лимон [12:53:30]line 1.000 * 65.00 [12:53:30]line = 65.00 [12:53:30]line НДС 12% НСП 1% [12:53:30]line > о реализуемом товаре [12:53:30]line ИТОГО: 65.00 [12:53:30]line НСП 1% : 0.57 [12:53:30]line НДС 12% : 6.90 [12:53:30]line Наличными: 65.00 [12:53:30]line Безнал.: 0.00 [12:53:30]line Место: АЗС № 134 "Партнер Нефть" [12:53:30]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [12:53:30]line СНО: Общий режим [12:53:30]line Чек 22 28.07.2024 12:53 [12:53:30]line Смена: 433 ФФД: 1.0 [12:53:30]line ЗНМ: 0300000043 [12:53:30]line РНМ: 0000000000092663 [12:53:30]line Версия ККМ: 001 [12:53:30]line ФМ: 0000000000874937 [12:53:30]line ФД: 27044 [12:53:30]line ФПД: 277211830610765 [12:53:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T125333&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27044&fm=277211830610765&tin=02508201610067®Number=0000000000092663&sum=6500 [12:53:31]line 0 [12:53:31]OFD Sender: Processing packet 27044 [packets to send 9, broken 8] [12:53:31]ProducePacketName [12:53:31]name=ofd_packets/00027044 [12:53:31]OFD Sender: To server: pG, [12:53:31]CommunicateWithHost lk.salyk.kg:30040 [12:53:31]ConnectInit lk.salyk.kg [12:53:31]written 0, free lines is 4095 [12:53:31]Connected sock=9 [12:53:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 30 01 00 00 DC 9E 28 01 1D 46 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 16 00 00 00 F4 03 04 00 4D 3F A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A4 69 00 00 35 04 06 00 FC 1F 68 B0 EB 4D CA 1C 78 BA B3 71 BC CF [12:53:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 B3 A4 47 00 DB 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 38 37 34 39 33 37 10 04 04 00 A4 69 00 00 F4 03 04 00 A1 E5 A5 66 B6 04 01 00 00 4A BE 09 50 BC 7B C8 5D [12:53:31]CommunicateWithHost err = 0 [12:53:31]CheckOFDResponse [12:53:31]1017 (14) - 77093643461234 [12:53:31]1041 (16) - 0000000000874937 [12:53:31]1040 (4) - 27044 [12:53:31]1012 (4) - 28.07.2024 06:30 [12:53:31]1206 (1) - 0 [12:53:31]OFD Sender: Remove packet 27044 [12:53:31]ProducePacketName [12:53:31]name=ofd_packets/00027044 [12:53:31]NVStorageDeleteData [12:53:31]Write to MH i2c: 01 00 00 6F 12 81 [12:53:31]Write i2c OK [12:53:31]MH_I2C_Read... [12:53:31]Read from MH i2c: 01 [12:53:31]MH_I2C_Read... [12:53:31]Read from MH i2c: 01 07 00 [12:53:31]MH_I2C_Read... [12:53:31]Read from MH i2c: 01 07 00 6F 12 00 00 00 00 00 04 0D 99 [12:53:31]RasterBufferAndPrint [12:53:31]line [12:53:31]line [12:53:31]line [12:53:31]line [12:53:31]line [12:53:31]written 0, free lines is 3339 [12:53:31]MH_Cut [12:53:31]Write to MH i2c: D1 01 00 76 12 01 5A [12:53:31]Write i2c OK [12:53:31]MH_I2C_Read... [12:53:31]Read from MH i2c: D1 [12:53:31]MH_I2C_Read... [12:53:31]Read from MH i2c: D1 01 00 [12:53:31]MH_I2C_Read... [12:53:31]Read from MH i2c: D1 01 00 76 12 00 59 [12:53:31]Write to MH i2c: 01 00 00 77 12 89 [12:53:31]Write i2c OK [12:53:31]MH_I2C_Read... [12:53:32]OFD Sender: No OFD packet to send [12:53:32]*** Cut start [12:53:32]*** Partial cut [12:53:32]*** CUTSNS_PIN = 1 [12:53:32]*** CUTSNS_PIN = 0 [12:53:32]*** Brake cut motor [12:53:33]Read from MH i2c: 01 [12:53:33]MH_I2C_Read... [12:53:33]*** Stop cut motor [12:53:33]*** Cut end [12:53:33]Read from MH i2c: 01 07 00 [12:53:33]MH_I2C_Read... [12:53:33]Read from MH i2c: 01 07 00 77 12 00 00 00 00 00 FF 0F 9E [12:53:33]process_action close_receipt done [12:53:33]requested_data is exist [12:53:33]produce_requested_data [12:53:33]requested_item fm.sn is exist - process it [12:53:33]wFMCommunicate request_size=4 [12:53:33]MH_SAM_APDU [12:53:33]CAPDU: 80 11 00 00 [12:53:33]Write to MH i2c: E2 08 00 78 12 80 11 00 00 00 00 00 00 04 [12:53:33]Write i2c OK [12:53:33]MH_I2C_Read... [12:53:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:53:33]Read from MH i2c: E2 [12:53:33]MH_I2C_Read... [12:53:33]Read from MH i2c: E2 17 00 [12:53:33]MH_I2C_Read... [12:53:33]Read from MH i2c: E2 17 00 78 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 5D [12:53:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [12:53:33]wFMCommunicate OK [12:53:33]requested_item fd.num is exist - process it [12:53:33]SAM_PROTO_GetFieldsCounters [12:53:33]wFMCommunicate request_size=4 [12:53:33]MH_SAM_APDU [12:53:33]CAPDU: 80 13 00 00 [12:53:33]Write to MH i2c: E2 08 00 79 12 80 13 00 00 00 00 00 00 07 [12:53:33]Write i2c OK [12:53:33]MH_I2C_Read... [12:53:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:53:33]Read from MH i2c: E2 [12:53:33]MH_I2C_Read... [12:53:33]Read from MH i2c: E2 62 00 [12:53:33]MH_I2C_Read... [12:53:33]Read from MH i2c: E2 62 00 79 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 A4 69 00 00 0E 04 04 00 B1 01 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 30 [12:53:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 A4 69 00 00 0E 04 04 00 B1 01 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 [12:53:33]wFMCommunicate OK [12:53:33]SAM_PROTO_GetFieldsCounters done [12:53:33]requested_item shift.num is exist - process it [12:53:33]requested_item shift.opened is exist - process it [12:53:33]req_shift_opened [12:53:33]FM_GetShiftState [12:53:33]SAM_PROTO_GetShiftState [12:53:33]wFMCommunicate request_size=4 [12:53:33]MH_SAM_APDU [12:53:33]CAPDU: 80 13 01 00 [12:53:33]Write to MH i2c: E2 08 00 7A 12 80 13 01 00 00 00 00 00 09 [12:53:33]Write i2c OK [12:53:33]MH_I2C_Read... [12:53:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:53:33]Read from MH i2c: E2 [12:53:33]MH_I2C_Read... [12:53:33]Read from MH i2c: E2 0E 00 [12:53:33]MH_I2C_Read... [12:53:33]Read from MH i2c: E2 0E 00 7A 12 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 31 [12:53:33]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [12:53:33]wFMCommunicate OK [12:53:33]SAM_PROTO_GetShiftState done [12:53:33]FM_GetShiftState done [12:53:33]req_shift_opened done [12:53:33]requested_item shift.open_date is exist - process it [12:53:33]req_shift_open_date [12:53:33]req_shift_open_date done [12:53:33]produce_requested_data done [12:53:33]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27044,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [12:53:33]process_action_free close_receipt [12:53:33]json_value_free [12:53:33]json_value_free done [12:53:33]process_json_proto returns [12:53:33]Send response to host [12:53:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27044,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [12:53:33]free response buf [12:53:33]execute_script done [12:53:33]execute_script returns [12:53:33]free content buf [12:53:33]Sock 10.Close socket [12:53:33]Sock 10.Thread stoped [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:06]accept exits with 7 [13:01:06]New connection [13:01:06]New thread 3067387236 created [13:01:06]Thread 3067530596 joined [13:01:06]Waiting for new connection... [13:01:06] Sock 7.Parse request [13:01:06]Sock 7.Check first char [13:01:06]Sock 7.First char is OK [13:01:06]request: POST /json_proto HTTP/1.0 [13:01:06]Method: POST [13:01:06]URL: /json_proto [13:01:06]Method is POST - this is cgi request [13:01:06]url: /json_proto [13:01:06]query_string will be loaded in cgi processing [13:01:06]execute_cgi json_proto POST (null) [13:01:06]execute_cgi path=json_proto method=POST [13:01:06]POST find Content-Length [13:01:06]Host: 172.17.45.8:8080 [13:01:06]Content-Length: 675 [13:01:06]Content-Type: application/json [13:01:06] [13:01:06]POST finish read [13:01:06]Found Content-Length = 675 [13:01:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150443", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "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:01:06]execute_script... [13:01: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)150443", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "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:01:06]POST & json_proto [13:01:06]process_json_proto [13:01:06]json parsed OK: [13:01:06]protocol is kg_v1.0 [13:01:06]action value=close_receipt [13:01:06]process_action close_receipt [13:01:06]cmd_close_receipt [13:01:06]MH_GetDate [13:01:06]Write to MH i2c: F0 00 00 7B 12 7C [13:01:06]Write i2c OK [13:01:06]MH_I2C_Read... [13:01:06]Read from MH i2c: F0 [13:01:06]MH_I2C_Read... [13:01:06]Read from MH i2c: F0 09 00 [13:01:06]MH_I2C_Read... [13:01:06]Read from MH i2c: F0 09 00 7B 12 00 16 41 A6 66 A6 1F 7F 64 90 [13:01:06]GetLastDocTimeStamp 1722171213 [13:01:06]current date 1722171670 [13:01:06]FM_GetShiftState [13:01:06]SAM_PROTO_GetShiftState [13:01:06]wFMCommunicate request_size=4 [13:01:06]MH_SAM_APDU [13:01:06]CAPDU: 80 13 01 00 [13:01:06]Write to MH i2c: E2 08 00 7C 12 80 13 01 00 00 00 00 00 0B [13:01:06]Write i2c OK [13:01:06]MH_I2C_Read... [13:01:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:01:06]Read from MH i2c: E2 [13:01:06]MH_I2C_Read... [13:01:06]Read from MH i2c: E2 0E 00 [13:01:06]MH_I2C_Read... [13:01:06]Read from MH i2c: E2 0E 00 7C 12 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 33 [13:01:06]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [13:01:06]wFMCommunicate OK [13:01:06]SAM_PROTO_GetShiftState done [13:01:06]FM_GetShiftState done [13:01:06]opened in 1722127230 [13:01:06]opened+sec_in_day 1722213630 [13:01:06]quantity*price = 6500 [13:01:06]sum+1 = 6501 [13:01:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 23 28.07.2024 13:01 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27045 ФПД: 47106882227078 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T130110&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27045&fm=47106882227078&tin=02508201610067®Number=0000000000092663&sum=6500 0 [13:01:07]StoreToDocumentArchive [13:01:07]shift 433 fd 27045 [13:01:07]save to /storage/0433/doc_00027045 [13:01:07]save last doc name /storage/0433/doc_00027045 to /storage/kkm_last_doc_name [13:01:07]save OK [13:01:07]Clear old archive folders... [13:01:07]ProcessDocumentItem done err = 0, tmpTLVsize=286 [13:01:07]tlvbuf is 0180C890 [13:01:07]SAM_PROTO_ClearQueue [13:01:07]wFMCommunicate request_size=4 [13:01:07]MH_SAM_APDU [13:01:07]CAPDU: 80 09 00 00 [13:01:07]Write to MH i2c: E2 08 00 89 12 80 09 00 00 00 00 00 00 0D [13:01:07]Write i2c OK [13:01:07]MH_I2C_Read... [13:01:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:01:07]Read from MH i2c: E2 [13:01:07]MH_I2C_Read... [13:01:07]Read from MH i2c: E2 03 00 [13:01:07]MH_I2C_Read... [13:01:07]Read from MH i2c: E2 03 00 89 12 00 90 00 0F [13:01:07]RAPDU: 90 00 [13:01:07]wFMCommunicate OK [13:01:07]SAM_PROTO_ClearQueue done [13:01:07]KKMCreateOFDPacket [13:01:07]OFDProtocolAddRootSTLVToBuf [13:01:07]FM_MakeSignedData [13:01:07]FM_MakeSignedData [13:01:07]SAM_PROTO_SignData [13:01:07]wFMCommunicate request_size=4 [13:01:07]MH_SAM_APDU [13:01:07]CAPDU: 80 0D 01 02 [13:01:07]Write to MH i2c: E2 08 00 8A 12 80 0D 01 02 00 00 00 00 15 [13:01:07]Write i2c OK [13:01:07]MH_I2C_Read... [13:01:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:01:07]Read from MH i2c: E2 [13:01:07]MH_I2C_Read... [13:01:07]Read from MH i2c: E2 03 00 [13:01:07]MH_I2C_Read... [13:01:07]Read from MH i2c: E2 03 00 8A 12 00 90 00 10 [13:01:07]RAPDU: 90 00 [13:01:07]wFMCommunicate OK [13:01:07]wFMCommunicate request_size=255 [13:01:07]MH_SAM_APDU [13:01:07]CAPDU: 80 0D 02 02 FA 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 17 00 00 00 F4 03 04 00 16 41 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 [13:01:07]Write to MH i2c: E2 02 01 8B 12 80 0D 02 02 FA 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 17 00 00 00 F4 03 04 00 16 41 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 00 00 09 [13:01:07]Write i2c OK [13:01:07]MH_I2C_Read... [13:01:07]OFD Sender: No OFD packet to send [13:01:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:01:07]Read from MH i2c: E2 [13:01:07]MH_I2C_Read... [13:01:07]Read from MH i2c: E2 03 00 [13:01:07]MH_I2C_Read... [13:01:07]Read from MH i2c: E2 03 00 8B 12 00 90 00 11 [13:01:07]RAPDU: 90 00 [13:01:07]wFMCommunicate OK [13:01:07]wFMCommunicate request_size=45 [13:01:07]MH_SAM_APDU [13:01:07]CAPDU: 80 0D 02 02 28 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A5 69 00 00 35 04 06 00 2A D7 EC FB 4B 86 [13:01:07]Write to MH i2c: E2 30 00 8C 12 80 0D 02 02 28 00 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A5 69 00 00 35 04 06 00 2A D7 EC FB 4B 86 00 00 3A [13:01:07]Write i2c OK [13:01:07]MH_I2C_Read... [13:01:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:01:07]Read from MH i2c: E2 [13:01:07]MH_I2C_Read... [13:01:07]Read from MH i2c: E2 03 00 [13:01:07]MH_I2C_Read... [13:01:07]Read from MH i2c: E2 03 00 8C 12 00 90 00 12 [13:01:07]RAPDU: 90 00 [13:01:07]wFMCommunicate OK [13:01:07]wFMCommunicate request_size=4 [13:01:07]MH_SAM_APDU [13:01:07]CAPDU: 80 0D 03 02 [13:01:07]Write to MH i2c: E2 08 00 8D 12 80 0D 03 02 00 00 00 00 1A [13:01:07]Write i2c OK [13:01:07]MH_I2C_Read... [13:01:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:01:07]Read from MH i2c: E2 [13:01:07]MH_I2C_Read... [13:01:07]Read from MH i2c: E2 0B 00 [13:01:07]MH_I2C_Read... [13:01:07]Read from MH i2c: E2 0B 00 8D 12 00 43 FA 6C 47 CA E8 93 3C 90 00 8C [13:01:07]RAPDU: 43 FA 6C 47 CA E8 93 3C 90 00 [13:01:07]wFMCommunicate OK [13:01:07]SAM_PROTO_SignData done [13:01:07]FM_MakeSignedData done [13:01:07]CreateOFDProtocolMessage [13:01:07]wFMCommunicate request_size=4 [13:01:07]MH_SAM_APDU [13:01:07]CAPDU: 80 11 00 00 [13:01:07]Write to MH i2c: E2 08 00 8E 12 80 11 00 00 00 00 00 00 1A [13:01:07]Write i2c OK [13:01:07]MH_I2C_Read... [13:01:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:01:07]Read from MH i2c: E2 [13:01:07]MH_I2C_Read... [13:01:07]Read from MH i2c: E2 17 00 [13:01:07]MH_I2C_Read... [13:01:07]Read from MH i2c: E2 17 00 8E 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 73 [13:01:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [13:01:07]wFMCommunicate OK [13:01:07]CreateOFDProtocolMessage done [13:01:07]OFDSenderStorePacket 27045 [13:01:07]StoreOFDPacket docnum=27045 [13:01:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 32 01 00 00 EB EA 2A 01 94 E7 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 17 00 00 00 F4 03 04 00 16 41 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A5 69 00 00 35 04 06 00 2A D7 EC FB 4B 86 43 FA 6C 47 CA E8 93 3C [13:01:07]CheckFolder [13:01:07]dirname=/storage/ofd_packets [13:01:07]CheckFolder done [13:01:07]ProducePacketName [13:01:07]name=ofd_packets/00027045 [13:01:07]NVStorageSaveData ofd_packets/00027045 [13:01:07]File name is /storage/ofd_packets/00027045 [13:01:07]Write 336 bytes [13:01:07]NVStorageSaveData done [13:01:07]OFDSenderStorePacket done [13:01:07]KKMCreateOFDPacket done [13:01:07]NVStorageSaveData kkm_last_timestamp [13:01:07]File name is /storage/kkm_last_timestamp [13:01:07]Write 4 bytes [13:01:07]NVStorageSaveData done [13:01:07]ExternCall_PrintAddStr [13:01:07]wPrintStart [13:01:07]Write to MH i2c: 01 00 00 8F 12 A1 [13:01:07]Write i2c OK [13:01:07]MH_I2C_Read... [13:01:07]Read from MH i2c: 01 [13:01:07]MH_I2C_Read... [13:01:07]Read from MH i2c: 01 07 00 [13:01:07]MH_I2C_Read... [13:01:07]Read from MH i2c: 01 07 00 8F 12 00 00 00 00 00 FF 0F B6 [13:01:07]RasterBufferAndPrint [13:01:07]line Счет N : (3)150443 [13:01:07]line ИНН: 02508201610067 [13:01:07]line Контрольно-Кассовый Чек [13:01:07]line ПРОДАЖА [13:01:07]line Товар: 4700040114120 [13:01:07]line Султан чай 1л. чер персик [13:01:07]line 1.000 * 65.00 [13:01:07]line = 65.00 [13:01:07]line НДС 12% НСП 1% [13:01:07]line > о реализуемом товаре [13:01:07]line ИТОГО: 65.00 [13:01:07]line НСП 1% : 0.57 [13:01:07]line НДС 12% : 6.90 [13:01:07]line Наличными: 65.00 [13:01:07]line Безнал.: 0.00 [13:01:07]line Место: АЗС № 134 "Партнер Нефть" [13:01:07]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [13:01:07]line СНО: Общий режим [13:01:07]line Чек 23 28.07.2024 13:01 [13:01:07]line Смена: 433 ФФД: 1.0 [13:01:07]line ЗНМ: 0300000043 [13:01:07]line РНМ: 0000000000092663 [13:01:07]line Версия ККМ: 001 [13:01:07]line ФМ: 0000000000874937 [13:01:07]line ФД: 27045 [13:01:07]line ФПД: 47106882227078 [13:01:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T130110&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27045&fm=47106882227078&tin=02508201610067®Number=0000000000092663&sum=6500 [13:01:08]line 0 [13:01:08]OFD Sender: Processing packet 27045 [packets to send 9, broken 8] [13:01:08]ProducePacketName [13:01:08]name=ofd_packets/00027045 [13:01:08]OFD Sender: To server: pG, [13:01:08]CommunicateWithHost lk.salyk.kg:30040 [13:01:08]ConnectInit lk.salyk.kg [13:01:08]written 0, free lines is 4095 [13:01:08]Connected sock=10 [13:01:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 32 01 00 00 EB EA 2A 01 94 E7 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 17 00 00 00 F4 03 04 00 16 41 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A5 69 00 00 35 04 06 00 2A D7 EC FB 4B 86 43 FA 6C 47 CA E8 93 3C [13:01:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 97 3E 47 00 4C 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 38 37 34 39 33 37 10 04 04 00 A5 69 00 00 F4 03 04 00 6A E7 A5 66 B6 04 01 00 00 B6 FA F4 4F 33 67 30 D5 [13:01:08]CommunicateWithHost err = 0 [13:01:08]CheckOFDResponse [13:01:08]1017 (14) - 77093643461234 [13:01:08]1041 (16) - 0000000000874937 [13:01:08]1040 (4) - 27045 [13:01:08]1012 (4) - 28.07.2024 06:38 [13:01:08]1206 (1) - 0 [13:01:08]OFD Sender: Remove packet 27045 [13:01:08]ProducePacketName [13:01:08]name=ofd_packets/00027045 [13:01:08]NVStorageDeleteData [13:01:08]Write to MH i2c: 01 00 00 B6 12 C8 [13:01:08]Write i2c OK [13:01:08]MH_I2C_Read... [13:01:08]Read from MH i2c: 01 [13:01:08]MH_I2C_Read... [13:01:08]Read from MH i2c: 01 07 00 [13:01:08]MH_I2C_Read... [13:01:08]Read from MH i2c: 01 07 00 B6 12 00 00 00 00 00 F0 0C CB [13:01:08]RasterBufferAndPrint [13:01:08]line [13:01:08]line [13:01:08]line [13:01:08]line [13:01:08]line [13:01:08]written 0, free lines is 3318 [13:01:08]MH_Cut [13:01:08]Write to MH i2c: D1 01 00 BD 12 01 A1 [13:01:08]Write i2c OK [13:01:08]MH_I2C_Read... [13:01:08]Read from MH i2c: D1 [13:01:08]MH_I2C_Read... [13:01:08]Read from MH i2c: D1 01 00 [13:01:08]MH_I2C_Read... [13:01:08]Read from MH i2c: D1 01 00 BD 12 00 A0 [13:01:08]Write to MH i2c: 01 00 00 BE 12 D0 [13:01:08]Write i2c OK [13:01:08]MH_I2C_Read... [13:01:09]OFD Sender: No OFD packet to send [13:01:09]*** Cut start [13:01:09]*** Partial cut [13:01:09]*** CUTSNS_PIN = 1 [13:01:09]*** CUTSNS_PIN = 0 [13:01:09]*** Brake cut motor [13:01:09]Read from MH i2c: 01 [13:01:09]MH_I2C_Read... [13:01:09]*** Stop cut motor [13:01:09]*** Cut end [13:01:09]Read from MH i2c: 01 07 00 [13:01:09]MH_I2C_Read... [13:01:09]Read from MH i2c: 01 07 00 BE 12 00 00 00 00 00 FF 0F E5 [13:01:09]process_action close_receipt done [13:01:09]requested_data is exist [13:01:09]produce_requested_data [13:01:09]requested_item fm.sn is exist - process it [13:01:09]wFMCommunicate request_size=4 [13:01:09]MH_SAM_APDU [13:01:09]CAPDU: 80 11 00 00 [13:01:09]Write to MH i2c: E2 08 00 BF 12 80 11 00 00 00 00 00 00 4B [13:01:09]Write i2c OK [13:01:09]MH_I2C_Read... [13:01:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:01:10]Read from MH i2c: E2 [13:01:10]MH_I2C_Read... [13:01:10]Read from MH i2c: E2 17 00 [13:01:10]MH_I2C_Read... [13:01:10]Read from MH i2c: E2 17 00 BF 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 A4 [13:01:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [13:01:10]wFMCommunicate OK [13:01:10]requested_item fd.num is exist - process it [13:01:10]SAM_PROTO_GetFieldsCounters [13:01:10]wFMCommunicate request_size=4 [13:01:10]MH_SAM_APDU [13:01:10]CAPDU: 80 13 00 00 [13:01:10]Write to MH i2c: E2 08 00 C0 12 80 13 00 00 00 00 00 00 4E [13:01:10]Write i2c OK [13:01:10]MH_I2C_Read... [13:01:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:01:10]Read from MH i2c: E2 [13:01:10]MH_I2C_Read... [13:01:10]Read from MH i2c: E2 62 00 [13:01:10]MH_I2C_Read... [13:01:10]Read from MH i2c: E2 62 00 C0 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 A5 69 00 00 0E 04 04 00 B1 01 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 7B [13:01:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 A5 69 00 00 0E 04 04 00 B1 01 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 [13:01:10]wFMCommunicate OK [13:01:10]SAM_PROTO_GetFieldsCounters done [13:01:10]requested_item shift.num is exist - process it [13:01:10]requested_item shift.opened is exist - process it [13:01:10]req_shift_opened [13:01:10]FM_GetShiftState [13:01:10]SAM_PROTO_GetShiftState [13:01:10]wFMCommunicate request_size=4 [13:01:10]MH_SAM_APDU [13:01:10]CAPDU: 80 13 01 00 [13:01:10]Write to MH i2c: E2 08 00 C1 12 80 13 01 00 00 00 00 00 50 [13:01:10]Write i2c OK [13:01:10]MH_I2C_Read... [13:01:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:01:10]Read from MH i2c: E2 [13:01:10]MH_I2C_Read... [13:01:10]Read from MH i2c: E2 0E 00 [13:01:10]MH_I2C_Read... [13:01:10]Read from MH i2c: E2 0E 00 C1 12 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 78 [13:01:10]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [13:01:10]wFMCommunicate OK [13:01:10]SAM_PROTO_GetShiftState done [13:01:10]FM_GetShiftState done [13:01:10]req_shift_opened done [13:01:10]requested_item shift.open_date is exist - process it [13:01:10]req_shift_open_date [13:01:10]req_shift_open_date done [13:01:10]produce_requested_data done [13:01:10]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27045,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [13:01:10]process_action_free close_receipt [13:01:10]json_value_free [13:01:10]json_value_free done [13:01:10]process_json_proto returns [13:01:10]Send response to host [13:01:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27045,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [13:01:10]free response buf [13:01:10]execute_script done [13:01:10]execute_script returns [13:01:10]free content buf [13:01:10]Sock 7.Close socket [13:01:10]Sock 7.Thread stoped [13:01:14]OFD Sender: No OFD packet to send [13:01:19]OFD Sender: No OFD packet to send [13:01:24]OFD Sender: No OFD packet to send [13:01:29]OFD Sender: No OFD packet to send [13:01:34]OFD Sender: No OFD packet to send [13:01:39]OFD Sender: No OFD packet to send [13:01:44]OFD Sender: No OFD packet to send [13:01:49]OFD Sender: No OFD packet to send [13:01:54]OFD Sender: No OFD packet to send [13:01:59]OFD Sender: No OFD packet to send [13:02:04]OFD Sender: No OFD packet to send [13:02:09]OFD Sender: No OFD packet to send [13:02:14]OFD Sender: No OFD packet to send [13:02:19]OFD Sender: No OFD packet to send [13:02:24]OFD Sender: No OFD packet to send [13:02:29]OFD Sender: No OFD packet to send [13:02:34]OFD Sender: No OFD packet to send [13:02:39]OFD Sender: No OFD packet to send [13:02:44]OFD Sender: No OFD packet to send [13:02:49]OFD Sender: No OFD packet to send [13:02:54]OFD Sender: No OFD packet to send [13:02:59]OFD Sender: No OFD packet to send [13:03:04]OFD Sender: No OFD packet to send [13:03:09]OFD Sender: No OFD packet to send [13:03:14]OFD Sender: No OFD packet to send [13:03:19]OFD Sender: No OFD packet to send [13:03:24]OFD Sender: No OFD packet to send [13:03:29]OFD Sender: No OFD packet to send [13:03:34]OFD Sender: No OFD packet to send [13:03:39]OFD Sender: No OFD packet to send [13:03:44]OFD Sender: No OFD packet to send [13:03:49]OFD Sender: No OFD packet to send [13:03:54]OFD Sender: No OFD packet to send [13:03:59]OFD Sender: No OFD packet to send [13:04:04]OFD Sender: No OFD packet to send [13:04:09]OFD Sender: No OFD packet to send [13:04:14]OFD Sender: No OFD packet to send [13:04:19]OFD Sender: No OFD packet to send [13:04:24]OFD Sender: No OFD packet to send [13:04:29]OFD Sender: No OFD packet to send [13:04:34]OFD Sender: No OFD packet to send [13:04:39]OFD Sender: No OFD packet to send [13:04:44]OFD Sender: No OFD packet to send [13:04:49]OFD Sender: No OFD packet to send [13:04:54]OFD Sender: No OFD packet to send [13:04:59]OFD Sender: No OFD packet to send [13:05:04]OFD Sender: No OFD packet to send [13:05:09]OFD Sender: No OFD packet to send [13:05:14]OFD Sender: No OFD packet to send [13:05:19]OFD Sender: No OFD packet to send [13:05:24]OFD Sender: No OFD packet to send [13:05:29]OFD Sender: No OFD packet to send [13:05:34]OFD Sender: No OFD packet to send [13:05:39]OFD Sender: No OFD packet to send [13:05:44]OFD Sender: No OFD packet to send [13:05:49]OFD Sender: No OFD packet to send [13:05:54]OFD Sender: No OFD packet to send [13:05:59]OFD Sender: No OFD packet to send [13:06:04]OFD Sender: No OFD packet to send [13:06:09]OFD Sender: No OFD packet to send [13:06:14]OFD Sender: No OFD packet to send [13:06:19]OFD Sender: No OFD packet to send [13:06:24]OFD Sender: No OFD packet to send [13:06:29]OFD Sender: No OFD packet to send [13:06:30]accept exits with 9 [13:06:30]New connection [13:06:30]New thread 3067530596 created [13:06:30]Thread 3067387236 joined [13:06:30]Waiting for new connection... [13:06:30] Sock 9.Parse request [13:06:30]Sock 9.Check first char [13:06:30]Sock 9.First char is OK [13:06:30]request: POST /json_proto HTTP/1.0 [13:06:30]Method: POST [13:06:30]URL: /json_proto [13:06:30]Method is POST - this is cgi request [13:06:30]url: /json_proto [13:06:30]query_string will be loaded in cgi processing [13:06:30]execute_cgi json_proto POST (null) [13:06:30]execute_cgi path=json_proto method=POST [13:06:30]POST find Content-Length [13:06:30]Host: 172.17.45.8:8080 [13:06:30]Content-Length: 621 [13:06:30]Content-Type: application/json [13:06:30] [13:06:30]POST finish read [13:06:30]Found Content-Length = 621 [13:06:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150444", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "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" ] } } [13:06:30]execute_script... [13: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)150444", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "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" ] } } [13:06:30]POST & json_proto [13:06:30]process_json_proto [13:06:30]json parsed OK: [13:06:30]protocol is kg_v1.0 [13:06:30]action value=close_receipt [13:06:30]process_action close_receipt [13:06:30]cmd_close_receipt [13:06:30]MH_GetDate [13:06:30]Write to MH i2c: F0 00 00 C2 12 C3 [13:06:30]Write i2c OK [13:06:30]MH_I2C_Read... [13:06:30]Read from MH i2c: F0 [13:06:30]MH_I2C_Read... [13:06:30]Read from MH i2c: F0 09 00 [13:06:30]MH_I2C_Read... [13:06:30]Read from MH i2c: F0 09 00 C2 12 00 5A 42 A6 66 A6 1F 7F 64 1C [13:06:30]GetLastDocTimeStamp 1722171670 [13:06:30]current date 1722171994 [13:06:30]FM_GetShiftState [13:06:30]SAM_PROTO_GetShiftState [13:06:30]wFMCommunicate request_size=4 [13:06:30]MH_SAM_APDU [13:06:30]CAPDU: 80 13 01 00 [13:06:30]Write to MH i2c: E2 08 00 C3 12 80 13 01 00 00 00 00 00 52 [13:06:30]Write i2c OK [13:06:30]MH_I2C_Read... [13:06:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:06:30]Read from MH i2c: E2 [13:06:30]MH_I2C_Read... [13:06:30]Read from MH i2c: E2 0E 00 [13:06:30]MH_I2C_Read... [13:06:30]Read from MH i2c: E2 0E 00 C3 12 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 7A [13:06:30]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [13:06:30]wFMCommunicate OK [13:06:30]SAM_PROTO_GetShiftState done [13:06:30]FM_GetShiftState done [13:06:30]opened in 1722127230 [13:06:30]opened+sec_in_day 1722213630 [13:06:30]quantity*price = 14000 [13:06:30]sum+1 = 14001 [13:06:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 24 28.07.2024 13:06 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27046 ФПД: 208793114711479 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T130634&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27046&fm=208793114711479&tin=02508201610067®Number=0000000000092663&sum=14000 0 [13:06:31]StoreToDocumentArchive [13:06:31]shift 433 fd 27046 [13:06:31]save to /storage/0433/doc_00027046 [13:06:31]save last doc name /storage/0433/doc_00027046 to /storage/kkm_last_doc_name [13:06:31]save OK [13:06:31]Clear old archive folders... [13:06:31]ProcessDocumentItem done err = 0, tmpTLVsize=273 [13:06:31]tlvbuf is 01811C40 [13:06:31]SAM_PROTO_ClearQueue [13:06:31]wFMCommunicate request_size=4 [13:06:31]MH_SAM_APDU [13:06:31]CAPDU: 80 09 00 00 [13:06:31]Write to MH i2c: E2 08 00 D0 12 80 09 00 00 00 00 00 00 54 [13:06:31]Write i2c OK [13:06:31]MH_I2C_Read... [13:06:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:06:31]Read from MH i2c: E2 [13:06:31]MH_I2C_Read... [13:06:31]Read from MH i2c: E2 03 00 [13:06:31]MH_I2C_Read... [13:06:31]Read from MH i2c: E2 03 00 D0 12 00 90 00 56 [13:06:31]RAPDU: 90 00 [13:06:31]wFMCommunicate OK [13:06:31]SAM_PROTO_ClearQueue done [13:06:31]KKMCreateOFDPacket [13:06:31]OFDProtocolAddRootSTLVToBuf [13:06:31]FM_MakeSignedData [13:06:31]FM_MakeSignedData [13:06:31]SAM_PROTO_SignData [13:06:31]wFMCommunicate request_size=4 [13:06:31]MH_SAM_APDU [13:06:31]CAPDU: 80 0D 01 02 [13:06:31]Write to MH i2c: E2 08 00 D1 12 80 0D 01 02 00 00 00 00 5C [13:06:31]Write i2c OK [13:06:31]MH_I2C_Read... [13:06:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:06:31]Read from MH i2c: E2 [13:06:31]MH_I2C_Read... [13:06:31]Read from MH i2c: E2 03 00 [13:06:31]MH_I2C_Read... [13:06:31]Read from MH i2c: E2 03 00 D1 12 00 90 00 57 [13:06:31]RAPDU: 90 00 [13:06:31]wFMCommunicate OK [13:06:31]wFMCommunicate request_size=255 [13:06:31]MH_SAM_APDU [13:06:31]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 37 30 35 39 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 4C 65 67 65 6E 64 20 42 6C 75 65 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 18 00 00 00 F4 03 04 00 5A 42 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 [13:06:31]Write to MH i2c: E2 02 01 D2 12 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 37 30 35 39 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 4C 65 67 65 6E 64 20 42 6C 75 65 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 18 00 00 00 F4 03 04 00 5A 42 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 00 00 B0 [13:06:31]Write i2c OK [13:06:31]MH_I2C_Read... [13:06:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:06:31]Read from MH i2c: E2 [13:06:31]MH_I2C_Read... [13:06:31]Read from MH i2c: E2 03 00 [13:06:31]MH_I2C_Read... [13:06:31]Read from MH i2c: E2 03 00 D2 12 00 90 00 58 [13:06:31]RAPDU: 90 00 [13:06:31]wFMCommunicate OK [13:06:31]wFMCommunicate request_size=32 [13:06:31]MH_SAM_APDU [13:06:31]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 39 33 37 10 04 04 00 A6 69 00 00 35 04 06 00 BD E5 6F 6F 15 B7 [13:06:31]Write to MH i2c: E2 23 00 D3 12 80 0D 02 02 1B 00 30 30 30 38 37 34 39 33 37 10 04 04 00 A6 69 00 00 35 04 06 00 BD E5 6F 6F 15 B7 00 00 1D [13:06:31]Write i2c OK [13:06:31]MH_I2C_Read... [13:06:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:06:31]Read from MH i2c: E2 [13:06:31]MH_I2C_Read... [13:06:31]Read from MH i2c: E2 03 00 [13:06:31]MH_I2C_Read... [13:06:31]Read from MH i2c: E2 03 00 D3 12 00 90 00 59 [13:06:31]RAPDU: 90 00 [13:06:31]wFMCommunicate OK [13:06:31]wFMCommunicate request_size=4 [13:06:31]MH_SAM_APDU [13:06:31]CAPDU: 80 0D 03 02 [13:06:31]Write to MH i2c: E2 08 00 D4 12 80 0D 03 02 00 00 00 00 61 [13:06:31]Write i2c OK [13:06:31]MH_I2C_Read... [13:06:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:06:31]Read from MH i2c: E2 [13:06:31]MH_I2C_Read... [13:06:31]Read from MH i2c: E2 0B 00 [13:06:31]MH_I2C_Read... [13:06:31]Read from MH i2c: E2 0B 00 D4 12 00 59 97 7E E6 F4 9B 5F 28 90 00 CC [13:06:31]RAPDU: 59 97 7E E6 F4 9B 5F 28 90 00 [13:06:31]wFMCommunicate OK [13:06:31]SAM_PROTO_SignData done [13:06:31]FM_MakeSignedData done [13:06:31]CreateOFDProtocolMessage [13:06:31]wFMCommunicate request_size=4 [13:06:31]MH_SAM_APDU [13:06:31]CAPDU: 80 11 00 00 [13:06:31]Write to MH i2c: E2 08 00 D5 12 80 11 00 00 00 00 00 00 61 [13:06:31]Write i2c OK [13:06:31]MH_I2C_Read... [13:06:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:06:31]Read from MH i2c: E2 [13:06:31]MH_I2C_Read... [13:06:31]Read from MH i2c: E2 17 00 [13:06:31]MH_I2C_Read... [13:06:31]Read from MH i2c: E2 17 00 D5 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 BA [13:06:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [13:06:31]wFMCommunicate OK [13:06:31]CreateOFDProtocolMessage done [13:06:31]OFDSenderStorePacket 27046 [13:06:31]StoreOFDPacket docnum=27046 [13:06:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 25 01 00 00 03 5D 1D 01 DE 86 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 37 30 35 39 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 4C 65 67 65 6E 64 20 42 6C 75 65 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 18 00 00 00 F4 03 04 00 5A 42 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A6 69 00 00 35 04 06 00 BD E5 6F 6F 15 B7 59 97 7E E6 F4 9B 5F 28 [13:06:31]CheckFolder [13:06:31]dirname=/storage/ofd_packets [13:06:31]CheckFolder done [13:06:31]ProducePacketName [13:06:31]name=ofd_packets/00027046 [13:06:31]NVStorageSaveData ofd_packets/00027046 [13:06:31]File name is /storage/ofd_packets/00027046 [13:06:31]Write 323 bytes [13:06:31]NVStorageSaveData done [13:06:31]OFDSenderStorePacket done [13:06:31]KKMCreateOFDPacket done [13:06:31]NVStorageSaveData kkm_last_timestamp [13:06:31]File name is /storage/kkm_last_timestamp [13:06:31]Write 4 bytes [13:06:31]NVStorageSaveData done [13:06:31]ExternCall_PrintAddStr [13:06:31]wPrintStart [13:06:31]Write to MH i2c: 01 00 00 D6 12 E8 [13:06:31]Write i2c OK [13:06:31]MH_I2C_Read... [13:06:31]Read from MH i2c: 01 [13:06:31]MH_I2C_Read... [13:06:31]Read from MH i2c: 01 07 00 [13:06:31]MH_I2C_Read... [13:06:31]Read from MH i2c: 01 07 00 D6 12 00 00 00 00 00 FF 0F FD [13:06:31]RasterBufferAndPrint [13:06:31]line Счет N : (3)150444 [13:06:31]line ИНН: 02508201610067 [13:06:31]line Контрольно-Кассовый Чек [13:06:31]line ПРОДАЖА [13:06:31]line Товар: 48747059 [13:06:31]line Сигареты Winston Legend Blue [13:06:31]line 1.000 * 140.00 [13:06:31]line = 140.00 [13:06:31]line НДС 12% НСП 1% [13:06:31]line > о реализуемом товаре [13:06:31]line ИТОГО: 140.00 [13:06:31]line НСП 1% : 1.24 [13:06:31]line НДС 12% : 14.87 [13:06:31]line Наличными: 140.00 [13:06:31]line Безнал.: 0.00 [13:06:31]line Место: АЗС № 134 "Партнер Нефть" [13:06:31]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [13:06:31]line СНО: Общий режим [13:06:31]line Чек 24 28.07.2024 13:06 [13:06:31]line Смена: 433 ФФД: 1.0 [13:06:31]line ЗНМ: 0300000043 [13:06:31]line РНМ: 0000000000092663 [13:06:31]line Версия ККМ: 001 [13:06:31]line ФМ: 0000000000874937 [13:06:31]line ФД: 27046 [13:06:31]line ФПД: 208793114711479 [13:06:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T130634&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27046&fm=208793114711479&tin=02508201610067®Number=0000000000092663&sum=14000 [13:06:31]line 0 [13:06:31]written 0, free lines is 4095 [13:06:31]OFD Sender: Processing packet 27046 [packets to send 9, broken 8] [13:06:31]ProducePacketName [13:06:31]name=ofd_packets/00027046 [13:06:31]OFD Sender: To server: pG, [13:06:31]CommunicateWithHost lk.salyk.kg:30040 [13:06:32]ConnectInit lk.salyk.kg [13:06:32]Write to MH i2c: 01 00 00 FE 12 10 [13:06:32]Write i2c OK [13:06:32]MH_I2C_Read... [13:06:32]Read from MH i2c: 01 [13:06:32]MH_I2C_Read... [13:06:32]Read from MH i2c: 01 07 00 [13:06:32]MH_I2C_Read... [13:06:32]Read from MH i2c: 01 07 00 FE 12 00 00 00 00 00 D8 0C FB [13:06:32]RasterBufferAndPrint [13:06:32]line [13:06:32]line [13:06:32]line [13:06:32]line [13:06:32]line [13:06:32]written 0, free lines is 3293 [13:06:32]MH_Cut [13:06:32]Write to MH i2c: D1 01 00 05 13 01 EA [13:06:32]Write i2c OK [13:06:32]MH_I2C_Read... [13:06:32]Read from MH i2c: D1 [13:06:32]MH_I2C_Read... [13:06:32]Connected sock=10 [13:06:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 25 01 00 00 03 5D 1D 01 DE 86 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 37 30 35 39 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 4C 65 67 65 6E 64 20 42 6C 75 65 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 18 00 00 00 F4 03 04 00 5A 42 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A6 69 00 00 35 04 06 00 BD E5 6F 6F 15 B7 59 97 7E E6 F4 9B 5F 28 [13:06:32]Read from MH i2c: D1 01 00 [13:06:32]MH_I2C_Read... [13:06:32]Read from MH i2c: D1 01 00 05 13 00 E9 [13:06:32]Write to MH i2c: 01 00 00 06 13 19 [13:06:32]Write i2c OK [13:06:32]MH_I2C_Read... [13:06:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 A9 00 47 00 F1 AE 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 38 37 34 39 33 37 10 04 04 00 A6 69 00 00 F4 03 04 00 AE E8 A5 66 B6 04 01 00 00 37 C4 42 96 E2 29 6E 08 [13:06:32]CommunicateWithHost err = 0 [13:06:32]CheckOFDResponse [13:06:32]1017 (14) - 77093643461234 [13:06:32]1041 (16) - 0000000000874937 [13:06:32]1040 (4) - 27046 [13:06:32]1012 (4) - 28.07.2024 06:43 [13:06:32]1206 (1) - 0 [13:06:32]OFD Sender: Remove packet 27046 [13:06:32]ProducePacketName [13:06:32]name=ofd_packets/00027046 [13:06:32]NVStorageDeleteData [13:06:33]OFD Sender: No OFD packet to send [13:06:33]*** Cut start [13:06:33]*** Partial cut [13:06:33]*** CUTSNS_PIN = 1 [13:06:33]*** CUTSNS_PIN = 0 [13:06:33]*** Brake cut motor [13:06:33]Read from MH i2c: 01 [13:06:33]MH_I2C_Read... [13:06:33]*** Stop cut motor [13:06:33]*** Cut end [13:06:33]Read from MH i2c: 01 07 00 [13:06:33]MH_I2C_Read... [13:06:33]Read from MH i2c: 01 07 00 06 13 00 00 00 00 00 FF 0F 2E [13:06:33]process_action close_receipt done [13:06:33]requested_data is exist [13:06:33]produce_requested_data [13:06:33]requested_item fm.sn is exist - process it [13:06:33]wFMCommunicate request_size=4 [13:06:33]MH_SAM_APDU [13:06:33]CAPDU: 80 11 00 00 [13:06:33]Write to MH i2c: E2 08 00 07 13 80 11 00 00 00 00 00 00 94 [13:06:33]Write i2c OK [13:06:33]MH_I2C_Read... [13:06:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:06:33]Read from MH i2c: E2 [13:06:33]MH_I2C_Read... [13:06:33]Read from MH i2c: E2 17 00 [13:06:33]MH_I2C_Read... [13:06:33]Read from MH i2c: E2 17 00 07 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 ED [13:06:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [13:06:33]wFMCommunicate OK [13:06:33]requested_item fd.num is exist - process it [13:06:33]SAM_PROTO_GetFieldsCounters [13:06:33]wFMCommunicate request_size=4 [13:06:33]MH_SAM_APDU [13:06:33]CAPDU: 80 13 00 00 [13:06:33]Write to MH i2c: E2 08 00 08 13 80 13 00 00 00 00 00 00 97 [13:06:33]Write i2c OK [13:06:33]MH_I2C_Read... [13:06:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:06:33]Read from MH i2c: E2 [13:06:33]MH_I2C_Read... [13:06:33]Read from MH i2c: E2 62 00 [13:06:33]MH_I2C_Read... [13:06:33]Read from MH i2c: E2 62 00 08 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 A6 69 00 00 0E 04 04 00 B1 01 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 C8 [13:06:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 A6 69 00 00 0E 04 04 00 B1 01 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 [13:06:33]wFMCommunicate OK [13:06:33]SAM_PROTO_GetFieldsCounters done [13:06:33]requested_item shift.num is exist - process it [13:06:33]requested_item shift.opened is exist - process it [13:06:33]req_shift_opened [13:06:33]FM_GetShiftState [13:06:33]SAM_PROTO_GetShiftState [13:06:33]wFMCommunicate request_size=4 [13:06:33]MH_SAM_APDU [13:06:33]CAPDU: 80 13 01 00 [13:06:33]Write to MH i2c: E2 08 00 09 13 80 13 01 00 00 00 00 00 99 [13:06:33]Write i2c OK [13:06:33]MH_I2C_Read... [13:06:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:06:33]Read from MH i2c: E2 [13:06:33]MH_I2C_Read... [13:06:33]Read from MH i2c: E2 0E 00 [13:06:33]MH_I2C_Read... [13:06:33]Read from MH i2c: E2 0E 00 09 13 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 C1 [13:06:33]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [13:06:33]wFMCommunicate OK [13:06:33]SAM_PROTO_GetShiftState done [13:06:33]FM_GetShiftState done [13:06:33]req_shift_opened done [13:06:33]requested_item shift.open_date is exist - process it [13:06:33]req_shift_open_date [13:06:33]req_shift_open_date done [13:06:33]produce_requested_data done [13:06:33]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27046,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [13:06:33]process_action_free close_receipt [13:06:33]json_value_free [13:06:33]json_value_free done [13:06:33]process_json_proto returns [13:06:33]Send response to host [13:06:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27046,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [13:06:33]free response buf [13:06:33]execute_script done [13:06:33]execute_script returns [13:06:33]free content buf [13:06:33]Sock 9.Close socket [13:06:33]Sock 9.Thread stoped [13:06:38]OFD Sender: No OFD packet to send [13:06:43]OFD Sender: No OFD packet to send [13:06:48]OFD Sender: No OFD packet to send [13:06:53]OFD Sender: No OFD packet to send [13:06:58]OFD Sender: No OFD packet to send [13:07:03]OFD Sender: No OFD packet to send [13:07:08]OFD Sender: No OFD packet to send [13:07:13]OFD Sender: No OFD packet to send [13:07:18]OFD Sender: No OFD packet to send [13:07:23]OFD Sender: No OFD packet to send [13:07:28]OFD Sender: No OFD packet to send [13:07:33]OFD Sender: No OFD packet to send [13:07:38]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:53]OFD Sender: No OFD packet to send [13:15:58]OFD Sender: No OFD packet to send [13:16:03]OFD Sender: No OFD packet to send [13:16:08]OFD Sender: No OFD packet to send [13:16:13]OFD Sender: No OFD packet to send [13:16:18]OFD Sender: No OFD packet to send [13:16:23]OFD Sender: No OFD packet to send [13:16:28]OFD Sender: No OFD packet to send [13:16:33]OFD Sender: No OFD packet to send [13:16:38]OFD Sender: No OFD packet to send [13:16:43]OFD Sender: No OFD packet to send [13:16:48]OFD Sender: No OFD packet to send [13:16:53]OFD Sender: No OFD packet to send [13:16:58]OFD Sender: No OFD packet to send [13:17:03]OFD Sender: No OFD packet to send [13:17:08]OFD Sender: No OFD packet to send [13:17:13]OFD Sender: No OFD packet to send [13:17:18]OFD Sender: No OFD packet to send [13:17:23]OFD Sender: No OFD packet to send [13:17:28]OFD Sender: No OFD packet to send [13:17:33]OFD Sender: No OFD packet to send [13:17:38]OFD Sender: No OFD packet to send [13:17:43]OFD Sender: No OFD packet to send [13:17:48]OFD Sender: No OFD packet to send [13:17:53]OFD Sender: No OFD packet to send [13:17:58]OFD Sender: No OFD packet to send [13:18:03]OFD Sender: No OFD packet to send [13:18:08]OFD Sender: No OFD packet to send [13:18:13]OFD Sender: No OFD packet to send [13:18:18]OFD Sender: No OFD packet to send [13:18:23]OFD Sender: No OFD packet to send [13:18:28]OFD Sender: No OFD packet to send [13:18:33]OFD Sender: No OFD packet to send [13:18:38]OFD Sender: No OFD packet to send [13:18:43]OFD Sender: No OFD packet to send [13:18:48]OFD Sender: No OFD packet to send [13:18:53]OFD Sender: No OFD packet to send [13:18:58]OFD Sender: No OFD packet to send [13:19:03]OFD Sender: No OFD packet to send [13:19:08]OFD Sender: No OFD packet to send [13:19:13]OFD Sender: No OFD packet to send [13:19:18]OFD Sender: No OFD packet to send [13:19:23]OFD Sender: No OFD packet to send [13:19:28]OFD Sender: No OFD packet to send [13:19:33]OFD Sender: No OFD packet to send [13:19:38]OFD Sender: No OFD packet to send [13:19:43]OFD Sender: No OFD packet to send [13:19:48]OFD Sender: No OFD packet to send [13:19:53]OFD Sender: No OFD packet to send [13:19:58]OFD Sender: No OFD packet to send [13:20:03]OFD Sender: No OFD packet to send [13:20:08]OFD Sender: No OFD packet to send [13:20:13]OFD Sender: No OFD packet to send [13:20:18]OFD Sender: No OFD packet to send [13:20:23]OFD Sender: No OFD packet to send [13:20:28]OFD Sender: No OFD packet to send [13:20:33]OFD Sender: No OFD packet to send [13:20:38]OFD Sender: No OFD packet to send [13:20:43]OFD Sender: No OFD packet to send [13:20:48]OFD Sender: No OFD packet to send [13:20:53]OFD Sender: No OFD packet to send [13:20:58]OFD Sender: No OFD packet to send [13:21:03]OFD Sender: No OFD packet to send [13:21:08]OFD Sender: No OFD packet to send [13:21:13]OFD Sender: No OFD packet to send [13:21:18]OFD Sender: No OFD packet to send [13:21:23]OFD Sender: No OFD packet to send [13:21:28]OFD Sender: No OFD packet to send [13:21:33]OFD Sender: No OFD packet to send [13:21:38]OFD Sender: No OFD packet to send [13:21:43]OFD Sender: No OFD packet to send [13:21:48]OFD Sender: No OFD packet to send [13:21:53]OFD Sender: No OFD packet to send [13:21:58]OFD Sender: No OFD packet to send [13:22:03]OFD Sender: No OFD packet to send [13:22:08]OFD Sender: No OFD packet to send [13:22:13]OFD Sender: No OFD packet to send [13:22:18]OFD Sender: No OFD packet to send [13:22:23]OFD Sender: No OFD packet to send [13:22:28]OFD Sender: No OFD packet to send [13:22:33]OFD Sender: No OFD packet to send [13:22:38]OFD Sender: No OFD packet to send [13:22:43]OFD Sender: No OFD packet to send [13:22:48]OFD Sender: No OFD packet to send [13:22:53]OFD Sender: No OFD packet to send [13:22:58]OFD Sender: No OFD packet to send [13:23:03]OFD Sender: No OFD packet to send [13:23:08]OFD Sender: No OFD packet to send [13:23:13]OFD Sender: No OFD packet to send [13:23:18]OFD Sender: No OFD packet to send [13:23:23]OFD Sender: No OFD packet to send [13:23:28]OFD Sender: No OFD packet to send [13:23:33]OFD Sender: No OFD packet to send [13:23:38]OFD Sender: No OFD packet to send [13:23:43]OFD Sender: No OFD packet to send [13:23:48]OFD Sender: No OFD packet to send [13:23:53]OFD Sender: No OFD packet to send [13:23:58]OFD Sender: No OFD packet to send [13:24:03]OFD Sender: No OFD packet to send [13:24:08]OFD Sender: No OFD packet to send [13:24:13]OFD Sender: No OFD packet to send [13:24:18]OFD Sender: No OFD packet to send [13:24:23]OFD Sender: No OFD packet to send [13:24:28]OFD Sender: No OFD packet to send [13:24:33]OFD Sender: No OFD packet to send [13:24:38]OFD Sender: No OFD packet to send [13:24:43]OFD Sender: No OFD packet to send [13:24:48]OFD Sender: No OFD packet to send [13:24:53]OFD Sender: No OFD packet to send [13:24:58]OFD Sender: No OFD packet to send [13:25:03]OFD Sender: No OFD packet to send [13:25:08]OFD Sender: No OFD packet to send [13:25:13]OFD Sender: No OFD packet to send [13:25:18]OFD Sender: No OFD packet to send [13:25:23]OFD Sender: No OFD packet to send [13:25:28]OFD Sender: No OFD packet to send [13:25:33]OFD Sender: No OFD packet to send [13:25:38]OFD Sender: No OFD packet to send [13:25:43]OFD Sender: No OFD packet to send [13:25:48]OFD Sender: No OFD packet to send [13:25:53]OFD Sender: No OFD packet to send [13:25:58]OFD Sender: No OFD packet to send [13:26:03]OFD Sender: No OFD packet to send [13:26:08]OFD Sender: No OFD packet to send [13:26:13]OFD Sender: No OFD packet to send [13:26:18]OFD Sender: No OFD packet to send [13:26:23]OFD Sender: No OFD packet to send [13:26:28]OFD Sender: No OFD packet to send [13:26:33]OFD Sender: No OFD packet to send [13:26:38]OFD Sender: No OFD packet to send [13:26:43]OFD Sender: No OFD packet to send [13:26:48]OFD Sender: No OFD packet to send [13:26:53]OFD Sender: No OFD packet to send [13:26:58]OFD Sender: No OFD packet to send [13:27:03]OFD Sender: No OFD packet to send [13:27:08]OFD Sender: No OFD packet to send [13:27:13]OFD Sender: No OFD packet to send [13:27:18]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:44]OFD Sender: No OFD packet to send [13:27:49]OFD Sender: No OFD packet to send [13:27:54]OFD Sender: No OFD packet to send [13:27:59]OFD Sender: No OFD packet to send [13:28:04]OFD Sender: No OFD packet to send [13:28:09]OFD Sender: No OFD packet to send [13:28:14]OFD Sender: No OFD packet to send [13:28:19]OFD Sender: No OFD packet to send [13:28:24]OFD Sender: No OFD packet to send [13:28:29]OFD Sender: No OFD packet to send [13:28:34]OFD Sender: No OFD packet to send [13:28:39]OFD Sender: No OFD packet to send [13:28:44]OFD Sender: No OFD packet to send [13:28:49]OFD Sender: No OFD packet to send [13:28:54]OFD Sender: No OFD packet to send [13:28:59]OFD Sender: No OFD packet to send [13:29:04]OFD Sender: No OFD packet to send [13:29:09]OFD Sender: No OFD packet to send [13:29:14]OFD Sender: No OFD packet to send [13:29:19]OFD Sender: No OFD packet to send [13:29:24]OFD Sender: No OFD packet to send [13:29:29]OFD Sender: No OFD packet to send [13:29:34]OFD Sender: No OFD packet to send [13:29:39]OFD Sender: No OFD packet to send [13:29:44]OFD Sender: No OFD packet to send [13:29:49]OFD Sender: No OFD packet to send [13:29:54]OFD Sender: No OFD packet to send [13:29:59]OFD Sender: No OFD packet to send [13:30:04]OFD Sender: No OFD packet to send [13:30:09]OFD Sender: No OFD packet to send [13:30:14]OFD Sender: No OFD packet to send [13:30:19]OFD Sender: No OFD packet to send [13:30:24]OFD Sender: No OFD packet to send [13:30:29]OFD Sender: No OFD packet to send [13:30:34]OFD Sender: No OFD packet to send [13:30:39]OFD Sender: No OFD packet to send [13:30:44]OFD Sender: No OFD packet to send [13:30:49]OFD Sender: No OFD packet to send [13:30:54]OFD Sender: No OFD packet to send [13:30:59]OFD Sender: No OFD packet to send [13:31:04]OFD Sender: No OFD packet to send [13:31:09]OFD Sender: No OFD packet to send [13:31:14]OFD Sender: No OFD packet to send [13:31:19]OFD Sender: No OFD packet to send [13:31:24]OFD Sender: No OFD packet to send [13:31:29]OFD Sender: No OFD packet to send [13:31:34]OFD Sender: No OFD packet to send [13:31:39]OFD Sender: No OFD packet to send [13:31:44]OFD Sender: No OFD packet to send [13:31:49]OFD Sender: No OFD packet to send [13:31:54]OFD Sender: No OFD packet to send [13:31:59]OFD Sender: No OFD packet to send [13:32:04]OFD Sender: No OFD packet to send [13:32:09]OFD Sender: No OFD packet to send [13:32:14]OFD Sender: No OFD packet to send [13:32:19]OFD Sender: No OFD packet to send [13:32:24]OFD Sender: No OFD packet to send [13:32:29]OFD Sender: No OFD packet to send [13:32:34]OFD Sender: No OFD packet to send [13:32:39]OFD Sender: No OFD packet to send [13:32:44]OFD Sender: No OFD packet to send [13:32:49]OFD Sender: No OFD packet to send [13:32:54]OFD Sender: No OFD packet to send [13:32:59]OFD Sender: No OFD packet to send [13:33:04]OFD Sender: No OFD packet to send [13:33:09]OFD Sender: No OFD packet to send [13:33:14]OFD Sender: No OFD packet to send [13:33:19]OFD Sender: No OFD packet to send [13:33:24]OFD Sender: No OFD packet to send [13:33:29]OFD Sender: No OFD packet to send [13:33:34]OFD Sender: No OFD packet to send [13:33:39]OFD Sender: No OFD packet to send [13:33:44]OFD Sender: No OFD packet to send [13:33:49]OFD Sender: No OFD packet to send [13:33:54]OFD Sender: No OFD packet to send [13:33:59]OFD Sender: No OFD packet to send [13:34:04]OFD Sender: No OFD packet to send [13:34:09]OFD Sender: No OFD packet to send [13:34:14]OFD Sender: No OFD packet to send [13:34:19]OFD Sender: No OFD packet to send [13:34:24]OFD Sender: No OFD packet to send [13:34:29]OFD Sender: No OFD packet to send [13:34:34]OFD Sender: No OFD packet to send [13:34:39]OFD Sender: No OFD packet to send [13:34:44]OFD Sender: No OFD packet to send [13:34:49]OFD Sender: No OFD packet to send [13:34:54]OFD Sender: No OFD packet to send [13:34:59]OFD Sender: No OFD packet to send [13:35:04]OFD Sender: No OFD packet to send [13:35:09]OFD Sender: No OFD packet to send [13:35:14]OFD Sender: No OFD packet to send [13:35:19]OFD Sender: No OFD packet to send [13:35:24]OFD Sender: No OFD packet to send [13:35:29]OFD Sender: No OFD packet to send [13:35:34]OFD Sender: No OFD packet to send [13:35:39]OFD Sender: No OFD packet to send [13:35:44]OFD Sender: No OFD packet to send [13:35:49]OFD Sender: No OFD packet to send [13:35:54]OFD Sender: No OFD packet to send [13:35:59]OFD Sender: No OFD packet to send [13:36:04]OFD Sender: No OFD packet to send [13:36:09]OFD Sender: No OFD packet to send [13:36:14]OFD Sender: No OFD packet to send [13:36:19]OFD Sender: No OFD packet to send [13:36:24]OFD Sender: No OFD packet to send [13:36:29]OFD Sender: No OFD packet to send [13:36:34]OFD Sender: No OFD packet to send [13:36:39]OFD Sender: No OFD packet to send [13:36:44]OFD Sender: No OFD packet to send [13:36:49]OFD Sender: No OFD packet to send [13:36:54]OFD Sender: No OFD packet to send [13:36:59]OFD Sender: No OFD packet to send [13:37:04]OFD Sender: No OFD packet to send [13:37:09]OFD Sender: No OFD packet to send [13:37:14]OFD Sender: No OFD packet to send [13:37:19]OFD Sender: No OFD packet to send [13:37:24]OFD Sender: No OFD packet to send [13:37:29]OFD Sender: No OFD packet to send [13:37:34]OFD Sender: No OFD packet to send [13:37:39]OFD Sender: No OFD packet to send [13:37:44]OFD Sender: No OFD packet to send [13:37:49]OFD Sender: No OFD packet to send [13:37:54]OFD Sender: No OFD packet to send [13:37:57]accept exits with 7 [13:37:57]New connection [13:37:57]New thread 3067387236 created [13:37:57]Thread 3067530596 joined [13:37:57]Waiting for new connection... [13:37:57] Sock 7.Parse request [13:37:57]Sock 7.Check first char [13:37:57]Sock 7.First char is OK [13:37:57]request: POST /json_proto HTTP/1.0 [13:37:57]Method: POST [13:37:57]URL: /json_proto [13:37:57]Method is POST - this is cgi request [13:37:57]url: /json_proto [13:37:57]query_string will be loaded in cgi processing [13:37:57]execute_cgi json_proto POST (null) [13:37:57]execute_cgi path=json_proto method=POST [13:37:57]POST find Content-Length [13:37:57]Host: 172.17.45.8:8080 [13:37:57]Content-Length: 923 [13:37:57]Content-Type: application/json [13:37:57] [13:37:57]POST finish read [13:37:57]Found Content-Length = 923 [13:37:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150445", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 65.00, "quantity" : 1.000, "sum" : 65.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" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:37:57]execute_script... [13:37:57]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)150445", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 65.00, "quantity" : 1.000, "sum" : 65.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" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:37:57]POST & json_proto [13:37:57]process_json_proto [13:37:57]json parsed OK: [13:37:57]protocol is kg_v1.0 [13:37:57]action value=close_receipt [13:37:57]process_action close_receipt [13:37:57]cmd_close_receipt [13:37:57]MH_GetDate [13:37:57]Write to MH i2c: F0 00 00 0A 13 0C [13:37:57]Write i2c OK [13:37:57]MH_I2C_Read... [13:37:57]Read from MH i2c: F0 [13:37:57]MH_I2C_Read... [13:37:57]Read from MH i2c: F0 09 00 [13:37:57]MH_I2C_Read... [13:37:57]Read from MH i2c: F0 09 00 0A 13 00 B9 49 A6 66 A6 1F 7F 64 CB [13:37:57]GetLastDocTimeStamp 1722171994 [13:37:57]current date 1722173881 [13:37:57]FM_GetShiftState [13:37:57]SAM_PROTO_GetShiftState [13:37:57]wFMCommunicate request_size=4 [13:37:57]MH_SAM_APDU [13:37:57]CAPDU: 80 13 01 00 [13:37:57]Write to MH i2c: E2 08 00 0B 13 80 13 01 00 00 00 00 00 9B [13:37:57]Write i2c OK [13:37:57]MH_I2C_Read... [13:37:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:37:57]Read from MH i2c: E2 [13:37:57]MH_I2C_Read... [13:37:57]Read from MH i2c: E2 0E 00 [13:37:57]MH_I2C_Read... [13:37:57]Read from MH i2c: E2 0E 00 0B 13 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 C3 [13:37:57]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [13:37:57]wFMCommunicate OK [13:37:57]SAM_PROTO_GetShiftState done [13:37:57]FM_GetShiftState done [13:37:57]opened in 1722127230 [13:37:57]opened+sec_in_day 1722213630 [13:37:57]quantity*price = 6500 [13:37:57]sum+1 = 6501 [13:37:57]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.01 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 25 28.07.2024 13:38 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27047 ФПД: 24044123472367 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T133801&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27047&fm=24044123472367&tin=02508201610067®Number=0000000000092663&sum=11500 0 [13:37:58]StoreToDocumentArchive [13:37:58]shift 433 fd 27047 [13:37:58]save to /storage/0433/doc_00027047 [13:37:58]save last doc name /storage/0433/doc_00027047 to /storage/kkm_last_doc_name [13:37:58]save OK [13:37:58]Clear old archive folders... [13:37:58]ProcessDocumentItem done err = 0, tmpTLVsize=385 [13:37:58]tlvbuf is 01811A50 [13:37:58]SAM_PROTO_ClearQueue [13:37:58]wFMCommunicate request_size=4 [13:37:58]MH_SAM_APDU [13:37:58]CAPDU: 80 09 00 00 [13:37:58]Write to MH i2c: E2 08 00 18 13 80 09 00 00 00 00 00 00 9D [13:37:58]Write i2c OK [13:37:58]MH_I2C_Read... [13:37:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:37:58]Read from MH i2c: E2 [13:37:58]MH_I2C_Read... [13:37:58]Read from MH i2c: E2 03 00 [13:37:58]MH_I2C_Read... [13:37:58]Read from MH i2c: E2 03 00 18 13 00 90 00 9F [13:37:58]RAPDU: 90 00 [13:37:58]wFMCommunicate OK [13:37:58]SAM_PROTO_ClearQueue done [13:37:58]KKMCreateOFDPacket [13:37:58]OFDProtocolAddRootSTLVToBuf [13:37:58]FM_MakeSignedData [13:37:58]FM_MakeSignedData [13:37:58]SAM_PROTO_SignData [13:37:58]wFMCommunicate request_size=4 [13:37:58]MH_SAM_APDU [13:37:58]CAPDU: 80 0D 01 02 [13:37:58]Write to MH i2c: E2 08 00 19 13 80 0D 01 02 00 00 00 00 A5 [13:37:58]Write i2c OK [13:37:58]MH_I2C_Read... [13:37:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:37:58]Read from MH i2c: E2 [13:37:58]MH_I2C_Read... [13:37:58]Read from MH i2c: E2 03 00 [13:37:58]MH_I2C_Read... [13:37:58]Read from MH i2c: E2 03 00 19 13 00 90 00 A0 [13:37:58]RAPDU: 90 00 [13:37:58]wFMCommunicate OK [13:37:58]wFMCommunicate request_size=255 [13:37:58]MH_SAM_APDU [13:37:58]CAPDU: 80 0D 02 02 FA 03 00 81 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 [13:37:58]Write to MH i2c: E2 02 01 1A 13 80 0D 02 02 FA 00 03 00 81 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 69 [13:37:58]Write i2c OK [13:37:58]MH_I2C_Read... [13:37:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:37:58]Read from MH i2c: E2 [13:37:58]MH_I2C_Read... [13:37:58]Read from MH i2c: E2 03 00 [13:37:58]MH_I2C_Read... [13:37:58]Read from MH i2c: E2 03 00 1A 13 00 90 00 A1 [13:37:58]RAPDU: 90 00 [13:37:58]wFMCommunicate OK [13:37:58]wFMCommunicate request_size=144 [13:37:58]MH_SAM_APDU [13:37:58]CAPDU: 80 0D 02 02 8B 00 65 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 19 00 00 00 F4 03 04 00 B9 49 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A7 69 00 00 35 04 06 00 15 DE 35 70 41 EF [13:37:58]Write to MH i2c: E2 93 00 1B 13 80 0D 02 02 8B 00 00 65 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 19 00 00 00 F4 03 04 00 B9 49 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A7 69 00 00 35 04 06 00 15 DE 35 70 41 EF 00 00 E9 [13:37:58]Write i2c OK [13:37:58]MH_I2C_Read... [13:37:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:37:58]Read from MH i2c: E2 [13:37:58]MH_I2C_Read... [13:37:58]Read from MH i2c: E2 03 00 [13:37:58]MH_I2C_Read... [13:37:58]Read from MH i2c: E2 03 00 1B 13 00 90 00 A2 [13:37:58]RAPDU: 90 00 [13:37:58]wFMCommunicate OK [13:37:58]wFMCommunicate request_size=4 [13:37:58]MH_SAM_APDU [13:37:58]CAPDU: 80 0D 03 02 [13:37:58]Write to MH i2c: E2 08 00 1C 13 80 0D 03 02 00 00 00 00 AA [13:37:58]Write i2c OK [13:37:58]MH_I2C_Read... [13:37:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:37:58]Read from MH i2c: E2 [13:37:58]MH_I2C_Read... [13:37:58]Read from MH i2c: E2 0B 00 [13:37:58]MH_I2C_Read... [13:37:58]Read from MH i2c: E2 0B 00 1C 13 00 B1 AA 56 20 5F 4F CB 65 90 00 5A [13:37:58]RAPDU: B1 AA 56 20 5F 4F CB 65 90 00 [13:37:58]wFMCommunicate OK [13:37:58]SAM_PROTO_SignData done [13:37:58]FM_MakeSignedData done [13:37:58]CreateOFDProtocolMessage [13:37:58]wFMCommunicate request_size=4 [13:37:58]MH_SAM_APDU [13:37:58]CAPDU: 80 11 00 00 [13:37:58]Write to MH i2c: E2 08 00 1D 13 80 11 00 00 00 00 00 00 AA [13:37:58]Write i2c OK [13:37:58]MH_I2C_Read... [13:37:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:37:59]Read from MH i2c: E2 [13:37:59]MH_I2C_Read... [13:37:59]Read from MH i2c: E2 17 00 [13:37:59]MH_I2C_Read... [13:37:59]Read from MH i2c: E2 17 00 1D 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 03 [13:37:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [13:37:59]wFMCommunicate OK [13:37:59]CreateOFDProtocolMessage done [13:37:59]OFDSenderStorePacket 27047 [13:37:59]StoreOFDPacket docnum=27047 [13:37:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 95 01 00 00 48 C3 8D 01 59 A9 5A 03 01 00 03 00 81 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 65 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 19 00 00 00 F4 03 04 00 B9 49 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A7 69 00 00 35 04 06 00 15 DE 35 70 41 EF B1 AA 56 20 5F 4F CB 65 [13:37:59]CheckFolder [13:37:59]dirname=/storage/ofd_packets [13:37:59]CheckFolder done [13:37:59]ProducePacketName [13:37:59]name=ofd_packets/00027047 [13:37:59]NVStorageSaveData ofd_packets/00027047 [13:37:59]File name is /storage/ofd_packets/00027047 [13:37:59]Write 435 bytes [13:37:59]NVStorageSaveData done [13:37:59]OFDSenderStorePacket done [13:37:59]KKMCreateOFDPacket done [13:37:59]NVStorageSaveData kkm_last_timestamp [13:37:59]File name is /storage/kkm_last_timestamp [13:37:59]Write 4 bytes [13:37:59]NVStorageSaveData done [13:37:59]ExternCall_PrintAddStr [13:37:59]wPrintStart [13:37:59]Write to MH i2c: 01 00 00 1E 13 31 [13:37:59]Write i2c OK [13:37:59]MH_I2C_Read... [13:37:59]Read from MH i2c: 01 [13:37:59]MH_I2C_Read... [13:37:59]Read from MH i2c: 01 07 00 [13:37:59]MH_I2C_Read... [13:37:59]Read from MH i2c: 01 07 00 1E 13 00 00 00 00 00 FF 0F 46 [13:37:59]RasterBufferAndPrint [13:37:59]line Счет N : (3)150445 [13:37:59]line ИНН: 02508201610067 [13:37:59]line Контрольно-Кассовый Чек [13:37:59]line ПРОДАЖА [13:37:59]line Товар: 4700040114120 [13:37:59]line Султан чай 1л. чер персик [13:37:59]line 1.000 * 65.00 [13:37:59]line = 65.00 [13:37:59]line НДС 12% НСП 1% [13:37:59]line > о реализуемом товаре [13:37:59]line Товар: 4700000160358 [13:37:59]line Вода Легенда 1л [13:37:59]line 1.000 * 50.00 [13:37:59]line = 50.00 [13:37:59]line НДС 12% НСП 1% [13:37:59]line > о реализуемом товаре [13:37:59]line ИТОГО: 115.00 [13:37:59]line НСП 1% : 1.01 [13:37:59]line НДС 12% : 12.21 [13:37:59]line Наличными: 115.00 [13:37:59]line Безнал.: 0.00 [13:37:59]line Место: АЗС № 134 "Партнер Нефть" [13:37:59]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [13:37:59]line СНО: Общий режим [13:37:59]line Чек 25 28.07.2024 13:38 [13:37:59]line Смена: 433 ФФД: 1.0 [13:37:59]line ЗНМ: 0300000043 [13:37:59]line РНМ: 0000000000092663 [13:37:59]line Версия ККМ: 001 [13:37:59]line ФМ: 0000000000874937 [13:37:59]line ФД: 27047 [13:37:59]line ФПД: 24044123472367 [13:37:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T133801&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27047&fm=24044123472367&tin=02508201610067®Number=0000000000092663&sum=11500 [13:37:59]OFD Sender: Processing packet 27047 [packets to send 9, broken 8] [13:37:59]line 0 [13:37:59]ProducePacketName [13:37:59]name=ofd_packets/00027047 [13:37:59]OFD Sender: To server: pG, [13:37:59]CommunicateWithHost lk.salyk.kg:30040 [13:37:59]ConnectInit lk.salyk.kg [13:37:59]written 0, free lines is 4095 [13:37:59]Connected sock=9 [13:37:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 95 01 00 00 48 C3 8D 01 59 A9 5A 03 01 00 03 00 81 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 65 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 19 00 00 00 F4 03 04 00 B9 49 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A7 69 00 00 35 04 06 00 15 DE 35 70 41 EF B1 AA 56 20 5F 4F CB 65 [13:37:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 56 BE 47 00 11 B3 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 38 37 34 39 33 37 10 04 04 00 A7 69 00 00 F4 03 04 00 0D F0 A5 66 B6 04 01 00 00 2C A0 8C 6F 41 F3 28 9D [13:37:59]CommunicateWithHost err = 0 [13:37:59]CheckOFDResponse [13:37:59]1017 (14) - 77093643461234 [13:37:59]1041 (16) - 0000000000874937 [13:37:59]1040 (4) - 27047 [13:37:59]1012 (4) - 28.07.2024 07:15 [13:37:59]1206 (1) - 0 [13:37:59]OFD Sender: Remove packet 27047 [13:37:59]ProducePacketName [13:37:59]name=ofd_packets/00027047 [13:37:59]NVStorageDeleteData [13:37:59]Write to MH i2c: 01 00 00 4B 13 5E [13:37:59]Write i2c OK [13:37:59]MH_I2C_Read... [13:37:59]Read from MH i2c: 01 [13:37:59]MH_I2C_Read... [13:37:59]Read from MH i2c: 01 07 00 [13:37:59]MH_I2C_Read... [13:37:59]Read from MH i2c: 01 07 00 4B 13 00 00 00 00 00 A1 0C 12 [13:37:59]RasterBufferAndPrint [13:37:59]line [13:37:59]line [13:37:59]line [13:37:59]line [13:37:59]line [13:37:59]written 0, free lines is 3240 [13:37:59]MH_Cut [13:37:59]Write to MH i2c: D1 01 00 52 13 01 37 [13:37:59]Write i2c OK [13:37:59]MH_I2C_Read... [13:37:59]Read from MH i2c: D1 [13:37:59]MH_I2C_Read... [13:37:59]Read from MH i2c: D1 01 00 [13:37:59]MH_I2C_Read... [13:37:59]Read from MH i2c: D1 01 00 52 13 00 36 [13:37:59]Write to MH i2c: 01 00 00 53 13 66 [13:37:59]Write i2c OK [13:37:59]MH_I2C_Read... [13:38:00]OFD Sender: No OFD packet to send [13:38:00]*** Cut start [13:38:00]*** Partial cut [13:38:00]*** CUTSNS_PIN = 1 [13:38:00]*** CUTSNS_PIN = 0 [13:38:00]*** Brake cut motor [13:38:01]Read from MH i2c: 01 [13:38:01]MH_I2C_Read... [13:38:01]*** Stop cut motor [13:38:01]*** Cut end [13:38:01]Read from MH i2c: 01 07 00 [13:38:01]MH_I2C_Read... [13:38:01]Read from MH i2c: 01 07 00 53 13 00 00 00 00 00 FF 0F 7B [13:38:01]process_action close_receipt done [13:38:01]requested_data is exist [13:38:01]produce_requested_data [13:38:01]requested_item fm.sn is exist - process it [13:38:01]wFMCommunicate request_size=4 [13:38:01]MH_SAM_APDU [13:38:01]CAPDU: 80 11 00 00 [13:38:01]Write to MH i2c: E2 08 00 54 13 80 11 00 00 00 00 00 00 E1 [13:38:01]Write i2c OK [13:38:01]MH_I2C_Read... [13:38:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:38:01]Read from MH i2c: E2 [13:38:01]MH_I2C_Read... [13:38:01]Read from MH i2c: E2 17 00 [13:38:01]MH_I2C_Read... [13:38:01]Read from MH i2c: E2 17 00 54 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 3A [13:38:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [13:38:01]wFMCommunicate OK [13:38:01]requested_item fd.num is exist - process it [13:38:01]SAM_PROTO_GetFieldsCounters [13:38:01]wFMCommunicate request_size=4 [13:38:01]MH_SAM_APDU [13:38:01]CAPDU: 80 13 00 00 [13:38:01]Write to MH i2c: E2 08 00 55 13 80 13 00 00 00 00 00 00 E4 [13:38:01]Write i2c OK [13:38:01]MH_I2C_Read... [13:38:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:38:01]Read from MH i2c: E2 [13:38:01]MH_I2C_Read... [13:38:01]Read from MH i2c: E2 62 00 [13:38:01]MH_I2C_Read... [13:38:01]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 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 A7 69 00 00 0E 04 04 00 B1 01 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 19 [13:38:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 A7 69 00 00 0E 04 04 00 B1 01 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 [13:38:01]wFMCommunicate OK [13:38:01]SAM_PROTO_GetFieldsCounters done [13:38:01]requested_item shift.num is exist - process it [13:38:01]requested_item shift.opened is exist - process it [13:38:01]req_shift_opened [13:38:01]FM_GetShiftState [13:38:01]SAM_PROTO_GetShiftState [13:38:01]wFMCommunicate request_size=4 [13:38:01]MH_SAM_APDU [13:38:01]CAPDU: 80 13 01 00 [13:38:01]Write to MH i2c: E2 08 00 56 13 80 13 01 00 00 00 00 00 E6 [13:38:01]Write i2c OK [13:38:01]MH_I2C_Read... [13:38:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:38:01]Read from MH i2c: E2 [13:38:01]MH_I2C_Read... [13:38:01]Read from MH i2c: E2 0E 00 [13:38:01]MH_I2C_Read... [13:38:01]Read from MH i2c: E2 0E 00 56 13 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 0E [13:38:01]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [13:38:01]wFMCommunicate OK [13:38:01]SAM_PROTO_GetShiftState done [13:38:01]FM_GetShiftState done [13:38:01]req_shift_opened done [13:38:01]requested_item shift.open_date is exist - process it [13:38:01]req_shift_open_date [13:38:01]req_shift_open_date done [13:38:01]produce_requested_data done [13:38:01]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27047,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [13:38:01]process_action_free close_receipt [13:38:01]json_value_free [13:38:01]json_value_free done [13:38:01]process_json_proto returns [13:38:01]Send response to host [13:38:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27047,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [13:38:01]free response buf [13:38:01]execute_script done [13:38:01]execute_script returns [13:38:01]free content buf [13:38:01]Sock 7.Close socket [13:38:01]Sock 7.Thread stoped [13:38:05]OFD Sender: No OFD packet to send [13:38:10]OFD Sender: No OFD packet to send [13:38:13]int [13:38:13]Write to MH i2c: 01 00 00 57 13 6A [13:38:13]*** FLAG_PRN_PAP1 set [13:38:13]Write i2c OK [13:38:13]MH_I2C_Read... [13:38:13]Read from MH i2c: 01 [13:38:13]MH_I2C_Read... [13:38:13]Read from MH i2c: 01 07 00 [13:38:13]MH_I2C_Read... [13:38:13]Read from MH i2c: 01 07 00 57 13 00 01 00 00 00 FF 0F 80 [13:38:13]state=0 [13:38:13]No paper [13:38:13]int [13:38:13]Write to MH i2c: 01 00 00 58 13 6B [13:38:13]*** FLAG_PRN_PAP2 set [13:38:13]Write i2c OK [13:38:13]MH_I2C_Read... [13:38:13]Read from MH i2c: 01 [13:38:13]MH_I2C_Read... [13:38:13]Read from MH i2c: 01 07 00 [13:38:13]MH_I2C_Read... [13:38:13]Read from MH i2c: 01 07 00 58 13 00 03 00 00 00 FF 0F 83 [13:38:13]state=0 [13:38:13]No paper [13:38:13]Cover opened [13:38:13]int [13:38:13]Write to MH i2c: 01 00 00 59 13 6C [13:38:13]*** FLAG_PRN_PAP2 reset [13:38:13]Write i2c OK [13:38:13]MH_I2C_Read... [13:38:13]Read from MH i2c: 01 [13:38:13]MH_I2C_Read... [13:38:13]Read from MH i2c: 01 07 00 [13:38:13]MH_I2C_Read... [13:38:13]Read from MH i2c: 01 07 00 59 13 00 01 00 00 00 FF 0F 82 [13:38:13]state=3 [13:38:13]No paper [13:38:13]Cover closed [13:38:14]int [13:38:14]Write to MH i2c: 01 00 00 5A 13 6D [13:38:14]*** FLAG_PRN_PAP2 set [13:38:14]Write i2c OK [13:38:14]MH_I2C_Read... [13:38:14]Read from MH i2c: 01 [13:38:14]MH_I2C_Read... [13:38:14]Read from MH i2c: 01 07 00 [13:38:14]MH_I2C_Read... [13:38:14]Read from MH i2c: 01 07 00 5A 13 00 03 00 00 00 FF 0F 85 [13:38:14]state=0 [13:38:14]No paper [13:38:14]Cover opened [13:38:15]OFD Sender: No OFD packet to send [13:38:19]Write to MH i2c: 01 00 00 5B 13 6E [13:38:19]Write i2c OK [13:38:19]MH_I2C_Read... [13:38:19]Read from MH i2c: 01 [13:38:19]MH_I2C_Read... [13:38:19]Read from MH i2c: 01 07 00 [13:38:19]MH_I2C_Read... [13:38:19]Read from MH i2c: 01 07 00 5B 13 00 03 00 00 00 FF 0F 86 [13:38:19]state=3 [13:38:19]No paper [13:38:19]Cover opened [13:38:20]OFD Sender: No OFD packet to send [13:38:24]Write to MH i2c: 01 00 00 5C 13 6F [13:38:24]Write i2c OK [13:38:24]MH_I2C_Read... [13:38:24]Read from MH i2c: 01 [13:38:24]MH_I2C_Read... [13:38:24]Read from MH i2c: 01 07 00 [13:38:24]MH_I2C_Read... [13:38:24]Read from MH i2c: 01 07 00 5C 13 00 03 00 00 00 FF 0F 87 [13:38:24]state=3 [13:38:24]No paper [13:38:24]Cover opened [13:38:25]OFD Sender: No OFD packet to send [13:38:25]int [13:38:25]Write to MH i2c: 01 00 00 5D 13 70 [13:38:25]*** FLAG_PRN_PAP2 reset [13:38:25]Write i2c OK [13:38:25]MH_I2C_Read... [13:38:25]Read from MH i2c: 01 [13:38:25]MH_I2C_Read... [13:38:25]Read from MH i2c: 01 07 00 [13:38:25]MH_I2C_Read... [13:38:25]Read from MH i2c: 01 07 00 5D 13 00 01 00 00 00 FF 0F 86 [13:38:25]state=3 [13:38:25]No paper [13:38:25]Cover closed [13:38:25]int [13:38:25]Write to MH i2c: 01 00 00 5E 13 71 [13:38:25]*** FLAG_PRN_PAP1 reset [13:38:25]Write i2c OK [13:38:25]MH_I2C_Read... [13:38:25]Read from MH i2c: 01 [13:38:25]MH_I2C_Read... [13:38:25]Read from MH i2c: 01 07 00 [13:38:25]MH_I2C_Read... [13:38:25]Read from MH i2c: 01 07 00 5E 13 00 00 00 00 00 FF 0F 86 [13:38:25]state=0 [13:38:30]OFD Sender: No OFD packet to send [13:38:35]OFD Sender: No OFD packet to send [13:38:40]OFD Sender: No OFD packet to send [13:38:45]OFD Sender: No OFD packet to send [13:38:50]OFD Sender: No OFD packet to send [13:38:52]accept exits with 10 [13:38:52]New connection [13:38:52]New thread 3067530596 created [13:38:52]Thread 3067387236 joined [13:38:52]Waiting for new connection... [13:38:52] Sock 10.Parse request [13:38:52]Sock 10.Check first char [13:38:52]Sock 10.First char is OK [13:38:52]request: POST /json_proto HTTP/1.0 [13:38:52]Method: POST [13:38:52]URL: /json_proto [13:38:52]Method is POST - this is cgi request [13:38:52]url: /json_proto [13:38:52]query_string will be loaded in cgi processing [13:38:52]execute_cgi json_proto POST (null) [13:38:52]execute_cgi path=json_proto method=POST [13:38:52]POST find Content-Length [13:38:52]Host: 172.17.45.8:8080 [13:38:52]Content-Length: 975 [13:38:52]Content-Type: application/json [13:38:52] [13:38:52]POST finish read [13:38:52]Found Content-Length = 975 [13:38:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150446", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 165.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:38:52]execute_script... [13:38: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)150446", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 165.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:38:52]POST & json_proto [13:38:52]process_json_proto [13:38:52]json parsed OK: [13:38:52]protocol is kg_v1.0 [13:38:52]action value=close_receipt [13:38:52]process_action close_receipt [13:38:52]cmd_close_receipt [13:38:52]MH_GetDate [13:38:52]Write to MH i2c: F0 00 00 5F 13 61 [13:38:52]Write i2c OK [13:38:52]MH_I2C_Read... [13:38:52]Read from MH i2c: F0 [13:38:52]MH_I2C_Read... [13:38:52]Read from MH i2c: F0 09 00 [13:38:52]MH_I2C_Read... [13:38:52]Read from MH i2c: F0 09 00 5F 13 00 F0 49 A6 66 A6 1F 7F 64 57 [13:38:52]GetLastDocTimeStamp 1722173881 [13:38:52]current date 1722173936 [13:38:52]FM_GetShiftState [13:38:52]SAM_PROTO_GetShiftState [13:38:52]wFMCommunicate request_size=4 [13:38:52]MH_SAM_APDU [13:38:52]CAPDU: 80 13 01 00 [13:38:52]Write to MH i2c: E2 08 00 60 13 80 13 01 00 00 00 00 00 F0 [13:38:52]Write i2c OK [13:38:52]MH_I2C_Read... [13:38:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:38:52]Read from MH i2c: E2 [13:38:52]MH_I2C_Read... [13:38:52]Read from MH i2c: E2 0E 00 [13:38:52]MH_I2C_Read... [13:38:52]Read from MH i2c: E2 0E 00 60 13 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 18 [13:38:52]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [13:38:52]wFMCommunicate OK [13:38:52]SAM_PROTO_GetShiftState done [13:38:52]FM_GetShiftState done [13:38:52]opened in 1722127230 [13:38:52]opened+sec_in_day 1722213630 [13:38:52]quantity*price = 6500 [13:38:52]sum+1 = 6501 [13:38:52]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870002328398 Вода ASU пит н.газ мята ПЭТ 1л 1.000 * 100.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 165.00 НСП 1% : 1.45 НДС 12% : 17.52 Наличными: 165.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 26 28.07.2024 13:38 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27048 ФПД: 1647864286401 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T133856&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27048&fm=1647864286401&tin=02508201610067®Number=0000000000092663&sum=16500 0 [13:38:53]StoreToDocumentArchive [13:38:53]shift 433 fd 27048 [13:38:53]save to /storage/0433/doc_00027048 [13:38:53]save last doc name /storage/0433/doc_00027048 to /storage/kkm_last_doc_name [13:38:53]save OK [13:38:53]Clear old archive folders... [13:38:53]ProcessDocumentItem done err = 0, tmpTLVsize=407 [13:38:53]tlvbuf is 01651360 [13:38:53]SAM_PROTO_ClearQueue [13:38:53]wFMCommunicate request_size=4 [13:38:53]MH_SAM_APDU [13:38:53]CAPDU: 80 09 00 00 [13:38:53]Write to MH i2c: E2 08 00 6D 13 80 09 00 00 00 00 00 00 F2 [13:38:53]Write i2c OK [13:38:53]MH_I2C_Read... [13:38:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:38:53]Read from MH i2c: E2 [13:38:53]MH_I2C_Read... [13:38:53]Read from MH i2c: E2 03 00 [13:38:53]MH_I2C_Read... [13:38:53]Read from MH i2c: E2 03 00 6D 13 00 90 00 F4 [13:38:53]RAPDU: 90 00 [13:38:53]wFMCommunicate OK [13:38:53]SAM_PROTO_ClearQueue done [13:38:53]KKMCreateOFDPacket [13:38:53]OFDProtocolAddRootSTLVToBuf [13:38:53]FM_MakeSignedData [13:38:53]FM_MakeSignedData [13:38:53]SAM_PROTO_SignData [13:38:53]wFMCommunicate request_size=4 [13:38:53]MH_SAM_APDU [13:38:53]CAPDU: 80 0D 01 02 [13:38:53]Write to MH i2c: E2 08 00 6E 13 80 0D 01 02 00 00 00 00 FA [13:38:53]Write i2c OK [13:38:53]MH_I2C_Read... [13:38:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:38:53]Read from MH i2c: E2 [13:38:53]MH_I2C_Read... [13:38:53]Read from MH i2c: E2 03 00 [13:38:53]MH_I2C_Read... [13:38:53]Read from MH i2c: E2 03 00 6E 13 00 90 00 F5 [13:38:53]RAPDU: 90 00 [13:38:53]wFMCommunicate OK [13:38:53]wFMCommunicate request_size=255 [13:38:53]MH_SAM_APDU [13:38:53]CAPDU: 80 0D 02 02 FA 03 00 97 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 [13:38:53]Write to MH i2c: E2 02 01 6F 13 80 0D 02 02 FA 00 03 00 97 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 00 00 D0 [13:38:53]Write i2c OK [13:38:53]MH_I2C_Read... [13:38:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:38:53]Read from MH i2c: E2 [13:38:53]MH_I2C_Read... [13:38:53]Read from MH i2c: E2 03 00 [13:38:53]MH_I2C_Read... [13:38:53]Read from MH i2c: E2 03 00 6F 13 00 90 00 F6 [13:38:53]RAPDU: 90 00 [13:38:53]wFMCommunicate OK [13:38:53]wFMCommunicate request_size=166 [13:38:53]MH_SAM_APDU [13:38:53]CAPDU: 80 0D 02 02 A1 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 91 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 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 F0 49 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A8 69 00 00 35 04 06 00 01 7F AC 5D 8C C1 [13:38:53]Write to MH i2c: E2 A9 00 70 13 80 0D 02 02 A1 00 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 91 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 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 F0 49 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A8 69 00 00 35 04 06 00 01 7F AC 5D 8C C1 00 00 52 [13:38:53]Write i2c OK [13:38:53]MH_I2C_Read... [13:38:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:38:53]Read from MH i2c: E2 [13:38:53]MH_I2C_Read... [13:38:53]Read from MH i2c: E2 03 00 [13:38:53]MH_I2C_Read... [13:38:53]Read from MH i2c: E2 03 00 70 13 00 90 00 F7 [13:38:53]RAPDU: 90 00 [13:38:53]wFMCommunicate OK [13:38:53]wFMCommunicate request_size=4 [13:38:53]MH_SAM_APDU [13:38:53]CAPDU: 80 0D 03 02 [13:38:53]Write to MH i2c: E2 08 00 71 13 80 0D 03 02 00 00 00 00 FF [13:38:53]Write i2c OK [13:38:53]MH_I2C_Read... [13:38:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:38:54]Read from MH i2c: E2 [13:38:54]MH_I2C_Read... [13:38:54]Read from MH i2c: E2 0B 00 [13:38:54]MH_I2C_Read... [13:38:54]Read from MH i2c: E2 0B 00 71 13 00 AA EF 15 79 B5 76 47 26 90 00 BF [13:38:54]RAPDU: AA EF 15 79 B5 76 47 26 90 00 [13:38:54]wFMCommunicate OK [13:38:54]SAM_PROTO_SignData done [13:38:54]FM_MakeSignedData done [13:38:54]CreateOFDProtocolMessage [13:38:54]wFMCommunicate request_size=4 [13:38:54]MH_SAM_APDU [13:38:54]CAPDU: 80 11 00 00 [13:38:54]Write to MH i2c: E2 08 00 72 13 80 11 00 00 00 00 00 00 FF [13:38:54]Write i2c OK [13:38:54]MH_I2C_Read... [13:38:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:38:54]Read from MH i2c: E2 [13:38:54]MH_I2C_Read... [13:38:54]Read from MH i2c: E2 17 00 [13:38:54]MH_I2C_Read... [13:38:54]Read from MH i2c: E2 17 00 72 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 58 [13:38:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [13:38:54]wFMCommunicate OK [13:38:54]CreateOFDProtocolMessage done [13:38:54]OFDSenderStorePacket 27048 [13:38:54]StoreOFDPacket docnum=27048 [13:38:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 AB 01 00 00 97 84 A3 01 48 07 5A 03 01 00 03 00 97 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 91 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 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 F0 49 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A8 69 00 00 35 04 06 00 01 7F AC 5D 8C C1 AA EF 15 79 B5 76 47 26 [13:38:54]CheckFolder [13:38:54]dirname=/storage/ofd_packets [13:38:54]CheckFolder done [13:38:54]ProducePacketName [13:38:54]name=ofd_packets/00027048 [13:38:54]NVStorageSaveData ofd_packets/00027048 [13:38:54]File name is /storage/ofd_packets/00027048 [13:38:54]Write 457 bytes [13:38:54]NVStorageSaveData done [13:38:54]OFDSenderStorePacket done [13:38:54]KKMCreateOFDPacket done [13:38:54]NVStorageSaveData kkm_last_timestamp [13:38:54]File name is /storage/kkm_last_timestamp [13:38:54]Write 4 bytes [13:38:54]NVStorageSaveData done [13:38:54]ExternCall_PrintAddStr [13:38:54]wPrintStart [13:38:54]Write to MH i2c: 01 00 00 73 13 86 [13:38:54]Write i2c OK [13:38:54]MH_I2C_Read... [13:38:54]Read from MH i2c: 01 [13:38:54]MH_I2C_Read... [13:38:54]Read from MH i2c: 01 07 00 [13:38:54]MH_I2C_Read... [13:38:54]Read from MH i2c: 01 07 00 73 13 00 00 00 00 00 FF 0F 9B [13:38:54]RasterBufferAndPrint [13:38:54]line Счет N : (3)150446 [13:38:54]line ИНН: 02508201610067 [13:38:54]line Контрольно-Кассовый Чек [13:38:54]line ПРОДАЖА [13:38:54]line Товар: 4700040114120 [13:38:54]line Султан чай 1л. чер персик [13:38:54]line 1.000 * 65.00 [13:38:54]line = 65.00 [13:38:54]line НДС 12% НСП 1% [13:38:54]line > о реализуемом товаре [13:38:54]line Товар: 4870002328398 [13:38:54]line Вода ASU пит н.газ мята ПЭТ 1л [13:38:54]line 1.000 * 100.00 [13:38:54]line = 100.00 [13:38:54]line НДС 12% НСП 1% [13:38:54]line > о реализуемом товаре [13:38:54]line ИТОГО: 165.00 [13:38:54]line НСП 1% : 1.45 [13:38:54]line НДС 12% : 17.52 [13:38:54]line Наличными: 165.00 [13:38:54]line Безнал.: 0.00 [13:38:54]line Место: АЗС № 134 "Партнер Нефть" [13:38:54]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [13:38:54]line СНО: Общий режим [13:38:54]line Чек 26 28.07.2024 13:38 [13:38:54]line Смена: 433 ФФД: 1.0 [13:38:54]line ЗНМ: 0300000043 [13:38:54]line РНМ: 0000000000092663 [13:38:54]line Версия ККМ: 001 [13:38:54]line ФМ: 0000000000874937 [13:38:54]line ФД: 27048 [13:38:54]line ФПД: 1647864286401 [13:38:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T133856&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27048&fm=1647864286401&tin=02508201610067®Number=0000000000092663&sum=16500 [13:38:54]OFD Sender: Processing packet 27048 [packets to send 9, broken 8] [13:38:54]ProducePacketName [13:38:54]name=ofd_packets/00027048 [13:38:54]OFD Sender: To server: pG, [13:38:54]CommunicateWithHost lk.salyk.kg:30040 [13:38:54]ConnectInit lk.salyk.kg [13:38:54]line 0 [13:38:54]written 0, free lines is 4095 [13:38:54]Connected sock=9 [13:38:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 AB 01 00 00 97 84 A3 01 48 07 5A 03 01 00 03 00 97 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 91 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 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 F0 49 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A8 69 00 00 35 04 06 00 01 7F AC 5D 8C C1 AA EF 15 79 B5 76 47 26 [13:38:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 26 1C 47 00 F1 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 38 37 34 39 33 37 10 04 04 00 A8 69 00 00 F4 03 04 00 44 F0 A5 66 B6 04 01 00 00 EE 85 5E 16 DE A0 FB 3D [13:38:54]CommunicateWithHost err = 0 [13:38:54]CheckOFDResponse [13:38:54]1017 (14) - 77093643461234 [13:38:54]1041 (16) - 0000000000874937 [13:38:54]1040 (4) - 27048 [13:38:54]1012 (4) - 28.07.2024 07:16 [13:38:54]1206 (1) - 0 [13:38:54]OFD Sender: Remove packet 27048 [13:38:54]ProducePacketName [13:38:54]name=ofd_packets/00027048 [13:38:54]NVStorageDeleteData [13:38:54]Write to MH i2c: 01 00 00 A1 13 B4 [13:38:54]Write i2c OK [13:38:54]MH_I2C_Read... [13:38:54]Read from MH i2c: 01 [13:38:54]MH_I2C_Read... [13:38:54]Read from MH i2c: 01 07 00 [13:38:54]MH_I2C_Read... [13:38:54]Read from MH i2c: 01 07 00 A1 13 00 00 00 00 00 AC 0C 73 [13:38:54]RasterBufferAndPrint [13:38:54]line [13:38:54]line [13:38:54]line [13:38:54]line [13:38:54]line [13:38:54]written 0, free lines is 3251 [13:38:54]MH_Cut [13:38:54]Write to MH i2c: D1 01 00 A8 13 01 8D [13:38:54]Write i2c OK [13:38:54]MH_I2C_Read... [13:38:54]Read from MH i2c: D1 [13:38:54]MH_I2C_Read... [13:38:54]Read from MH i2c: D1 01 00 [13:38:54]MH_I2C_Read... [13:38:54]Read from MH i2c: D1 01 00 A8 13 00 8C [13:38:54]Write to MH i2c: 01 00 00 A9 13 BC [13:38:54]Write i2c OK [13:38:54]MH_I2C_Read... [13:38:55]OFD Sender: No OFD packet to send [13:38:55]*** Cut start [13:38:55]*** Partial cut [13:38:55]*** CUTSNS_PIN = 1 [13:38:55]*** CUTSNS_PIN = 0 [13:38:55]*** Brake cut motor [13:38:56]Read from MH i2c: 01 [13:38:56]MH_I2C_Read... [13:38:56]*** Stop cut motor [13:38:56]*** Cut end [13:38:56]Read from MH i2c: 01 07 00 [13:38:56]MH_I2C_Read... [13:38:56]Read from MH i2c: 01 07 00 A9 13 00 00 00 00 00 FF 0F D1 [13:38:56]process_action close_receipt done [13:38:56]requested_data is exist [13:38:56]produce_requested_data [13:38:56]requested_item fm.sn is exist - process it [13:38:56]wFMCommunicate request_size=4 [13:38:56]MH_SAM_APDU [13:38:56]CAPDU: 80 11 00 00 [13:38:56]Write to MH i2c: E2 08 00 AA 13 80 11 00 00 00 00 00 00 37 [13:38:56]Write i2c OK [13:38:56]MH_I2C_Read... [13:38:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:38:56]Read from MH i2c: E2 [13:38:56]MH_I2C_Read... [13:38:56]Read from MH i2c: E2 17 00 [13:38:56]MH_I2C_Read... [13:38:56]Read from MH i2c: E2 17 00 AA 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 90 [13:38:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [13:38:56]wFMCommunicate OK [13:38:56]requested_item fd.num is exist - process it [13:38:56]SAM_PROTO_GetFieldsCounters [13:38:56]wFMCommunicate request_size=4 [13:38:56]MH_SAM_APDU [13:38:56]CAPDU: 80 13 00 00 [13:38:56]Write to MH i2c: E2 08 00 AB 13 80 13 00 00 00 00 00 00 3A [13:38:56]Write i2c OK [13:38:56]MH_I2C_Read... [13:38:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:38:56]Read from MH i2c: E2 [13:38:56]MH_I2C_Read... [13:38:56]Read from MH i2c: E2 62 00 [13:38:56]MH_I2C_Read... [13:38:56]Read from MH i2c: E2 62 00 AB 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 A8 69 00 00 0E 04 04 00 B1 01 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 73 [13:38:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 A8 69 00 00 0E 04 04 00 B1 01 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 [13:38:56]wFMCommunicate OK [13:38:56]SAM_PROTO_GetFieldsCounters done [13:38:56]requested_item shift.num is exist - process it [13:38:56]requested_item shift.opened is exist - process it [13:38:56]req_shift_opened [13:38:56]FM_GetShiftState [13:38:56]SAM_PROTO_GetShiftState [13:38:56]wFMCommunicate request_size=4 [13:38:56]MH_SAM_APDU [13:38:56]CAPDU: 80 13 01 00 [13:38:56]Write to MH i2c: E2 08 00 AC 13 80 13 01 00 00 00 00 00 3C [13:38:56]Write i2c OK [13:38:56]MH_I2C_Read... [13:38:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:38:56]Read from MH i2c: E2 [13:38:56]MH_I2C_Read... [13:38:56]Read from MH i2c: E2 0E 00 [13:38:56]MH_I2C_Read... [13:38:56]Read from MH i2c: E2 0E 00 AC 13 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 64 [13:38:56]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [13:38:56]wFMCommunicate OK [13:38:56]SAM_PROTO_GetShiftState done [13:38:56]FM_GetShiftState done [13:38:56]req_shift_opened done [13:38:56]requested_item shift.open_date is exist - process it [13:38:56]req_shift_open_date [13:38:56]req_shift_open_date done [13:38:56]produce_requested_data done [13:38:56]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27048,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [13:38:56]process_action_free close_receipt [13:38:56]json_value_free [13:38:56]json_value_free done [13:38:56]process_json_proto returns [13:38:56]Send response to host [13:38:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27048,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [13:38:56]free response buf [13:38:56]execute_script done [13:38:56]execute_script returns [13:38:56]free content buf [13:38:56]Sock 10.Close socket [13:38:56]Sock 10.Thread stoped [13:39:00]OFD Sender: No OFD packet to send [13:39:05]OFD Sender: No OFD packet to send [13:39:10]OFD Sender: No OFD packet to send [13:39:13]accept exits with 7 [13:39:13]New connection [13:39:13]New thread 3067387236 created [13:39:13]Thread 3067530596 joined [13:39:13]Waiting for new connection... [13:39:13] Sock 7.Parse request [13:39:13]Sock 7.Check first char [13:39:13]Sock 7.First char is OK [13:39:13]request: POST /json_proto HTTP/1.0 [13:39:13]Method: POST [13:39:13]URL: /json_proto [13:39:13]Method is POST - this is cgi request [13:39:13]url: /json_proto [13:39:13]query_string will be loaded in cgi processing [13:39:13]execute_cgi json_proto POST (null) [13:39:13]execute_cgi path=json_proto method=POST [13:39:13]POST find Content-Length [13:39:13]Host: 172.17.45.8:8080 [13:39:13]Content-Length: 675 [13:39:13]Content-Type: application/json [13:39:13] [13:39:13]POST finish read [13:39:13]Found Content-Length = 675 [13:39:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150447", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "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:39:13]execute_script... [13:39: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)150447", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "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:39:13]POST & json_proto [13:39:13]process_json_proto [13:39:13]json parsed OK: [13:39:13]protocol is kg_v1.0 [13:39:13]action value=close_receipt [13:39:13]process_action close_receipt [13:39:13]cmd_close_receipt [13:39:13]MH_GetDate [13:39:13]Write to MH i2c: F0 00 00 AD 13 AF [13:39:13]Write i2c OK [13:39:13]MH_I2C_Read... [13:39:13]Read from MH i2c: F0 [13:39:13]MH_I2C_Read... [13:39:13]Read from MH i2c: F0 09 00 [13:39:13]MH_I2C_Read... [13:39:13]Read from MH i2c: F0 09 00 AD 13 00 05 4A A6 66 A6 1F 7F 64 BB [13:39:13]GetLastDocTimeStamp 1722173936 [13:39:13]current date 1722173957 [13:39:13]FM_GetShiftState [13:39:13]SAM_PROTO_GetShiftState [13:39:13]wFMCommunicate request_size=4 [13:39:13]MH_SAM_APDU [13:39:13]CAPDU: 80 13 01 00 [13:39:13]Write to MH i2c: E2 08 00 AE 13 80 13 01 00 00 00 00 00 3E [13:39:13]Write i2c OK [13:39:13]MH_I2C_Read... [13:39:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:39:13]Read from MH i2c: E2 [13:39:13]MH_I2C_Read... [13:39:13]Read from MH i2c: E2 0E 00 [13:39:13]MH_I2C_Read... [13:39:13]Read from MH i2c: E2 0E 00 AE 13 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 66 [13:39:13]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [13:39:13]wFMCommunicate OK [13:39:13]SAM_PROTO_GetShiftState done [13:39:13]FM_GetShiftState done [13:39:13]opened in 1722127230 [13:39:13]opened+sec_in_day 1722213630 [13:39:13]quantity*price = 6500 [13:39:13]sum+1 = 6501 [13:39:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 27 28.07.2024 13:39 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27049 ФПД: 75299152998211 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T133917&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27049&fm=75299152998211&tin=02508201610067®Number=0000000000092663&sum=6500 0 [13:39:14]StoreToDocumentArchive [13:39:14]shift 433 fd 27049 [13:39:14]save to /storage/0433/doc_00027049 [13:39:14]save last doc name /storage/0433/doc_00027049 to /storage/kkm_last_doc_name [13:39:14]save OK [13:39:14]Clear old archive folders... [13:39:14]ProcessDocumentItem done err = 0, tmpTLVsize=286 [13:39:14]tlvbuf is 0180CAB0 [13:39:14]SAM_PROTO_ClearQueue [13:39:14]wFMCommunicate request_size=4 [13:39:14]MH_SAM_APDU [13:39:14]CAPDU: 80 09 00 00 [13:39:14]Write to MH i2c: E2 08 00 BB 13 80 09 00 00 00 00 00 00 40 [13:39:14]Write i2c OK [13:39:14]MH_I2C_Read... [13:39:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:39:14]Read from MH i2c: E2 [13:39:14]MH_I2C_Read... [13:39:14]Read from MH i2c: E2 03 00 [13:39:14]MH_I2C_Read... [13:39:14]Read from MH i2c: E2 03 00 BB 13 00 90 00 42 [13:39:14]RAPDU: 90 00 [13:39:14]wFMCommunicate OK [13:39:14]SAM_PROTO_ClearQueue done [13:39:14]KKMCreateOFDPacket [13:39:14]OFDProtocolAddRootSTLVToBuf [13:39:14]FM_MakeSignedData [13:39:14]FM_MakeSignedData [13:39:14]SAM_PROTO_SignData [13:39:14]wFMCommunicate request_size=4 [13:39:14]MH_SAM_APDU [13:39:14]CAPDU: 80 0D 01 02 [13:39:14]Write to MH i2c: E2 08 00 BC 13 80 0D 01 02 00 00 00 00 48 [13:39:14]Write i2c OK [13:39:14]MH_I2C_Read... [13:39:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:39:14]Read from MH i2c: E2 [13:39:14]MH_I2C_Read... [13:39:14]Read from MH i2c: E2 03 00 [13:39:14]MH_I2C_Read... [13:39:14]Read from MH i2c: E2 03 00 BC 13 00 90 00 43 [13:39:14]RAPDU: 90 00 [13:39:14]wFMCommunicate OK [13:39:14]wFMCommunicate request_size=255 [13:39:14]MH_SAM_APDU [13:39:14]CAPDU: 80 0D 02 02 FA 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 1B 00 00 00 F4 03 04 00 05 4A A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 [13:39:14]Write to MH i2c: E2 02 01 BD 13 80 0D 02 02 FA 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 1B 00 00 00 F4 03 04 00 05 4A A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 00 00 38 [13:39:14]Write i2c OK [13:39:14]MH_I2C_Read... [13:39:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:39:14]Read from MH i2c: E2 [13:39:14]MH_I2C_Read... [13:39:14]Read from MH i2c: E2 03 00 [13:39:14]MH_I2C_Read... [13:39:14]Read from MH i2c: E2 03 00 BD 13 00 90 00 44 [13:39:14]RAPDU: 90 00 [13:39:14]wFMCommunicate OK [13:39:14]wFMCommunicate request_size=45 [13:39:14]MH_SAM_APDU [13:39:14]CAPDU: 80 0D 02 02 28 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A9 69 00 00 35 04 06 00 44 7B F3 44 2F 43 [13:39:14]Write to MH i2c: E2 30 00 BE 13 80 0D 02 02 28 00 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A9 69 00 00 35 04 06 00 44 7B F3 44 2F 43 00 00 20 [13:39:14]Write i2c OK [13:39:14]MH_I2C_Read... [13:39:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:39:14]Read from MH i2c: E2 [13:39:14]MH_I2C_Read... [13:39:14]Read from MH i2c: E2 03 00 [13:39:14]MH_I2C_Read... [13:39:14]Read from MH i2c: E2 03 00 BE 13 00 90 00 45 [13:39:14]RAPDU: 90 00 [13:39:14]wFMCommunicate OK [13:39:14]wFMCommunicate request_size=4 [13:39:14]MH_SAM_APDU [13:39:14]CAPDU: 80 0D 03 02 [13:39:14]Write to MH i2c: E2 08 00 BF 13 80 0D 03 02 00 00 00 00 4D [13:39:14]Write i2c OK [13:39:14]MH_I2C_Read... [13:39:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:39:14]Read from MH i2c: E2 [13:39:14]MH_I2C_Read... [13:39:14]Read from MH i2c: E2 0B 00 [13:39:14]MH_I2C_Read... [13:39:14]Read from MH i2c: E2 0B 00 BF 13 00 FD 34 B0 DE 5C CB A8 BE 90 00 9A [13:39:14]RAPDU: FD 34 B0 DE 5C CB A8 BE 90 00 [13:39:14]wFMCommunicate OK [13:39:14]SAM_PROTO_SignData done [13:39:14]FM_MakeSignedData done [13:39:14]CreateOFDProtocolMessage [13:39:14]wFMCommunicate request_size=4 [13:39:14]MH_SAM_APDU [13:39:14]CAPDU: 80 11 00 00 [13:39:14]Write to MH i2c: E2 08 00 C0 13 80 11 00 00 00 00 00 00 4D [13:39:14]Write i2c OK [13:39:14]MH_I2C_Read... [13:39:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:39:14]Read from MH i2c: E2 [13:39:14]MH_I2C_Read... [13:39:14]Read from MH i2c: E2 17 00 [13:39:14]MH_I2C_Read... [13:39:14]Read from MH i2c: E2 17 00 C0 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 A6 [13:39:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [13:39:14]wFMCommunicate OK [13:39:14]CreateOFDProtocolMessage done [13:39:14]OFDSenderStorePacket 27049 [13:39:14]StoreOFDPacket docnum=27049 [13:39:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 32 01 00 00 BA 9A 2A 01 0C A7 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 1B 00 00 00 F4 03 04 00 05 4A A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A9 69 00 00 35 04 06 00 44 7B F3 44 2F 43 FD 34 B0 DE 5C CB A8 BE [13:39:14]CheckFolder [13:39:14]dirname=/storage/ofd_packets [13:39:14]CheckFolder done [13:39:14]ProducePacketName [13:39:14]name=ofd_packets/00027049 [13:39:14]NVStorageSaveData ofd_packets/00027049 [13:39:14]File name is /storage/ofd_packets/00027049 [13:39:14]Write 336 bytes [13:39:14]NVStorageSaveData done [13:39:14]OFDSenderStorePacket done [13:39:14]KKMCreateOFDPacket done [13:39:14]NVStorageSaveData kkm_last_timestamp [13:39:14]File name is /storage/kkm_last_timestamp [13:39:14]Write 4 bytes [13:39:14]NVStorageSaveData done [13:39:14]ExternCall_PrintAddStr [13:39:14]wPrintStart [13:39:14]Write to MH i2c: 01 00 00 C1 13 D4 [13:39:14]Write i2c OK [13:39:14]MH_I2C_Read... [13:39:14]Read from MH i2c: 01 [13:39:14]MH_I2C_Read... [13:39:14]Read from MH i2c: 01 07 00 [13:39:14]MH_I2C_Read... [13:39:14]Read from MH i2c: 01 07 00 C1 13 00 00 00 00 00 FF 0F E9 [13:39:14]RasterBufferAndPrint [13:39:14]line Счет N : (3)150447 [13:39:14]line ИНН: 02508201610067 [13:39:14]line Контрольно-Кассовый Чек [13:39:14]line ПРОДАЖА [13:39:14]line Товар: 4700040114120 [13:39:14]line Султан чай 1л. чер персик [13:39:14]line 1.000 * 65.00 [13:39:14]line = 65.00 [13:39:14]line НДС 12% НСП 1% [13:39:14]line > о реализуемом товаре [13:39:14]line ИТОГО: 65.00 [13:39:14]line НСП 1% : 0.57 [13:39:14]line НДС 12% : 6.90 [13:39:14]line Наличными: 65.00 [13:39:14]line Безнал.: 0.00 [13:39:14]line Место: АЗС № 134 "Партнер Нефть" [13:39:14]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [13:39:14]line СНО: Общий режим [13:39:14]line Чек 27 28.07.2024 13:39 [13:39:14]line Смена: 433 ФФД: 1.0 [13:39:14]line ЗНМ: 0300000043 [13:39:14]line РНМ: 0000000000092663 [13:39:14]line Версия ККМ: 001 [13:39:14]line ФМ: 0000000000874937 [13:39:14]line ФД: 27049 [13:39:14]line ФПД: 75299152998211 [13:39:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T133917&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27049&fm=75299152998211&tin=02508201610067®Number=0000000000092663&sum=6500 [13:39:15]line 0 [13:39:15]OFD Sender: Processing packet 27049 [packets to send 9, broken 8] [13:39:15]ProducePacketName [13:39:15]name=ofd_packets/00027049 [13:39:15]OFD Sender: To server: pG, [13:39:15]CommunicateWithHost lk.salyk.kg:30040 [13:39:15]ConnectInit lk.salyk.kg [13:39:15]written 0, free lines is 4095 [13:39:15]Connected sock=10 [13:39:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 32 01 00 00 BA 9A 2A 01 0C A7 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 1B 00 00 00 F4 03 04 00 05 4A A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 A9 69 00 00 35 04 06 00 44 7B F3 44 2F 43 FD 34 B0 DE 5C CB A8 BE [13:39:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 83 C2 47 00 B5 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 38 37 34 39 33 37 10 04 04 00 A9 69 00 00 F4 03 04 00 59 F0 A5 66 B6 04 01 00 00 C3 0F 8F CE 29 22 5F 50 [13:39:15]CommunicateWithHost err = 0 [13:39:15]CheckOFDResponse [13:39:15]1017 (14) - 77093643461234 [13:39:15]1041 (16) - 0000000000874937 [13:39:15]1040 (4) - 27049 [13:39:15]1012 (4) - 28.07.2024 07:16 [13:39:15]1206 (1) - 0 [13:39:15]OFD Sender: Remove packet 27049 [13:39:15]ProducePacketName [13:39:15]name=ofd_packets/00027049 [13:39:15]NVStorageDeleteData [13:39:15]Write to MH i2c: 01 00 00 E8 13 FB [13:39:15]Write i2c OK [13:39:15]MH_I2C_Read... [13:39:15]Read from MH i2c: 01 [13:39:15]MH_I2C_Read... [13:39:15]Read from MH i2c: 01 07 00 [13:39:15]MH_I2C_Read... [13:39:15]Read from MH i2c: 01 07 00 E8 13 00 00 00 00 00 04 0D 13 [13:39:15]RasterBufferAndPrint [13:39:15]line [13:39:15]line [13:39:15]line [13:39:15]line [13:39:15]line [13:39:15]written 0, free lines is 3339 [13:39:15]MH_Cut [13:39:15]Write to MH i2c: D1 01 00 EF 13 01 D4 [13:39:15]Write i2c OK [13:39:15]MH_I2C_Read... [13:39:15]Read from MH i2c: D1 [13:39:15]MH_I2C_Read... [13:39:15]Read from MH i2c: D1 01 00 [13:39:15]MH_I2C_Read... [13:39:15]Read from MH i2c: D1 01 00 EF 13 00 D3 [13:39:15]Write to MH i2c: 01 00 00 F0 13 03 [13:39:15]Write i2c OK [13:39:15]MH_I2C_Read... [13:39:15]OFD Sender: No OFD packet to send [13:39:16]*** Cut start [13:39:16]*** Partial cut [13:39:16]*** CUTSNS_PIN = 1 [13:39:16]*** CUTSNS_PIN = 0 [13:39:16]*** Brake cut motor [13:39:16]Read from MH i2c: 01 [13:39:16]MH_I2C_Read... [13:39:16]*** Stop cut motor [13:39:16]*** Cut end [13:39:16]Read from MH i2c: 01 07 00 [13:39:16]MH_I2C_Read... [13:39:16]Read from MH i2c: 01 07 00 F0 13 00 00 00 00 00 FF 0F 18 [13:39:16]process_action close_receipt done [13:39:16]requested_data is exist [13:39:16]produce_requested_data [13:39:16]requested_item fm.sn is exist - process it [13:39:16]wFMCommunicate request_size=4 [13:39:16]MH_SAM_APDU [13:39:16]CAPDU: 80 11 00 00 [13:39:16]Write to MH i2c: E2 08 00 F1 13 80 11 00 00 00 00 00 00 7E [13:39:16]Write i2c OK [13:39:16]MH_I2C_Read... [13:39:16]Read from MH i2c: E2 [13:39:16]MH_I2C_Read... [13:39:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:39:16]Read from MH i2c: E2 17 00 [13:39:16]MH_I2C_Read... [13:39:16]Read from MH i2c: E2 17 00 F1 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 D7 [13:39:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [13:39:16]wFMCommunicate OK [13:39:16]requested_item fd.num is exist - process it [13:39:16]SAM_PROTO_GetFieldsCounters [13:39:16]wFMCommunicate request_size=4 [13:39:16]MH_SAM_APDU [13:39:16]CAPDU: 80 13 00 00 [13:39:16]Write to MH i2c: E2 08 00 F2 13 80 13 00 00 00 00 00 00 81 [13:39:16]Write i2c OK [13:39:16]MH_I2C_Read... [13:39:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:39:17]Read from MH i2c: E2 [13:39:17]MH_I2C_Read... [13:39:17]Read from MH i2c: E2 62 00 [13:39:17]MH_I2C_Read... [13:39:17]Read from MH i2c: E2 62 00 F2 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 A9 69 00 00 0E 04 04 00 B1 01 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 BE [13:39:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 A9 69 00 00 0E 04 04 00 B1 01 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 [13:39:17]wFMCommunicate OK [13:39:17]SAM_PROTO_GetFieldsCounters done [13:39:17]requested_item shift.num is exist - process it [13:39:17]requested_item shift.opened is exist - process it [13:39:17]req_shift_opened [13:39:17]FM_GetShiftState [13:39:17]SAM_PROTO_GetShiftState [13:39:17]wFMCommunicate request_size=4 [13:39:17]MH_SAM_APDU [13:39:17]CAPDU: 80 13 01 00 [13:39:17]Write to MH i2c: E2 08 00 F3 13 80 13 01 00 00 00 00 00 83 [13:39:17]Write i2c OK [13:39:17]MH_I2C_Read... [13:39:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:39:17]Read from MH i2c: E2 [13:39:17]MH_I2C_Read... [13:39:17]Read from MH i2c: E2 0E 00 [13:39:17]MH_I2C_Read... [13:39:17]Read from MH i2c: E2 0E 00 F3 13 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 AB [13:39:17]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [13:39:17]wFMCommunicate OK [13:39:17]SAM_PROTO_GetShiftState done [13:39:17]FM_GetShiftState done [13:39:17]req_shift_opened done [13:39:17]requested_item shift.open_date is exist - process it [13:39:17]req_shift_open_date [13:39:17]req_shift_open_date done [13:39:17]produce_requested_data done [13:39:17]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27049,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [13:39:17]process_action_free close_receipt [13:39:17]json_value_free [13:39:17]json_value_free done [13:39:17]process_json_proto returns [13:39:17]Send response to host [13:39:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27049,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [13:39:17]free response buf [13:39:17]execute_script done [13:39:17]execute_script returns [13:39:17]free content buf [13:39:17]Sock 7.Close socket [13:39:17]Sock 7.Thread stoped [13:39:20]OFD Sender: No OFD packet to send [13:39:25]OFD Sender: No OFD packet to send [13:39:30]OFD Sender: No OFD packet to send [13:39:35]OFD Sender: No OFD packet to send [13:39:40]OFD Sender: No OFD packet to send [13:39:45]OFD Sender: No OFD packet to send [13:39:50]OFD Sender: No OFD packet to send [13:39:55]OFD Sender: No OFD packet to send [13:39:58]accept exits with 9 [13:39:58]New connection [13:39:58]New thread 3067530596 created [13:39:58]Thread 3067387236 joined [13:39:58]Waiting for new connection... [13:39:58] Sock 9.Parse request [13:39:58]Sock 9.Check first char [13:39:58]Sock 9.First char is OK [13:39:58]request: POST /json_proto HTTP/1.0 [13:39:58]Method: POST [13:39:58]URL: /json_proto [13:39:58]Method is POST - this is cgi request [13:39:58]url: /json_proto [13:39:58]query_string will be loaded in cgi processing [13:39:58]execute_cgi json_proto POST (null) [13:39:58]execute_cgi path=json_proto method=POST [13:39:58]POST find Content-Length [13:39:58]Host: 172.17.45.8:8080 [13:39:58]Content-Length: 689 [13:39:58]Content-Type: application/json [13:39:58] [13:39:58]POST finish read [13:39:58]Found Content-Length = 689 [13:39:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150448", "tax_sys" : 0, "items" : [ { "code": "4603290004824", "name": "\u041F\u0435\u0447 \u0437\u0430\u0442 \u042F\u0448\u043A\u0438\u043D\u043E \u0441\u043B\u0438\u0432 \u041A\u0440\u0435\u043C 182\u0433", "price" : 81.00, "quantity" : 1.000, "sum" : 81.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 81.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:39:58]execute_script... [13:39: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)150448", "tax_sys" : 0, "items" : [ { "code": "4603290004824", "name": "\u041F\u0435\u0447 \u0437\u0430\u0442 \u042F\u0448\u043A\u0438\u043D\u043E \u0441\u043B\u0438\u0432 \u041A\u0440\u0435\u043C 182\u0433", "price" : 81.00, "quantity" : 1.000, "sum" : 81.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 81.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:39:58]POST & json_proto [13:39:58]process_json_proto [13:39:58]json parsed OK: [13:39:58]protocol is kg_v1.0 [13:39:58]action value=close_receipt [13:39:58]process_action close_receipt [13:39:58]cmd_close_receipt [13:39:58]MH_GetDate [13:39:58]Write to MH i2c: F0 00 00 F4 13 F6 [13:39:58]Write i2c OK [13:39:58]MH_I2C_Read... [13:39:58]Read from MH i2c: F0 [13:39:58]MH_I2C_Read... [13:39:58]Read from MH i2c: F0 09 00 [13:39:58]MH_I2C_Read... [13:39:58]Read from MH i2c: F0 09 00 F4 13 00 33 4A A6 66 A6 1F 7F 64 30 [13:39:58]GetLastDocTimeStamp 1722173957 [13:39:58]current date 1722174003 [13:39:58]FM_GetShiftState [13:39:58]SAM_PROTO_GetShiftState [13:39:58]wFMCommunicate request_size=4 [13:39:58]MH_SAM_APDU [13:39:58]CAPDU: 80 13 01 00 [13:39:58]Write to MH i2c: E2 08 00 F5 13 80 13 01 00 00 00 00 00 85 [13:39:58]Write i2c OK [13:39:58]MH_I2C_Read... [13:39:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:39:59]Read from MH i2c: E2 [13:39:59]MH_I2C_Read... [13:39:59]Read from MH i2c: E2 0E 00 [13:39:59]MH_I2C_Read... [13:39:59]Read from MH i2c: E2 0E 00 F5 13 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 AD [13:39:59]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [13:39:59]wFMCommunicate OK [13:39:59]SAM_PROTO_GetShiftState done [13:39:59]FM_GetShiftState done [13:39:59]opened in 1722127230 [13:39:59]opened+sec_in_day 1722213630 [13:39:59]quantity*price = 8100 [13:39:59]sum+1 = 8101 [13:39:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 81.00 НСП 1% : 0.72 НДС 12% : 8.60 Наличными: 81.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 28 28.07.2024 13:40 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27050 ФПД: 123400552597994 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T134003&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27050&fm=123400552597994&tin=02508201610067®Number=0000000000092663&sum=8100 0 [13:40:00]StoreToDocumentArchive [13:40:00]shift 433 fd 27050 [13:40:00]save to /storage/0433/doc_00027050 [13:40:00]save last doc name /storage/0433/doc_00027050 to /storage/kkm_last_doc_name [13:40:00]save OK [13:40:00]Clear old archive folders... [13:40:00]ProcessDocumentItem done err = 0, tmpTLVsize=292 [13:40:00]tlvbuf is 01651020 [13:40:00]SAM_PROTO_ClearQueue [13:40:00]wFMCommunicate request_size=4 [13:40:00]MH_SAM_APDU [13:40:00]CAPDU: 80 09 00 00 [13:40:00]Write to MH i2c: E2 08 00 02 14 80 09 00 00 00 00 00 00 88 [13:40:00]Write i2c OK [13:40:00]MH_I2C_Read... [13:40:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:40:00]Read from MH i2c: E2 [13:40:00]MH_I2C_Read... [13:40:00]Read from MH i2c: E2 03 00 [13:40:00]MH_I2C_Read... [13:40:00]Read from MH i2c: E2 03 00 02 14 00 90 00 8A [13:40:00]RAPDU: 90 00 [13:40:00]wFMCommunicate OK [13:40:00]SAM_PROTO_ClearQueue done [13:40:00]KKMCreateOFDPacket [13:40:00]OFDProtocolAddRootSTLVToBuf [13:40:00]FM_MakeSignedData [13:40:00]FM_MakeSignedData [13:40:00]SAM_PROTO_SignData [13:40:00]wFMCommunicate request_size=4 [13:40:00]MH_SAM_APDU [13:40:00]CAPDU: 80 0D 01 02 [13:40:00]Write to MH i2c: E2 08 00 03 14 80 0D 01 02 00 00 00 00 90 [13:40:00]Write i2c OK [13:40:00]MH_I2C_Read... [13:40:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:40:00]Read from MH i2c: E2 [13:40:00]MH_I2C_Read... [13:40:00]Read from MH i2c: E2 03 00 [13:40:00]MH_I2C_Read... [13:40:00]Read from MH i2c: E2 03 00 03 14 00 90 00 8B [13:40:00]RAPDU: 90 00 [13:40:00]wFMCommunicate OK [13:40:00]wFMCommunicate request_size=255 [13:40:00]MH_SAM_APDU [13:40:00]CAPDU: 80 0D 02 02 FA 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 32 34 06 04 32 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5C 03 00 00 00 00 07 04 06 00 A4 1F 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 33 4A A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 [13:40:00]Write to MH i2c: E2 02 01 04 14 80 0D 02 02 FA 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 32 34 06 04 32 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5C 03 00 00 00 00 07 04 06 00 A4 1F 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 33 4A A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 00 00 1E [13:40:00]Write i2c OK [13:40:00]MH_I2C_Read... [13:40:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:40:00]Read from MH i2c: E2 [13:40:00]MH_I2C_Read... [13:40:00]Read from MH i2c: E2 03 00 [13:40:00]MH_I2C_Read... [13:40:00]Read from MH i2c: E2 03 00 04 14 00 90 00 8C [13:40:00]RAPDU: 90 00 [13:40:00]wFMCommunicate OK [13:40:00]wFMCommunicate request_size=51 [13:40:00]MH_SAM_APDU [13:40:00]CAPDU: 80 0D 02 02 2E 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AA 69 00 00 35 04 06 00 70 3B 6E 1A 49 EA [13:40:00]Write to MH i2c: E2 36 00 05 14 80 0D 02 02 2E 00 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AA 69 00 00 35 04 06 00 70 3B 6E 1A 49 EA 00 00 A4 [13:40:00]Write i2c OK [13:40:00]MH_I2C_Read... [13:40:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:40:00]Read from MH i2c: E2 [13:40:00]MH_I2C_Read... [13:40:00]Read from MH i2c: E2 03 00 [13:40:00]MH_I2C_Read... [13:40:00]Read from MH i2c: E2 03 00 05 14 00 90 00 8D [13:40:00]RAPDU: 90 00 [13:40:00]wFMCommunicate OK [13:40:00]wFMCommunicate request_size=4 [13:40:00]MH_SAM_APDU [13:40:00]CAPDU: 80 0D 03 02 [13:40:00]Write to MH i2c: E2 08 00 06 14 80 0D 03 02 00 00 00 00 95 [13:40:00]Write i2c OK [13:40:00]MH_I2C_Read... [13:40:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:40:00]Read from MH i2c: E2 [13:40:00]MH_I2C_Read... [13:40:00]Read from MH i2c: E2 0B 00 [13:40:00]MH_I2C_Read... [13:40:00]Read from MH i2c: E2 0B 00 06 14 00 17 E5 7B CC 01 67 9F 87 90 00 67 [13:40:00]RAPDU: 17 E5 7B CC 01 67 9F 87 90 00 [13:40:00]wFMCommunicate OK [13:40:00]SAM_PROTO_SignData done [13:40:00]FM_MakeSignedData done [13:40:00]CreateOFDProtocolMessage [13:40:00]wFMCommunicate request_size=4 [13:40:00]MH_SAM_APDU [13:40:00]CAPDU: 80 11 00 00 [13:40:00]Write to MH i2c: E2 08 00 07 14 80 11 00 00 00 00 00 00 95 [13:40:00]Write i2c OK [13:40:00]MH_I2C_Read... [13:40:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:40:00]Read from MH i2c: E2 [13:40:00]MH_I2C_Read... [13:40:00]Read from MH i2c: E2 17 00 [13:40:00]MH_I2C_Read... [13:40:00]Read from MH i2c: E2 17 00 07 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 EE [13:40:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [13:40:00]wFMCommunicate OK [13:40:00]CreateOFDProtocolMessage done [13:40:00]OFDSenderStorePacket 27050 [13:40:00]StoreOFDPacket docnum=27050 [13:40:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 38 01 00 00 44 3E 30 01 7D 29 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 32 34 06 04 32 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5C 03 00 00 00 00 07 04 06 00 A4 1F 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 33 4A A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AA 69 00 00 35 04 06 00 70 3B 6E 1A 49 EA 17 E5 7B CC 01 67 9F 87 [13:40:00]CheckFolder [13:40:00]dirname=/storage/ofd_packets [13:40:00]CheckFolder done [13:40:00]ProducePacketName [13:40:00]name=ofd_packets/00027050 [13:40:00]NVStorageSaveData ofd_packets/00027050 [13:40:00]File name is /storage/ofd_packets/00027050 [13:40:00]Write 342 bytes [13:40:00]NVStorageSaveData done [13:40:00]OFDSenderStorePacket done [13:40:00]KKMCreateOFDPacket done [13:40:00]NVStorageSaveData kkm_last_timestamp [13:40:00]File name is /storage/kkm_last_timestamp [13:40:00]Write 4 bytes [13:40:00]NVStorageSaveData done [13:40:00]ExternCall_PrintAddStr [13:40:00]wPrintStart [13:40:00]Write to MH i2c: 01 00 00 08 14 1C [13:40:00]Write i2c OK [13:40:00]MH_I2C_Read... [13:40:00]Read from MH i2c: 01 [13:40:00]MH_I2C_Read... [13:40:00]Read from MH i2c: 01 07 00 [13:40:00]MH_I2C_Read... [13:40:00]Read from MH i2c: 01 07 00 08 14 00 00 00 00 00 FF 0F 31 [13:40:00]RasterBufferAndPrint [13:40:00]line Счет N : (3)150448 [13:40:00]line ИНН: 02508201610067 [13:40:00]line Контрольно-Кассовый Чек [13:40:00]line ПРОДАЖА [13:40:00]line Товар: 4603290004824 [13:40:00]line Печ зат Яшкино слив Крем 182г [13:40:00]line 1.000 * 81.00 [13:40:00]line = 81.00 [13:40:00]line НДС 12% НСП 1% [13:40:00]line > о реализуемом товаре [13:40:00]line ИТОГО: 81.00 [13:40:00]line НСП 1% : 0.72 [13:40:00]line НДС 12% : 8.60 [13:40:00]line Наличными: 81.00 [13:40:00]line Безнал.: 0.00 [13:40:00]line Место: АЗС № 134 "Партнер Нефть" [13:40:00]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [13:40:00]line СНО: Общий режим [13:40:00]line Чек 28 28.07.2024 13:40 [13:40:00]line Смена: 433 ФФД: 1.0 [13:40:00]line ЗНМ: 0300000043 [13:40:00]line РНМ: 0000000000092663 [13:40:00]line Версия ККМ: 001 [13:40:00]line ФМ: 0000000000874937 [13:40:00]line ФД: 27050 [13:40:00]line ФПД: 123400552597994 [13:40:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T134003&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27050&fm=123400552597994&tin=02508201610067®Number=0000000000092663&sum=8100 [13:40:00]line 0 [13:40:01]written 0, free lines is 4095 [13:40:01]OFD Sender: Processing packet 27050 [packets to send 9, broken 8] [13:40:01]ProducePacketName [13:40:01]name=ofd_packets/00027050 [13:40:01]OFD Sender: To server: pG, [13:40:01]CommunicateWithHost lk.salyk.kg:30040 [13:40:01]ConnectInit lk.salyk.kg [13:40:01]Connected sock=10 [13:40:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 38 01 00 00 44 3E 30 01 7D 29 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 32 34 06 04 32 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5C 03 00 00 00 00 07 04 06 00 A4 1F 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 33 4A A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AA 69 00 00 35 04 06 00 70 3B 6E 1A 49 EA 17 E5 7B CC 01 67 9F 87 [13:40:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 31 5E 47 00 1A 87 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 38 37 34 39 33 37 10 04 04 00 AA 69 00 00 F4 03 04 00 87 F0 A5 66 B6 04 01 00 00 5C ED 67 94 5C E2 C7 21 [13:40:01]CommunicateWithHost err = 0 [13:40:01]CheckOFDResponse [13:40:01]1017 (14) - 77093643461234 [13:40:01]1041 (16) - 0000000000874937 [13:40:01]1040 (4) - 27050 [13:40:01]1012 (4) - 28.07.2024 07:17 [13:40:01]1206 (1) - 0 [13:40:01]OFD Sender: Remove packet 27050 [13:40:01]ProducePacketName [13:40:01]name=ofd_packets/00027050 [13:40:01]NVStorageDeleteData [13:40:01]Write to MH i2c: 01 00 00 30 14 44 [13:40:01]Write i2c OK [13:40:01]MH_I2C_Read... [13:40:01]Read from MH i2c: 01 [13:40:01]MH_I2C_Read... [13:40:01]Read from MH i2c: 01 07 00 [13:40:01]MH_I2C_Read... [13:40:01]Read from MH i2c: 01 07 00 30 14 00 00 00 00 00 DA 0C 31 [13:40:01]RasterBufferAndPrint [13:40:01]line [13:40:01]line [13:40:01]line [13:40:01]line [13:40:01]line [13:40:01]written 0, free lines is 3297 [13:40:01]MH_Cut [13:40:01]Write to MH i2c: D1 01 00 37 14 01 1D [13:40:01]Write i2c OK [13:40:01]MH_I2C_Read... [13:40:01]Read from MH i2c: D1 [13:40:01]MH_I2C_Read... [13:40:01]Read from MH i2c: D1 01 00 [13:40:01]MH_I2C_Read... [13:40:01]Read from MH i2c: D1 01 00 37 14 00 1C [13:40:01]Write to MH i2c: 01 00 00 38 14 4C [13:40:01]Write i2c OK [13:40:01]MH_I2C_Read... [13:40:01]OFD Sender: No OFD packet to send [13:40:02]*** Cut start [13:40:02]*** Partial cut [13:40:02]*** CUTSNS_PIN = 1 [13:40:02]*** CUTSNS_PIN = 0 [13:40:02]*** Brake cut motor [13:40:02]Read from MH i2c: 01 [13:40:02]MH_I2C_Read... [13:40:02]*** Stop cut motor [13:40:02]*** Cut end [13:40:02]Read from MH i2c: 01 07 00 [13:40:02]MH_I2C_Read... [13:40:02]Read from MH i2c: 01 07 00 38 14 00 00 00 00 00 FF 0F 61 [13:40:02]process_action close_receipt done [13:40:02]requested_data is exist [13:40:02]produce_requested_data [13:40:02]requested_item fm.sn is exist - process it [13:40:02]wFMCommunicate request_size=4 [13:40:02]MH_SAM_APDU [13:40:02]CAPDU: 80 11 00 00 [13:40:02]Write to MH i2c: E2 08 00 39 14 80 11 00 00 00 00 00 00 C7 [13:40:02]Write i2c OK [13:40:02]MH_I2C_Read... [13:40:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:40:02]Read from MH i2c: E2 [13:40:02]MH_I2C_Read... [13:40:02]Read from MH i2c: E2 17 00 [13:40:02]MH_I2C_Read... [13:40:02]Read from MH i2c: E2 17 00 39 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 20 [13:40:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [13:40:02]wFMCommunicate OK [13:40:02]requested_item fd.num is exist - process it [13:40:02]SAM_PROTO_GetFieldsCounters [13:40:02]wFMCommunicate request_size=4 [13:40:02]MH_SAM_APDU [13:40:02]CAPDU: 80 13 00 00 [13:40:02]Write to MH i2c: E2 08 00 3A 14 80 13 00 00 00 00 00 00 CA [13:40:02]Write i2c OK [13:40:02]MH_I2C_Read... [13:40:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:40:03]Read from MH i2c: E2 [13:40:03]MH_I2C_Read... [13:40:03]Read from MH i2c: E2 62 00 [13:40:03]MH_I2C_Read... [13:40:03]Read from MH i2c: E2 62 00 3A 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 AA 69 00 00 0E 04 04 00 B1 01 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 0B [13:40:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 AA 69 00 00 0E 04 04 00 B1 01 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 [13:40:03]wFMCommunicate OK [13:40:03]SAM_PROTO_GetFieldsCounters done [13:40:03]requested_item shift.num is exist - process it [13:40:03]requested_item shift.opened is exist - process it [13:40:03]req_shift_opened [13:40:03]FM_GetShiftState [13:40:03]SAM_PROTO_GetShiftState [13:40:03]wFMCommunicate request_size=4 [13:40:03]MH_SAM_APDU [13:40:03]CAPDU: 80 13 01 00 [13:40:03]Write to MH i2c: E2 08 00 3B 14 80 13 01 00 00 00 00 00 CC [13:40:03]Write i2c OK [13:40:03]MH_I2C_Read... [13:40:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:40:03]Read from MH i2c: E2 [13:40:03]MH_I2C_Read... [13:40:03]Read from MH i2c: E2 0E 00 [13:40:03]MH_I2C_Read... [13:40:03]Read from MH i2c: E2 0E 00 3B 14 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 F4 [13:40:03]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [13:40:03]wFMCommunicate OK [13:40:03]SAM_PROTO_GetShiftState done [13:40:03]FM_GetShiftState done [13:40:03]req_shift_opened done [13:40:03]requested_item shift.open_date is exist - process it [13:40:03]req_shift_open_date [13:40:03]req_shift_open_date done [13:40:03]produce_requested_data done [13:40:03]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27050,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [13:40:03]process_action_free close_receipt [13:40:03]json_value_free [13:40:03]json_value_free done [13:40:03]process_json_proto returns [13:40:03]Send response to host [13:40:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27050,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [13:40:03]free response buf [13:40:03]execute_script done [13:40:03]execute_script returns [13:40:03]free content buf [13:40:03]Sock 9.Close socket [13:40:03]Sock 9.Thread stoped [13:40:06]OFD Sender: No OFD packet to send [13:40:11]OFD Sender: No OFD packet to send [13:40:16]OFD Sender: No OFD packet to send [13:40:21]OFD Sender: No OFD packet to send [13:40:26]OFD Sender: No OFD packet to send [13:40:31]OFD Sender: No OFD packet to send [13:40:36]OFD Sender: No OFD packet to send [13:40:36]accept exits with 7 [13:40:36]New connection [13:40:36]New thread 3067387236 created [13:40:36]Thread 3067530596 joined [13:40:36]Waiting for new connection... [13:40:36] Sock 7.Parse request [13:40:36]Sock 7.Check first char [13:40:36]Sock 7.First char is OK [13:40:36]request: POST /json_proto HTTP/1.0 [13:40:36]Method: POST [13:40:36]URL: /json_proto [13:40:36]Method is POST - this is cgi request [13:40:36]url: /json_proto [13:40:36]query_string will be loaded in cgi processing [13:40:36]execute_cgi json_proto POST (null) [13:40:36]execute_cgi path=json_proto method=POST [13:40:36]POST find Content-Length [13:40:36]Host: 172.17.45.8:8080 [13:40:36]Content-Length: 639 [13:40:36]Content-Type: application/json [13:40:36] [13:40:36]POST finish read [13:40:36]Found Content-Length = 639 [13:40:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150449", "tax_sys" : 0, "items" : [ { "code": "4870001157913", "name": "\u0412\u043E\u0434\u0430 ASU 0,5\u043B c \u0431\u0435\u0437 \u0433\u0430\u0437\u0430", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:40:36]execute_script... [13:40: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)150449", "tax_sys" : 0, "items" : [ { "code": "4870001157913", "name": "\u0412\u043E\u0434\u0430 ASU 0,5\u043B c \u0431\u0435\u0437 \u0433\u0430\u0437\u0430", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:40:36]POST & json_proto [13:40:36]process_json_proto [13:40:36]json parsed OK: [13:40:36]protocol is kg_v1.0 [13:40:36]action value=close_receipt [13:40:36]process_action close_receipt [13:40:36]cmd_close_receipt [13:40:36]MH_GetDate [13:40:36]Write to MH i2c: F0 00 00 3C 14 3F [13:40:36]Write i2c OK [13:40:36]MH_I2C_Read... [13:40:36]Read from MH i2c: F0 [13:40:36]MH_I2C_Read... [13:40:36]Read from MH i2c: F0 09 00 [13:40:36]MH_I2C_Read... [13:40:36]Read from MH i2c: F0 09 00 3C 14 00 59 4A A6 66 A6 1F 7F 64 9F [13:40:36]GetLastDocTimeStamp 1722174003 [13:40:36]current date 1722174041 [13:40:36]FM_GetShiftState [13:40:36]SAM_PROTO_GetShiftState [13:40:36]wFMCommunicate request_size=4 [13:40:36]MH_SAM_APDU [13:40:36]CAPDU: 80 13 01 00 [13:40:36]Write to MH i2c: E2 08 00 3D 14 80 13 01 00 00 00 00 00 CE [13:40:36]Write i2c OK [13:40:36]MH_I2C_Read... [13:40:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:40:37]Read from MH i2c: E2 [13:40:37]MH_I2C_Read... [13:40:37]Read from MH i2c: E2 0E 00 [13:40:37]MH_I2C_Read... [13:40:37]Read from MH i2c: E2 0E 00 3D 14 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 F6 [13:40:37]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [13:40:37]wFMCommunicate OK [13:40:37]SAM_PROTO_GetShiftState done [13:40:37]FM_GetShiftState done [13:40:37]opened in 1722127230 [13:40:37]opened+sec_in_day 1722213630 [13:40:37]quantity*price = 8000 [13:40:37]sum+1 = 8001 [13:40:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 29 28.07.2024 13:40 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27051 ФПД: 62927728668594 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T134041&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27051&fm=62927728668594&tin=02508201610067®Number=0000000000092663&sum=8000 0 [13:40:38]StoreToDocumentArchive [13:40:38]shift 433 fd 27051 [13:40:38]save to /storage/0433/doc_00027051 [13:40:38]save last doc name /storage/0433/doc_00027051 to /storage/kkm_last_doc_name [13:40:38]save OK [13:40:38]Clear old archive folders... [13:40:38]ProcessDocumentItem done err = 0, tmpTLVsize=278 [13:40:38]tlvbuf is 01811190 [13:40:38]SAM_PROTO_ClearQueue [13:40:38]wFMCommunicate request_size=4 [13:40:38]MH_SAM_APDU [13:40:38]CAPDU: 80 09 00 00 [13:40:38]Write to MH i2c: E2 08 00 4A 14 80 09 00 00 00 00 00 00 D0 [13:40:38]Write i2c OK [13:40:38]MH_I2C_Read... [13:40:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:40:38]Read from MH i2c: E2 [13:40:38]MH_I2C_Read... [13:40:38]Read from MH i2c: E2 03 00 [13:40:38]MH_I2C_Read... [13:40:38]Read from MH i2c: E2 03 00 4A 14 00 90 00 D2 [13:40:38]RAPDU: 90 00 [13:40:38]wFMCommunicate OK [13:40:38]SAM_PROTO_ClearQueue done [13:40:38]KKMCreateOFDPacket [13:40:38]OFDProtocolAddRootSTLVToBuf [13:40:38]FM_MakeSignedData [13:40:38]FM_MakeSignedData [13:40:38]SAM_PROTO_SignData [13:40:38]wFMCommunicate request_size=4 [13:40:38]MH_SAM_APDU [13:40:38]CAPDU: 80 0D 01 02 [13:40:38]Write to MH i2c: E2 08 00 4B 14 80 0D 01 02 00 00 00 00 D8 [13:40:38]Write i2c OK [13:40:38]MH_I2C_Read... [13:40:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:40:38]Read from MH i2c: E2 [13:40:38]MH_I2C_Read... [13:40:38]Read from MH i2c: E2 03 00 [13:40:38]MH_I2C_Read... [13:40:38]Read from MH i2c: E2 03 00 4B 14 00 90 00 D3 [13:40:38]RAPDU: 90 00 [13:40:38]wFMCommunicate OK [13:40:38]wFMCommunicate request_size=255 [13:40:38]MH_SAM_APDU [13:40:38]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 37 39 31 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 30 2C 35 D0 BB 20 63 20 D0 B1 D0 B5 D0 B7 20 D0 B3 D0 B0 D0 B7 D0 B0 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 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 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 59 4A A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 [13:40:38]Write to MH i2c: E2 02 01 4C 14 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 37 39 31 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 30 2C 35 D0 BB 20 63 20 D0 B1 D0 B5 D0 B7 20 D0 B3 D0 B0 D0 B7 D0 B0 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 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 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 59 4A A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 00 00 9E [13:40:38]Write i2c OK [13:40:38]MH_I2C_Read... [13:40:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:40:38]Read from MH i2c: E2 [13:40:38]MH_I2C_Read... [13:40:38]Read from MH i2c: E2 03 00 [13:40:38]MH_I2C_Read... [13:40:38]Read from MH i2c: E2 03 00 4C 14 00 90 00 D4 [13:40:38]RAPDU: 90 00 [13:40:38]wFMCommunicate OK [13:40:38]wFMCommunicate request_size=37 [13:40:38]MH_SAM_APDU [13:40:38]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AB 69 00 00 35 04 06 00 39 3B 80 E9 EF B2 [13:40:38]Write to MH i2c: E2 28 00 4D 14 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AB 69 00 00 35 04 06 00 39 3B 80 E9 EF B2 00 00 CA [13:40:38]Write i2c OK [13:40:38]MH_I2C_Read... [13:40:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:40:38]Read from MH i2c: E2 [13:40:38]MH_I2C_Read... [13:40:38]Read from MH i2c: E2 03 00 [13:40:38]MH_I2C_Read... [13:40:38]Read from MH i2c: E2 03 00 4D 14 00 90 00 D5 [13:40:38]RAPDU: 90 00 [13:40:38]wFMCommunicate OK [13:40:38]wFMCommunicate request_size=4 [13:40:38]MH_SAM_APDU [13:40:38]CAPDU: 80 0D 03 02 [13:40:38]Write to MH i2c: E2 08 00 4E 14 80 0D 03 02 00 00 00 00 DD [13:40:38]Write i2c OK [13:40:38]MH_I2C_Read... [13:40:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:40:38]Read from MH i2c: E2 [13:40:38]MH_I2C_Read... [13:40:38]Read from MH i2c: E2 0B 00 [13:40:38]MH_I2C_Read... [13:40:38]Read from MH i2c: E2 0B 00 4E 14 00 87 22 9C 5A 32 8E FB E2 90 00 1A [13:40:38]RAPDU: 87 22 9C 5A 32 8E FB E2 90 00 [13:40:38]wFMCommunicate OK [13:40:38]SAM_PROTO_SignData done [13:40:38]FM_MakeSignedData done [13:40:38]CreateOFDProtocolMessage [13:40:38]wFMCommunicate request_size=4 [13:40:38]MH_SAM_APDU [13:40:38]CAPDU: 80 11 00 00 [13:40:38]Write to MH i2c: E2 08 00 4F 14 80 11 00 00 00 00 00 00 DD [13:40:38]Write i2c OK [13:40:38]MH_I2C_Read... [13:40:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:40:38]Read from MH i2c: E2 [13:40:38]MH_I2C_Read... [13:40:38]Read from MH i2c: E2 17 00 [13:40:38]MH_I2C_Read... [13:40:38]Read from MH i2c: E2 17 00 4F 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 36 [13:40:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [13:40:38]wFMCommunicate OK [13:40:38]CreateOFDProtocolMessage done [13:40:38]OFDSenderStorePacket 27051 [13:40:38]StoreOFDPacket docnum=27051 [13:40:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 2A 01 00 00 7A 3F 22 01 76 82 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 37 39 31 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 30 2C 35 D0 BB 20 63 20 D0 B1 D0 B5 D0 B7 20 D0 B3 D0 B0 D0 B7 D0 B0 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 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 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 59 4A A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AB 69 00 00 35 04 06 00 39 3B 80 E9 EF B2 87 22 9C 5A 32 8E FB E2 [13:40:38]CheckFolder [13:40:38]dirname=/storage/ofd_packets [13:40:38]CheckFolder done [13:40:38]ProducePacketName [13:40:38]name=ofd_packets/00027051 [13:40:38]NVStorageSaveData ofd_packets/00027051 [13:40:38]File name is /storage/ofd_packets/00027051 [13:40:38]Write 328 bytes [13:40:38]NVStorageSaveData done [13:40:38]OFDSenderStorePacket done [13:40:38]KKMCreateOFDPacket done [13:40:38]NVStorageSaveData kkm_last_timestamp [13:40:38]File name is /storage/kkm_last_timestamp [13:40:38]Write 4 bytes [13:40:38]NVStorageSaveData done [13:40:38]ExternCall_PrintAddStr [13:40:38]wPrintStart [13:40:38]Write to MH i2c: 01 00 00 50 14 64 [13:40:38]Write i2c OK [13:40:38]MH_I2C_Read... [13:40:38]Read from MH i2c: 01 [13:40:38]MH_I2C_Read... [13:40:38]Read from MH i2c: 01 07 00 [13:40:38]MH_I2C_Read... [13:40:38]Read from MH i2c: 01 07 00 50 14 00 00 00 00 00 FF 0F 79 [13:40:38]RasterBufferAndPrint [13:40:38]line Счет N : (3)150449 [13:40:38]line ИНН: 02508201610067 [13:40:38]line Контрольно-Кассовый Чек [13:40:38]line ПРОДАЖА [13:40:38]line Товар: 4870001157913 [13:40:38]line Вода ASU 0,5л c без газа [13:40:38]line 2.000 * 40.00 [13:40:38]line = 80.00 [13:40:38]line НДС 12% НСП 1% [13:40:38]line > о реализуемом товаре [13:40:38]line ИТОГО: 80.00 [13:40:38]line НСП 1% : 0.71 [13:40:38]line НДС 12% : 8.50 [13:40:38]line Наличными: 80.00 [13:40:38]line Безнал.: 0.00 [13:40:38]line Место: АЗС № 134 "Партнер Нефть" [13:40:38]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [13:40:38]line СНО: Общий режим [13:40:38]line Чек 29 28.07.2024 13:40 [13:40:38]line Смена: 433 ФФД: 1.0 [13:40:38]line ЗНМ: 0300000043 [13:40:38]line РНМ: 0000000000092663 [13:40:38]line Версия ККМ: 001 [13:40:38]line ФМ: 0000000000874937 [13:40:38]line ФД: 27051 [13:40:38]line ФПД: 62927728668594 [13:40:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T134041&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27051&fm=62927728668594&tin=02508201610067®Number=0000000000092663&sum=8000 [13:40:39]OFD Sender: Processing packet 27051 [packets to send 9, broken 8] [13:40:39]ProducePacketName [13:40:39]name=ofd_packets/00027051 [13:40:39]OFD Sender: To server: pG, [13:40:39]CommunicateWithHost lk.salyk.kg:30040 [13:40:39]ConnectInit lk.salyk.kg [13:40:39]line 0 [13:40:39]written 0, free lines is 4095 [13:40:39]Connected sock=10 [13:40:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 2A 01 00 00 7A 3F 22 01 76 82 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 37 39 31 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 30 2C 35 D0 BB 20 63 20 D0 B1 D0 B5 D0 B7 20 D0 B3 D0 B0 D0 B7 D0 B0 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 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 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 59 4A A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AB 69 00 00 35 04 06 00 39 3B 80 E9 EF B2 87 22 9C 5A 32 8E FB E2 [13:40:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 E1 E2 47 00 87 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 38 37 34 39 33 37 10 04 04 00 AB 69 00 00 F4 03 04 00 AD F0 A5 66 B6 04 01 00 00 EC FA 6B 89 7C A5 DC 07 [13:40:39]CommunicateWithHost err = 0 [13:40:39]CheckOFDResponse [13:40:39]1017 (14) - 77093643461234 [13:40:39]1041 (16) - 0000000000874937 [13:40:39]1040 (4) - 27051 [13:40:39]1012 (4) - 28.07.2024 07:18 [13:40:39]1206 (1) - 0 [13:40:39]OFD Sender: Remove packet 27051 [13:40:39]ProducePacketName [13:40:39]name=ofd_packets/00027051 [13:40:39]NVStorageDeleteData [13:40:39]Write to MH i2c: 01 00 00 77 14 8B [13:40:39]Write i2c OK [13:40:39]MH_I2C_Read... [13:40:39]Read from MH i2c: 01 [13:40:39]MH_I2C_Read... [13:40:39]Read from MH i2c: 01 07 00 [13:40:39]MH_I2C_Read... [13:40:39]Read from MH i2c: 01 07 00 77 14 00 00 00 00 00 F6 0C 94 [13:40:39]RasterBufferAndPrint [13:40:39]line [13:40:39]line [13:40:39]line [13:40:39]line [13:40:39]line [13:40:39]written 0, free lines is 3325 [13:40:39]MH_Cut [13:40:39]Write to MH i2c: D1 01 00 7E 14 01 64 [13:40:39]Write i2c OK [13:40:39]MH_I2C_Read... [13:40:39]Read from MH i2c: D1 [13:40:39]MH_I2C_Read... [13:40:39]Read from MH i2c: D1 01 00 [13:40:39]MH_I2C_Read... [13:40:39]Read from MH i2c: D1 01 00 7E 14 00 63 [13:40:39]Write to MH i2c: 01 00 00 7F 14 93 [13:40:39]Write i2c OK [13:40:39]MH_I2C_Read... [13:40:39]OFD Sender: No OFD packet to send [13:40:40]*** Cut start [13:40:40]*** Partial cut [13:40:40]*** CUTSNS_PIN = 1 [13:40:40]*** CUTSNS_PIN = 0 [13:40:40]*** Brake cut motor [13:40:40]Read from MH i2c: 01 [13:40:40]MH_I2C_Read... [13:40:40]*** Stop cut motor [13:40:40]*** Cut end [13:40:40]Read from MH i2c: 01 07 00 [13:40:40]MH_I2C_Read... [13:40:40]Read from MH i2c: 01 07 00 7F 14 00 00 00 00 00 FF 0F A8 [13:40:40]process_action close_receipt done [13:40:40]requested_data is exist [13:40:40]produce_requested_data [13:40:40]requested_item fm.sn is exist - process it [13:40:40]wFMCommunicate request_size=4 [13:40:40]MH_SAM_APDU [13:40:40]CAPDU: 80 11 00 00 [13:40:40]Write to MH i2c: E2 08 00 80 14 80 11 00 00 00 00 00 00 0E [13:40:40]Write i2c OK [13:40:40]MH_I2C_Read... [13:40:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:40:40]Read from MH i2c: E2 [13:40:40]MH_I2C_Read... [13:40:40]Read from MH i2c: E2 17 00 [13:40:40]MH_I2C_Read... [13:40:40]Read from MH i2c: E2 17 00 80 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 67 [13:40:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [13:40:40]wFMCommunicate OK [13:40:40]requested_item fd.num is exist - process it [13:40:40]SAM_PROTO_GetFieldsCounters [13:40:40]wFMCommunicate request_size=4 [13:40:40]MH_SAM_APDU [13:40:40]CAPDU: 80 13 00 00 [13:40:40]Write to MH i2c: E2 08 00 81 14 80 13 00 00 00 00 00 00 11 [13:40:40]Write i2c OK [13:40:40]MH_I2C_Read... [13:40:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:40:40]Read from MH i2c: E2 [13:40:40]MH_I2C_Read... [13:40:40]Read from MH i2c: E2 62 00 [13:40:40]MH_I2C_Read... [13:40:40]Read from MH i2c: E2 62 00 81 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 AB 69 00 00 0E 04 04 00 B1 01 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 56 [13:40:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 AB 69 00 00 0E 04 04 00 B1 01 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:40:40]wFMCommunicate OK [13:40:40]SAM_PROTO_GetFieldsCounters done [13:40:40]requested_item shift.num is exist - process it [13:40:40]requested_item shift.opened is exist - process it [13:40:40]req_shift_opened [13:40:40]FM_GetShiftState [13:40:40]SAM_PROTO_GetShiftState [13:40:40]wFMCommunicate request_size=4 [13:40:41]MH_SAM_APDU [13:40:41]CAPDU: 80 13 01 00 [13:40:41]Write to MH i2c: E2 08 00 82 14 80 13 01 00 00 00 00 00 13 [13:40:41]Write i2c OK [13:40:41]MH_I2C_Read... [13:40:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:40:41]Read from MH i2c: E2 [13:40:41]MH_I2C_Read... [13:40:41]Read from MH i2c: E2 0E 00 [13:40:41]MH_I2C_Read... [13:40:41]Read from MH i2c: E2 0E 00 82 14 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 3B [13:40:41]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [13:40:41]wFMCommunicate OK [13:40:41]SAM_PROTO_GetShiftState done [13:40:41]FM_GetShiftState done [13:40:41]req_shift_opened done [13:40:41]requested_item shift.open_date is exist - process it [13:40:41]req_shift_open_date [13:40:41]req_shift_open_date done [13:40:41]produce_requested_data done [13:40:41]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27051,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [13:40:41]process_action_free close_receipt [13:40:41]json_value_free [13:40:41]json_value_free done [13:40:41]process_json_proto returns [13:40:41]Send response to host [13:40:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27051,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [13:40:41]free response buf [13:40:41]execute_script done [13:40:41]execute_script returns [13:40:41]free content buf [13:40:41]Sock 7.Close socket [13:40:41]Sock 7.Thread stoped [13:40:44]OFD Sender: No OFD packet to send [13:40:49]OFD Sender: No OFD packet to send [13:40:54]OFD Sender: No OFD packet to send [13:40:59]accept exits with 9 [13:40:59]New connection [13:40:59]New thread 3067530596 created [13:40:59]Thread 3067387236 joined [13:40:59]Waiting for new connection... [13:40:59] Sock 9.Parse request [13:40:59]Sock 9.Check first char [13:40:59]Sock 9.First char is OK [13:40:59]request: POST /json_proto HTTP/1.0 [13:40:59]Method: POST [13:40:59]URL: /json_proto [13:40:59]Method is POST - this is cgi request [13:40:59]url: /json_proto [13:40:59]query_string will be loaded in cgi processing [13:40:59]execute_cgi json_proto POST (null) [13:40:59]execute_cgi path=json_proto method=POST [13:40:59]POST find Content-Length [13:40:59]Host: 172.17.45.8:8080 [13:40:59]Content-Length: 639 [13:40:59]Content-Type: application/json [13:40:59] [13:40:59]POST finish read [13:40:59]Found Content-Length = 639 [13:40:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150450", "tax_sys" : 0, "items" : [ { "code": "4700000160044", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\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" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:40:59]execute_script... [13:40: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)150450", "tax_sys" : 0, "items" : [ { "code": "4700000160044", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\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" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:40:59]POST & json_proto [13:40:59]process_json_proto [13:40:59]json parsed OK: [13:40:59]protocol is kg_v1.0 [13:40:59]action value=close_receipt [13:40:59]process_action close_receipt [13:40:59]cmd_close_receipt [13:40:59]MH_GetDate [13:40:59]Write to MH i2c: F0 00 00 83 14 86 [13:40:59]Write i2c OK [13:40:59]MH_I2C_Read... [13:40:59]Read from MH i2c: F0 [13:40:59]MH_I2C_Read... [13:40:59]Read from MH i2c: F0 09 00 [13:40:59]MH_I2C_Read... [13:40:59]Read from MH i2c: F0 09 00 83 14 00 6F 4A A6 66 A6 1F 7F 64 FC [13:40:59]GetLastDocTimeStamp 1722174041 [13:40:59]current date 1722174063 [13:40:59]FM_GetShiftState [13:40:59]SAM_PROTO_GetShiftState [13:40:59]wFMCommunicate request_size=4 [13:40:59]MH_SAM_APDU [13:40:59]CAPDU: 80 13 01 00 [13:40:59]Write to MH i2c: E2 08 00 84 14 80 13 01 00 00 00 00 00 15 [13:40:59]Write i2c OK [13:40:59]MH_I2C_Read... [13:40:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:40:59]Read from MH i2c: E2 [13:40:59]MH_I2C_Read... [13:40:59]Read from MH i2c: E2 0E 00 [13:40:59]MH_I2C_Read... [13:40:59]Read from MH i2c: E2 0E 00 84 14 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 3D [13:40:59]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [13:40:59]wFMCommunicate OK [13:40:59]SAM_PROTO_GetShiftState done [13:40:59]FM_GetShiftState done [13:40:59]opened in 1722127230 [13:40:59]opened+sec_in_day 1722213630 [13:40:59]quantity*price = 4000 [13:40:59]sum+1 = 4001 [13:40:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 30 28.07.2024 13:41 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27052 ФПД: 240797996265768 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T134103&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27052&fm=240797996265768&tin=02508201610067®Number=0000000000092663&sum=4000 0 [13:41:00]StoreToDocumentArchive [13:41:00]shift 433 fd 27052 [13:41:00]save to /storage/0433/doc_00027052 [13:41:00]save last doc name /storage/0433/doc_00027052 to /storage/kkm_last_doc_name [13:41:00]save OK [13:41:00]Clear old archive folders... [13:41:00]ProcessDocumentItem done err = 0, tmpTLVsize=274 [13:41:00]tlvbuf is 01810ED0 [13:41:00]SAM_PROTO_ClearQueue [13:41:00]wFMCommunicate request_size=4 [13:41:00]MH_SAM_APDU [13:41:00]CAPDU: 80 09 00 00 [13:41:00]Write to MH i2c: E2 08 00 91 14 80 09 00 00 00 00 00 00 17 [13:41:00]Write i2c OK [13:41:00]MH_I2C_Read... [13:41:00]Read from MH i2c: E2 [13:41:00]MH_I2C_Read... [13:41:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:41:00]Read from MH i2c: E2 03 00 [13:41:00]MH_I2C_Read... [13:41:00]Read from MH i2c: E2 03 00 91 14 00 90 00 19 [13:41:00]RAPDU: 90 00 [13:41:00]wFMCommunicate OK [13:41:00]SAM_PROTO_ClearQueue done [13:41:00]KKMCreateOFDPacket [13:41:00]OFDProtocolAddRootSTLVToBuf [13:41:00]FM_MakeSignedData [13:41:00]FM_MakeSignedData [13:41:00]SAM_PROTO_SignData [13:41:00]wFMCommunicate request_size=4 [13:41:00]MH_SAM_APDU [13:41:00]CAPDU: 80 0D 01 02 [13:41:00]Write to MH i2c: E2 08 00 92 14 80 0D 01 02 00 00 00 00 1F [13:41:00]Write i2c OK [13:41:00]MH_I2C_Read... [13:41:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:41:00]Read from MH i2c: E2 [13:41:00]MH_I2C_Read... [13:41:00]Read from MH i2c: E2 03 00 [13:41:00]MH_I2C_Read... [13:41:00]Read from MH i2c: E2 03 00 92 14 00 90 00 1A [13:41:00]RAPDU: 90 00 [13:41:00]wFMCommunicate OK [13:41:00]wFMCommunicate request_size=255 [13:41:00]MH_SAM_APDU [13:41:00]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 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 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 1E 00 00 00 F4 03 04 00 6F 4A A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 [13:41:00]Write to MH i2c: E2 02 01 93 14 80 0D 02 02 FA 00 03 00 12 01 1E 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 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 1E 00 00 00 F4 03 04 00 6F 4A A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 00 00 E6 [13:41:00]Write i2c OK [13:41:00]MH_I2C_Read... [13:41:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:41:00]Read from MH i2c: E2 [13:41:00]MH_I2C_Read... [13:41:00]Read from MH i2c: E2 03 00 [13:41:00]MH_I2C_Read... [13:41:00]Read from MH i2c: E2 03 00 93 14 00 90 00 1B [13:41:00]RAPDU: 90 00 [13:41:00]wFMCommunicate OK [13:41:00]wFMCommunicate request_size=33 [13:41:00]MH_SAM_APDU [13:41:00]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AC 69 00 00 35 04 06 00 DB 01 27 07 B1 28 [13:41:00]Write to MH i2c: E2 24 00 94 14 80 0D 02 02 1C 00 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AC 69 00 00 35 04 06 00 DB 01 27 07 B1 28 00 00 AF [13:41:00]Write i2c OK [13:41:00]MH_I2C_Read... [13:41:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:41:00]Read from MH i2c: E2 [13:41:00]MH_I2C_Read... [13:41:00]Read from MH i2c: E2 03 00 [13:41:00]MH_I2C_Read... [13:41:00]Read from MH i2c: E2 03 00 94 14 00 90 00 1C [13:41:00]RAPDU: 90 00 [13:41:00]wFMCommunicate OK [13:41:00]wFMCommunicate request_size=4 [13:41:00]MH_SAM_APDU [13:41:00]CAPDU: 80 0D 03 02 [13:41:00]Write to MH i2c: E2 08 00 95 14 80 0D 03 02 00 00 00 00 24 [13:41:00]Write i2c OK [13:41:00]MH_I2C_Read... [13:41:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:41:00]Read from MH i2c: E2 [13:41:00]MH_I2C_Read... [13:41:00]Read from MH i2c: E2 0B 00 [13:41:00]MH_I2C_Read... [13:41:00]Read from MH i2c: E2 0B 00 95 14 00 CE 58 69 75 6F 56 25 7F 90 00 92 [13:41:00]RAPDU: CE 58 69 75 6F 56 25 7F 90 00 [13:41:00]wFMCommunicate OK [13:41:00]SAM_PROTO_SignData done [13:41:00]FM_MakeSignedData done [13:41:00]CreateOFDProtocolMessage [13:41:00]wFMCommunicate request_size=4 [13:41:00]MH_SAM_APDU [13:41:00]CAPDU: 80 11 00 00 [13:41:00]Write to MH i2c: E2 08 00 96 14 80 11 00 00 00 00 00 00 24 [13:41:00]Write i2c OK [13:41:00]MH_I2C_Read... [13:41:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:41:00]Read from MH i2c: E2 [13:41:00]MH_I2C_Read... [13:41:00]Read from MH i2c: E2 17 00 [13:41:00]MH_I2C_Read... [13:41:00]Read from MH i2c: E2 17 00 96 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 7D [13:41:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [13:41:00]wFMCommunicate OK [13:41:00]CreateOFDProtocolMessage done [13:41:00]OFDSenderStorePacket 27052 [13:41:00]StoreOFDPacket docnum=27052 [13:41:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 26 01 00 00 8A 33 1E 01 A1 BF 5A 03 01 00 03 00 12 01 1E 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 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 1E 00 00 00 F4 03 04 00 6F 4A A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AC 69 00 00 35 04 06 00 DB 01 27 07 B1 28 CE 58 69 75 6F 56 25 7F [13:41:00]CheckFolder [13:41:00]dirname=/storage/ofd_packets [13:41:00]CheckFolder done [13:41:00]ProducePacketName [13:41:00]name=ofd_packets/00027052 [13:41:00]NVStorageSaveData ofd_packets/00027052 [13:41:00]File name is /storage/ofd_packets/00027052 [13:41:00]Write 324 bytes [13:41:00]NVStorageSaveData done [13:41:00]OFDSenderStorePacket done [13:41:00]KKMCreateOFDPacket done [13:41:00]NVStorageSaveData kkm_last_timestamp [13:41:00]File name is /storage/kkm_last_timestamp [13:41:00]Write 4 bytes [13:41:00]NVStorageSaveData done [13:41:00]ExternCall_PrintAddStr [13:41:00]wPrintStart [13:41:00]Write to MH i2c: 01 00 00 97 14 AB [13:41:00]OFD Sender: Processing packet 27052 [packets to send 9, broken 8] [13:41:00]ProducePacketName [13:41:00]name=ofd_packets/00027052 [13:41:00]OFD Sender: To server: pG, [13:41:00]CommunicateWithHost lk.salyk.kg:30040 [13:41:00]ConnectInit lk.salyk.kg [13:41:00]Write i2c OK [13:41:00]MH_I2C_Read... [13:41:00]Read from MH i2c: 01 [13:41:00]MH_I2C_Read... [13:41:00]Read from MH i2c: 01 07 00 [13:41:00]MH_I2C_Read... [13:41:00]Read from MH i2c: 01 07 00 97 14 00 00 00 00 00 FF 0F C0 [13:41:00]RasterBufferAndPrint [13:41:00]line Счет N : (3)150450 [13:41:00]line ИНН: 02508201610067 [13:41:00]line Контрольно-Кассовый Чек [13:41:00]line ПРОДАЖА [13:41:00]line Товар: 4700000160044 [13:41:00]line Вода Ыссык Ата 0,5л [13:41:00]line 1.000 * 40.00 [13:41:00]line = 40.00 [13:41:00]line НДС 12% НСП 1% [13:41:00]line > о реализуемом товаре [13:41:00]line ИТОГО: 40.00 [13:41:00]line НСП 1% : 0.35 [13:41:00]line НДС 12% : 4.25 [13:41:00]line Наличными: 40.00 [13:41:00]line Безнал.: 0.00 [13:41:00]line Место: АЗС № 134 "Партнер Нефть" [13:41:00]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [13:41:00]line СНО: Общий режим [13:41:00]line Чек 30 28.07.2024 13:41 [13:41:00]line Смена: 433 ФФД: 1.0 [13:41:00]line ЗНМ: 0300000043 [13:41:00]line РНМ: 0000000000092663 [13:41:00]line Версия ККМ: 001 [13:41:00]line ФМ: 0000000000874937 [13:41:00]line ФД: 27052 [13:41:00]line ФПД: 240797996265768 [13:41:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T134103&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27052&fm=240797996265768&tin=02508201610067®Number=0000000000092663&sum=4000 [13:41:01]line 0 [13:41:01]Connected sock=10 [13:41:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 26 01 00 00 8A 33 1E 01 A1 BF 5A 03 01 00 03 00 12 01 1E 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 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 1E 00 00 00 F4 03 04 00 6F 4A A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AC 69 00 00 35 04 06 00 DB 01 27 07 B1 28 CE 58 69 75 6F 56 25 7F [13:41:01]written 0, free lines is 4095 [13:41:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 9A CC 47 00 E6 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 38 37 34 39 33 37 10 04 04 00 AC 69 00 00 F4 03 04 00 C3 F0 A5 66 B6 04 01 00 00 4C 65 56 E8 08 DE 07 BA [13:41:01]CommunicateWithHost err = 0 [13:41:01]CheckOFDResponse [13:41:01]1017 (14) - 77093643461234 [13:41:01]1041 (16) - 0000000000874937 [13:41:01]1040 (4) - 27052 [13:41:01]1012 (4) - 28.07.2024 07:18 [13:41:01]1206 (1) - 0 [13:41:01]OFD Sender: Remove packet 27052 [13:41:01]ProducePacketName [13:41:01]name=ofd_packets/00027052 [13:41:01]NVStorageDeleteData [13:41:01]Write to MH i2c: 01 00 00 BE 14 D2 [13:41:01]Write i2c OK [13:41:01]MH_I2C_Read... [13:41:01]Read from MH i2c: 01 [13:41:01]MH_I2C_Read... [13:41:01]Read from MH i2c: 01 07 00 [13:41:01]MH_I2C_Read... [13:41:01]Read from MH i2c: 01 07 00 BE 14 00 00 00 00 00 FD 0C E2 [13:41:01]RasterBufferAndPrint [13:41:01]line [13:41:01]line [13:41:01]line [13:41:01]line [13:41:01]line [13:41:01]written 0, free lines is 3331 [13:41:01]MH_Cut [13:41:01]Write to MH i2c: D1 01 00 C5 14 01 AB [13:41:01]Write i2c OK [13:41:01]MH_I2C_Read... [13:41:01]Read from MH i2c: D1 [13:41:01]MH_I2C_Read... [13:41:01]Read from MH i2c: D1 01 00 [13:41:01]MH_I2C_Read... [13:41:01]Read from MH i2c: D1 01 00 C5 14 00 AA [13:41:01]Write to MH i2c: 01 00 00 C6 14 DA [13:41:01]Write i2c OK [13:41:01]MH_I2C_Read... [13:41:01]OFD Sender: No OFD packet to send [13:41:02]*** Cut start [13:41:02]*** Partial cut [13:41:02]*** CUTSNS_PIN = 1 [13:41:02]*** CUTSNS_PIN = 0 [13:41:02]*** Brake cut motor [13:41:02]Read from MH i2c: 01 [13:41:02]MH_I2C_Read... [13:41:02]*** Stop cut motor [13:41:02]*** Cut end [13:41:02]Read from MH i2c: 01 07 00 [13:41:02]MH_I2C_Read... [13:41:02]Read from MH i2c: 01 07 00 C6 14 00 00 00 00 00 FF 0F EF [13:41:02]process_action close_receipt done [13:41:02]requested_data is exist [13:41:02]produce_requested_data [13:41:02]requested_item fm.sn is exist - process it [13:41:02]wFMCommunicate request_size=4 [13:41:02]MH_SAM_APDU [13:41:02]CAPDU: 80 11 00 00 [13:41:02]Write to MH i2c: E2 08 00 C7 14 80 11 00 00 00 00 00 00 55 [13:41:02]Write i2c OK [13:41:02]MH_I2C_Read... [13:41:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:41:02]Read from MH i2c: E2 [13:41:02]MH_I2C_Read... [13:41:02]Read from MH i2c: E2 17 00 [13:41:02]MH_I2C_Read... [13:41:02]Read from MH i2c: E2 17 00 C7 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 AE [13:41:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [13:41:02]wFMCommunicate OK [13:41:02]requested_item fd.num is exist - process it [13:41:02]SAM_PROTO_GetFieldsCounters [13:41:02]wFMCommunicate request_size=4 [13:41:02]MH_SAM_APDU [13:41:02]CAPDU: 80 13 00 00 [13:41:02]Write to MH i2c: E2 08 00 C8 14 80 13 00 00 00 00 00 00 58 [13:41:02]Write i2c OK [13:41:02]MH_I2C_Read... [13:41:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:41:03]Read from MH i2c: E2 [13:41:03]MH_I2C_Read... [13:41:03]Read from MH i2c: E2 62 00 [13:41:03]MH_I2C_Read... [13:41:03]Read from MH i2c: E2 62 00 C8 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 AC 69 00 00 0E 04 04 00 B1 01 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 A1 [13:41:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 AC 69 00 00 0E 04 04 00 B1 01 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:41:03]wFMCommunicate OK [13:41:03]SAM_PROTO_GetFieldsCounters done [13:41:03]requested_item shift.num is exist - process it [13:41:03]requested_item shift.opened is exist - process it [13:41:03]req_shift_opened [13:41:03]FM_GetShiftState [13:41:03]SAM_PROTO_GetShiftState [13:41:03]wFMCommunicate request_size=4 [13:41:03]MH_SAM_APDU [13:41:03]CAPDU: 80 13 01 00 [13:41:03]Write to MH i2c: E2 08 00 C9 14 80 13 01 00 00 00 00 00 5A [13:41:03]Write i2c OK [13:41:03]MH_I2C_Read... [13:41:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:41:03]Read from MH i2c: E2 [13:41:03]MH_I2C_Read... [13:41:03]Read from MH i2c: E2 0E 00 [13:41:03]MH_I2C_Read... [13:41:03]Read from MH i2c: E2 0E 00 C9 14 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 82 [13:41:03]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [13:41:03]wFMCommunicate OK [13:41:03]SAM_PROTO_GetShiftState done [13:41:03]FM_GetShiftState done [13:41:03]req_shift_opened done [13:41:03]requested_item shift.open_date is exist - process it [13:41:03]req_shift_open_date [13:41:03]req_shift_open_date done [13:41:03]produce_requested_data done [13:41:03]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27052,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [13:41:03]process_action_free close_receipt [13:41:03]json_value_free [13:41:03]json_value_free done [13:41:03]process_json_proto returns [13:41:03]Send response to host [13:41:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27052,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [13:41:03]free response buf [13:41:03]execute_script done [13:41:03]execute_script returns [13:41:03]free content buf [13:41:03]Sock 9.Close socket [13:41:03]Sock 9.Thread stoped [13:41:06]OFD Sender: No OFD packet to send [13:41:11]OFD Sender: No OFD packet to send [13:41:16]OFD Sender: No OFD packet to send [13:41:21]OFD Sender: No OFD packet to send [13:41:26]OFD Sender: No OFD packet to send [13:41:31]OFD Sender: No OFD packet to send [13:41:36]OFD Sender: No OFD packet to send [13:41:41]OFD Sender: No OFD packet to send [13:41:46]OFD Sender: No OFD packet to send [13:41:51]OFD Sender: No OFD packet to send [13:41:56]OFD Sender: No OFD packet to send [13:42:01]OFD Sender: No OFD packet to send [13:42:06]OFD Sender: No OFD packet to send [13:42:11]OFD Sender: No OFD packet to send [13:42:16]OFD Sender: No OFD packet to send [13:42:21]OFD Sender: No OFD packet to send [13:42:26]OFD Sender: No OFD packet to send [13:42:31]OFD Sender: No OFD packet to send [13:42:36]OFD Sender: No OFD packet to send [13:42:41]OFD Sender: No OFD packet to send [13:42:46]OFD Sender: No OFD packet to send [13:42:51]OFD Sender: No OFD packet to send [13:42:56]OFD Sender: No OFD packet to send [13:43:01]OFD Sender: No OFD packet to send [13:43:06]OFD Sender: No OFD packet to send [13:43:11]OFD Sender: No OFD packet to send [13:43:16]OFD Sender: No OFD packet to send [13:43:21]OFD Sender: No OFD packet to send [13:43:26]OFD Sender: No OFD packet to send [13:43:31]OFD Sender: No OFD packet to send [13:43:36]OFD Sender: No OFD packet to send [13:43:41]OFD Sender: No OFD packet to send [13:43:46]OFD Sender: No OFD packet to send [13:43:51]OFD Sender: No OFD packet to send [13:43:56]OFD Sender: No OFD packet to send [13:44:01]OFD Sender: No OFD packet to send [13:44:06]OFD Sender: No OFD packet to send [13:44:11]OFD Sender: No OFD packet to send [13:44:16]OFD Sender: No OFD packet to send [13:44:21]OFD Sender: No OFD packet to send [13:44:26]OFD Sender: No OFD packet to send [13:44:31]OFD Sender: No OFD packet to send [13:44:36]OFD Sender: No OFD packet to send [13:44:41]OFD Sender: No OFD packet to send [13:44:46]OFD Sender: No OFD packet to send [13:44:51]OFD Sender: No OFD packet to send [13:44:56]OFD Sender: No OFD packet to send [13:45:02]OFD Sender: No OFD packet to send [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:50]accept exits with 7 [13:45:50]New connection [13:45:50]New thread 3067387236 created [13:45:50]Thread 3067530596 joined [13:45:50]Waiting for new connection... [13:45:50] Sock 7.Parse request [13:45:50]Sock 7.Check first char [13:45:50]Sock 7.First char is OK [13:45:50]request: POST /json_proto HTTP/1.0 [13:45:50]Method: POST [13:45:50]URL: /json_proto [13:45:50]Method is POST - this is cgi request [13:45:50]url: /json_proto [13:45:50]query_string will be loaded in cgi processing [13:45:50]execute_cgi json_proto POST (null) [13:45:50]execute_cgi path=json_proto method=POST [13:45:50]POST find Content-Length [13:45:50]Host: 172.17.45.8:8080 [13:45:50]Content-Length: 683 [13:45:50]Content-Type: application/json [13:45:50] [13:45:50]POST finish read [13:45:50]Found Content-Length = 683 [13:45:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150451", "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:45:50]execute_script... [13:45:50]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)150451", "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:45:50]POST & json_proto [13:45:50]process_json_proto [13:45:50]json parsed OK: [13:45:50]protocol is kg_v1.0 [13:45:50]action value=close_receipt [13:45:50]process_action close_receipt [13:45:50]cmd_close_receipt [13:45:50]MH_GetDate [13:45:50]Write to MH i2c: F0 00 00 CA 14 CD [13:45:50]Write i2c OK [13:45:50]MH_I2C_Read... [13:45:50]Read from MH i2c: F0 [13:45:50]MH_I2C_Read... [13:45:50]Read from MH i2c: F0 09 00 [13:45:50]MH_I2C_Read... [13:45:50]Read from MH i2c: F0 09 00 CA 14 00 93 4B A6 66 A6 1F 7F 64 68 [13:45:50]GetLastDocTimeStamp 1722174063 [13:45:50]current date 1722174355 [13:45:50]FM_GetShiftState [13:45:50]SAM_PROTO_GetShiftState [13:45:50]wFMCommunicate request_size=4 [13:45:50]MH_SAM_APDU [13:45:50]CAPDU: 80 13 01 00 [13:45:50]Write to MH i2c: E2 08 00 CB 14 80 13 01 00 00 00 00 00 5C [13:45:50]Write i2c OK [13:45:50]MH_I2C_Read... [13:45:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:45:50]Read from MH i2c: E2 [13:45:50]MH_I2C_Read... [13:45:50]Read from MH i2c: E2 0E 00 [13:45:50]MH_I2C_Read... [13:45:50]Read from MH i2c: E2 0E 00 CB 14 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 84 [13:45:50]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [13:45:50]wFMCommunicate OK [13:45:50]SAM_PROTO_GetShiftState done [13:45:50]FM_GetShiftState done [13:45:50]opened in 1722127230 [13:45:50]opened+sec_in_day 1722213630 [13:45:50]quantity*price = 10000 [13:45:50]sum+1 = 10001 [13:45:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 31 28.07.2024 13:45 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27053 ФПД: 182893212242829 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T134555&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27053&fm=182893212242829&tin=02508201610067®Number=0000000000092663&sum=10000 0 [13:45:52]StoreToDocumentArchive [13:45:52]shift 433 fd 27053 [13:45:52]save to /storage/0433/doc_00027053 [13:45:52]save last doc name /storage/0433/doc_00027053 to /storage/kkm_last_doc_name [13:45:52]save OK [13:45:52]Clear old archive folders... [13:45:52]OFD Sender: No OFD packet to send [13:45:52]ProcessDocumentItem done err = 0, tmpTLVsize=291 [13:45:52]tlvbuf is 01697D80 [13:45:52]SAM_PROTO_ClearQueue [13:45:52]wFMCommunicate request_size=4 [13:45:52]MH_SAM_APDU [13:45:52]CAPDU: 80 09 00 00 [13:45:52]Write to MH i2c: E2 08 00 D8 14 80 09 00 00 00 00 00 00 5E [13:45:52]Write i2c OK [13:45:52]MH_I2C_Read... [13:45:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:45:52]Read from MH i2c: E2 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: E2 03 00 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: E2 03 00 D8 14 00 90 00 60 [13:45:52]RAPDU: 90 00 [13:45:52]wFMCommunicate OK [13:45:52]SAM_PROTO_ClearQueue done [13:45:52]KKMCreateOFDPacket [13:45:52]OFDProtocolAddRootSTLVToBuf [13:45:52]FM_MakeSignedData [13:45:52]FM_MakeSignedData [13:45:52]SAM_PROTO_SignData [13:45:52]wFMCommunicate request_size=4 [13:45:52]MH_SAM_APDU [13:45:52]CAPDU: 80 0D 01 02 [13:45:52]Write to MH i2c: E2 08 00 D9 14 80 0D 01 02 00 00 00 00 66 [13:45:52]Write i2c OK [13:45:52]MH_I2C_Read... [13:45:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:45:52]Read from MH i2c: E2 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: E2 03 00 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: E2 03 00 D9 14 00 90 00 61 [13:45:52]RAPDU: 90 00 [13:45:52]wFMCommunicate OK [13:45:52]wFMCommunicate request_size=255 [13:45:52]MH_SAM_APDU [13:45:52]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 1F 00 00 00 F4 03 04 00 93 4B A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 [13:45:52]Write to MH i2c: E2 02 01 DA 14 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 1F 00 00 00 F4 03 04 00 93 4B A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 00 00 45 [13:45:52]Write i2c OK [13:45:52]MH_I2C_Read... [13:45:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:45:52]Read from MH i2c: E2 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: E2 03 00 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: E2 03 00 DA 14 00 90 00 62 [13:45:52]RAPDU: 90 00 [13:45:52]wFMCommunicate OK [13:45:52]wFMCommunicate request_size=50 [13:45:52]MH_SAM_APDU [13:45:52]CAPDU: 80 0D 02 02 2D 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AD 69 00 00 35 04 06 00 A6 57 24 F2 93 8D [13:45:52]Write to MH i2c: E2 35 00 DB 14 80 0D 02 02 2D 00 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AD 69 00 00 35 04 06 00 A6 57 24 F2 93 8D 00 00 18 [13:45:52]Write i2c OK [13:45:52]MH_I2C_Read... [13:45:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:45:52]Read from MH i2c: E2 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: E2 03 00 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: E2 03 00 DB 14 00 90 00 63 [13:45:52]RAPDU: 90 00 [13:45:52]wFMCommunicate OK [13:45:52]wFMCommunicate request_size=4 [13:45:52]MH_SAM_APDU [13:45:52]CAPDU: 80 0D 03 02 [13:45:52]Write to MH i2c: E2 08 00 DC 14 80 0D 03 02 00 00 00 00 6B [13:45:52]Write i2c OK [13:45:52]MH_I2C_Read... [13:45:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:45:52]Read from MH i2c: E2 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: E2 0B 00 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: E2 0B 00 DC 14 00 49 9E 64 4F 83 5E 4C 3F 90 00 72 [13:45:52]RAPDU: 49 9E 64 4F 83 5E 4C 3F 90 00 [13:45:52]wFMCommunicate OK [13:45:52]SAM_PROTO_SignData done [13:45:52]FM_MakeSignedData done [13:45:52]CreateOFDProtocolMessage [13:45:52]wFMCommunicate request_size=4 [13:45:52]MH_SAM_APDU [13:45:52]CAPDU: 80 11 00 00 [13:45:52]Write to MH i2c: E2 08 00 DD 14 80 11 00 00 00 00 00 00 6B [13:45:52]Write i2c OK [13:45:52]MH_I2C_Read... [13:45:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:45:52]Read from MH i2c: E2 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: E2 17 00 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: E2 17 00 DD 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 C4 [13:45:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [13:45:52]wFMCommunicate OK [13:45:52]CreateOFDProtocolMessage done [13:45:52]OFDSenderStorePacket 27053 [13:45:52]StoreOFDPacket docnum=27053 [13:45:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 37 01 00 00 2A 66 2F 01 73 FF 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 1F 00 00 00 F4 03 04 00 93 4B A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AD 69 00 00 35 04 06 00 A6 57 24 F2 93 8D 49 9E 64 4F 83 5E 4C 3F [13:45:52]CheckFolder [13:45:52]dirname=/storage/ofd_packets [13:45:52]CheckFolder done [13:45:52]ProducePacketName [13:45:52]name=ofd_packets/00027053 [13:45:52]NVStorageSaveData ofd_packets/00027053 [13:45:52]File name is /storage/ofd_packets/00027053 [13:45:52]Write 341 bytes [13:45:52]NVStorageSaveData done [13:45:52]OFDSenderStorePacket done [13:45:52]KKMCreateOFDPacket done [13:45:52]NVStorageSaveData kkm_last_timestamp [13:45:52]File name is /storage/kkm_last_timestamp [13:45:52]Write 4 bytes [13:45:52]NVStorageSaveData done [13:45:52]ExternCall_PrintAddStr [13:45:52]wPrintStart [13:45:52]Write to MH i2c: 01 00 00 DE 14 F2 [13:45:52]Write i2c OK [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: 01 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: 01 07 00 [13:45:52]MH_I2C_Read... [13:45:52]Read from MH i2c: 01 07 00 DE 14 00 00 00 00 00 FF 0F 07 [13:45:52]RasterBufferAndPrint [13:45:52]line Счет N : (3)150451 [13:45:52]line ИНН: 02508201610067 [13:45:52]line Контрольно-Кассовый Чек [13:45:52]line ПРОДАЖА [13:45:52]line Товар: 4870002328398 [13:45:52]line Вода ASU пит н.газ мята ПЭТ 1л [13:45:52]line 1.000 * 100.00 [13:45:52]line = 100.00 [13:45:52]line НДС 12% НСП 1% [13:45:52]line > о реализуемом товаре [13:45:52]line ИТОГО: 100.00 [13:45:52]line НСП 1% : 0.88 [13:45:52]line НДС 12% : 10.62 [13:45:52]line Наличными: 100.00 [13:45:52]line Безнал.: 0.00 [13:45:52]line Место: АЗС № 134 "Партнер Нефть" [13:45:52]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [13:45:52]line СНО: Общий режим [13:45:52]line Чек 31 28.07.2024 13:45 [13:45:52]line Смена: 433 ФФД: 1.0 [13:45:52]line ЗНМ: 0300000043 [13:45:52]line РНМ: 0000000000092663 [13:45:52]line Версия ККМ: 001 [13:45:52]line ФМ: 0000000000874937 [13:45:52]line ФД: 27053 [13:45:52]line ФПД: 182893212242829 [13:45:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T134555&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27053&fm=182893212242829&tin=02508201610067®Number=0000000000092663&sum=10000 [13:45:52]line 0 [13:45:52]OFD Sender: Processing packet 27053 [packets to send 9, broken 8] [13:45:52]ProducePacketName [13:45:52]name=ofd_packets/00027053 [13:45:52]OFD Sender: To server: pG, [13:45:52]CommunicateWithHost lk.salyk.kg:30040 [13:45:52]ConnectInit lk.salyk.kg [13:45:52]written 0, free lines is 4095 [13:45:53]Connected sock=10 [13:45:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 37 01 00 00 2A 66 2F 01 73 FF 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 1F 00 00 00 F4 03 04 00 93 4B A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AD 69 00 00 35 04 06 00 A6 57 24 F2 93 8D 49 9E 64 4F 83 5E 4C 3F [13:45:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 82 39 47 00 89 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 38 37 34 39 33 37 10 04 04 00 AD 69 00 00 F4 03 04 00 E7 F1 A5 66 B6 04 01 00 00 6E 8B 6C CB 28 A9 EB AA [13:45:53]CommunicateWithHost err = 0 [13:45:53]CheckOFDResponse [13:45:53]1017 (14) - 77093643461234 [13:45:53]1041 (16) - 0000000000874937 [13:45:53]1040 (4) - 27053 [13:45:53]1012 (4) - 28.07.2024 07:23 [13:45:53]1206 (1) - 0 [13:45:53]OFD Sender: Remove packet 27053 [13:45:53]ProducePacketName [13:45:53]name=ofd_packets/00027053 [13:45:53]NVStorageDeleteData [13:45:53]Write to MH i2c: 01 00 00 06 15 1B [13:45:53]Write i2c OK [13:45:53]MH_I2C_Read... [13:45:53]Read from MH i2c: 01 [13:45:53]MH_I2C_Read... [13:45:53]Read from MH i2c: 01 07 00 [13:45:53]MH_I2C_Read... [13:45:53]Read from MH i2c: 01 07 00 06 15 00 00 00 00 00 DF 0C 0D [13:45:53]RasterBufferAndPrint [13:45:53]line [13:45:53]line [13:45:53]line [13:45:53]line [13:45:53]line [13:45:53]written 0, free lines is 3300 [13:45:53]MH_Cut [13:45:53]Write to MH i2c: D1 01 00 0D 15 01 F4 [13:45:53]Write i2c OK [13:45:53]MH_I2C_Read... [13:45:53]Read from MH i2c: D1 [13:45:53]MH_I2C_Read... [13:45:53]Read from MH i2c: D1 01 00 [13:45:53]MH_I2C_Read... [13:45:53]Read from MH i2c: D1 01 00 0D 15 00 F3 [13:45:53]Write to MH i2c: 01 00 00 0E 15 23 [13:45:53]Write i2c OK [13:45:53]MH_I2C_Read... [13:45:53]OFD Sender: No OFD packet to send [13:45:54]*** Cut start [13:45:54]*** Partial cut [13:45:54]*** CUTSNS_PIN = 1 [13:45:54]*** CUTSNS_PIN = 0 [13:45:54]*** Brake cut motor [13:45:54]Read from MH i2c: 01 [13:45:54]MH_I2C_Read... [13:45:54]*** Stop cut motor [13:45:54]*** Cut end [13:45:54]Read from MH i2c: 01 07 00 [13:45:54]MH_I2C_Read... [13:45:54]Read from MH i2c: 01 07 00 0E 15 00 00 00 00 00 FF 0F 38 [13:45:54]process_action close_receipt done [13:45:54]requested_data is exist [13:45:54]produce_requested_data [13:45:54]requested_item fm.sn is exist - process it [13:45:54]wFMCommunicate request_size=4 [13:45:54]MH_SAM_APDU [13:45:54]CAPDU: 80 11 00 00 [13:45:54]Write to MH i2c: E2 08 00 0F 15 80 11 00 00 00 00 00 00 9E [13:45:54]Write i2c OK [13:45:54]MH_I2C_Read... [13:45:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:45:54]Read from MH i2c: E2 [13:45:54]MH_I2C_Read... [13:45:54]Read from MH i2c: E2 17 00 [13:45:54]MH_I2C_Read... [13:45:54]Read from MH i2c: E2 17 00 0F 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 F7 [13:45:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [13:45:54]wFMCommunicate OK [13:45:54]requested_item fd.num is exist - process it [13:45:54]SAM_PROTO_GetFieldsCounters [13:45:54]wFMCommunicate request_size=4 [13:45:54]MH_SAM_APDU [13:45:54]CAPDU: 80 13 00 00 [13:45:54]Write to MH i2c: E2 08 00 10 15 80 13 00 00 00 00 00 00 A1 [13:45:54]Write i2c OK [13:45:54]MH_I2C_Read... [13:45:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:45:54]Read from MH i2c: E2 [13:45:54]MH_I2C_Read... [13:45:54]Read from MH i2c: E2 62 00 [13:45:54]MH_I2C_Read... [13:45:54]Read from MH i2c: E2 62 00 10 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 AD 69 00 00 0E 04 04 00 B1 01 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 EE [13:45:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 AD 69 00 00 0E 04 04 00 B1 01 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:45:54]wFMCommunicate OK [13:45:54]SAM_PROTO_GetFieldsCounters done [13:45:54]requested_item shift.num is exist - process it [13:45:54]requested_item shift.opened is exist - process it [13:45:54]req_shift_opened [13:45:54]FM_GetShiftState [13:45:54]SAM_PROTO_GetShiftState [13:45:54]wFMCommunicate request_size=4 [13:45:54]MH_SAM_APDU [13:45:54]CAPDU: 80 13 01 00 [13:45:54]Write to MH i2c: E2 08 00 11 15 80 13 01 00 00 00 00 00 A3 [13:45:54]Write i2c OK [13:45:54]MH_I2C_Read... [13:45:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:45:54]Read from MH i2c: E2 [13:45:54]MH_I2C_Read... [13:45:54]Read from MH i2c: E2 0E 00 [13:45:54]MH_I2C_Read... [13:45:54]Read from MH i2c: E2 0E 00 11 15 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 CB [13:45:54]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [13:45:54]wFMCommunicate OK [13:45:54]SAM_PROTO_GetShiftState done [13:45:54]FM_GetShiftState done [13:45:54]req_shift_opened done [13:45:54]requested_item shift.open_date is exist - process it [13:45:54]req_shift_open_date [13:45:54]req_shift_open_date done [13:45:54]produce_requested_data done [13:45:54]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27053,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [13:45:54]process_action_free close_receipt [13:45:54]json_value_free [13:45:54]json_value_free done [13:45:54]process_json_proto returns [13:45:54]Send response to host [13:45:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27053,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [13:45:54]free response buf [13:45:54]execute_script done [13:45:54]execute_script returns [13:45:54]free content buf [13:45:54]Sock 7.Close socket [13:45:54]Sock 7.Thread stoped [13:45:58]OFD Sender: No OFD packet to send [13:46:03]OFD Sender: No OFD packet to send [13:46:08]OFD Sender: No OFD packet to send [13:46:13]OFD Sender: No OFD packet to send [13:46:18]OFD Sender: No OFD packet to send [13:46:23]OFD Sender: No OFD packet to send [13:46:28]OFD Sender: No OFD packet to send [13:46:33]OFD Sender: No OFD packet to send [13:46:38]OFD Sender: No OFD packet to send [13:46:43]OFD Sender: No OFD packet to send [13:46:48]OFD Sender: No OFD packet to send [13:46:53]OFD Sender: No OFD packet to send [13:46:58]OFD Sender: No OFD packet to send [13:47:03]OFD Sender: No OFD packet to send [13:47:08]OFD Sender: No OFD packet to send [13:47:13]OFD Sender: No OFD packet to send [13:47:18]OFD Sender: No OFD packet to send [13:47:23]OFD Sender: No OFD packet to send [13:47:28]OFD Sender: No OFD packet to send [13:47:33]OFD Sender: No OFD packet to send [13:47:38]OFD Sender: No OFD packet to send [13:47:43]OFD Sender: No OFD packet to send [13:47:48]OFD Sender: No OFD packet to send [13:47:53]OFD Sender: No OFD packet to send [13:47:58]OFD Sender: No OFD packet to send [13:48:03]OFD Sender: No OFD packet to send [13:48:08]OFD Sender: No OFD packet to send [13:48:13]OFD Sender: No OFD packet to send [13:48:18]OFD Sender: No OFD packet to send [13:48:23]OFD Sender: No OFD packet to send [13:48:28]OFD Sender: No OFD packet to send [13:48:33]OFD Sender: No OFD packet to send [13:48:38]OFD Sender: No OFD packet to send [13:48:43]OFD Sender: No OFD packet to send [13:48:48]OFD Sender: No OFD packet to send [13:48:53]OFD Sender: No OFD packet to send [13:48:58]OFD Sender: No OFD packet to send [13:49:03]OFD Sender: No OFD packet to send [13:49:08]OFD Sender: No OFD packet to send [13:49:13]OFD Sender: No OFD packet to send [13:49:18]OFD Sender: No OFD packet to send [13:49:23]OFD Sender: No OFD packet to send [13:49:28]OFD Sender: No OFD packet to send [13:49:33]OFD Sender: No OFD packet to send [13:49:38]OFD Sender: No OFD packet to send [13:49:43]OFD Sender: No OFD packet to send [13:49:48]OFD Sender: No OFD packet to send [13:49:53]OFD Sender: No OFD packet to send [13:49:58]OFD Sender: No OFD packet to send [13:50:03]OFD Sender: No OFD packet to send [13:50:08]OFD Sender: No OFD packet to send [13:50:13]OFD Sender: No OFD packet to send [13:50:18]OFD Sender: No OFD packet to send [13:50:23]OFD Sender: No OFD packet to send [13:50:28]OFD Sender: No OFD packet to send [13:50:33]OFD Sender: No OFD packet to send [13:50:38]OFD Sender: No OFD packet to send [13:50:43]OFD Sender: No OFD packet to send [13:50:48]OFD Sender: No OFD packet to send [13:50:53]OFD Sender: No OFD packet to send [13:50:59]OFD Sender: No OFD packet to send [13:51:04]OFD Sender: No OFD packet to send [13:51:09]OFD Sender: No OFD packet to send [13:51:14]OFD Sender: No OFD packet to send [13:51:19]OFD Sender: No OFD packet to send [13:51:24]OFD Sender: No OFD packet to send [13:51:29]OFD Sender: No OFD packet to send [13:51:34]OFD Sender: No OFD packet to send [13:51:39]OFD Sender: No OFD packet to send [13:51:44]OFD Sender: No OFD packet to send [13:51:49]OFD Sender: No OFD packet to send [13:51:54]OFD Sender: No OFD packet to send [13:51:59]OFD Sender: No OFD packet to send [13:52:04]OFD Sender: No OFD packet to send [13:52:09]OFD Sender: No OFD packet to send [13:52:14]OFD Sender: No OFD packet to send [13:52:19]OFD Sender: No OFD packet to send [13:52:24]OFD Sender: No OFD packet to send [13:52:29]OFD Sender: No OFD packet to send [13:52:34]OFD Sender: No OFD packet to send [13:52:39]OFD Sender: No OFD packet to send [13:52:44]OFD Sender: No OFD packet to send [13:52:49]OFD Sender: No OFD packet to send [13:52:54]OFD Sender: No OFD packet to send [13:52:59]OFD Sender: No OFD packet to send [13:53:04]OFD Sender: No OFD packet to send [13:53:09]OFD Sender: No OFD packet to send [13:53:14]OFD Sender: No OFD packet to send [13:53:19]OFD Sender: No OFD packet to send [13:53:24]OFD Sender: No OFD packet to send [13:53:29]OFD Sender: No OFD packet to send [13:53:34]OFD Sender: No OFD packet to send [13:53:39]OFD Sender: No OFD packet to send [13:53:44]OFD Sender: No OFD packet to send [13:53:49]OFD Sender: No OFD packet to send [13:53:54]OFD Sender: No OFD packet to send [13:53:59]OFD Sender: No OFD packet to send [13:54:04]OFD Sender: No OFD packet to send [13:54:09]OFD Sender: No OFD packet to send [13:54:14]OFD Sender: No OFD packet to send [13:54:19]OFD Sender: No OFD packet to send [13:54:24]OFD Sender: No OFD packet to send [13:54:29]OFD Sender: No OFD packet to send [13:54:34]OFD Sender: No OFD packet to send [13:54:39]OFD Sender: No OFD packet to send [13:54:44]OFD Sender: No OFD packet to send [13:54:49]OFD Sender: No OFD packet to send [13:54:54]OFD Sender: No OFD packet to send [13:54:59]OFD Sender: No OFD packet to send [13:55:04]OFD Sender: No OFD packet to send [13:55:09]OFD Sender: No OFD packet to send [13:55:14]OFD Sender: No OFD packet to send [13:55:19]OFD Sender: No OFD packet to send [13:55:24]OFD Sender: No OFD packet to send [13:55:29]OFD Sender: No OFD packet to send [13:55:34]OFD Sender: No OFD packet to send [13:55:39]OFD Sender: No OFD packet to send [13:55:44]OFD Sender: No OFD packet to send [13:55:49]OFD Sender: No OFD packet to send [13:55:54]OFD Sender: No OFD packet to send [13:55:59]OFD Sender: No OFD packet to send [13:56:04]OFD Sender: No OFD packet to send [13:56:09]OFD Sender: No OFD packet to send [13:56:14]OFD Sender: No OFD packet to send [13:56:19]OFD Sender: No OFD packet to send [13:56:24]OFD Sender: No OFD packet to send [13:56:29]OFD Sender: No OFD packet to send [13:56:34]OFD Sender: No OFD packet to send [13:56:39]OFD Sender: No OFD packet to send [13:56:44]OFD Sender: No OFD packet to send [13:56:49]OFD Sender: No OFD packet to send [13:56:54]OFD Sender: No OFD packet to send [13:56:59]OFD Sender: No OFD packet to send [13:57:04]OFD Sender: No OFD packet to send [13:57:09]OFD Sender: No OFD packet to send [13:57:14]OFD Sender: No OFD packet to send [13:57:19]OFD Sender: No OFD packet to send [13:57:24]OFD Sender: No OFD packet to send [13:57:29]OFD Sender: No OFD packet to send [13:57:34]OFD Sender: No OFD packet to send [13:57:39]OFD Sender: No OFD packet to send [13:57:44]OFD Sender: No OFD packet to send [13:57:49]OFD Sender: No OFD packet to send [13:57:54]OFD Sender: No OFD packet to send [13:57:59]OFD Sender: No OFD packet to send [13:58:04]OFD Sender: No OFD packet to send [13:58:09]OFD Sender: No OFD packet to send [13:58:14]OFD Sender: No OFD packet to send [13:58:19]OFD Sender: No OFD packet to send [13:58:24]OFD Sender: No OFD packet to send [13:58:29]OFD Sender: No OFD packet to send [13:58:34]OFD Sender: No OFD packet to send [13:58:39]OFD Sender: No OFD packet to send [13:58:44]OFD Sender: No OFD packet to send [13:58:49]OFD Sender: No OFD packet to send [13:58:54]OFD Sender: No OFD packet to send [13:58:59]OFD Sender: No OFD packet to send [13:59:04]OFD Sender: No OFD packet to send [13:59:09]OFD Sender: No OFD packet to send [13:59:14]OFD Sender: No OFD packet to send [13:59:19]OFD Sender: No OFD packet to send [13:59:24]OFD Sender: No OFD packet to send [13:59:29]OFD Sender: No OFD packet to send [13:59:34]OFD Sender: No OFD packet to send [13:59:39]OFD Sender: No OFD packet to send [13:59:44]OFD Sender: No OFD packet to send [13:59:49]OFD Sender: No OFD packet to send [13:59:54]OFD Sender: No OFD packet to send [13:59:59]OFD Sender: No OFD packet to send [14:00:04]OFD Sender: No OFD packet to send [14:00:09]OFD Sender: No OFD packet to send [14:00:14]OFD Sender: No OFD packet to send [14:00:19]OFD Sender: No OFD packet to send [14:00:24]OFD Sender: No OFD packet to send [14:00:29]OFD Sender: No OFD packet to send [14:00:34]OFD Sender: No OFD packet to send [14:00:39]OFD Sender: No OFD packet to send [14:00:44]OFD Sender: No OFD packet to send [14:00:49]OFD Sender: No OFD packet to send [14:00:54]OFD Sender: No OFD packet to send [14:00:59]OFD Sender: No OFD packet to send [14:01:04]OFD Sender: No OFD packet to send [14:01:09]OFD Sender: No OFD packet to send [14:01:14]OFD Sender: No OFD packet to send [14:01:19]OFD Sender: No OFD packet to send [14:01:24]OFD Sender: No OFD packet to send [14:01:29]OFD Sender: No OFD packet to send [14:01:34]OFD Sender: No OFD packet to send [14:01:39]OFD Sender: No OFD packet to send [14:01:44]OFD Sender: No OFD packet to send [14:01:49]OFD Sender: No OFD packet to send [14:01:54]OFD Sender: No OFD packet to send [14:01:59]OFD Sender: No OFD packet to send [14:02:04]OFD Sender: No OFD packet to send [14:02:09]OFD Sender: No OFD packet to send [14:02:14]OFD Sender: No OFD packet to send [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:34]OFD Sender: No OFD packet to send [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:08:57]ConnectInit Can't connect to host [14:09:01]OFD Sender: No OFD packet to send [14:09:06]OFD Sender: No OFD packet to send [14:09:11]OFD Sender: No OFD packet to send [14:09:16]OFD Sender: No OFD packet to send [14:09:21]OFD Sender: No OFD packet to send [14:09:26]OFD Sender: No OFD packet to send [14:09:31]OFD Sender: No OFD packet to send [14:09:32]accept exits with 9 [14:09:32]New connection [14:09:32]New thread 3066645860 created [14:09:32]Waiting for new connection... [14:09:32] Sock 9.Parse request [14:09:32]Sock 9.Check first char [14:09:32]Sock 9.First char is OK [14:09:32]request: POST /json_proto HTTP/1.0 [14:09:32]Method: POST [14:09:32]URL: /json_proto [14:09:32]Method is POST - this is cgi request [14:09:32]url: /json_proto [14:09:32]query_string will be loaded in cgi processing [14:09:32]execute_cgi json_proto POST (null) [14:09:32]execute_cgi path=json_proto method=POST [14:09:32]POST find Content-Length [14:09:32]Host: 172.17.45.8:8080 [14:09:32]Content-Length: 215 [14:09:32]Content-Type: application/json [14:09:32] [14:09:32]POST finish read [14:09:32]Found Content-Length = 215 [14:09:32]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" ] } } [14:09:32]execute_script... [14:09:32]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" ] } } [14:09:32]POST & json_proto [14:09:32]process_json_proto [14:09:32]json parsed OK: [14:09:32]protocol is kg_v1.0 [14:09:32]action value=get_value [14:09:32]process_action get_value [14:09:32]cmd_get_value [14:09:32]process_action get_value done [14:09:32]requested_data is exist [14:09:32]produce_requested_data [14:09:32]requested_item kkm.sn is exist - process it [14:09:32]requested_item kkm.ver is exist - process it [14:09:32]requested_item fm.sn is exist - process it [14:09:32]wFMCommunicate request_size=4 [14:09:32]MH_SAM_APDU [14:09:32]CAPDU: 80 11 00 00 [14:09:32]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [14:09:32]Write i2c OK [14:09:32]MH_I2C_Read... [14:09:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:09:32]Read from MH i2c: E2 [14:09:32]MH_I2C_Read... [14:09:32]Read from MH i2c: E2 17 00 [14:09:32]MH_I2C_Read... [14:09:32]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 E3 [14:09:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:09:32]wFMCommunicate OK [14:09:32]requested_item fd.num is exist - process it [14:09:32]SAM_PROTO_GetFieldsCounters [14:09:32]wFMCommunicate request_size=4 [14:09:32]MH_SAM_APDU [14:09:32]CAPDU: 80 13 00 00 [14:09:32]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [14:09:32]Write i2c OK [14:09:32]MH_I2C_Read... [14:09:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:09:32]Read from MH i2c: E2 [14:09:32]MH_I2C_Read... [14:09:32]Read from MH i2c: E2 62 00 [14:09:32]MH_I2C_Read... [14:09:32]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 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 AD 69 00 00 0E 04 04 00 B1 01 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 DA [14:09:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 AD 69 00 00 0E 04 04 00 B1 01 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 [14:09:32]wFMCommunicate OK [14:09:32]SAM_PROTO_GetFieldsCounters done [14:09:32]requested_item shift.num is exist - process it [14:09:32]requested_item shift.opened is exist - process it [14:09:32]req_shift_opened [14:09:32]FM_GetShiftState [14:09:32]SAM_PROTO_GetShiftState [14:09:32]wFMCommunicate request_size=4 [14:09:32]MH_SAM_APDU [14:09:32]CAPDU: 80 13 01 00 [14:09:32]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [14:09:32]Write i2c OK [14:09:32]MH_I2C_Read... [14:09:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:09:32]Read from MH i2c: E2 [14:09:32]MH_I2C_Read... [14:09:32]Read from MH i2c: E2 0E 00 [14:09:32]MH_I2C_Read... [14:09:32]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 B7 [14:09:32]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:09:32]wFMCommunicate OK [14:09:32]SAM_PROTO_GetShiftState done [14:09:32]FM_GetShiftState done [14:09:32]req_shift_opened done [14:09:32]requested_item shift.open_date is exist - process it [14:09:32]req_shift_open_date [14:09:32]req_shift_open_date done [14:09:32]produce_requested_data done [14:09:32]produce_requested_data return {"kkm.sn":"0300000043","kkm.ver":"001","fm.sn":"0000000000874937","fd.num":27053,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [14:09:32]process_action_free get_value [14:09:32]json_value_free [14:09:32]json_value_free done [14:09:32]process_json_proto returns [14:09:32]Send response to host [14:09:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000043","kkm.ver":"001","fm.sn":"0000000000874937","fd.num":27053,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [14:09:32]free response buf [14:09:32]execute_script done [14:09:32]execute_script returns [14:09:32]free content buf [14:09:32]Sock 9.Close socket [14:09:32]Sock 9.Thread stoped [14:09:35]accept exits with 7 [14:09:35]New connection [14:09:35]New thread 3066502500 created [14:09:35]Thread 3066645860 joined [14:09:35]Waiting for new connection... [14:09:35] Sock 7.Parse request [14:09:35]Sock 7.Check first char [14:09:35]Sock 7.First char is OK [14:09:35]request: POST /json_proto HTTP/1.0 [14:09:35]Method: POST [14:09:35]URL: /json_proto [14:09:35]Method is POST - this is cgi request [14:09:35]url: /json_proto [14:09:35]query_string will be loaded in cgi processing [14:09:35]execute_cgi json_proto POST (null) [14:09:35]execute_cgi path=json_proto method=POST [14:09:35]POST find Content-Length [14:09:35]Host: 172.17.45.8:8080 [14:09:35]Content-Length: 331 [14:09:35]Content-Type: application/json [14:09:35] [14:09:35]POST finish read [14:09:35]Found Content-Length = 331 [14:09:35]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" ] } } [14:09:35]execute_script... [14:09:35]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" ] } } [14:09:35]POST & json_proto [14:09:35]process_json_proto [14:09:35]json parsed OK: [14:09:35]protocol is kg_v1.0 [14:09:35]action value=get_value [14:09:35]process_action get_value [14:09:35]cmd_get_value [14:09:35]process_action get_value done [14:09:35]requested_data is exist [14:09:35]produce_requested_data [14:09:35]requested_item fm.sale.total is exist - process it [14:09:35]SAM_PROTO_GetFMData [14:09:35]wFMCommunicate request_size=4 [14:09:35]MH_SAM_APDU [14:09:35]CAPDU: 80 13 03 00 [14:09:35]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [14:09:35]Write i2c OK [14:09:35]MH_I2C_Read... [14:09:35]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [14:09:35]Read from MH i2c: E2 [14:09:35]MH_I2C_Read... [14:09:35]Read from MH i2c: E2 FD 00 [14:09:35]MH_I2C_Read... [14:09:35]Read from MH i2c: E2 FD 00 13 00 00 C1 04 85 04 BD 04 6E 04 04 00 4B 66 00 00 69 04 A0 00 6F 04 04 00 1D 66 00 00 B1 04 04 00 78 81 6F 23 70 04 04 00 08 86 1D 22 72 04 04 00 70 FB 51 01 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 56 4E C3 03 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 DF 3A 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 D4 A7 1A 70 04 03 00 04 A5 15 72 04 03 00 D0 02 05 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 AB D4 02 EF 03 09 00 F6 03 90 00 90 [14:09:35]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 4B 66 00 00 69 04 A0 00 6F 04 04 00 1D 66 00 00 B1 04 04 00 78 81 6F 23 70 04 04 00 08 86 1D 22 72 04 04 00 70 FB 51 01 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 56 4E C3 03 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 DF 3A 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 D4 A7 1A 70 04 03 00 04 A5 15 72 04 03 00 D0 02 05 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 AB D4 02 EF 03 09 00 F6 03 90 00 [14:09:35]wFMCommunicate OK [14:09:35]wFMCommunicate request_size=4 [14:09:35]MH_SAM_APDU [14:09:35]CAPDU: 80 17 00 00 [14:09:35]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [14:09:35]Write i2c OK [14:09:35]MH_I2C_Read... [14:09:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:09:36]Read from MH i2c: E2 [14:09:36]MH_I2C_Read... [14:09:36]Read from MH i2c: E2 FD 00 [14:09:36]MH_I2C_Read... [14:09:36]Read from MH i2c: E2 FD 00 14 00 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 62 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 61 [14:09:36]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 62 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:09:36]wFMCommunicate OK [14:09:36]wFMCommunicate request_size=4 [14:09:36]MH_SAM_APDU [14:09:36]CAPDU: 80 17 00 00 [14:09:36]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [14:09:36]Write i2c OK [14:09:36]MH_I2C_Read... [14:09:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:09:36]Read from MH i2c: E2 [14:09:36]MH_I2C_Read... [14:09:36]Read from MH i2c: E2 FD 00 [14:09:36]MH_I2C_Read... [14:09:36]Read from MH i2c: E2 FD 00 15 00 00 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 90 00 35 [14:09:36]RAPDU: 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 90 00 [14:09:36]wFMCommunicate OK [14:09:36]wFMCommunicate request_size=4 [14:09:36]MH_SAM_APDU [14:09:36]CAPDU: 80 17 00 00 [14:09:36]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [14:09:36]Write i2c OK [14:09:36]MH_I2C_Read... [14:09:36]OFD Sender: No OFD packet to send [14:09:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:09:36]Read from MH i2c: E2 [14:09:36]MH_I2C_Read... [14:09:36]Read from MH i2c: E2 FD 00 [14:09:36]MH_I2C_Read... [14:09:36]Read from MH i2c: E2 FD 00 16 00 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1B [14:09:36]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:09:36]wFMCommunicate OK [14:09:36]wFMCommunicate request_size=4 [14:09:36]MH_SAM_APDU [14:09:36]CAPDU: 80 17 00 00 [14:09:36]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [14:09:36]Write i2c OK [14:09:36]MH_I2C_Read... [14:09:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [14:09:36]Read from MH i2c: E2 [14:09:36]MH_I2C_Read... [14:09:36]Read from MH i2c: E2 DE 00 [14:09:36]MH_I2C_Read... [14:09:36]Read from MH i2c: E2 DE 00 17 00 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 90 00 76 [14:09:36]RAPDU: 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 90 00 [14:09:36]wFMCommunicate OK [14:09:36]SAM_PROTO_GetFMData done [14:09:36]requested_item fm.sale_refund.total is exist - process it [14:09:36]requested_item fm.buy.total is exist - process it [14:09:36]requested_item shift.sale.total is exist - process it [14:09:36]SAM_PROTO_GetShiftData [14:09:36]wFMCommunicate request_size=4 [14:09:36]MH_SAM_APDU [14:09:36]CAPDU: 80 13 02 00 [14:09:36]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [14:09:36]Write i2c OK [14:09:36]MH_I2C_Read... [14:09:37]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:09:37]Read from MH i2c: E2 [14:09:37]MH_I2C_Read... [14:09:37]Read from MH i2c: E2 FD 00 [14:09:37]MH_I2C_Read... [14:09:37]Read from MH i2c: E2 FD 00 18 00 00 AC 04 AA 04 A8 04 6E 04 04 00 1F 00 00 00 69 04 99 00 6F 04 04 00 1F 00 00 00 B1 04 03 00 14 07 08 70 04 03 00 04 E0 07 72 04 02 00 10 27 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 3D DA 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 27 12 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 23 [14:09:37]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 1F 00 00 00 69 04 99 00 6F 04 04 00 1F 00 00 00 B1 04 03 00 14 07 08 70 04 03 00 04 E0 07 72 04 02 00 10 27 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 3D DA 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 27 12 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:09:37]wFMCommunicate OK [14:09:37]wFMCommunicate request_size=4 [14:09:37]MH_SAM_APDU [14:09:37]CAPDU: 80 17 00 00 [14:09:37]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [14:09:37]Write i2c OK [14:09:37]MH_I2C_Read... [14:09:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:09:37]Read from MH i2c: E2 [14:09:37]MH_I2C_Read... [14:09:37]Read from MH i2c: E2 FD 00 [14:09:37]MH_I2C_Read... [14:09:37]Read from MH i2c: E2 FD 00 19 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 03 90 00 AE [14:09:37]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:09:37]wFMCommunicate OK [14:09:37]wFMCommunicate request_size=4 [14:09:37]MH_SAM_APDU [14:09:37]CAPDU: 80 17 00 00 [14:09:37]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [14:09:37]Write i2c OK [14:09:37]MH_I2C_Read... [14:09:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:09:37]Read from MH i2c: E2 [14:09:37]MH_I2C_Read... [14:09:37]Read from MH i2c: E2 FD 00 [14:09:37]MH_I2C_Read... [14:09:37]Read from MH i2c: E2 FD 00 1A 00 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 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 90 00 5B [14:09:37]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 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 90 00 [14:09:37]wFMCommunicate OK [14:09:37]wFMCommunicate request_size=4 [14:09:37]MH_SAM_APDU [14:09:37]CAPDU: 80 17 00 00 [14:09:37]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [14:09:37]Write i2c OK [14:09:37]MH_I2C_Read... [14:09:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:09:38]Read from MH i2c: E2 [14:09:38]MH_I2C_Read... [14:09:38]Read from MH i2c: E2 FD 00 [14:09:38]MH_I2C_Read... [14:09:38]Read from MH i2c: E2 FD 00 1B 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 90 00 10 [14:09:38]RAPDU: 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 90 00 [14:09:38]wFMCommunicate OK [14:09:38]wFMCommunicate request_size=4 [14:09:38]MH_SAM_APDU [14:09:38]CAPDU: 80 17 00 00 [14:09:38]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [14:09:38]Write i2c OK [14:09:38]MH_I2C_Read... [14:09:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [14:09:38]Read from MH i2c: E2 [14:09:38]MH_I2C_Read... [14:09:38]Read from MH i2c: E2 C9 00 [14:09:38]MH_I2C_Read... [14:09:38]Read from MH i2c: E2 C9 00 1C 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 80 [14:09:38]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [14:09:38]wFMCommunicate OK [14:09:38]SAM_PROTO_GetShiftData done [14:09:38]requested_item shift.sale.total_cash is exist - process it [14:09:38]requested_item shift.sale_refund.total is exist - process it [14:09:38]requested_item shift.sale_refund.total_cash is exist - process it [14:09:38]requested_item shift.buy.total is exist - process it [14:09:38]requested_item shift.buy.total_cash is exist - process it [14:09:38]produce_requested_data done [14:09:38]produce_requested_data return {"fm.sale.total":5945102.00,"fm.sale_refund.total":17469.00,"fm.buy.total":0.00,"shift.sale.total":5261.00,"shift.sale.total_cash":5161.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} [14:09:38]process_action_free get_value [14:09:38]json_value_free [14:09:38]json_value_free done [14:09:38]process_json_proto returns [14:09:38]Send response to host [14:09:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":5945102.00,"fm.sale_refund.total":17469.00,"fm.buy.total":0.00,"shift.sale.total":5261.00,"shift.sale.total_cash":5161.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}}} [14:09:38]free response buf [14:09:38]execute_script done [14:09:38]execute_script returns [14:09:38]free content buf [14:09:38]Sock 7.Close socket [14:09:38]Sock 7.Thread stoped [14:09:41]OFD Sender: No OFD packet to send [14:09:46]OFD Sender: No OFD packet to send [14:09:51]OFD Sender: No OFD packet to send [14:09:56]OFD Sender: No OFD packet to send [14:10:01]OFD Sender: No OFD packet to send [14:10:06]OFD Sender: No OFD packet to send [14:10:11]OFD Sender: No OFD packet to send [14:10:16]OFD Sender: No OFD packet to send [14:10:21]OFD Sender: No OFD packet to send [14:10:26]OFD Sender: No OFD packet to send [14:10:31]OFD Sender: No OFD packet to send [14:10:36]OFD Sender: No OFD packet to send [14:10:41]OFD Sender: No OFD packet to send [14:10:46]OFD Sender: No OFD packet to send [14:10:51]OFD Sender: No OFD packet to send [14:10:56]OFD Sender: No OFD packet to send [14:11:01]OFD Sender: No OFD packet to send [14:11:06]OFD Sender: No OFD packet to send [14:11:11]OFD Sender: No OFD packet to send [14:11:16]OFD Sender: No OFD packet to send [14:11:21]OFD Sender: No OFD packet to send [14:11:26]OFD Sender: No OFD packet to send [14:11:31]OFD Sender: No OFD packet to send [14:11:36]OFD Sender: No OFD packet to send [14:11:41]OFD Sender: No OFD packet to send [14:11:46]OFD Sender: No OFD packet to send [14:11:51]OFD Sender: No OFD packet to send [14:11:56]OFD Sender: No OFD packet to send [14:12:01]OFD Sender: No OFD packet to send [14:12:06]OFD Sender: No OFD packet to send [14:12:11]OFD Sender: No OFD packet to send [14:12:16]OFD Sender: No OFD packet to send [14:12:21]OFD Sender: No OFD packet to send [14:12:26]OFD Sender: No OFD packet to send [14:12:31]OFD Sender: No OFD packet to send [14:12:36]OFD Sender: No OFD packet to send [14:12:41]OFD Sender: No OFD packet to send [14:12:46]OFD Sender: No OFD packet to send [14:12:51]OFD Sender: No OFD packet to send [14:12:56]OFD Sender: No OFD packet to send [14:13:01]OFD Sender: No OFD packet to send [14:13:06]OFD Sender: No OFD packet to send [14:13:11]OFD Sender: No OFD packet to send [14:13:16]OFD Sender: No OFD packet to send [14:13:21]OFD Sender: No OFD packet to send [14:13:26]OFD Sender: No OFD packet to send [14:13:31]OFD Sender: No OFD packet to send [14:13:36]OFD Sender: No OFD packet to send [14:13:41]OFD Sender: No OFD packet to send [14:13:46]OFD Sender: No OFD packet to send [14:13:51]OFD Sender: No OFD packet to send [14:13:56]OFD Sender: No OFD packet to send [14:14:01]OFD Sender: No OFD packet to send [14:14:06]OFD Sender: No OFD packet to send [14:14:11]OFD Sender: No OFD packet to send [14:14:16]OFD Sender: No OFD packet to send [14:14:21]OFD Sender: No OFD packet to send [14:14:26]OFD Sender: No OFD packet to send [14:14:31]OFD Sender: No OFD packet to send [14:14:36]OFD Sender: No OFD packet to send [14:14:41]OFD Sender: No OFD packet to send [14:14:46]OFD Sender: No OFD packet to send [14:14:51]OFD Sender: No OFD packet to send [14:14:56]OFD Sender: No OFD packet to send [14:15:01]OFD Sender: No OFD packet to send [14:15:06]OFD Sender: No OFD packet to send [14:15:11]OFD Sender: No OFD packet to send [14:15:16]OFD Sender: No OFD packet to send [14:15:21]OFD Sender: No OFD packet to send [14:15:26]OFD Sender: No OFD packet to send [14:15:31]OFD Sender: No OFD packet to send [14:15:36]OFD Sender: No OFD packet to send [14:15:41]OFD Sender: No OFD packet to send [14:15:46]OFD Sender: No OFD packet to send [14:15:51]OFD Sender: No OFD packet to send [14:15:56]OFD Sender: No OFD packet to send [14:16:01]OFD Sender: No OFD packet to send [14:16:06]OFD Sender: No OFD packet to send [14:16:11]OFD Sender: No OFD packet to send [14:16:16]OFD Sender: No OFD packet to send [14:16:21]OFD Sender: No OFD packet to send [14:16:26]OFD Sender: No OFD packet to send [14:16:31]OFD Sender: No OFD packet to send [14:16:36]OFD Sender: No OFD packet to send [14:16:41]OFD Sender: No OFD packet to send [14:16:46]OFD Sender: No OFD packet to send [14:16:51]OFD Sender: No OFD packet to send [14:16:56]OFD Sender: No OFD packet to send [14:17:01]OFD Sender: No OFD packet to send [14:17:06]OFD Sender: No OFD packet to send [14:17:11]OFD Sender: No OFD packet to send [14:17:16]OFD Sender: No OFD packet to send [14:17:21]OFD Sender: No OFD packet to send [14:17:26]OFD Sender: No OFD packet to send [14:17:31]OFD Sender: No OFD packet to send [14:17:36]OFD Sender: No OFD packet to send [14:17:41]OFD Sender: No OFD packet to send [14:17:46]OFD Sender: No OFD packet to send [14:17:51]OFD Sender: No OFD packet to send [14:17:56]OFD Sender: No OFD packet to send [14:18:01]OFD Sender: No OFD packet to send [14:18:06]OFD Sender: No OFD packet to send [14:18:11]OFD Sender: No OFD packet to send [14:18:16]OFD Sender: No OFD packet to send [14:18:21]OFD Sender: No OFD packet to send [14:18:26]OFD Sender: No OFD packet to send [14:18:31]OFD Sender: No OFD packet to send [14:18:36]OFD Sender: No OFD packet to send [14:18:41]OFD Sender: No OFD packet to send [14:18:46]OFD Sender: No OFD packet to send [14:18:51]OFD Sender: No OFD packet to send [14:18:56]OFD Sender: No OFD packet to send [14:19:01]OFD Sender: No OFD packet to send [14:19:06]OFD Sender: No OFD packet to send [14:19:12]OFD Sender: No OFD packet to send [14:19:17]OFD Sender: No OFD packet to send [14:19:22]OFD Sender: No OFD packet to send [14:19:27]OFD Sender: No OFD packet to send [14:19:32]OFD Sender: No OFD packet to send [14:19:37]OFD Sender: No OFD packet to send [14:19:42]OFD Sender: No OFD packet to send [14:19:47]OFD Sender: No OFD packet to send [14:19:52]OFD Sender: No OFD packet to send [14:19:57]OFD Sender: No OFD packet to send [14:20:02]OFD Sender: No OFD packet to send [14:20:07]OFD Sender: No OFD packet to send [14:20:12]OFD Sender: No OFD packet to send [14:20:17]OFD Sender: No OFD packet to send [14:20:22]OFD Sender: No OFD packet to send [14:20:27]OFD Sender: No OFD packet to send [14:20:32]OFD Sender: No OFD packet to send [14:20:37]OFD Sender: No OFD packet to send [14:20:42]OFD Sender: No OFD packet to send [14:20:47]OFD Sender: No OFD packet to send [14:20:52]OFD Sender: No OFD packet to send [14:20:57]OFD Sender: No OFD packet to send [14:21:02]OFD Sender: No OFD packet to send [14:21:07]OFD Sender: No OFD packet to send [14:21:12]OFD Sender: No OFD packet to send [14:21:17]OFD Sender: No OFD packet to send [14:21:22]OFD Sender: No OFD packet to send [14:21:27]OFD Sender: No OFD packet to send [14:21:32]OFD Sender: No OFD packet to send [14:21:37]OFD Sender: No OFD packet to send [14:21:42]OFD Sender: No OFD packet to send [14:21:47]OFD Sender: No OFD packet to send [14:21:52]OFD Sender: No OFD packet to send [14:21:57]OFD Sender: No OFD packet to send [14:22:02]OFD Sender: No OFD packet to send [14:22:07]OFD Sender: No OFD packet to send [14:22:12]OFD Sender: No OFD packet to send [14:22:17]OFD Sender: No OFD packet to send [14:22:22]OFD Sender: No OFD packet to send [14:22:27]OFD Sender: No OFD packet to send [14:22:32]OFD Sender: No OFD packet to send [14:22:37]OFD Sender: No OFD packet to send [14:22:42]OFD Sender: No OFD packet to send [14:22:47]OFD Sender: No OFD packet to send [14:22:52]OFD Sender: No OFD packet to send [14:22:57]OFD Sender: No OFD packet to send [14:23:02]OFD Sender: No OFD packet to send [14:23:07]OFD Sender: No OFD packet to send [14:23:12]OFD Sender: No OFD packet to send [14:23:17]OFD Sender: No OFD packet to send [14:23:22]OFD Sender: No OFD packet to send [14:23:27]OFD Sender: No OFD packet to send [14:23:32]OFD Sender: No OFD packet to send [14:23:37]OFD Sender: No OFD packet to send [14:23:42]OFD Sender: No OFD packet to send [14:23:47]OFD Sender: No OFD packet to send [14:23:52]OFD Sender: No OFD packet to send [14:23:57]OFD Sender: No OFD packet to send [14:24:02]OFD Sender: No OFD packet to send [14:24:07]OFD Sender: No OFD packet to send [14:24:12]OFD Sender: No OFD packet to send [14:24:17]OFD Sender: No OFD packet to send [14:24:22]OFD Sender: No OFD packet to send [14:24:27]OFD Sender: No OFD packet to send [14:24:32]OFD Sender: No OFD packet to send [14:24:37]OFD Sender: No OFD packet to send [14:24:42]OFD Sender: No OFD packet to send [14:24:47]OFD Sender: No OFD packet to send [14:24:52]OFD Sender: No OFD packet to send [14:24:57]OFD Sender: No OFD packet to send [14:25:02]OFD Sender: No OFD packet to send [14:25:07]OFD Sender: No OFD packet to send [14:25:12]OFD Sender: No OFD packet to send [14:25:17]OFD Sender: No OFD packet to send [14:25:22]OFD Sender: No OFD packet to send [14:25:27]OFD Sender: No OFD packet to send [14:25:32]OFD Sender: No OFD packet to send [14:25:37]OFD Sender: No OFD packet to send [14:25:42]OFD Sender: No OFD packet to send [14:25:47]OFD Sender: No OFD packet to send [14:25:52]OFD Sender: No OFD packet to send [14:25:57]OFD Sender: No OFD packet to send [14:26:02]OFD Sender: No OFD packet to send [14:26:07]OFD Sender: No OFD packet to send [14:26:12]OFD Sender: No OFD packet to send [14:26:17]OFD Sender: No OFD packet to send [14:26:22]OFD Sender: No OFD packet to send [14:26:27]OFD Sender: No OFD packet to send [14:26:32]OFD Sender: No OFD packet to send [14:26:37]OFD Sender: No OFD packet to send [14:26:42]OFD Sender: No OFD packet to send [14:26:47]OFD Sender: No OFD packet to send [14:26:52]OFD Sender: No OFD packet to send [14:26:57]OFD Sender: No OFD packet to send [14:27:02]OFD Sender: No OFD packet to send [14:27:07]OFD Sender: No OFD packet to send [14:27:12]OFD Sender: No OFD packet to send [14:27:17]OFD Sender: No OFD packet to send [14:27:22]OFD Sender: No OFD packet to send [14:27:27]OFD Sender: No OFD packet to send [14:27:32]OFD Sender: No OFD packet to send [14:27:37]OFD Sender: No OFD packet to send [14:27:42]OFD Sender: No OFD packet to send [14:27:47]OFD Sender: No OFD packet to send [14:27:52]OFD Sender: No OFD packet to send [14:27:57]OFD Sender: No OFD packet to send [14:28:02]OFD Sender: No OFD packet to send [14:28:07]OFD Sender: No OFD packet to send [14:28:12]OFD Sender: No OFD packet to send [14:28:17]OFD Sender: No OFD packet to send [14:28:22]OFD Sender: No OFD packet to send [14:28:27]OFD Sender: No OFD packet to send [14:28:32]OFD Sender: No OFD packet to send [14:28:37]OFD Sender: No OFD packet to send [14:28:42]OFD Sender: No OFD packet to send [14:28:47]OFD Sender: No OFD packet to send [14:28:52]OFD Sender: No OFD packet to send [14:28:57]OFD Sender: No OFD packet to send [14:29:02]OFD Sender: No OFD packet to send [14:29:07]OFD Sender: No OFD packet to send [14:29:12]OFD Sender: No OFD packet to send [14:29:17]OFD Sender: No OFD packet to send [14:29:22]OFD Sender: No OFD packet to send [14:29:27]OFD Sender: No OFD packet to send [14:29:32]OFD Sender: No OFD packet to send [14:29:37]OFD Sender: No OFD packet to send [14:29:42]OFD Sender: No OFD packet to send [14:29:47]OFD Sender: No OFD packet to send [14:29:52]OFD Sender: No OFD packet to send [14:29:57]OFD Sender: No OFD packet to send [14:30:02]OFD Sender: No OFD packet to send [14:30:07]OFD Sender: No OFD packet to send [14:30:12]OFD Sender: No OFD packet to send [14:30:17]OFD Sender: No OFD packet to send [14:30:22]OFD Sender: No OFD packet to send [14:30:27]OFD Sender: No OFD packet to send [14:30:32]OFD Sender: No OFD packet to send [14:30:37]OFD Sender: No OFD packet to send [14:30:42]OFD Sender: No OFD packet to send [14:30:47]OFD Sender: No OFD packet to send [14:30:52]OFD Sender: No OFD packet to send [14:30:57]OFD Sender: No OFD packet to send [14:31:02]OFD Sender: No OFD packet to send [14:31:07]OFD Sender: No OFD packet to send [14:31:12]OFD Sender: No OFD packet to send [14:31:17]OFD Sender: No OFD packet to send [14:31:22]OFD Sender: No OFD packet to send [14:31:27]OFD Sender: No OFD packet to send [14:31:32]OFD Sender: No OFD packet to send [14:31:37]OFD Sender: No OFD packet to send [14:31:42]OFD Sender: No OFD packet to send [14:31:47]OFD Sender: No OFD packet to send [14:31:52]OFD Sender: No OFD packet to send [14:31:57]OFD Sender: No OFD packet to send [14:32:02]OFD Sender: No OFD packet to send [14:32:07]OFD Sender: No OFD packet to send [14:32:12]OFD Sender: No OFD packet to send [14:32:17]OFD Sender: No OFD packet to send [14:32:22]OFD Sender: No OFD packet to send [14:32:27]OFD Sender: No OFD packet to send [14:32:32]OFD Sender: No OFD packet to send [14:32:37]OFD Sender: No OFD packet to send [14:32:42]OFD Sender: No OFD packet to send [14:32:47]OFD Sender: No OFD packet to send [14:32:52]OFD Sender: No OFD packet to send [14:32:57]OFD Sender: No OFD packet to send [14:33:02]OFD Sender: No OFD packet to send [14:33:07]OFD Sender: No OFD packet to send [14:33:12]OFD Sender: No OFD packet to send [14:33:17]OFD Sender: No OFD packet to send [14:33:22]OFD Sender: No OFD packet to send [14:33:27]OFD Sender: No OFD packet to send [14:33:32]OFD Sender: No OFD packet to send [14:33:37]OFD Sender: No OFD packet to send [14:33:42]OFD Sender: No OFD packet to send [14:33:47]OFD Sender: No OFD packet to send [14:33:52]OFD Sender: No OFD packet to send [14:33:57]OFD Sender: No OFD packet to send [14:34:02]OFD Sender: No OFD packet to send [14:34:07]OFD Sender: No OFD packet to send [14:34:12]OFD Sender: No OFD packet to send [14:34:17]OFD Sender: No OFD packet to send [14:34:22]OFD Sender: No OFD packet to send [14:34:27]OFD Sender: No OFD packet to send [14:34:32]OFD Sender: No OFD packet to send [14:34:37]OFD Sender: No OFD packet to send [14:34:42]OFD Sender: No OFD packet to send [14:34:47]OFD Sender: No OFD packet to send [14:34:52]OFD Sender: No OFD packet to send [14:34:57]OFD Sender: No OFD packet to send [14:35:02]OFD Sender: No OFD packet to send [14:35:07]OFD Sender: No OFD packet to send [14:35:12]OFD Sender: No OFD packet to send [14:35:17]OFD Sender: No OFD packet to send [14:35:22]OFD Sender: No OFD packet to send [14:35:27]OFD Sender: No OFD packet to send [14:35:32]OFD Sender: No OFD packet to send [14:35:37]OFD Sender: No OFD packet to send [14:35:42]OFD Sender: No OFD packet to send [14:35:47]OFD Sender: No OFD packet to send [14:35:52]OFD Sender: No OFD packet to send [14:35:57]OFD Sender: No OFD packet to send [14:36:02]OFD Sender: No OFD packet to send [14:36:07]OFD Sender: No OFD packet to send [14:36:12]OFD Sender: No OFD packet to send [14:36:17]OFD Sender: No OFD packet to send [14:36:22]OFD Sender: No OFD packet to send [14:36:27]OFD Sender: No OFD packet to send [14:36:32]OFD Sender: No OFD packet to send [14:36:37]OFD Sender: No OFD packet to send [14:36:42]OFD Sender: No OFD packet to send [14:36:47]OFD Sender: No OFD packet to send [14:36:52]OFD Sender: No OFD packet to send [14:36:57]OFD Sender: No OFD packet to send [14:37:02]OFD Sender: No OFD packet to send [14:37:07]OFD Sender: No OFD packet to send [14:37:12]OFD Sender: No OFD packet to send [14:37:17]OFD Sender: No OFD packet to send [14:37:22]OFD Sender: No OFD packet to send [14:37:27]OFD Sender: No OFD packet to send [14:37:32]OFD Sender: No OFD packet to send [14:37:37]OFD Sender: No OFD packet to send [14:37:42]OFD Sender: No OFD packet to send [14:37:47]OFD Sender: No OFD packet to send [14:37:52]OFD Sender: No OFD packet to send [14:37:57]OFD Sender: No OFD packet to send [14:38:02]OFD Sender: No OFD packet to send [14:38:07]OFD Sender: No OFD packet to send [14:38:12]OFD Sender: No OFD packet to send [14:38:17]OFD Sender: No OFD packet to send [14:38:22]OFD Sender: No OFD packet to send [14:38:27]OFD Sender: No OFD packet to send [14:38:32]OFD Sender: No OFD packet to send [14:38:37]OFD Sender: No OFD packet to send [14:38:39]accept exits with 9 [14:38:39]New connection [14:38:39]New thread 3066645860 created [14:38:39]Thread 3066502500 joined [14:38:39]Waiting for new connection... [14:38:39] Sock 9.Parse request [14:38:39]Sock 9.Check first char [14:38:39]Sock 9.First char is OK [14:38:39]request: POST /json_proto HTTP/1.0 [14:38:39]Method: POST [14:38:39]URL: /json_proto [14:38:39]Method is POST - this is cgi request [14:38:39]url: /json_proto [14:38:39]query_string will be loaded in cgi processing [14:38:39]execute_cgi json_proto POST (null) [14:38:39]execute_cgi path=json_proto method=POST [14:38:39]POST find Content-Length [14:38:39]Host: 172.17.45.8:8080 [14:38:39]Content-Length: 980 [14:38:39]Content-Type: application/json [14:38:39] [14:38:39]POST finish read [14:38:39]Found Content-Length = 980 [14:38:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150452", "tax_sys" : 0, "items" : [ { "code": "4607035653582", "name": "\u0412\u0430\u0444\u043B\u0438 \u0413\u043E\u043B\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0435 \u0432\u0430\u0440.\u0441\u0433\u0443\u0449 290", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329999", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u043B\u0438\u043C\u043E\u043D Regular", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 280.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:38:39]execute_script... [14:38: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)150452", "tax_sys" : 0, "items" : [ { "code": "4607035653582", "name": "\u0412\u0430\u0444\u043B\u0438 \u0413\u043E\u043B\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0435 \u0432\u0430\u0440.\u0441\u0433\u0443\u0449 290", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329999", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u043B\u0438\u043C\u043E\u043D Regular", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 280.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:38:39]POST & json_proto [14:38:39]process_json_proto [14:38:39]json parsed OK: [14:38:39]protocol is kg_v1.0 [14:38:39]action value=close_receipt [14:38:39]process_action close_receipt [14:38:39]cmd_close_receipt [14:38:39]MH_GetDate [14:38:39]Write to MH i2c: F0 00 00 1D 00 0C [14:38:39]Write i2c OK [14:38:39]MH_I2C_Read... [14:38:39]Read from MH i2c: F0 [14:38:39]MH_I2C_Read... [14:38:39]Read from MH i2c: F0 09 00 [14:38:39]MH_I2C_Read... [14:38:39]Read from MH i2c: F0 09 00 1D 00 00 EF 57 A6 66 A6 1F 7F 64 0F [14:38:39]GetLastDocTimeStamp 1722174355 [14:38:39]current date 1722177519 [14:38:39]FM_GetShiftState [14:38:39]SAM_PROTO_GetShiftState [14:38:39]wFMCommunicate request_size=4 [14:38:39]MH_SAM_APDU [14:38:39]CAPDU: 80 13 01 00 [14:38:39]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [14:38:39]Write i2c OK [14:38:39]MH_I2C_Read... [14:38:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:38:39]Read from MH i2c: E2 [14:38:39]MH_I2C_Read... [14:38:39]Read from MH i2c: E2 0E 00 [14:38:39]MH_I2C_Read... [14:38:39]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 C3 [14:38:39]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:38:39]wFMCommunicate OK [14:38:39]SAM_PROTO_GetShiftState done [14:38:39]FM_GetShiftState done [14:38:39]opened in 1722127230 [14:38:39]opened+sec_in_day 1722213630 [14:38:39]quantity*price = 15000 [14:38:39]sum+1 = 15001 [14:38:39]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870002329999 Напиток Lipton IceTea 1л лимон Regular 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 280.00 НСП 1% : 2.48 НДС 12% : 29.73 Наличными: 280.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 32 28.07.2024 14:38 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27054 ФПД: 68760419196959 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T143839&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27054&fm=68760419196959&tin=02508201610067®Number=0000000000092663&sum=28000 0 [14:38:40]StoreToDocumentArchive [14:38:40]shift 433 fd 27054 [14:38:40]save to /storage/0433/doc_00027054 [14:38:40]save last doc name /storage/0433/doc_00027054 to /storage/kkm_last_doc_name [14:38:40]save OK [14:38:40]Clear old archive folders... [14:38:40]ProcessDocumentItem done err = 0, tmpTLVsize=418 [14:38:40]tlvbuf is 005456A0 [14:38:40]SAM_PROTO_ClearQueue [14:38:40]wFMCommunicate request_size=4 [14:38:40]MH_SAM_APDU [14:38:40]CAPDU: 80 09 00 00 [14:38:40]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [14:38:40]Write i2c OK [14:38:40]MH_I2C_Read... [14:38:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:38:40]Read from MH i2c: E2 [14:38:40]MH_I2C_Read... [14:38:40]Read from MH i2c: E2 03 00 [14:38:40]MH_I2C_Read... [14:38:40]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [14:38:40]RAPDU: 90 00 [14:38:40]wFMCommunicate OK [14:38:40]SAM_PROTO_ClearQueue done [14:38:40]KKMCreateOFDPacket [14:38:40]OFDProtocolAddRootSTLVToBuf [14:38:40]FM_MakeSignedData [14:38:40]FM_MakeSignedData [14:38:40]SAM_PROTO_SignData [14:38:40]wFMCommunicate request_size=4 [14:38:40]MH_SAM_APDU [14:38:40]CAPDU: 80 0D 01 02 [14:38:40]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [14:38:40]Write i2c OK [14:38:40]MH_I2C_Read... [14:38:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:38:40]Read from MH i2c: E2 [14:38:40]MH_I2C_Read... [14:38:40]Read from MH i2c: E2 03 00 [14:38:40]MH_I2C_Read... [14:38:40]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [14:38:40]RAPDU: 90 00 [14:38:40]wFMCommunicate OK [14:38:40]wFMCommunicate request_size=255 [14:38:40]MH_SAM_APDU [14:38:40]CAPDU: 80 0D 02 02 FA 03 00 A2 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 38 32 06 04 35 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 B2 D0 B0 D1 80 2E D1 81 D0 B3 D1 83 D1 89 20 32 39 30 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 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 39 39 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 52 65 67 75 6C 61 72 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 [14:38:40]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 A2 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 38 32 06 04 35 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 B2 D0 B0 D1 80 2E D1 81 D0 B3 D1 83 D1 89 20 32 39 30 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 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 39 39 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 52 65 67 75 6C 61 72 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 00 55 [14:38:40]Write i2c OK [14:38:40]MH_I2C_Read... [14:38:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:38:40]Read from MH i2c: E2 [14:38:40]MH_I2C_Read... [14:38:40]Read from MH i2c: E2 03 00 [14:38:40]MH_I2C_Read... [14:38:40]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [14:38:40]RAPDU: 90 00 [14:38:40]wFMCommunicate OK [14:38:40]wFMCommunicate request_size=177 [14:38:40]MH_SAM_APDU [14:38:40]CAPDU: 80 0D 02 02 AC 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 60 6D 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 EF 57 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AE 69 00 00 35 04 06 00 3E 89 88 5C 60 1F [14:38:40]Write to MH i2c: E2 B4 00 2E 00 80 0D 02 02 AC 00 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 60 6D 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 EF 57 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AE 69 00 00 35 04 06 00 3E 89 88 5C 60 1F 00 00 AB [14:38:40]Write i2c OK [14:38:40]MH_I2C_Read... [14:38:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:38:41]Read from MH i2c: E2 [14:38:41]MH_I2C_Read... [14:38:41]Read from MH i2c: E2 03 00 [14:38:41]MH_I2C_Read... [14:38:41]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [14:38:41]RAPDU: 90 00 [14:38:41]wFMCommunicate OK [14:38:41]wFMCommunicate request_size=4 [14:38:41]MH_SAM_APDU [14:38:41]CAPDU: 80 0D 03 02 [14:38:41]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [14:38:41]Write i2c OK [14:38:41]MH_I2C_Read... [14:38:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:38:41]Read from MH i2c: E2 [14:38:41]MH_I2C_Read... [14:38:41]Read from MH i2c: E2 0B 00 [14:38:41]MH_I2C_Read... [14:38:41]Read from MH i2c: E2 0B 00 2F 00 00 09 EB 01 AA 70 6C 9C 24 90 00 E6 [14:38:41]RAPDU: 09 EB 01 AA 70 6C 9C 24 90 00 [14:38:41]wFMCommunicate OK [14:38:41]SAM_PROTO_SignData done [14:38:41]FM_MakeSignedData done [14:38:41]CreateOFDProtocolMessage [14:38:41]wFMCommunicate request_size=4 [14:38:41]MH_SAM_APDU [14:38:41]CAPDU: 80 11 00 00 [14:38:41]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [14:38:41]Write i2c OK [14:38:41]MH_I2C_Read... [14:38:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:38:41]Read from MH i2c: E2 [14:38:41]MH_I2C_Read... [14:38:41]Read from MH i2c: E2 17 00 [14:38:41]MH_I2C_Read... [14:38:41]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 03 [14:38:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:38:41]wFMCommunicate OK [14:38:41]CreateOFDProtocolMessage done [14:38:41]OFDSenderStorePacket 27054 [14:38:41]StoreOFDPacket docnum=27054 [14:38:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 B6 01 00 00 13 22 AE 01 58 F0 5A 03 01 00 03 00 A2 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 38 32 06 04 35 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 B2 D0 B0 D1 80 2E D1 81 D0 B3 D1 83 D1 89 20 32 39 30 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 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 39 39 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 52 65 67 75 6C 61 72 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 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 60 6D 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 EF 57 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AE 69 00 00 35 04 06 00 3E 89 88 5C 60 1F 09 EB 01 AA 70 6C 9C 24 [14:38:41]CheckFolder [14:38:41]dirname=/storage/ofd_packets [14:38:41]CheckFolder done [14:38:41]ProducePacketName [14:38:41]name=ofd_packets/00027054 [14:38:41]NVStorageSaveData ofd_packets/00027054 [14:38:41]File name is /storage/ofd_packets/00027054 [14:38:41]Write 468 bytes [14:38:41]NVStorageSaveData done [14:38:41]OFDSenderStorePacket done [14:38:41]KKMCreateOFDPacket done [14:38:41]NVStorageSaveData kkm_last_timestamp [14:38:41]File name is /storage/kkm_last_timestamp [14:38:41]Write 4 bytes [14:38:41]NVStorageSaveData done [14:38:41]ExternCall_PrintAddStr [14:38:41]wPrintStart [14:38:41]Write to MH i2c: 01 00 00 31 00 31 [14:38:41]Write i2c OK [14:38:41]MH_I2C_Read... [14:38:41]Read from MH i2c: 01 [14:38:41]MH_I2C_Read... [14:38:41]Read from MH i2c: 01 07 00 [14:38:41]MH_I2C_Read... [14:38:41]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [14:38:41]RasterBufferAndPrint [14:38:41]line Счет N : (3)150452 [14:38:41]line ИНН: 02508201610067 [14:38:41]line Контрольно-Кассовый Чек [14:38:41]line ПРОДАЖА [14:38:41]line Товар: 4607035653582 [14:38:41]line Вафли Голландские вар.сгущ 290 [14:38:41]line 1.000 * 150.00 [14:38:41]line = 150.00 [14:38:41]line НДС 12% НСП 1% [14:38:41]line > о реализуемом товаре [14:38:41]line Товар: 4870002329999 [14:38:41]line Напиток Lipton IceTea 1л лимон Regular [14:38:41]line 1.000 * 130.00 [14:38:41]line = 130.00 [14:38:41]line НДС 12% НСП 1% [14:38:41]line > о реализуемом товаре [14:38:41]line ИТОГО: 280.00 [14:38:41]line НСП 1% : 2.48 [14:38:41]line НДС 12% : 29.73 [14:38:41]line Наличными: 280.00 [14:38:41]line Безнал.: 0.00 [14:38:41]line Место: АЗС № 134 "Партнер Нефть" [14:38:41]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [14:38:41]line СНО: Общий режим [14:38:41]line Чек 32 28.07.2024 14:38 [14:38:41]line Смена: 433 ФФД: 1.0 [14:38:41]line ЗНМ: 0300000043 [14:38:41]line РНМ: 0000000000092663 [14:38:41]line Версия ККМ: 001 [14:38:41]line ФМ: 0000000000874937 [14:38:41]line ФД: 27054 [14:38:41]line ФПД: 68760419196959 [14:38:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T143839&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27054&fm=68760419196959&tin=02508201610067®Number=0000000000092663&sum=28000 [14:38:41]OFD Sender: Processing packet 27054 [packets to send 9, broken 8] [14:38:41]ProducePacketName [14:38:41]name=ofd_packets/00027054 [14:38:41]OFD Sender: To server: pG, [14:38:41]CommunicateWithHost lk.salyk.kg:30040 [14:38:41]ConnectInit lk.salyk.kg [14:38:41]line 0 [14:38:41]written 0, free lines is 4095 [14:38:41]Connected sock=10 [14:38:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 B6 01 00 00 13 22 AE 01 58 F0 5A 03 01 00 03 00 A2 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 38 32 06 04 35 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 B2 D0 B0 D1 80 2E D1 81 D0 B3 D1 83 D1 89 20 32 39 30 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 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 39 39 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 52 65 67 75 6C 61 72 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 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 60 6D 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 EF 57 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AE 69 00 00 35 04 06 00 3E 89 88 5C 60 1F 09 EB 01 AA 70 6C 9C 24 [14:38:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 19 92 47 00 63 78 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 38 37 34 39 33 37 10 04 04 00 AE 69 00 00 F4 03 04 00 43 FE A5 66 B6 04 01 00 00 27 44 2E A9 2B 45 E6 73 [14:38:41]CommunicateWithHost err = 0 [14:38:41]CheckOFDResponse [14:38:41]1017 (14) - 77093643461234 [14:38:41]1041 (16) - 0000000000874937 [14:38:41]1040 (4) - 27054 [14:38:41]1012 (4) - 28.07.2024 08:16 [14:38:41]1206 (1) - 0 [14:38:41]OFD Sender: Remove packet 27054 [14:38:41]ProducePacketName [14:38:41]name=ofd_packets/00027054 [14:38:41]NVStorageDeleteData [14:38:42]Write to MH i2c: 01 00 00 60 00 60 [14:38:42]Write i2c OK [14:38:42]MH_I2C_Read... [14:38:42]Read from MH i2c: 01 [14:38:42]MH_I2C_Read... [14:38:42]Read from MH i2c: 01 07 00 [14:38:42]MH_I2C_Read... [14:38:42]Read from MH i2c: 01 07 00 60 00 00 00 00 00 00 76 0C E9 [14:38:42]RasterBufferAndPrint [14:38:42]line [14:38:42]line [14:38:42]line [14:38:42]line [14:38:42]line [14:38:42]written 0, free lines is 3199 [14:38:42]MH_Cut [14:38:42]Write to MH i2c: D1 01 00 67 00 01 39 [14:38:42]Write i2c OK [14:38:42]MH_I2C_Read... [14:38:42]Read from MH i2c: D1 [14:38:42]MH_I2C_Read... [14:38:42]Read from MH i2c: D1 01 00 [14:38:42]MH_I2C_Read... [14:38:42]Read from MH i2c: D1 01 00 67 00 00 38 [14:38:42]Write to MH i2c: 01 00 00 68 00 68 [14:38:42]Write i2c OK [14:38:42]MH_I2C_Read... [14:38:42]OFD Sender: No OFD packet to send [14:38:42]*** Cut start [14:38:42]*** Partial cut [14:38:42]*** CUTSNS_PIN = 1 [14:38:42]*** CUTSNS_PIN = 0 [14:38:43]*** Brake cut motor [14:38:43]Read from MH i2c: 01 [14:38:43]MH_I2C_Read... [14:38:43]*** Stop cut motor [14:38:43]*** Cut end [14:38:43]Read from MH i2c: 01 07 00 [14:38:43]MH_I2C_Read... [14:38:43]Read from MH i2c: 01 07 00 68 00 00 00 00 00 00 FF 0F 7D [14:38:43]process_action close_receipt done [14:38:43]requested_data is exist [14:38:43]produce_requested_data [14:38:43]requested_item fm.sn is exist - process it [14:38:43]wFMCommunicate request_size=4 [14:38:43]MH_SAM_APDU [14:38:43]CAPDU: 80 11 00 00 [14:38:43]Write to MH i2c: E2 08 00 69 00 80 11 00 00 00 00 00 00 E3 [14:38:43]Write i2c OK [14:38:43]MH_I2C_Read... [14:38:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:38:43]Read from MH i2c: E2 [14:38:43]MH_I2C_Read... [14:38:43]Read from MH i2c: E2 17 00 [14:38:43]MH_I2C_Read... [14:38:43]Read from MH i2c: E2 17 00 69 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 3C [14:38:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:38:43]wFMCommunicate OK [14:38:43]requested_item fd.num is exist - process it [14:38:43]SAM_PROTO_GetFieldsCounters [14:38:43]wFMCommunicate request_size=4 [14:38:43]MH_SAM_APDU [14:38:43]CAPDU: 80 13 00 00 [14:38:43]Write to MH i2c: E2 08 00 6A 00 80 13 00 00 00 00 00 00 E6 [14:38:43]Write i2c OK [14:38:43]MH_I2C_Read... [14:38:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:38:43]Read from MH i2c: E2 [14:38:43]MH_I2C_Read... [14:38:43]Read from MH i2c: E2 62 00 [14:38:43]MH_I2C_Read... [14:38:43]Read from MH i2c: E2 62 00 6A 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 AE 69 00 00 0E 04 04 00 B1 01 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 37 [14:38:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 AE 69 00 00 0E 04 04 00 B1 01 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 [14:38:43]wFMCommunicate OK [14:38:43]SAM_PROTO_GetFieldsCounters done [14:38:43]requested_item shift.num is exist - process it [14:38:43]requested_item shift.opened is exist - process it [14:38:43]req_shift_opened [14:38:43]FM_GetShiftState [14:38:43]SAM_PROTO_GetShiftState [14:38:43]wFMCommunicate request_size=4 [14:38:43]MH_SAM_APDU [14:38:43]CAPDU: 80 13 01 00 [14:38:43]Write to MH i2c: E2 08 00 6B 00 80 13 01 00 00 00 00 00 E8 [14:38:43]Write i2c OK [14:38:43]MH_I2C_Read... [14:38:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:38:43]Read from MH i2c: E2 [14:38:43]MH_I2C_Read... [14:38:43]Read from MH i2c: E2 0E 00 [14:38:43]MH_I2C_Read... [14:38:43]Read from MH i2c: E2 0E 00 6B 00 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 10 [14:38:43]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:38:43]wFMCommunicate OK [14:38:43]SAM_PROTO_GetShiftState done [14:38:43]FM_GetShiftState done [14:38:43]req_shift_opened done [14:38:43]requested_item shift.open_date is exist - process it [14:38:43]req_shift_open_date [14:38:43]req_shift_open_date done [14:38:43]produce_requested_data done [14:38:43]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27054,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [14:38:43]process_action_free close_receipt [14:38:43]json_value_free [14:38:43]json_value_free done [14:38:43]process_json_proto returns [14:38:43]Send response to host [14:38:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27054,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [14:38:43]free response buf [14:38:43]execute_script done [14:38:43]execute_script returns [14:38:43]free content buf [14:38:43]Sock 9.Close socket [14:38:43]Sock 9.Thread stoped [14:38:47]OFD Sender: No OFD packet to send [14:38:52]OFD Sender: No OFD packet to send [14:38:57]OFD Sender: No OFD packet to send [14:39:02]OFD Sender: No OFD packet to send [14:39:07]OFD Sender: No OFD packet to send [14:39:12]OFD Sender: No OFD packet to send [14:39:17]OFD Sender: No OFD packet to send [14:39:22]OFD Sender: No OFD packet to send [14:39:27]OFD Sender: No OFD packet to send [14:39:32]OFD Sender: No OFD packet to send [14:39:37]OFD Sender: No OFD packet to send [14:39:42]OFD Sender: No OFD packet to send [14:39:47]OFD Sender: No OFD packet to send [14:39:52]OFD Sender: No OFD packet to send [14:39:57]OFD Sender: No OFD packet to send [14:40:02]OFD Sender: No OFD packet to send [14:40:06]accept exits with 7 [14:40:06]New connection [14:40:06]New thread 3066502500 created [14:40:06]Thread 3066645860 joined [14:40:06]Waiting for new connection... [14:40:06] Sock 7.Parse request [14:40:06]Sock 7.Check first char [14:40:06]Sock 7.First char is OK [14:40:06]request: POST /json_proto HTTP/1.0 [14:40:06]Method: POST [14:40:06]URL: /json_proto [14:40:06]Method is POST - this is cgi request [14:40:06]url: /json_proto [14:40:06]query_string will be loaded in cgi processing [14:40:06]execute_cgi json_proto POST (null) [14:40:06]execute_cgi path=json_proto method=POST [14:40:06]POST find Content-Length [14:40:06]Host: 172.17.45.8:8080 [14:40:06]Content-Length: 943 [14:40:06]Content-Type: application/json [14:40:06] [14:40:06]POST finish read [14:40:06]Found Content-Length = 943 [14:40:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150453", "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" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 215.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:40:06]execute_script... [14:40: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)150453", "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" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 215.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:40:06]POST & json_proto [14:40:06]process_json_proto [14:40:06]json parsed OK: [14:40:06]protocol is kg_v1.0 [14:40:06]action value=close_receipt [14:40:06]process_action close_receipt [14:40:06]cmd_close_receipt [14:40:06]MH_GetDate [14:40:06]Write to MH i2c: F0 00 00 6C 00 5B [14:40:06]Write i2c OK [14:40:06]MH_I2C_Read... [14:40:06]Read from MH i2c: F0 [14:40:06]MH_I2C_Read... [14:40:06]Read from MH i2c: F0 09 00 [14:40:06]MH_I2C_Read... [14:40:06]Read from MH i2c: F0 09 00 6C 00 00 46 58 A6 66 A6 1F 7F 64 B6 [14:40:06]GetLastDocTimeStamp 1722177519 [14:40:06]current date 1722177606 [14:40:06]FM_GetShiftState [14:40:06]SAM_PROTO_GetShiftState [14:40:06]wFMCommunicate request_size=4 [14:40:06]MH_SAM_APDU [14:40:06]CAPDU: 80 13 01 00 [14:40:06]Write to MH i2c: E2 08 00 6D 00 80 13 01 00 00 00 00 00 EA [14:40:06]Write i2c OK [14:40:06]MH_I2C_Read... [14:40:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:40:06]Read from MH i2c: E2 [14:40:06]MH_I2C_Read... [14:40:06]Read from MH i2c: E2 0E 00 [14:40:06]MH_I2C_Read... [14:40:06]Read from MH i2c: E2 0E 00 6D 00 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 12 [14:40:06]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:40:06]wFMCommunicate OK [14:40:06]SAM_PROTO_GetShiftState done [14:40:06]FM_GetShiftState done [14:40:06]opened in 1722127230 [14:40:06]opened+sec_in_day 1722213630 [14:40:06]quantity*price = 13000 [14:40:06]sum+1 = 13001 [14:40:06]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600682557456 Напиток FLash up energy эн ж/б 0,5/0,45л 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 215.00 НСП 1% : 1.90 НДС 12% : 22.83 Наличными: 215.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 33 28.07.2024 14:40 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27055 ФПД: 215800110381540 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T144006&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27055&fm=215800110381540&tin=02508201610067®Number=0000000000092663&sum=21500 0 [14:40:07]StoreToDocumentArchive [14:40:07]shift 433 fd 27055 [14:40:07]save to /storage/0433/doc_00027055 [14:40:07]save last doc name /storage/0433/doc_00027055 to /storage/kkm_last_doc_name [14:40:07]save OK [14:40:07]Clear old archive folders... [14:40:07]ProcessDocumentItem done err = 0, tmpTLVsize=408 [14:40:07]tlvbuf is 005775C0 [14:40:07]SAM_PROTO_ClearQueue [14:40:07]wFMCommunicate request_size=4 [14:40:07]MH_SAM_APDU [14:40:07]CAPDU: 80 09 00 00 [14:40:07]Write to MH i2c: E2 08 00 7A 00 80 09 00 00 00 00 00 00 EC [14:40:07]Write i2c OK [14:40:07]MH_I2C_Read... [14:40:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:40:07]Read from MH i2c: E2 [14:40:07]MH_I2C_Read... [14:40:07]Read from MH i2c: E2 03 00 [14:40:07]MH_I2C_Read... [14:40:07]Read from MH i2c: E2 03 00 7A 00 00 90 00 EE [14:40:07]RAPDU: 90 00 [14:40:07]wFMCommunicate OK [14:40:07]SAM_PROTO_ClearQueue done [14:40:07]KKMCreateOFDPacket [14:40:07]OFDProtocolAddRootSTLVToBuf [14:40:07]FM_MakeSignedData [14:40:07]FM_MakeSignedData [14:40:07]SAM_PROTO_SignData [14:40:07]wFMCommunicate request_size=4 [14:40:07]MH_SAM_APDU [14:40:07]CAPDU: 80 0D 01 02 [14:40:07]Write to MH i2c: E2 08 00 7B 00 80 0D 01 02 00 00 00 00 F4 [14:40:07]Write i2c OK [14:40:07]MH_I2C_Read... [14:40:07]OFD Sender: No OFD packet to send [14:40:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:40:07]Read from MH i2c: E2 [14:40:07]MH_I2C_Read... [14:40:07]Read from MH i2c: E2 03 00 [14:40:07]MH_I2C_Read... [14:40:07]Read from MH i2c: E2 03 00 7B 00 00 90 00 EF [14:40:07]RAPDU: 90 00 [14:40:07]wFMCommunicate OK [14:40:07]wFMCommunicate request_size=255 [14:40:07]MH_SAM_APDU [14:40:07]CAPDU: 80 0D 02 02 FA 03 00 98 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 D0 07 00 00 00 00 00 37 04 06 00 64 19 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 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 [14:40:07]Write to MH i2c: E2 02 01 7C 00 80 0D 02 02 FA 00 03 00 98 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 D0 07 00 00 00 00 00 37 04 06 00 64 19 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 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 00 50 [14:40:07]Write i2c OK [14:40:07]MH_I2C_Read... [14:40:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:40:07]Read from MH i2c: E2 [14:40:07]MH_I2C_Read... [14:40:07]Read from MH i2c: E2 03 00 [14:40:07]MH_I2C_Read... [14:40:07]Read from MH i2c: E2 03 00 7C 00 00 90 00 F0 [14:40:07]RAPDU: 90 00 [14:40:07]wFMCommunicate OK [14:40:07]wFMCommunicate request_size=167 [14:40:07]MH_SAM_APDU [14:40:07]CAPDU: 80 0D 02 02 A2 00 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 FC 53 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 46 58 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AF 69 00 00 35 04 06 00 C4 44 E0 EB F9 E4 [14:40:07]Write to MH i2c: E2 AA 00 7D 00 80 0D 02 02 A2 00 00 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 FC 53 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 46 58 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AF 69 00 00 35 04 06 00 C4 44 E0 EB F9 E4 00 00 13 [14:40:07]Write i2c OK [14:40:07]MH_I2C_Read... [14:40:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:40:08]Read from MH i2c: E2 [14:40:08]MH_I2C_Read... [14:40:08]Read from MH i2c: E2 03 00 [14:40:08]MH_I2C_Read... [14:40:08]Read from MH i2c: E2 03 00 7D 00 00 90 00 F1 [14:40:08]RAPDU: 90 00 [14:40:08]wFMCommunicate OK [14:40:08]wFMCommunicate request_size=4 [14:40:08]MH_SAM_APDU [14:40:08]CAPDU: 80 0D 03 02 [14:40:08]Write to MH i2c: E2 08 00 7E 00 80 0D 03 02 00 00 00 00 F9 [14:40:08]Write i2c OK [14:40:08]MH_I2C_Read... [14:40:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:40:08]Read from MH i2c: E2 [14:40:08]MH_I2C_Read... [14:40:08]Read from MH i2c: E2 0B 00 [14:40:08]MH_I2C_Read... [14:40:08]Read from MH i2c: E2 0B 00 7E 00 00 02 FC 2D 1B 96 43 FF 5F 90 00 77 [14:40:08]RAPDU: 02 FC 2D 1B 96 43 FF 5F 90 00 [14:40:08]wFMCommunicate OK [14:40:08]SAM_PROTO_SignData done [14:40:08]FM_MakeSignedData done [14:40:08]CreateOFDProtocolMessage [14:40:08]wFMCommunicate request_size=4 [14:40:08]MH_SAM_APDU [14:40:08]CAPDU: 80 11 00 00 [14:40:08]Write to MH i2c: E2 08 00 7F 00 80 11 00 00 00 00 00 00 F9 [14:40:08]Write i2c OK [14:40:08]MH_I2C_Read... [14:40:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:40:08]Read from MH i2c: E2 [14:40:08]MH_I2C_Read... [14:40:08]Read from MH i2c: E2 17 00 [14:40:08]MH_I2C_Read... [14:40:08]Read from MH i2c: E2 17 00 7F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 52 [14:40:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:40:08]wFMCommunicate OK [14:40:08]CreateOFDProtocolMessage done [14:40:08]OFDSenderStorePacket 27055 [14:40:08]StoreOFDPacket docnum=27055 [14:40:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 AC 01 00 00 6B F2 A4 01 2F 27 5A 03 01 00 03 00 98 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 D0 07 00 00 00 00 00 37 04 06 00 64 19 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 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 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 FC 53 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 46 58 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AF 69 00 00 35 04 06 00 C4 44 E0 EB F9 E4 02 FC 2D 1B 96 43 FF 5F [14:40:08]CheckFolder [14:40:08]dirname=/storage/ofd_packets [14:40:08]CheckFolder done [14:40:08]ProducePacketName [14:40:08]name=ofd_packets/00027055 [14:40:08]NVStorageSaveData ofd_packets/00027055 [14:40:08]File name is /storage/ofd_packets/00027055 [14:40:08]Write 458 bytes [14:40:08]NVStorageSaveData done [14:40:08]OFDSenderStorePacket done [14:40:08]KKMCreateOFDPacket done [14:40:08]NVStorageSaveData kkm_last_timestamp [14:40:08]File name is /storage/kkm_last_timestamp [14:40:08]Write 4 bytes [14:40:08]NVStorageSaveData done [14:40:08]ExternCall_PrintAddStr [14:40:08]wPrintStart [14:40:08]Write to MH i2c: 01 00 00 80 00 80 [14:40:08]Write i2c OK [14:40:08]MH_I2C_Read... [14:40:08]Read from MH i2c: 01 [14:40:08]MH_I2C_Read... [14:40:08]Read from MH i2c: 01 07 00 [14:40:08]MH_I2C_Read... [14:40:08]Read from MH i2c: 01 07 00 80 00 00 00 00 00 00 FF 0F 95 [14:40:08]RasterBufferAndPrint [14:40:08]line Счет N : (3)150453 [14:40:08]line ИНН: 02508201610067 [14:40:08]line Контрольно-Кассовый Чек [14:40:08]line ПРОДАЖА [14:40:08]line Товар: 4700040114137 [14:40:08]line Султан чай 1л. зел лимон [14:40:08]line 2.000 * 65.00 [14:40:08]line = 130.00 [14:40:08]line НДС 12% НСП 1% [14:40:08]line > о реализуемом товаре [14:40:08]line Товар: 4600682557456 [14:40:08]line Напиток FLash up energy эн ж/б 0,5/0,45л [14:40:08]line 1.000 * 85.00 [14:40:08]line = 85.00 [14:40:08]line НДС 12% НСП 1% [14:40:08]line > о реализуемом товаре [14:40:08]line ИТОГО: 215.00 [14:40:08]line НСП 1% : 1.90 [14:40:08]line НДС 12% : 22.83 [14:40:08]line Наличными: 215.00 [14:40:08]line Безнал.: 0.00 [14:40:08]line Место: АЗС № 134 "Партнер Нефть" [14:40:08]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [14:40:08]line СНО: Общий режим [14:40:08]line Чек 33 28.07.2024 14:40 [14:40:08]line Смена: 433 ФФД: 1.0 [14:40:08]line ЗНМ: 0300000043 [14:40:08]line РНМ: 0000000000092663 [14:40:08]line Версия ККМ: 001 [14:40:08]line ФМ: 0000000000874937 [14:40:08]line ФД: 27055 [14:40:08]line ФПД: 215800110381540 [14:40:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T144006&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27055&fm=215800110381540&tin=02508201610067®Number=0000000000092663&sum=21500 [14:40:08]line 0 [14:40:08]OFD Sender: Processing packet 27055 [packets to send 9, broken 8] [14:40:08]ProducePacketName [14:40:08]name=ofd_packets/00027055 [14:40:08]OFD Sender: To server: pG, [14:40:08]CommunicateWithHost lk.salyk.kg:30040 [14:40:08]ConnectInit lk.salyk.kg [14:40:08]written 0, free lines is 4095 [14:40:08]Connected sock=10 [14:40:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 AC 01 00 00 6B F2 A4 01 2F 27 5A 03 01 00 03 00 98 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 D0 07 00 00 00 00 00 37 04 06 00 64 19 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 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 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 FC 53 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 46 58 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 AF 69 00 00 35 04 06 00 C4 44 E0 EB F9 E4 02 FC 2D 1B 96 43 FF 5F [14:40:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 8E BE 47 00 C5 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 38 37 34 39 33 37 10 04 04 00 AF 69 00 00 F4 03 04 00 9A FE A5 66 B6 04 01 00 00 77 97 0F 5C 89 E8 57 34 [14:40:08]CommunicateWithHost err = 0 [14:40:08]CheckOFDResponse [14:40:08]1017 (14) - 77093643461234 [14:40:08]1041 (16) - 0000000000874937 [14:40:08]1040 (4) - 27055 [14:40:08]1012 (4) - 28.07.2024 08:17 [14:40:08]1206 (1) - 0 [14:40:08]OFD Sender: Remove packet 27055 [14:40:08]ProducePacketName [14:40:08]name=ofd_packets/00027055 [14:40:08]NVStorageDeleteData [14:40:08]Write to MH i2c: 01 00 00 AE 00 AE [14:40:08]Write i2c OK [14:40:08]MH_I2C_Read... [14:40:08]Read from MH i2c: 01 [14:40:08]MH_I2C_Read... [14:40:08]Read from MH i2c: 01 07 00 [14:40:08]MH_I2C_Read... [14:40:08]Read from MH i2c: 01 07 00 AE 00 00 00 00 00 00 A1 0C 62 [14:40:08]RasterBufferAndPrint [14:40:08]line [14:40:08]line [14:40:08]line [14:40:08]line [14:40:08]line [14:40:08]written 0, free lines is 3239 [14:40:08]MH_Cut [14:40:08]Write to MH i2c: D1 01 00 B5 00 01 87 [14:40:08]Write i2c OK [14:40:08]MH_I2C_Read... [14:40:08]Read from MH i2c: D1 [14:40:08]MH_I2C_Read... [14:40:08]Read from MH i2c: D1 01 00 [14:40:08]MH_I2C_Read... [14:40:08]Read from MH i2c: D1 01 00 B5 00 00 86 [14:40:08]Write to MH i2c: 01 00 00 B6 00 B6 [14:40:08]Write i2c OK [14:40:08]MH_I2C_Read... [14:40:09]OFD Sender: No OFD packet to send [14:40:09]*** Cut start [14:40:09]*** Partial cut [14:40:09]*** CUTSNS_PIN = 1 [14:40:09]*** CUTSNS_PIN = 0 [14:40:10]*** Brake cut motor [14:40:10]Read from MH i2c: 01 [14:40:10]MH_I2C_Read... [14:40:10]*** Stop cut motor [14:40:10]*** Cut end [14:40:10]Read from MH i2c: 01 07 00 [14:40:10]MH_I2C_Read... [14:40:10]Read from MH i2c: 01 07 00 B6 00 00 00 00 00 00 FF 0F CB [14:40:10]process_action close_receipt done [14:40:10]requested_data is exist [14:40:10]produce_requested_data [14:40:10]requested_item fm.sn is exist - process it [14:40:10]wFMCommunicate request_size=4 [14:40:10]MH_SAM_APDU [14:40:10]CAPDU: 80 11 00 00 [14:40:10]Write to MH i2c: E2 08 00 B7 00 80 11 00 00 00 00 00 00 31 [14:40:10]Write i2c OK [14:40:10]MH_I2C_Read... [14:40:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:40:10]Read from MH i2c: E2 [14:40:10]MH_I2C_Read... [14:40:10]Read from MH i2c: E2 17 00 [14:40:10]MH_I2C_Read... [14:40:10]Read from MH i2c: E2 17 00 B7 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 8A [14:40:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:40:10]wFMCommunicate OK [14:40:10]requested_item fd.num is exist - process it [14:40:10]SAM_PROTO_GetFieldsCounters [14:40:10]wFMCommunicate request_size=4 [14:40:10]MH_SAM_APDU [14:40:10]CAPDU: 80 13 00 00 [14:40:10]Write to MH i2c: E2 08 00 B8 00 80 13 00 00 00 00 00 00 34 [14:40:10]Write i2c OK [14:40:10]MH_I2C_Read... [14:40:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:40:10]Read from MH i2c: E2 [14:40:10]MH_I2C_Read... [14:40:10]Read from MH i2c: E2 62 00 [14:40:10]MH_I2C_Read... [14:40:10]Read from MH i2c: E2 62 00 B8 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 AF 69 00 00 0E 04 04 00 B1 01 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 89 [14:40:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 AF 69 00 00 0E 04 04 00 B1 01 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 [14:40:10]wFMCommunicate OK [14:40:10]SAM_PROTO_GetFieldsCounters done [14:40:10]requested_item shift.num is exist - process it [14:40:10]requested_item shift.opened is exist - process it [14:40:10]req_shift_opened [14:40:10]FM_GetShiftState [14:40:10]SAM_PROTO_GetShiftState [14:40:10]wFMCommunicate request_size=4 [14:40:10]MH_SAM_APDU [14:40:10]CAPDU: 80 13 01 00 [14:40:10]Write to MH i2c: E2 08 00 B9 00 80 13 01 00 00 00 00 00 36 [14:40:10]Write i2c OK [14:40:10]MH_I2C_Read... [14:40:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:40:10]Read from MH i2c: E2 [14:40:10]MH_I2C_Read... [14:40:10]Read from MH i2c: E2 0E 00 [14:40:10]MH_I2C_Read... [14:40:10]Read from MH i2c: E2 0E 00 B9 00 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 5E [14:40:10]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:40:10]wFMCommunicate OK [14:40:10]SAM_PROTO_GetShiftState done [14:40:10]FM_GetShiftState done [14:40:10]req_shift_opened done [14:40:10]requested_item shift.open_date is exist - process it [14:40:10]req_shift_open_date [14:40:10]req_shift_open_date done [14:40:10]produce_requested_data done [14:40:10]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27055,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [14:40:10]process_action_free close_receipt [14:40:10]json_value_free [14:40:10]json_value_free done [14:40:10]process_json_proto returns [14:40:10]Send response to host [14:40:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27055,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [14:40:10]free response buf [14:40:10]execute_script done [14:40:10]execute_script returns [14:40:10]free content buf [14:40:10]Sock 7.Close socket [14:40:10]Sock 7.Thread stoped [14:40:14]OFD Sender: No OFD packet to send [14:40:19]OFD Sender: No OFD packet to send [14:40:24]OFD Sender: No OFD packet to send [14:40:29]OFD Sender: No OFD packet to send [14:40:34]OFD Sender: No OFD packet to send [14:40:39]OFD Sender: No OFD packet to send [14:40:44]OFD Sender: No OFD packet to send [14:40:49]accept exits with 9 [14:40:49]New connection [14:40:49]New thread 3066645860 created [14:40:49]Thread 3066502500 joined [14:40:49]Waiting for new connection... [14:40:49] Sock 9.Parse request [14:40:49]Sock 9.Check first char [14:40:49]Sock 9.First char is OK [14:40:49]request: POST /json_proto HTTP/1.0 [14:40:49]Method: POST [14:40:49]URL: /json_proto [14:40:49]Method is POST - this is cgi request [14:40:49]url: /json_proto [14:40:49]query_string will be loaded in cgi processing [14:40:49]execute_cgi json_proto POST (null) [14:40:49]execute_cgi path=json_proto method=POST [14:40:49]POST find Content-Length [14:40:49]Host: 172.17.45.8:8080 [14:40:49]Content-Length: 711 [14:40:49]Content-Type: application/json [14:40:49] [14:40:49]POST finish read [14:40:49]Found Content-Length = 711 [14:40:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150454", "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" : 84.00, "quantity" : 1.000, "sum" : 84.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 84.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:40:49]execute_script... [14:40: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)150454", "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" : 84.00, "quantity" : 1.000, "sum" : 84.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 84.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:40:49]POST & json_proto [14:40:49]process_json_proto [14:40:49]json parsed OK: [14:40:49]protocol is kg_v1.0 [14:40:49]action value=close_receipt [14:40:49]process_action close_receipt [14:40:49]cmd_close_receipt [14:40:49]MH_GetDate [14:40:49]Write to MH i2c: F0 00 00 BA 00 A9 [14:40:49]Write i2c OK [14:40:49]MH_I2C_Read... [14:40:49]Read from MH i2c: F0 [14:40:49]MH_I2C_Read... [14:40:49]Read from MH i2c: F0 09 00 [14:40:49]MH_I2C_Read... [14:40:49]Read from MH i2c: F0 09 00 BA 00 00 71 58 A6 66 A6 1F 7F 64 2F [14:40:49]GetLastDocTimeStamp 1722177606 [14:40:49]current date 1722177649 [14:40:49]FM_GetShiftState [14:40:49]SAM_PROTO_GetShiftState [14:40:49]wFMCommunicate request_size=4 [14:40:49]MH_SAM_APDU [14:40:49]CAPDU: 80 13 01 00 [14:40:49]Write to MH i2c: E2 08 00 BB 00 80 13 01 00 00 00 00 00 38 [14:40:49]Write i2c OK [14:40:49]MH_I2C_Read... [14:40:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:40:49]Read from MH i2c: E2 [14:40:49]MH_I2C_Read... [14:40:49]Read from MH i2c: E2 0E 00 [14:40:49]MH_I2C_Read... [14:40:49]Read from MH i2c: E2 0E 00 BB 00 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 60 [14:40:49]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:40:49]wFMCommunicate OK [14:40:49]SAM_PROTO_GetShiftState done [14:40:49]FM_GetShiftState done [14:40:49]opened in 1722127230 [14:40:49]opened+sec_in_day 1722213630 [14:40:49]quantity*price = 8400 [14:40:49]sum+1 = 8401 [14:40:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 84.00 НСП 1% : 0.74 НДС 12% : 8.92 Наличными: 84.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 34 28.07.2024 14:40 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27056 ФПД: 7919140081732 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T144049&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27056&fm=7919140081732&tin=02508201610067®Number=0000000000092663&sum=8400 0 [14:40:50]StoreToDocumentArchive [14:40:50]shift 433 fd 27056 [14:40:50]save to /storage/0433/doc_00027056 [14:40:50]save last doc name /storage/0433/doc_00027056 to /storage/kkm_last_doc_name [14:40:50]save OK [14:40:50]Clear old archive folders... [14:40:50]ProcessDocumentItem done err = 0, tmpTLVsize=302 [14:40:50]tlvbuf is 005311A0 [14:40:50]SAM_PROTO_ClearQueue [14:40:50]wFMCommunicate request_size=4 [14:40:50]MH_SAM_APDU [14:40:50]CAPDU: 80 09 00 00 [14:40:50]Write to MH i2c: E2 08 00 C8 00 80 09 00 00 00 00 00 00 3A [14:40:50]Write i2c OK [14:40:50]MH_I2C_Read... [14:40:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:40:50]Read from MH i2c: E2 [14:40:50]MH_I2C_Read... [14:40:50]Read from MH i2c: E2 03 00 [14:40:50]MH_I2C_Read... [14:40:50]Read from MH i2c: E2 03 00 C8 00 00 90 00 3C [14:40:50]RAPDU: 90 00 [14:40:50]wFMCommunicate OK [14:40:50]SAM_PROTO_ClearQueue done [14:40:50]KKMCreateOFDPacket [14:40:50]OFDProtocolAddRootSTLVToBuf [14:40:50]FM_MakeSignedData [14:40:50]FM_MakeSignedData [14:40:50]SAM_PROTO_SignData [14:40:50]wFMCommunicate request_size=4 [14:40:50]MH_SAM_APDU [14:40:50]CAPDU: 80 0D 01 02 [14:40:50]Write to MH i2c: E2 08 00 C9 00 80 0D 01 02 00 00 00 00 42 [14:40:50]Write i2c OK [14:40:50]MH_I2C_Read... [14:40:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:40:50]Read from MH i2c: E2 [14:40:50]MH_I2C_Read... [14:40:50]Read from MH i2c: E2 03 00 [14:40:50]MH_I2C_Read... [14:40:50]Read from MH i2c: E2 03 00 C9 00 00 90 00 3D [14:40:50]RAPDU: 90 00 [14:40:50]wFMCommunicate OK [14:40:50]wFMCommunicate request_size=255 [14:40:50]MH_SAM_APDU [14:40:50]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 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 20 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 71 58 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 [14:40:50]Write to MH i2c: E2 02 01 CA 00 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 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 20 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 71 58 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 00 00 89 [14:40:50]Write i2c OK [14:40:50]MH_I2C_Read... [14:40:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:40:50]Read from MH i2c: E2 [14:40:50]MH_I2C_Read... [14:40:50]Read from MH i2c: E2 03 00 [14:40:50]MH_I2C_Read... [14:40:50]Read from MH i2c: E2 03 00 CA 00 00 90 00 3E [14:40:50]RAPDU: 90 00 [14:40:50]wFMCommunicate OK [14:40:50]wFMCommunicate request_size=61 [14:40:50]MH_SAM_APDU [14:40:50]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B0 69 00 00 35 04 06 00 07 33 D1 88 10 44 [14:40:50]Write to MH i2c: E2 40 00 CB 00 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B0 69 00 00 35 04 06 00 07 33 D1 88 10 44 00 00 81 [14:40:50]Write i2c OK [14:40:50]MH_I2C_Read... [14:40:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:40:50]Read from MH i2c: E2 [14:40:50]MH_I2C_Read... [14:40:50]Read from MH i2c: E2 03 00 [14:40:50]MH_I2C_Read... [14:40:50]Read from MH i2c: E2 03 00 CB 00 00 90 00 3F [14:40:50]RAPDU: 90 00 [14:40:50]wFMCommunicate OK [14:40:50]wFMCommunicate request_size=4 [14:40:50]MH_SAM_APDU [14:40:50]CAPDU: 80 0D 03 02 [14:40:50]Write to MH i2c: E2 08 00 CC 00 80 0D 03 02 00 00 00 00 47 [14:40:50]Write i2c OK [14:40:50]MH_I2C_Read... [14:40:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:40:50]Read from MH i2c: E2 [14:40:50]MH_I2C_Read... [14:40:50]Read from MH i2c: E2 0B 00 [14:40:50]MH_I2C_Read... [14:40:50]Read from MH i2c: E2 0B 00 CC 00 00 8B 6D C0 CB 9A 27 7A 33 90 00 39 [14:40:50]RAPDU: 8B 6D C0 CB 9A 27 7A 33 90 00 [14:40:50]wFMCommunicate OK [14:40:50]SAM_PROTO_SignData done [14:40:50]FM_MakeSignedData done [14:40:50]CreateOFDProtocolMessage [14:40:50]wFMCommunicate request_size=4 [14:40:50]MH_SAM_APDU [14:40:50]CAPDU: 80 11 00 00 [14:40:50]Write to MH i2c: E2 08 00 CD 00 80 11 00 00 00 00 00 00 47 [14:40:50]Write i2c OK [14:40:50]MH_I2C_Read... [14:40:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:40:50]Read from MH i2c: E2 [14:40:50]MH_I2C_Read... [14:40:50]Read from MH i2c: E2 17 00 [14:40:50]MH_I2C_Read... [14:40:50]Read from MH i2c: E2 17 00 CD 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 A0 [14:40:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:40:50]wFMCommunicate OK [14:40:50]CreateOFDProtocolMessage done [14:40:50]OFDSenderStorePacket 27056 [14:40:50]StoreOFDPacket docnum=27056 [14:40:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 42 01 00 00 97 58 3A 01 85 03 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 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 20 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 71 58 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B0 69 00 00 35 04 06 00 07 33 D1 88 10 44 8B 6D C0 CB 9A 27 7A 33 [14:40:50]CheckFolder [14:40:50]dirname=/storage/ofd_packets [14:40:50]CheckFolder done [14:40:50]ProducePacketName [14:40:50]name=ofd_packets/00027056 [14:40:50]NVStorageSaveData ofd_packets/00027056 [14:40:50]File name is /storage/ofd_packets/00027056 [14:40:50]Write 352 bytes [14:40:50]NVStorageSaveData done [14:40:50]OFDSenderStorePacket done [14:40:50]KKMCreateOFDPacket done [14:40:50]NVStorageSaveData kkm_last_timestamp [14:40:50]File name is /storage/kkm_last_timestamp [14:40:50]Write 4 bytes [14:40:50]NVStorageSaveData done [14:40:50]OFD Sender: Processing packet 27056 [packets to send 9, broken 8] [14:40:50]ProducePacketName [14:40:50]name=ofd_packets/00027056 [14:40:50]OFD Sender: To server: pG, [14:40:50]CommunicateWithHost lk.salyk.kg:30040 [14:40:50]ConnectInit lk.salyk.kg [14:40:50]ExternCall_PrintAddStr [14:40:50]wPrintStart [14:40:50]Write to MH i2c: 01 00 00 CE 00 CE [14:40:50]Write i2c OK [14:40:50]MH_I2C_Read... [14:40:50]Read from MH i2c: 01 [14:40:50]MH_I2C_Read... [14:40:50]Read from MH i2c: 01 07 00 [14:40:50]MH_I2C_Read... [14:40:50]Read from MH i2c: 01 07 00 CE 00 00 00 00 00 00 FF 0F E3 [14:40:50]RasterBufferAndPrint [14:40:50]line Счет N : (3)150454 [14:40:50]line ИНН: 02508201610067 [14:40:50]line Контрольно-Кассовый Чек [14:40:50]line ПРОДАЖА [14:40:50]line Товар: 4870001571030 [14:40:50]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [14:40:50]line 1.000 * 84.00 [14:40:50]line = 84.00 [14:40:50]line НДС 12% НСП 1% [14:40:50]line > о реализуемом товаре [14:40:50]line ИТОГО: 84.00 [14:40:50]line НСП 1% : 0.74 [14:40:50]line НДС 12% : 8.92 [14:40:50]line Наличными: 84.00 [14:40:50]line Безнал.: 0.00 [14:40:50]line Место: АЗС № 134 "Партнер Нефть" [14:40:50]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [14:40:50]line СНО: Общий режим [14:40:50]line Чек 34 28.07.2024 14:40 [14:40:50]line Смена: 433 ФФД: 1.0 [14:40:50]line ЗНМ: 0300000043 [14:40:50]line РНМ: 0000000000092663 [14:40:50]line Версия ККМ: 001 [14:40:50]line ФМ: 0000000000874937 [14:40:51]line ФД: 27056 [14:40:51]line ФПД: 7919140081732 [14:40:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T144049&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27056&fm=7919140081732&tin=02508201610067®Number=0000000000092663&sum=8400 [14:40:51]line 0 [14:40:51]Connected sock=11 [14:40:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 42 01 00 00 97 58 3A 01 85 03 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 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 20 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 71 58 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B0 69 00 00 35 04 06 00 07 33 D1 88 10 44 8B 6D C0 CB 9A 27 7A 33 [14:40:51]written 0, free lines is 4095 [14:40:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 97 B0 47 00 B5 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 38 37 34 39 33 37 10 04 04 00 B0 69 00 00 F4 03 04 00 C5 FE A5 66 B6 04 01 00 00 90 1A B4 38 7B A4 63 81 [14:40:51]CommunicateWithHost err = 0 [14:40:51]CheckOFDResponse [14:40:51]1017 (14) - 77093643461234 [14:40:51]1041 (16) - 0000000000874937 [14:40:51]1040 (4) - 27056 [14:40:51]1012 (4) - 28.07.2024 08:18 [14:40:51]1206 (1) - 0 [14:40:51]OFD Sender: Remove packet 27056 [14:40:51]ProducePacketName [14:40:51]name=ofd_packets/00027056 [14:40:51]NVStorageDeleteData [14:40:51]Write to MH i2c: 01 00 00 F6 00 F6 [14:40:51]Write i2c OK [14:40:51]MH_I2C_Read... [14:40:51]Read from MH i2c: 01 [14:40:51]MH_I2C_Read... [14:40:51]Read from MH i2c: 01 07 00 [14:40:51]MH_I2C_Read... [14:40:51]Read from MH i2c: 01 07 00 F6 00 00 00 00 00 00 E9 0C F2 [14:40:51]RasterBufferAndPrint [14:40:51]line [14:40:51]line [14:40:51]line [14:40:51]line [14:40:51]line [14:40:51]written 0, free lines is 3311 [14:40:51]MH_Cut [14:40:51]Write to MH i2c: D1 01 00 FD 00 01 CF [14:40:51]Write i2c OK [14:40:51]MH_I2C_Read... [14:40:51]Read from MH i2c: D1 [14:40:51]MH_I2C_Read... [14:40:51]Read from MH i2c: D1 01 00 [14:40:51]MH_I2C_Read... [14:40:51]Read from MH i2c: D1 01 00 FD 00 00 CE [14:40:51]Write to MH i2c: 01 00 00 FE 00 FE [14:40:51]Write i2c OK [14:40:51]MH_I2C_Read... [14:40:51]OFD Sender: No OFD packet to send [14:40:52]*** Cut start [14:40:52]*** Partial cut [14:40:52]*** CUTSNS_PIN = 1 [14:40:52]*** CUTSNS_PIN = 0 [14:40:52]*** Brake cut motor [14:40:53]Read from MH i2c: 01 [14:40:53]MH_I2C_Read... [14:40:53]*** Stop cut motor [14:40:53]*** Cut end [14:40:53]Read from MH i2c: 01 07 00 [14:40:53]MH_I2C_Read... [14:40:53]Read from MH i2c: 01 07 00 FE 00 00 00 00 00 00 FF 0F 13 [14:40:53]process_action close_receipt done [14:40:53]requested_data is exist [14:40:53]produce_requested_data [14:40:53]requested_item fm.sn is exist - process it [14:40:53]wFMCommunicate request_size=4 [14:40:53]MH_SAM_APDU [14:40:53]CAPDU: 80 11 00 00 [14:40:53]Write to MH i2c: E2 08 00 FF 00 80 11 00 00 00 00 00 00 79 [14:40:53]Write i2c OK [14:40:53]MH_I2C_Read... [14:40:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:40:53]Read from MH i2c: E2 [14:40:53]MH_I2C_Read... [14:40:53]Read from MH i2c: E2 17 00 [14:40:53]MH_I2C_Read... [14:40:53]Read from MH i2c: E2 17 00 FF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 D2 [14:40:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:40:53]wFMCommunicate OK [14:40:53]requested_item fd.num is exist - process it [14:40:53]SAM_PROTO_GetFieldsCounters [14:40:53]wFMCommunicate request_size=4 [14:40:53]MH_SAM_APDU [14:40:53]CAPDU: 80 13 00 00 [14:40:53]Write to MH i2c: E2 08 00 00 01 80 13 00 00 00 00 00 00 7D [14:40:53]Write i2c OK [14:40:53]MH_I2C_Read... [14:40:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:40:53]Read from MH i2c: E2 [14:40:53]MH_I2C_Read... [14:40:53]Read from MH i2c: E2 62 00 [14:40:53]MH_I2C_Read... [14:40:53]Read from MH i2c: E2 62 00 00 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 B0 69 00 00 0E 04 04 00 B1 01 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 D6 [14:40:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 B0 69 00 00 0E 04 04 00 B1 01 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 [14:40:53]wFMCommunicate OK [14:40:53]SAM_PROTO_GetFieldsCounters done [14:40:53]requested_item shift.num is exist - process it [14:40:53]requested_item shift.opened is exist - process it [14:40:53]req_shift_opened [14:40:53]FM_GetShiftState [14:40:53]SAM_PROTO_GetShiftState [14:40:53]wFMCommunicate request_size=4 [14:40:53]MH_SAM_APDU [14:40:53]CAPDU: 80 13 01 00 [14:40:53]Write to MH i2c: E2 08 00 01 01 80 13 01 00 00 00 00 00 7F [14:40:53]Write i2c OK [14:40:53]MH_I2C_Read... [14:40:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:40:53]Read from MH i2c: E2 [14:40:53]MH_I2C_Read... [14:40:53]Read from MH i2c: E2 0E 00 [14:40:53]MH_I2C_Read... [14:40:53]Read from MH i2c: E2 0E 00 01 01 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 A7 [14:40:53]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:40:53]wFMCommunicate OK [14:40:53]SAM_PROTO_GetShiftState done [14:40:53]FM_GetShiftState done [14:40:53]req_shift_opened done [14:40:53]requested_item shift.open_date is exist - process it [14:40:53]req_shift_open_date [14:40:53]req_shift_open_date done [14:40:53]produce_requested_data done [14:40:53]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27056,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [14:40:53]process_action_free close_receipt [14:40:53]json_value_free [14:40:53]json_value_free done [14:40:53]process_json_proto returns [14:40:53]Send response to host [14:40:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27056,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [14:40:53]free response buf [14:40:53]execute_script done [14:40:53]execute_script returns [14:40:53]free content buf [14:40:53]Sock 9.Close socket [14:40:53]Sock 9.Thread stoped [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]accept exits with 7 [14:41:21]New connection [14:41:21]New thread 3066502500 created [14:41:21]Thread 3066645860 joined [14:41:21]Waiting for new connection... [14:41:21] Sock 7.Parse request [14:41:21]Sock 7.Check first char [14:41:21]Sock 7.First char is OK [14:41:21]request: POST /json_proto HTTP/1.0 [14:41:21]Method: POST [14:41:21]URL: /json_proto [14:41:21]Method is POST - this is cgi request [14:41:21]url: /json_proto [14:41:21]query_string will be loaded in cgi processing [14:41:21]execute_cgi json_proto POST (null) [14:41:21]execute_cgi path=json_proto method=POST [14:41:21]POST find Content-Length [14:41:21]Host: 172.17.45.8:8080 [14:41:21]Content-Length: 982 [14:41:21]Content-Type: application/json [14:41:21] [14:41:21]POST finish read [14:41:21]Found Content-Length = 982 [14:41:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150455", "tax_sys" : 0, "items" : [ { "code": "4870202521230", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043B\u0438\u043C\u043E\u043D", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010346", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 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" : 165.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:41:21]execute_script... [14:41: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)150455", "tax_sys" : 0, "items" : [ { "code": "4870202521230", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043B\u0438\u043C\u043E\u043D", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010346", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 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" : 165.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:41:21]POST & json_proto [14:41:21]process_json_proto [14:41:21]json parsed OK: [14:41:21]protocol is kg_v1.0 [14:41:21]action value=close_receipt [14:41:21]process_action close_receipt [14:41:21]cmd_close_receipt [14:41:21]MH_GetDate [14:41:21]Write to MH i2c: F0 00 00 02 01 F2 [14:41:21]Write i2c OK [14:41:21]MH_I2C_Read... [14:41:21]Read from MH i2c: F0 [14:41:21]MH_I2C_Read... [14:41:21]Read from MH i2c: F0 09 00 [14:41:21]MH_I2C_Read... [14:41:21]Read from MH i2c: F0 09 00 02 01 00 91 58 A6 66 A6 1F 7F 64 98 [14:41:21]GetLastDocTimeStamp 1722177649 [14:41:21]current date 1722177681 [14:41:21]FM_GetShiftState [14:41:21]SAM_PROTO_GetShiftState [14:41:21]wFMCommunicate request_size=4 [14:41:21]MH_SAM_APDU [14:41:21]CAPDU: 80 13 01 00 [14:41:21]Write to MH i2c: E2 08 00 03 01 80 13 01 00 00 00 00 00 81 [14:41:21]Write i2c OK [14:41:21]MH_I2C_Read... [14:41:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:41:21]Read from MH i2c: E2 [14:41:21]MH_I2C_Read... [14:41:21]Read from MH i2c: E2 0E 00 [14:41:21]MH_I2C_Read... [14:41:21]Read from MH i2c: E2 0E 00 03 01 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 A9 [14:41:21]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:41:21]wFMCommunicate OK [14:41:21]SAM_PROTO_GetShiftState done [14:41:21]FM_GetShiftState done [14:41:21]opened in 1722127230 [14:41:21]opened+sec_in_day 1722213630 [14:41:21]quantity*price = 12500 [14:41:21]sum+1 = 12501 [14:41:21]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700003010346 Напиток Let`s Go! с/с груша ПЭТ 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 165.00 НСП 1% : 1.46 НДС 12% : 17.52 Наличными: 165.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 35 28.07.2024 14:41 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27057 ФПД: 160161779437520 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T144121&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27057&fm=160161779437520&tin=02508201610067®Number=0000000000092663&sum=16500 0 [14:41:22]StoreToDocumentArchive [14:41:22]shift 433 fd 27057 [14:41:22]save to /storage/0433/doc_00027057 [14:41:22]save last doc name /storage/0433/doc_00027057 to /storage/kkm_last_doc_name [14:41:22]save OK [14:41:22]Clear old archive folders... [14:41:22]ProcessDocumentItem done err = 0, tmpTLVsize=418 [14:41:22]tlvbuf is 0056B960 [14:41:22]SAM_PROTO_ClearQueue [14:41:22]wFMCommunicate request_size=4 [14:41:22]MH_SAM_APDU [14:41:22]CAPDU: 80 09 00 00 [14:41:22]Write to MH i2c: E2 08 00 10 01 80 09 00 00 00 00 00 00 83 [14:41:22]Write i2c OK [14:41:22]MH_I2C_Read... [14:41:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:41:22]Read from MH i2c: E2 [14:41:22]MH_I2C_Read... [14:41:22]Read from MH i2c: E2 03 00 [14:41:22]MH_I2C_Read... [14:41:22]Read from MH i2c: E2 03 00 10 01 00 90 00 85 [14:41:22]RAPDU: 90 00 [14:41:22]wFMCommunicate OK [14:41:22]SAM_PROTO_ClearQueue done [14:41:22]KKMCreateOFDPacket [14:41:22]OFDProtocolAddRootSTLVToBuf [14:41:22]FM_MakeSignedData [14:41:22]FM_MakeSignedData [14:41:22]SAM_PROTO_SignData [14:41:22]wFMCommunicate request_size=4 [14:41:22]MH_SAM_APDU [14:41:22]CAPDU: 80 0D 01 02 [14:41:22]Write to MH i2c: E2 08 00 11 01 80 0D 01 02 00 00 00 00 8B [14:41:22]Write i2c OK [14:41:22]MH_I2C_Read... [14:41:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:41:22]Read from MH i2c: E2 [14:41:22]MH_I2C_Read... [14:41:22]Read from MH i2c: E2 03 00 [14:41:22]MH_I2C_Read... [14:41:22]Read from MH i2c: E2 03 00 11 01 00 90 00 86 [14:41:22]RAPDU: 90 00 [14:41:22]wFMCommunicate OK [14:41:22]wFMCommunicate request_size=255 [14:41:22]MH_SAM_APDU [14:41:22]CAPDU: 80 0D 02 02 FA 03 00 A2 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E 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 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 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 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 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 [14:41:22]Write to MH i2c: E2 02 01 12 01 80 0D 02 02 FA 00 03 00 A2 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E 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 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 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 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 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 00 10 [14:41:22]Write i2c OK [14:41:22]MH_I2C_Read... [14:41:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:41:22]Read from MH i2c: E2 [14:41:22]MH_I2C_Read... [14:41:22]Read from MH i2c: E2 03 00 [14:41:22]MH_I2C_Read... [14:41:22]Read from MH i2c: E2 03 00 12 01 00 90 00 87 [14:41:22]RAPDU: 90 00 [14:41:22]wFMCommunicate OK [14:41:22]wFMCommunicate request_size=177 [14:41:22]MH_SAM_APDU [14:41:22]CAPDU: 80 0D 02 02 AC 00 01 BC 04 01 00 01 FC 03 06 00 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 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 91 58 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B1 69 00 00 35 04 06 00 91 AA 91 F8 4F D0 [14:41:22]Write to MH i2c: E2 B4 00 13 01 80 0D 02 02 AC 00 00 01 BC 04 01 00 01 FC 03 06 00 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 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 91 58 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B1 69 00 00 35 04 06 00 91 AA 91 F8 4F D0 00 00 91 [14:41:22]Write i2c OK [14:41:22]MH_I2C_Read... [14:41:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:41:22]Read from MH i2c: E2 [14:41:22]MH_I2C_Read... [14:41:22]Read from MH i2c: E2 03 00 [14:41:22]MH_I2C_Read... [14:41:22]Read from MH i2c: E2 03 00 13 01 00 90 00 88 [14:41:22]RAPDU: 90 00 [14:41:22]wFMCommunicate OK [14:41:22]wFMCommunicate request_size=4 [14:41:22]MH_SAM_APDU [14:41:22]CAPDU: 80 0D 03 02 [14:41:22]Write to MH i2c: E2 08 00 14 01 80 0D 03 02 00 00 00 00 90 [14:41:22]Write i2c OK [14:41:22]MH_I2C_Read... [14:41:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:41:23]Read from MH i2c: E2 [14:41:23]MH_I2C_Read... [14:41:23]Read from MH i2c: E2 0B 00 [14:41:23]MH_I2C_Read... [14:41:23]Read from MH i2c: E2 0B 00 14 01 00 FE BD 9C 42 0C 1D 34 88 90 00 0F [14:41:23]RAPDU: FE BD 9C 42 0C 1D 34 88 90 00 [14:41:23]wFMCommunicate OK [14:41:23]SAM_PROTO_SignData done [14:41:23]FM_MakeSignedData done [14:41:23]CreateOFDProtocolMessage [14:41:23]wFMCommunicate request_size=4 [14:41:23]MH_SAM_APDU [14:41:23]CAPDU: 80 11 00 00 [14:41:23]Write to MH i2c: E2 08 00 15 01 80 11 00 00 00 00 00 00 90 [14:41:23]Write i2c OK [14:41:23]MH_I2C_Read... [14:41:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:41:23]Read from MH i2c: E2 [14:41:23]MH_I2C_Read... [14:41:23]Read from MH i2c: E2 17 00 [14:41:23]MH_I2C_Read... [14:41:23]Read from MH i2c: E2 17 00 15 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 E9 [14:41:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:41:23]wFMCommunicate OK [14:41:23]CreateOFDProtocolMessage done [14:41:23]OFDSenderStorePacket 27057 [14:41:23]StoreOFDPacket docnum=27057 [14:41:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 B6 01 00 00 37 90 AE 01 88 4B 5A 03 01 00 03 00 A2 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E 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 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 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 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 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 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 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 91 58 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B1 69 00 00 35 04 06 00 91 AA 91 F8 4F D0 FE BD 9C 42 0C 1D 34 88 [14:41:23]CheckFolder [14:41:23]dirname=/storage/ofd_packets [14:41:23]CheckFolder done [14:41:23]ProducePacketName [14:41:23]name=ofd_packets/00027057 [14:41:23]NVStorageSaveData ofd_packets/00027057 [14:41:23]File name is /storage/ofd_packets/00027057 [14:41:23]Write 468 bytes [14:41:23]NVStorageSaveData done [14:41:23]OFDSenderStorePacket done [14:41:23]KKMCreateOFDPacket done [14:41:23]NVStorageSaveData kkm_last_timestamp [14:41:23]File name is /storage/kkm_last_timestamp [14:41:23]Write 4 bytes [14:41:23]NVStorageSaveData done [14:41:23]ExternCall_PrintAddStr [14:41:23]wPrintStart [14:41:23]Write to MH i2c: 01 00 00 16 01 17 [14:41:23]OFD Sender: Processing packet 27057 [packets to send 9, broken 8] [14:41:23]ProducePacketName [14:41:23]name=ofd_packets/00027057 [14:41:23]OFD Sender: To server: pG, [14:41:23]CommunicateWithHost lk.salyk.kg:30040 [14:41:23]ConnectInit lk.salyk.kg [14:41:23]Write i2c OK [14:41:23]MH_I2C_Read... [14:41:23]Read from MH i2c: 01 [14:41:23]MH_I2C_Read... [14:41:23]Read from MH i2c: 01 07 00 [14:41:23]MH_I2C_Read... [14:41:23]Read from MH i2c: 01 07 00 16 01 00 00 00 00 00 FF 0F 2C [14:41:23]RasterBufferAndPrint [14:41:23]line Счет N : (3)150455 [14:41:23]line ИНН: 02508201610067 [14:41:23]line Контрольно-Кассовый Чек [14:41:23]line ПРОДАЖА [14:41:23]line Товар: 4870202521230 [14:41:23]line Напиток MAXI чай 1,2 черн.лимон [14:41:23]line 1.000 * 125.00 [14:41:23]line = 125.00 [14:41:23]line НДС 12% НСП 1% [14:41:23]line > о реализуемом товаре [14:41:23]line Товар: 4700003010346 [14:41:23]line Напиток Let`s Go! с/с груша ПЭТ 0,5л [14:41:23]line 1.000 * 40.00 [14:41:23]line = 40.00 [14:41:23]line НДС 12% НСП 1% [14:41:23]line > о реализуемом товаре [14:41:23]line ИТОГО: 165.00 [14:41:23]line НСП 1% : 1.46 [14:41:23]line НДС 12% : 17.52 [14:41:23]line Наличными: 165.00 [14:41:23]line Безнал.: 0.00 [14:41:23]line Место: АЗС № 134 "Партнер Нефть" [14:41:23]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [14:41:23]line СНО: Общий режим [14:41:23]line Чек 35 28.07.2024 14:41 [14:41:23]line Смена: 433 ФФД: 1.0 [14:41:23]line ЗНМ: 0300000043 [14:41:23]line РНМ: 0000000000092663 [14:41:23]line Версия ККМ: 001 [14:41:23]line ФМ: 0000000000874937 [14:41:23]line ФД: 27057 [14:41:23]line ФПД: 160161779437520 [14:41:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T144121&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27057&fm=160161779437520&tin=02508201610067®Number=0000000000092663&sum=16500 [14:41:23]line 0 [14:41:23]written 0, free lines is 4095 [14:41:23]Connected sock=10 [14:41:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 B6 01 00 00 37 90 AE 01 88 4B 5A 03 01 00 03 00 A2 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E 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 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 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 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 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 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 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 91 58 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B1 69 00 00 35 04 06 00 91 AA 91 F8 4F D0 FE BD 9C 42 0C 1D 34 88 [14:41:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 59 1D 47 00 9B 27 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 38 37 34 39 33 37 10 04 04 00 B1 69 00 00 F4 03 04 00 E5 FE A5 66 B6 04 01 00 00 3D FF DE 42 47 28 54 2A [14:41:23]CommunicateWithHost err = 0 [14:41:23]CheckOFDResponse [14:41:23]1017 (14) - 77093643461234 [14:41:23]1041 (16) - 0000000000874937 [14:41:23]1040 (4) - 27057 [14:41:23]1012 (4) - 28.07.2024 08:18 [14:41:23]1206 (1) - 0 [14:41:23]OFD Sender: Remove packet 27057 [14:41:23]ProducePacketName [14:41:23]name=ofd_packets/00027057 [14:41:23]NVStorageDeleteData [14:41:23]Write to MH i2c: 01 00 00 45 01 46 [14:41:23]Write i2c OK [14:41:23]MH_I2C_Read... [14:41:23]Read from MH i2c: 01 [14:41:23]MH_I2C_Read... [14:41:23]Read from MH i2c: 01 07 00 [14:41:23]MH_I2C_Read... [14:41:23]Read from MH i2c: 01 07 00 45 01 00 00 00 00 00 74 0C CD [14:41:23]RasterBufferAndPrint [14:41:23]line [14:41:23]line [14:41:23]line [14:41:23]line [14:41:23]line [14:41:23]written 0, free lines is 3197 [14:41:23]MH_Cut [14:41:23]Write to MH i2c: D1 01 00 4C 01 01 1F [14:41:23]Write i2c OK [14:41:23]MH_I2C_Read... [14:41:23]Read from MH i2c: D1 [14:41:23]MH_I2C_Read... [14:41:23]Read from MH i2c: D1 01 00 [14:41:23]MH_I2C_Read... [14:41:23]Read from MH i2c: D1 01 00 4C 01 00 1E [14:41:23]Write to MH i2c: 01 00 00 4D 01 4E [14:41:23]Write i2c OK [14:41:23]MH_I2C_Read... [14:41:24]OFD Sender: No OFD packet to send [14:41:24]*** Cut start [14:41:24]*** Partial cut [14:41:24]*** CUTSNS_PIN = 1 [14:41:24]*** CUTSNS_PIN = 0 [14:41:25]*** Brake cut motor [14:41:25]Read from MH i2c: 01 [14:41:25]MH_I2C_Read... [14:41:25]*** Stop cut motor [14:41:25]*** Cut end [14:41:25]Read from MH i2c: 01 07 00 [14:41:25]MH_I2C_Read... [14:41:25]Read from MH i2c: 01 07 00 4D 01 00 00 00 00 00 FF 0F 63 [14:41:25]process_action close_receipt done [14:41:25]requested_data is exist [14:41:25]produce_requested_data [14:41:25]requested_item fm.sn is exist - process it [14:41:25]wFMCommunicate request_size=4 [14:41:25]MH_SAM_APDU [14:41:25]CAPDU: 80 11 00 00 [14:41:25]Write to MH i2c: E2 08 00 4E 01 80 11 00 00 00 00 00 00 C9 [14:41:25]Write i2c OK [14:41:25]MH_I2C_Read... [14:41:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:41:25]Read from MH i2c: E2 [14:41:25]MH_I2C_Read... [14:41:25]Read from MH i2c: E2 17 00 [14:41:25]MH_I2C_Read... [14:41:25]Read from MH i2c: E2 17 00 4E 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 22 [14:41:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:41:25]wFMCommunicate OK [14:41:25]requested_item fd.num is exist - process it [14:41:25]SAM_PROTO_GetFieldsCounters [14:41:25]wFMCommunicate request_size=4 [14:41:25]MH_SAM_APDU [14:41:25]CAPDU: 80 13 00 00 [14:41:25]Write to MH i2c: E2 08 00 4F 01 80 13 00 00 00 00 00 00 CC [14:41:25]Write i2c OK [14:41:25]MH_I2C_Read... [14:41:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:41:25]Read from MH i2c: E2 [14:41:25]MH_I2C_Read... [14:41:25]Read from MH i2c: E2 62 00 [14:41:25]MH_I2C_Read... [14:41:25]Read from MH i2c: E2 62 00 4F 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 B1 69 00 00 0E 04 04 00 B1 01 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 29 [14:41:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 B1 69 00 00 0E 04 04 00 B1 01 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 [14:41:25]wFMCommunicate OK [14:41:25]SAM_PROTO_GetFieldsCounters done [14:41:25]requested_item shift.num is exist - process it [14:41:25]requested_item shift.opened is exist - process it [14:41:25]req_shift_opened [14:41:25]FM_GetShiftState [14:41:25]SAM_PROTO_GetShiftState [14:41:25]wFMCommunicate request_size=4 [14:41:25]MH_SAM_APDU [14:41:25]CAPDU: 80 13 01 00 [14:41:25]Write to MH i2c: E2 08 00 50 01 80 13 01 00 00 00 00 00 CE [14:41:25]Write i2c OK [14:41:25]MH_I2C_Read... [14:41:25]Read from MH i2c: E2 [14:41:25]MH_I2C_Read... [14:41:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:41:25]Read from MH i2c: E2 0E 00 [14:41:25]MH_I2C_Read... [14:41:25]Read from MH i2c: E2 0E 00 50 01 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 F6 [14:41:25]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:41:25]wFMCommunicate OK [14:41:25]SAM_PROTO_GetShiftState done [14:41:25]FM_GetShiftState done [14:41:25]req_shift_opened done [14:41:25]requested_item shift.open_date is exist - process it [14:41:25]req_shift_open_date [14:41:25]req_shift_open_date done [14:41:25]produce_requested_data done [14:41:25]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27057,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [14:41:25]process_action_free close_receipt [14:41:25]json_value_free [14:41:25]json_value_free done [14:41:25]process_json_proto returns [14:41:25]Send response to host [14:41:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27057,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [14:41:25]free response buf [14:41:25]execute_script done [14:41:25]execute_script returns [14:41:25]free content buf [14:41:25]Sock 7.Close socket [14:41:25]Sock 7.Thread stoped [14:41:29]OFD Sender: No OFD packet to send [14:41:34]OFD Sender: No OFD packet to send [14:41:39]OFD Sender: No OFD packet to send [14:41:44]OFD Sender: No OFD packet to send [14:41:45]accept exits with 9 [14:41:45]New connection [14:41:45]New thread 3066645860 created [14:41:45]Thread 3066502500 joined [14:41:45]Waiting for new connection... [14:41:45] Sock 9.Parse request [14:41:45]Sock 9.Check first char [14:41:45]Sock 9.First char is OK [14:41:45]request: POST /json_proto HTTP/1.0 [14:41:45]Method: POST [14:41:45]URL: /json_proto [14:41:45]Method is POST - this is cgi request [14:41:45]url: /json_proto [14:41:45]query_string will be loaded in cgi processing [14:41:45]execute_cgi json_proto POST (null) [14:41:45]execute_cgi path=json_proto method=POST [14:41:45]POST find Content-Length [14:41:45]Host: 172.17.45.8:8080 [14:41:45]Content-Length: 630 [14:41:45]Content-Type: application/json [14:41:45] [14:41:45]POST finish read [14:41:45]Found Content-Length = 630 [14:41:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150456", "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" ] } } [14:41:45]execute_script... [14:41: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)150456", "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" ] } } [14:41:45]POST & json_proto [14:41:45]process_json_proto [14:41:45]json parsed OK: [14:41:45]protocol is kg_v1.0 [14:41:45]action value=close_receipt [14:41:45]process_action close_receipt [14:41:45]cmd_close_receipt [14:41:45]MH_GetDate [14:41:45]Write to MH i2c: F0 00 00 51 01 41 [14:41:45]Write i2c OK [14:41:45]MH_I2C_Read... [14:41:45]Read from MH i2c: F0 [14:41:45]MH_I2C_Read... [14:41:45]Read from MH i2c: F0 09 00 [14:41:45]MH_I2C_Read... [14:41:45]Read from MH i2c: F0 09 00 51 01 00 A9 58 A6 66 A6 1F 7F 64 FF [14:41:45]GetLastDocTimeStamp 1722177681 [14:41:45]current date 1722177705 [14:41:45]FM_GetShiftState [14:41:45]SAM_PROTO_GetShiftState [14:41:45]wFMCommunicate request_size=4 [14:41:45]MH_SAM_APDU [14:41:45]CAPDU: 80 13 01 00 [14:41:45]Write to MH i2c: E2 08 00 52 01 80 13 01 00 00 00 00 00 D0 [14:41:45]Write i2c OK [14:41:45]MH_I2C_Read... [14:41:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:41:45]Read from MH i2c: E2 [14:41:45]MH_I2C_Read... [14:41:45]Read from MH i2c: E2 0E 00 [14:41:45]MH_I2C_Read... [14:41:45]Read from MH i2c: E2 0E 00 52 01 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 F8 [14:41:45]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:41:45]wFMCommunicate OK [14:41:45]SAM_PROTO_GetShiftState done [14:41:45]FM_GetShiftState done [14:41:45]opened in 1722127230 [14:41:45]opened+sec_in_day 1722213630 [14:41:45]quantity*price = 5000 [14:41:45]sum+1 = 5001 [14:41:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 36 28.07.2024 14:41 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27058 ФПД: 27669538024959 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T144145&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27058&fm=27669538024959&tin=02508201610067®Number=0000000000092663&sum=5000 0 [14:41:46]StoreToDocumentArchive [14:41:46]shift 433 fd 27058 [14:41:46]save to /storage/0433/doc_00027058 [14:41:46]save last doc name /storage/0433/doc_00027058 to /storage/kkm_last_doc_name [14:41:46]save OK [14:41:46]Clear old archive folders... [14:41:46]ProcessDocumentItem done err = 0, tmpTLVsize=269 [14:41:46]tlvbuf is 00568270 [14:41:46]SAM_PROTO_ClearQueue [14:41:46]wFMCommunicate request_size=4 [14:41:46]MH_SAM_APDU [14:41:46]CAPDU: 80 09 00 00 [14:41:46]Write to MH i2c: E2 08 00 5F 01 80 09 00 00 00 00 00 00 D2 [14:41:46]Write i2c OK [14:41:46]MH_I2C_Read... [14:41:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:41:46]Read from MH i2c: E2 [14:41:46]MH_I2C_Read... [14:41:46]Read from MH i2c: E2 03 00 [14:41:46]MH_I2C_Read... [14:41:46]Read from MH i2c: E2 03 00 5F 01 00 90 00 D4 [14:41:46]RAPDU: 90 00 [14:41:46]wFMCommunicate OK [14:41:46]SAM_PROTO_ClearQueue done [14:41:46]KKMCreateOFDPacket [14:41:46]OFDProtocolAddRootSTLVToBuf [14:41:46]FM_MakeSignedData [14:41:46]FM_MakeSignedData [14:41:46]SAM_PROTO_SignData [14:41:46]wFMCommunicate request_size=4 [14:41:46]MH_SAM_APDU [14:41:46]CAPDU: 80 0D 01 02 [14:41:46]Write to MH i2c: E2 08 00 60 01 80 0D 01 02 00 00 00 00 DA [14:41:46]Write i2c OK [14:41:46]MH_I2C_Read... [14:41:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:41:46]Read from MH i2c: E2 [14:41:46]MH_I2C_Read... [14:41:46]Read from MH i2c: E2 03 00 [14:41:46]MH_I2C_Read... [14:41:46]Read from MH i2c: E2 03 00 60 01 00 90 00 D5 [14:41:46]RAPDU: 90 00 [14:41:46]wFMCommunicate OK [14:41:46]wFMCommunicate request_size=255 [14:41:46]MH_SAM_APDU [14:41:46]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 24 00 00 00 F4 03 04 00 A9 58 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [14:41:46]Write to MH i2c: E2 02 01 61 01 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 24 00 00 00 F4 03 04 00 A9 58 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 D5 [14:41:46]Write i2c OK [14:41:46]MH_I2C_Read... [14:41:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:41:46]Read from MH i2c: E2 [14:41:46]MH_I2C_Read... [14:41:46]Read from MH i2c: E2 03 00 [14:41:46]MH_I2C_Read... [14:41:46]Read from MH i2c: E2 03 00 61 01 00 90 00 D6 [14:41:46]RAPDU: 90 00 [14:41:46]wFMCommunicate OK [14:41:46]wFMCommunicate request_size=28 [14:41:46]MH_SAM_APDU [14:41:46]CAPDU: 80 0D 02 02 17 37 34 39 33 37 10 04 04 00 B2 69 00 00 35 04 06 00 19 2A 50 FC 2D FF [14:41:46]Write to MH i2c: E2 1F 00 62 01 80 0D 02 02 17 00 37 34 39 33 37 10 04 04 00 B2 69 00 00 35 04 06 00 19 2A 50 FC 2D FF 00 00 46 [14:41:46]Write i2c OK [14:41:46]MH_I2C_Read... [14:41:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:41:46]Read from MH i2c: E2 [14:41:46]MH_I2C_Read... [14:41:46]Read from MH i2c: E2 03 00 [14:41:46]MH_I2C_Read... [14:41:46]Read from MH i2c: E2 03 00 62 01 00 90 00 D7 [14:41:46]RAPDU: 90 00 [14:41:46]wFMCommunicate OK [14:41:46]wFMCommunicate request_size=4 [14:41:46]MH_SAM_APDU [14:41:46]CAPDU: 80 0D 03 02 [14:41:46]Write to MH i2c: E2 08 00 63 01 80 0D 03 02 00 00 00 00 DF [14:41:46]Write i2c OK [14:41:46]MH_I2C_Read... [14:41:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:41:46]Read from MH i2c: E2 [14:41:46]MH_I2C_Read... [14:41:46]Read from MH i2c: E2 0B 00 [14:41:46]MH_I2C_Read... [14:41:46]Read from MH i2c: E2 0B 00 63 01 00 D4 DF 8A C8 C6 D4 4B F1 90 00 BB [14:41:46]RAPDU: D4 DF 8A C8 C6 D4 4B F1 90 00 [14:41:46]wFMCommunicate OK [14:41:46]SAM_PROTO_SignData done [14:41:46]FM_MakeSignedData done [14:41:46]CreateOFDProtocolMessage [14:41:46]wFMCommunicate request_size=4 [14:41:46]MH_SAM_APDU [14:41:46]CAPDU: 80 11 00 00 [14:41:46]Write to MH i2c: E2 08 00 64 01 80 11 00 00 00 00 00 00 DF [14:41:46]Write i2c OK [14:41:46]MH_I2C_Read... [14:41:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:41:46]Read from MH i2c: E2 [14:41:46]MH_I2C_Read... [14:41:46]Read from MH i2c: E2 17 00 [14:41:46]MH_I2C_Read... [14:41:46]Read from MH i2c: E2 17 00 64 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 38 [14:41:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:41:46]wFMCommunicate OK [14:41:46]CreateOFDProtocolMessage done [14:41:46]OFDSenderStorePacket 27058 [14:41:46]StoreOFDPacket docnum=27058 [14:41:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 21 01 00 00 F5 B4 19 01 FD F6 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 24 00 00 00 F4 03 04 00 A9 58 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B2 69 00 00 35 04 06 00 19 2A 50 FC 2D FF D4 DF 8A C8 C6 D4 4B F1 [14:41:46]CheckFolder [14:41:46]dirname=/storage/ofd_packets [14:41:46]CheckFolder done [14:41:46]ProducePacketName [14:41:46]name=ofd_packets/00027058 [14:41:46]NVStorageSaveData ofd_packets/00027058 [14:41:46]File name is /storage/ofd_packets/00027058 [14:41:46]Write 319 bytes [14:41:46]NVStorageSaveData done [14:41:46]OFDSenderStorePacket done [14:41:46]KKMCreateOFDPacket done [14:41:46]NVStorageSaveData kkm_last_timestamp [14:41:46]File name is /storage/kkm_last_timestamp [14:41:46]Write 4 bytes [14:41:46]NVStorageSaveData done [14:41:46]ExternCall_PrintAddStr [14:41:46]wPrintStart [14:41:46]Write to MH i2c: 01 00 00 65 01 66 [14:41:46]Write i2c OK [14:41:46]MH_I2C_Read... [14:41:46]Read from MH i2c: 01 [14:41:46]MH_I2C_Read... [14:41:46]Read from MH i2c: 01 07 00 [14:41:46]MH_I2C_Read... [14:41:46]Read from MH i2c: 01 07 00 65 01 00 00 00 00 00 FF 0F 7B [14:41:46]RasterBufferAndPrint [14:41:46]line Счет N : (3)150456 [14:41:46]line ИНН: 02508201610067 [14:41:46]line Контрольно-Кассовый Чек [14:41:46]line ПРОДАЖА [14:41:46]line Товар: 4700000160358 [14:41:46]line Вода Легенда 1л [14:41:46]line 1.000 * 50.00 [14:41:46]line = 50.00 [14:41:46]line НДС 12% НСП 1% [14:41:46]line > о реализуемом товаре [14:41:46]line ИТОГО: 50.00 [14:41:46]line НСП 1% : 0.44 [14:41:46]line НДС 12% : 5.31 [14:41:46]line Наличными: 50.00 [14:41:46]line Безнал.: 0.00 [14:41:46]line Место: АЗС № 134 "Партнер Нефть" [14:41:46]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [14:41:46]line СНО: Общий режим [14:41:46]line Чек 36 28.07.2024 14:41 [14:41:46]line Смена: 433 ФФД: 1.0 [14:41:46]line ЗНМ: 0300000043 [14:41:46]line РНМ: 0000000000092663 [14:41:46]line Версия ККМ: 001 [14:41:46]line ФМ: 0000000000874937 [14:41:46]line ФД: 27058 [14:41:46]line ФПД: 27669538024959 [14:41:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T144145&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27058&fm=27669538024959&tin=02508201610067®Number=0000000000092663&sum=5000 [14:41:47]OFD Sender: Processing packet 27058 [packets to send 9, broken 8] [14:41:47]ProducePacketName [14:41:47]name=ofd_packets/00027058 [14:41:47]OFD Sender: To server: pG, [14:41:47]CommunicateWithHost lk.salyk.kg:30040 [14:41:47]ConnectInit lk.salyk.kg [14:41:47]line 0 [14:41:47]written 0, free lines is 4095 [14:41:47]Connected sock=7 [14:41:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 21 01 00 00 F5 B4 19 01 FD F6 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 24 00 00 00 F4 03 04 00 A9 58 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B2 69 00 00 35 04 06 00 19 2A 50 FC 2D FF D4 DF 8A C8 C6 D4 4B F1 [14:41:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 FF 65 47 00 D8 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 38 37 34 39 33 37 10 04 04 00 B2 69 00 00 F4 03 04 00 FD FE A5 66 B6 04 01 00 00 FA 57 45 3E D4 A5 37 34 [14:41:47]CommunicateWithHost err = 0 [14:41:47]CheckOFDResponse [14:41:47]1017 (14) - 77093643461234 [14:41:47]1041 (16) - 0000000000874937 [14:41:47]1040 (4) - 27058 [14:41:47]1012 (4) - 28.07.2024 08:19 [14:41:47]1206 (1) - 0 [14:41:47]OFD Sender: Remove packet 27058 [14:41:47]ProducePacketName [14:41:47]name=ofd_packets/00027058 [14:41:47]NVStorageDeleteData [14:41:47]Write to MH i2c: 01 00 00 8C 01 8D [14:41:47]Write i2c OK [14:41:47]MH_I2C_Read... [14:41:47]Read from MH i2c: 01 [14:41:47]MH_I2C_Read... [14:41:47]Read from MH i2c: 01 07 00 [14:41:47]MH_I2C_Read... [14:41:47]Read from MH i2c: 01 07 00 8C 01 00 00 00 00 00 10 0D B1 [14:41:47]RasterBufferAndPrint [14:41:47]line [14:41:47]line [14:41:47]line [14:41:47]line [14:41:47]line [14:41:47]written 0, free lines is 3352 [14:41:47]MH_Cut [14:41:47]Write to MH i2c: D1 01 00 93 01 01 66 [14:41:47]Write i2c OK [14:41:47]MH_I2C_Read... [14:41:47]Read from MH i2c: D1 [14:41:47]MH_I2C_Read... [14:41:47]Read from MH i2c: D1 01 00 [14:41:47]MH_I2C_Read... [14:41:47]Read from MH i2c: D1 01 00 93 01 00 65 [14:41:47]Write to MH i2c: 01 00 00 94 01 95 [14:41:47]Write i2c OK [14:41:47]MH_I2C_Read... [14:41:48]OFD Sender: No OFD packet to send [14:41:48]*** Cut start [14:41:48]*** Partial cut [14:41:48]*** CUTSNS_PIN = 1 [14:41:48]*** CUTSNS_PIN = 0 [14:41:48]*** Brake cut motor [14:41:48]Read from MH i2c: 01 [14:41:48]MH_I2C_Read... [14:41:48]*** Stop cut motor [14:41:49]*** Cut end [14:41:49]Read from MH i2c: 01 07 00 [14:41:49]MH_I2C_Read... [14:41:49]Read from MH i2c: 01 07 00 94 01 00 00 00 00 00 FF 0F AA [14:41:49]process_action close_receipt done [14:41:49]requested_data is exist [14:41:49]produce_requested_data [14:41:49]requested_item fm.sn is exist - process it [14:41:49]wFMCommunicate request_size=4 [14:41:49]MH_SAM_APDU [14:41:49]CAPDU: 80 11 00 00 [14:41:49]Write to MH i2c: E2 08 00 95 01 80 11 00 00 00 00 00 00 10 [14:41:49]Write i2c OK [14:41:49]MH_I2C_Read... [14:41:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:41:49]Read from MH i2c: E2 [14:41:49]MH_I2C_Read... [14:41:49]Read from MH i2c: E2 17 00 [14:41:49]MH_I2C_Read... [14:41:49]Read from MH i2c: E2 17 00 95 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 69 [14:41:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:41:49]wFMCommunicate OK [14:41:49]requested_item fd.num is exist - process it [14:41:49]SAM_PROTO_GetFieldsCounters [14:41:49]wFMCommunicate request_size=4 [14:41:49]MH_SAM_APDU [14:41:49]CAPDU: 80 13 00 00 [14:41:49]Write to MH i2c: E2 08 00 96 01 80 13 00 00 00 00 00 00 13 [14:41:49]Write i2c OK [14:41:49]MH_I2C_Read... [14:41:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:41:49]Read from MH i2c: E2 [14:41:49]MH_I2C_Read... [14:41:49]Read from MH i2c: E2 62 00 [14:41:49]MH_I2C_Read... [14:41:49]Read from MH i2c: E2 62 00 96 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 B2 69 00 00 0E 04 04 00 B1 01 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 74 [14:41:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 B2 69 00 00 0E 04 04 00 B1 01 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:41:49]wFMCommunicate OK [14:41:49]SAM_PROTO_GetFieldsCounters done [14:41:49]requested_item shift.num is exist - process it [14:41:49]requested_item shift.opened is exist - process it [14:41:49]req_shift_opened [14:41:49]FM_GetShiftState [14:41:49]SAM_PROTO_GetShiftState [14:41:49]wFMCommunicate request_size=4 [14:41:49]MH_SAM_APDU [14:41:49]CAPDU: 80 13 01 00 [14:41:49]Write to MH i2c: E2 08 00 97 01 80 13 01 00 00 00 00 00 15 [14:41:49]Write i2c OK [14:41:49]MH_I2C_Read... [14:41:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:41:49]Read from MH i2c: E2 [14:41:49]MH_I2C_Read... [14:41:49]Read from MH i2c: E2 0E 00 [14:41:49]MH_I2C_Read... [14:41:49]Read from MH i2c: E2 0E 00 97 01 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 3D [14:41:49]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:41:49]wFMCommunicate OK [14:41:49]SAM_PROTO_GetShiftState done [14:41:49]FM_GetShiftState done [14:41:49]req_shift_opened done [14:41:49]requested_item shift.open_date is exist - process it [14:41:49]req_shift_open_date [14:41:49]req_shift_open_date done [14:41:49]produce_requested_data done [14:41:49]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27058,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [14:41:49]process_action_free close_receipt [14:41:49]json_value_free [14:41:49]json_value_free done [14:41:49]process_json_proto returns [14:41:49]Send response to host [14:41:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27058,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [14:41:49]free response buf [14:41:49]execute_script done [14:41:49]execute_script returns [14:41:49]free content buf [14:41:49]Sock 9.Close socket [14:41:49]Sock 9.Thread stoped [14:41:53]OFD Sender: No OFD packet to send [14:41:58]OFD Sender: No OFD packet to send [14:42:03]OFD Sender: No OFD packet to send [14:42:08]OFD Sender: No OFD packet to send [14:42:13]OFD Sender: No OFD packet to send [14:42:18]OFD Sender: No OFD packet to send [14:42:23]OFD Sender: No OFD packet to send [14:42:28]OFD Sender: No OFD packet to send [14:42:33]OFD Sender: No OFD packet to send [14:42:38]OFD Sender: No OFD packet to send [14:42:43]OFD Sender: No OFD packet to send [14:42:48]OFD Sender: No OFD packet to send [14:42:53]OFD Sender: No OFD packet to send [14:42:58]OFD Sender: No OFD packet to send [14:43:03]OFD Sender: No OFD packet to send [14:43:08]OFD Sender: No OFD packet to send [14:43:13]OFD Sender: No OFD packet to send [14:43:18]OFD Sender: No OFD packet to send [14:43:23]OFD Sender: No OFD packet to send [14:43:28]OFD Sender: No OFD packet to send [14:43:33]OFD Sender: No OFD packet to send [14:43:38]OFD Sender: No OFD packet to send [14:43:43]OFD Sender: No OFD packet to send [14:43:48]OFD Sender: No OFD packet to send [14:43:53]OFD Sender: No OFD packet to send [14:43:58]OFD Sender: No OFD packet to send [14:44:03]OFD Sender: No OFD packet to send [14:44:08]OFD Sender: No OFD packet to send [14:44:13]OFD Sender: No OFD packet to send [14:44:18]OFD Sender: No OFD packet to send [14:44:23]OFD Sender: No OFD packet to send [14:44:28]OFD Sender: No OFD packet to send [14:44:33]OFD Sender: No OFD packet to send [14:44:38]OFD Sender: No OFD packet to send [14:44:43]OFD Sender: No OFD packet to send [14:44:48]OFD Sender: No OFD packet to send [14:44:53]OFD Sender: No OFD packet to send [14:44:58]OFD Sender: No OFD packet to send [14:45:03]OFD Sender: No OFD packet to send [14:45:08]OFD Sender: No OFD packet to send [14:45:13]OFD Sender: No OFD packet to send [14:45:18]OFD Sender: No OFD packet to send [14:45:23]OFD Sender: No OFD packet to send [14:45:28]OFD Sender: No OFD packet to send [14:45:33]OFD Sender: No OFD packet to send [14:45:38]OFD Sender: No OFD packet to send [14:45:43]OFD Sender: No OFD packet to send [14:45:48]OFD Sender: No OFD packet to send [14:45:53]OFD Sender: No OFD packet to send [14:45:58]OFD Sender: No OFD packet to send [14:46:03]OFD Sender: No OFD packet to send [14:46:08]OFD Sender: No OFD packet to send [14:46:13]OFD Sender: No OFD packet to send [14:46:18]OFD Sender: No OFD packet to send [14:46:23]OFD Sender: No OFD packet to send [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:38]accept exits with 10 [14:49:38]New connection [14:49:38]New thread 3066502500 created [14:49:38]Thread 3066645860 joined [14:49:38]Waiting for new connection... [14:49:38] Sock 10.Parse request [14:49:38]Sock 10.Check first char [14:49:38]Sock 10.First char is OK [14:49:38]request: POST /json_proto HTTP/1.0 [14:49:38]Method: POST [14:49:38]URL: /json_proto [14:49:38]Method is POST - this is cgi request [14:49:38]url: /json_proto [14:49:38]query_string will be loaded in cgi processing [14:49:38]execute_cgi json_proto POST (null) [14:49:38]execute_cgi path=json_proto method=POST [14:49:38]POST find Content-Length [14:49:38]Host: 172.17.45.8:8080 [14:49:38]Content-Length: 1273 [14:49:38]Content-Type: application/json [14:49:38] [14:49:38]POST finish read [14:49:38]Found Content-Length = 1273 [14:49:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150457", "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" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "code": "4603290004817", "name": "\u041F\u0435\u0447 \u0437\u0430\u0442 \u042F\u0448\u043A\u0438\u043D\u043E \u043A\u043B\u0443\u0431\u043D \u041A\u0440\u0435\u043C 182\u0433", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 252.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:49:38]execute_script... [14:49:38]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)150457", "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" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "code": "4603290004817", "name": "\u041F\u0435\u0447 \u0437\u0430\u0442 \u042F\u0448\u043A\u0438\u043D\u043E \u043A\u043B\u0443\u0431\u043D \u041A\u0440\u0435\u043C 182\u0433", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 252.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:49:38]POST & json_proto [14:49:38]process_json_proto [14:49:38]json parsed OK: [14:49:38]protocol is kg_v1.0 [14:49:38]action value=close_receipt [14:49:38]process_action close_receipt [14:49:38]cmd_close_receipt [14:49:38]MH_GetDate [14:49:38]Write to MH i2c: F0 00 00 98 01 88 [14:49:38]Write i2c OK [14:49:38]MH_I2C_Read... [14:49:38]Read from MH i2c: F0 [14:49:38]MH_I2C_Read... [14:49:38]Read from MH i2c: F0 09 00 [14:49:38]MH_I2C_Read... [14:49:38]Read from MH i2c: F0 09 00 98 01 00 83 5A A6 66 A6 1F 7F 64 22 [14:49:38]GetLastDocTimeStamp 1722177705 [14:49:38]current date 1722178179 [14:49:38]FM_GetShiftState [14:49:38]SAM_PROTO_GetShiftState [14:49:38]wFMCommunicate request_size=4 [14:49:38]MH_SAM_APDU [14:49:38]CAPDU: 80 13 01 00 [14:49:38]Write to MH i2c: E2 08 00 99 01 80 13 01 00 00 00 00 00 17 [14:49:38]Write i2c OK [14:49:38]MH_I2C_Read... [14:49:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:49:38]Read from MH i2c: E2 [14:49:38]MH_I2C_Read... [14:49:38]Read from MH i2c: E2 0E 00 [14:49:38]MH_I2C_Read... [14:49:38]Read from MH i2c: E2 0E 00 99 01 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 3F [14:49:38]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:49:38]wFMCommunicate OK [14:49:38]SAM_PROTO_GetShiftState done [14:49:38]FM_GetShiftState done [14:49:38]opened in 1722127230 [14:49:38]opened+sec_in_day 1722213630 [14:49:38]quantity*price = 10700 [14:49:38]sum+1 = 10701 [14:49:38]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700040114137 Султан чай 1л. зел лимон 1.000 * 65.00 = 65.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4603290004817 Печ зат Яшкино клубн Крем 182г 1.000 * 80.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 252.00 НСП 1% : 2.23 НДС 12% : 26.76 Наличными: 252.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 37 28.07.2024 14:49 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27059 ФПД: 122622733995077 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T144939&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27059&fm=122622733995077&tin=02508201610067®Number=0000000000092663&sum=25200 0 [14:49:39]StoreToDocumentArchive [14:49:39]shift 433 fd 27059 [14:49:39]save to /storage/0433/doc_00027059 [14:49:39]save last doc name /storage/0433/doc_00027059 to /storage/kkm_last_doc_name [14:49:39]save OK [14:49:39]Clear old archive folders... [14:49:39]ProcessDocumentItem done err = 0, tmpTLVsize=525 [14:49:39]tlvbuf is 00567C10 [14:49:39]SAM_PROTO_ClearQueue [14:49:39]wFMCommunicate request_size=4 [14:49:39]MH_SAM_APDU [14:49:39]CAPDU: 80 09 00 00 [14:49:39]Write to MH i2c: E2 08 00 A6 01 80 09 00 00 00 00 00 00 19 [14:49:39]Write i2c OK [14:49:39]MH_I2C_Read... [14:49:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:49:39]Read from MH i2c: E2 [14:49:39]MH_I2C_Read... [14:49:39]Read from MH i2c: E2 03 00 [14:49:39]MH_I2C_Read... [14:49:39]Read from MH i2c: E2 03 00 A6 01 00 90 00 1B [14:49:39]RAPDU: 90 00 [14:49:39]wFMCommunicate OK [14:49:39]SAM_PROTO_ClearQueue done [14:49:39]KKMCreateOFDPacket [14:49:39]OFDProtocolAddRootSTLVToBuf [14:49:39]FM_MakeSignedData [14:49:39]FM_MakeSignedData [14:49:39]SAM_PROTO_SignData [14:49:39]wFMCommunicate request_size=4 [14:49:39]MH_SAM_APDU [14:49:39]CAPDU: 80 0D 01 02 [14:49:39]Write to MH i2c: E2 08 00 A7 01 80 0D 01 02 00 00 00 00 21 [14:49:39]Write i2c OK [14:49:39]MH_I2C_Read... [14:49:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:49:39]Read from MH i2c: E2 [14:49:39]MH_I2C_Read... [14:49:39]Read from MH i2c: E2 03 00 [14:49:39]MH_I2C_Read... [14:49:39]Read from MH i2c: E2 03 00 A7 01 00 90 00 1C [14:49:39]RAPDU: 90 00 [14:49:39]wFMCommunicate OK [14:49:39]wFMCommunicate request_size=255 [14:49:39]MH_SAM_APDU [14:49:39]CAPDU: 80 0D 02 02 FA 03 00 0D 02 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 CC 29 00 00 00 00 13 04 06 00 CC 29 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 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 23 04 78 00 8A 04 0D 00 34 36 [14:49:40]Write to MH i2c: E2 02 01 A8 01 80 0D 02 02 FA 00 03 00 0D 02 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 CC 29 00 00 00 00 13 04 06 00 CC 29 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 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 23 04 78 00 8A 04 0D 00 34 36 00 00 BF [14:49:40]Write i2c OK [14:49:40]MH_I2C_Read... [14:49:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:49:40]Read from MH i2c: E2 [14:49:40]MH_I2C_Read... [14:49:40]Read from MH i2c: E2 03 00 [14:49:40]MH_I2C_Read... [14:49:40]Read from MH i2c: E2 03 00 A8 01 00 90 00 1D [14:49:40]RAPDU: 90 00 [14:49:40]wFMCommunicate OK [14:49:40]wFMCommunicate request_size=255 [14:49:40]MH_SAM_APDU [14:49:40]CAPDU: 80 0D 02 02 FA 30 33 32 39 30 30 30 34 38 31 37 06 04 34 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 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 70 62 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 0A 00 00 00 00 07 04 06 00 70 62 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 83 5A A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 [14:49:40]Write to MH i2c: E2 02 01 A9 01 80 0D 02 02 FA 00 30 33 32 39 30 30 30 34 38 31 37 06 04 34 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 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 70 62 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 0A 00 00 00 00 07 04 06 00 70 62 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 83 5A A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 00 00 7A [14:49:40]Write i2c OK [14:49:40]MH_I2C_Read... [14:49:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:49:40]Read from MH i2c: E2 [14:49:40]MH_I2C_Read... [14:49:40]Read from MH i2c: E2 03 00 [14:49:40]MH_I2C_Read... [14:49:40]Read from MH i2c: E2 03 00 A9 01 00 90 00 1E [14:49:40]RAPDU: 90 00 [14:49:40]wFMCommunicate OK [14:49:40]wFMCommunicate request_size=34 [14:49:40]MH_SAM_APDU [14:49:40]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B3 69 00 00 35 04 06 00 6F 86 54 80 4C 45 [14:49:40]Write to MH i2c: E2 25 00 AA 01 80 0D 02 02 1D 00 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B3 69 00 00 35 04 06 00 6F 86 54 80 4C 45 00 00 62 [14:49:40]Write i2c OK [14:49:40]MH_I2C_Read... [14:49:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:49:40]Read from MH i2c: E2 [14:49:40]MH_I2C_Read... [14:49:40]Read from MH i2c: E2 03 00 [14:49:40]MH_I2C_Read... [14:49:40]Read from MH i2c: E2 03 00 AA 01 00 90 00 1F [14:49:40]RAPDU: 90 00 [14:49:40]wFMCommunicate OK [14:49:40]wFMCommunicate request_size=4 [14:49:40]MH_SAM_APDU [14:49:40]CAPDU: 80 0D 03 02 [14:49:40]Write to MH i2c: E2 08 00 AB 01 80 0D 03 02 00 00 00 00 27 [14:49:40]Write i2c OK [14:49:40]MH_I2C_Read... [14:49:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:49:40]Read from MH i2c: E2 [14:49:40]MH_I2C_Read... [14:49:40]Read from MH i2c: E2 0B 00 [14:49:40]MH_I2C_Read... [14:49:40]Read from MH i2c: E2 0B 00 AB 01 00 05 40 27 2A 23 73 FC E1 90 00 31 [14:49:40]RAPDU: 05 40 27 2A 23 73 FC E1 90 00 [14:49:40]wFMCommunicate OK [14:49:40]SAM_PROTO_SignData done [14:49:40]FM_MakeSignedData done [14:49:40]CreateOFDProtocolMessage [14:49:40]wFMCommunicate request_size=4 [14:49:40]MH_SAM_APDU [14:49:40]CAPDU: 80 11 00 00 [14:49:40]Write to MH i2c: E2 08 00 AC 01 80 11 00 00 00 00 00 00 27 [14:49:40]Write i2c OK [14:49:40]MH_I2C_Read... [14:49:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:49:40]Read from MH i2c: E2 [14:49:40]MH_I2C_Read... [14:49:40]Read from MH i2c: E2 17 00 [14:49:40]MH_I2C_Read... [14:49:40]Read from MH i2c: E2 17 00 AC 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 80 [14:49:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:49:40]wFMCommunicate OK [14:49:40]CreateOFDProtocolMessage done [14:49:40]OFDSenderStorePacket 27059 [14:49:40]StoreOFDPacket docnum=27059 [14:49:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 21 02 00 00 A0 ED 19 02 11 8B 5A 03 01 00 03 00 0D 02 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 CC 29 00 00 00 00 13 04 06 00 CC 29 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 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 23 04 78 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 31 37 06 04 34 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 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 70 62 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 0A 00 00 00 00 07 04 06 00 70 62 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 83 5A A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B3 69 00 00 35 04 06 00 6F 86 54 80 4C 45 05 40 27 2A 23 73 FC E1 [14:49:40]CheckFolder [14:49:40]dirname=/storage/ofd_packets [14:49:40]CheckFolder done [14:49:40]ProducePacketName [14:49:40]name=ofd_packets/00027059 [14:49:40]NVStorageSaveData ofd_packets/00027059 [14:49:40]File name is /storage/ofd_packets/00027059 [14:49:40]Write 575 bytes [14:49:40]NVStorageSaveData done [14:49:40]OFDSenderStorePacket done [14:49:40]KKMCreateOFDPacket done [14:49:40]NVStorageSaveData kkm_last_timestamp [14:49:40]File name is /storage/kkm_last_timestamp [14:49:40]Write 4 bytes [14:49:40]NVStorageSaveData done [14:49:40]ExternCall_PrintAddStr [14:49:40]wPrintStart [14:49:40]Write to MH i2c: 01 00 00 AD 01 AE [14:49:40]Write i2c OK [14:49:40]MH_I2C_Read... [14:49:40]Read from MH i2c: 01 [14:49:40]MH_I2C_Read... [14:49:40]Read from MH i2c: 01 07 00 [14:49:40]MH_I2C_Read... [14:49:40]Read from MH i2c: 01 07 00 AD 01 00 00 00 00 00 FF 0F C3 [14:49:40]RasterBufferAndPrint [14:49:40]line Счет N : (3)150457 [14:49:40]line ИНН: 02508201610067 [14:49:40]line Контрольно-Кассовый Чек [14:49:40]line ПРОДАЖА [14:49:40]line Товар: 5449000189332 [14:49:40]line Холодный чай Fuse персик 1л [14:49:40]line 1.000 * 107.00 [14:49:40]line = 107.00 [14:49:40]line НДС 12% НСП 1% [14:49:40]line > о реализуемом товаре [14:49:40]line Товар: 4700040114137 [14:49:40]line Султан чай 1л. зел лимон [14:49:40]line 1.000 * 65.00 [14:49:40]line = 65.00 [14:49:40]line НДС 12% НСП 1% [14:49:40]line > о реализуемом товаре [14:49:40]line Товар: 4603290004817 [14:49:40]line Печ зат Яшкино клубн Крем 182г [14:49:40]line 1.000 * 80.00 [14:49:40]line = 80.00 [14:49:40]line НДС 12% НСП 1% [14:49:40]line > о реализуемом товаре [14:49:40]line ИТОГО: 252.00 [14:49:40]line НСП 1% : 2.23 [14:49:40]line НДС 12% : 26.76 [14:49:40]line Наличными: 252.00 [14:49:40]line Безнал.: 0.00 [14:49:40]line Место: АЗС № 134 "Партнер Нефть" [14:49:40]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [14:49:40]line СНО: Общий режим [14:49:40]line Чек 37 28.07.2024 14:49 [14:49:40]line Смена: 433 ФФД: 1.0 [14:49:40]line ЗНМ: 0300000043 [14:49:40]line РНМ: 0000000000092663 [14:49:40]line Версия ККМ: 001 [14:49:40]line ФМ: 0000000000874937 [14:49:40]line ФД: 27059 [14:49:40]line ФПД: 122622733995077 [14:49:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T144939&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27059&fm=122622733995077&tin=02508201610067®Number=0000000000092663&sum=25200 [14:49:41]line 0 [14:49:41]OFD Sender: Processing packet 27059 [packets to send 9, broken 8] [14:49:41]ProducePacketName [14:49:41]name=ofd_packets/00027059 [14:49:41]OFD Sender: To server: pG, [14:49:41]CommunicateWithHost lk.salyk.kg:30040 [14:49:41]ConnectInit lk.salyk.kg [14:49:41]written 0, free lines is 4095 [14:49:41]Connected sock=9 [14:49:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 21 02 00 00 A0 ED 19 02 11 8B 5A 03 01 00 03 00 0D 02 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 CC 29 00 00 00 00 13 04 06 00 CC 29 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 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 23 04 78 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 31 37 06 04 34 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 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 70 62 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 0A 00 00 00 00 07 04 06 00 70 62 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 83 5A A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B3 69 00 00 35 04 06 00 6F 86 54 80 4C 45 05 40 27 2A 23 73 FC E1 [14:49:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 01 3B 47 00 C6 01 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 38 37 34 39 33 37 10 04 04 00 B3 69 00 00 F4 03 04 00 D7 00 A6 66 B6 04 01 00 00 C3 A5 ED 10 9A D2 25 66 [14:49:41]CommunicateWithHost err = 0 [14:49:41]CheckOFDResponse [14:49:41]1017 (14) - 77093643461234 [14:49:41]1041 (16) - 0000000000874937 [14:49:41]1040 (4) - 27059 [14:49:41]1012 (4) - 28.07.2024 08:27 [14:49:41]1206 (1) - 0 [14:49:41]OFD Sender: Remove packet 27059 [14:49:41]ProducePacketName [14:49:41]name=ofd_packets/00027059 [14:49:41]NVStorageDeleteData [14:49:41]Write to MH i2c: 01 00 00 E1 01 E2 [14:49:41]Write i2c OK [14:49:41]MH_I2C_Read... [14:49:41]Read from MH i2c: 01 [14:49:41]MH_I2C_Read... [14:49:41]Read from MH i2c: 01 07 00 [14:49:41]MH_I2C_Read... [14:49:41]Read from MH i2c: 01 07 00 E1 01 00 00 00 00 00 3E 0C 33 [14:49:41]RasterBufferAndPrint [14:49:41]line [14:49:41]line [14:49:41]line [14:49:41]line [14:49:41]line [14:49:41]written 0, free lines is 3138 [14:49:41]MH_Cut [14:49:41]Write to MH i2c: D1 01 00 E8 01 01 BB [14:49:41]Write i2c OK [14:49:41]MH_I2C_Read... [14:49:41]Read from MH i2c: D1 [14:49:41]MH_I2C_Read... [14:49:41]Read from MH i2c: D1 01 00 [14:49:41]MH_I2C_Read... [14:49:41]Read from MH i2c: D1 01 00 E8 01 00 BA [14:49:41]Write to MH i2c: 01 00 00 E9 01 EA [14:49:41]Write i2c OK [14:49:41]MH_I2C_Read... [14:49:42]OFD Sender: No OFD packet to send [14:49:42]*** Cut start [14:49:42]*** Partial cut [14:49:42]*** CUTSNS_PIN = 1 [14:49:42]*** CUTSNS_PIN = 0 [14:49:42]*** Brake cut motor [14:49:43]Read from MH i2c: 01 [14:49:43]MH_I2C_Read... [14:49:43]*** Stop cut motor [14:49:43]*** Cut end [14:49:43]Read from MH i2c: 01 07 00 [14:49:43]MH_I2C_Read... [14:49:43]Read from MH i2c: 01 07 00 E9 01 00 00 00 00 00 FF 0F FF [14:49:43]process_action close_receipt done [14:49:43]requested_data is exist [14:49:43]produce_requested_data [14:49:43]requested_item fm.sn is exist - process it [14:49:43]wFMCommunicate request_size=4 [14:49:43]MH_SAM_APDU [14:49:43]CAPDU: 80 11 00 00 [14:49:43]Write to MH i2c: E2 08 00 EA 01 80 11 00 00 00 00 00 00 65 [14:49:43]Write i2c OK [14:49:43]MH_I2C_Read... [14:49:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:49:43]Read from MH i2c: E2 [14:49:43]MH_I2C_Read... [14:49:43]Read from MH i2c: E2 17 00 [14:49:43]MH_I2C_Read... [14:49:43]Read from MH i2c: E2 17 00 EA 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 BE [14:49:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:49:43]wFMCommunicate OK [14:49:43]requested_item fd.num is exist - process it [14:49:43]SAM_PROTO_GetFieldsCounters [14:49:43]wFMCommunicate request_size=4 [14:49:43]MH_SAM_APDU [14:49:43]CAPDU: 80 13 00 00 [14:49:43]Write to MH i2c: E2 08 00 EB 01 80 13 00 00 00 00 00 00 68 [14:49:43]Write i2c OK [14:49:43]MH_I2C_Read... [14:49:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:49:43]Read from MH i2c: E2 [14:49:43]MH_I2C_Read... [14:49:43]Read from MH i2c: E2 62 00 [14:49:43]MH_I2C_Read... [14:49:43]Read from MH i2c: E2 62 00 EB 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 B3 69 00 00 0E 04 04 00 B1 01 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 CD [14:49:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 B3 69 00 00 0E 04 04 00 B1 01 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:49:43]wFMCommunicate OK [14:49:43]SAM_PROTO_GetFieldsCounters done [14:49:43]requested_item shift.num is exist - process it [14:49:43]requested_item shift.opened is exist - process it [14:49:43]req_shift_opened [14:49:43]FM_GetShiftState [14:49:43]SAM_PROTO_GetShiftState [14:49:43]wFMCommunicate request_size=4 [14:49:43]MH_SAM_APDU [14:49:43]CAPDU: 80 13 01 00 [14:49:43]Write to MH i2c: E2 08 00 EC 01 80 13 01 00 00 00 00 00 6A [14:49:43]Write i2c OK [14:49:43]MH_I2C_Read... [14:49:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:49:43]Read from MH i2c: E2 [14:49:43]MH_I2C_Read... [14:49:43]Read from MH i2c: E2 0E 00 [14:49:43]MH_I2C_Read... [14:49:43]Read from MH i2c: E2 0E 00 EC 01 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 92 [14:49:43]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:49:43]wFMCommunicate OK [14:49:43]SAM_PROTO_GetShiftState done [14:49:43]FM_GetShiftState done [14:49:43]req_shift_opened done [14:49:43]requested_item shift.open_date is exist - process it [14:49:43]req_shift_open_date [14:49:43]req_shift_open_date done [14:49:43]produce_requested_data done [14:49:43]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27059,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [14:49:43]process_action_free close_receipt [14:49:43]json_value_free [14:49:43]json_value_free done [14:49:43]process_json_proto returns [14:49:43]Send response to host [14:49:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27059,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [14:49:43]free response buf [14:49:43]execute_script done [14:49:43]execute_script returns [14:49:43]free content buf [14:49:43]Sock 10.Close socket [14:49:43]Sock 10.Thread stoped [14:49:47]OFD Sender: No OFD packet to send [14:49:52]OFD Sender: No OFD packet to send [14:49:57]OFD Sender: No OFD packet to send [14:50:02]OFD Sender: No OFD packet to send [14:50:07]OFD Sender: No OFD packet to send [14:50:12]OFD Sender: No OFD packet to send [14:50:17]OFD Sender: No OFD packet to send [14:50:22]OFD Sender: No OFD packet to send [14:50:27]OFD Sender: No OFD packet to send [14:50:32]OFD Sender: No OFD packet to send [14:50:37]OFD Sender: No OFD packet to send [14:50:42]OFD Sender: No OFD packet to send [14:50:47]OFD Sender: No OFD packet to send [14:50:52]OFD Sender: No OFD packet to send [14:50:57]OFD Sender: No OFD packet to send [14:51:02]OFD Sender: No OFD packet to send [14:51:07]OFD Sender: No OFD packet to send [14:51:12]OFD Sender: No OFD packet to send [14:51:17]OFD Sender: No OFD packet to send [14:51:22]OFD Sender: No OFD packet to send [14:54:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 21 01 00 00 96 77 19 01 7E 52 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 26 00 00 00 F4 03 04 00 8C 5B A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B4 69 00 00 35 04 06 00 A0 89 95 37 3C 4C 1A EF C6 D3 09 27 F8 DC [14:54:04]CheckFolder [14:54:04]dirname=/storage/ofd_packets [14:54:04]CheckFolder done [14:54:04]ProducePacketName [14:54:04]name=ofd_packets/00027060 [14:54:04]NVStorageSaveData ofd_packets/00027060 [14:54:04]File name is /storage/ofd_packets/00027060 [14:54:04]Write 319 bytes [14:54:04]NVStorageSaveData done [14:54:04]OFDSenderStorePacket done [14:54:04]KKMCreateOFDPacket done [14:54:04]NVStorageSaveData kkm_last_timestamp [14:54:04]File name is /storage/kkm_last_timestamp [14:54:04]Write 4 bytes [14:54:04]NVStorageSaveData done [14:54:04]ExternCall_PrintAddStr [14:54:04]wPrintStart [14:54:04]Write to MH i2c: 01 00 00 31 00 31 [14:54:04]Write i2c OK [14:54:04]MH_I2C_Read... [14:54:04]Read from MH i2c: 01 [14:54:04]MH_I2C_Read... [14:54:04]Read from MH i2c: 01 07 00 [14:54:04]MH_I2C_Read... [14:54:04]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [14:54:04]RasterBufferAndPrint [14:54:04]line Счет N : (3)150458 [14:54:04]line ИНН: 02508201610067 [14:54:04]line Контрольно-Кассовый Чек [14:54:04]line ПРОДАЖА [14:54:04]line Товар: 4700000160358 [14:54:04]line Вода Легенда 1л [14:54:04]line 1.000 * 50.00 [14:54:04]line = 50.00 [14:54:04]line НДС 12% НСП 1% [14:54:04]line > о реализуемом товаре [14:54:04]line ИТОГО: 50.00 [14:54:04]line НСП 1% : 0.44 [14:54:04]line НДС 12% : 5.31 [14:54:04]line Наличными: 50.00 [14:54:04]line Безнал.: 0.00 [14:54:04]line Место: АЗС № 134 "Партнер Нефть" [14:54:04]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [14:54:04]line СНО: Общий режим [14:54:04]line Чек 38 28.07.2024 14:54 [14:54:04]line Смена: 433 ФФД: 1.0 [14:54:04]line ЗНМ: 0300000043 [14:54:04]line РНМ: 0000000000092663 [14:54:04]line Версия ККМ: 001 [14:54:04]line ФМ: 0000000000874937 [14:54:04]line ФД: 27060 [14:54:04]line ФПД: 176512774388812 [14:54:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T145404&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27060&fm=176512774388812&tin=02508201610067®Number=0000000000092663&sum=5000 [14:54:04]line 0 [14:54:04]written 0, free lines is 4095 [14:54:04]OFD Sender: Processing packet 27060 [packets to send 9, broken 8] [14:54:04]ProducePacketName [14:54:04]name=ofd_packets/00027060 [14:54:04]OFD Sender: To server: pG, [14:54:04]CommunicateWithHost lk.salyk.kg:30040 [14:54:04]ConnectInit lk.salyk.kg [14:54:05]Write to MH i2c: 01 00 00 58 00 58 [14:54:05]Write i2c OK [14:54:05]MH_I2C_Read... [14:54:05]Read from MH i2c: 01 [14:54:05]MH_I2C_Read... [14:54:05]Read from MH i2c: 01 07 00 [14:54:05]MH_I2C_Read... [14:54:05]Read from MH i2c: 01 07 00 58 00 00 00 00 00 00 FF 0C 6A [14:54:05]RasterBufferAndPrint [14:54:05]line [14:54:05]line [14:54:05]line [14:54:05]line [14:54:05]line [14:54:05]written 0, free lines is 3333 [14:54:05]MH_Cut [14:54:05]Write to MH i2c: D1 01 00 5F 00 01 31 [14:54:05]Write i2c OK [14:54:05]MH_I2C_Read... [14:54:05]Read from MH i2c: D1 [14:54:05]MH_I2C_Read... [14:54:05]Read from MH i2c: D1 01 00 [14:54:05]MH_I2C_Read... [14:54:05]Read from MH i2c: D1 01 00 5F 00 00 30 [14:54:05]Write to MH i2c: 01 00 00 60 00 60 [14:54:05]Write i2c OK [14:54:05]MH_I2C_Read... [14:54:06]*** Cut start [14:54:06]*** Partial cut [14:54:06]*** CUTSNS_PIN = 1 [14:54:06]*** CUTSNS_PIN = 0 [14:54:06]ConnectInit Can't connect to host [14:54:06]*** Brake cut motor [14:54:06]Read from MH i2c: 01 [14:54:06]MH_I2C_Read... [14:54:06]*** Stop cut motor [14:54:06]*** Cut end [14:54:06]Read from MH i2c: 01 07 00 [14:54:06]MH_I2C_Read... [14:54:06]Read from MH i2c: 01 07 00 60 00 00 00 00 00 00 FF 0F 75 [14:54:06]process_action close_receipt done [14:54:06]requested_data is exist [14:54:06]produce_requested_data [14:54:06]requested_item fm.sn is exist - process it [14:54:06]wFMCommunicate request_size=4 [14:54:06]MH_SAM_APDU [14:54:06]CAPDU: 80 11 00 00 [14:54:06]Write to MH i2c: E2 08 00 61 00 80 11 00 00 00 00 00 00 DB [14:54:06]Write i2c OK [14:54:06]MH_I2C_Read... [14:54:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:54:06]Read from MH i2c: E2 [14:54:06]MH_I2C_Read... [14:54:06]Read from MH i2c: E2 17 00 [14:54:06]MH_I2C_Read... [14:54:06]Read from MH i2c: E2 17 00 61 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 34 [14:54:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:54:06]wFMCommunicate OK [14:54:06]requested_item fd.num is exist - process it [14:54:06]SAM_PROTO_GetFieldsCounters [14:54:06]wFMCommunicate request_size=4 [14:54:06]MH_SAM_APDU [14:54:06]CAPDU: 80 13 00 00 [14:54:06]Write to MH i2c: E2 08 00 62 00 80 13 00 00 00 00 00 00 DE [14:54:06]Write i2c OK [14:54:06]MH_I2C_Read... [14:54:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:54:06]Read from MH i2c: E2 [14:54:06]MH_I2C_Read... [14:54:06]Read from MH i2c: E2 62 00 [14:54:06]MH_I2C_Read... [14:54:06]Read from MH i2c: E2 62 00 62 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 B4 69 00 00 0E 04 04 00 B1 01 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 47 [14:54:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 B4 69 00 00 0E 04 04 00 B1 01 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:54:06]wFMCommunicate OK [14:54:06]SAM_PROTO_GetFieldsCounters done [14:54:06]requested_item shift.num is exist - process it [14:54:06]requested_item shift.opened is exist - process it [14:54:06]req_shift_opened [14:54:06]FM_GetShiftState [14:54:06]SAM_PROTO_GetShiftState [14:54:06]wFMCommunicate request_size=4 [14:54:06]MH_SAM_APDU [14:54:06]CAPDU: 80 13 01 00 [14:54:06]Write to MH i2c: E2 08 00 63 00 80 13 01 00 00 00 00 00 E0 [14:54:06]Write i2c OK [14:54:06]MH_I2C_Read... [14:54:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:54:06]Read from MH i2c: E2 [14:54:06]MH_I2C_Read... [14:54:06]Read from MH i2c: E2 0E 00 [14:54:06]MH_I2C_Read... [14:54:06]Read from MH i2c: E2 0E 00 63 00 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 08 [14:54:06]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:54:06]wFMCommunicate OK [14:54:06]SAM_PROTO_GetShiftState done [14:54:06]FM_GetShiftState done [14:54:06]req_shift_opened done [14:54:06]requested_item shift.open_date is exist - process it [14:54:06]req_shift_open_date [14:54:06]req_shift_open_date done [14:54:06]produce_requested_data done [14:54:06]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27060,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [14:54:06]process_action_free close_receipt [14:54:06]json_value_free [14:54:06]json_value_free done [14:54:06]process_json_proto returns [14:54:06]Send response to host [14:54:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27060,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [14:54:06]free response buf [14:54:06]execute_script done [14:54:06]execute_script returns [14:54:06]free content buf [14:54:06]Sock 8.Close socket [14:54:06]Sock 8.Thread stoped [14:54:10]ConnectInit Can't take IP for lk.salyk.kg [14:54:10]CommunicateWithHost connect error [14:54:10]CommunicateWithHost err = -1 [14:54:10]OFD Sender: Server communicate error [14:54:11]ConnectInit Can't connect to host [14:54:15]OFD Sender: Processing packet 27060 [packets to send 9, broken 8] [14:54:15]ProducePacketName [14:54:15]name=ofd_packets/00027060 [14:54:15]OFD Sender: To server: pG, [14:54:15]CommunicateWithHost lk.salyk.kg:30040 [14:54:15]ConnectInit lk.salyk.kg [14:54:15]Connected sock=8 [14:54:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 21 01 00 00 96 77 19 01 7E 52 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 26 00 00 00 F4 03 04 00 8C 5B A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B4 69 00 00 35 04 06 00 A0 89 95 37 3C 4C 1A EF C6 D3 09 27 F8 DC [14:54:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 77 9F 47 00 C0 0E 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 38 37 34 39 33 37 10 04 04 00 B4 69 00 00 F4 03 04 00 E9 01 A6 66 B6 04 01 00 00 DC 04 96 E6 FB 1F AB DF [14:54:15]CommunicateWithHost err = 0 [14:54:15]CheckOFDResponse [14:54:15]1017 (14) - 77093643461234 [14:54:15]1041 (16) - 0000000000874937 [14:54:15]1040 (4) - 27060 [14:54:15]1012 (4) - 28.07.2024 08:31 [14:54:15]1206 (1) - 0 [14:54:15]OFD Sender: Remove packet 27060 [14:54:15]ProducePacketName [14:54:15]name=ofd_packets/00027060 [14:54:15]NVStorageDeleteData [14:54:15]OFD Sender: No OFD packet to send [14:54:20]OFD Sender: No OFD packet to send [14:54:25]OFD Sender: No OFD packet to send [14:54:30]OFD Sender: No OFD packet to send [14:54:35]OFD Sender: No OFD packet to send [14:54:40]OFD Sender: No OFD packet to send [14:54:45]OFD Sender: No OFD packet to send [14:54:50]OFD Sender: No OFD packet to send [14:54:55]OFD Sender: No OFD packet to send [14:55:00]OFD Sender: No OFD packet to send [14:55:05]OFD Sender: No OFD packet to send [14:55:10]OFD Sender: No OFD packet to send [14:55:15]OFD Sender: No OFD packet to send [14:55:17]accept exits with 9 [14:55:17]New connection [14:55:17]New thread 3066785124 created [14:55:17]Thread 3066928484 joined [14:55:17]Waiting for new connection... [14:55:17] Sock 9.Parse request [14:55:17]Sock 9.Check first char [14:55:17]Sock 9.First char is OK [14:55:17]request: POST /json_proto HTTP/1.0 [14:55:17]Method: POST [14:55:17]URL: /json_proto [14:55:17]Method is POST - this is cgi request [14:55:17]url: /json_proto [14:55:17]query_string will be loaded in cgi processing [14:55:17]execute_cgi json_proto POST (null) [14:55:17]execute_cgi path=json_proto method=POST [14:55:17]POST find Content-Length [14:55:17]Host: 172.17.45.8:8080 [14:55:17]Content-Length: 1705 [14:55:17]Content-Type: application/json [14:55:17] [14:55:17]POST finish read [14:55:17]Found Content-Length = 1705 [14:55:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150459", "tax_sys" : 0, "items" : [ { "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.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 }]} ,{ "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 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": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:55:17]execute_script... [14:55: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)150459", "tax_sys" : 0, "items" : [ { "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.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 }]} ,{ "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 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": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:55:18]POST & json_proto [14:55:18]process_json_proto [14:55:18]json parsed OK: [14:55:18]protocol is kg_v1.0 [14:55:18]action value=close_receipt [14:55:18]process_action close_receipt [14:55:18]cmd_close_receipt [14:55:18]MH_GetDate [14:55:18]Write to MH i2c: F0 00 00 64 00 53 [14:55:18]Write i2c OK [14:55:18]MH_I2C_Read... [14:55:18]Read from MH i2c: F0 [14:55:18]MH_I2C_Read... [14:55:18]Read from MH i2c: F0 09 00 [14:55:18]MH_I2C_Read... [14:55:18]Read from MH i2c: F0 09 00 64 00 00 D6 5B A6 66 A6 1F 7F 64 41 [14:55:18]GetLastDocTimeStamp 1722178444 [14:55:18]current date 1722178518 [14:55:18]FM_GetShiftState [14:55:18]SAM_PROTO_GetShiftState [14:55:18]wFMCommunicate request_size=4 [14:55:18]MH_SAM_APDU [14:55:18]CAPDU: 80 13 01 00 [14:55:18]Write to MH i2c: E2 08 00 65 00 80 13 01 00 00 00 00 00 E2 [14:55:18]Write i2c OK [14:55:18]MH_I2C_Read... [14:55:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:55:18]Read from MH i2c: E2 [14:55:18]MH_I2C_Read... [14:55:18]Read from MH i2c: E2 0E 00 [14:55:18]MH_I2C_Read... [14:55:18]Read from MH i2c: E2 0E 00 65 00 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 0A [14:55:18]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:55:18]wFMCommunicate OK [14:55:18]SAM_PROTO_GetShiftState done [14:55:18]FM_GetShiftState done [14:55:18]opened in 1722127230 [14:55:18]opened+sec_in_day 1722213630 [14:55:18]quantity*price = 7500 [14:55:18]sum+1 = 7501 [14:55:18]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000480302 Напиток энерг Nitro манго-клуб 0.45 ж/б 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000005489 Вода Бонаква 1л б/г 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 270.00 НСП 1% : 2.38 НДС 12% : 28.67 Наличными: 0.00 Безнал.: 270.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 39 28.07.2024 14:55 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000874937 ФД: 27061 ФПД: 47775179270250 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T145518&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27061&fm=47775179270250&tin=02508201610067®Number=0000000000092663&sum=27000 0 [14:55:19]StoreToDocumentArchive [14:55:19]shift 433 fd 27061 [14:55:19]save to /storage/0433/doc_00027061 [14:55:19]save last doc name /storage/0433/doc_00027061 to /storage/kkm_last_doc_name [14:55:19]save OK [14:55:19]Clear old archive folders... [14:55:19]ProcessDocumentItem done err = 0, tmpTLVsize=642 [14:55:19]tlvbuf is 001A2D80 [14:55:19]SAM_PROTO_ClearQueue [14:55:19]wFMCommunicate request_size=4 [14:55:19]MH_SAM_APDU [14:55:19]CAPDU: 80 09 00 00 [14:55:19]Write to MH i2c: E2 08 00 72 00 80 09 00 00 00 00 00 00 E4 [14:55:19]Write i2c OK [14:55:19]MH_I2C_Read... [14:55:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:55:19]Read from MH i2c: E2 [14:55:19]MH_I2C_Read... [14:55:19]Read from MH i2c: E2 03 00 [14:55:19]MH_I2C_Read... [14:55:19]Read from MH i2c: E2 03 00 72 00 00 90 00 E6 [14:55:19]RAPDU: 90 00 [14:55:19]wFMCommunicate OK [14:55:19]SAM_PROTO_ClearQueue done [14:55:19]KKMCreateOFDPacket [14:55:19]OFDProtocolAddRootSTLVToBuf [14:55:19]FM_MakeSignedData [14:55:19]FM_MakeSignedData [14:55:19]SAM_PROTO_SignData [14:55:19]wFMCommunicate request_size=4 [14:55:19]MH_SAM_APDU [14:55:19]CAPDU: 80 0D 01 02 [14:55:19]Write to MH i2c: E2 08 00 73 00 80 0D 01 02 00 00 00 00 EC [14:55:19]Write i2c OK [14:55:19]MH_I2C_Read... [14:55:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:55:19]Read from MH i2c: E2 [14:55:19]MH_I2C_Read... [14:55:19]Read from MH i2c: E2 03 00 [14:55:19]MH_I2C_Read... [14:55:19]Read from MH i2c: E2 03 00 73 00 00 90 00 E7 [14:55:19]RAPDU: 90 00 [14:55:19]wFMCommunicate OK [14:55:19]wFMCommunicate request_size=255 [14:55:19]MH_SAM_APDU [14:55:19]CAPDU: 80 0D 02 02 FA 03 00 82 02 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 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 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 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 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 82 00 8A 04 0D 00 [14:55:19]Write to MH i2c: E2 02 01 74 00 80 0D 02 02 FA 00 03 00 82 02 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 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 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 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 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 82 00 8A 04 0D 00 00 00 39 [14:55:19]Write i2c OK [14:55:19]MH_I2C_Read... [14:55:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:55:19]Read from MH i2c: E2 [14:55:19]MH_I2C_Read... [14:55:19]Read from MH i2c: E2 03 00 [14:55:19]MH_I2C_Read... [14:55:19]Read from MH i2c: E2 03 00 74 00 00 90 00 E8 [14:55:19]RAPDU: 90 00 [14:55:19]wFMCommunicate OK [14:55:19]wFMCommunicate request_size=255 [14:55:19]MH_SAM_APDU [14:55:19]CAPDU: 80 0D 02 02 FA 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 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 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 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 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 20 D0 B1 2F D0 B3 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 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 [14:55:19]Write to MH i2c: E2 02 01 75 00 80 0D 02 02 FA 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 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 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 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 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 20 D0 B1 2F D0 B3 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 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 00 00 4F [14:55:19]Write i2c OK [14:55:19]MH_I2C_Read... [14:55:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:55:19]Read from MH i2c: E2 [14:55:19]MH_I2C_Read... [14:55:19]Read from MH i2c: E2 03 00 [14:55:19]MH_I2C_Read... [14:55:19]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [14:55:19]RAPDU: 90 00 [14:55:19]wFMCommunicate OK [14:55:19]wFMCommunicate request_size=151 [14:55:19]MH_SAM_APDU [14:55:19]CAPDU: 80 0D 02 02 92 03 01 00 01 F7 03 06 00 EE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 69 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 D6 5B A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B5 69 00 00 35 04 06 00 2B 73 86 96 E8 6A [14:55:19]Write to MH i2c: E2 9A 00 76 00 80 0D 02 02 92 00 03 01 00 01 F7 03 06 00 EE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 69 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 D6 5B A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B5 69 00 00 35 04 06 00 2B 73 86 96 E8 6A 00 00 9A [14:55:19]Write i2c OK [14:55:19]MH_I2C_Read... [14:55:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:55:20]Read from MH i2c: E2 [14:55:20]MH_I2C_Read... [14:55:20]Read from MH i2c: E2 03 00 [14:55:20]MH_I2C_Read... [14:55:20]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [14:55:20]RAPDU: 90 00 [14:55:20]wFMCommunicate OK [14:55:20]wFMCommunicate request_size=4 [14:55:20]MH_SAM_APDU [14:55:20]CAPDU: 80 0D 03 02 [14:55:20]Write to MH i2c: E2 08 00 77 00 80 0D 03 02 00 00 00 00 F2 [14:55:20]Write i2c OK [14:55:20]MH_I2C_Read... [14:55:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:55:20]Read from MH i2c: E2 [14:55:20]MH_I2C_Read... [14:55:20]Read from MH i2c: E2 0B 00 [14:55:20]MH_I2C_Read... [14:55:20]Read from MH i2c: E2 0B 00 77 00 00 56 A8 F5 5B 6F F5 B3 3D 90 00 95 [14:55:20]RAPDU: 56 A8 F5 5B 6F F5 B3 3D 90 00 [14:55:20]wFMCommunicate OK [14:55:20]SAM_PROTO_SignData done [14:55:20]FM_MakeSignedData done [14:55:20]CreateOFDProtocolMessage [14:55:20]wFMCommunicate request_size=4 [14:55:20]MH_SAM_APDU [14:55:20]CAPDU: 80 11 00 00 [14:55:20]Write to MH i2c: E2 08 00 78 00 80 11 00 00 00 00 00 00 F2 [14:55:20]Write i2c OK [14:55:20]MH_I2C_Read... [14:55:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:55:20]Read from MH i2c: E2 [14:55:20]MH_I2C_Read... [14:55:20]Read from MH i2c: E2 17 00 [14:55:20]MH_I2C_Read... [14:55:20]Read from MH i2c: E2 17 00 78 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 4B [14:55:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:55:20]wFMCommunicate OK [14:55:20]CreateOFDProtocolMessage done [14:55:20]OFDSenderStorePacket 27061 [14:55:20]StoreOFDPacket docnum=27061 [14:55:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 96 02 00 00 D7 96 8E 02 2C FB 5A 03 01 00 03 00 82 02 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 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 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 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 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 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 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 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 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 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 20 D0 B1 2F D0 B3 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 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 69 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 D6 5B A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B5 69 00 00 35 04 06 00 2B 73 86 96 E8 6A 56 A8 F5 5B 6F F5 B3 3D [14:55:20]CheckFolder [14:55:20]dirname=/storage/ofd_packets [14:55:20]CheckFolder done [14:55:20]ProducePacketName [14:55:20]name=ofd_packets/00027061 [14:55:20]NVStorageSaveData ofd_packets/00027061 [14:55:20]File name is /storage/ofd_packets/00027061 [14:55:20]Write 692 bytes [14:55:20]NVStorageSaveData done [14:55:20]OFDSenderStorePacket done [14:55:20]KKMCreateOFDPacket done [14:55:20]NVStorageSaveData kkm_last_timestamp [14:55:20]File name is /storage/kkm_last_timestamp [14:55:20]Write 4 bytes [14:55:20]NVStorageSaveData done [14:55:20]ExternCall_PrintAddStr [14:55:20]wPrintStart [14:55:20]Write to MH i2c: 01 00 00 79 00 79 [14:55:20]Write i2c OK [14:55:20]MH_I2C_Read... [14:55:20]Read from MH i2c: 01 [14:55:20]MH_I2C_Read... [14:55:20]Read from MH i2c: 01 07 00 [14:55:20]MH_I2C_Read... [14:55:20]Read from MH i2c: 01 07 00 79 00 00 00 00 00 00 FF 0F 8E [14:55:20]RasterBufferAndPrint [14:55:20]line Счет N : (3)150459 [14:55:20]line ИНН: 02508201610067 [14:55:20]line Контрольно-Кассовый Чек [14:55:20]line ПРОДАЖА [14:55:20]line Товар: 4870112003956 [14:55:20]line Шок батончик ALBENI SUPER Альбени Супер [14:55:20]line 1.000 * 75.00 [14:55:20]line = 75.00 [14:55:20]line НДС 12% НСП 1% [14:55:20]line > о реализуемом товаре [14:55:20]line Товар: 4700000160358 [14:55:20]line Вода Легенда 1л [14:55:20]line 1.000 * 50.00 [14:55:20]line = 50.00 [14:55:20]line НДС 12% НСП 1% [14:55:20]line > о реализуемом товаре [14:55:20]line Товар: 4700000480302 [14:55:20]line Напиток энерг Nitro манго-клуб 0.45 ж/б [14:55:20]line 1.000 * 95.00 [14:55:20]line = 95.00 [14:55:20]line НДС 12% НСП 1% [14:55:20]line > о реализуемом товаре [14:55:20]line Товар: 5449000005489 [14:55:20]line Вода Бонаква 1л б/г [14:55:20]line 1.000 * 50.00 [14:55:20]line = 50.00 [14:55:20]line НДС 12% НСП 1% [14:55:20]line > о реализуемом товаре [14:55:20]line ИТОГО: 270.00 [14:55:20]line НСП 1% : 2.38 [14:55:20]line НДС 12% : 28.67 [14:55:20]line Наличными: 0.00 [14:55:20]line Безнал.: 270.00 [14:55:20]line Место: АЗС № 134 "Партнер Нефть" [14:55:20]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [14:55:20]line СНО: Общий режим [14:55:20]line Чек 39 28.07.2024 14:55 [14:55:20]line Смена: 433 ФФД: 1.0 [14:55:20]line ЗНМ: 0300000043 [14:55:20]line РНМ: 0000000000092663 [14:55:20]line Версия ККМ: 001 [14:55:20]line Платежная система: O! деньги [14:55:20]line ФМ: 0000000000874937 [14:55:20]line ФД: 27061 [14:55:20]line ФПД: 47775179270250 [14:55:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T145518&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27061&fm=47775179270250&tin=02508201610067®Number=0000000000092663&sum=27000 [14:55:20]line 0 [14:55:20]OFD Sender: Processing packet 27061 [packets to send 9, broken 8] [14:55:20]ProducePacketName [14:55:20]name=ofd_packets/00027061 [14:55:20]OFD Sender: To server: pG, [14:55:20]CommunicateWithHost lk.salyk.kg:30040 [14:55:20]ConnectInit lk.salyk.kg [14:55:20]written 0, free lines is 4095 [14:55:20]Connected sock=10 [14:55:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 96 02 00 00 D7 96 8E 02 2C FB 5A 03 01 00 03 00 82 02 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 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 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 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 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 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 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 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 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 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 20 D0 B1 2F D0 B3 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 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 69 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 D6 5B A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B5 69 00 00 35 04 06 00 2B 73 86 96 E8 6A 56 A8 F5 5B 6F F5 B3 3D [14:55:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 E7 90 47 00 B7 D6 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 38 37 34 39 33 37 10 04 04 00 B5 69 00 00 F4 03 04 00 2A 02 A6 66 B6 04 01 00 00 F8 1C E2 9B 37 FB E2 F8 [14:55:20]CommunicateWithHost err = 0 [14:55:20]CheckOFDResponse [14:55:20]1017 (14) - 77093643461234 [14:55:20]1041 (16) - 0000000000874937 [14:55:20]1040 (4) - 27061 [14:55:20]1012 (4) - 28.07.2024 08:32 [14:55:20]1206 (1) - 0 [14:55:20]OFD Sender: Remove packet 27061 [14:55:20]ProducePacketName [14:55:20]name=ofd_packets/00027061 [14:55:20]NVStorageDeleteData [14:55:21]Write to MH i2c: 01 00 00 B6 00 B6 [14:55:21]Write i2c OK [14:55:21]MH_I2C_Read... [14:55:21]Read from MH i2c: 01 [14:55:21]MH_I2C_Read... [14:55:21]Read from MH i2c: 01 07 00 [14:55:21]MH_I2C_Read... [14:55:21]Read from MH i2c: 01 07 00 B6 00 00 00 00 00 00 B4 0B 7C [14:55:21]RasterBufferAndPrint [14:55:21]line [14:55:21]line [14:55:21]line [14:55:21]line [14:55:21]line [14:55:21]written 0, free lines is 3003 [14:55:21]MH_Cut [14:55:21]Write to MH i2c: D1 01 00 BD 00 01 8F [14:55:21]Write i2c OK [14:55:21]MH_I2C_Read... [14:55:21]Read from MH i2c: D1 [14:55:21]MH_I2C_Read... [14:55:21]Read from MH i2c: D1 01 00 [14:55:21]MH_I2C_Read... [14:55:21]Read from MH i2c: D1 01 00 BD 00 00 8E [14:55:21]Write to MH i2c: 01 00 00 BE 00 BE [14:55:21]Write i2c OK [14:55:21]MH_I2C_Read... [14:55:21]OFD Sender: No OFD packet to send [14:55:22]*** Cut start [14:55:22]*** Partial cut [14:55:22]*** CUTSNS_PIN = 1 [14:55:22]*** CUTSNS_PIN = 0 [14:55:22]*** Brake cut motor [14:55:22]Read from MH i2c: 01 [14:55:22]MH_I2C_Read... [14:55:22]*** Stop cut motor [14:55:22]*** Cut end [14:55:22]Read from MH i2c: 01 07 00 [14:55:22]MH_I2C_Read... [14:55:22]Read from MH i2c: 01 07 00 BE 00 00 00 00 00 00 FF 0F D3 [14:55:22]process_action close_receipt done [14:55:22]requested_data is exist [14:55:22]produce_requested_data [14:55:22]requested_item fm.sn is exist - process it [14:55:22]wFMCommunicate request_size=4 [14:55:22]MH_SAM_APDU [14:55:22]CAPDU: 80 11 00 00 [14:55:22]Write to MH i2c: E2 08 00 BF 00 80 11 00 00 00 00 00 00 39 [14:55:22]Write i2c OK [14:55:22]MH_I2C_Read... [14:55:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:55:22]Read from MH i2c: E2 [14:55:22]MH_I2C_Read... [14:55:22]Read from MH i2c: E2 17 00 [14:55:22]MH_I2C_Read... [14:55:22]Read from MH i2c: E2 17 00 BF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 92 [14:55:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:55:22]wFMCommunicate OK [14:55:22]requested_item fd.num is exist - process it [14:55:22]SAM_PROTO_GetFieldsCounters [14:55:22]wFMCommunicate request_size=4 [14:55:22]MH_SAM_APDU [14:55:22]CAPDU: 80 13 00 00 [14:55:22]Write to MH i2c: E2 08 00 C0 00 80 13 00 00 00 00 00 00 3C [14:55:22]Write i2c OK [14:55:22]MH_I2C_Read... [14:55:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:55:22]Read from MH i2c: E2 [14:55:22]MH_I2C_Read... [14:55:22]Read from MH i2c: E2 62 00 [14:55:22]MH_I2C_Read... [14:55:22]Read from MH i2c: E2 62 00 C0 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 B5 69 00 00 0E 04 04 00 B1 01 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 A9 [14:55:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 B5 69 00 00 0E 04 04 00 B1 01 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:55:22]wFMCommunicate OK [14:55:22]SAM_PROTO_GetFieldsCounters done [14:55:22]requested_item shift.num is exist - process it [14:55:22]requested_item shift.opened is exist - process it [14:55:22]req_shift_opened [14:55:22]FM_GetShiftState [14:55:22]SAM_PROTO_GetShiftState [14:55:22]wFMCommunicate request_size=4 [14:55:22]MH_SAM_APDU [14:55:22]CAPDU: 80 13 01 00 [14:55:22]Write to MH i2c: E2 08 00 C1 00 80 13 01 00 00 00 00 00 3E [14:55:22]Write i2c OK [14:55:22]MH_I2C_Read... [14:55:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:55:23]Read from MH i2c: E2 [14:55:23]MH_I2C_Read... [14:55:23]Read from MH i2c: E2 0E 00 [14:55:23]MH_I2C_Read... [14:55:23]Read from MH i2c: E2 0E 00 C1 00 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 66 [14:55:23]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:55:23]wFMCommunicate OK [14:55:23]SAM_PROTO_GetShiftState done [14:55:23]FM_GetShiftState done [14:55:23]req_shift_opened done [14:55:23]requested_item shift.open_date is exist - process it [14:55:23]req_shift_open_date [14:55:23]req_shift_open_date done [14:55:23]produce_requested_data done [14:55:23]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27061,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [14:55:23]process_action_free close_receipt [14:55:23]json_value_free [14:55:23]json_value_free done [14:55:23]process_json_proto returns [14:55:23]Send response to host [14:55:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27061,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [14:55:23]free response buf [14:55:23]execute_script done [14:55:23]execute_script returns [14:55:23]free content buf [14:55:23]Sock 9.Close socket [14:55:23]Sock 9.Thread stoped [14:55:26]OFD Sender: No OFD packet to send [14:55:31]OFD Sender: No OFD packet to send [14:55:31]accept exits with 8 [14:55:31]New connection [14:55:31]New thread 3066928484 created [14:55:31]Thread 3066785124 joined [14:55:31]Waiting for new connection... [14:55:31] Sock 8.Parse request [14:55:31]Sock 8.Check first char [14:55:31]Sock 8.First char is OK [14:55:31]request: POST /json_proto HTTP/1.0 [14:55:31]Method: POST [14:55:31]URL: /json_proto [14:55:31]Method is POST - this is cgi request [14:55:31]url: /json_proto [14:55:31]query_string will be loaded in cgi processing [14:55:31]execute_cgi json_proto POST (null) [14:55:31]execute_cgi path=json_proto method=POST [14:55:31]POST find Content-Length [14:55:31]Host: 172.17.45.8:8080 [14:55:31]Content-Length: 630 [14:55:31]Content-Type: application/json [14:55:31] [14:55:31]POST finish read [14:55:31]Found Content-Length = 630 [14:55:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150460", "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" ] } } [14:55:31]execute_script... [14:55: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)150460", "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" ] } } [14:55:31]POST & json_proto [14:55:31]process_json_proto [14:55:31]json parsed OK: [14:55:31]protocol is kg_v1.0 [14:55:31]action value=close_receipt [14:55:31]process_action close_receipt [14:55:31]cmd_close_receipt [14:55:31]MH_GetDate [14:55:31]Write to MH i2c: F0 00 00 C2 00 B1 [14:55:31]Write i2c OK [14:55:31]MH_I2C_Read... [14:55:31]Read from MH i2c: F0 [14:55:31]MH_I2C_Read... [14:55:31]Read from MH i2c: F0 09 00 [14:55:31]MH_I2C_Read... [14:55:31]Read from MH i2c: F0 09 00 C2 00 00 E4 5B A6 66 A6 1F 7F 64 AD [14:55:31]GetLastDocTimeStamp 1722178518 [14:55:31]current date 1722178532 [14:55:31]FM_GetShiftState [14:55:31]SAM_PROTO_GetShiftState [14:55:31]wFMCommunicate request_size=4 [14:55:31]MH_SAM_APDU [14:55:31]CAPDU: 80 13 01 00 [14:55:31]Write to MH i2c: E2 08 00 C3 00 80 13 01 00 00 00 00 00 40 [14:55:31]Write i2c OK [14:55:31]MH_I2C_Read... [14:55:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:55:31]Read from MH i2c: E2 [14:55:31]MH_I2C_Read... [14:55:31]Read from MH i2c: E2 0E 00 [14:55:31]MH_I2C_Read... [14:55:31]Read from MH i2c: E2 0E 00 C3 00 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 68 [14:55:31]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:55:31]wFMCommunicate OK [14:55:31]SAM_PROTO_GetShiftState done [14:55:31]FM_GetShiftState done [14:55:31]opened in 1722127230 [14:55:31]opened+sec_in_day 1722213630 [14:55:31]quantity*price = 5000 [14:55:31]sum+1 = 5001 [14:55:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 40 28.07.2024 14:55 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27062 ФПД: 181329315581832 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T145532&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27062&fm=181329315581832&tin=02508201610067®Number=0000000000092663&sum=5000 0 [14:55:33]StoreToDocumentArchive [14:55:33]shift 433 fd 27062 [14:55:33]save to /storage/0433/doc_00027062 [14:55:33]save last doc name /storage/0433/doc_00027062 to /storage/kkm_last_doc_name [14:55:33]save OK [14:55:33]Clear old archive folders... [14:55:33]ProcessDocumentItem done err = 0, tmpTLVsize=269 [14:55:33]tlvbuf is 001B8640 [14:55:33]SAM_PROTO_ClearQueue [14:55:33]wFMCommunicate request_size=4 [14:55:33]MH_SAM_APDU [14:55:33]CAPDU: 80 09 00 00 [14:55:33]Write to MH i2c: E2 08 00 D0 00 80 09 00 00 00 00 00 00 42 [14:55:33]Write i2c OK [14:55:33]MH_I2C_Read... [14:55:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:55:33]Read from MH i2c: E2 [14:55:33]MH_I2C_Read... [14:55:33]Read from MH i2c: E2 03 00 [14:55:33]MH_I2C_Read... [14:55:33]Read from MH i2c: E2 03 00 D0 00 00 90 00 44 [14:55:33]RAPDU: 90 00 [14:55:33]wFMCommunicate OK [14:55:33]SAM_PROTO_ClearQueue done [14:55:33]KKMCreateOFDPacket [14:55:33]OFDProtocolAddRootSTLVToBuf [14:55:33]FM_MakeSignedData [14:55:33]FM_MakeSignedData [14:55:33]SAM_PROTO_SignData [14:55:33]wFMCommunicate request_size=4 [14:55:33]MH_SAM_APDU [14:55:33]CAPDU: 80 0D 01 02 [14:55:33]Write to MH i2c: E2 08 00 D1 00 80 0D 01 02 00 00 00 00 4A [14:55:33]Write i2c OK [14:55:33]MH_I2C_Read... [14:55:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:55:33]Read from MH i2c: E2 [14:55:33]MH_I2C_Read... [14:55:33]Read from MH i2c: E2 03 00 [14:55:33]MH_I2C_Read... [14:55:33]Read from MH i2c: E2 03 00 D1 00 00 90 00 45 [14:55:33]RAPDU: 90 00 [14:55:33]wFMCommunicate OK [14:55:33]wFMCommunicate request_size=255 [14:55:33]MH_SAM_APDU [14:55:33]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 28 00 00 00 F4 03 04 00 E4 5B A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [14:55:33]Write to MH i2c: E2 02 01 D2 00 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 28 00 00 00 F4 03 04 00 E4 5B A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 87 [14:55:33]Write i2c OK [14:55:33]MH_I2C_Read... [14:55:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:55:33]Read from MH i2c: E2 [14:55:33]MH_I2C_Read... [14:55:33]Read from MH i2c: E2 03 00 [14:55:33]MH_I2C_Read... [14:55:33]Read from MH i2c: E2 03 00 D2 00 00 90 00 46 [14:55:33]RAPDU: 90 00 [14:55:33]wFMCommunicate OK [14:55:33]wFMCommunicate request_size=28 [14:55:33]MH_SAM_APDU [14:55:33]CAPDU: 80 0D 02 02 17 37 34 39 33 37 10 04 04 00 B6 69 00 00 35 04 06 00 A4 EB 05 71 4F 88 [14:55:33]Write to MH i2c: E2 1F 00 D3 00 80 0D 02 02 17 00 37 34 39 33 37 10 04 04 00 B6 69 00 00 35 04 06 00 A4 EB 05 71 4F 88 00 00 DB [14:55:33]Write i2c OK [14:55:33]MH_I2C_Read... [14:55:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:55:33]Read from MH i2c: E2 [14:55:33]MH_I2C_Read... [14:55:33]Read from MH i2c: E2 03 00 [14:55:33]MH_I2C_Read... [14:55:33]Read from MH i2c: E2 03 00 D3 00 00 90 00 47 [14:55:33]RAPDU: 90 00 [14:55:33]wFMCommunicate OK [14:55:33]wFMCommunicate request_size=4 [14:55:33]MH_SAM_APDU [14:55:33]CAPDU: 80 0D 03 02 [14:55:33]Write to MH i2c: E2 08 00 D4 00 80 0D 03 02 00 00 00 00 4F [14:55:33]Write i2c OK [14:55:33]MH_I2C_Read... [14:55:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:55:33]Read from MH i2c: E2 [14:55:33]MH_I2C_Read... [14:55:33]Read from MH i2c: E2 0B 00 [14:55:33]MH_I2C_Read... [14:55:33]Read from MH i2c: E2 0B 00 D4 00 00 71 99 0F 28 79 B2 7B 41 90 00 78 [14:55:33]RAPDU: 71 99 0F 28 79 B2 7B 41 90 00 [14:55:33]wFMCommunicate OK [14:55:33]SAM_PROTO_SignData done [14:55:33]FM_MakeSignedData done [14:55:33]CreateOFDProtocolMessage [14:55:33]wFMCommunicate request_size=4 [14:55:33]MH_SAM_APDU [14:55:33]CAPDU: 80 11 00 00 [14:55:33]Write to MH i2c: E2 08 00 D5 00 80 11 00 00 00 00 00 00 4F [14:55:33]Write i2c OK [14:55:33]MH_I2C_Read... [14:55:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:55:33]Read from MH i2c: E2 [14:55:33]MH_I2C_Read... [14:55:33]Read from MH i2c: E2 17 00 [14:55:33]MH_I2C_Read... [14:55:33]Read from MH i2c: E2 17 00 D5 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 A8 [14:55:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:55:33]wFMCommunicate OK [14:55:33]CreateOFDProtocolMessage done [14:55:33]OFDSenderStorePacket 27062 [14:55:33]StoreOFDPacket docnum=27062 [14:55:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 21 01 00 00 17 93 19 01 62 B2 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 28 00 00 00 F4 03 04 00 E4 5B A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B6 69 00 00 35 04 06 00 A4 EB 05 71 4F 88 71 99 0F 28 79 B2 7B 41 [14:55:33]CheckFolder [14:55:33]dirname=/storage/ofd_packets [14:55:33]CheckFolder done [14:55:33]ProducePacketName [14:55:33]name=ofd_packets/00027062 [14:55:33]NVStorageSaveData ofd_packets/00027062 [14:55:33]File name is /storage/ofd_packets/00027062 [14:55:33]Write 319 bytes [14:55:33]NVStorageSaveData done [14:55:33]OFDSenderStorePacket done [14:55:33]KKMCreateOFDPacket done [14:55:33]NVStorageSaveData kkm_last_timestamp [14:55:33]File name is /storage/kkm_last_timestamp [14:55:33]Write 4 bytes [14:55:33]NVStorageSaveData done [14:55:33]ExternCall_PrintAddStr [14:55:33]wPrintStart [14:55:33]Write to MH i2c: 01 00 00 D6 00 D6 [14:55:33]Write i2c OK [14:55:33]MH_I2C_Read... [14:55:33]Read from MH i2c: 01 [14:55:33]MH_I2C_Read... [14:55:33]Read from MH i2c: 01 07 00 [14:55:33]MH_I2C_Read... [14:55:33]Read from MH i2c: 01 07 00 D6 00 00 00 00 00 00 FF 0F EB [14:55:33]RasterBufferAndPrint [14:55:33]line Счет N : (3)150460 [14:55:33]line ИНН: 02508201610067 [14:55:33]line Контрольно-Кассовый Чек [14:55:33]line ПРОДАЖА [14:55:33]line Товар: 4700000160358 [14:55:33]line Вода Легенда 1л [14:55:33]line 1.000 * 50.00 [14:55:33]line = 50.00 [14:55:33]line НДС 12% НСП 1% [14:55:33]line > о реализуемом товаре [14:55:33]line ИТОГО: 50.00 [14:55:33]line НСП 1% : 0.44 [14:55:33]line НДС 12% : 5.31 [14:55:33]line Наличными: 50.00 [14:55:33]line Безнал.: 0.00 [14:55:33]line Место: АЗС № 134 "Партнер Нефть" [14:55:33]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [14:55:33]line СНО: Общий режим [14:55:33]line Чек 40 28.07.2024 14:55 [14:55:33]line Смена: 433 ФФД: 1.0 [14:55:33]line ЗНМ: 0300000043 [14:55:33]line РНМ: 0000000000092663 [14:55:33]line Версия ККМ: 001 [14:55:33]line ФМ: 0000000000874937 [14:55:33]line ФД: 27062 [14:55:33]line ФПД: 181329315581832 [14:55:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T145532&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27062&fm=181329315581832&tin=02508201610067®Number=0000000000092663&sum=5000 [14:55:33]line 0 [14:55:33]written 0, free lines is 4095 [14:55:33]OFD Sender: Processing packet 27062 [packets to send 9, broken 8] [14:55:33]ProducePacketName [14:55:33]name=ofd_packets/00027062 [14:55:33]OFD Sender: To server: pG, [14:55:33]CommunicateWithHost lk.salyk.kg:30040 [14:55:33]ConnectInit lk.salyk.kg [14:55:33]Connected sock=10 [14:55:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 21 01 00 00 17 93 19 01 62 B2 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 28 00 00 00 F4 03 04 00 E4 5B A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B6 69 00 00 35 04 06 00 A4 EB 05 71 4F 88 71 99 0F 28 79 B2 7B 41 [14:55:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 38 2A 47 00 92 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 38 37 34 39 33 37 10 04 04 00 B6 69 00 00 F4 03 04 00 37 02 A6 66 B6 04 01 00 00 A3 68 67 11 6C 06 94 B5 [14:55:34]CommunicateWithHost err = 0 [14:55:34]CheckOFDResponse [14:55:34]1017 (14) - 77093643461234 [14:55:34]1041 (16) - 0000000000874937 [14:55:34]1040 (4) - 27062 [14:55:34]1012 (4) - 28.07.2024 08:32 [14:55:34]1206 (1) - 0 [14:55:34]OFD Sender: Remove packet 27062 [14:55:34]ProducePacketName [14:55:34]name=ofd_packets/00027062 [14:55:34]NVStorageDeleteData [14:55:34]Write to MH i2c: 01 00 00 FD 00 FD [14:55:34]Write i2c OK [14:55:34]MH_I2C_Read... [14:55:34]Read from MH i2c: 01 [14:55:34]MH_I2C_Read... [14:55:34]Read from MH i2c: 01 07 00 [14:55:34]MH_I2C_Read... [14:55:34]Read from MH i2c: 01 07 00 FD 00 00 00 00 00 00 0F 0D 20 [14:55:34]RasterBufferAndPrint [14:55:34]line [14:55:34]line [14:55:34]line [14:55:34]line [14:55:34]line [14:55:34]written 0, free lines is 3353 [14:55:34]MH_Cut [14:55:34]Write to MH i2c: D1 01 00 04 01 01 D7 [14:55:34]Write i2c OK [14:55:34]MH_I2C_Read... [14:55:34]Read from MH i2c: D1 [14:55:34]MH_I2C_Read... [14:55:34]Read from MH i2c: D1 01 00 [14:55:34]MH_I2C_Read... [14:55:34]Read from MH i2c: D1 01 00 04 01 00 D6 [14:55:34]Write to MH i2c: 01 00 00 05 01 06 [14:55:34]Write i2c OK [14:55:34]MH_I2C_Read... [14:55:34]OFD Sender: No OFD packet to send [14:55:34]*** Cut start [14:55:34]*** Partial cut [14:55:34]*** CUTSNS_PIN = 1 [14:55:34]*** CUTSNS_PIN = 0 [14:55:35]*** Brake cut motor [14:55:35]Read from MH i2c: 01 [14:55:35]MH_I2C_Read... [14:55:35]*** Stop cut motor [14:55:35]*** Cut end [14:55:35]Read from MH i2c: 01 07 00 [14:55:35]MH_I2C_Read... [14:55:35]Read from MH i2c: 01 07 00 05 01 00 00 00 00 00 FF 0F 1B [14:55:35]process_action close_receipt done [14:55:35]requested_data is exist [14:55:35]produce_requested_data [14:55:35]requested_item fm.sn is exist - process it [14:55:35]wFMCommunicate request_size=4 [14:55:35]MH_SAM_APDU [14:55:35]CAPDU: 80 11 00 00 [14:55:35]Write to MH i2c: E2 08 00 06 01 80 11 00 00 00 00 00 00 81 [14:55:35]Write i2c OK [14:55:35]MH_I2C_Read... [14:55:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:55:35]Read from MH i2c: E2 [14:55:35]MH_I2C_Read... [14:55:35]Read from MH i2c: E2 17 00 [14:55:35]MH_I2C_Read... [14:55:35]Read from MH i2c: E2 17 00 06 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 DA [14:55:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:55:35]wFMCommunicate OK [14:55:35]requested_item fd.num is exist - process it [14:55:35]SAM_PROTO_GetFieldsCounters [14:55:35]wFMCommunicate request_size=4 [14:55:35]MH_SAM_APDU [14:55:35]CAPDU: 80 13 00 00 [14:55:35]Write to MH i2c: E2 08 00 07 01 80 13 00 00 00 00 00 00 84 [14:55:35]Write i2c OK [14:55:35]MH_I2C_Read... [14:55:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:55:35]Read from MH i2c: E2 [14:55:35]MH_I2C_Read... [14:55:35]Read from MH i2c: E2 62 00 [14:55:35]MH_I2C_Read... [14:55:35]Read from MH i2c: E2 62 00 07 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 B6 69 00 00 0E 04 04 00 B1 01 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 F5 [14:55:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 B6 69 00 00 0E 04 04 00 B1 01 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:55:35]wFMCommunicate OK [14:55:35]SAM_PROTO_GetFieldsCounters done [14:55:35]requested_item shift.num is exist - process it [14:55:35]requested_item shift.opened is exist - process it [14:55:35]req_shift_opened [14:55:35]FM_GetShiftState [14:55:35]SAM_PROTO_GetShiftState [14:55:35]wFMCommunicate request_size=4 [14:55:35]MH_SAM_APDU [14:55:35]CAPDU: 80 13 01 00 [14:55:35]Write to MH i2c: E2 08 00 08 01 80 13 01 00 00 00 00 00 86 [14:55:35]Write i2c OK [14:55:35]MH_I2C_Read... [14:55:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:55:35]Read from MH i2c: E2 [14:55:35]MH_I2C_Read... [14:55:35]Read from MH i2c: E2 0E 00 [14:55:35]MH_I2C_Read... [14:55:35]Read from MH i2c: E2 0E 00 08 01 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 AE [14:55:35]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:55:35]wFMCommunicate OK [14:55:35]SAM_PROTO_GetShiftState done [14:55:35]FM_GetShiftState done [14:55:35]req_shift_opened done [14:55:35]requested_item shift.open_date is exist - process it [14:55:35]req_shift_open_date [14:55:35]req_shift_open_date done [14:55:35]produce_requested_data done [14:55:35]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27062,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [14:55:35]process_action_free close_receipt [14:55:35]json_value_free [14:55:35]json_value_free done [14:55:35]process_json_proto returns [14:55:35]Send response to host [14:55:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27062,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [14:55:35]free response buf [14:55:35]execute_script done [14:55:35]execute_script returns [14:55:35]free content buf [14:55:35]Sock 8.Close socket [14:55:35]Sock 8.Thread stoped [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:05]accept exits with 9 [14:56:05]New connection [14:56:05]New thread 3066785124 created [14:56:05]Thread 3066928484 joined [14:56:05]Waiting for new connection... [14:56:05] Sock 9.Parse request [14:56:05]Sock 9.Check first char [14:56:05]Sock 9.First char is OK [14:56:05]request: POST /json_proto HTTP/1.0 [14:56:05]Method: POST [14:56:05]URL: /json_proto [14:56:05]Method is POST - this is cgi request [14:56:05]url: /json_proto [14:56:05]query_string will be loaded in cgi processing [14:56:05]execute_cgi json_proto POST (null) [14:56:05]execute_cgi path=json_proto method=POST [14:56:05]POST find Content-Length [14:56:05]Host: 172.17.45.8:8080 [14:56:05]Content-Length: 1429 [14:56:05]Content-Type: application/json [14:56:05] [14:56:05]POST finish read [14:56:05]Found Content-Length = 1429 [14:56:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150461", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "code": "4603290004824", "name": "\u041F\u0435\u0447 \u0437\u0430\u0442 \u042F\u0448\u043A\u0438\u043D\u043E \u0441\u043B\u0438\u0432 \u041A\u0440\u0435\u043C 182\u0433", "price" : 81.00, "quantity" : 1.000, "sum" : 81.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" : 211.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:56:05]execute_script... [14:56: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)150461", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "code": "4603290004824", "name": "\u041F\u0435\u0447 \u0437\u0430\u0442 \u042F\u0448\u043A\u0438\u043D\u043E \u0441\u043B\u0438\u0432 \u041A\u0440\u0435\u043C 182\u0433", "price" : 81.00, "quantity" : 1.000, "sum" : 81.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" : 211.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:56:05]POST & json_proto [14:56:05]process_json_proto [14:56:05]json parsed OK: [14:56:05]protocol is kg_v1.0 [14:56:05]action value=close_receipt [14:56:05]process_action close_receipt [14:56:05]cmd_close_receipt [14:56:05]MH_GetDate [14:56:05]Write to MH i2c: F0 00 00 09 01 F9 [14:56:05]Write i2c OK [14:56:05]MH_I2C_Read... [14:56:05]Read from MH i2c: F0 [14:56:05]MH_I2C_Read... [14:56:05]Read from MH i2c: F0 09 00 [14:56:05]MH_I2C_Read... [14:56:05]Read from MH i2c: F0 09 00 09 01 00 06 5C A6 66 A6 1F 7F 64 18 [14:56:05]GetLastDocTimeStamp 1722178532 [14:56:05]current date 1722178566 [14:56:05]FM_GetShiftState [14:56:05]SAM_PROTO_GetShiftState [14:56:05]wFMCommunicate request_size=4 [14:56:05]MH_SAM_APDU [14:56:05]CAPDU: 80 13 01 00 [14:56:05]Write to MH i2c: E2 08 00 0A 01 80 13 01 00 00 00 00 00 88 [14:56:06]Write i2c OK [14:56:06]MH_I2C_Read... [14:56:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:56:06]Read from MH i2c: E2 [14:56:06]MH_I2C_Read... [14:56:06]Read from MH i2c: E2 0E 00 [14:56:06]MH_I2C_Read... [14:56:06]Read from MH i2c: E2 0E 00 0A 01 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 B0 [14:56:06]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:56:06]wFMCommunicate OK [14:56:06]SAM_PROTO_GetShiftState done [14:56:06]FM_GetShiftState done [14:56:06]opened in 1722127230 [14:56:06]opened+sec_in_day 1722213630 [14:56:06]quantity*price = 6500 [14:56:06]sum+1 = 6501 [14:56:06]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700040114137 Султан чай 1л. зел лимон 1.000 * 65.00 = 65.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4603290004824 Печ зат Яшкино слив Крем 182г 1.000 * 81.00 = 81.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 211.00 НСП 1% : 1.86 НДС 12% : 22.40 Наличными: 0.00 Безнал.: 211.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 41 28.07.2024 14:56 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000874937 ФД: 27063 ФПД: 194454304824923 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T145606&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27063&fm=194454304824923&tin=02508201610067®Number=0000000000092663&sum=21100 0 [14:56:06]StoreToDocumentArchive [14:56:06]shift 433 fd 27063 [14:56:06]save to /storage/0433/doc_00027063 [14:56:06]save last doc name /storage/0433/doc_00027063 to /storage/kkm_last_doc_name [14:56:06]save OK [14:56:06]Clear old archive folders... [14:56:06]ProcessDocumentItem done err = 0, tmpTLVsize=522 [14:56:06]tlvbuf is 001A2CE0 [14:56:06]SAM_PROTO_ClearQueue [14:56:06]wFMCommunicate request_size=4 [14:56:06]MH_SAM_APDU [14:56:06]CAPDU: 80 09 00 00 [14:56:06]Write to MH i2c: E2 08 00 17 01 80 09 00 00 00 00 00 00 8A [14:56:06]Write i2c OK [14:56:06]MH_I2C_Read... [14:56:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:56:06]Read from MH i2c: E2 [14:56:06]MH_I2C_Read... [14:56:06]Read from MH i2c: E2 03 00 [14:56:06]MH_I2C_Read... [14:56:06]Read from MH i2c: E2 03 00 17 01 00 90 00 8C [14:56:06]RAPDU: 90 00 [14:56:06]wFMCommunicate OK [14:56:06]SAM_PROTO_ClearQueue done [14:56:06]KKMCreateOFDPacket [14:56:06]OFDProtocolAddRootSTLVToBuf [14:56:06]FM_MakeSignedData [14:56:06]FM_MakeSignedData [14:56:06]SAM_PROTO_SignData [14:56:06]wFMCommunicate request_size=4 [14:56:06]MH_SAM_APDU [14:56:06]CAPDU: 80 0D 01 02 [14:56:06]Write to MH i2c: E2 08 00 18 01 80 0D 01 02 00 00 00 00 92 [14:56:06]Write i2c OK [14:56:06]MH_I2C_Read... [14:56:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:56:06]Read from MH i2c: E2 [14:56:06]MH_I2C_Read... [14:56:06]Read from MH i2c: E2 03 00 [14:56:06]MH_I2C_Read... [14:56:06]Read from MH i2c: E2 03 00 18 01 00 90 00 8D [14:56:06]RAPDU: 90 00 [14:56:06]wFMCommunicate OK [14:56:06]wFMCommunicate request_size=255 [14:56:06]MH_SAM_APDU [14:56:06]CAPDU: 80 0D 02 02 FA 03 00 0A 02 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 23 04 76 00 8A 04 0D 00 34 36 30 [14:56:07]Write to MH i2c: E2 02 01 19 01 80 0D 02 02 FA 00 03 00 0A 02 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 23 04 76 00 8A 04 0D 00 34 36 30 00 00 B8 [14:56:07]Write i2c OK [14:56:07]MH_I2C_Read... [14:56:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:56:07]Read from MH i2c: E2 [14:56:07]MH_I2C_Read... [14:56:07]Read from MH i2c: E2 03 00 [14:56:07]MH_I2C_Read... [14:56:07]Read from MH i2c: E2 03 00 19 01 00 90 00 8E [14:56:07]RAPDU: 90 00 [14:56:07]wFMCommunicate OK [14:56:07]wFMCommunicate request_size=255 [14:56:07]MH_SAM_APDU [14:56:07]CAPDU: 80 0D 02 02 FA 33 32 39 30 30 30 34 38 32 34 06 04 32 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6C 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 06 5C A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 [14:56:07]Write to MH i2c: E2 02 01 1A 01 80 0D 02 02 FA 00 33 32 39 30 30 30 34 38 32 34 06 04 32 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6C 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 06 5C A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 00 00 05 [14:56:07]Write i2c OK [14:56:07]MH_I2C_Read... [14:56:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:56:07]Read from MH i2c: E2 [14:56:07]MH_I2C_Read... [14:56:07]Read from MH i2c: E2 03 00 [14:56:07]MH_I2C_Read... [14:56:07]Read from MH i2c: E2 03 00 1A 01 00 90 00 8F [14:56:07]RAPDU: 90 00 [14:56:07]wFMCommunicate OK [14:56:07]wFMCommunicate request_size=31 [14:56:07]MH_SAM_APDU [14:56:07]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 39 33 37 10 04 04 00 B7 69 00 00 35 04 06 00 B0 DA EB C3 9E 5B [14:56:07]Write to MH i2c: E2 22 00 1B 01 80 0D 02 02 1A 00 30 30 38 37 34 39 33 37 10 04 04 00 B7 69 00 00 35 04 06 00 B0 DA EB C3 9E 5B 00 00 18 [14:56:07]Write i2c OK [14:56:07]MH_I2C_Read... [14:56:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:56:07]Read from MH i2c: E2 [14:56:07]MH_I2C_Read... [14:56:07]Read from MH i2c: E2 03 00 [14:56:07]MH_I2C_Read... [14:56:07]Read from MH i2c: E2 03 00 1B 01 00 90 00 90 [14:56:07]RAPDU: 90 00 [14:56:07]wFMCommunicate OK [14:56:07]wFMCommunicate request_size=4 [14:56:07]MH_SAM_APDU [14:56:07]CAPDU: 80 0D 03 02 [14:56:07]Write to MH i2c: E2 08 00 1C 01 80 0D 03 02 00 00 00 00 98 [14:56:07]Write i2c OK [14:56:07]MH_I2C_Read... [14:56:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:56:07]Read from MH i2c: E2 [14:56:07]MH_I2C_Read... [14:56:07]Read from MH i2c: E2 0B 00 [14:56:07]MH_I2C_Read... [14:56:07]Read from MH i2c: E2 0B 00 1C 01 00 A9 2F 8B 16 CB 10 E1 1D 90 00 EB [14:56:07]RAPDU: A9 2F 8B 16 CB 10 E1 1D 90 00 [14:56:07]wFMCommunicate OK [14:56:07]SAM_PROTO_SignData done [14:56:07]FM_MakeSignedData done [14:56:07]CreateOFDProtocolMessage [14:56:07]wFMCommunicate request_size=4 [14:56:07]MH_SAM_APDU [14:56:07]CAPDU: 80 11 00 00 [14:56:07]Write to MH i2c: E2 08 00 1D 01 80 11 00 00 00 00 00 00 98 [14:56:07]Write i2c OK [14:56:07]MH_I2C_Read... [14:56:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:56:07]Read from MH i2c: E2 [14:56:07]MH_I2C_Read... [14:56:07]Read from MH i2c: E2 17 00 [14:56:07]MH_I2C_Read... [14:56:07]Read from MH i2c: E2 17 00 1D 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 F1 [14:56:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:56:07]wFMCommunicate OK [14:56:07]CreateOFDProtocolMessage done [14:56:07]OFDSenderStorePacket 27063 [14:56:07]StoreOFDPacket docnum=27063 [14:56:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 1E 02 00 00 7F 91 16 02 59 91 5A 03 01 00 03 00 0A 02 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 23 04 76 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 32 34 06 04 32 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6C 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 06 5C A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B7 69 00 00 35 04 06 00 B0 DA EB C3 9E 5B A9 2F 8B 16 CB 10 E1 1D [14:56:08]CheckFolder [14:56:08]dirname=/storage/ofd_packets [14:56:08]CheckFolder done [14:56:08]ProducePacketName [14:56:08]name=ofd_packets/00027063 [14:56:08]NVStorageSaveData ofd_packets/00027063 [14:56:08]File name is /storage/ofd_packets/00027063 [14:56:08]Write 572 bytes [14:56:08]NVStorageSaveData done [14:56:08]OFDSenderStorePacket done [14:56:08]KKMCreateOFDPacket done [14:56:08]NVStorageSaveData kkm_last_timestamp [14:56:08]File name is /storage/kkm_last_timestamp [14:56:08]Write 4 bytes [14:56:08]NVStorageSaveData done [14:56:08]ExternCall_PrintAddStr [14:56:08]wPrintStart [14:56:08]Write to MH i2c: 01 00 00 1E 01 1F [14:56:08]Write i2c OK [14:56:08]MH_I2C_Read... [14:56:08]Read from MH i2c: 01 [14:56:08]MH_I2C_Read... [14:56:08]Read from MH i2c: 01 07 00 [14:56:08]MH_I2C_Read... [14:56:08]Read from MH i2c: 01 07 00 1E 01 00 00 00 00 00 FF 0F 34 [14:56:08]RasterBufferAndPrint [14:56:08]line Счет N : (3)150461 [14:56:08]line ИНН: 02508201610067 [14:56:08]line Контрольно-Кассовый Чек [14:56:08]line ПРОДАЖА [14:56:08]line Товар: 4700040114120 [14:56:08]line Султан чай 1л. чер персик [14:56:08]line 1.000 * 65.00 [14:56:08]line = 65.00 [14:56:08]line НДС 12% НСП 1% [14:56:08]line > о реализуемом товаре [14:56:08]line Товар: 4700040114137 [14:56:08]line Султан чай 1л. зел лимон [14:56:08]line 1.000 * 65.00 [14:56:08]line = 65.00 [14:56:08]line НДС 12% НСП 1% [14:56:08]line > о реализуемом товаре [14:56:08]line Товар: 4603290004824 [14:56:08]line Печ зат Яшкино слив Крем 182г [14:56:08]line 1.000 * 81.00 [14:56:08]line = 81.00 [14:56:08]line НДС 12% НСП 1% [14:56:08]line > о реализуемом товаре [14:56:08]line ИТОГО: 211.00 [14:56:08]line НСП 1% : 1.86 [14:56:08]line НДС 12% : 22.40 [14:56:08]line Наличными: 0.00 [14:56:08]line Безнал.: 211.00 [14:56:08]line Место: АЗС № 134 "Партнер Нефть" [14:56:08]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [14:56:08]line СНО: Общий режим [14:56:08]line Чек 41 28.07.2024 14:56 [14:56:08]line Смена: 433 ФФД: 1.0 [14:56:08]line ЗНМ: 0300000043 [14:56:08]line РНМ: 0000000000092663 [14:56:08]line Версия ККМ: 001 [14:56:08]line Платежная система: O! деньги [14:56:08]line ФМ: 0000000000874937 [14:56:08]line ФД: 27063 [14:56:08]line ФПД: 194454304824923 [14:56:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T145606&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27063&fm=194454304824923&tin=02508201610067®Number=0000000000092663&sum=21100 [14:56:08]OFD Sender: Processing packet 27063 [packets to send 9, broken 8] [14:56:08]ProducePacketName [14:56:08]name=ofd_packets/00027063 [14:56:08]OFD Sender: To server: pG, [14:56:08]CommunicateWithHost lk.salyk.kg:30040 [14:56:08]ConnectInit lk.salyk.kg [14:56:08]line 0 [14:56:08]written 0, free lines is 4095 [14:56:08]Connected sock=10 [14:56:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 1E 02 00 00 7F 91 16 02 59 91 5A 03 01 00 03 00 0A 02 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 23 04 76 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 32 34 06 04 32 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6C 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 06 5C A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B7 69 00 00 35 04 06 00 B0 DA EB C3 9E 5B A9 2F 8B 16 CB 10 E1 1D [14:56:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 A3 78 47 00 A3 8D 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 38 37 34 39 33 37 10 04 04 00 B7 69 00 00 F4 03 04 00 5A 02 A6 66 B6 04 01 00 00 86 9B 83 12 B1 53 75 3B [14:56:08]CommunicateWithHost err = 0 [14:56:08]CheckOFDResponse [14:56:08]1017 (14) - 77093643461234 [14:56:08]1041 (16) - 0000000000874937 [14:56:08]1040 (4) - 27063 [14:56:08]1012 (4) - 28.07.2024 08:33 [14:56:08]1206 (1) - 0 [14:56:08]OFD Sender: Remove packet 27063 [14:56:08]ProducePacketName [14:56:08]name=ofd_packets/00027063 [14:56:08]NVStorageDeleteData [14:56:08]Write to MH i2c: 01 00 00 54 01 55 [14:56:08]Write i2c OK [14:56:08]MH_I2C_Read... [14:56:08]Read from MH i2c: 01 [14:56:08]MH_I2C_Read... [14:56:08]Read from MH i2c: 01 07 00 [14:56:08]MH_I2C_Read... [14:56:08]Read from MH i2c: 01 07 00 54 01 00 00 00 00 00 0E 0C 76 [14:56:08]RasterBufferAndPrint [14:56:08]line [14:56:08]line [14:56:08]line [14:56:08]line [14:56:08]line [14:56:08]written 0, free lines is 3092 [14:56:08]MH_Cut [14:56:08]Write to MH i2c: D1 01 00 5B 01 01 2E [14:56:08]Write i2c OK [14:56:08]MH_I2C_Read... [14:56:08]Read from MH i2c: D1 [14:56:08]MH_I2C_Read... [14:56:08]Read from MH i2c: D1 01 00 [14:56:08]MH_I2C_Read... [14:56:08]Read from MH i2c: D1 01 00 5B 01 00 2D [14:56:08]Write to MH i2c: 01 00 00 5C 01 5D [14:56:08]Write i2c OK [14:56:08]MH_I2C_Read... [14:56:09]OFD Sender: No OFD packet to send [14:56:09]*** Cut start [14:56:09]*** Partial cut [14:56:09]*** CUTSNS_PIN = 1 [14:56:09]*** CUTSNS_PIN = 0 [14:56:10]*** Brake cut motor [14:56:10]Read from MH i2c: 01 [14:56:10]MH_I2C_Read... [14:56:10]*** Stop cut motor [14:56:10]*** Cut end [14:56:10]Read from MH i2c: 01 07 00 [14:56:10]MH_I2C_Read... [14:56:10]Read from MH i2c: 01 07 00 5C 01 00 00 00 00 00 FF 0F 72 [14:56:10]process_action close_receipt done [14:56:10]requested_data is exist [14:56:10]produce_requested_data [14:56:10]requested_item fm.sn is exist - process it [14:56:10]wFMCommunicate request_size=4 [14:56:10]MH_SAM_APDU [14:56:10]CAPDU: 80 11 00 00 [14:56:10]Write to MH i2c: E2 08 00 5D 01 80 11 00 00 00 00 00 00 D8 [14:56:10]Write i2c OK [14:56:10]MH_I2C_Read... [14:56:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:56:10]Read from MH i2c: E2 [14:56:10]MH_I2C_Read... [14:56:10]Read from MH i2c: E2 17 00 [14:56:10]MH_I2C_Read... [14:56:10]Read from MH i2c: E2 17 00 5D 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 31 [14:56:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:56:10]wFMCommunicate OK [14:56:10]requested_item fd.num is exist - process it [14:56:10]SAM_PROTO_GetFieldsCounters [14:56:10]wFMCommunicate request_size=4 [14:56:10]MH_SAM_APDU [14:56:10]CAPDU: 80 13 00 00 [14:56:10]Write to MH i2c: E2 08 00 5E 01 80 13 00 00 00 00 00 00 DB [14:56:10]Write i2c OK [14:56:10]MH_I2C_Read... [14:56:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:56:10]Read from MH i2c: E2 [14:56:10]MH_I2C_Read... [14:56:10]Read from MH i2c: E2 62 00 [14:56:10]MH_I2C_Read... [14:56:10]Read from MH i2c: E2 62 00 5E 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 B7 69 00 00 0E 04 04 00 B1 01 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 50 [14:56:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 B7 69 00 00 0E 04 04 00 B1 01 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:56:10]wFMCommunicate OK [14:56:10]SAM_PROTO_GetFieldsCounters done [14:56:10]requested_item shift.num is exist - process it [14:56:10]requested_item shift.opened is exist - process it [14:56:10]req_shift_opened [14:56:10]FM_GetShiftState [14:56:10]SAM_PROTO_GetShiftState [14:56:10]wFMCommunicate request_size=4 [14:56:10]MH_SAM_APDU [14:56:10]CAPDU: 80 13 01 00 [14:56:10]Write to MH i2c: E2 08 00 5F 01 80 13 01 00 00 00 00 00 DD [14:56:10]Write i2c OK [14:56:10]MH_I2C_Read... [14:56:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:56:10]Read from MH i2c: E2 [14:56:10]MH_I2C_Read... [14:56:10]Read from MH i2c: E2 0E 00 [14:56:10]MH_I2C_Read... [14:56:10]Read from MH i2c: E2 0E 00 5F 01 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 05 [14:56:10]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:56:10]wFMCommunicate OK [14:56:10]SAM_PROTO_GetShiftState done [14:56:10]FM_GetShiftState done [14:56:10]req_shift_opened done [14:56:10]requested_item shift.open_date is exist - process it [14:56:10]req_shift_open_date [14:56:10]req_shift_open_date done [14:56:10]produce_requested_data done [14:56:10]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27063,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [14:56:10]process_action_free close_receipt [14:56:10]json_value_free [14:56:10]json_value_free done [14:56:10]process_json_proto returns [14:56:10]Send response to host [14:56:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27063,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [14:56:10]free response buf [14:56:10]execute_script done [14:56:10]execute_script returns [14:56:10]free content buf [14:56:10]Sock 9.Close socket [14:56:10]Sock 9.Thread stoped [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:27]accept exits with 8 [14:56:27]New connection [14:56:27]New thread 3066928484 created [14:56:27]Thread 3066785124 joined [14:56:27]Waiting for new connection... [14:56:27] Sock 8.Parse request [14:56:27]Sock 8.Check first char [14:56:27]Sock 8.First char is OK [14:56:27]request: POST /json_proto HTTP/1.0 [14:56:27]Method: POST [14:56:27]URL: /json_proto [14:56:27]Method is POST - this is cgi request [14:56:27]url: /json_proto [14:56:27]query_string will be loaded in cgi processing [14:56:27]execute_cgi json_proto POST (null) [14:56:27]execute_cgi path=json_proto method=POST [14:56:27]POST find Content-Length [14:56:27]Host: 172.17.45.8:8080 [14:56:27]Content-Length: 973 [14:56:27]Content-Type: application/json [14:56:27] [14:56:27]POST finish read [14:56:27]Found Content-Length = 973 [14:56:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150462", "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 }]} ,{ "code": "4700003610843", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A SPARKLING \u0433\u0430\u0437 \u043C\u0430\u043D\u0433\u043E 300\u043C\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" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:56:27]execute_script... [14: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)150462", "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 }]} ,{ "code": "4700003610843", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A SPARKLING \u0433\u0430\u0437 \u043C\u0430\u043D\u0433\u043E 300\u043C\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" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:56:27]POST & json_proto [14:56:27]process_json_proto [14:56:27]json parsed OK: [14:56:27]protocol is kg_v1.0 [14:56:27]action value=close_receipt [14:56:27]process_action close_receipt [14:56:27]cmd_close_receipt [14:56:27]MH_GetDate [14:56:27]Write to MH i2c: F0 00 00 60 01 50 [14:56:27]Write i2c OK [14:56:27]MH_I2C_Read... [14:56:27]Read from MH i2c: F0 [14:56:27]MH_I2C_Read... [14:56:27]Read from MH i2c: F0 09 00 [14:56:27]MH_I2C_Read... [14:56:27]Read from MH i2c: F0 09 00 60 01 00 1C 5C A6 66 A6 1F 7F 64 85 [14:56:27]GetLastDocTimeStamp 1722178566 [14:56:27]current date 1722178588 [14:56:27]FM_GetShiftState [14:56:27]SAM_PROTO_GetShiftState [14:56:27]wFMCommunicate request_size=4 [14:56:27]MH_SAM_APDU [14:56:27]CAPDU: 80 13 01 00 [14:56:27]Write to MH i2c: E2 08 00 61 01 80 13 01 00 00 00 00 00 DF [14:56:27]Write i2c OK [14:56:27]MH_I2C_Read... [14:56:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:56:27]Read from MH i2c: E2 [14:56:27]MH_I2C_Read... [14:56:27]Read from MH i2c: E2 0E 00 [14:56:27]MH_I2C_Read... [14:56:27]Read from MH i2c: E2 0E 00 61 01 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 07 [14:56:27]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:56:27]wFMCommunicate OK [14:56:27]SAM_PROTO_GetShiftState done [14:56:27]FM_GetShiftState done [14:56:27]opened in 1722127230 [14:56:27]opened+sec_in_day 1722213630 [14:56:27]quantity*price = 10000 [14:56:27]sum+1 = 10001 [14:56:27]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700003610843 Напиток SPARKLING газ манго 300мл 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.23 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 42 28.07.2024 14:56 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27064 ФПД: 37699832088272 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T145628&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27064&fm=37699832088272&tin=02508201610067®Number=0000000000092663&sum=14000 0 [14:56:28]StoreToDocumentArchive [14:56:28]shift 433 fd 27064 [14:56:28]save to /storage/0433/doc_00027064 [14:56:28]save last doc name /storage/0433/doc_00027064 to /storage/kkm_last_doc_name [14:56:28]save OK [14:56:28]Clear old archive folders... [14:56:28]ProcessDocumentItem done err = 0, tmpTLVsize=413 [14:56:28]tlvbuf is 00195CD0 [14:56:28]SAM_PROTO_ClearQueue [14:56:28]wFMCommunicate request_size=4 [14:56:28]MH_SAM_APDU [14:56:28]CAPDU: 80 09 00 00 [14:56:28]Write to MH i2c: E2 08 00 6E 01 80 09 00 00 00 00 00 00 E1 [14:56:28]Write i2c OK [14:56:28]MH_I2C_Read... [14:56:28]Read from MH i2c: E2 [14:56:28]MH_I2C_Read... [14:56:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:56:28]Read from MH i2c: E2 03 00 [14:56:28]MH_I2C_Read... [14:56:28]Read from MH i2c: E2 03 00 6E 01 00 90 00 E3 [14:56:28]RAPDU: 90 00 [14:56:28]wFMCommunicate OK [14:56:28]SAM_PROTO_ClearQueue done [14:56:28]KKMCreateOFDPacket [14:56:28]OFDProtocolAddRootSTLVToBuf [14:56:28]FM_MakeSignedData [14:56:28]FM_MakeSignedData [14:56:28]SAM_PROTO_SignData [14:56:28]wFMCommunicate request_size=4 [14:56:28]MH_SAM_APDU [14:56:28]CAPDU: 80 0D 01 02 [14:56:28]Write to MH i2c: E2 08 00 6F 01 80 0D 01 02 00 00 00 00 E9 [14:56:28]Write i2c OK [14:56:28]MH_I2C_Read... [14:56:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:56:28]Read from MH i2c: E2 [14:56:28]MH_I2C_Read... [14:56:28]Read from MH i2c: E2 03 00 [14:56:28]MH_I2C_Read... [14:56:28]Read from MH i2c: E2 03 00 6F 01 00 90 00 E4 [14:56:28]RAPDU: 90 00 [14:56:28]wFMCommunicate OK [14:56:28]wFMCommunicate request_size=255 [14:56:28]MH_SAM_APDU [14:56:28]CAPDU: 80 0D 02 02 FA 03 00 9D 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 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 38 34 33 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 53 50 41 52 4B 4C 49 4E 47 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 33 30 30 D0 BC 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 [14:56:28]Write to MH i2c: E2 02 01 70 01 80 0D 02 02 FA 00 03 00 9D 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 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 38 34 33 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 53 50 41 52 4B 4C 49 4E 47 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 33 30 30 D0 BC 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 00 41 [14:56:28]Write i2c OK [14:56:28]MH_I2C_Read... [14:56:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:56:28]Read from MH i2c: E2 [14:56:28]MH_I2C_Read... [14:56:28]Read from MH i2c: E2 03 00 [14:56:28]MH_I2C_Read... [14:56:28]Read from MH i2c: E2 03 00 70 01 00 90 00 E5 [14:56:28]RAPDU: 90 00 [14:56:28]wFMCommunicate OK [14:56:28]wFMCommunicate request_size=172 [14:56:28]MH_SAM_APDU [14:56:28]CAPDU: 80 0D 02 02 A7 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 7B 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 2A 00 00 00 F4 03 04 00 1C 5C A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B8 69 00 00 35 04 06 00 22 49 AD 19 86 D0 [14:56:28]Write to MH i2c: E2 AF 00 71 01 80 0D 02 02 A7 00 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 7B 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 2A 00 00 00 F4 03 04 00 1C 5C A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B8 69 00 00 35 04 06 00 22 49 AD 19 86 D0 00 00 A7 [14:56:28]Write i2c OK [14:56:28]MH_I2C_Read... [14:56:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:56:29]Read from MH i2c: E2 [14:56:29]MH_I2C_Read... [14:56:29]Read from MH i2c: E2 03 00 [14:56:29]MH_I2C_Read... [14:56:29]Read from MH i2c: E2 03 00 71 01 00 90 00 E6 [14:56:29]RAPDU: 90 00 [14:56:29]wFMCommunicate OK [14:56:29]wFMCommunicate request_size=4 [14:56:29]MH_SAM_APDU [14:56:29]CAPDU: 80 0D 03 02 [14:56:29]Write to MH i2c: E2 08 00 72 01 80 0D 03 02 00 00 00 00 EE [14:56:29]Write i2c OK [14:56:29]MH_I2C_Read... [14:56:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:56:29]Read from MH i2c: E2 [14:56:29]MH_I2C_Read... [14:56:29]Read from MH i2c: E2 0B 00 [14:56:29]MH_I2C_Read... [14:56:29]Read from MH i2c: E2 0B 00 72 01 00 06 13 4C 24 BA 33 DB DA 90 00 1A [14:56:29]RAPDU: 06 13 4C 24 BA 33 DB DA 90 00 [14:56:29]wFMCommunicate OK [14:56:29]SAM_PROTO_SignData done [14:56:29]FM_MakeSignedData done [14:56:29]CreateOFDProtocolMessage [14:56:29]wFMCommunicate request_size=4 [14:56:29]MH_SAM_APDU [14:56:29]CAPDU: 80 11 00 00 [14:56:29]Write to MH i2c: E2 08 00 73 01 80 11 00 00 00 00 00 00 EE [14:56:29]Write i2c OK [14:56:29]MH_I2C_Read... [14:56:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:56:29]Read from MH i2c: E2 [14:56:29]MH_I2C_Read... [14:56:29]Read from MH i2c: E2 17 00 [14:56:29]MH_I2C_Read... [14:56:29]Read from MH i2c: E2 17 00 73 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 47 [14:56:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:56:29]wFMCommunicate OK [14:56:29]CreateOFDProtocolMessage done [14:56:29]OFDSenderStorePacket 27064 [14:56:29]StoreOFDPacket docnum=27064 [14:56:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 B1 01 00 00 6D BA A9 01 82 CB 5A 03 01 00 03 00 9D 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 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 38 34 33 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 53 50 41 52 4B 4C 49 4E 47 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 33 30 30 D0 BC 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 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 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 2A 00 00 00 F4 03 04 00 1C 5C A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B8 69 00 00 35 04 06 00 22 49 AD 19 86 D0 06 13 4C 24 BA 33 DB DA [14:56:29]CheckFolder [14:56:29]dirname=/storage/ofd_packets [14:56:29]CheckFolder done [14:56:29]ProducePacketName [14:56:29]name=ofd_packets/00027064 [14:56:29]NVStorageSaveData ofd_packets/00027064 [14:56:29]File name is /storage/ofd_packets/00027064 [14:56:29]Write 463 bytes [14:56:29]NVStorageSaveData done [14:56:29]OFDSenderStorePacket done [14:56:29]KKMCreateOFDPacket done [14:56:29]NVStorageSaveData kkm_last_timestamp [14:56:29]File name is /storage/kkm_last_timestamp [14:56:29]Write 4 bytes [14:56:29]NVStorageSaveData done [14:56:29]ExternCall_PrintAddStr [14:56:29]wPrintStart [14:56:29]Write to MH i2c: 01 00 00 74 01 75 [14:56:29]Write i2c OK [14:56:29]MH_I2C_Read... [14:56:29]Read from MH i2c: 01 [14:56:29]MH_I2C_Read... [14:56:29]Read from MH i2c: 01 07 00 [14:56:29]MH_I2C_Read... [14:56:29]Read from MH i2c: 01 07 00 74 01 00 00 00 00 00 FF 0F 8A [14:56:29]RasterBufferAndPrint [14:56:29]line Счет N : (3)150462 [14:56:29]line ИНН: 02508201610067 [14:56:29]line Контрольно-Кассовый Чек [14:56:29]line ПРОДАЖА [14:56:29]line Товар: 4870002328398 [14:56:29]line Вода ASU пит н.газ мята ПЭТ 1л [14:56:29]line 1.000 * 100.00 [14:56:29]line = 100.00 [14:56:29]line НДС 12% НСП 1% [14:56:29]line > о реализуемом товаре [14:56:29]line Товар: 4700003610843 [14:56:29]line Напиток SPARKLING газ манго 300мл [14:56:29]line 1.000 * 40.00 [14:56:29]line = 40.00 [14:56:29]line НДС 12% НСП 1% [14:56:29]line > о реализуемом товаре [14:56:29]line ИТОГО: 140.00 [14:56:29]line НСП 1% : 1.23 [14:56:29]line НДС 12% : 14.87 [14:56:29]line Наличными: 140.00 [14:56:29]line Безнал.: 0.00 [14:56:29]line Место: АЗС № 134 "Партнер Нефть" [14:56:29]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [14:56:29]line СНО: Общий режим [14:56:29]line Чек 42 28.07.2024 14:56 [14:56:29]line Смена: 433 ФФД: 1.0 [14:56:29]line ЗНМ: 0300000043 [14:56:29]line РНМ: 0000000000092663 [14:56:29]line Версия ККМ: 001 [14:56:29]line ФМ: 0000000000874937 [14:56:29]line ФД: 27064 [14:56:29]line ФПД: 37699832088272 [14:56:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T145628&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27064&fm=37699832088272&tin=02508201610067®Number=0000000000092663&sum=14000 [14:56:29]line 0 [14:56:29]OFD Sender: Processing packet 27064 [packets to send 9, broken 8] [14:56:29]ProducePacketName [14:56:29]name=ofd_packets/00027064 [14:56:29]OFD Sender: To server: pG, [14:56:29]CommunicateWithHost lk.salyk.kg:30040 [14:56:29]ConnectInit lk.salyk.kg [14:56:29]written 0, free lines is 4095 [14:56:29]Connected sock=10 [14:56:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 B1 01 00 00 6D BA A9 01 82 CB 5A 03 01 00 03 00 9D 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 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 38 34 33 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 53 50 41 52 4B 4C 49 4E 47 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 33 30 30 D0 BC 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 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 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 2A 00 00 00 F4 03 04 00 1C 5C A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B8 69 00 00 35 04 06 00 22 49 AD 19 86 D0 06 13 4C 24 BA 33 DB DA [14:56:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 36 7D 47 00 8D 32 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 38 37 34 39 33 37 10 04 04 00 B8 69 00 00 F4 03 04 00 6F 02 A6 66 B6 04 01 00 00 0E D9 0E 84 99 EF E9 B6 [14:56:29]CommunicateWithHost err = 0 [14:56:29]CheckOFDResponse [14:56:29]1017 (14) - 77093643461234 [14:56:29]1041 (16) - 0000000000874937 [14:56:29]1040 (4) - 27064 [14:56:29]1012 (4) - 28.07.2024 08:33 [14:56:29]1206 (1) - 0 [14:56:29]OFD Sender: Remove packet 27064 [14:56:29]ProducePacketName [14:56:29]name=ofd_packets/00027064 [14:56:29]NVStorageDeleteData [14:56:29]Write to MH i2c: 01 00 00 A3 01 A4 [14:56:29]Write i2c OK [14:56:29]MH_I2C_Read... [14:56:29]Read from MH i2c: 01 [14:56:29]MH_I2C_Read... [14:56:29]Read from MH i2c: 01 07 00 [14:56:29]MH_I2C_Read... [14:56:29]Read from MH i2c: 01 07 00 A3 01 00 00 00 00 00 69 0C 20 [14:56:29]RasterBufferAndPrint [14:56:29]line [14:56:29]line [14:56:29]line [14:56:29]line [14:56:29]line [14:56:29]written 0, free lines is 3183 [14:56:29]MH_Cut [14:56:29]Write to MH i2c: D1 01 00 AA 01 01 7D [14:56:29]Write i2c OK [14:56:29]MH_I2C_Read... [14:56:29]Read from MH i2c: D1 [14:56:29]MH_I2C_Read... [14:56:29]Read from MH i2c: D1 01 00 [14:56:29]MH_I2C_Read... [14:56:29]Read from MH i2c: D1 01 00 AA 01 00 7C [14:56:29]Write to MH i2c: 01 00 00 AB 01 AC [14:56:29]Write i2c OK [14:56:29]MH_I2C_Read... [14:56:30]OFD Sender: No OFD packet to send [14:56:30]*** Cut start [14:56:30]*** Partial cut [14:56:30]*** CUTSNS_PIN = 1 [14:56:30]*** CUTSNS_PIN = 0 [14:56:31]*** Brake cut motor [14:56:31]Read from MH i2c: 01 [14:56:31]MH_I2C_Read... [14:56:31]*** Stop cut motor [14:56:31]*** Cut end [14:56:31]Read from MH i2c: 01 07 00 [14:56:31]MH_I2C_Read... [14:56:31]Read from MH i2c: 01 07 00 AB 01 00 00 00 00 00 FF 0F C1 [14:56:31]process_action close_receipt done [14:56:31]requested_data is exist [14:56:31]produce_requested_data [14:56:31]requested_item fm.sn is exist - process it [14:56:31]wFMCommunicate request_size=4 [14:56:31]MH_SAM_APDU [14:56:31]CAPDU: 80 11 00 00 [14:56:31]Write to MH i2c: E2 08 00 AC 01 80 11 00 00 00 00 00 00 27 [14:56:31]Write i2c OK [14:56:31]MH_I2C_Read... [14:56:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:56:31]Read from MH i2c: E2 [14:56:31]MH_I2C_Read... [14:56:31]Read from MH i2c: E2 17 00 [14:56:31]MH_I2C_Read... [14:56:31]Read from MH i2c: E2 17 00 AC 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 80 [14:56:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:56:31]wFMCommunicate OK [14:56:31]requested_item fd.num is exist - process it [14:56:31]SAM_PROTO_GetFieldsCounters [14:56:31]wFMCommunicate request_size=4 [14:56:31]MH_SAM_APDU [14:56:31]CAPDU: 80 13 00 00 [14:56:31]Write to MH i2c: E2 08 00 AD 01 80 13 00 00 00 00 00 00 2A [14:56:31]Write i2c OK [14:56:31]MH_I2C_Read... [14:56:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:56:31]Read from MH i2c: E2 [14:56:31]MH_I2C_Read... [14:56:31]Read from MH i2c: E2 62 00 [14:56:31]MH_I2C_Read... [14:56:31]Read from MH i2c: E2 62 00 AD 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 B8 69 00 00 0E 04 04 00 B1 01 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 A3 [14:56:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 B8 69 00 00 0E 04 04 00 B1 01 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 [14:56:31]wFMCommunicate OK [14:56:31]SAM_PROTO_GetFieldsCounters done [14:56:31]requested_item shift.num is exist - process it [14:56:31]requested_item shift.opened is exist - process it [14:56:31]req_shift_opened [14:56:31]FM_GetShiftState [14:56:31]SAM_PROTO_GetShiftState [14:56:31]wFMCommunicate request_size=4 [14:56:31]MH_SAM_APDU [14:56:31]CAPDU: 80 13 01 00 [14:56:31]Write to MH i2c: E2 08 00 AE 01 80 13 01 00 00 00 00 00 2C [14:56:31]Write i2c OK [14:56:31]MH_I2C_Read... [14:56:31]Read from MH i2c: E2 [14:56:31]MH_I2C_Read... [14:56:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:56:31]Read from MH i2c: E2 0E 00 [14:56:31]MH_I2C_Read... [14:56:31]Read from MH i2c: E2 0E 00 AE 01 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 54 [14:56:31]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:56:31]wFMCommunicate OK [14:56:31]SAM_PROTO_GetShiftState done [14:56:31]FM_GetShiftState done [14:56:31]req_shift_opened done [14:56:31]requested_item shift.open_date is exist - process it [14:56:31]req_shift_open_date [14:56:31]req_shift_open_date done [14:56:31]produce_requested_data done [14:56:31]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27064,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [14:56:31]process_action_free close_receipt [14:56:31]json_value_free [14:56:31]json_value_free done [14:56:31]process_json_proto returns [14:56:31]Send response to host [14:56:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27064,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [14:56:31]free response buf [14:56:31]execute_script done [14:56:31]execute_script returns [14:56:31]free content buf [14:56:31]Sock 8.Close socket [14:56:31]Sock 8.Thread stoped [14:56:35]OFD Sender: No OFD packet to send [14:56:37]accept exits with 9 [14:56:37]New connection [14:56:37]New thread 3066785124 created [14:56:37]Thread 3066928484 joined [14:56:37]Waiting for new connection... [14:56:37] Sock 9.Parse request [14:56:37]Sock 9.Check first char [14:56:37]Sock 9.First char is OK [14:56:37]request: POST /json_proto HTTP/1.0 [14:56:37]Method: POST [14:56:37]URL: /json_proto [14:56:37]Method is POST - this is cgi request [14:56:37]url: /json_proto [14:56:37]query_string will be loaded in cgi processing [14:56:37]execute_cgi json_proto POST (null) [14:56:37]execute_cgi path=json_proto method=POST [14:56:37]POST find Content-Length [14:56:37]Host: 172.17.45.8:8080 [14:56:37]Content-Length: 717 [14:56:37]Content-Type: application/json [14:56:37] [14:56:37]POST finish read [14:56:37]Found Content-Length = 717 [14:56:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150463", "tax_sys" : 0, "items" : [ { "code": "4860019001810", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 \u043C\u0438\u043D\u0435\u0440\u0430\u043B\u044C\u043D\u0430\u044F \u0436/\u0431 0,33\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" ] } } [14:56:37]execute_script... [14:56: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)150463", "tax_sys" : 0, "items" : [ { "code": "4860019001810", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 \u043C\u0438\u043D\u0435\u0440\u0430\u043B\u044C\u043D\u0430\u044F \u0436/\u0431 0,33\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" ] } } [14:56:37]POST & json_proto [14:56:37]process_json_proto [14:56:37]json parsed OK: [14:56:37]protocol is kg_v1.0 [14:56:37]action value=close_receipt [14:56:37]process_action close_receipt [14:56:37]cmd_close_receipt [14:56:37]MH_GetDate [14:56:37]Write to MH i2c: F0 00 00 AF 01 9F [14:56:37]Write i2c OK [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: F0 [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: F0 09 00 [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: F0 09 00 AF 01 00 25 5C A6 66 A6 1F 7F 64 DD [14:56:37]GetLastDocTimeStamp 1722178588 [14:56:37]current date 1722178597 [14:56:37]FM_GetShiftState [14:56:37]SAM_PROTO_GetShiftState [14:56:37]wFMCommunicate request_size=4 [14:56:37]MH_SAM_APDU [14:56:37]CAPDU: 80 13 01 00 [14:56:37]Write to MH i2c: E2 08 00 B0 01 80 13 01 00 00 00 00 00 2E [14:56:37]Write i2c OK [14:56:37]MH_I2C_Read... [14:56:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:56:37]Read from MH i2c: E2 [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: E2 0E 00 [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: E2 0E 00 B0 01 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 56 [14:56:37]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:56:37]wFMCommunicate OK [14:56:37]SAM_PROTO_GetShiftState done [14:56:37]FM_GetShiftState done [14:56:37]opened in 1722127230 [14:56:37]opened+sec_in_day 1722213630 [14:56:37]quantity*price = 10000 [14:56:37]sum+1 = 10001 [14:56:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 43 28.07.2024 14:56 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27065 ФПД: 227640024493935 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T145637&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27065&fm=227640024493935&tin=02508201610067®Number=0000000000092663&sum=10000 0 [14:56:38]StoreToDocumentArchive [14:56:38]shift 433 fd 27065 [14:56:38]save to /storage/0433/doc_00027065 [14:56:38]save last doc name /storage/0433/doc_00027065 to /storage/kkm_last_doc_name [14:56:38]save OK [14:56:38]Clear old archive folders... [14:56:38]ProcessDocumentItem done err = 0, tmpTLVsize=301 [14:56:38]tlvbuf is 0017BFD0 [14:56:38]SAM_PROTO_ClearQueue [14:56:38]wFMCommunicate request_size=4 [14:56:38]MH_SAM_APDU [14:56:38]CAPDU: 80 09 00 00 [14:56:38]Write to MH i2c: E2 08 00 BD 01 80 09 00 00 00 00 00 00 30 [14:56:38]Write i2c OK [14:56:38]MH_I2C_Read... [14:56:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:56:38]Read from MH i2c: E2 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: E2 03 00 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: E2 03 00 BD 01 00 90 00 32 [14:56:38]RAPDU: 90 00 [14:56:38]wFMCommunicate OK [14:56:38]SAM_PROTO_ClearQueue done [14:56:38]KKMCreateOFDPacket [14:56:38]OFDProtocolAddRootSTLVToBuf [14:56:38]FM_MakeSignedData [14:56:38]FM_MakeSignedData [14:56:38]SAM_PROTO_SignData [14:56:38]wFMCommunicate request_size=4 [14:56:38]MH_SAM_APDU [14:56:38]CAPDU: 80 0D 01 02 [14:56:38]Write to MH i2c: E2 08 00 BE 01 80 0D 01 02 00 00 00 00 38 [14:56:38]Write i2c OK [14:56:38]MH_I2C_Read... [14:56:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:56:38]Read from MH i2c: E2 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: E2 03 00 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: E2 03 00 BE 01 00 90 00 33 [14:56:38]RAPDU: 90 00 [14:56:38]wFMCommunicate OK [14:56:38]wFMCommunicate request_size=255 [14:56:38]MH_SAM_APDU [14:56:38]CAPDU: 80 0D 02 02 FA 03 00 2D 01 1E 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 38 31 30 06 04 3B 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 D0 BC D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B6 2F D0 B1 20 30 2C 33 33 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 2B 00 00 00 F4 03 04 00 25 5C A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 [14:56:38]Write to MH i2c: E2 02 01 BF 01 80 0D 02 02 FA 00 03 00 2D 01 1E 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 38 31 30 06 04 3B 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 D0 BC D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B6 2F D0 B1 20 30 2C 33 33 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 2B 00 00 00 F4 03 04 00 25 5C A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 00 AA [14:56:38]Write i2c OK [14:56:38]MH_I2C_Read... [14:56:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:56:38]Read from MH i2c: E2 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: E2 03 00 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: E2 03 00 BF 01 00 90 00 34 [14:56:38]RAPDU: 90 00 [14:56:38]wFMCommunicate OK [14:56:38]wFMCommunicate request_size=60 [14:56:38]MH_SAM_APDU [14:56:38]CAPDU: 80 0D 02 02 37 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B9 69 00 00 35 04 06 00 CF 09 92 CB EF 6F [14:56:38]Write to MH i2c: E2 3F 00 C0 01 80 0D 02 02 37 00 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B9 69 00 00 35 04 06 00 CF 09 92 CB EF 6F 00 00 1A [14:56:38]Write i2c OK [14:56:38]MH_I2C_Read... [14:56:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:56:38]Read from MH i2c: E2 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: E2 03 00 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: E2 03 00 C0 01 00 90 00 35 [14:56:38]RAPDU: 90 00 [14:56:38]wFMCommunicate OK [14:56:38]wFMCommunicate request_size=4 [14:56:38]MH_SAM_APDU [14:56:38]CAPDU: 80 0D 03 02 [14:56:38]Write to MH i2c: E2 08 00 C1 01 80 0D 03 02 00 00 00 00 3D [14:56:38]Write i2c OK [14:56:38]MH_I2C_Read... [14:56:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:56:38]Read from MH i2c: E2 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: E2 0B 00 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: E2 0B 00 C1 01 00 ED 0D D0 1B E9 52 27 2E 90 00 B3 [14:56:38]RAPDU: ED 0D D0 1B E9 52 27 2E 90 00 [14:56:38]wFMCommunicate OK [14:56:38]SAM_PROTO_SignData done [14:56:38]FM_MakeSignedData done [14:56:38]CreateOFDProtocolMessage [14:56:38]wFMCommunicate request_size=4 [14:56:38]MH_SAM_APDU [14:56:38]CAPDU: 80 11 00 00 [14:56:38]Write to MH i2c: E2 08 00 C2 01 80 11 00 00 00 00 00 00 3D [14:56:38]Write i2c OK [14:56:38]MH_I2C_Read... [14:56:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:56:38]Read from MH i2c: E2 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: E2 17 00 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: E2 17 00 C2 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 96 [14:56:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:56:38]wFMCommunicate OK [14:56:38]CreateOFDProtocolMessage done [14:56:38]OFDSenderStorePacket 27065 [14:56:38]StoreOFDPacket docnum=27065 [14:56:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 41 01 00 00 6E 9E 39 01 5D 19 5A 03 01 00 03 00 2D 01 1E 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 38 31 30 06 04 3B 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 D0 BC D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B6 2F D0 B1 20 30 2C 33 33 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 2B 00 00 00 F4 03 04 00 25 5C A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B9 69 00 00 35 04 06 00 CF 09 92 CB EF 6F ED 0D D0 1B E9 52 27 2E [14:56:38]CheckFolder [14:56:38]dirname=/storage/ofd_packets [14:56:38]CheckFolder done [14:56:38]ProducePacketName [14:56:38]name=ofd_packets/00027065 [14:56:38]NVStorageSaveData ofd_packets/00027065 [14:56:38]File name is /storage/ofd_packets/00027065 [14:56:38]Write 351 bytes [14:56:38]NVStorageSaveData done [14:56:38]OFDSenderStorePacket done [14:56:38]KKMCreateOFDPacket done [14:56:38]NVStorageSaveData kkm_last_timestamp [14:56:38]File name is /storage/kkm_last_timestamp [14:56:38]Write 4 bytes [14:56:38]NVStorageSaveData done [14:56:38]ExternCall_PrintAddStr [14:56:38]wPrintStart [14:56:38]Write to MH i2c: 01 00 00 C3 01 C4 [14:56:38]Write i2c OK [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: 01 [14:56:38]MH_I2C_Read... [14:56:38]Read from MH i2c: 01 07 00 [14:56:38]MH_I2C_Read... [14:56:38]OFD Sender: Processing packet 27065 [packets to send 9, broken 8] [14:56:38]ProducePacketName [14:56:38]name=ofd_packets/00027065 [14:56:38]OFD Sender: To server: pG, [14:56:38]CommunicateWithHost lk.salyk.kg:30040 [14:56:38]ConnectInit lk.salyk.kg [14:56:38]Read from MH i2c: 01 07 00 C3 01 00 00 00 00 00 FF 0F D9 [14:56:38]RasterBufferAndPrint [14:56:38]line Счет N : (3)150463 [14:56:38]line ИНН: 02508201610067 [14:56:38]line Контрольно-Кассовый Чек [14:56:38]line ПРОДАЖА [14:56:38]line Товар: 4860019001810 [14:56:38]line Вода Боржоми минеральная ж/б 0,33л [14:56:38]line 1.000 * 100.00 [14:56:38]line = 100.00 [14:56:38]line НДС 12% НСП 1% [14:56:38]line > о реализуемом товаре [14:56:38]line ИТОГО: 100.00 [14:56:38]line НСП 1% : 0.88 [14:56:38]line НДС 12% : 10.62 [14:56:38]line Наличными: 100.00 [14:56:38]line Безнал.: 0.00 [14:56:38]line Место: АЗС № 134 "Партнер Нефть" [14:56:38]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [14:56:38]line СНО: Общий режим [14:56:38]line Чек 43 28.07.2024 14:56 [14:56:38]line Смена: 433 ФФД: 1.0 [14:56:38]line ЗНМ: 0300000043 [14:56:38]line РНМ: 0000000000092663 [14:56:38]line Версия ККМ: 001 [14:56:38]line ФМ: 0000000000874937 [14:56:38]line ФД: 27065 [14:56:38]line ФПД: 227640024493935 [14:56:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T145637&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27065&fm=227640024493935&tin=02508201610067®Number=0000000000092663&sum=10000 [14:56:38]line 0 [14:56:38]written 0, free lines is 4095 [14:56:39]Connected sock=10 [14:56:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 41 01 00 00 6E 9E 39 01 5D 19 5A 03 01 00 03 00 2D 01 1E 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 38 31 30 06 04 3B 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 D0 BC D0 B8 D0 BD D0 B5 D1 80 D0 B0 D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 B6 2F D0 B1 20 30 2C 33 33 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 2B 00 00 00 F4 03 04 00 25 5C A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 B9 69 00 00 35 04 06 00 CF 09 92 CB EF 6F ED 0D D0 1B E9 52 27 2E [14:56:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 E7 1D 47 00 DF 2C 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 38 37 34 39 33 37 10 04 04 00 B9 69 00 00 F4 03 04 00 79 02 A6 66 B6 04 01 00 00 09 5D 9E C0 4C 57 0B FC [14:56:39]CommunicateWithHost err = 0 [14:56:39]CheckOFDResponse [14:56:39]1017 (14) - 77093643461234 [14:56:39]1041 (16) - 0000000000874937 [14:56:39]1040 (4) - 27065 [14:56:39]1012 (4) - 28.07.2024 08:34 [14:56:39]1206 (1) - 0 [14:56:39]OFD Sender: Remove packet 27065 [14:56:39]ProducePacketName [14:56:39]name=ofd_packets/00027065 [14:56:39]NVStorageDeleteData [14:56:39]Write to MH i2c: 01 00 00 EB 01 EC [14:56:39]Write i2c OK [14:56:39]MH_I2C_Read... [14:56:39]Read from MH i2c: 01 [14:56:39]MH_I2C_Read... [14:56:39]Read from MH i2c: 01 07 00 [14:56:39]MH_I2C_Read... [14:56:39]Read from MH i2c: 01 07 00 EB 01 00 00 00 00 00 F3 0C F2 [14:56:39]RasterBufferAndPrint [14:56:39]line [14:56:39]line [14:56:39]line [14:56:39]line [14:56:39]line [14:56:39]written 0, free lines is 3322 [14:56:39]MH_Cut [14:56:39]Write to MH i2c: D1 01 00 F2 01 01 C5 [14:56:39]Write i2c OK [14:56:39]MH_I2C_Read... [14:56:39]Read from MH i2c: D1 [14:56:39]MH_I2C_Read... [14:56:39]Read from MH i2c: D1 01 00 [14:56:39]MH_I2C_Read... [14:56:39]Read from MH i2c: D1 01 00 F2 01 00 C4 [14:56:39]Write to MH i2c: 01 00 00 F3 01 F4 [14:56:39]Write i2c OK [14:56:39]MH_I2C_Read... [14:56:39]OFD Sender: No OFD packet to send [14:56:40]*** Cut start [14:56:40]*** Partial cut [14:56:40]*** CUTSNS_PIN = 1 [14:56:40]*** CUTSNS_PIN = 0 [14:56:40]*** Brake cut motor [14:56:40]Read from MH i2c: 01 [14:56:40]MH_I2C_Read... [14:56:40]*** Stop cut motor [14:56:40]*** Cut end [14:56:40]Read from MH i2c: 01 07 00 [14:56:40]MH_I2C_Read... [14:56:40]Read from MH i2c: 01 07 00 F3 01 00 00 00 00 00 FF 0F 09 [14:56:40]process_action close_receipt done [14:56:40]requested_data is exist [14:56:40]produce_requested_data [14:56:40]requested_item fm.sn is exist - process it [14:56:40]wFMCommunicate request_size=4 [14:56:40]MH_SAM_APDU [14:56:40]CAPDU: 80 11 00 00 [14:56:40]Write to MH i2c: E2 08 00 F4 01 80 11 00 00 00 00 00 00 6F [14:56:40]Write i2c OK [14:56:40]MH_I2C_Read... [14:56:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:56:40]Read from MH i2c: E2 [14:56:40]MH_I2C_Read... [14:56:40]Read from MH i2c: E2 17 00 [14:56:40]MH_I2C_Read... [14:56:40]Read from MH i2c: E2 17 00 F4 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 C8 [14:56:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [14:56:40]wFMCommunicate OK [14:56:40]requested_item fd.num is exist - process it [14:56:40]SAM_PROTO_GetFieldsCounters [14:56:40]wFMCommunicate request_size=4 [14:56:40]MH_SAM_APDU [14:56:40]CAPDU: 80 13 00 00 [14:56:40]Write to MH i2c: E2 08 00 F5 01 80 13 00 00 00 00 00 00 72 [14:56:40]Write i2c OK [14:56:40]MH_I2C_Read... [14:56:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:56:40]Read from MH i2c: E2 [14:56:40]MH_I2C_Read... [14:56:40]Read from MH i2c: E2 62 00 [14:56:40]MH_I2C_Read... [14:56:40]Read from MH i2c: E2 62 00 F5 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 B9 69 00 00 0E 04 04 00 B1 01 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 EF [14:56:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 B9 69 00 00 0E 04 04 00 B1 01 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 [14:56:40]wFMCommunicate OK [14:56:40]SAM_PROTO_GetFieldsCounters done [14:56:40]requested_item shift.num is exist - process it [14:56:40]requested_item shift.opened is exist - process it [14:56:40]req_shift_opened [14:56:40]FM_GetShiftState [14:56:40]SAM_PROTO_GetShiftState [14:56:40]wFMCommunicate request_size=4 [14:56:40]MH_SAM_APDU [14:56:40]CAPDU: 80 13 01 00 [14:56:40]Write to MH i2c: E2 08 00 F6 01 80 13 01 00 00 00 00 00 74 [14:56:40]Write i2c OK [14:56:40]MH_I2C_Read... [14:56:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:56:40]Read from MH i2c: E2 [14:56:40]MH_I2C_Read... [14:56:40]Read from MH i2c: E2 0E 00 [14:56:40]MH_I2C_Read... [14:56:40]Read from MH i2c: E2 0E 00 F6 01 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 9C [14:56:40]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [14:56:40]wFMCommunicate OK [14:56:40]SAM_PROTO_GetShiftState done [14:56:40]FM_GetShiftState done [14:56:40]req_shift_opened done [14:56:40]requested_item shift.open_date is exist - process it [14:56:40]req_shift_open_date [14:56:40]req_shift_open_date done [14:56:40]produce_requested_data done [14:56:40]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27065,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [14:56:40]process_action_free close_receipt [14:56:40]json_value_free [14:56:40]json_value_free done [14:56:40]process_json_proto returns [14:56:40]Send response to host [14:56:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27065,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [14:56:40]free response buf [14:56:40]execute_script done [14:56:40]execute_script returns [14:56:40]free content buf [14:56:40]Sock 9.Close socket [14:56:40]Sock 9.Thread stoped [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]accept exits with 8 [15:01:34]New connection [15:01:34]New thread 3066928484 created [15:01:34]Thread 3066785124 joined [15:01:34]Waiting for new connection... [15:01:34] Sock 8.Parse request [15:01:34]Sock 8.Check first char [15:01:34]Sock 8.First char is OK [15:01:34]request: POST /json_proto HTTP/1.0 [15:01:34]Method: POST [15:01:34]URL: /json_proto [15:01:34]Method is POST - this is cgi request [15:01:34]url: /json_proto [15:01:34]query_string will be loaded in cgi processing [15:01:34]execute_cgi json_proto POST (null) [15:01:34]execute_cgi path=json_proto method=POST [15:01:34]POST find Content-Length [15:01:34]Host: 172.17.45.8:8080 [15:01:34]Content-Length: 713 [15:01:34]Content-Type: application/json [15:01:34] [15:01:34]POST finish read [15:01:34]Found Content-Length = 713 [15:01:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150464", "tax_sys" : 0, "items" : [ { "code": "4870001571023", "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 0,5\u043B", "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" ] } } [15:01:34]execute_script... [15:01: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)150464", "tax_sys" : 0, "items" : [ { "code": "4870001571023", "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 0,5\u043B", "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" ] } } [15:01:34]POST & json_proto [15:01:34]process_json_proto [15:01:34]json parsed OK: [15:01:34]protocol is kg_v1.0 [15:01:34]action value=close_receipt [15:01:34]process_action close_receipt [15:01:34]cmd_close_receipt [15:01:34]MH_GetDate [15:01:34]Write to MH i2c: F0 00 00 F7 01 E7 [15:01:34]Write i2c OK [15:01:34]MH_I2C_Read... [15:01:34]Read from MH i2c: F0 [15:01:34]MH_I2C_Read... [15:01:34]Read from MH i2c: F0 09 00 [15:01:34]MH_I2C_Read... [15:01:34]Read from MH i2c: F0 09 00 F7 01 00 4E 5D A6 66 A6 1F 7F 64 4F [15:01:34]GetLastDocTimeStamp 1722178597 [15:01:34]current date 1722178894 [15:01:34]FM_GetShiftState [15:01:34]SAM_PROTO_GetShiftState [15:01:34]wFMCommunicate request_size=4 [15:01:34]MH_SAM_APDU [15:01:34]CAPDU: 80 13 01 00 [15:01:34]Write to MH i2c: E2 08 00 F8 01 80 13 01 00 00 00 00 00 76 [15:01:34]Write i2c OK [15:01:34]MH_I2C_Read... [15:01:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:01:34]Read from MH i2c: E2 [15:01:34]MH_I2C_Read... [15:01:34]Read from MH i2c: E2 0E 00 [15:01:34]MH_I2C_Read... [15:01:34]Read from MH i2c: E2 0E 00 F8 01 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 9E [15:01:34]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [15:01:34]wFMCommunicate OK [15:01:34]SAM_PROTO_GetShiftState done [15:01:34]FM_GetShiftState done [15:01:34]opened in 1722127230 [15:01:34]opened+sec_in_day 1722213630 [15:01:34]quantity*price = 6500 [15:01:34]sum+1 = 6501 [15:01:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 44 28.07.2024 15:01 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27066 ФПД: 274095095277153 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T150134&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27066&fm=274095095277153&tin=02508201610067®Number=0000000000092663&sum=6500 0 [15:01:35]StoreToDocumentArchive [15:01:35]shift 433 fd 27066 [15:01:35]save to /storage/0433/doc_00027066 [15:01:35]save last doc name /storage/0433/doc_00027066 to /storage/kkm_last_doc_name [15:01:35]save OK [15:01:35]Clear old archive folders... [15:01:35]ProcessDocumentItem done err = 0, tmpTLVsize=304 [15:01:35]tlvbuf is 0017F6F0 [15:01:35]SAM_PROTO_ClearQueue [15:01:35]wFMCommunicate request_size=4 [15:01:35]MH_SAM_APDU [15:01:35]CAPDU: 80 09 00 00 [15:01:35]Write to MH i2c: E2 08 00 05 02 80 09 00 00 00 00 00 00 79 [15:01:35]Write i2c OK [15:01:35]MH_I2C_Read... [15:01:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:01:35]Read from MH i2c: E2 [15:01:35]MH_I2C_Read... [15:01:35]Read from MH i2c: E2 03 00 [15:01:35]MH_I2C_Read... [15:01:35]Read from MH i2c: E2 03 00 05 02 00 90 00 7B [15:01:35]RAPDU: 90 00 [15:01:35]wFMCommunicate OK [15:01:35]SAM_PROTO_ClearQueue done [15:01:35]KKMCreateOFDPacket [15:01:35]OFDProtocolAddRootSTLVToBuf [15:01:35]FM_MakeSignedData [15:01:35]FM_MakeSignedData [15:01:35]SAM_PROTO_SignData [15:01:35]wFMCommunicate request_size=4 [15:01:35]MH_SAM_APDU [15:01:35]CAPDU: 80 0D 01 02 [15:01:35]Write to MH i2c: E2 08 00 06 02 80 0D 01 02 00 00 00 00 81 [15:01:35]Write i2c OK [15:01:35]MH_I2C_Read... [15:01:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:01:35]Read from MH i2c: E2 [15:01:35]MH_I2C_Read... [15:01:35]Read from MH i2c: E2 03 00 [15:01:35]MH_I2C_Read... [15:01:35]Read from MH i2c: E2 03 00 06 02 00 90 00 7C [15:01:35]RAPDU: 90 00 [15:01:35]wFMCommunicate OK [15:01:35]wFMCommunicate request_size=255 [15:01:35]MH_SAM_APDU [15:01:35]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 32 33 06 04 3E 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 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 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 2C 00 00 00 F4 03 04 00 4E 5D A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 [15:01:35]Write to MH i2c: E2 02 01 07 02 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 32 33 06 04 3E 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 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 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 2C 00 00 00 F4 03 04 00 4E 5D A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 00 00 63 [15:01:35]Write i2c OK [15:01:35]MH_I2C_Read... [15:01:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:01:35]Read from MH i2c: E2 [15:01:35]MH_I2C_Read... [15:01:35]Read from MH i2c: E2 03 00 [15:01:35]MH_I2C_Read... [15:01:35]Read from MH i2c: E2 03 00 07 02 00 90 00 7D [15:01:35]RAPDU: 90 00 [15:01:35]wFMCommunicate OK [15:01:35]wFMCommunicate request_size=63 [15:01:35]MH_SAM_APDU [15:01:35]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 BA 69 00 00 35 04 06 00 F9 49 BC C9 E6 61 [15:01:35]Write to MH i2c: E2 42 00 08 02 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 BA 69 00 00 35 04 06 00 F9 49 BC C9 E6 61 00 00 06 [15:01:35]Write i2c OK [15:01:35]MH_I2C_Read... [15:01:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:01:35]Read from MH i2c: E2 [15:01:35]MH_I2C_Read... [15:01:35]Read from MH i2c: E2 03 00 [15:01:35]MH_I2C_Read... [15:01:35]Read from MH i2c: E2 03 00 08 02 00 90 00 7E [15:01:35]RAPDU: 90 00 [15:01:35]wFMCommunicate OK [15:01:35]wFMCommunicate request_size=4 [15:01:35]MH_SAM_APDU [15:01:35]CAPDU: 80 0D 03 02 [15:01:35]Write to MH i2c: E2 08 00 09 02 80 0D 03 02 00 00 00 00 86 [15:01:35]Write i2c OK [15:01:35]MH_I2C_Read... [15:01:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:01:35]Read from MH i2c: E2 [15:01:35]MH_I2C_Read... [15:01:35]Read from MH i2c: E2 0B 00 [15:01:35]MH_I2C_Read... [15:01:35]Read from MH i2c: E2 0B 00 09 02 00 78 6A 97 90 C4 80 55 DE 90 00 07 [15:01:35]RAPDU: 78 6A 97 90 C4 80 55 DE 90 00 [15:01:35]wFMCommunicate OK [15:01:35]SAM_PROTO_SignData done [15:01:35]FM_MakeSignedData done [15:01:35]CreateOFDProtocolMessage [15:01:35]wFMCommunicate request_size=4 [15:01:35]MH_SAM_APDU [15:01:35]CAPDU: 80 11 00 00 [15:01:35]Write to MH i2c: E2 08 00 0A 02 80 11 00 00 00 00 00 00 86 [15:01:35]Write i2c OK [15:01:35]MH_I2C_Read... [15:01:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:01:35]Read from MH i2c: E2 [15:01:35]MH_I2C_Read... [15:01:35]Read from MH i2c: E2 17 00 [15:01:35]MH_I2C_Read... [15:01:35]Read from MH i2c: E2 17 00 0A 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 DF [15:01:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [15:01:35]wFMCommunicate OK [15:01:35]CreateOFDProtocolMessage done [15:01:35]OFDSenderStorePacket 27066 [15:01:35]StoreOFDPacket docnum=27066 [15:01:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 44 01 00 00 26 AE 3C 01 6F 48 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 32 33 06 04 3E 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 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 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 2C 00 00 00 F4 03 04 00 4E 5D A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 BA 69 00 00 35 04 06 00 F9 49 BC C9 E6 61 78 6A 97 90 C4 80 55 DE [15:01:35]CheckFolder [15:01:35]dirname=/storage/ofd_packets [15:01:35]CheckFolder done [15:01:35]ProducePacketName [15:01:35]name=ofd_packets/00027066 [15:01:35]NVStorageSaveData ofd_packets/00027066 [15:01:35]File name is /storage/ofd_packets/00027066 [15:01:35]Write 354 bytes [15:01:35]NVStorageSaveData done [15:01:35]OFDSenderStorePacket done [15:01:35]KKMCreateOFDPacket done [15:01:35]NVStorageSaveData kkm_last_timestamp [15:01:35]File name is /storage/kkm_last_timestamp [15:01:35]Write 4 bytes [15:01:35]NVStorageSaveData done [15:01:35]ExternCall_PrintAddStr [15:01:35]wPrintStart [15:01:35]Write to MH i2c: 01 00 00 0B 02 0D [15:01:35]Write i2c OK [15:01:35]MH_I2C_Read... [15:01:35]Read from MH i2c: 01 [15:01:35]MH_I2C_Read... [15:01:35]Read from MH i2c: 01 07 00 [15:01:35]MH_I2C_Read... [15:01:35]Read from MH i2c: 01 07 00 0B 02 00 00 00 00 00 FF 0F 22 [15:01:35]RasterBufferAndPrint [15:01:35]line Счет N : (3)150464 [15:01:35]line ИНН: 02508201610067 [15:01:35]line Контрольно-Кассовый Чек [15:01:35]line ПРОДАЖА [15:01:35]line Товар: 4870001571023 [15:01:35]line Вода ASU пит н.газ клубн,киви ПЭТ 0,5л [15:01:35]line 1.000 * 65.00 [15:01:35]line = 65.00 [15:01:35]line НДС 12% НСП 1% [15:01:35]line > о реализуемом товаре [15:01:35]line ИТОГО: 65.00 [15:01:35]line НСП 1% : 0.57 [15:01:35]line НДС 12% : 6.90 [15:01:35]line Наличными: 65.00 [15:01:35]line Безнал.: 0.00 [15:01:35]line Место: АЗС № 134 "Партнер Нефть" [15:01:35]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [15:01:35]line СНО: Общий режим [15:01:35]line Чек 44 28.07.2024 15:01 [15:01:35]line Смена: 433 ФФД: 1.0 [15:01:35]line ЗНМ: 0300000043 [15:01:35]line РНМ: 0000000000092663 [15:01:35]line Версия ККМ: 001 [15:01:35]line ФМ: 0000000000874937 [15:01:35]line ФД: 27066 [15:01:35]line ФПД: 274095095277153 [15:01:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T150134&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27066&fm=274095095277153&tin=02508201610067®Number=0000000000092663&sum=6500 [15:01:36]line 0 [15:01:36]OFD Sender: Processing packet 27066 [packets to send 9, broken 8] [15:01:36]ProducePacketName [15:01:36]name=ofd_packets/00027066 [15:01:36]OFD Sender: To server: pG, [15:01:36]CommunicateWithHost lk.salyk.kg:30040 [15:01:36]ConnectInit lk.salyk.kg [15:01:36]written 0, free lines is 4095 [15:01:36]Connected sock=10 [15:01:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 44 01 00 00 26 AE 3C 01 6F 48 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 32 33 06 04 3E 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 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 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 2C 00 00 00 F4 03 04 00 4E 5D A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 BA 69 00 00 35 04 06 00 F9 49 BC C9 E6 61 78 6A 97 90 C4 80 55 DE [15:01:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 F4 4C 47 00 48 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 38 37 34 39 33 37 10 04 04 00 BA 69 00 00 F4 03 04 00 A2 03 A6 66 B6 04 01 00 00 94 88 6B D1 21 B9 7C 21 [15:01:36]CommunicateWithHost err = 0 [15:01:36]CheckOFDResponse [15:01:36]1017 (14) - 77093643461234 [15:01:36]1041 (16) - 0000000000874937 [15:01:36]1040 (4) - 27066 [15:01:36]1012 (4) - 28.07.2024 08:38 [15:01:36]1206 (1) - 0 [15:01:36]OFD Sender: Remove packet 27066 [15:01:36]ProducePacketName [15:01:36]name=ofd_packets/00027066 [15:01:36]NVStorageDeleteData [15:01:36]Write to MH i2c: 01 00 00 33 02 35 [15:01:36]Write i2c OK [15:01:36]MH_I2C_Read... [15:01:36]Read from MH i2c: 01 [15:01:36]MH_I2C_Read... [15:01:36]Read from MH i2c: 01 07 00 [15:01:36]MH_I2C_Read... [15:01:36]Read from MH i2c: 01 07 00 33 02 00 00 00 00 00 E9 0C 31 [15:01:36]RasterBufferAndPrint [15:01:36]line [15:01:36]line [15:01:36]line [15:01:36]line [15:01:36]line [15:01:36]written 0, free lines is 3310 [15:01:36]MH_Cut [15:01:36]Write to MH i2c: D1 01 00 3A 02 01 0E [15:01:36]Write i2c OK [15:01:36]MH_I2C_Read... [15:01:36]Read from MH i2c: D1 [15:01:36]MH_I2C_Read... [15:01:36]Read from MH i2c: D1 01 00 [15:01:36]MH_I2C_Read... [15:01:36]Read from MH i2c: D1 01 00 3A 02 00 0D [15:01:36]Write to MH i2c: 01 00 00 3B 02 3D [15:01:36]Write i2c OK [15:01:36]MH_I2C_Read... [15:01:36]OFD Sender: No OFD packet to send [15:01:37]*** Cut start [15:01:37]*** Partial cut [15:01:37]*** CUTSNS_PIN = 1 [15:01:37]*** CUTSNS_PIN = 0 [15:01:37]*** Brake cut motor [15:01:37]Read from MH i2c: 01 [15:01:37]MH_I2C_Read... [15:01:37]*** Stop cut motor [15:01:37]*** Cut end [15:01:37]Read from MH i2c: 01 07 00 [15:01:37]MH_I2C_Read... [15:01:37]Read from MH i2c: 01 07 00 3B 02 00 00 00 00 00 FF 0F 52 [15:01:37]process_action close_receipt done [15:01:37]requested_data is exist [15:01:37]produce_requested_data [15:01:37]requested_item fm.sn is exist - process it [15:01:37]wFMCommunicate request_size=4 [15:01:37]MH_SAM_APDU [15:01:37]CAPDU: 80 11 00 00 [15:01:37]Write to MH i2c: E2 08 00 3C 02 80 11 00 00 00 00 00 00 B8 [15:01:37]Write i2c OK [15:01:37]MH_I2C_Read... [15:01:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:01:37]Read from MH i2c: E2 [15:01:37]MH_I2C_Read... [15:01:37]Read from MH i2c: E2 17 00 [15:01:37]MH_I2C_Read... [15:01:37]Read from MH i2c: E2 17 00 3C 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 11 [15:01:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [15:01:37]wFMCommunicate OK [15:01:37]requested_item fd.num is exist - process it [15:01:37]SAM_PROTO_GetFieldsCounters [15:01:37]wFMCommunicate request_size=4 [15:01:37]MH_SAM_APDU [15:01:37]CAPDU: 80 13 00 00 [15:01:37]Write to MH i2c: E2 08 00 3D 02 80 13 00 00 00 00 00 00 BB [15:01:37]Write i2c OK [15:01:37]MH_I2C_Read... [15:01:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:01:38]Read from MH i2c: E2 [15:01:38]MH_I2C_Read... [15:01:38]Read from MH i2c: E2 62 00 [15:01:38]MH_I2C_Read... [15:01:38]Read from MH i2c: E2 62 00 3D 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 BA 69 00 00 0E 04 04 00 B1 01 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 3C [15:01:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 BA 69 00 00 0E 04 04 00 B1 01 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:01:38]wFMCommunicate OK [15:01:38]SAM_PROTO_GetFieldsCounters done [15:01:38]requested_item shift.num is exist - process it [15:01:38]requested_item shift.opened is exist - process it [15:01:38]req_shift_opened [15:01:38]FM_GetShiftState [15:01:38]SAM_PROTO_GetShiftState [15:01:38]wFMCommunicate request_size=4 [15:01:38]MH_SAM_APDU [15:01:38]CAPDU: 80 13 01 00 [15:01:38]Write to MH i2c: E2 08 00 3E 02 80 13 01 00 00 00 00 00 BD [15:01:38]Write i2c OK [15:01:38]MH_I2C_Read... [15:01:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:01:38]Read from MH i2c: E2 [15:01:38]MH_I2C_Read... [15:01:38]Read from MH i2c: E2 0E 00 [15:01:38]MH_I2C_Read... [15:01:38]Read from MH i2c: E2 0E 00 3E 02 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 E5 [15:01:38]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [15:01:38]wFMCommunicate OK [15:01:38]SAM_PROTO_GetShiftState done [15:01:38]FM_GetShiftState done [15:01:38]req_shift_opened done [15:01:38]requested_item shift.open_date is exist - process it [15:01:38]req_shift_open_date [15:01:38]req_shift_open_date done [15:01:38]produce_requested_data done [15:01:38]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27066,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [15:01:38]process_action_free close_receipt [15:01:38]json_value_free [15:01:38]json_value_free done [15:01:38]process_json_proto returns [15:01:38]Send response to host [15:01:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27066,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [15:01:38]free response buf [15:01:38]execute_script done [15:01:38]execute_script returns [15:01:38]free content buf [15:01:38]Sock 8.Close socket [15:01:38]Sock 8.Thread stoped [15:01:41]OFD Sender: No OFD packet to send [15:01:46]OFD Sender: No OFD packet to send [15:01:51]OFD Sender: No OFD packet to send [15:01:56]OFD Sender: No OFD packet to send [15:02:02]OFD Sender: No OFD packet to send [15:02:07]OFD Sender: No OFD packet to send [15:02:12]OFD Sender: No OFD packet to send [15:02:17]OFD Sender: No OFD packet to send [15:02:22]OFD Sender: No OFD packet to send [15:02:27]OFD Sender: No OFD packet to send [15:02:32]OFD Sender: No OFD packet to send [15:02:37]OFD Sender: No OFD packet to send [15:02:42]OFD Sender: No OFD packet to send [15:02:47]OFD Sender: No OFD packet to send [15:02:52]OFD Sender: No OFD packet to send [15:02:57]OFD Sender: No OFD packet to send [15:03:02]OFD Sender: No OFD packet to send [15:03:07]OFD Sender: No OFD packet to send [15:03:12]OFD Sender: No OFD packet to send [15:03:17]OFD Sender: No OFD packet to send [15:03:22]OFD Sender: No OFD packet to send [15:03:27]OFD Sender: No OFD packet to send [15:03:32]OFD Sender: No OFD packet to send [15:03:37]OFD Sender: No OFD packet to send [15:03:42]OFD Sender: No OFD packet to send [15:03:47]OFD Sender: No OFD packet to send [15:03:52]OFD Sender: No OFD packet to send [15:03:57]OFD Sender: No OFD packet to send [15:04:02]OFD Sender: No OFD packet to send [15:04:07]OFD Sender: No OFD packet to send [15:04:12]OFD Sender: No OFD packet to send [15:04:17]OFD Sender: No OFD packet to send [15:04:22]OFD Sender: No OFD packet to send [15:04:27]OFD Sender: No OFD packet to send [15:04:32]OFD Sender: No OFD packet to send [15:04:37]OFD Sender: No OFD packet to send [15:04:42]OFD Sender: No OFD packet to send [15:04:47]OFD Sender: No OFD packet to send [15:04:52]OFD Sender: No OFD packet to send [15:04:57]OFD Sender: No OFD packet to send [15:05:02]OFD Sender: No OFD packet to send [15:05:07]OFD Sender: No OFD packet to send [15:05:12]OFD Sender: No OFD packet to send [15:05:17]OFD Sender: No OFD packet to send [15:05:22]OFD Sender: No OFD packet to send [15:05:27]OFD Sender: No OFD packet to send [15:05:32]OFD Sender: No OFD packet to send [15:05:37]OFD Sender: No OFD packet to send [15:05:42]OFD Sender: No OFD packet to send [15:05:47]OFD Sender: No OFD packet to send [15:05:52]OFD Sender: No OFD packet to send [15:05:57]OFD Sender: No OFD packet to send [15:06:02]OFD Sender: No OFD packet to send [15:06:07]OFD Sender: No OFD packet to send [15:06:12]OFD Sender: No OFD packet to send [15:06:17]OFD Sender: No OFD packet to send [15:06:22]OFD Sender: No OFD packet to send [15:06:27]OFD Sender: No OFD packet to send [15:06:32]OFD Sender: No OFD packet to send [15:06:37]OFD Sender: No OFD packet to send [15:06:42]OFD Sender: No OFD packet to send [15:06:47]OFD Sender: No OFD packet to send [15:06:52]OFD Sender: No OFD packet to send [15:06:57]OFD Sender: No OFD packet to send [15:07:02]OFD Sender: No OFD packet to send [15:07:07]OFD Sender: No OFD packet to send [15:07:12]OFD Sender: No OFD packet to send [15:07:17]OFD Sender: No OFD packet to send [15:07:22]OFD Sender: No OFD packet to send [15:07:27]OFD Sender: No OFD packet to send [15:07:32]OFD Sender: No OFD packet to send [15:07:37]OFD Sender: No OFD packet to send [15:07:42]OFD Sender: No OFD packet to send [15:07:47]OFD Sender: No OFD packet to send [15:07:52]OFD Sender: No OFD packet to send [15:07:57]OFD Sender: No OFD packet to send [15:08:02]OFD Sender: No OFD packet to send [15:08:07]OFD Sender: No OFD packet to send [15:08:12]OFD Sender: No OFD packet to send [15:08:17]OFD Sender: No OFD packet to send [15:08:22]OFD Sender: No OFD packet to send [15:08:27]OFD Sender: No OFD packet to send [15:08:32]OFD Sender: No OFD packet to send [15:08:37]OFD Sender: No OFD packet to send [15:08:42]OFD Sender: No OFD packet to send [15:08:47]OFD Sender: No OFD packet to send [15:08:52]OFD Sender: No OFD packet to send [15:08:57]OFD Sender: No OFD packet to send [15:09:02]OFD Sender: No OFD packet to send [15:09:07]OFD Sender: No OFD packet to send [15:09:12]OFD Sender: No OFD packet to send [15:09:17]OFD Sender: No OFD packet to send [15:09:22]OFD Sender: No OFD packet to send [15:09:27]OFD Sender: No OFD packet to send [15:09:32]OFD Sender: No OFD packet to send [15:09:37]OFD Sender: No OFD packet to send [15:09:42]OFD Sender: No OFD packet to send [15:09:47]OFD Sender: No OFD packet to send [15:09:52]OFD Sender: No OFD packet to send [15:09:57]OFD Sender: No OFD packet to send [15:10:02]OFD Sender: No OFD packet to send [15:10:07]OFD Sender: No OFD packet to send [15:10:12]OFD Sender: No OFD packet to send [15:10:17]OFD Sender: No OFD packet to send [15:10:22]OFD Sender: No OFD packet to send [15:10:27]OFD Sender: No OFD packet to send [15:10:32]OFD Sender: No OFD packet to send [15:10:37]OFD Sender: No OFD packet to send [15:10:42]OFD Sender: No OFD packet to send [15:10:47]OFD Sender: No OFD packet to send [15:10:52]OFD Sender: No OFD packet to send [15:10:57]OFD Sender: No OFD packet to send [15:11:02]OFD Sender: No OFD packet to send [15:11:07]OFD Sender: No OFD packet to send [15:11:12]OFD Sender: No OFD packet to send [15:11:17]OFD Sender: No OFD packet to send [15:11:22]OFD Sender: No OFD packet to send [15:11:27]OFD Sender: No OFD packet to send [15:11:32]OFD Sender: No OFD packet to send [15:11:37]OFD Sender: No OFD packet to send [15:11:42]OFD Sender: No OFD packet to send [15:11:47]OFD Sender: No OFD packet to send [15:11:52]OFD Sender: No OFD packet to send [15:11:57]OFD Sender: No OFD packet to send [15:12:02]OFD Sender: No OFD packet to send [15:12:07]OFD Sender: No OFD packet to send [15:12:12]OFD Sender: No OFD packet to send [15:12:17]OFD Sender: No OFD packet to send [15:12:22]OFD Sender: No OFD packet to send [15:12:27]OFD Sender: No OFD packet to send [15:12:32]OFD Sender: No OFD packet to send [15:12:37]OFD Sender: No OFD packet to send [15:12:42]OFD Sender: No OFD packet to send [15:12:47]OFD Sender: No OFD packet to send [15:12:52]OFD Sender: No OFD packet to send [15:12:57]OFD Sender: No OFD packet to send [15:13:02]OFD Sender: No OFD packet to send [15:13:07]OFD Sender: No OFD packet to send [15:13:12]OFD Sender: No OFD packet to send [15:13:17]OFD Sender: No OFD packet to send [15:13:22]OFD Sender: No OFD packet to send [15:13:27]OFD Sender: No OFD packet to send [15:13:32]OFD Sender: No OFD packet to send [15:13:37]OFD Sender: No OFD packet to send [15:13:42]OFD Sender: No OFD packet to send [15:13:47]OFD Sender: No OFD packet to send [15:13:52]OFD Sender: No OFD packet to send [15:13:57]OFD Sender: No OFD packet to send [15:14:02]OFD Sender: No OFD packet to send [15:14:07]OFD Sender: No OFD packet to send [15:14:12]OFD Sender: No OFD packet to send [15:14:17]OFD Sender: No OFD packet to send [15:14:22]OFD Sender: No OFD packet to send [15:14:27]OFD Sender: No OFD packet to send [15:14:32]OFD Sender: No OFD packet to send [15:14:37]OFD Sender: No OFD packet to send [15:14:42]OFD Sender: No OFD packet to send [15:14:47]OFD Sender: No OFD packet to send [15:14:52]OFD Sender: No OFD packet to send [15:14:57]OFD Sender: No OFD packet to send [15:15:02]OFD Sender: No OFD packet to send [15:15:07]OFD Sender: No OFD packet to send [15:15:12]OFD Sender: No OFD packet to send [15:15:17]OFD Sender: No OFD packet to send [15:15:22]OFD Sender: No OFD packet to send [15:15:27]OFD Sender: No OFD packet to send [15:15:32]OFD Sender: No OFD packet to send [15:15:37]OFD Sender: No OFD packet to send [15:15:42]OFD Sender: No OFD packet to send [15:15:47]OFD Sender: No OFD packet to send [15:15:52]OFD Sender: No OFD packet to send [15:15:57]OFD Sender: No OFD packet to send [15:16:02]OFD Sender: No OFD packet to send [15:16:07]OFD Sender: No OFD packet to send [15:16:12]OFD Sender: No OFD packet to send [15:16:17]OFD Sender: No OFD packet to send [15:16:22]OFD Sender: No OFD packet to send [15:16:27]OFD Sender: No OFD packet to send [15:16:32]OFD Sender: No OFD packet to send [15:16:37]OFD Sender: No OFD packet to send [15:16:42]OFD Sender: No OFD packet to send [15:16:47]OFD Sender: No OFD packet to send [15:16:52]OFD Sender: No OFD packet to send [15:16:57]OFD Sender: No OFD packet to send [15:17:02]OFD Sender: No OFD packet to send [15:17:07]OFD Sender: No OFD packet to send [15:17:12]OFD Sender: No OFD packet to send [15:17:17]OFD Sender: No OFD packet to send [15:17:22]OFD Sender: No OFD packet to send [15:17:27]OFD Sender: No OFD packet to send [15:17:32]OFD Sender: No OFD packet to send [15:17:37]OFD Sender: No OFD packet to send [15:17:42]OFD Sender: No OFD packet to send [15:17:47]OFD Sender: No OFD packet to send [15:17:52]OFD Sender: No OFD packet to send [15:17:57]OFD Sender: No OFD packet to send [15:18:02]OFD Sender: No OFD packet to send [15:18:07]OFD Sender: No OFD packet to send [15:18:12]OFD Sender: No OFD packet to send [15:18:17]OFD Sender: No OFD packet to send [15:18:22]OFD Sender: No OFD packet to send [15:18:27]OFD Sender: No OFD packet to send [15:18:32]OFD Sender: No OFD packet to send [15:18:37]OFD Sender: No OFD packet to send [15:18:42]OFD Sender: No OFD packet to send [15:18:47]OFD Sender: No OFD packet to send [15:18:52]OFD Sender: No OFD packet to send [15:18:57]OFD Sender: No OFD packet to send [15:19:02]OFD Sender: No OFD packet to send [15:19:07]OFD Sender: No OFD packet to send [15:19:12]OFD Sender: No OFD packet to send [15:19:17]OFD Sender: No OFD packet to send [15:19:22]OFD Sender: No OFD packet to send [15:19:27]OFD Sender: No OFD packet to send [15:19:32]OFD Sender: No OFD packet to send [15:19:37]OFD Sender: No OFD packet to send [15:19:42]OFD Sender: No OFD packet to send [15:19:47]OFD Sender: No OFD packet to send [15:19:52]OFD Sender: No OFD packet to send [15:19:57]OFD Sender: No OFD packet to send [15:20:02]OFD Sender: No OFD packet to send [15:20:07]OFD Sender: No OFD packet to send [15:20:12]OFD Sender: No OFD packet to send [15:20:17]OFD Sender: No OFD packet to send [15:20:22]OFD Sender: No OFD packet to send [15:20:27]OFD Sender: No OFD packet to send [15:20:32]OFD Sender: No OFD packet to send [15:20:37]OFD Sender: No OFD packet to send [15:20:42]OFD Sender: No OFD packet to send [15:20:47]OFD Sender: No OFD packet to send [15:20:52]OFD Sender: No OFD packet to send [15:20:57]OFD Sender: No OFD packet to send [15:21:02]OFD Sender: No OFD packet to send [15:21:07]OFD Sender: No OFD packet to send [15:21:12]OFD Sender: No OFD packet to send [15:21:17]OFD Sender: No OFD packet to send [15:21:22]OFD Sender: No OFD packet to send [15:21:27]OFD Sender: No OFD packet to send [15:21:32]OFD Sender: No OFD packet to send [15:21:37]OFD Sender: No OFD packet to send [15:21:42]OFD Sender: No OFD packet to send [15:21:47]OFD Sender: No OFD packet to send [15:21:52]OFD Sender: No OFD packet to send [15:21:57]OFD Sender: No OFD packet to send [15:22:02]OFD Sender: No OFD packet to send [15:22:07]OFD Sender: No OFD packet to send [15:22:12]OFD Sender: No OFD packet to send [15:22:17]OFD Sender: No OFD packet to send [15:22:22]OFD Sender: No OFD packet to send [15:22:27]OFD Sender: No OFD packet to send [15:22:32]OFD Sender: No OFD packet to send [15:22:37]OFD Sender: No OFD packet to send [15:22:42]OFD Sender: No OFD packet to send [15:22:47]OFD Sender: No OFD packet to send [15:22:52]OFD Sender: No OFD packet to send [15:22:57]OFD Sender: No OFD packet to send [15:23:02]OFD Sender: No OFD packet to send [15:23:07]OFD Sender: No OFD packet to send [15:23:12]OFD Sender: No OFD packet to send [15:23:18]OFD Sender: No OFD packet to send [15:23:23]OFD Sender: No OFD packet to send [15:23:28]OFD Sender: No OFD packet to send [15:23:33]OFD Sender: No OFD packet to send [15:23:38]OFD Sender: No OFD packet to send [15:23:43]OFD Sender: No OFD packet to send [15:23:48]OFD Sender: No OFD packet to send [15:23:53]OFD Sender: No OFD packet to send [15:23:58]OFD Sender: No OFD packet to send [15:24:03]OFD Sender: No OFD packet to send [15:24:08]OFD Sender: No OFD packet to send [15:24:13]OFD Sender: No OFD packet to send [15:24:18]OFD Sender: No OFD packet to send [15:24:23]OFD Sender: No OFD packet to send [15:24:28]OFD Sender: No OFD packet to send [15:24:33]OFD Sender: No OFD packet to send [15:24:38]OFD Sender: No OFD packet to send [15:24:43]OFD Sender: No OFD packet to send [15:24:48]OFD Sender: No OFD packet to send [15:24:53]OFD Sender: No OFD packet to send [15:24:58]OFD Sender: No OFD packet to send [15:25:03]OFD Sender: No OFD packet to send [15:25:08]OFD Sender: No OFD packet to send [15:25:13]OFD Sender: No OFD packet to send [15:25:18]OFD Sender: No OFD packet to send [15:25:23]OFD Sender: No OFD packet to send [15:25:28]OFD Sender: No OFD packet to send [15:25:33]OFD Sender: No OFD packet to send [15:25:38]OFD Sender: No OFD packet to send [15:25:43]OFD Sender: No OFD packet to send [15:25:48]OFD Sender: No OFD packet to send [15:25:53]OFD Sender: No OFD packet to send [15:25:58]OFD Sender: No OFD packet to send [15:26:03]OFD Sender: No OFD packet to send [15:26:08]OFD Sender: No OFD packet to send [15:26:13]OFD Sender: No OFD packet to send [15:26:18]OFD Sender: No OFD packet to send [15:26:23]OFD Sender: No OFD packet to send [15:26:28]OFD Sender: No OFD packet to send [15:26:33]OFD Sender: No OFD packet to send [15:26:38]OFD Sender: No OFD packet to send [15:26:43]OFD Sender: No OFD packet to send [15:26:48]OFD Sender: No OFD packet to send [15:26:53]OFD Sender: No OFD packet to send [15:26:58]OFD Sender: No OFD packet to send [15:27:03]OFD Sender: No OFD packet to send [15:27:08]OFD Sender: No OFD packet to send [15:27:13]OFD Sender: No OFD packet to send [15:27:18]OFD Sender: No OFD packet to send [15:27:23]OFD Sender: No OFD packet to send [15:27:28]OFD Sender: No OFD packet to send [15:27:33]OFD Sender: No OFD packet to send [15:27:38]OFD Sender: No OFD packet to send [15:27:43]OFD Sender: No OFD packet to send [15:27:48]OFD Sender: No OFD packet to send [15:27:53]OFD Sender: No OFD packet to send [15:27:58]OFD Sender: No OFD packet to send [15:28:03]OFD Sender: No OFD packet to send [15:28:08]OFD Sender: No OFD packet to send [15:28:13]OFD Sender: No OFD packet to send [15:28:18]OFD Sender: No OFD packet to send [15:28:23]OFD Sender: No OFD packet to send [15:28:28]OFD Sender: No OFD packet to send [15:28:33]OFD Sender: No OFD packet to send [15:28:38]OFD Sender: No OFD packet to send [15:28:43]OFD Sender: No OFD packet to send [15:28:48]OFD Sender: No OFD packet to send [15:28:53]OFD Sender: No OFD packet to send [15:28:58]OFD Sender: No OFD packet to send [15:29:03]OFD Sender: No OFD packet to send [15:29:08]OFD Sender: No OFD packet to send [15:29:13]OFD Sender: No OFD packet to send [15:29:18]OFD Sender: No OFD packet to send [15:29:23]OFD Sender: No OFD packet to send [15:29:28]OFD Sender: No OFD packet to send [15:29:33]OFD Sender: No OFD packet to send [15:29:38]OFD Sender: No OFD packet to send [15:29:43]OFD Sender: No OFD packet to send [15:29:48]OFD Sender: No OFD packet to send [15:29:53]OFD Sender: No OFD packet to send [15:29:58]OFD Sender: No OFD packet to send [15:30:03]OFD Sender: No OFD packet to send [15:30:08]OFD Sender: No OFD packet to send [15:30:13]OFD Sender: No OFD packet to send [15:30:18]OFD Sender: No OFD packet to send [15:30:23]OFD Sender: No OFD packet to send [15:30:28]OFD Sender: No OFD packet to send [15:30:33]OFD Sender: No OFD packet to send [15:30:38]OFD Sender: No OFD packet to send [15:30:43]OFD Sender: No OFD packet to send [15:30:48]OFD Sender: No OFD packet to send [15:30:53]OFD Sender: No OFD packet to send [15:30:58]OFD Sender: No OFD packet to send [15:31:03]OFD Sender: No OFD packet to send [15:31:08]OFD Sender: No OFD packet to send [15:31:13]OFD Sender: No OFD packet to send [15:31:18]OFD Sender: No OFD packet to send [15:31:23]OFD Sender: No OFD packet to send [15:31:28]OFD Sender: No OFD packet to send [15:31:33]OFD Sender: No OFD packet to send [15:31:38]OFD Sender: No OFD packet to send [15:31:43]OFD Sender: No OFD packet to send [15:31:48]OFD Sender: No OFD packet to send [15:31:53]OFD Sender: No OFD packet to send [15:31:58]OFD Sender: No OFD packet to send [15:32:03]OFD Sender: No OFD packet to send [15:32:08]OFD Sender: No OFD packet to send [15:32:13]OFD Sender: No OFD packet to send [15:32:18]OFD Sender: No OFD packet to send [15:32:23]OFD Sender: No OFD packet to send [15:32:28]OFD Sender: No OFD packet to send [15:32:33]OFD Sender: No OFD packet to send [15:32:38]OFD Sender: No OFD packet to send [15:32:43]OFD Sender: No OFD packet to send [15:32:48]OFD Sender: No OFD packet to send [15:32:53]OFD Sender: No OFD packet to send [15:32:58]OFD Sender: No OFD packet to send [15:33:03]OFD Sender: No OFD packet to send [15:33:08]OFD Sender: No OFD packet to send [15:33:13]OFD Sender: No OFD packet to send [15:33:18]OFD Sender: No OFD packet to send [15:33:23]OFD Sender: No OFD packet to send [15:33:28]OFD Sender: No OFD packet to send [15:33:33]OFD Sender: No OFD packet to send [15:33:38]OFD Sender: No OFD packet to send [15:33:43]OFD Sender: No OFD packet to send [15:33:48]OFD Sender: No OFD packet to send [15:33:53]OFD Sender: No OFD packet to send [15:33:58]OFD Sender: No OFD packet to send [15:34:03]OFD Sender: No OFD packet to send [15:34:08]OFD Sender: No OFD packet to send [15:34:13]OFD Sender: No OFD packet to send [15:34:18]OFD Sender: No OFD packet to send [15:34:23]OFD Sender: No OFD packet to send [15:34:28]OFD Sender: No OFD packet to send [15:34:33]OFD Sender: No OFD packet to send [15:34:38]OFD Sender: No OFD packet to send [15:34:43]OFD Sender: No OFD packet to send [15:34:48]OFD Sender: No OFD packet to send [15:34:53]OFD Sender: No OFD packet to send [15:34:58]OFD Sender: No OFD packet to send [15:35:03]OFD Sender: No OFD packet to send [15:35:08]OFD Sender: No OFD packet to send [15:35:13]OFD Sender: No OFD packet to send [15:35:18]OFD Sender: No OFD packet to send [15:35:23]OFD Sender: No OFD packet to send [15:35:28]OFD Sender: No OFD packet to send [15:35:33]OFD Sender: No OFD packet to send [15:35:38]OFD Sender: No OFD packet to send [15:35:43]OFD Sender: No OFD packet to send [15:35:48]OFD Sender: No OFD packet to send [15:35:53]OFD Sender: No OFD packet to send [15:35:58]OFD Sender: No OFD packet to send [15:36:03]OFD Sender: No OFD packet to send [15:36:08]OFD Sender: No OFD packet to send [15:36:13]OFD Sender: No OFD packet to send [15:36:18]OFD Sender: No OFD packet to send [15:36:23]OFD Sender: No OFD packet to send [15:36:28]OFD Sender: No OFD packet to send [15:36:33]OFD Sender: No OFD packet to send [15:36:38]OFD Sender: No OFD packet to send [15:36:43]OFD Sender: No OFD packet to send [15:36:48]OFD Sender: No OFD packet to send [15:36:53]OFD Sender: No OFD packet to send [15:36:58]OFD Sender: No OFD packet to send [15:37:03]OFD Sender: No OFD packet to send [15:37:08]OFD Sender: No OFD packet to send [15:37:13]OFD Sender: No OFD packet to send [15:37:18]OFD Sender: No OFD packet to send [15:37:23]OFD Sender: No OFD packet to send [15:37:28]OFD Sender: No OFD packet to send [15:37:33]OFD Sender: No OFD packet to send [15:37:38]OFD Sender: No OFD packet to send [15:37:43]OFD Sender: No OFD packet to send [15:37:48]OFD Sender: No OFD packet to send [15:37:53]OFD Sender: No OFD packet to send [15:37:58]OFD Sender: No OFD packet to send [15:38:03]OFD Sender: No OFD packet to send [15:38:08]OFD Sender: No OFD packet to send [15:38:13]OFD Sender: No OFD packet to send [15:38:18]OFD Sender: No OFD packet to send [15:38:23]OFD Sender: No OFD packet to send [15:38:28]OFD Sender: No OFD packet to send [15:38:33]OFD Sender: No OFD packet to send [15:38:38]OFD Sender: No OFD packet to send [15:38:43]OFD Sender: No OFD packet to send [15:38:48]OFD Sender: No OFD packet to send [15:38:53]OFD Sender: No OFD packet to send [15:38:58]OFD Sender: No OFD packet to send [15:39:03]OFD Sender: No OFD packet to send [15:39:08]OFD Sender: No OFD packet to send [15:39:13]OFD Sender: No OFD packet to send [15:39:18]OFD Sender: No OFD packet to send [15:39:23]OFD Sender: No OFD packet to send [15:39:28]OFD Sender: No OFD packet to send [15:39:33]OFD Sender: No OFD packet to send [15:39:38]OFD Sender: No OFD packet to send [15:39:43]OFD Sender: No OFD packet to send [15:39:48]OFD Sender: No OFD packet to send [15:39:53]OFD Sender: No OFD packet to send [15:39:58]OFD Sender: No OFD packet to send [15:40:03]OFD Sender: No OFD packet to send [15:40:08]OFD Sender: No OFD packet to send [15:40:13]OFD Sender: No OFD packet to send [15:40:18]OFD Sender: No OFD packet to send [15:40:23]OFD Sender: No OFD packet to send [15:40:28]OFD Sender: No OFD packet to send [15:40:33]OFD Sender: No OFD packet to send [15:40:38]OFD Sender: No OFD packet to send [15:40:42]accept exits with 9 [15:40:42]New connection [15:40:42]New thread 3066785124 created [15:40:42]Thread 3066928484 joined [15:40:42]Waiting for new connection... [15:40:42] Sock 9.Parse request [15:40:42]Sock 9.Check first char [15:40:42]Sock 9.First char is OK [15:40:42]request: POST /json_proto HTTP/1.0 [15:40:42]Method: POST [15:40:42]URL: /json_proto [15:40:42]Method is POST - this is cgi request [15:40:42]url: /json_proto [15:40:42]query_string will be loaded in cgi processing [15:40:42]execute_cgi json_proto POST (null) [15:40:42]execute_cgi path=json_proto method=POST [15:40:42]POST find Content-Length [15:40:42]Host: 172.17.45.8:8080 [15:40:42]Content-Length: 633 [15:40:42]Content-Type: application/json [15:40:42] [15:40:42]POST finish read [15:40:42]Found Content-Length = 633 [15:40:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150465", "tax_sys" : 0, "items" : [ { "code": "2000039450010", "name": "\u0427\u0430\u0439 \u0437\u0435\u043B\u0435\u043D\u044B\u0439 200 \u043C\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" ] } } [15:40:42]execute_script... [15:40: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)150465", "tax_sys" : 0, "items" : [ { "code": "2000039450010", "name": "\u0427\u0430\u0439 \u0437\u0435\u043B\u0435\u043D\u044B\u0439 200 \u043C\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" ] } } [15:40:42]POST & json_proto [15:40:42]process_json_proto [15:40:42]json parsed OK: [15:40:42]protocol is kg_v1.0 [15:40:42]action value=close_receipt [15:40:42]process_action close_receipt [15:40:42]cmd_close_receipt [15:40:42]MH_GetDate [15:40:42]Write to MH i2c: F0 00 00 3F 02 30 [15:40:42]Write i2c OK [15:40:42]MH_I2C_Read... [15:40:42]Read from MH i2c: F0 [15:40:42]MH_I2C_Read... [15:40:42]Read from MH i2c: F0 09 00 [15:40:42]MH_I2C_Read... [15:40:42]Read from MH i2c: F0 09 00 3F 02 00 7A 66 A6 66 A6 1F 7F 64 CD [15:40:42]GetLastDocTimeStamp 1722178894 [15:40:42]current date 1722181242 [15:40:42]FM_GetShiftState [15:40:42]SAM_PROTO_GetShiftState [15:40:42]wFMCommunicate request_size=4 [15:40:42]MH_SAM_APDU [15:40:42]CAPDU: 80 13 01 00 [15:40:42]Write to MH i2c: E2 08 00 40 02 80 13 01 00 00 00 00 00 BF [15:40:42]Write i2c OK [15:40:42]MH_I2C_Read... [15:40:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:40:42]Read from MH i2c: E2 [15:40:42]MH_I2C_Read... [15:40:42]Read from MH i2c: E2 0E 00 [15:40:42]MH_I2C_Read... [15:40:42]Read from MH i2c: E2 0E 00 40 02 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 E7 [15:40:42]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [15:40:42]wFMCommunicate OK [15:40:42]SAM_PROTO_GetShiftState done [15:40:42]FM_GetShiftState done [15:40:42]opened in 1722127230 [15:40:42]opened+sec_in_day 1722213630 [15:40:42]quantity*price = 4000 [15:40:42]sum+1 = 4001 [15:40:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 45 28.07.2024 15:40 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27067 ФПД: 127084490844755 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T154043&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27067&fm=127084490844755&tin=02508201610067®Number=0000000000092663&sum=4000 0 [15:40:43]StoreToDocumentArchive [15:40:43]shift 433 fd 27067 [15:40:43]save to /storage/0433/doc_00027067 [15:40:43]save last doc name /storage/0433/doc_00027067 to /storage/kkm_last_doc_name [15:40:43]save OK [15:40:43]Clear old archive folders... [15:40:43]ProcessDocumentItem done err = 0, tmpTLVsize=272 [15:40:43]tlvbuf is 0017F580 [15:40:43]SAM_PROTO_ClearQueue [15:40:43]wFMCommunicate request_size=4 [15:40:43]MH_SAM_APDU [15:40:43]CAPDU: 80 09 00 00 [15:40:43]Write to MH i2c: E2 08 00 4D 02 80 09 00 00 00 00 00 00 C1 [15:40:43]Write i2c OK [15:40:43]MH_I2C_Read... [15:40:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:40:43]Read from MH i2c: E2 [15:40:43]MH_I2C_Read... [15:40:43]Read from MH i2c: E2 03 00 [15:40:43]MH_I2C_Read... [15:40:43]Read from MH i2c: E2 03 00 4D 02 00 90 00 C3 [15:40:43]RAPDU: 90 00 [15:40:43]wFMCommunicate OK [15:40:43]SAM_PROTO_ClearQueue done [15:40:43]KKMCreateOFDPacket [15:40:43]OFDProtocolAddRootSTLVToBuf [15:40:43]FM_MakeSignedData [15:40:43]FM_MakeSignedData [15:40:43]SAM_PROTO_SignData [15:40:43]wFMCommunicate request_size=4 [15:40:43]MH_SAM_APDU [15:40:43]CAPDU: 80 0D 01 02 [15:40:43]Write to MH i2c: E2 08 00 4E 02 80 0D 01 02 00 00 00 00 C9 [15:40:43]Write i2c OK [15:40:43]MH_I2C_Read... [15:40:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:40:43]Read from MH i2c: E2 [15:40:43]MH_I2C_Read... [15:40:43]Read from MH i2c: E2 03 00 [15:40:43]MH_I2C_Read... [15:40:43]Read from MH i2c: E2 03 00 4E 02 00 90 00 C4 [15:40:43]RAPDU: 90 00 [15:40:43]wFMCommunicate OK [15:40:43]wFMCommunicate request_size=255 [15:40:43]MH_SAM_APDU [15:40:43]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 32 30 30 30 30 33 39 34 35 30 30 31 30 06 04 1E 00 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC 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 2D 00 00 00 F4 03 04 00 7B 66 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 [15:40:43]Write to MH i2c: E2 02 01 4F 02 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 32 30 30 30 30 33 39 34 35 30 30 31 30 06 04 1E 00 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC 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 2D 00 00 00 F4 03 04 00 7B 66 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 00 00 8E [15:40:43]Write i2c OK [15:40:43]MH_I2C_Read... [15:40:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:40:43]Read from MH i2c: E2 [15:40:43]MH_I2C_Read... [15:40:43]Read from MH i2c: E2 03 00 [15:40:43]MH_I2C_Read... [15:40:43]Read from MH i2c: E2 03 00 4F 02 00 90 00 C5 [15:40:43]RAPDU: 90 00 [15:40:43]wFMCommunicate OK [15:40:43]wFMCommunicate request_size=31 [15:40:43]MH_SAM_APDU [15:40:43]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 39 33 37 10 04 04 00 BB 69 00 00 35 04 06 00 73 95 29 EE EA 53 [15:40:43]Write to MH i2c: E2 22 00 50 02 80 0D 02 02 1A 00 30 30 38 37 34 39 33 37 10 04 04 00 BB 69 00 00 35 04 06 00 73 95 29 EE EA 53 00 00 7D [15:40:43]Write i2c OK [15:40:43]MH_I2C_Read... [15:40:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:40:43]Read from MH i2c: E2 [15:40:43]MH_I2C_Read... [15:40:43]Read from MH i2c: E2 03 00 [15:40:43]MH_I2C_Read... [15:40:43]Read from MH i2c: E2 03 00 50 02 00 90 00 C6 [15:40:43]RAPDU: 90 00 [15:40:43]wFMCommunicate OK [15:40:43]wFMCommunicate request_size=4 [15:40:43]MH_SAM_APDU [15:40:43]CAPDU: 80 0D 03 02 [15:40:43]Write to MH i2c: E2 08 00 51 02 80 0D 03 02 00 00 00 00 CE [15:40:43]Write i2c OK [15:40:43]MH_I2C_Read... [15:40:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:40:43]Read from MH i2c: E2 [15:40:43]MH_I2C_Read... [15:40:43]Read from MH i2c: E2 0B 00 [15:40:43]MH_I2C_Read... [15:40:43]Read from MH i2c: E2 0B 00 51 02 00 04 7E 2A 5D B3 AB 43 15 90 00 8E [15:40:43]RAPDU: 04 7E 2A 5D B3 AB 43 15 90 00 [15:40:43]wFMCommunicate OK [15:40:43]SAM_PROTO_SignData done [15:40:43]FM_MakeSignedData done [15:40:43]CreateOFDProtocolMessage [15:40:43]wFMCommunicate request_size=4 [15:40:43]MH_SAM_APDU [15:40:43]CAPDU: 80 11 00 00 [15:40:43]Write to MH i2c: E2 08 00 52 02 80 11 00 00 00 00 00 00 CE [15:40:43]Write i2c OK [15:40:43]MH_I2C_Read... [15:40:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:40:43]Read from MH i2c: E2 [15:40:43]MH_I2C_Read... [15:40:43]Read from MH i2c: E2 17 00 [15:40:43]MH_I2C_Read... [15:40:43]Read from MH i2c: E2 17 00 52 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 27 [15:40:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [15:40:43]wFMCommunicate OK [15:40:43]CreateOFDProtocolMessage done [15:40:43]OFDSenderStorePacket 27067 [15:40:43]StoreOFDPacket docnum=27067 [15:40:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 24 01 00 00 05 7D 1C 01 B1 3E 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 32 30 30 30 30 33 39 34 35 30 30 31 30 06 04 1E 00 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC 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 2D 00 00 00 F4 03 04 00 7B 66 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 BB 69 00 00 35 04 06 00 73 95 29 EE EA 53 04 7E 2A 5D B3 AB 43 15 [15:40:43]CheckFolder [15:40:43]dirname=/storage/ofd_packets [15:40:43]CheckFolder done [15:40:43]ProducePacketName [15:40:43]name=ofd_packets/00027067 [15:40:43]NVStorageSaveData ofd_packets/00027067 [15:40:43]File name is /storage/ofd_packets/00027067 [15:40:43]Write 322 bytes [15:40:43]NVStorageSaveData done [15:40:43]OFDSenderStorePacket done [15:40:43]KKMCreateOFDPacket done [15:40:43]NVStorageSaveData kkm_last_timestamp [15:40:43]File name is /storage/kkm_last_timestamp [15:40:43]Write 4 bytes [15:40:43]NVStorageSaveData done [15:40:43]ExternCall_PrintAddStr [15:40:43]wPrintStart [15:40:43]Write to MH i2c: 01 00 00 53 02 55 [15:40:43]Write i2c OK [15:40:43]MH_I2C_Read... [15:40:43]Read from MH i2c: 01 [15:40:43]MH_I2C_Read... [15:40:43]Read from MH i2c: 01 07 00 [15:40:43]MH_I2C_Read... [15:40:43]Read from MH i2c: 01 07 00 53 02 00 00 00 00 00 FF 0F 6A [15:40:43]RasterBufferAndPrint [15:40:43]line Счет N : (3)150465 [15:40:43]line ИНН: 02508201610067 [15:40:43]line Контрольно-Кассовый Чек [15:40:43]line ПРОДАЖА [15:40:43]line Товар: 2000039450010 [15:40:43]line Чай зеленый 200 мл [15:40:43]line 1.000 * 40.00 [15:40:43]line = 40.00 [15:40:43]line НДС 12% НСП 1% [15:40:43]line > о реализуемом товаре [15:40:43]line ИТОГО: 40.00 [15:40:43]line НСП 1% : 0.35 [15:40:43]line НДС 12% : 4.25 [15:40:43]line Наличными: 40.00 [15:40:43]line Безнал.: 0.00 [15:40:43]line Место: АЗС № 134 "Партнер Нефть" [15:40:43]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [15:40:43]line СНО: Общий режим [15:40:43]line Чек 45 28.07.2024 15:40 [15:40:43]line Смена: 433 ФФД: 1.0 [15:40:43]line ЗНМ: 0300000043 [15:40:43]line РНМ: 0000000000092663 [15:40:43]line Версия ККМ: 001 [15:40:43]line ФМ: 0000000000874937 [15:40:43]line ФД: 27067 [15:40:43]line ФПД: 127084490844755 [15:40:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T154043&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27067&fm=127084490844755&tin=02508201610067®Number=0000000000092663&sum=4000 [15:40:44]OFD Sender: Processing packet 27067 [packets to send 9, broken 8] [15:40:44]ProducePacketName [15:40:44]name=ofd_packets/00027067 [15:40:44]OFD Sender: To server: pG, [15:40:44]CommunicateWithHost lk.salyk.kg:30040 [15:40:44]ConnectInit lk.salyk.kg [15:40:44]line 0 [15:40:44]written 0, free lines is 4095 [15:40:44]Connected sock=10 [15:40:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 24 01 00 00 05 7D 1C 01 B1 3E 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 32 30 30 30 30 33 39 34 35 30 30 31 30 06 04 1E 00 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC 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 2D 00 00 00 F4 03 04 00 7B 66 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 BB 69 00 00 35 04 06 00 73 95 29 EE EA 53 04 7E 2A 5D B3 AB 43 15 [15:40:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 CD 6D 47 00 36 DB 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 38 37 34 39 33 37 10 04 04 00 BB 69 00 00 F4 03 04 00 CE 0C A6 66 B6 04 01 00 00 7B 38 FE BD C0 B1 9F 0E [15:40:44]CommunicateWithHost err = 0 [15:40:44]CheckOFDResponse [15:40:44]1017 (14) - 77093643461234 [15:40:44]1041 (16) - 0000000000874937 [15:40:44]1040 (4) - 27067 [15:40:44]1012 (4) - 28.07.2024 09:18 [15:40:44]1206 (1) - 0 [15:40:44]OFD Sender: Remove packet 27067 [15:40:44]ProducePacketName [15:40:44]name=ofd_packets/00027067 [15:40:44]NVStorageDeleteData [15:40:44]Write to MH i2c: 01 00 00 7A 02 7C [15:40:44]Write i2c OK [15:40:44]MH_I2C_Read... [15:40:44]Read from MH i2c: 01 [15:40:44]MH_I2C_Read... [15:40:44]Read from MH i2c: 01 07 00 [15:40:44]MH_I2C_Read... [15:40:44]Read from MH i2c: 01 07 00 7A 02 00 00 00 00 00 01 0D 91 [15:40:44]RasterBufferAndPrint [15:40:44]line [15:40:44]line [15:40:44]line [15:40:44]line [15:40:44]line [15:40:44]written 0, free lines is 3336 [15:40:44]MH_Cut [15:40:44]Write to MH i2c: D1 01 00 81 02 01 55 [15:40:44]Write i2c OK [15:40:44]MH_I2C_Read... [15:40:44]Read from MH i2c: D1 [15:40:44]MH_I2C_Read... [15:40:44]Read from MH i2c: D1 01 00 [15:40:44]MH_I2C_Read... [15:40:44]Read from MH i2c: D1 01 00 81 02 00 54 [15:40:44]Write to MH i2c: 01 00 00 82 02 84 [15:40:44]Write i2c OK [15:40:44]MH_I2C_Read... [15:40:44]OFD Sender: No OFD packet to send [15:40:45]*** Cut start [15:40:45]*** Partial cut [15:40:45]*** CUTSNS_PIN = 1 [15:40:45]*** CUTSNS_PIN = 0 [15:40:45]*** Brake cut motor [15:40:45]Read from MH i2c: 01 [15:40:45]MH_I2C_Read... [15:40:45]*** Stop cut motor [15:40:45]*** Cut end [15:40:45]Read from MH i2c: 01 07 00 [15:40:45]MH_I2C_Read... [15:40:45]Read from MH i2c: 01 07 00 82 02 00 00 00 00 00 FF 0F 99 [15:40:45]process_action close_receipt done [15:40:45]requested_data is exist [15:40:45]produce_requested_data [15:40:45]requested_item fm.sn is exist - process it [15:40:45]wFMCommunicate request_size=4 [15:40:45]MH_SAM_APDU [15:40:45]CAPDU: 80 11 00 00 [15:40:45]Write to MH i2c: E2 08 00 83 02 80 11 00 00 00 00 00 00 FF [15:40:45]Write i2c OK [15:40:45]MH_I2C_Read... [15:40:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:40:45]Read from MH i2c: E2 [15:40:45]MH_I2C_Read... [15:40:45]Read from MH i2c: E2 17 00 [15:40:45]MH_I2C_Read... [15:40:45]Read from MH i2c: E2 17 00 83 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 58 [15:40:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [15:40:45]wFMCommunicate OK [15:40:45]requested_item fd.num is exist - process it [15:40:45]SAM_PROTO_GetFieldsCounters [15:40:45]wFMCommunicate request_size=4 [15:40:45]MH_SAM_APDU [15:40:45]CAPDU: 80 13 00 00 [15:40:45]Write to MH i2c: E2 08 00 84 02 80 13 00 00 00 00 00 00 02 [15:40:45]Write i2c OK [15:40:45]MH_I2C_Read... [15:40:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:40:46]Read from MH i2c: E2 [15:40:46]MH_I2C_Read... [15:40:46]Read from MH i2c: E2 62 00 [15:40:46]MH_I2C_Read... [15:40:46]Read from MH i2c: E2 62 00 84 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 BB 69 00 00 0E 04 04 00 B1 01 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 87 [15:40:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 BB 69 00 00 0E 04 04 00 B1 01 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:40:46]wFMCommunicate OK [15:40:46]SAM_PROTO_GetFieldsCounters done [15:40:46]requested_item shift.num is exist - process it [15:40:46]requested_item shift.opened is exist - process it [15:40:46]req_shift_opened [15:40:46]FM_GetShiftState [15:40:46]SAM_PROTO_GetShiftState [15:40:46]wFMCommunicate request_size=4 [15:40:46]MH_SAM_APDU [15:40:46]CAPDU: 80 13 01 00 [15:40:46]Write to MH i2c: E2 08 00 85 02 80 13 01 00 00 00 00 00 04 [15:40:46]Write i2c OK [15:40:46]MH_I2C_Read... [15:40:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:40:46]Read from MH i2c: E2 [15:40:46]MH_I2C_Read... [15:40:46]Read from MH i2c: E2 0E 00 [15:40:46]MH_I2C_Read... [15:40:46]Read from MH i2c: E2 0E 00 85 02 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 2C [15:40:46]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [15:40:46]wFMCommunicate OK [15:40:46]SAM_PROTO_GetShiftState done [15:40:46]FM_GetShiftState done [15:40:46]req_shift_opened done [15:40:46]requested_item shift.open_date is exist - process it [15:40:46]req_shift_open_date [15:40:46]req_shift_open_date done [15:40:46]produce_requested_data done [15:40:46]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27067,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [15:40:46]process_action_free close_receipt [15:40:46]json_value_free [15:40:46]json_value_free done [15:40:46]process_json_proto returns [15:40:46]Send response to host [15:40:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27067,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [15:40:46]free response buf [15:40:46]execute_script done [15:40:46]execute_script returns [15:40:46]free content buf [15:40:46]Sock 9.Close socket [15:40:46]Sock 9.Thread stoped [15:40:49]OFD Sender: No OFD packet to send [15:40:54]OFD Sender: No OFD packet to send [15:40:59]OFD Sender: No OFD packet to send [15:41:04]OFD Sender: No OFD packet to send [15:41:09]OFD Sender: No OFD packet to send [15:41:14]OFD Sender: No OFD packet to send [15:41:19]OFD Sender: No OFD packet to send [15:41:24]OFD Sender: No OFD packet to send [15:41:29]OFD Sender: No OFD packet to send [15:41:34]OFD Sender: No OFD packet to send [15:41:39]OFD Sender: No OFD packet to send [15:41:44]OFD Sender: No OFD packet to send [15:41:49]OFD Sender: No OFD packet to send [15:41:54]OFD Sender: No OFD packet to send [15:41:59]OFD Sender: No OFD packet to send [15:42:04]OFD Sender: No OFD packet to send [15:42:09]OFD Sender: No OFD packet to send [15:42:14]OFD Sender: No OFD packet to send [15:42:19]OFD Sender: No OFD packet to send [15:42:24]OFD Sender: No OFD packet to send [15:42:29]OFD Sender: No OFD packet to send [15:42:34]OFD Sender: No OFD packet to send [15:42:39]OFD Sender: No OFD packet to send [15:42:44]OFD Sender: No OFD packet to send [15:42:49]OFD Sender: No OFD packet to send [15:42:55]OFD Sender: No OFD packet to send [15:43:00]OFD Sender: No OFD packet to send [15:43:05]OFD Sender: No OFD packet to send [15:43:10]OFD Sender: No OFD packet to send [15:43:15]OFD Sender: No OFD packet to send [15:43:20]OFD Sender: No OFD packet to send [15:43:25]OFD Sender: No OFD packet to send [15:43:30]OFD Sender: No OFD packet to send [15:43:35]OFD Sender: No OFD packet to send [15:43:40]OFD Sender: No OFD packet to send [15:43:45]OFD Sender: No OFD packet to send [15:43:50]OFD Sender: No OFD packet to send [15:43:55]OFD Sender: No OFD packet to send [15:44:00]OFD Sender: No OFD packet to send [15:44:05]OFD Sender: No OFD packet to send [15:44:10]OFD Sender: No OFD packet to send [15:44:15]OFD Sender: No OFD packet to send [15:44:20]OFD Sender: No OFD packet to send [15:44:25]OFD Sender: No OFD packet to send [15:44:30]OFD Sender: No OFD packet to send [15:44:35]OFD Sender: No OFD packet to send [15:44:40]OFD Sender: No OFD packet to send [15:44:45]OFD Sender: No OFD packet to send [15:44:50]OFD Sender: No OFD packet to send [15:44:55]OFD Sender: No OFD packet to send [15:45:00]OFD Sender: No OFD packet to send [15:45:05]OFD Sender: No OFD packet to send [15:45:10]OFD Sender: No OFD packet to send [15:45:15]OFD Sender: No OFD packet to send [15:45:20]OFD Sender: No OFD packet to send [15:45:25]OFD Sender: No OFD packet to send [15:45:30]OFD Sender: No OFD packet to send [15:45:35]OFD Sender: No OFD packet to send [15:45:40]OFD Sender: No OFD packet to send [15:45:45]OFD Sender: No OFD packet to send [15:45:50]OFD Sender: No OFD packet to send [15:45:55]OFD Sender: No OFD packet to send [15:46:00]OFD Sender: No OFD packet to send [15:46:05]OFD Sender: No OFD packet to send [15:46:10]OFD Sender: No OFD packet to send [15:46:15]OFD Sender: No OFD packet to send [15:46:20]OFD Sender: No OFD packet to send [15:46:25]OFD Sender: No OFD packet to send [15:46:30]OFD Sender: No OFD packet to send [15:46:35]OFD Sender: No OFD packet to send [15:46:40]OFD Sender: No OFD packet to send [15:46:45]OFD Sender: No OFD packet to send [15:46:50]OFD Sender: No OFD packet to send [15:46:55]OFD Sender: No OFD packet to send [15:47:00]OFD Sender: No OFD packet to send [15:47:05]OFD Sender: No OFD packet to send [15:47:10]OFD Sender: No OFD packet to send [15:47:15]OFD Sender: No OFD packet to send [15:47:20]OFD Sender: No OFD packet to send [15:47:25]OFD Sender: No OFD packet to send [15:47:30]OFD Sender: No OFD packet to send [15:47:35]OFD Sender: No OFD packet to send [15:47:40]OFD Sender: No OFD packet to send [15:47:45]OFD Sender: No OFD packet to send [15:47:50]OFD Sender: No OFD packet to send [15:47:55]OFD Sender: No OFD packet to send [15:48:00]OFD Sender: No OFD packet to send [15:48:05]OFD Sender: No OFD packet to send [15:48:10]OFD Sender: No OFD packet to send [15:48:15]OFD Sender: No OFD packet to send [15:48:20]OFD Sender: No OFD packet to send [15:48:25]OFD Sender: No OFD packet to send [15:48:30]OFD Sender: No OFD packet to send [15:48:35]OFD Sender: No OFD packet to send [15:48:40]OFD Sender: No OFD packet to send [15:48:45]OFD Sender: No OFD packet to send [15:48:50]OFD Sender: No OFD packet to send [15:48:55]OFD Sender: No OFD packet to send [15:49:00]OFD Sender: No OFD packet to send [15:49:05]OFD Sender: No OFD packet to send [15:49:10]OFD Sender: No OFD packet to send [15:49:15]OFD Sender: No OFD packet to send [15:49:20]OFD Sender: No OFD packet to send [15:49:25]OFD Sender: No OFD packet to send [15:49:30]OFD Sender: No OFD packet to send [15:49:35]OFD Sender: No OFD packet to send [15:49:40]OFD Sender: No OFD packet to send [15:49:45]OFD Sender: No OFD packet to send [15:49:50]OFD Sender: No OFD packet to send [15:49:55]OFD Sender: No OFD packet to send [15:50:00]OFD Sender: No OFD packet to send [15:50:05]OFD Sender: No OFD packet to send [15:50:10]OFD Sender: No OFD packet to send [15:50:15]OFD Sender: No OFD packet to send [15:50:20]OFD Sender: No OFD packet to send [15:50:25]OFD Sender: No OFD packet to send [15:50:30]OFD Sender: No OFD packet to send [15:50:35]OFD Sender: No OFD packet to send [15:50:40]OFD Sender: No OFD packet to send [15:50:45]OFD Sender: No OFD packet to send [15:50:50]OFD Sender: No OFD packet to send [15:50:55]OFD Sender: No OFD packet to send [15:51:00]OFD Sender: No OFD packet to send [15:51:05]OFD Sender: No OFD packet to send [15:51:10]OFD Sender: No OFD packet to send [15:51:15]OFD Sender: No OFD packet to send [15:51:20]OFD Sender: No OFD packet to send [15:51:25]OFD Sender: No OFD packet to send [15:51:30]OFD Sender: No OFD packet to send [15:51:35]OFD Sender: No OFD packet to send [15:51:40]OFD Sender: No OFD packet to send [15:51:45]OFD Sender: No OFD packet to send [15:51:50]OFD Sender: No OFD packet to send [15:51:55]OFD Sender: No OFD packet to send [15:52:00]OFD Sender: No OFD packet to send [15:52:05]OFD Sender: No OFD packet to send [15:52:10]OFD Sender: No OFD packet to send [15:52:15]OFD Sender: No OFD packet to send [15:52:20]OFD Sender: No OFD packet to send [15:52:25]OFD Sender: No OFD packet to send [15:52:30]OFD Sender: No OFD packet to send [15:52:35]OFD Sender: No OFD packet to send [15:52:40]OFD Sender: No OFD packet to send [15:52:45]OFD Sender: No OFD packet to send [15:52:50]OFD Sender: No OFD packet to send [15:52:55]OFD Sender: No OFD packet to send [15:53:00]OFD Sender: No OFD packet to send [15:53:05]OFD Sender: No OFD packet to send [15:53:10]OFD Sender: No OFD packet to send [15:53:15]OFD Sender: No OFD packet to send [15:53:20]OFD Sender: No OFD packet to send [15:53:25]OFD Sender: No OFD packet to send [15:53:30]OFD Sender: No OFD packet to send [15:53:35]OFD Sender: No OFD packet to send [15:53:40]OFD Sender: No OFD packet to send [15:53:45]OFD Sender: No OFD packet to send [15:53:50]OFD Sender: No OFD packet to send [15:53:55]OFD Sender: No OFD packet to send [15:54:00]OFD Sender: No OFD packet to send [15:54:05]OFD Sender: No OFD packet to send [15:54:10]OFD Sender: No OFD packet to send [15:54:15]OFD Sender: No OFD packet to send [15:54:20]OFD Sender: No OFD packet to send [15:54:25]OFD Sender: No OFD packet to send [15:54:30]OFD Sender: No OFD packet to send [15:54:35]OFD Sender: No OFD packet to send [15:54:40]OFD Sender: No OFD packet to send [15:54:45]OFD Sender: No OFD packet to send [15:54:50]OFD Sender: No OFD packet to send [15:54:55]OFD Sender: No OFD packet to send [15:55:00]OFD Sender: No OFD packet to send [15:55:05]OFD Sender: No OFD packet to send [15:55:10]OFD Sender: No OFD packet to send [15:55:15]OFD Sender: No OFD packet to send [15:55:20]OFD Sender: No OFD packet to send [15:55:25]OFD Sender: No OFD packet to send [15:55:30]OFD Sender: No OFD packet to send [15:55:35]OFD Sender: No OFD packet to send [15:55:40]OFD Sender: No OFD packet to send [15:55:45]OFD Sender: No OFD packet to send [15:55:50]OFD Sender: No OFD packet to send [15:55:55]OFD Sender: No OFD packet to send [15:56:00]OFD Sender: No OFD packet to send [15:56:05]OFD Sender: No OFD packet to send [15:56:10]OFD Sender: No OFD packet to send [15:56:15]OFD Sender: No OFD packet to send [15:56:20]OFD Sender: No OFD packet to send [15:56:25]OFD Sender: No OFD packet to send [15:56:30]OFD Sender: No OFD packet to send [15:56:35]OFD Sender: No OFD packet to send [15:56:40]OFD Sender: No OFD packet to send [15:56:45]OFD Sender: No OFD packet to send [15:56:50]OFD Sender: No OFD packet to send [15:56:55]OFD Sender: No OFD packet to send [15:57:00]OFD Sender: No OFD packet to send [15:57:05]OFD Sender: No OFD packet to send [15:57:10]OFD Sender: No OFD packet to send [15:57:15]OFD Sender: No OFD packet to send [15:57:20]OFD Sender: No OFD packet to send [15:57:25]OFD Sender: No OFD packet to send [15:57:30]OFD Sender: No OFD packet to send [15:57:35]OFD Sender: No OFD packet to send [15:57:40]OFD Sender: No OFD packet to send [15:57:45]OFD Sender: No OFD packet to send [15:57:50]OFD Sender: No OFD packet to send [15:57:55]OFD Sender: No OFD packet to send [15:58:00]OFD Sender: No OFD packet to send [15:58:05]OFD Sender: No OFD packet to send [15:58:10]OFD Sender: No OFD packet to send [15:58:15]OFD Sender: No OFD packet to send [15:58:20]OFD Sender: No OFD packet to send [15:58:25]OFD Sender: No OFD packet to send [15:58:30]OFD Sender: No OFD packet to send [15:58:35]OFD Sender: No OFD packet to send [15:58:40]OFD Sender: No OFD packet to send [15:58:45]OFD Sender: No OFD packet to send [15:58:50]OFD Sender: No OFD packet to send [15:58:55]OFD Sender: No OFD packet to send [15:59:00]OFD Sender: No OFD packet to send [15:59:05]OFD Sender: No OFD packet to send [15:59:10]OFD Sender: No OFD packet to send [15:59:15]OFD Sender: No OFD packet to send [15:59:20]OFD Sender: No OFD packet to send [15:59:25]OFD Sender: No OFD packet to send [15:59:30]OFD Sender: No OFD packet to send [15:59:35]OFD Sender: No OFD packet to send [15:59:40]OFD Sender: No OFD packet to send [15:59:45]OFD Sender: No OFD packet to send [15:59:50]OFD Sender: No OFD packet to send [15:59:55]OFD Sender: No OFD packet to send [16:00:00]OFD Sender: No OFD packet to send [16:00:05]OFD Sender: No OFD packet to send [16:00:06]accept exits with 8 [16:00:06]New connection [16:00:06]New thread 3066928484 created [16:00:06]Thread 3066785124 joined [16:00:06]Waiting for new connection... [16:00:06] Sock 8.Parse request [16:00:06]Sock 8.Check first char [16:00:06]Sock 8.First char is OK [16:00:06]request: POST /json_proto HTTP/1.0 [16:00:06]Method: POST [16:00:06]URL: /json_proto [16:00:06]Method is POST - this is cgi request [16:00:06]url: /json_proto [16:00:06]query_string will be loaded in cgi processing [16:00:06]execute_cgi json_proto POST (null) [16:00:06]execute_cgi path=json_proto method=POST [16:00:06]POST find Content-Length [16:00:06]Host: 172.17.45.8:8080 [16:00:06]Content-Length: 663 [16:00:06]Content-Type: application/json [16:00:06] [16:00:06]POST finish read [16:00:06]Found Content-Length = 663 [16:00:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150466", "tax_sys" : 0, "items" : [ { "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "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:00:06]execute_script... [16:00: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)150466", "tax_sys" : 0, "items" : [ { "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "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:00:06]POST & json_proto [16:00:06]process_json_proto [16:00:06]json parsed OK: [16:00:06]protocol is kg_v1.0 [16:00:06]action value=close_receipt [16:00:06]process_action close_receipt [16:00:06]cmd_close_receipt [16:00:06]MH_GetDate [16:00:06]Write to MH i2c: F0 00 00 86 02 77 [16:00:06]Write i2c OK [16:00:06]MH_I2C_Read... [16:00:06]Read from MH i2c: F0 [16:00:06]MH_I2C_Read... [16:00:06]Read from MH i2c: F0 09 00 [16:00:06]MH_I2C_Read... [16:00:06]Read from MH i2c: F0 09 00 86 02 00 07 6B A6 66 A6 1F 7F 64 A6 [16:00:06]GetLastDocTimeStamp 1722181243 [16:00:06]current date 1722182407 [16:00:06]FM_GetShiftState [16:00:06]SAM_PROTO_GetShiftState [16:00:06]wFMCommunicate request_size=4 [16:00:06]MH_SAM_APDU [16:00:06]CAPDU: 80 13 01 00 [16:00:06]Write to MH i2c: E2 08 00 87 02 80 13 01 00 00 00 00 00 06 [16:00:06]Write i2c OK [16:00:06]MH_I2C_Read... [16:00:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:00:07]Read from MH i2c: E2 [16:00:07]MH_I2C_Read... [16:00:07]Read from MH i2c: E2 0E 00 [16:00:07]MH_I2C_Read... [16:00:07]Read from MH i2c: E2 0E 00 87 02 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 2E [16:00:07]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [16:00:07]wFMCommunicate OK [16:00:07]SAM_PROTO_GetShiftState done [16:00:07]FM_GetShiftState done [16:00:07]opened in 1722127230 [16:00:07]opened+sec_in_day 1722213630 [16:00:07]quantity*price = 18000 [16:00:07]sum+1 = 18001 [16:00:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 180.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 46 28.07.2024 16:00 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27068 ФПД: 133292221427692 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T160008&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27068&fm=133292221427692&tin=02508201610067®Number=0000000000092663&sum=18000 0 [16:00:08]StoreToDocumentArchive [16:00:08]shift 433 fd 27068 [16:00:08]save to /storage/0433/doc_00027068 [16:00:08]save last doc name /storage/0433/doc_00027068 to /storage/kkm_last_doc_name [16:00:08]save OK [16:00:08]Clear old archive folders... [16:00:08]ProcessDocumentItem done err = 0, tmpTLVsize=287 [16:00:08]tlvbuf is 00182570 [16:00:08]SAM_PROTO_ClearQueue [16:00:08]wFMCommunicate request_size=4 [16:00:08]MH_SAM_APDU [16:00:08]CAPDU: 80 09 00 00 [16:00:08]Write to MH i2c: E2 08 00 94 02 80 09 00 00 00 00 00 00 08 [16:00:08]Write i2c OK [16:00:08]MH_I2C_Read... [16:00:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:00:08]Read from MH i2c: E2 [16:00:08]MH_I2C_Read... [16:00:08]Read from MH i2c: E2 03 00 [16:00:08]MH_I2C_Read... [16:00:08]Read from MH i2c: E2 03 00 94 02 00 90 00 0A [16:00:08]RAPDU: 90 00 [16:00:08]wFMCommunicate OK [16:00:08]SAM_PROTO_ClearQueue done [16:00:08]KKMCreateOFDPacket [16:00:08]OFDProtocolAddRootSTLVToBuf [16:00:08]FM_MakeSignedData [16:00:08]FM_MakeSignedData [16:00:08]SAM_PROTO_SignData [16:00:08]wFMCommunicate request_size=4 [16:00:08]MH_SAM_APDU [16:00:08]CAPDU: 80 0D 01 02 [16:00:08]Write to MH i2c: E2 08 00 95 02 80 0D 01 02 00 00 00 00 10 [16:00:08]Write i2c OK [16:00:08]MH_I2C_Read... [16:00:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:00:08]Read from MH i2c: E2 [16:00:08]MH_I2C_Read... [16:00:08]Read from MH i2c: E2 03 00 [16:00:08]MH_I2C_Read... [16:00:08]Read from MH i2c: E2 03 00 95 02 00 90 00 0B [16:00:08]RAPDU: 90 00 [16:00:08]wFMCommunicate OK [16:00:08]wFMCommunicate request_size=255 [16:00:08]MH_SAM_APDU [16:00:08]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 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 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 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 2E 00 00 00 F4 03 04 00 08 6B A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 [16:00:08]Write to MH i2c: E2 02 01 96 02 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 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 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 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 2E 00 00 00 F4 03 04 00 08 6B A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 00 00 15 [16:00:08]Write i2c OK [16:00:08]MH_I2C_Read... [16:00:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:00:08]Read from MH i2c: E2 [16:00:08]MH_I2C_Read... [16:00:08]Read from MH i2c: E2 03 00 [16:00:08]MH_I2C_Read... [16:00:08]Read from MH i2c: E2 03 00 96 02 00 90 00 0C [16:00:08]RAPDU: 90 00 [16:00:08]wFMCommunicate OK [16:00:08]wFMCommunicate request_size=46 [16:00:08]MH_SAM_APDU [16:00:08]CAPDU: 80 0D 02 02 29 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 BC 69 00 00 35 04 06 00 79 3A 83 82 6F EC [16:00:08]Write to MH i2c: E2 31 00 97 02 80 0D 02 02 29 00 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 BC 69 00 00 35 04 06 00 79 3A 83 82 6F EC 00 00 DE [16:00:08]Write i2c OK [16:00:08]MH_I2C_Read... [16:00:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:00:08]Read from MH i2c: E2 [16:00:08]MH_I2C_Read... [16:00:08]Read from MH i2c: E2 03 00 [16:00:08]MH_I2C_Read... [16:00:08]Read from MH i2c: E2 03 00 97 02 00 90 00 0D [16:00:08]RAPDU: 90 00 [16:00:08]wFMCommunicate OK [16:00:08]wFMCommunicate request_size=4 [16:00:08]MH_SAM_APDU [16:00:08]CAPDU: 80 0D 03 02 [16:00:08]Write to MH i2c: E2 08 00 98 02 80 0D 03 02 00 00 00 00 15 [16:00:08]Write i2c OK [16:00:08]MH_I2C_Read... [16:00:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:00:08]Read from MH i2c: E2 [16:00:08]MH_I2C_Read... [16:00:08]Read from MH i2c: E2 0B 00 [16:00:08]MH_I2C_Read... [16:00:08]Read from MH i2c: E2 0B 00 98 02 00 14 27 1E 12 AA 8C 5E 66 90 00 7B [16:00:08]RAPDU: 14 27 1E 12 AA 8C 5E 66 90 00 [16:00:08]wFMCommunicate OK [16:00:08]SAM_PROTO_SignData done [16:00:08]FM_MakeSignedData done [16:00:08]CreateOFDProtocolMessage [16:00:08]wFMCommunicate request_size=4 [16:00:08]MH_SAM_APDU [16:00:08]CAPDU: 80 11 00 00 [16:00:08]Write to MH i2c: E2 08 00 99 02 80 11 00 00 00 00 00 00 15 [16:00:08]Write i2c OK [16:00:08]MH_I2C_Read... [16:00:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:00:08]Read from MH i2c: E2 [16:00:08]MH_I2C_Read... [16:00:08]Read from MH i2c: E2 17 00 [16:00:08]MH_I2C_Read... [16:00:08]Read from MH i2c: E2 17 00 99 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 6E [16:00:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [16:00:08]wFMCommunicate OK [16:00:08]CreateOFDProtocolMessage done [16:00:08]OFDSenderStorePacket 27068 [16:00:08]StoreOFDPacket docnum=27068 [16:00:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 33 01 00 00 FA 8D 2B 01 34 33 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 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 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 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 2E 00 00 00 F4 03 04 00 08 6B A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 BC 69 00 00 35 04 06 00 79 3A 83 82 6F EC 14 27 1E 12 AA 8C 5E 66 [16:00:08]CheckFolder [16:00:08]dirname=/storage/ofd_packets [16:00:08]CheckFolder done [16:00:08]ProducePacketName [16:00:08]name=ofd_packets/00027068 [16:00:08]NVStorageSaveData ofd_packets/00027068 [16:00:08]File name is /storage/ofd_packets/00027068 [16:00:08]Write 337 bytes [16:00:08]NVStorageSaveData done [16:00:08]OFDSenderStorePacket done [16:00:08]KKMCreateOFDPacket done [16:00:08]NVStorageSaveData kkm_last_timestamp [16:00:08]File name is /storage/kkm_last_timestamp [16:00:08]Write 4 bytes [16:00:08]NVStorageSaveData done [16:00:08]ExternCall_PrintAddStr [16:00:08]wPrintStart [16:00:08]Write to MH i2c: 01 00 00 9A 02 9C [16:00:08]Write i2c OK [16:00:08]MH_I2C_Read... [16:00:08]Read from MH i2c: 01 [16:00:08]MH_I2C_Read... [16:00:08]Read from MH i2c: 01 07 00 [16:00:08]MH_I2C_Read... [16:00:08]Read from MH i2c: 01 07 00 9A 02 00 00 00 00 00 FF 0F B1 [16:00:08]RasterBufferAndPrint [16:00:08]line Счет N : (3)150466 [16:00:08]line ИНН: 02508201610067 [16:00:08]line Контрольно-Кассовый Чек [16:00:08]line ПРОДАЖА [16:00:08]line Товар: 5449000176448 [16:00:08]line Сок Piko Pulpy апельсин ПЭТ 1л [16:00:08]line 1.000 * 180.00 [16:00:08]line = 180.00 [16:00:08]line НДС 12% НСП 1% [16:00:08]line > о реализуемом товаре [16:00:08]line ИТОГО: 180.00 [16:00:08]line НСП 1% : 1.59 [16:00:08]line НДС 12% : 19.11 [16:00:08]line Наличными: 180.00 [16:00:08]line Безнал.: 0.00 [16:00:08]line Место: АЗС № 134 "Партнер Нефть" [16:00:08]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [16:00:08]line СНО: Общий режим [16:00:08]line Чек 46 28.07.2024 16:00 [16:00:08]line Смена: 433 ФФД: 1.0 [16:00:08]line ЗНМ: 0300000043 [16:00:08]line РНМ: 0000000000092663 [16:00:08]line Версия ККМ: 001 [16:00:08]line ФМ: 0000000000874937 [16:00:08]line ФД: 27068 [16:00:08]line ФПД: 133292221427692 [16:00:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T160008&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27068&fm=133292221427692&tin=02508201610067®Number=0000000000092663&sum=18000 [16:00:09]line 0 [16:00:09]OFD Sender: Processing packet 27068 [packets to send 9, broken 8] [16:00:09]ProducePacketName [16:00:09]name=ofd_packets/00027068 [16:00:09]OFD Sender: To server: pG, [16:00:09]CommunicateWithHost lk.salyk.kg:30040 [16:00:09]ConnectInit lk.salyk.kg [16:00:09]written 0, free lines is 4095 [16:00:09]Connected sock=10 [16:00:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 33 01 00 00 FA 8D 2B 01 34 33 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 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 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 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 2E 00 00 00 F4 03 04 00 08 6B A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 BC 69 00 00 35 04 06 00 79 3A 83 82 6F EC 14 27 1E 12 AA 8C 5E 66 [16:00:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 81 4D 47 00 9E 3C 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 38 37 34 39 33 37 10 04 04 00 BC 69 00 00 F4 03 04 00 5B 11 A6 66 B6 04 01 00 00 12 46 0D 6D 39 4B 42 C9 [16:00:09]CommunicateWithHost err = 0 [16:00:09]CheckOFDResponse [16:00:09]1017 (14) - 77093643461234 [16:00:09]1041 (16) - 0000000000874937 [16:00:09]1040 (4) - 27068 [16:00:09]1012 (4) - 28.07.2024 09:37 [16:00:09]1206 (1) - 0 [16:00:09]OFD Sender: Remove packet 27068 [16:00:09]ProducePacketName [16:00:09]name=ofd_packets/00027068 [16:00:09]NVStorageDeleteData [16:00:09]Write to MH i2c: 01 00 00 C2 02 C4 [16:00:09]Write i2c OK [16:00:09]MH_I2C_Read... [16:00:09]Read from MH i2c: 01 [16:00:09]MH_I2C_Read... [16:00:09]Read from MH i2c: 01 07 00 [16:00:09]MH_I2C_Read... [16:00:09]Read from MH i2c: 01 07 00 C2 02 00 00 00 00 00 F0 0C C7 [16:00:09]RasterBufferAndPrint [16:00:09]line [16:00:09]line [16:00:09]line [16:00:09]line [16:00:09]line [16:00:09]written 0, free lines is 3318 [16:00:09]MH_Cut [16:00:09]Write to MH i2c: D1 01 00 C9 02 01 9D [16:00:09]Write i2c OK [16:00:09]MH_I2C_Read... [16:00:09]Read from MH i2c: D1 [16:00:09]MH_I2C_Read... [16:00:09]Read from MH i2c: D1 01 00 [16:00:09]MH_I2C_Read... [16:00:09]Read from MH i2c: D1 01 00 C9 02 00 9C [16:00:09]Write to MH i2c: 01 00 00 CA 02 CC [16:00:09]Write i2c OK [16:00:09]MH_I2C_Read... [16:00:09]OFD Sender: No OFD packet to send [16:00:10]*** Cut start [16:00:10]*** Partial cut [16:00:10]*** CUTSNS_PIN = 1 [16:00:10]*** CUTSNS_PIN = 0 [16:00:10]*** Brake cut motor [16:00:10]Read from MH i2c: 01 [16:00:10]MH_I2C_Read... [16:00:10]*** Stop cut motor [16:00:10]*** Cut end [16:00:10]Read from MH i2c: 01 07 00 [16:00:10]MH_I2C_Read... [16:00:10]Read from MH i2c: 01 07 00 CA 02 00 00 00 00 00 FF 0F E1 [16:00:10]process_action close_receipt done [16:00:10]requested_data is exist [16:00:10]produce_requested_data [16:00:10]requested_item fm.sn is exist - process it [16:00:10]wFMCommunicate request_size=4 [16:00:10]MH_SAM_APDU [16:00:10]CAPDU: 80 11 00 00 [16:00:10]Write to MH i2c: E2 08 00 CB 02 80 11 00 00 00 00 00 00 47 [16:00:10]Write i2c OK [16:00:10]MH_I2C_Read... [16:00:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:00:10]Read from MH i2c: E2 [16:00:10]MH_I2C_Read... [16:00:10]Read from MH i2c: E2 17 00 [16:00:10]MH_I2C_Read... [16:00:10]Read from MH i2c: E2 17 00 CB 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 A0 [16:00:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [16:00:10]wFMCommunicate OK [16:00:10]requested_item fd.num is exist - process it [16:00:10]SAM_PROTO_GetFieldsCounters [16:00:10]wFMCommunicate request_size=4 [16:00:10]MH_SAM_APDU [16:00:10]CAPDU: 80 13 00 00 [16:00:10]Write to MH i2c: E2 08 00 CC 02 80 13 00 00 00 00 00 00 4A [16:00:10]Write i2c OK [16:00:10]MH_I2C_Read... [16:00:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:00:10]Read from MH i2c: E2 [16:00:10]MH_I2C_Read... [16:00:10]Read from MH i2c: E2 62 00 [16:00:10]MH_I2C_Read... [16:00:10]Read from MH i2c: E2 62 00 CC 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 BC 69 00 00 0E 04 04 00 B1 01 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 D3 [16:00:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 BC 69 00 00 0E 04 04 00 B1 01 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 [16:00:10]wFMCommunicate OK [16:00:10]SAM_PROTO_GetFieldsCounters done [16:00:10]requested_item shift.num is exist - process it [16:00:10]requested_item shift.opened is exist - process it [16:00:10]req_shift_opened [16:00:10]FM_GetShiftState [16:00:10]SAM_PROTO_GetShiftState [16:00:10]wFMCommunicate request_size=4 [16:00:10]MH_SAM_APDU [16:00:10]CAPDU: 80 13 01 00 [16:00:10]Write to MH i2c: E2 08 00 CD 02 80 13 01 00 00 00 00 00 4C [16:00:10]Write i2c OK [16:00:10]MH_I2C_Read... [16:00:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:00:11]Read from MH i2c: E2 [16:00:11]MH_I2C_Read... [16:00:11]Read from MH i2c: E2 0E 00 [16:00:11]MH_I2C_Read... [16:00:11]Read from MH i2c: E2 0E 00 CD 02 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 74 [16:00:11]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [16:00:11]wFMCommunicate OK [16:00:11]SAM_PROTO_GetShiftState done [16:00:11]FM_GetShiftState done [16:00:11]req_shift_opened done [16:00:11]requested_item shift.open_date is exist - process it [16:00:11]req_shift_open_date [16:00:11]req_shift_open_date done [16:00:11]produce_requested_data done [16:00:11]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27068,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [16:00:11]process_action_free close_receipt [16:00:11]json_value_free [16:00:11]json_value_free done [16:00:11]process_json_proto returns [16:00:11]Send response to host [16:00:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27068,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [16:00:11]free response buf [16:00:11]execute_script done [16:00:11]execute_script returns [16:00:11]free content buf [16:00:11]Sock 8.Close socket [16:00:11]Sock 8.Thread stoped [16:00:14]OFD Sender: No OFD packet to send [16:00:19]OFD Sender: No OFD packet to send [16:00:24]OFD Sender: No OFD packet to send [16:00:29]OFD Sender: No OFD packet to send [16:00:34]OFD Sender: No OFD packet to send [16:00:39]OFD Sender: No OFD packet to send [16:00:44]OFD Sender: No OFD packet to send [16:00:49]OFD Sender: No OFD packet to send [16:00:54]OFD Sender: No OFD packet to send [16:00:59]OFD Sender: No OFD packet to send [16:01:04]OFD Sender: No OFD packet to send [16:01:09]OFD Sender: No OFD packet to send [16:01:14]OFD Sender: No OFD packet to send [16:01:19]OFD Sender: No OFD packet to send [16:01:24]OFD Sender: No OFD packet to send [16:01:29]OFD Sender: No OFD packet to send [16:01:34]OFD Sender: No OFD packet to send [16:01:39]OFD Sender: No OFD packet to send [16:01:44]OFD Sender: No OFD packet to send [16:01:49]OFD Sender: No OFD packet to send [16:01:54]OFD Sender: No OFD packet to send [16:01:59]OFD Sender: No OFD packet to send [16:02:04]OFD Sender: No OFD packet to send [16:02:09]OFD Sender: No OFD packet to send [16:02:14]OFD Sender: No OFD packet to send [16:02:19]OFD Sender: No OFD packet to send [16:02:24]OFD Sender: No OFD packet to send [16:02:29]OFD Sender: No OFD packet to send [16:02:34]OFD Sender: No OFD packet to send [16:02:39]OFD Sender: No OFD packet to send [16:02:44]OFD Sender: No OFD packet to send [16:02:49]OFD Sender: No OFD packet to send [16:02:54]OFD Sender: No OFD packet to send [16:02:59]OFD Sender: No OFD packet to send [16:03:04]OFD Sender: No OFD packet to send [16:03:09]OFD Sender: No OFD packet to send [16:03:14]OFD Sender: No OFD packet to send [16:03:19]OFD Sender: No OFD packet to send [16:03:24]OFD Sender: No OFD packet to send [16:03:29]OFD Sender: No OFD packet to send [16:03:34]OFD Sender: No OFD packet to send [16:03:40]OFD Sender: No OFD packet to send [16:03:45]OFD Sender: No OFD packet to send [16:03:50]OFD Sender: No OFD packet to send [16:03:55]OFD Sender: No OFD packet to send [16:04:00]OFD Sender: No OFD packet to send [16:04:05]OFD Sender: No OFD packet to send [16:04:10]OFD Sender: No OFD packet to send [16:04:15]OFD Sender: No OFD packet to send [16:04:20]OFD Sender: No OFD packet to send [16:04:25]OFD Sender: No OFD packet to send [16:04:30]OFD Sender: No OFD packet to send [16:04:35]OFD Sender: No OFD packet to send [16:04:40]OFD Sender: No OFD packet to send [16:04:45]OFD Sender: No OFD packet to send [16:04:50]OFD Sender: No OFD packet to send [16:04:55]OFD Sender: No OFD packet to send [16:05:00]OFD Sender: No OFD packet to send [16:05:05]OFD Sender: No OFD packet to send [16:05:10]OFD Sender: No OFD packet to send [16:05:15]OFD Sender: No OFD packet to send [16:05:20]OFD Sender: No OFD packet to send [16:05:25]OFD Sender: No OFD packet to send [16:05:30]OFD Sender: No OFD packet to send [16:05:35]OFD Sender: No OFD packet to send [16:05:40]OFD Sender: No OFD packet to send [16:05:45]OFD Sender: No OFD packet to send [16:05:50]OFD Sender: No OFD packet to send [16:05:55]OFD Sender: No OFD packet to send [16:06:00]OFD Sender: No OFD packet to send [16:06:05]OFD Sender: No OFD packet to send [16:06:10]OFD Sender: No OFD packet to send [16:06:15]OFD Sender: No OFD packet to send [16:06:20]OFD Sender: No OFD packet to send [16:06:25]OFD Sender: No OFD packet to send [16:06:30]OFD Sender: No OFD packet to send [16:06:35]OFD Sender: No OFD packet to send [16:06:40]OFD Sender: No OFD packet to send [16:06:45]OFD Sender: No OFD packet to send [16:06:50]OFD Sender: No OFD packet to send [16:06:55]OFD Sender: No OFD packet to send [16:07:00]OFD Sender: No OFD packet to send [16:07:05]OFD Sender: No OFD packet to send [16:07:10]OFD Sender: No OFD packet to send [16:07:15]OFD Sender: No OFD packet to send [16:07:20]OFD Sender: No OFD packet to send [16:07:25]OFD Sender: No OFD packet to send [16:07:30]OFD Sender: No OFD packet to send [16:07:35]OFD Sender: No OFD packet to send [16:07:40]OFD Sender: No OFD packet to send [16:07:45]OFD Sender: No OFD packet to send [16:07:50]OFD Sender: No OFD packet to send [16:07:55]OFD Sender: No OFD packet to send [16:08:00]OFD Sender: No OFD packet to send [16:08:05]OFD Sender: No OFD packet to send [16:08:10]OFD Sender: No OFD packet to send [16:08:15]OFD Sender: No OFD packet to send [16:08:20]OFD Sender: No OFD packet to send [16:08:25]OFD Sender: No OFD packet to send [16:08:30]OFD Sender: No OFD packet to send [16:08:35]OFD Sender: No OFD packet to send [16:08:40]OFD Sender: No OFD packet to send [16:08:45]OFD Sender: No OFD packet to send [16:08:50]OFD Sender: No OFD packet to send [16:08:55]OFD Sender: No OFD packet to send [16:09:00]OFD Sender: No OFD packet to send [16:09:05]OFD Sender: No OFD packet to send [16:09:10]OFD Sender: No OFD packet to send [16:09:15]OFD Sender: No OFD packet to send [16:09:20]OFD Sender: No OFD packet to send [16:09:25]OFD Sender: No OFD packet to send [16:09:30]OFD Sender: No OFD packet to send [16:09:35]OFD Sender: No OFD packet to send [16:09:40]OFD Sender: No OFD packet to send [16:09:45]OFD Sender: No OFD packet to send [16:09:50]OFD Sender: No OFD packet to send [16:09:55]OFD Sender: No OFD packet to send [16:10:00]OFD Sender: No OFD packet to send [16:10:05]OFD Sender: No OFD packet to send [16:10:10]OFD Sender: No OFD packet to send [16:10:15]OFD Sender: No OFD packet to send [16:10:20]OFD Sender: No OFD packet to send [16:10:25]OFD Sender: No OFD packet to send [16:10:30]OFD Sender: No OFD packet to send [16:10:35]OFD Sender: No OFD packet to send [16:10:40]OFD Sender: No OFD packet to send [16:10:45]OFD Sender: No OFD packet to send [16:10:50]OFD Sender: No OFD packet to send [16:10:55]OFD Sender: No OFD packet to send [16:11:00]OFD Sender: No OFD packet to send [16:11:05]OFD Sender: No OFD packet to send [16:11:10]OFD Sender: No OFD packet to send [16:11:15]OFD Sender: No OFD packet to send [16:11:20]OFD Sender: No OFD packet to send [16:11:25]OFD Sender: No OFD packet to send [16:11:30]OFD Sender: No OFD packet to send [16:11:35]OFD Sender: No OFD packet to send [16:11:40]OFD Sender: No OFD packet to send [16:11:45]OFD Sender: No OFD packet to send [16:11:50]OFD Sender: No OFD packet to send [16:11:55]OFD Sender: No OFD packet to send [16:12:00]OFD Sender: No OFD packet to send [16:12:05]OFD Sender: No OFD packet to send [16:12:10]OFD Sender: No OFD packet to send [16:12:15]OFD Sender: No OFD packet to send [16:12:20]OFD Sender: No OFD packet to send [16:12:25]OFD Sender: No OFD packet to send [16:12:30]OFD Sender: No OFD packet to send [16:12:35]OFD Sender: No OFD packet to send [16:12:40]OFD Sender: No OFD packet to send [16:12:45]OFD Sender: No OFD packet to send [16:12:50]OFD Sender: No OFD packet to send [16:12:55]OFD Sender: No OFD packet to send [16:13:00]OFD Sender: No OFD packet to send [16:13:05]OFD Sender: No OFD packet to send [16:13:10]OFD Sender: No OFD packet to send [16:13:15]OFD Sender: No OFD packet to send [16:13:20]OFD Sender: No OFD packet to send [16:13:25]OFD Sender: No OFD packet to send [16:13:30]OFD Sender: No OFD packet to send [16:13:35]OFD Sender: No OFD packet to send [16:13:40]OFD Sender: No OFD packet to send [16:13:45]OFD Sender: No OFD packet to send [16:13:50]OFD Sender: No OFD packet to send [16:13:55]OFD Sender: No OFD packet to send [16:14:00]OFD Sender: No OFD packet to send [16:14:05]OFD Sender: No OFD packet to send [16:14:10]OFD Sender: No OFD packet to send [16:14:15]OFD Sender: No OFD packet to send [16:14:20]OFD Sender: No OFD packet to send [16:14:25]OFD Sender: No OFD packet to send [16:14:30]OFD Sender: No OFD packet to send [16:14:35]OFD Sender: No OFD packet to send [16:14:40]OFD Sender: No OFD packet to send [16:14:45]OFD Sender: No OFD packet to send [16:14:50]OFD Sender: No OFD packet to send [16:14:55]OFD Sender: No OFD packet to send [16:15:00]OFD Sender: No OFD packet to send [16:15:05]OFD Sender: No OFD packet to send [16:15:10]OFD Sender: No OFD packet to send [16:15:15]OFD Sender: No OFD packet to send [16:15:20]OFD Sender: No OFD packet to send [16:15:25]OFD Sender: No OFD packet to send [16:15:30]OFD Sender: No OFD packet to send [16:15:35]OFD Sender: No OFD packet to send [16:15:40]OFD Sender: No OFD packet to send [16:15:45]OFD Sender: No OFD packet to send [16:15:50]OFD Sender: No OFD packet to send [16:15:55]OFD Sender: No OFD packet to send [16:16:00]OFD Sender: No OFD packet to send [16:16:05]OFD Sender: No OFD packet to send [16:16:10]OFD Sender: No OFD packet to send [16:16:15]OFD Sender: No OFD packet to send [16:16:20]OFD Sender: No OFD packet to send [16:16:25]OFD Sender: No OFD packet to send [16:16:30]OFD Sender: No OFD packet to send [16:16:35]OFD Sender: No OFD packet to send [16:16:40]OFD Sender: No OFD packet to send [16:16:45]OFD Sender: No OFD packet to send [16:16:50]OFD Sender: No OFD packet to send [16:16:55]OFD Sender: No OFD packet to send [16:17:00]OFD Sender: No OFD packet to send [16:17:05]OFD Sender: No OFD packet to send [16:17:10]OFD Sender: No OFD packet to send [16:17:15]OFD Sender: No OFD packet to send [16:17:20]OFD Sender: No OFD packet to send [16:17:25]OFD Sender: No OFD packet to send [16:17:30]OFD Sender: No OFD packet to send [16:17:35]OFD Sender: No OFD packet to send [16:17:40]OFD Sender: No OFD packet to send [16:17:45]OFD Sender: No OFD packet to send [16:17:50]OFD Sender: No OFD packet to send [16:17:55]OFD Sender: No OFD packet to send [16:18:00]OFD Sender: No OFD packet to send [16:18:05]OFD Sender: No OFD packet to send [16:18:10]OFD Sender: No OFD packet to send [16:18:15]OFD Sender: No OFD packet to send [16:18:20]OFD Sender: No OFD packet to send [16:18:25]OFD Sender: No OFD packet to send [16:18:30]OFD Sender: No OFD packet to send [16:18:35]OFD Sender: No OFD packet to send [16:18:40]OFD Sender: No OFD packet to send [16:18:45]OFD Sender: No OFD packet to send [16:18:50]OFD Sender: No OFD packet to send [16:18:55]OFD Sender: No OFD packet to send [16:19:00]OFD Sender: No OFD packet to send [16:19:05]OFD Sender: No OFD packet to send [16:19:10]OFD Sender: No OFD packet to send [16:19:15]OFD Sender: No OFD packet to send [16:19:20]OFD Sender: No OFD packet to send [16:19:25]OFD Sender: No OFD packet to send [16:19:30]OFD Sender: No OFD packet to send [16:19:35]OFD Sender: No OFD packet to send [16:19:40]OFD Sender: No OFD packet to send [16:19:45]OFD Sender: No OFD packet to send [16:19:50]OFD Sender: No OFD packet to send [16:19:55]OFD Sender: No OFD packet to send [16:20:00]OFD Sender: No OFD packet to send [16:20:05]OFD Sender: No OFD packet to send [16:20:10]OFD Sender: No OFD packet to send [16:20:15]OFD Sender: No OFD packet to send [16:20:20]OFD Sender: No OFD packet to send [16:20:25]OFD Sender: No OFD packet to send [16:20:30]OFD Sender: No OFD packet to send [16:20:35]OFD Sender: No OFD packet to send [16:20:40]OFD Sender: No OFD packet to send [16:20:45]OFD Sender: No OFD packet to send [16:20:50]OFD Sender: No OFD packet to send [16:20:55]OFD Sender: No OFD packet to send [16:21:00]OFD Sender: No OFD packet to send [16:21:05]OFD Sender: No OFD packet to send [16:21:10]OFD Sender: No OFD packet to send [16:21:15]OFD Sender: No OFD packet to send [16:21:20]OFD Sender: No OFD packet to send [16:21:25]OFD Sender: No OFD packet to send [16:21:30]OFD Sender: No OFD packet to send [16:21:35]OFD Sender: No OFD packet to send [16:21:40]OFD Sender: No OFD packet to send [16:21:45]OFD Sender: No OFD packet to send [16:21:50]OFD Sender: No OFD packet to send [16:21:55]OFD Sender: No OFD packet to send [16:22:00]OFD Sender: No OFD packet to send [16:22:05]OFD Sender: No OFD packet to send [16:22:10]OFD Sender: No OFD packet to send [16:22:15]OFD Sender: No OFD packet to send [16:22:20]OFD Sender: No OFD packet to send [16:22:25]OFD Sender: No OFD packet to send [16:22:30]OFD Sender: No OFD packet to send [16:22:35]OFD Sender: No OFD packet to send [16:22:40]OFD Sender: No OFD packet to send [16:22:45]OFD Sender: No OFD packet to send [16:22:50]OFD Sender: No OFD packet to send [16:22:55]OFD Sender: No OFD packet to send [16:23:00]OFD Sender: No OFD packet to send [16:23:05]OFD Sender: No OFD packet to send [16:23:10]OFD Sender: No OFD packet to send [16:23:15]OFD Sender: No OFD packet to send [16:23:20]OFD Sender: No OFD packet to send [16:23:25]OFD Sender: No OFD packet to send [16:23:30]OFD Sender: No OFD packet to send [16:23:35]OFD Sender: No OFD packet to send [16:23:40]OFD Sender: No OFD packet to send [16:23:45]OFD Sender: No OFD packet to send [16:23:50]OFD Sender: No OFD packet to send [16:23:55]OFD Sender: No OFD packet to send [16:24:00]OFD Sender: No OFD packet to send [16:24:05]OFD Sender: No OFD packet to send [16:24:10]OFD Sender: No OFD packet to send [16:24:15]OFD Sender: No OFD packet to send [16:24:20]OFD Sender: No OFD packet to send [16:24:25]OFD Sender: No OFD packet to send [16:24:30]OFD Sender: No OFD packet to send [16:24:35]OFD Sender: No OFD packet to send [16:24:40]OFD Sender: No OFD packet to send [16:24:45]OFD Sender: No OFD packet to send [16:24:50]OFD Sender: No OFD packet to send [16:24:55]OFD Sender: No OFD packet to send [16:25:01]OFD Sender: No OFD packet to send [16:25:06]OFD Sender: No OFD packet to send [16:25:11]OFD Sender: No OFD packet to send [16:25:16]OFD Sender: No OFD packet to send [16:25:21]OFD Sender: No OFD packet to send [16:25:26]OFD Sender: No OFD packet to send [16:25:31]OFD Sender: No OFD packet to send [16:25:36]OFD Sender: No OFD packet to send [16:25:41]OFD Sender: No OFD packet to send [16:25:46]OFD Sender: No OFD packet to send [16:25:51]OFD Sender: No OFD packet to send [16:25:56]OFD Sender: No OFD packet to send [16:26:01]OFD Sender: No OFD packet to send [16:26:06]OFD Sender: No OFD packet to send [16:26:11]OFD Sender: No OFD packet to send [16:26:16]OFD Sender: No OFD packet to send [16:26:21]OFD Sender: No OFD packet to send [16:26:26]OFD Sender: No OFD packet to send [16:26:31]OFD Sender: No OFD packet to send [16:26:36]OFD Sender: No OFD packet to send [16:26:41]OFD Sender: No OFD packet to send [16:26:46]OFD Sender: No OFD packet to send [16:26:51]OFD Sender: No OFD packet to send [16:26:56]OFD Sender: No OFD packet to send [16:27:01]OFD Sender: No OFD packet to send [16:27:06]OFD Sender: No OFD packet to send [16:27:11]OFD Sender: No OFD packet to send [16:27:16]OFD Sender: No OFD packet to send [16:27:21]OFD Sender: No OFD packet to send [16:27:26]OFD Sender: No OFD packet to send [16:27:31]OFD Sender: No OFD packet to send [16:27:36]OFD Sender: No OFD packet to send [16:27:41]OFD Sender: No OFD packet to send [16:27:46]OFD Sender: No OFD packet to send [16:27:51]OFD Sender: No OFD packet to send [16:27:56]OFD Sender: No OFD packet to send [16:28:01]OFD Sender: No OFD packet to send [16:28:06]OFD Sender: No OFD packet to send [16:28:11]OFD Sender: No OFD packet to send [16:28:16]OFD Sender: No OFD packet to send [16:28:21]OFD Sender: No OFD packet to send [16:28:26]OFD Sender: No OFD packet to send [16:28:31]OFD Sender: No OFD packet to send [16:28:36]OFD Sender: No OFD packet to send [16:28:41]OFD Sender: No OFD packet to send [16:28:46]OFD Sender: No OFD packet to send [16:28:51]OFD Sender: No OFD packet to send [16:28:56]OFD Sender: No OFD packet to send [16:29:01]OFD Sender: No OFD packet to send [16:29:06]OFD Sender: No OFD packet to send [16:29:11]OFD Sender: No OFD packet to send [16:29:16]OFD Sender: No OFD packet to send [16:29:21]OFD Sender: No OFD packet to send [16:29:26]OFD Sender: No OFD packet to send [16:29:31]OFD Sender: No OFD packet to send [16:29:36]OFD Sender: No OFD packet to send [16:29:41]OFD Sender: No OFD packet to send [16:29:46]OFD Sender: No OFD packet to send [16:29:51]OFD Sender: No OFD packet to send [16:29:56]OFD Sender: No OFD packet to send [16:30:01]OFD Sender: No OFD packet to send [16:30:06]OFD Sender: No OFD packet to send [16:30:11]OFD Sender: No OFD packet to send [16:30:16]OFD Sender: No OFD packet to send [16:30:21]OFD Sender: No OFD packet to send [16:30:26]OFD Sender: No OFD packet to send [16:30:31]OFD Sender: No OFD packet to send [16:30:36]OFD Sender: No OFD packet to send [16:30:41]OFD Sender: No OFD packet to send [16:30:46]OFD Sender: No OFD packet to send [16:30:51]OFD Sender: No OFD packet to send [16:30:56]OFD Sender: No OFD packet to send [16:31:01]OFD Sender: No OFD packet to send [16:31:06]OFD Sender: No OFD packet to send [16:31:11]OFD Sender: No OFD packet to send [16:31:16]OFD Sender: No OFD packet to send [16:31:21]OFD Sender: No OFD packet to send [16:31:26]OFD Sender: No OFD packet to send [16:31:31]OFD Sender: No OFD packet to send [16:31:36]OFD Sender: No OFD packet to send [16:31:41]OFD Sender: No OFD packet to send [16:31:46]OFD Sender: No OFD packet to send [16:31:51]OFD Sender: No OFD packet to send [16:31:56]OFD Sender: No OFD packet to send [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:44]accept exits with 9 [16:42:44]New connection [16:42:44]New thread 3066785124 created [16:42:44]Thread 3066928484 joined [16:42:44]Waiting for new connection... [16:42:44] Sock 9.Parse request [16:42:44]Sock 9.Check first char [16:42:44]Sock 9.First char is OK [16:42:44]request: POST /json_proto HTTP/1.0 [16:42:44]Method: POST [16:42:44]URL: /json_proto [16:42:44]Method is POST - this is cgi request [16:42:44]url: /json_proto [16:42:44]query_string will be loaded in cgi processing [16:42:44]execute_cgi json_proto POST (null) [16:42:44]execute_cgi path=json_proto method=POST [16:42:44]POST find Content-Length [16:42:44]Host: 172.17.45.8:8080 [16:42:44]Content-Length: 675 [16:42:44]Content-Type: application/json [16:42:44] [16:42:44]POST finish read [16:42:44]Found Content-Length = 675 [16:42:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150467", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "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" ] } } [16:42:44]execute_script... [16:42: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)150467", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "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" ] } } [16:42:44]POST & json_proto [16:42:44]process_json_proto [16:42:44]json parsed OK: [16:42:44]protocol is kg_v1.0 [16:42:44]action value=close_receipt [16:42:44]process_action close_receipt [16:42:44]cmd_close_receipt [16:42:44]MH_GetDate [16:42:44]Write to MH i2c: F0 00 00 CE 02 BF [16:42:44]Write i2c OK [16:42:44]MH_I2C_Read... [16:42:44]Read from MH i2c: F0 [16:42:44]MH_I2C_Read... [16:42:44]Read from MH i2c: F0 09 00 [16:42:44]MH_I2C_Read... [16:42:44]Read from MH i2c: F0 09 00 CE 02 00 06 75 A6 66 A6 1F 7F 64 F7 [16:42:44]GetLastDocTimeStamp 1722182408 [16:42:44]current date 1722184966 [16:42:44]FM_GetShiftState [16:42:44]SAM_PROTO_GetShiftState [16:42:44]wFMCommunicate request_size=4 [16:42:44]MH_SAM_APDU [16:42:44]CAPDU: 80 13 01 00 [16:42:44]Write to MH i2c: E2 08 00 CF 02 80 13 01 00 00 00 00 00 4E [16:42:44]Write i2c OK [16:42:44]MH_I2C_Read... [16:42:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:42:45]Read from MH i2c: E2 [16:42:45]MH_I2C_Read... [16:42:45]Read from MH i2c: E2 0E 00 [16:42:45]MH_I2C_Read... [16:42:45]Read from MH i2c: E2 0E 00 CF 02 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 76 [16:42:45]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [16:42:45]wFMCommunicate OK [16:42:45]SAM_PROTO_GetShiftState done [16:42:45]FM_GetShiftState done [16:42:45]opened in 1722127230 [16:42:45]opened+sec_in_day 1722213630 [16:42:45]quantity*price = 6500 [16:42:45]sum+1 = 6501 [16:42:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 47 28.07.2024 16:42 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27069 ФПД: 238166265554148 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T164246&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27069&fm=238166265554148&tin=02508201610067®Number=0000000000092663&sum=6500 0 [16:42:46]StoreToDocumentArchive [16:42:46]shift 433 fd 27069 [16:42:46]save to /storage/0433/doc_00027069 [16:42:46]save last doc name /storage/0433/doc_00027069 to /storage/kkm_last_doc_name [16:42:46]save OK [16:42:46]Clear old archive folders... [16:42:46]ProcessDocumentItem done err = 0, tmpTLVsize=286 [16:42:46]tlvbuf is 001B2B10 [16:42:46]SAM_PROTO_ClearQueue [16:42:46]wFMCommunicate request_size=4 [16:42:46]MH_SAM_APDU [16:42:46]CAPDU: 80 09 00 00 [16:42:46]Write to MH i2c: E2 08 00 DC 02 80 09 00 00 00 00 00 00 50 [16:42:46]Write i2c OK [16:42:46]MH_I2C_Read... [16:42:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:42:46]Read from MH i2c: E2 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: E2 03 00 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: E2 03 00 DC 02 00 90 00 52 [16:42:46]RAPDU: 90 00 [16:42:46]wFMCommunicate OK [16:42:46]SAM_PROTO_ClearQueue done [16:42:46]KKMCreateOFDPacket [16:42:46]OFDProtocolAddRootSTLVToBuf [16:42:46]FM_MakeSignedData [16:42:46]FM_MakeSignedData [16:42:46]SAM_PROTO_SignData [16:42:46]wFMCommunicate request_size=4 [16:42:46]MH_SAM_APDU [16:42:46]CAPDU: 80 0D 01 02 [16:42:46]Write to MH i2c: E2 08 00 DD 02 80 0D 01 02 00 00 00 00 58 [16:42:46]Write i2c OK [16:42:46]MH_I2C_Read... [16:42:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:42:46]Read from MH i2c: E2 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: E2 03 00 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: E2 03 00 DD 02 00 90 00 53 [16:42:46]RAPDU: 90 00 [16:42:46]wFMCommunicate OK [16:42:46]wFMCommunicate request_size=255 [16:42:46]MH_SAM_APDU [16:42:46]CAPDU: 80 0D 02 02 FA 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 2F 00 00 00 F4 03 04 00 06 75 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 [16:42:46]Write to MH i2c: E2 02 01 DE 02 80 0D 02 02 FA 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 2F 00 00 00 F4 03 04 00 06 75 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 00 00 88 [16:42:46]Write i2c OK [16:42:46]MH_I2C_Read... [16:42:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:42:46]Read from MH i2c: E2 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: E2 03 00 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: E2 03 00 DE 02 00 90 00 54 [16:42:46]RAPDU: 90 00 [16:42:46]wFMCommunicate OK [16:42:46]wFMCommunicate request_size=45 [16:42:46]MH_SAM_APDU [16:42:46]CAPDU: 80 0D 02 02 28 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 BD 69 00 00 35 04 06 00 D8 9C 67 A7 E4 E4 [16:42:46]Write to MH i2c: E2 30 00 DF 02 80 0D 02 02 28 00 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 BD 69 00 00 35 04 06 00 D8 9C 67 A7 E4 E4 00 00 26 [16:42:46]Write i2c OK [16:42:46]MH_I2C_Read... [16:42:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:42:46]Read from MH i2c: E2 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: E2 03 00 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: E2 03 00 DF 02 00 90 00 55 [16:42:46]RAPDU: 90 00 [16:42:46]wFMCommunicate OK [16:42:46]wFMCommunicate request_size=4 [16:42:46]MH_SAM_APDU [16:42:46]CAPDU: 80 0D 03 02 [16:42:46]Write to MH i2c: E2 08 00 E0 02 80 0D 03 02 00 00 00 00 5D [16:42:46]Write i2c OK [16:42:46]MH_I2C_Read... [16:42:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:42:46]Read from MH i2c: E2 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: E2 0B 00 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: E2 0B 00 E0 02 00 12 E6 EF A2 DF 62 13 6C 90 00 A7 [16:42:46]RAPDU: 12 E6 EF A2 DF 62 13 6C 90 00 [16:42:46]wFMCommunicate OK [16:42:46]SAM_PROTO_SignData done [16:42:46]FM_MakeSignedData done [16:42:46]CreateOFDProtocolMessage [16:42:46]wFMCommunicate request_size=4 [16:42:46]MH_SAM_APDU [16:42:46]CAPDU: 80 11 00 00 [16:42:46]Write to MH i2c: E2 08 00 E1 02 80 11 00 00 00 00 00 00 5D [16:42:46]Write i2c OK [16:42:46]MH_I2C_Read... [16:42:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:42:46]Read from MH i2c: E2 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: E2 17 00 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: E2 17 00 E1 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 B6 [16:42:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [16:42:46]wFMCommunicate OK [16:42:46]CreateOFDProtocolMessage done [16:42:46]OFDSenderStorePacket 27069 [16:42:46]StoreOFDPacket docnum=27069 [16:42:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 32 01 00 00 39 A7 2A 01 13 B2 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 2F 00 00 00 F4 03 04 00 06 75 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 BD 69 00 00 35 04 06 00 D8 9C 67 A7 E4 E4 12 E6 EF A2 DF 62 13 6C [16:42:46]CheckFolder [16:42:46]dirname=/storage/ofd_packets [16:42:46]CheckFolder done [16:42:46]ProducePacketName [16:42:46]name=ofd_packets/00027069 [16:42:46]NVStorageSaveData ofd_packets/00027069 [16:42:46]File name is /storage/ofd_packets/00027069 [16:42:46]Write 336 bytes [16:42:46]NVStorageSaveData done [16:42:46]OFDSenderStorePacket done [16:42:46]KKMCreateOFDPacket done [16:42:46]NVStorageSaveData kkm_last_timestamp [16:42:46]File name is /storage/kkm_last_timestamp [16:42:46]Write 4 bytes [16:42:46]NVStorageSaveData done [16:42:46]ExternCall_PrintAddStr [16:42:46]wPrintStart [16:42:46]Write to MH i2c: 01 00 00 E2 02 E4 [16:42:46]Write i2c OK [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: 01 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: 01 07 00 [16:42:46]MH_I2C_Read... [16:42:46]Read from MH i2c: 01 07 00 E2 02 00 00 00 00 00 FF 0F F9 [16:42:46]RasterBufferAndPrint [16:42:46]line Счет N : (3)150467 [16:42:46]line ИНН: 02508201610067 [16:42:46]line Контрольно-Кассовый Чек [16:42:46]line ПРОДАЖА [16:42:46]line Товар: 4700040114120 [16:42:46]line Султан чай 1л. чер персик [16:42:46]line 1.000 * 65.00 [16:42:46]line = 65.00 [16:42:46]line НДС 12% НСП 1% [16:42:46]line > о реализуемом товаре [16:42:46]line ИТОГО: 65.00 [16:42:46]line НСП 1% : 0.57 [16:42:46]line НДС 12% : 6.90 [16:42:46]line Наличными: 65.00 [16:42:46]line Безнал.: 0.00 [16:42:46]line Место: АЗС № 134 "Партнер Нефть" [16:42:46]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [16:42:46]line СНО: Общий режим [16:42:46]line Чек 47 28.07.2024 16:42 [16:42:46]line Смена: 433 ФФД: 1.0 [16:42:46]line ЗНМ: 0300000043 [16:42:46]line РНМ: 0000000000092663 [16:42:46]line Версия ККМ: 001 [16:42:46]line ФМ: 0000000000874937 [16:42:46]line ФД: 27069 [16:42:46]line ФПД: 238166265554148 [16:42:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T164246&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27069&fm=238166265554148&tin=02508201610067®Number=0000000000092663&sum=6500 [16:42:47]OFD Sender: Processing packet 27069 [packets to send 9, broken 8] [16:42:47]ProducePacketName [16:42:47]name=ofd_packets/00027069 [16:42:47]OFD Sender: To server: pG, [16:42:47]CommunicateWithHost lk.salyk.kg:30040 [16:42:47]ConnectInit lk.salyk.kg [16:42:47]line 0 [16:42:47]written 0, free lines is 4095 [16:42:47]Connected sock=10 [16:42:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 32 01 00 00 39 A7 2A 01 13 B2 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 2F 00 00 00 F4 03 04 00 06 75 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 BD 69 00 00 35 04 06 00 D8 9C 67 A7 E4 E4 12 E6 EF A2 DF 62 13 6C [16:42:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 2F 23 47 00 0F 3F 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 38 37 34 39 33 37 10 04 04 00 BD 69 00 00 F4 03 04 00 59 1B A6 66 B6 04 01 00 00 A5 51 2A 23 5C CF CD 33 [16:42:47]CommunicateWithHost err = 0 [16:42:47]CheckOFDResponse [16:42:47]1017 (14) - 77093643461234 [16:42:47]1041 (16) - 0000000000874937 [16:42:47]1040 (4) - 27069 [16:42:47]1012 (4) - 28.07.2024 10:20 [16:42:47]1206 (1) - 0 [16:42:47]OFD Sender: Remove packet 27069 [16:42:47]ProducePacketName [16:42:47]name=ofd_packets/00027069 [16:42:47]NVStorageDeleteData [16:42:47]Write to MH i2c: 01 00 00 09 03 0C [16:42:47]Write i2c OK [16:42:47]MH_I2C_Read... [16:42:47]Read from MH i2c: 01 [16:42:47]MH_I2C_Read... [16:42:47]Read from MH i2c: 01 07 00 [16:42:47]MH_I2C_Read... [16:42:47]Read from MH i2c: 01 07 00 09 03 00 00 00 00 00 01 0D 21 [16:42:47]RasterBufferAndPrint [16:42:47]line [16:42:47]line [16:42:47]line [16:42:47]line [16:42:47]line [16:42:47]written 0, free lines is 3336 [16:42:47]MH_Cut [16:42:47]Write to MH i2c: D1 01 00 10 03 01 E5 [16:42:47]Write i2c OK [16:42:47]MH_I2C_Read... [16:42:47]Read from MH i2c: D1 [16:42:47]MH_I2C_Read... [16:42:47]Read from MH i2c: D1 01 00 [16:42:47]MH_I2C_Read... [16:42:47]Read from MH i2c: D1 01 00 10 03 00 E4 [16:42:47]Write to MH i2c: 01 00 00 11 03 14 [16:42:47]Write i2c OK [16:42:47]MH_I2C_Read... [16:42:47]OFD Sender: No OFD packet to send [16:42:48]*** Cut start [16:42:48]*** Partial cut [16:42:48]*** CUTSNS_PIN = 1 [16:42:48]*** CUTSNS_PIN = 0 [16:42:48]*** Brake cut motor [16:42:48]Read from MH i2c: 01 [16:42:48]MH_I2C_Read... [16:42:48]*** Stop cut motor [16:42:48]*** Cut end [16:42:48]Read from MH i2c: 01 07 00 [16:42:48]MH_I2C_Read... [16:42:48]Read from MH i2c: 01 07 00 11 03 00 00 00 00 00 FF 0F 29 [16:42:48]process_action close_receipt done [16:42:48]requested_data is exist [16:42:48]produce_requested_data [16:42:48]requested_item fm.sn is exist - process it [16:42:48]wFMCommunicate request_size=4 [16:42:48]MH_SAM_APDU [16:42:48]CAPDU: 80 11 00 00 [16:42:48]Write to MH i2c: E2 08 00 12 03 80 11 00 00 00 00 00 00 8F [16:42:48]Write i2c OK [16:42:48]MH_I2C_Read... [16:42:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:42:48]Read from MH i2c: E2 [16:42:48]MH_I2C_Read... [16:42:48]Read from MH i2c: E2 17 00 [16:42:48]MH_I2C_Read... [16:42:48]Read from MH i2c: E2 17 00 12 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 E8 [16:42:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [16:42:48]wFMCommunicate OK [16:42:48]requested_item fd.num is exist - process it [16:42:48]SAM_PROTO_GetFieldsCounters [16:42:48]wFMCommunicate request_size=4 [16:42:48]MH_SAM_APDU [16:42:48]CAPDU: 80 13 00 00 [16:42:48]Write to MH i2c: E2 08 00 13 03 80 13 00 00 00 00 00 00 92 [16:42:48]Write i2c OK [16:42:48]MH_I2C_Read... [16:42:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:42:49]Read from MH i2c: E2 [16:42:49]MH_I2C_Read... [16:42:49]Read from MH i2c: E2 62 00 [16:42:49]MH_I2C_Read... [16:42:49]Read from MH i2c: E2 62 00 13 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 BD 69 00 00 0E 04 04 00 B1 01 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 1F [16:42:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 BD 69 00 00 0E 04 04 00 B1 01 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:42:49]wFMCommunicate OK [16:42:49]SAM_PROTO_GetFieldsCounters done [16:42:49]requested_item shift.num is exist - process it [16:42:49]requested_item shift.opened is exist - process it [16:42:49]req_shift_opened [16:42:49]FM_GetShiftState [16:42:49]SAM_PROTO_GetShiftState [16:42:49]wFMCommunicate request_size=4 [16:42:49]MH_SAM_APDU [16:42:49]CAPDU: 80 13 01 00 [16:42:49]Write to MH i2c: E2 08 00 14 03 80 13 01 00 00 00 00 00 94 [16:42:49]Write i2c OK [16:42:49]MH_I2C_Read... [16:42:49]Read from MH i2c: E2 [16:42:49]MH_I2C_Read... [16:42:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:42:49]Read from MH i2c: E2 0E 00 [16:42:49]MH_I2C_Read... [16:42:49]Read from MH i2c: E2 0E 00 14 03 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 BC [16:42:49]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [16:42:49]wFMCommunicate OK [16:42:49]SAM_PROTO_GetShiftState done [16:42:49]FM_GetShiftState done [16:42:49]req_shift_opened done [16:42:49]requested_item shift.open_date is exist - process it [16:42:49]req_shift_open_date [16:42:49]req_shift_open_date done [16:42:49]produce_requested_data done [16:42:49]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27069,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [16:42:49]process_action_free close_receipt [16:42:49]json_value_free [16:42:49]json_value_free done [16:42:49]process_json_proto returns [16:42:49]Send response to host [16:42:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27069,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [16:42:49]free response buf [16:42:49]execute_script done [16:42:49]execute_script returns [16:42:49]free content buf [16:42:49]Sock 9.Close socket [16:42:49]Sock 9.Thread stoped [16:42:52]OFD Sender: No OFD packet to send [16:42:57]OFD Sender: No OFD packet to send [16:43:01]accept exits with 8 [16:43:01]New connection [16:43:01]New thread 3066928484 created [16:43:01]Thread 3066785124 joined [16:43:01]Waiting for new connection... [16:43:01] Sock 8.Parse request [16:43:01]Sock 8.Check first char [16:43:01]Sock 8.First char is OK [16:43:01]request: POST /json_proto HTTP/1.0 [16:43:01]Method: POST [16:43:01]URL: /json_proto [16:43:01]Method is POST - this is cgi request [16:43:01]url: /json_proto [16:43:01]query_string will be loaded in cgi processing [16:43:01]execute_cgi json_proto POST (null) [16:43:01]execute_cgi path=json_proto method=POST [16:43:01]POST find Content-Length [16:43:01]Host: 172.17.45.8:8080 [16:43:01]Content-Length: 654 [16:43:01]Content-Type: application/json [16:43:01] [16:43:01]POST finish read [16:43:01]Found Content-Length = 654 [16:43:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150468", "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" : 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" ] } } [16:43:01]execute_script... [16:43: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)150468", "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" : 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" ] } } [16:43:01]POST & json_proto [16:43:01]process_json_proto [16:43:01]json parsed OK: [16:43:01]protocol is kg_v1.0 [16:43:01]action value=close_receipt [16:43:01]process_action close_receipt [16:43:01]cmd_close_receipt [16:43:01]MH_GetDate [16:43:01]Write to MH i2c: F0 00 00 15 03 07 [16:43:01]Write i2c OK [16:43:01]MH_I2C_Read... [16:43:01]Read from MH i2c: F0 [16:43:01]MH_I2C_Read... [16:43:01]Read from MH i2c: F0 09 00 [16:43:01]MH_I2C_Read... [16:43:01]Read from MH i2c: F0 09 00 15 03 00 17 75 A6 66 A6 1F 7F 64 50 [16:43:01]GetLastDocTimeStamp 1722184966 [16:43:01]current date 1722184983 [16:43:01]FM_GetShiftState [16:43:01]SAM_PROTO_GetShiftState [16:43:01]wFMCommunicate request_size=4 [16:43:01]MH_SAM_APDU [16:43:01]CAPDU: 80 13 01 00 [16:43:01]Write to MH i2c: E2 08 00 16 03 80 13 01 00 00 00 00 00 96 [16:43:01]Write i2c OK [16:43:01]MH_I2C_Read... [16:43:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:43:01]Read from MH i2c: E2 [16:43:01]MH_I2C_Read... [16:43:01]Read from MH i2c: E2 0E 00 [16:43:01]MH_I2C_Read... [16:43:01]Read from MH i2c: E2 0E 00 16 03 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 BE [16:43:01]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [16:43:01]wFMCommunicate OK [16:43:01]SAM_PROTO_GetShiftState done [16:43:01]FM_GetShiftState done [16:43:01]opened in 1722127230 [16:43:01]opened+sec_in_day 1722213630 [16:43:01]quantity*price = 9500 [16:43:01]sum+1 = 9501 [16:43:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 48 28.07.2024 16:43 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27070 ФПД: 202946832099060 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T164303&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27070&fm=202946832099060&tin=02508201610067®Number=0000000000092663&sum=9500 0 [16:43:03]StoreToDocumentArchive [16:43:03]shift 433 fd 27070 [16:43:03]save to /storage/0433/doc_00027070 [16:43:03]save last doc name /storage/0433/doc_00027070 to /storage/kkm_last_doc_name [16:43:03]save OK [16:43:03]Clear old archive folders... [16:43:03]ProcessDocumentItem done err = 0, tmpTLVsize=293 [16:43:03]tlvbuf is 0017F4D0 [16:43:03]SAM_PROTO_ClearQueue [16:43:03]wFMCommunicate request_size=4 [16:43:03]MH_SAM_APDU [16:43:03]CAPDU: 80 09 00 00 [16:43:03]Write to MH i2c: E2 08 00 23 03 80 09 00 00 00 00 00 00 98 [16:43:03]Write i2c OK [16:43:03]MH_I2C_Read... [16:43:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:43:03]Read from MH i2c: E2 [16:43:03]MH_I2C_Read... [16:43:03]Read from MH i2c: E2 03 00 [16:43:03]MH_I2C_Read... [16:43:03]Read from MH i2c: E2 03 00 23 03 00 90 00 9A [16:43:03]RAPDU: 90 00 [16:43:03]wFMCommunicate OK [16:43:03]SAM_PROTO_ClearQueue done [16:43:03]KKMCreateOFDPacket [16:43:03]OFDProtocolAddRootSTLVToBuf [16:43:03]FM_MakeSignedData [16:43:03]FM_MakeSignedData [16:43:03]SAM_PROTO_SignData [16:43:03]wFMCommunicate request_size=4 [16:43:03]MH_SAM_APDU [16:43:03]CAPDU: 80 0D 01 02 [16:43:03]Write to MH i2c: E2 08 00 24 03 80 0D 01 02 00 00 00 00 A0 [16:43:03]Write i2c OK [16:43:03]MH_I2C_Read... [16:43:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:43:03]Read from MH i2c: E2 [16:43:03]MH_I2C_Read... [16:43:03]Read from MH i2c: E2 03 00 [16:43:03]MH_I2C_Read... [16:43:03]Read from MH i2c: E2 03 00 24 03 00 90 00 9B [16:43:03]RAPDU: 90 00 [16:43:03]wFMCommunicate OK [16:43:03]wFMCommunicate request_size=255 [16:43:03]MH_SAM_APDU [16:43:03]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 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 30 00 00 00 F4 03 04 00 17 75 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [16:43:03]Write to MH i2c: E2 02 01 25 03 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 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 30 00 00 00 F4 03 04 00 17 75 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 BA [16:43:03]Write i2c OK [16:43:03]MH_I2C_Read... [16:43:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:43:03]Read from MH i2c: E2 [16:43:03]MH_I2C_Read... [16:43:03]Read from MH i2c: E2 03 00 [16:43:03]MH_I2C_Read... [16:43:03]Read from MH i2c: E2 03 00 25 03 00 90 00 9C [16:43:03]RAPDU: 90 00 [16:43:03]wFMCommunicate OK [16:43:03]wFMCommunicate request_size=52 [16:43:03]MH_SAM_APDU [16:43:03]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 BE 69 00 00 35 04 06 00 B8 94 3D D5 E6 F4 [16:43:03]Write to MH i2c: E2 37 00 26 03 80 0D 02 02 2F 00 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 BE 69 00 00 35 04 06 00 B8 94 3D D5 E6 F4 00 00 CC [16:43:03]Write i2c OK [16:43:03]MH_I2C_Read... [16:43:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:43:03]Read from MH i2c: E2 [16:43:03]MH_I2C_Read... [16:43:03]Read from MH i2c: E2 03 00 [16:43:03]MH_I2C_Read... [16:43:03]Read from MH i2c: E2 03 00 26 03 00 90 00 9D [16:43:03]RAPDU: 90 00 [16:43:03]wFMCommunicate OK [16:43:03]wFMCommunicate request_size=4 [16:43:03]MH_SAM_APDU [16:43:03]CAPDU: 80 0D 03 02 [16:43:03]Write to MH i2c: E2 08 00 27 03 80 0D 03 02 00 00 00 00 A5 [16:43:03]Write i2c OK [16:43:03]MH_I2C_Read... [16:43:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:43:03]Read from MH i2c: E2 [16:43:03]MH_I2C_Read... [16:43:03]Read from MH i2c: E2 0B 00 [16:43:03]MH_I2C_Read... [16:43:03]Read from MH i2c: E2 0B 00 27 03 00 37 4F AE 09 1F ED 8C 79 90 00 F4 [16:43:03]RAPDU: 37 4F AE 09 1F ED 8C 79 90 00 [16:43:03]wFMCommunicate OK [16:43:03]SAM_PROTO_SignData done [16:43:03]FM_MakeSignedData done [16:43:03]CreateOFDProtocolMessage [16:43:03]wFMCommunicate request_size=4 [16:43:03]MH_SAM_APDU [16:43:03]CAPDU: 80 11 00 00 [16:43:03]Write to MH i2c: E2 08 00 28 03 80 11 00 00 00 00 00 00 A5 [16:43:03]Write i2c OK [16:43:03]MH_I2C_Read... [16:43:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:43:03]Read from MH i2c: E2 [16:43:03]MH_I2C_Read... [16:43:03]Read from MH i2c: E2 17 00 [16:43:03]MH_I2C_Read... [16:43:03]Read from MH i2c: E2 17 00 28 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 FE [16:43:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [16:43:03]wFMCommunicate OK [16:43:03]CreateOFDProtocolMessage done [16:43:03]OFDSenderStorePacket 27070 [16:43:03]StoreOFDPacket docnum=27070 [16:43:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 39 01 00 00 ED 03 31 01 B1 9B 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 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 30 00 00 00 F4 03 04 00 17 75 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 BE 69 00 00 35 04 06 00 B8 94 3D D5 E6 F4 37 4F AE 09 1F ED 8C 79 [16:43:03]CheckFolder [16:43:03]dirname=/storage/ofd_packets [16:43:03]CheckFolder done [16:43:03]ProducePacketName [16:43:03]name=ofd_packets/00027070 [16:43:03]NVStorageSaveData ofd_packets/00027070 [16:43:03]File name is /storage/ofd_packets/00027070 [16:43:03]Write 343 bytes [16:43:03]NVStorageSaveData done [16:43:03]OFDSenderStorePacket done [16:43:03]KKMCreateOFDPacket done [16:43:03]NVStorageSaveData kkm_last_timestamp [16:43:03]File name is /storage/kkm_last_timestamp [16:43:03]Write 4 bytes [16:43:03]NVStorageSaveData done [16:43:03]ExternCall_PrintAddStr [16:43:03]wPrintStart [16:43:03]Write to MH i2c: 01 00 00 29 03 2C [16:43:03]Write i2c OK [16:43:03]MH_I2C_Read... [16:43:03]Read from MH i2c: 01 [16:43:03]MH_I2C_Read... [16:43:03]Read from MH i2c: 01 07 00 [16:43:03]MH_I2C_Read... [16:43:03]Read from MH i2c: 01 07 00 29 03 00 00 00 00 00 FF 0F 41 [16:43:03]RasterBufferAndPrint [16:43:03]line Счет N : (3)150468 [16:43:03]line ИНН: 02508201610067 [16:43:03]line Контрольно-Кассовый Чек [16:43:03]line ПРОДАЖА [16:43:03]line Товар: 4700000480050 [16:43:03]line Напиток Nitro Energy эн green ж/б 0,45л [16:43:03]line 1.000 * 95.00 [16:43:03]line = 95.00 [16:43:03]line НДС 12% НСП 1% [16:43:03]line > о реализуемом товаре [16:43:03]line ИТОГО: 95.00 [16:43:03]line НСП 1% : 0.84 [16:43:03]line НДС 12% : 10.09 [16:43:03]line Наличными: 95.00 [16:43:03]line Безнал.: 0.00 [16:43:03]line Место: АЗС № 134 "Партнер Нефть" [16:43:03]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [16:43:03]line СНО: Общий режим [16:43:03]line Чек 48 28.07.2024 16:43 [16:43:03]line Смена: 433 ФФД: 1.0 [16:43:03]line ЗНМ: 0300000043 [16:43:03]line РНМ: 0000000000092663 [16:43:03]line Версия ККМ: 001 [16:43:03]line ФМ: 0000000000874937 [16:43:03]line ФД: 27070 [16:43:03]line ФПД: 202946832099060 [16:43:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T164303&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27070&fm=202946832099060&tin=02508201610067®Number=0000000000092663&sum=9500 [16:43:04]OFD Sender: Processing packet 27070 [packets to send 9, broken 8] [16:43:04]ProducePacketName [16:43:04]name=ofd_packets/00027070 [16:43:04]OFD Sender: To server: pG, [16:43:04]CommunicateWithHost lk.salyk.kg:30040 [16:43:04]ConnectInit lk.salyk.kg [16:43:04]line 0 [16:43:04]written 0, free lines is 4095 [16:43:04]Connected sock=10 [16:43:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 39 01 00 00 ED 03 31 01 B1 9B 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 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 30 00 00 00 F4 03 04 00 17 75 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 BE 69 00 00 35 04 06 00 B8 94 3D D5 E6 F4 37 4F AE 09 1F ED 8C 79 [16:43:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 5A E7 47 00 33 F1 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 38 37 34 39 33 37 10 04 04 00 BE 69 00 00 F4 03 04 00 6A 1B A6 66 B6 04 01 00 00 7F 23 9A C6 67 C9 10 BF [16:43:04]CommunicateWithHost err = 0 [16:43:04]CheckOFDResponse [16:43:04]1017 (14) - 77093643461234 [16:43:04]1041 (16) - 0000000000874937 [16:43:04]1040 (4) - 27070 [16:43:04]1012 (4) - 28.07.2024 10:20 [16:43:04]1206 (1) - 0 [16:43:04]OFD Sender: Remove packet 27070 [16:43:04]ProducePacketName [16:43:04]name=ofd_packets/00027070 [16:43:04]NVStorageDeleteData [16:43:04]Write to MH i2c: 01 00 00 51 03 54 [16:43:04]Write i2c OK [16:43:04]MH_I2C_Read... [16:43:04]Read from MH i2c: 01 [16:43:04]MH_I2C_Read... [16:43:04]Read from MH i2c: 01 07 00 [16:43:04]MH_I2C_Read... [16:43:04]Read from MH i2c: 01 07 00 51 03 00 00 00 00 00 E5 0C 4C [16:43:04]RasterBufferAndPrint [16:43:04]line [16:43:04]line [16:43:04]line [16:43:04]line [16:43:04]line [16:43:04]written 0, free lines is 3309 [16:43:04]MH_Cut [16:43:04]Write to MH i2c: D1 01 00 58 03 01 2D [16:43:04]Write i2c OK [16:43:04]MH_I2C_Read... [16:43:04]Read from MH i2c: D1 [16:43:04]MH_I2C_Read... [16:43:04]Read from MH i2c: D1 01 00 [16:43:04]MH_I2C_Read... [16:43:04]Read from MH i2c: D1 01 00 58 03 00 2C [16:43:04]Write to MH i2c: 01 00 00 59 03 5C [16:43:04]Write i2c OK [16:43:04]MH_I2C_Read... [16:43:04]OFD Sender: No OFD packet to send [16:43:05]*** Cut start [16:43:05]*** Partial cut [16:43:05]*** CUTSNS_PIN = 1 [16:43:05]*** CUTSNS_PIN = 0 [16:43:05]*** Brake cut motor [16:43:05]Read from MH i2c: 01 [16:43:05]MH_I2C_Read... [16:43:05]*** Stop cut motor [16:43:05]*** Cut end [16:43:05]Read from MH i2c: 01 07 00 [16:43:05]MH_I2C_Read... [16:43:05]Read from MH i2c: 01 07 00 59 03 00 00 00 00 00 FF 0F 71 [16:43:05]process_action close_receipt done [16:43:05]requested_data is exist [16:43:05]produce_requested_data [16:43:05]requested_item fm.sn is exist - process it [16:43:05]wFMCommunicate request_size=4 [16:43:05]MH_SAM_APDU [16:43:05]CAPDU: 80 11 00 00 [16:43:05]Write to MH i2c: E2 08 00 5A 03 80 11 00 00 00 00 00 00 D7 [16:43:05]Write i2c OK [16:43:05]MH_I2C_Read... [16:43:05]Read from MH i2c: E2 [16:43:05]MH_I2C_Read... [16:43:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:43:05]Read from MH i2c: E2 17 00 [16:43:05]MH_I2C_Read... [16:43:05]Read from MH i2c: E2 17 00 5A 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 30 [16:43:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [16:43:05]wFMCommunicate OK [16:43:05]requested_item fd.num is exist - process it [16:43:05]SAM_PROTO_GetFieldsCounters [16:43:05]wFMCommunicate request_size=4 [16:43:05]MH_SAM_APDU [16:43:05]CAPDU: 80 13 00 00 [16:43:05]Write to MH i2c: E2 08 00 5B 03 80 13 00 00 00 00 00 00 DA [16:43:05]Write i2c OK [16:43:05]MH_I2C_Read... [16:43:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:43:05]Read from MH i2c: E2 [16:43:05]MH_I2C_Read... [16:43:05]Read from MH i2c: E2 62 00 [16:43:05]MH_I2C_Read... [16:43:05]Read from MH i2c: E2 62 00 5B 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 BE 69 00 00 0E 04 04 00 B1 01 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 6B [16:43:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 BE 69 00 00 0E 04 04 00 B1 01 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:43:05]wFMCommunicate OK [16:43:05]SAM_PROTO_GetFieldsCounters done [16:43:05]requested_item shift.num is exist - process it [16:43:05]requested_item shift.opened is exist - process it [16:43:05]req_shift_opened [16:43:05]FM_GetShiftState [16:43:05]SAM_PROTO_GetShiftState [16:43:05]wFMCommunicate request_size=4 [16:43:05]MH_SAM_APDU [16:43:05]CAPDU: 80 13 01 00 [16:43:05]Write to MH i2c: E2 08 00 5C 03 80 13 01 00 00 00 00 00 DC [16:43:05]Write i2c OK [16:43:05]MH_I2C_Read... [16:43:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:43:06]Read from MH i2c: E2 [16:43:06]MH_I2C_Read... [16:43:06]Read from MH i2c: E2 0E 00 [16:43:06]MH_I2C_Read... [16:43:06]Read from MH i2c: E2 0E 00 5C 03 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 04 [16:43:06]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [16:43:06]wFMCommunicate OK [16:43:06]SAM_PROTO_GetShiftState done [16:43:06]FM_GetShiftState done [16:43:06]req_shift_opened done [16:43:06]requested_item shift.open_date is exist - process it [16:43:06]req_shift_open_date [16:43:06]req_shift_open_date done [16:43:06]produce_requested_data done [16:43:06]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27070,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [16:43:06]process_action_free close_receipt [16:43:06]json_value_free [16:43:06]json_value_free done [16:43:06]process_json_proto returns [16:43:06]Send response to host [16:43:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27070,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [16:43:06]free response buf [16:43:06]execute_script done [16:43:06]execute_script returns [16:43:06]free content buf [16:43:06]Sock 8.Close socket [16:43:06]Sock 8.Thread stoped [16:43:09]OFD Sender: No OFD packet to send [16:43:14]OFD Sender: No OFD packet to send [16:43:19]OFD Sender: No OFD packet to send [16:43:24]OFD Sender: No OFD packet to send [16:43:29]OFD Sender: No OFD packet to send [16:43:34]OFD Sender: No OFD packet to send [16:43:39]OFD Sender: No OFD packet to send [16:43:44]OFD Sender: No OFD packet to send [16:43:49]OFD Sender: No OFD packet to send [16:43:54]OFD Sender: No OFD packet to send [16:43:59]OFD Sender: No OFD packet to send [16:44:04]OFD Sender: No OFD packet to send [16:44:09]OFD Sender: No OFD packet to send [16:44:14]OFD Sender: No OFD packet to send [16:44:19]OFD Sender: No OFD packet to send [16:44:24]OFD Sender: No OFD packet to send [16:44:29]OFD Sender: No OFD packet to send [16:44:34]OFD Sender: No OFD packet to send [16:44:39]OFD Sender: No OFD packet to send [16:44:44]OFD Sender: No OFD packet to send [16:44:49]OFD Sender: No OFD packet to send [16:44:54]OFD Sender: No OFD packet to send [16:44:59]OFD Sender: No OFD packet to send [16:45:04]OFD Sender: No OFD packet to send [16:45:07]accept exits with 9 [16:45:07]New connection [16:45:07]New thread 3066785124 created [16:45:07]Thread 3066928484 joined [16:45:07]Waiting for new connection... [16:45:07] Sock 9.Parse request [16:45:07]Sock 9.Check first char [16:45:07]Sock 9.First char is OK [16:45:07]request: POST /json_proto HTTP/1.0 [16:45:07]Method: POST [16:45:07]URL: /json_proto [16:45:07]Method is POST - this is cgi request [16:45:07]url: /json_proto [16:45:07]query_string will be loaded in cgi processing [16:45:07]execute_cgi json_proto POST (null) [16:45:07]execute_cgi path=json_proto method=POST [16:45:07]POST find Content-Length [16:45:07]Host: 172.17.45.8:8080 [16:45:07]Content-Length: 669 [16:45:07]Content-Type: application/json [16:45:07] [16:45:07]POST finish read [16:45:07]Found Content-Length = 669 [16:45:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150469", "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" ] } } [16:45:07]execute_script... [16:45: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)150469", "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" ] } } [16:45:07]POST & json_proto [16:45:07]process_json_proto [16:45:07]json parsed OK: [16:45:07]protocol is kg_v1.0 [16:45:07]action value=close_receipt [16:45:07]process_action close_receipt [16:45:07]cmd_close_receipt [16:45:07]MH_GetDate [16:45:07]Write to MH i2c: F0 00 00 5D 03 4F [16:45:07]Write i2c OK [16:45:07]MH_I2C_Read... [16:45:07]Read from MH i2c: F0 [16:45:07]MH_I2C_Read... [16:45:07]Read from MH i2c: F0 09 00 [16:45:07]MH_I2C_Read... [16:45:07]Read from MH i2c: F0 09 00 5D 03 00 95 75 A6 66 A6 1F 7F 64 16 [16:45:07]GetLastDocTimeStamp 1722184983 [16:45:07]current date 1722185109 [16:45:07]FM_GetShiftState [16:45:07]SAM_PROTO_GetShiftState [16:45:07]wFMCommunicate request_size=4 [16:45:07]MH_SAM_APDU [16:45:07]CAPDU: 80 13 01 00 [16:45:07]Write to MH i2c: E2 08 00 5E 03 80 13 01 00 00 00 00 00 DE [16:45:07]Write i2c OK [16:45:07]MH_I2C_Read... [16:45:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:45:08]Read from MH i2c: E2 [16:45:08]MH_I2C_Read... [16:45:08]Read from MH i2c: E2 0E 00 [16:45:08]MH_I2C_Read... [16:45:08]Read from MH i2c: E2 0E 00 5E 03 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 06 [16:45:08]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [16:45:08]wFMCommunicate OK [16:45:08]SAM_PROTO_GetShiftState done [16:45:08]FM_GetShiftState done [16:45:08]opened in 1722127230 [16:45:08]opened+sec_in_day 1722213630 [16:45:08]quantity*price = 6500 [16:45:08]sum+1 = 6501 [16:45:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 49 28.07.2024 16:45 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27071 ФПД: 104273084078040 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T164509&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27071&fm=104273084078040&tin=02508201610067®Number=0000000000092663&sum=6500 0 [16:45:09]StoreToDocumentArchive [16:45:09]shift 433 fd 27071 [16:45:09]save to /storage/0433/doc_00027071 [16:45:09]save last doc name /storage/0433/doc_00027071 to /storage/kkm_last_doc_name [16:45:09]save OK [16:45:09]Clear old archive folders... [16:45:09]ProcessDocumentItem done err = 0, tmpTLVsize=284 [16:45:09]tlvbuf is 00180360 [16:45:09]SAM_PROTO_ClearQueue [16:45:09]wFMCommunicate request_size=4 [16:45:09]MH_SAM_APDU [16:45:09]CAPDU: 80 09 00 00 [16:45:09]Write to MH i2c: E2 08 00 6B 03 80 09 00 00 00 00 00 00 E0 [16:45:09]Write i2c OK [16:45:09]MH_I2C_Read... [16:45:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:45:09]Read from MH i2c: E2 [16:45:09]MH_I2C_Read... [16:45:09]Read from MH i2c: E2 03 00 [16:45:09]MH_I2C_Read... [16:45:09]Read from MH i2c: E2 03 00 6B 03 00 90 00 E2 [16:45:09]RAPDU: 90 00 [16:45:09]wFMCommunicate OK [16:45:09]SAM_PROTO_ClearQueue done [16:45:09]KKMCreateOFDPacket [16:45:09]OFDProtocolAddRootSTLVToBuf [16:45:09]FM_MakeSignedData [16:45:09]FM_MakeSignedData [16:45:09]SAM_PROTO_SignData [16:45:09]wFMCommunicate request_size=4 [16:45:09]MH_SAM_APDU [16:45:09]CAPDU: 80 0D 01 02 [16:45:09]Write to MH i2c: E2 08 00 6C 03 80 0D 01 02 00 00 00 00 E8 [16:45:09]Write i2c OK [16:45:09]MH_I2C_Read... [16:45:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:45:09]Read from MH i2c: E2 [16:45:09]MH_I2C_Read... [16:45:09]Read from MH i2c: E2 03 00 [16:45:09]MH_I2C_Read... [16:45:09]Read from MH i2c: E2 03 00 6C 03 00 90 00 E3 [16:45:09]RAPDU: 90 00 [16:45:09]wFMCommunicate OK [16:45:09]wFMCommunicate request_size=255 [16:45:09]MH_SAM_APDU [16:45:09]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 31 00 00 00 F4 03 04 00 95 75 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 [16:45:09]Write to MH i2c: E2 02 01 6D 03 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 31 00 00 00 F4 03 04 00 95 75 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 00 00 6E [16:45:09]Write i2c OK [16:45:09]MH_I2C_Read... [16:45:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:45:09]Read from MH i2c: E2 [16:45:09]MH_I2C_Read... [16:45:09]Read from MH i2c: E2 03 00 [16:45:09]MH_I2C_Read... [16:45:09]Read from MH i2c: E2 03 00 6D 03 00 90 00 E4 [16:45:09]RAPDU: 90 00 [16:45:09]wFMCommunicate OK [16:45:09]wFMCommunicate request_size=43 [16:45:09]MH_SAM_APDU [16:45:09]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 BF 69 00 00 35 04 06 00 5E D5 F8 22 D7 D8 [16:45:09]Write to MH i2c: E2 2E 00 6E 03 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 BF 69 00 00 35 04 06 00 5E D5 F8 22 D7 D8 00 00 FD [16:45:09]Write i2c OK [16:45:09]MH_I2C_Read... [16:45:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:45:09]Read from MH i2c: E2 [16:45:09]MH_I2C_Read... [16:45:09]Read from MH i2c: E2 03 00 [16:45:09]MH_I2C_Read... [16:45:09]Read from MH i2c: E2 03 00 6E 03 00 90 00 E5 [16:45:09]RAPDU: 90 00 [16:45:09]wFMCommunicate OK [16:45:09]wFMCommunicate request_size=4 [16:45:09]MH_SAM_APDU [16:45:09]CAPDU: 80 0D 03 02 [16:45:09]Write to MH i2c: E2 08 00 6F 03 80 0D 03 02 00 00 00 00 ED [16:45:09]Write i2c OK [16:45:09]MH_I2C_Read... [16:45:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:45:09]Read from MH i2c: E2 [16:45:09]MH_I2C_Read... [16:45:09]Read from MH i2c: E2 0B 00 [16:45:09]MH_I2C_Read... [16:45:09]Read from MH i2c: E2 0B 00 6F 03 00 F4 A6 18 E5 3B 55 97 78 90 00 24 [16:45:09]RAPDU: F4 A6 18 E5 3B 55 97 78 90 00 [16:45:09]wFMCommunicate OK [16:45:09]SAM_PROTO_SignData done [16:45:09]FM_MakeSignedData done [16:45:09]CreateOFDProtocolMessage [16:45:09]wFMCommunicate request_size=4 [16:45:09]MH_SAM_APDU [16:45:09]CAPDU: 80 11 00 00 [16:45:09]Write to MH i2c: E2 08 00 70 03 80 11 00 00 00 00 00 00 ED [16:45:09]Write i2c OK [16:45:09]MH_I2C_Read... [16:45:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:45:09]Read from MH i2c: E2 [16:45:09]MH_I2C_Read... [16:45:09]Read from MH i2c: E2 17 00 [16:45:09]MH_I2C_Read... [16:45:09]Read from MH i2c: E2 17 00 70 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 46 [16:45:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [16:45:09]wFMCommunicate OK [16:45:09]CreateOFDProtocolMessage done [16:45:09]OFDSenderStorePacket 27071 [16:45:09]StoreOFDPacket docnum=27071 [16:45:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 30 01 00 00 DB DD 28 01 2B 12 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 31 00 00 00 F4 03 04 00 95 75 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 BF 69 00 00 35 04 06 00 5E D5 F8 22 D7 D8 F4 A6 18 E5 3B 55 97 78 [16:45:09]CheckFolder [16:45:09]dirname=/storage/ofd_packets [16:45:09]CheckFolder done [16:45:09]ProducePacketName [16:45:09]name=ofd_packets/00027071 [16:45:09]NVStorageSaveData ofd_packets/00027071 [16:45:09]File name is /storage/ofd_packets/00027071 [16:45:09]Write 334 bytes [16:45:09]NVStorageSaveData done [16:45:09]OFDSenderStorePacket done [16:45:09]KKMCreateOFDPacket done [16:45:09]NVStorageSaveData kkm_last_timestamp [16:45:09]File name is /storage/kkm_last_timestamp [16:45:09]Write 4 bytes [16:45:09]NVStorageSaveData done [16:45:09]ExternCall_PrintAddStr [16:45:09]wPrintStart [16:45:09]Write to MH i2c: 01 00 00 71 03 74 [16:45:09]Write i2c OK [16:45:09]MH_I2C_Read... [16:45:09]Read from MH i2c: 01 [16:45:09]MH_I2C_Read... [16:45:09]Read from MH i2c: 01 07 00 [16:45:09]MH_I2C_Read... [16:45:09]Read from MH i2c: 01 07 00 71 03 00 00 00 00 00 FF 0F 89 [16:45:09]RasterBufferAndPrint [16:45:09]line Счет N : (3)150469 [16:45:09]line ИНН: 02508201610067 [16:45:09]line Контрольно-Кассовый Чек [16:45:09]line ПРОДАЖА [16:45:09]line Товар: 4700040114137 [16:45:09]line Султан чай 1л. зел лимон [16:45:09]line 1.000 * 65.00 [16:45:09]line = 65.00 [16:45:09]line НДС 12% НСП 1% [16:45:09]line > о реализуемом товаре [16:45:09]line ИТОГО: 65.00 [16:45:09]line НСП 1% : 0.57 [16:45:09]line НДС 12% : 6.90 [16:45:09]line Наличными: 65.00 [16:45:09]line Безнал.: 0.00 [16:45:09]line Место: АЗС № 134 "Партнер Нефть" [16:45:09]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [16:45:09]line СНО: Общий режим [16:45:09]line Чек 49 28.07.2024 16:45 [16:45:09]line Смена: 433 ФФД: 1.0 [16:45:09]line ЗНМ: 0300000043 [16:45:09]line РНМ: 0000000000092663 [16:45:09]line Версия ККМ: 001 [16:45:09]line ФМ: 0000000000874937 [16:45:09]line ФД: 27071 [16:45:09]line ФПД: 104273084078040 [16:45:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T164509&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27071&fm=104273084078040&tin=02508201610067®Number=0000000000092663&sum=6500 [16:45:10]OFD Sender: Processing packet 27071 [packets to send 9, broken 8] [16:45:10]ProducePacketName [16:45:10]name=ofd_packets/00027071 [16:45:10]OFD Sender: To server: pG, [16:45:10]CommunicateWithHost lk.salyk.kg:30040 [16:45:10]ConnectInit lk.salyk.kg [16:45:10]line 0 [16:45:10]written 0, free lines is 4095 [16:45:10]Connected sock=10 [16:45:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 30 01 00 00 DB DD 28 01 2B 12 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 31 00 00 00 F4 03 04 00 95 75 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 BF 69 00 00 35 04 06 00 5E D5 F8 22 D7 D8 F4 A6 18 E5 3B 55 97 78 [16:45:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 8E F9 47 00 EE 45 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 38 37 34 39 33 37 10 04 04 00 BF 69 00 00 F4 03 04 00 E8 1B A6 66 B6 04 01 00 00 3F B7 43 D7 42 AB 38 F8 [16:45:10]CommunicateWithHost err = 0 [16:45:10]CheckOFDResponse [16:45:10]1017 (14) - 77093643461234 [16:45:10]1041 (16) - 0000000000874937 [16:45:10]1040 (4) - 27071 [16:45:10]1012 (4) - 28.07.2024 10:22 [16:45:10]1206 (1) - 0 [16:45:10]OFD Sender: Remove packet 27071 [16:45:10]ProducePacketName [16:45:10]name=ofd_packets/00027071 [16:45:10]NVStorageDeleteData [16:45:10]Write to MH i2c: 01 00 00 98 03 9B [16:45:10]Write i2c OK [16:45:10]MH_I2C_Read... [16:45:10]Read from MH i2c: 01 [16:45:10]MH_I2C_Read... [16:45:10]Read from MH i2c: 01 07 00 [16:45:10]MH_I2C_Read... [16:45:10]Read from MH i2c: 01 07 00 98 03 00 00 00 00 00 0F 0D BE [16:45:10]RasterBufferAndPrint [16:45:10]line [16:45:10]line [16:45:10]line [16:45:10]line [16:45:10]line [16:45:10]written 0, free lines is 3349 [16:45:10]MH_Cut [16:45:10]Write to MH i2c: D1 01 00 9F 03 01 74 [16:45:10]Write i2c OK [16:45:10]MH_I2C_Read... [16:45:10]Read from MH i2c: D1 [16:45:10]MH_I2C_Read... [16:45:10]Read from MH i2c: D1 01 00 [16:45:10]MH_I2C_Read... [16:45:10]Read from MH i2c: D1 01 00 9F 03 00 73 [16:45:10]Write to MH i2c: 01 00 00 A0 03 A3 [16:45:10]Write i2c OK [16:45:10]MH_I2C_Read... [16:45:10]OFD Sender: No OFD packet to send [16:45:11]*** Cut start [16:45:11]*** Partial cut [16:45:11]*** CUTSNS_PIN = 1 [16:45:11]*** CUTSNS_PIN = 0 [16:45:11]*** Brake cut motor [16:45:11]Read from MH i2c: 01 [16:45:11]MH_I2C_Read... [16:45:11]*** Stop cut motor [16:45:11]*** Cut end [16:45:11]Read from MH i2c: 01 07 00 [16:45:11]MH_I2C_Read... [16:45:11]Read from MH i2c: 01 07 00 A0 03 00 00 00 00 00 FF 0F B8 [16:45:11]process_action close_receipt done [16:45:11]requested_data is exist [16:45:11]produce_requested_data [16:45:11]requested_item fm.sn is exist - process it [16:45:11]wFMCommunicate request_size=4 [16:45:11]MH_SAM_APDU [16:45:11]CAPDU: 80 11 00 00 [16:45:11]Write to MH i2c: E2 08 00 A1 03 80 11 00 00 00 00 00 00 1E [16:45:11]Write i2c OK [16:45:11]MH_I2C_Read... [16:45:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:45:11]Read from MH i2c: E2 [16:45:11]MH_I2C_Read... [16:45:11]Read from MH i2c: E2 17 00 [16:45:11]MH_I2C_Read... [16:45:11]Read from MH i2c: E2 17 00 A1 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 77 [16:45:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [16:45:11]wFMCommunicate OK [16:45:11]requested_item fd.num is exist - process it [16:45:11]SAM_PROTO_GetFieldsCounters [16:45:11]wFMCommunicate request_size=4 [16:45:11]MH_SAM_APDU [16:45:11]CAPDU: 80 13 00 00 [16:45:11]Write to MH i2c: E2 08 00 A2 03 80 13 00 00 00 00 00 00 21 [16:45:11]Write i2c OK [16:45:11]MH_I2C_Read... [16:45:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:45:11]Read from MH i2c: E2 [16:45:11]MH_I2C_Read... [16:45:11]Read from MH i2c: E2 62 00 [16:45:11]MH_I2C_Read... [16:45:11]Read from MH i2c: E2 62 00 A2 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 BF 69 00 00 0E 04 04 00 B1 01 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 B6 [16:45:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 BF 69 00 00 0E 04 04 00 B1 01 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:45:11]wFMCommunicate OK [16:45:11]SAM_PROTO_GetFieldsCounters done [16:45:11]requested_item shift.num is exist - process it [16:45:11]requested_item shift.opened is exist - process it [16:45:11]req_shift_opened [16:45:11]FM_GetShiftState [16:45:11]SAM_PROTO_GetShiftState [16:45:11]wFMCommunicate request_size=4 [16:45:11]MH_SAM_APDU [16:45:11]CAPDU: 80 13 01 00 [16:45:11]Write to MH i2c: E2 08 00 A3 03 80 13 01 00 00 00 00 00 23 [16:45:11]Write i2c OK [16:45:11]MH_I2C_Read... [16:45:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:45:12]Read from MH i2c: E2 [16:45:12]MH_I2C_Read... [16:45:12]Read from MH i2c: E2 0E 00 [16:45:12]MH_I2C_Read... [16:45:12]Read from MH i2c: E2 0E 00 A3 03 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 4B [16:45:12]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [16:45:12]wFMCommunicate OK [16:45:12]SAM_PROTO_GetShiftState done [16:45:12]FM_GetShiftState done [16:45:12]req_shift_opened done [16:45:12]requested_item shift.open_date is exist - process it [16:45:12]req_shift_open_date [16:45:12]req_shift_open_date done [16:45:12]produce_requested_data done [16:45:12]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27071,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [16:45:12]process_action_free close_receipt [16:45:12]json_value_free [16:45:12]json_value_free done [16:45:12]process_json_proto returns [16:45:12]Send response to host [16:45:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27071,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [16:45:12]free response buf [16:45:12]execute_script done [16:45:12]execute_script returns [16:45:12]free content buf [16:45:12]Sock 9.Close socket [16:45:12]Sock 9.Thread stoped [16:45:15]OFD Sender: No OFD packet to send [16:45:20]OFD Sender: No OFD packet to send [16:45:25]OFD Sender: No OFD packet to send [16:45:30]OFD Sender: No OFD packet to send [16:45:35]OFD Sender: No OFD packet to send [16:45:37]accept exits with 8 [16:45:37]New connection [16:45:37]New thread 3066928484 created [16:45:37]Thread 3066785124 joined [16:45:37]Waiting for new connection... [16:45:37] Sock 8.Parse request [16:45:37]Sock 8.Check first char [16:45:37]Sock 8.First char is OK [16:45:37]request: POST /json_proto HTTP/1.0 [16:45:37]Method: POST [16:45:37]URL: /json_proto [16:45:37]Method is POST - this is cgi request [16:45:37]url: /json_proto [16:45:37]query_string will be loaded in cgi processing [16:45:37]execute_cgi json_proto POST (null) [16:45:37]execute_cgi path=json_proto method=POST [16:45:37]POST find Content-Length [16:45:37]Host: 172.17.45.8:8080 [16:45:37]Content-Length: 646 [16:45:37]Content-Type: application/json [16:45:37] [16:45:37]POST finish read [16:45:37]Found Content-Length = 646 [16:45:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150470", "tax_sys" : 0, "items" : [ { "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 2.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" ] } } [16:45:37]execute_script... [16:45: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)150470", "tax_sys" : 0, "items" : [ { "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 2.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" ] } } [16:45:37]POST & json_proto [16:45:37]process_json_proto [16:45:37]json parsed OK: [16:45:37]protocol is kg_v1.0 [16:45:37]action value=close_receipt [16:45:37]process_action close_receipt [16:45:37]cmd_close_receipt [16:45:37]MH_GetDate [16:45:37]Write to MH i2c: F0 00 00 A4 03 96 [16:45:37]Write i2c OK [16:45:37]MH_I2C_Read... [16:45:37]Read from MH i2c: F0 [16:45:37]MH_I2C_Read... [16:45:37]Read from MH i2c: F0 09 00 [16:45:37]MH_I2C_Read... [16:45:37]Read from MH i2c: F0 09 00 A4 03 00 B2 75 A6 66 A6 1F 7F 64 7A [16:45:37]GetLastDocTimeStamp 1722185109 [16:45:37]current date 1722185138 [16:45:37]FM_GetShiftState [16:45:37]SAM_PROTO_GetShiftState [16:45:37]wFMCommunicate request_size=4 [16:45:37]MH_SAM_APDU [16:45:37]CAPDU: 80 13 01 00 [16:45:37]Write to MH i2c: E2 08 00 A5 03 80 13 01 00 00 00 00 00 25 [16:45:37]Write i2c OK [16:45:37]MH_I2C_Read... [16:45:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:45:37]Read from MH i2c: E2 [16:45:37]MH_I2C_Read... [16:45:37]Read from MH i2c: E2 0E 00 [16:45:37]MH_I2C_Read... [16:45:37]Read from MH i2c: E2 0E 00 A5 03 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 4D [16:45:37]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [16:45:37]wFMCommunicate OK [16:45:37]SAM_PROTO_GetShiftState done [16:45:37]FM_GetShiftState done [16:45:37]opened in 1722127230 [16:45:37]opened+sec_in_day 1722213630 [16:45:37]quantity*price = 10000 [16:45:37]sum+1 = 10001 [16:45:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 50 28.07.2024 16:45 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27072 ФПД: 37724541979157 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T164538&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27072&fm=37724541979157&tin=02508201610067®Number=0000000000092663&sum=10000 0 [16:45:38]StoreToDocumentArchive [16:45:38]shift 433 fd 27072 [16:45:38]save to /storage/0433/doc_00027072 [16:45:38]save last doc name /storage/0433/doc_00027072 to /storage/kkm_last_doc_name [16:45:38]save OK [16:45:38]Clear old archive folders... [16:45:38]ProcessDocumentItem done err = 0, tmpTLVsize=275 [16:45:38]tlvbuf is B6EA2410 [16:45:38]SAM_PROTO_ClearQueue [16:45:38]wFMCommunicate request_size=4 [16:45:38]MH_SAM_APDU [16:45:38]CAPDU: 80 09 00 00 [16:45:38]Write to MH i2c: E2 08 00 B2 03 80 09 00 00 00 00 00 00 27 [16:45:38]Write i2c OK [16:45:38]MH_I2C_Read... [16:45:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:45:38]Read from MH i2c: E2 [16:45:38]MH_I2C_Read... [16:45:38]Read from MH i2c: E2 03 00 [16:45:38]MH_I2C_Read... [16:45:38]Read from MH i2c: E2 03 00 B2 03 00 90 00 29 [16:45:38]RAPDU: 90 00 [16:45:38]wFMCommunicate OK [16:45:38]SAM_PROTO_ClearQueue done [16:45:38]KKMCreateOFDPacket [16:45:38]OFDProtocolAddRootSTLVToBuf [16:45:38]FM_MakeSignedData [16:45:38]FM_MakeSignedData [16:45:38]SAM_PROTO_SignData [16:45:38]wFMCommunicate request_size=4 [16:45:38]MH_SAM_APDU [16:45:38]CAPDU: 80 0D 01 02 [16:45:38]Write to MH i2c: E2 08 00 B3 03 80 0D 01 02 00 00 00 00 2F [16:45:38]Write i2c OK [16:45:38]MH_I2C_Read... [16:45:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:45:39]Read from MH i2c: E2 [16:45:39]MH_I2C_Read... [16:45:39]Read from MH i2c: E2 03 00 [16:45:39]MH_I2C_Read... [16:45:39]Read from MH i2c: E2 03 00 B3 03 00 90 00 2A [16:45:39]RAPDU: 90 00 [16:45:39]wFMCommunicate OK [16:45:39]wFMCommunicate request_size=255 [16:45:39]MH_SAM_APDU [16:45:39]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 20 D0 B1 2F D0 B3 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 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 32 00 00 00 F4 03 04 00 B2 75 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 [16:45:39]Write to MH i2c: E2 02 01 B4 03 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 20 D0 B1 2F D0 B3 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 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 32 00 00 00 F4 03 04 00 B2 75 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 00 00 A9 [16:45:39]Write i2c OK [16:45:39]MH_I2C_Read... [16:45:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:45:39]Read from MH i2c: E2 [16:45:39]MH_I2C_Read... [16:45:39]Read from MH i2c: E2 03 00 [16:45:39]MH_I2C_Read... [16:45:39]Read from MH i2c: E2 03 00 B4 03 00 90 00 2B [16:45:39]RAPDU: 90 00 [16:45:39]wFMCommunicate OK [16:45:39]wFMCommunicate request_size=34 [16:45:39]MH_SAM_APDU [16:45:39]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C0 69 00 00 35 04 06 00 22 4F 6D EC 8A 15 [16:45:39]Write to MH i2c: E2 25 00 B5 03 80 0D 02 02 1D 00 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C0 69 00 00 35 04 06 00 22 4F 6D EC 8A 15 00 00 8B [16:45:39]Write i2c OK [16:45:39]MH_I2C_Read... [16:45:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:45:39]Read from MH i2c: E2 [16:45:39]MH_I2C_Read... [16:45:39]Read from MH i2c: E2 03 00 [16:45:39]MH_I2C_Read... [16:45:39]Read from MH i2c: E2 03 00 B5 03 00 90 00 2C [16:45:39]RAPDU: 90 00 [16:45:39]wFMCommunicate OK [16:45:39]wFMCommunicate request_size=4 [16:45:39]MH_SAM_APDU [16:45:39]CAPDU: 80 0D 03 02 [16:45:39]Write to MH i2c: E2 08 00 B6 03 80 0D 03 02 00 00 00 00 34 [16:45:39]Write i2c OK [16:45:39]MH_I2C_Read... [16:45:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:45:39]Read from MH i2c: E2 [16:45:39]MH_I2C_Read... [16:45:39]Read from MH i2c: E2 0B 00 [16:45:39]MH_I2C_Read... [16:45:39]Read from MH i2c: E2 0B 00 B6 03 00 14 85 8A 01 98 A1 4D 73 90 00 52 [16:45:39]RAPDU: 14 85 8A 01 98 A1 4D 73 90 00 [16:45:39]wFMCommunicate OK [16:45:39]SAM_PROTO_SignData done [16:45:39]FM_MakeSignedData done [16:45:39]CreateOFDProtocolMessage [16:45:39]wFMCommunicate request_size=4 [16:45:39]MH_SAM_APDU [16:45:39]CAPDU: 80 11 00 00 [16:45:39]Write to MH i2c: E2 08 00 B7 03 80 11 00 00 00 00 00 00 34 [16:45:39]Write i2c OK [16:45:39]MH_I2C_Read... [16:45:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:45:39]Read from MH i2c: E2 [16:45:39]MH_I2C_Read... [16:45:39]Read from MH i2c: E2 17 00 [16:45:39]MH_I2C_Read... [16:45:39]Read from MH i2c: E2 17 00 B7 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 8D [16:45:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [16:45:39]wFMCommunicate OK [16:45:39]CreateOFDProtocolMessage done [16:45:39]OFDSenderStorePacket 27072 [16:45:39]StoreOFDPacket docnum=27072 [16:45:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 27 01 00 00 04 45 1F 01 F1 35 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 20 D0 B1 2F D0 B3 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 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 32 00 00 00 F4 03 04 00 B2 75 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C0 69 00 00 35 04 06 00 22 4F 6D EC 8A 15 14 85 8A 01 98 A1 4D 73 [16:45:39]CheckFolder [16:45:39]dirname=/storage/ofd_packets [16:45:39]CheckFolder done [16:45:39]ProducePacketName [16:45:39]name=ofd_packets/00027072 [16:45:39]NVStorageSaveData ofd_packets/00027072 [16:45:39]File name is /storage/ofd_packets/00027072 [16:45:39]Write 325 bytes [16:45:39]NVStorageSaveData done [16:45:39]OFDSenderStorePacket done [16:45:39]KKMCreateOFDPacket done [16:45:39]NVStorageSaveData kkm_last_timestamp [16:45:39]File name is /storage/kkm_last_timestamp [16:45:39]Write 4 bytes [16:45:39]NVStorageSaveData done [16:45:39]ExternCall_PrintAddStr [16:45:39]wPrintStart [16:45:39]Write to MH i2c: 01 00 00 B8 03 BB [16:45:39]Write i2c OK [16:45:39]MH_I2C_Read... [16:45:39]Read from MH i2c: 01 [16:45:39]MH_I2C_Read... [16:45:39]Read from MH i2c: 01 07 00 [16:45:39]MH_I2C_Read... [16:45:39]Read from MH i2c: 01 07 00 B8 03 00 00 00 00 00 FF 0F D0 [16:45:39]RasterBufferAndPrint [16:45:39]line Счет N : (3)150470 [16:45:39]line ИНН: 02508201610067 [16:45:39]line Контрольно-Кассовый Чек [16:45:39]line ПРОДАЖА [16:45:39]line Товар: 5449000005489 [16:45:39]line Вода Бонаква 1л б/г [16:45:39]line 2.000 * 50.00 [16:45:39]line = 100.00 [16:45:39]line НДС 12% НСП 1% [16:45:39]line > о реализуемом товаре [16:45:39]line ИТОГО: 100.00 [16:45:39]line НСП 1% : 0.88 [16:45:39]line НДС 12% : 10.62 [16:45:39]line Наличными: 100.00 [16:45:39]line Безнал.: 0.00 [16:45:39]line Место: АЗС № 134 "Партнер Нефть" [16:45:39]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [16:45:39]line СНО: Общий режим [16:45:39]line Чек 50 28.07.2024 16:45 [16:45:39]line Смена: 433 ФФД: 1.0 [16:45:39]line ЗНМ: 0300000043 [16:45:39]line РНМ: 0000000000092663 [16:45:39]line Версия ККМ: 001 [16:45:39]line ФМ: 0000000000874937 [16:45:39]line ФД: 27072 [16:45:39]line ФПД: 37724541979157 [16:45:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T164538&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27072&fm=37724541979157&tin=02508201610067®Number=0000000000092663&sum=10000 [16:45:39]line 0 [16:45:39]written 0, free lines is 4095 [16:45:39]OFD Sender: Processing packet 27072 [packets to send 9, broken 8] [16:45:39]ProducePacketName [16:45:39]name=ofd_packets/00027072 [16:45:39]OFD Sender: To server: pG, [16:45:39]CommunicateWithHost lk.salyk.kg:30040 [16:45:39]ConnectInit lk.salyk.kg [16:45:39]Connected sock=10 [16:45:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 27 01 00 00 04 45 1F 01 F1 35 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 20 D0 B1 2F D0 B3 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 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 32 00 00 00 F4 03 04 00 B2 75 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C0 69 00 00 35 04 06 00 22 4F 6D EC 8A 15 14 85 8A 01 98 A1 4D 73 [16:45:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 83 38 47 00 B9 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 38 37 34 39 33 37 10 04 04 00 C0 69 00 00 F4 03 04 00 05 1C A6 66 B6 04 01 00 00 D3 21 8D 5C 3A E5 85 24 [16:45:39]CommunicateWithHost err = 0 [16:45:39]CheckOFDResponse [16:45:39]1017 (14) - 77093643461234 [16:45:39]1041 (16) - 0000000000874937 [16:45:39]1040 (4) - 27072 [16:45:39]1012 (4) - 28.07.2024 10:23 [16:45:39]1206 (1) - 0 [16:45:39]OFD Sender: Remove packet 27072 [16:45:39]ProducePacketName [16:45:39]name=ofd_packets/00027072 [16:45:39]NVStorageDeleteData [16:45:39]Write to MH i2c: 01 00 00 DF 03 E2 [16:45:39]Write i2c OK [16:45:39]MH_I2C_Read... [16:45:39]Read from MH i2c: 01 [16:45:39]MH_I2C_Read... [16:45:39]Read from MH i2c: 01 07 00 [16:45:39]MH_I2C_Read... [16:45:39]Read from MH i2c: 01 07 00 DF 03 00 00 00 00 00 03 0D F9 [16:45:39]RasterBufferAndPrint [16:45:39]line [16:45:39]line [16:45:39]line [16:45:39]line [16:45:39]line [16:45:39]written 0, free lines is 3337 [16:45:39]MH_Cut [16:45:39]Write to MH i2c: D1 01 00 E6 03 01 BB [16:45:39]Write i2c OK [16:45:39]MH_I2C_Read... [16:45:39]Read from MH i2c: D1 [16:45:39]MH_I2C_Read... [16:45:39]Read from MH i2c: D1 01 00 [16:45:39]MH_I2C_Read... [16:45:39]Read from MH i2c: D1 01 00 E6 03 00 BA [16:45:39]Write to MH i2c: 01 00 00 E7 03 EA [16:45:39]Write i2c OK [16:45:39]MH_I2C_Read... [16:45:40]OFD Sender: No OFD packet to send [16:45:40]*** Cut start [16:45:40]*** Partial cut [16:45:40]*** CUTSNS_PIN = 1 [16:45:40]*** CUTSNS_PIN = 0 [16:45:40]*** Brake cut motor [16:45:41]Read from MH i2c: 01 [16:45:41]MH_I2C_Read... [16:45:41]*** Stop cut motor [16:45:41]*** Cut end [16:45:41]Read from MH i2c: 01 07 00 [16:45:41]MH_I2C_Read... [16:45:41]Read from MH i2c: 01 07 00 E7 03 00 00 00 00 00 FF 0F FF [16:45:41]process_action close_receipt done [16:45:41]requested_data is exist [16:45:41]produce_requested_data [16:45:41]requested_item fm.sn is exist - process it [16:45:41]wFMCommunicate request_size=4 [16:45:41]MH_SAM_APDU [16:45:41]CAPDU: 80 11 00 00 [16:45:41]Write to MH i2c: E2 08 00 E8 03 80 11 00 00 00 00 00 00 65 [16:45:41]Write i2c OK [16:45:41]MH_I2C_Read... [16:45:41]Read from MH i2c: E2 [16:45:41]MH_I2C_Read... [16:45:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:45:41]Read from MH i2c: E2 17 00 [16:45:41]MH_I2C_Read... [16:45:41]Read from MH i2c: E2 17 00 E8 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 BE [16:45:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [16:45:41]wFMCommunicate OK [16:45:41]requested_item fd.num is exist - process it [16:45:41]SAM_PROTO_GetFieldsCounters [16:45:41]wFMCommunicate request_size=4 [16:45:41]MH_SAM_APDU [16:45:41]CAPDU: 80 13 00 00 [16:45:41]Write to MH i2c: E2 08 00 E9 03 80 13 00 00 00 00 00 00 68 [16:45:41]Write i2c OK [16:45:41]MH_I2C_Read... [16:45:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:45:41]Read from MH i2c: E2 [16:45:41]MH_I2C_Read... [16:45:41]Read from MH i2c: E2 62 00 [16:45:41]MH_I2C_Read... [16:45:41]Read from MH i2c: E2 62 00 E9 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 C0 69 00 00 0E 04 04 00 B1 01 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 01 [16:45:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 C0 69 00 00 0E 04 04 00 B1 01 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:45:41]wFMCommunicate OK [16:45:41]SAM_PROTO_GetFieldsCounters done [16:45:41]requested_item shift.num is exist - process it [16:45:41]requested_item shift.opened is exist - process it [16:45:41]req_shift_opened [16:45:41]FM_GetShiftState [16:45:41]SAM_PROTO_GetShiftState [16:45:41]wFMCommunicate request_size=4 [16:45:41]MH_SAM_APDU [16:45:41]CAPDU: 80 13 01 00 [16:45:41]Write to MH i2c: E2 08 00 EA 03 80 13 01 00 00 00 00 00 6A [16:45:41]Write i2c OK [16:45:41]MH_I2C_Read... [16:45:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:45:41]Read from MH i2c: E2 [16:45:41]MH_I2C_Read... [16:45:41]Read from MH i2c: E2 0E 00 [16:45:41]MH_I2C_Read... [16:45:41]Read from MH i2c: E2 0E 00 EA 03 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 92 [16:45:41]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [16:45:41]wFMCommunicate OK [16:45:41]SAM_PROTO_GetShiftState done [16:45:41]FM_GetShiftState done [16:45:41]req_shift_opened done [16:45:41]requested_item shift.open_date is exist - process it [16:45:41]req_shift_open_date [16:45:41]req_shift_open_date done [16:45:41]produce_requested_data done [16:45:41]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27072,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [16:45:41]process_action_free close_receipt [16:45:41]json_value_free [16:45:41]json_value_free done [16:45:41]process_json_proto returns [16:45:41]Send response to host [16:45:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27072,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [16:45:41]free response buf [16:45:41]execute_script done [16:45:41]execute_script returns [16:45:41]free content buf [16:45:41]Sock 8.Close socket [16:45:41]Sock 8.Thread stoped [16:45:45]OFD Sender: No OFD packet to send [16:45:50]OFD Sender: No OFD packet to send [16:45:55]OFD Sender: No OFD packet to send [16:46:00]OFD Sender: No OFD packet to send [16:46:05]OFD Sender: No OFD packet to send [16:46:10]OFD Sender: No OFD packet to send [16:46:15]OFD Sender: No OFD packet to send [16:46:20]OFD Sender: No OFD packet to send [16:46:25]OFD Sender: No OFD packet to send [16:46:30]OFD Sender: No OFD packet to send [16:46:32]accept exits with 9 [16:46:32]New connection [16:46:32]New thread 3066785124 created [16:46:32]Thread 3066928484 joined [16:46:32]Waiting for new connection... [16:46:32] Sock 9.Parse request [16:46:32]Sock 9.Check first char [16:46:32]Sock 9.First char is OK [16:46:32]request: POST /json_proto HTTP/1.0 [16:46:32]Method: POST [16:46:32]URL: /json_proto [16:46:32]Method is POST - this is cgi request [16:46:32]url: /json_proto [16:46:32]query_string will be loaded in cgi processing [16:46:32]execute_cgi json_proto POST (null) [16:46:32]execute_cgi path=json_proto method=POST [16:46:32]POST find Content-Length [16:46:32]Host: 172.17.45.8:8080 [16:46:32]Content-Length: 621 [16:46:32]Content-Type: application/json [16:46:32] [16:46:32]POST finish read [16:46:32]Found Content-Length = 621 [16:46:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150471", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "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" ] } } [16:46:32]execute_script... [16:46: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)150471", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "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" ] } } [16:46:32]POST & json_proto [16:46:32]process_json_proto [16:46:32]json parsed OK: [16:46:32]protocol is kg_v1.0 [16:46:32]action value=close_receipt [16:46:32]process_action close_receipt [16:46:32]cmd_close_receipt [16:46:32]MH_GetDate [16:46:32]Write to MH i2c: F0 00 00 EB 03 DD [16:46:32]Write i2c OK [16:46:32]MH_I2C_Read... [16:46:32]Read from MH i2c: F0 [16:46:32]MH_I2C_Read... [16:46:32]Read from MH i2c: F0 09 00 [16:46:32]MH_I2C_Read... [16:46:32]Read from MH i2c: F0 09 00 EB 03 00 E9 75 A6 66 A6 1F 7F 64 F8 [16:46:32]GetLastDocTimeStamp 1722185138 [16:46:32]current date 1722185193 [16:46:32]FM_GetShiftState [16:46:32]SAM_PROTO_GetShiftState [16:46:32]wFMCommunicate request_size=4 [16:46:32]MH_SAM_APDU [16:46:32]CAPDU: 80 13 01 00 [16:46:32]Write to MH i2c: E2 08 00 EC 03 80 13 01 00 00 00 00 00 6C [16:46:32]Write i2c OK [16:46:32]MH_I2C_Read... [16:46:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:46:32]Read from MH i2c: E2 [16:46:32]MH_I2C_Read... [16:46:32]Read from MH i2c: E2 0E 00 [16:46:32]MH_I2C_Read... [16:46:32]Read from MH i2c: E2 0E 00 EC 03 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 94 [16:46:32]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [16:46:32]wFMCommunicate OK [16:46:32]SAM_PROTO_GetShiftState done [16:46:32]FM_GetShiftState done [16:46:32]opened in 1722127230 [16:46:32]opened+sec_in_day 1722213630 [16:46:32]quantity*price = 14000 [16:46:32]sum+1 = 14001 [16:46:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 51 28.07.2024 16:46 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27073 ФПД: 76246562617425 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T164633&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27073&fm=76246562617425&tin=02508201610067®Number=0000000000092663&sum=14000 0 [16:46:33]StoreToDocumentArchive [16:46:33]shift 433 fd 27073 [16:46:33]save to /storage/0433/doc_00027073 [16:46:33]save last doc name /storage/0433/doc_00027073 to /storage/kkm_last_doc_name [16:46:33]save OK [16:46:33]Clear old archive folders... [16:46:33]ProcessDocumentItem done err = 0, tmpTLVsize=273 [16:46:33]tlvbuf is 0018AD80 [16:46:33]SAM_PROTO_ClearQueue [16:46:33]wFMCommunicate request_size=4 [16:46:33]MH_SAM_APDU [16:46:33]CAPDU: 80 09 00 00 [16:46:33]Write to MH i2c: E2 08 00 F9 03 80 09 00 00 00 00 00 00 6E [16:46:33]Write i2c OK [16:46:33]MH_I2C_Read... [16:46:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:46:33]Read from MH i2c: E2 [16:46:33]MH_I2C_Read... [16:46:33]Read from MH i2c: E2 03 00 [16:46:33]MH_I2C_Read... [16:46:33]Read from MH i2c: E2 03 00 F9 03 00 90 00 70 [16:46:33]RAPDU: 90 00 [16:46:33]wFMCommunicate OK [16:46:33]SAM_PROTO_ClearQueue done [16:46:33]KKMCreateOFDPacket [16:46:33]OFDProtocolAddRootSTLVToBuf [16:46:33]FM_MakeSignedData [16:46:33]FM_MakeSignedData [16:46:33]SAM_PROTO_SignData [16:46:33]wFMCommunicate request_size=4 [16:46:33]MH_SAM_APDU [16:46:33]CAPDU: 80 0D 01 02 [16:46:33]Write to MH i2c: E2 08 00 FA 03 80 0D 01 02 00 00 00 00 76 [16:46:33]Write i2c OK [16:46:33]MH_I2C_Read... [16:46:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:46:34]Read from MH i2c: E2 [16:46:34]MH_I2C_Read... [16:46:34]Read from MH i2c: E2 03 00 [16:46:34]MH_I2C_Read... [16:46:34]Read from MH i2c: E2 03 00 FA 03 00 90 00 71 [16:46:34]RAPDU: 90 00 [16:46:34]wFMCommunicate OK [16:46:34]wFMCommunicate request_size=255 [16:46:34]MH_SAM_APDU [16:46:34]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 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 33 00 00 00 F4 03 04 00 E9 75 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 [16:46:34]Write to MH i2c: E2 02 01 FB 03 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 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 33 00 00 00 F4 03 04 00 E9 75 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 00 00 BB [16:46:34]Write i2c OK [16:46:34]MH_I2C_Read... [16:46:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:46:34]Read from MH i2c: E2 [16:46:34]MH_I2C_Read... [16:46:34]Read from MH i2c: E2 03 00 [16:46:34]MH_I2C_Read... [16:46:34]Read from MH i2c: E2 03 00 FB 03 00 90 00 72 [16:46:34]RAPDU: 90 00 [16:46:34]wFMCommunicate OK [16:46:34]wFMCommunicate request_size=32 [16:46:34]MH_SAM_APDU [16:46:34]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 39 33 37 10 04 04 00 C1 69 00 00 35 04 06 00 45 58 89 47 B8 51 [16:46:34]Write to MH i2c: E2 23 00 FC 03 80 0D 02 02 1B 00 30 30 30 38 37 34 39 33 37 10 04 04 00 C1 69 00 00 35 04 06 00 45 58 89 47 B8 51 00 00 7C [16:46:34]Write i2c OK [16:46:34]MH_I2C_Read... [16:46:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:46:34]Read from MH i2c: E2 [16:46:34]MH_I2C_Read... [16:46:34]Read from MH i2c: E2 03 00 [16:46:34]MH_I2C_Read... [16:46:34]Read from MH i2c: E2 03 00 FC 03 00 90 00 73 [16:46:34]RAPDU: 90 00 [16:46:34]wFMCommunicate OK [16:46:34]wFMCommunicate request_size=4 [16:46:34]MH_SAM_APDU [16:46:34]CAPDU: 80 0D 03 02 [16:46:34]Write to MH i2c: E2 08 00 FD 03 80 0D 03 02 00 00 00 00 7B [16:46:34]Write i2c OK [16:46:34]MH_I2C_Read... [16:46:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:46:34]Read from MH i2c: E2 [16:46:34]MH_I2C_Read... [16:46:34]Read from MH i2c: E2 0B 00 [16:46:34]MH_I2C_Read... [16:46:34]Read from MH i2c: E2 0B 00 FD 03 00 7D 68 D0 F0 12 6E C1 A3 90 00 05 [16:46:34]RAPDU: 7D 68 D0 F0 12 6E C1 A3 90 00 [16:46:34]wFMCommunicate OK [16:46:34]SAM_PROTO_SignData done [16:46:34]FM_MakeSignedData done [16:46:34]CreateOFDProtocolMessage [16:46:34]wFMCommunicate request_size=4 [16:46:34]MH_SAM_APDU [16:46:34]CAPDU: 80 11 00 00 [16:46:34]Write to MH i2c: E2 08 00 FE 03 80 11 00 00 00 00 00 00 7B [16:46:34]Write i2c OK [16:46:34]MH_I2C_Read... [16:46:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:46:34]Read from MH i2c: E2 [16:46:34]MH_I2C_Read... [16:46:34]Read from MH i2c: E2 17 00 [16:46:34]MH_I2C_Read... [16:46:34]Read from MH i2c: E2 17 00 FE 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 D4 [16:46:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [16:46:34]wFMCommunicate OK [16:46:34]CreateOFDProtocolMessage done [16:46:34]OFDSenderStorePacket 27073 [16:46:34]StoreOFDPacket docnum=27073 [16:46:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 25 01 00 00 8E 31 1D 01 C8 0D 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 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 33 00 00 00 F4 03 04 00 E9 75 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C1 69 00 00 35 04 06 00 45 58 89 47 B8 51 7D 68 D0 F0 12 6E C1 A3 [16:46:34]CheckFolder [16:46:34]dirname=/storage/ofd_packets [16:46:34]CheckFolder done [16:46:34]ProducePacketName [16:46:34]name=ofd_packets/00027073 [16:46:34]NVStorageSaveData ofd_packets/00027073 [16:46:34]File name is /storage/ofd_packets/00027073 [16:46:34]Write 323 bytes [16:46:34]NVStorageSaveData done [16:46:34]OFDSenderStorePacket done [16:46:34]KKMCreateOFDPacket done [16:46:34]NVStorageSaveData kkm_last_timestamp [16:46:34]File name is /storage/kkm_last_timestamp [16:46:34]Write 4 bytes [16:46:34]NVStorageSaveData done [16:46:34]ExternCall_PrintAddStr [16:46:34]wPrintStart [16:46:34]Write to MH i2c: 01 00 00 FF 03 02 [16:46:34]Write i2c OK [16:46:34]MH_I2C_Read... [16:46:34]Read from MH i2c: 01 [16:46:34]MH_I2C_Read... [16:46:34]Read from MH i2c: 01 07 00 [16:46:34]MH_I2C_Read... [16:46:34]Read from MH i2c: 01 07 00 FF 03 00 00 00 00 00 FF 0F 17 [16:46:34]RasterBufferAndPrint [16:46:34]line Счет N : (3)150471 [16:46:34]line ИНН: 02508201610067 [16:46:34]line Контрольно-Кассовый Чек [16:46:34]line ПРОДАЖА [16:46:34]line Товар: 48743570 [16:46:34]line Сигареты Winston XStyle Blue [16:46:34]line 1.000 * 140.00 [16:46:34]line = 140.00 [16:46:34]line НДС 12% НСП 1% [16:46:34]line > о реализуемом товаре [16:46:34]line ИТОГО: 140.00 [16:46:34]line НСП 1% : 1.24 [16:46:34]line НДС 12% : 14.87 [16:46:34]line Наличными: 140.00 [16:46:34]line Безнал.: 0.00 [16:46:34]line Место: АЗС № 134 "Партнер Нефть" [16:46:34]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [16:46:34]line СНО: Общий режим [16:46:34]line Чек 51 28.07.2024 16:46 [16:46:34]line Смена: 433 ФФД: 1.0 [16:46:34]line ЗНМ: 0300000043 [16:46:34]line РНМ: 0000000000092663 [16:46:34]line Версия ККМ: 001 [16:46:34]line ФМ: 0000000000874937 [16:46:34]line ФД: 27073 [16:46:34]line ФПД: 76246562617425 [16:46:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T164633&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27073&fm=76246562617425&tin=02508201610067®Number=0000000000092663&sum=14000 [16:46:34]OFD Sender: Processing packet 27073 [packets to send 9, broken 8] [16:46:34]ProducePacketName [16:46:34]name=ofd_packets/00027073 [16:46:34]OFD Sender: To server: pG, [16:46:34]CommunicateWithHost lk.salyk.kg:30040 [16:46:34]ConnectInit lk.salyk.kg [16:46:34]line 0 [16:46:34]written 0, free lines is 4095 [16:46:34]Connected sock=10 [16:46:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 25 01 00 00 8E 31 1D 01 C8 0D 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 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 33 00 00 00 F4 03 04 00 E9 75 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C1 69 00 00 35 04 06 00 45 58 89 47 B8 51 7D 68 D0 F0 12 6E C1 A3 [16:46:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 E4 AF 47 00 D6 67 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 38 37 34 39 33 37 10 04 04 00 C1 69 00 00 F4 03 04 00 3D 1C A6 66 B6 04 01 00 00 76 FB 34 7F 3A 82 04 47 [16:46:35]CommunicateWithHost err = 0 [16:46:35]CheckOFDResponse [16:46:35]1017 (14) - 77093643461234 [16:46:35]1041 (16) - 0000000000874937 [16:46:35]1040 (4) - 27073 [16:46:35]1012 (4) - 28.07.2024 10:23 [16:46:35]1206 (1) - 0 [16:46:35]OFD Sender: Remove packet 27073 [16:46:35]ProducePacketName [16:46:35]name=ofd_packets/00027073 [16:46:35]NVStorageDeleteData [16:46:35]Write to MH i2c: 01 00 00 26 04 2A [16:46:35]Write i2c OK [16:46:35]MH_I2C_Read... [16:46:35]Read from MH i2c: 01 [16:46:35]MH_I2C_Read... [16:46:35]Read from MH i2c: 01 07 00 [16:46:35]MH_I2C_Read... [16:46:35]Read from MH i2c: 01 07 00 26 04 00 00 00 00 00 F3 0C 30 [16:46:35]RasterBufferAndPrint [16:46:35]line [16:46:35]line [16:46:35]line [16:46:35]line [16:46:35]line [16:46:35]written 0, free lines is 3322 [16:46:35]MH_Cut [16:46:35]Write to MH i2c: D1 01 00 2D 04 01 03 [16:46:35]Write i2c OK [16:46:35]MH_I2C_Read... [16:46:35]Read from MH i2c: D1 [16:46:35]MH_I2C_Read... [16:46:35]Read from MH i2c: D1 01 00 [16:46:35]MH_I2C_Read... [16:46:35]Read from MH i2c: D1 01 00 2D 04 00 02 [16:46:35]Write to MH i2c: 01 00 00 2E 04 32 [16:46:35]Write i2c OK [16:46:35]MH_I2C_Read... [16:46:35]OFD Sender: No OFD packet to send [16:46:35]*** Cut start [16:46:35]*** Partial cut [16:46:35]*** CUTSNS_PIN = 1 [16:46:36]*** CUTSNS_PIN = 0 [16:46:36]*** Brake cut motor [16:46:36]Read from MH i2c: 01 [16:46:36]MH_I2C_Read... [16:46:36]*** Stop cut motor [16:46:36]*** Cut end [16:46:36]Read from MH i2c: 01 07 00 [16:46:36]MH_I2C_Read... [16:46:36]Read from MH i2c: 01 07 00 2E 04 00 00 00 00 00 FF 0F 47 [16:46:36]process_action close_receipt done [16:46:36]requested_data is exist [16:46:36]produce_requested_data [16:46:36]requested_item fm.sn is exist - process it [16:46:36]wFMCommunicate request_size=4 [16:46:36]MH_SAM_APDU [16:46:36]CAPDU: 80 11 00 00 [16:46:36]Write to MH i2c: E2 08 00 2F 04 80 11 00 00 00 00 00 00 AD [16:46:36]Write i2c OK [16:46:36]MH_I2C_Read... [16:46:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:46:36]Read from MH i2c: E2 [16:46:36]MH_I2C_Read... [16:46:36]Read from MH i2c: E2 17 00 [16:46:36]MH_I2C_Read... [16:46:36]Read from MH i2c: E2 17 00 2F 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 06 [16:46:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [16:46:36]wFMCommunicate OK [16:46:36]requested_item fd.num is exist - process it [16:46:36]SAM_PROTO_GetFieldsCounters [16:46:36]wFMCommunicate request_size=4 [16:46:36]MH_SAM_APDU [16:46:36]CAPDU: 80 13 00 00 [16:46:36]Write to MH i2c: E2 08 00 30 04 80 13 00 00 00 00 00 00 B0 [16:46:36]Write i2c OK [16:46:36]MH_I2C_Read... [16:46:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:46:36]Read from MH i2c: E2 [16:46:36]MH_I2C_Read... [16:46:36]Read from MH i2c: E2 62 00 [16:46:36]MH_I2C_Read... [16:46:36]Read from MH i2c: E2 62 00 30 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 C1 69 00 00 0E 04 04 00 B1 01 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 4D [16:46:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 C1 69 00 00 0E 04 04 00 B1 01 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 [16:46:36]wFMCommunicate OK [16:46:36]SAM_PROTO_GetFieldsCounters done [16:46:36]requested_item shift.num is exist - process it [16:46:36]requested_item shift.opened is exist - process it [16:46:36]req_shift_opened [16:46:36]FM_GetShiftState [16:46:36]SAM_PROTO_GetShiftState [16:46:36]wFMCommunicate request_size=4 [16:46:36]MH_SAM_APDU [16:46:36]CAPDU: 80 13 01 00 [16:46:36]Write to MH i2c: E2 08 00 31 04 80 13 01 00 00 00 00 00 B2 [16:46:36]Write i2c OK [16:46:36]MH_I2C_Read... [16:46:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:46:36]Read from MH i2c: E2 [16:46:36]MH_I2C_Read... [16:46:36]Read from MH i2c: E2 0E 00 [16:46:36]MH_I2C_Read... [16:46:36]Read from MH i2c: E2 0E 00 31 04 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 DA [16:46:36]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [16:46:36]wFMCommunicate OK [16:46:36]SAM_PROTO_GetShiftState done [16:46:36]FM_GetShiftState done [16:46:36]req_shift_opened done [16:46:36]requested_item shift.open_date is exist - process it [16:46:36]req_shift_open_date [16:46:36]req_shift_open_date done [16:46:36]produce_requested_data done [16:46:36]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27073,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [16:46:36]process_action_free close_receipt [16:46:36]json_value_free [16:46:36]json_value_free done [16:46:36]process_json_proto returns [16:46:36]Send response to host [16:46:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27073,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [16:46:36]free response buf [16:46:36]execute_script done [16:46:36]execute_script returns [16:46:36]free content buf [16:46:36]Sock 9.Close socket [16:46:36]Sock 9.Thread stoped [16:46:40]OFD Sender: No OFD packet to send [16:46:45]OFD Sender: No OFD packet to send [16:46:50]OFD Sender: No OFD packet to send [16:46:55]OFD Sender: No OFD packet to send [16:47:00]OFD Sender: No OFD packet to send [16:47:05]OFD Sender: No OFD packet to send [16:47:10]OFD Sender: No OFD packet to send [16:47:15]OFD Sender: No OFD packet to send [16:47:20]OFD Sender: No OFD packet to send [16:47:25]OFD Sender: No OFD packet to send [16:47:30]OFD Sender: No OFD packet to send [16:47:35]OFD Sender: No OFD packet to send [16:47:40]OFD Sender: No OFD packet to send [16:47:45]OFD Sender: No OFD packet to send [16:47:50]OFD Sender: No OFD packet to send [16:47:55]OFD Sender: No OFD packet to send [16:48:00]OFD Sender: No OFD packet to send [16:48:05]OFD Sender: No OFD packet to send [16:48:10]OFD Sender: No OFD packet to send [16:48:15]OFD Sender: No OFD packet to send [16:48:20]OFD Sender: No OFD packet to send [16:48:25]OFD Sender: No OFD packet to send [16:48:27]accept exits with 8 [16:48:27]New connection [16:48:27]New thread 3066928484 created [16:48:27]Thread 3066785124 joined [16:48:27]Waiting for new connection... [16:48:27] Sock 8.Parse request [16:48:27]Sock 8.Check first char [16:48:27]Sock 8.First char is OK [16:48:27]request: POST /json_proto HTTP/1.0 [16:48:27]Method: POST [16:48:27]URL: /json_proto [16:48:27]Method is POST - this is cgi request [16:48:27]url: /json_proto [16:48:27]query_string will be loaded in cgi processing [16:48:27]execute_cgi json_proto POST (null) [16:48:27]execute_cgi path=json_proto method=POST [16:48:27]POST find Content-Length [16:48:27]Host: 172.17.45.8:8080 [16:48:27]Content-Length: 881 [16:48:27]Content-Type: application/json [16:48:27] [16:48:27]POST finish read [16:48:27]Found Content-Length = 881 [16:48:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150472", "tax_sys" : 0, "items" : [ { "code": "4780022460452", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 Yumiko gold 1\u043A\u0433", "price" : 148.00, "quantity" : 1.000, "sum" : 148.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4780022460292", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 Yumiko green 1\u043A\u0433", "price" : 148.00, "quantity" : 1.000, "sum" : 148.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 296.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:48:27]execute_script... [16:48: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)150472", "tax_sys" : 0, "items" : [ { "code": "4780022460452", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 Yumiko gold 1\u043A\u0433", "price" : 148.00, "quantity" : 1.000, "sum" : 148.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4780022460292", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 Yumiko green 1\u043A\u0433", "price" : 148.00, "quantity" : 1.000, "sum" : 148.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 296.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:48:27]POST & json_proto [16:48:27]process_json_proto [16:48:27]json parsed OK: [16:48:27]protocol is kg_v1.0 [16:48:27]action value=close_receipt [16:48:27]process_action close_receipt [16:48:27]cmd_close_receipt [16:48:27]MH_GetDate [16:48:27]Write to MH i2c: F0 00 00 32 04 25 [16:48:27]Write i2c OK [16:48:27]MH_I2C_Read... [16:48:27]Read from MH i2c: F0 [16:48:27]MH_I2C_Read... [16:48:27]Read from MH i2c: F0 09 00 [16:48:27]MH_I2C_Read... [16:48:27]Read from MH i2c: F0 09 00 32 04 00 5C 76 A6 66 A6 1F 7F 64 B4 [16:48:27]GetLastDocTimeStamp 1722185193 [16:48:27]current date 1722185308 [16:48:27]FM_GetShiftState [16:48:27]SAM_PROTO_GetShiftState [16:48:27]wFMCommunicate request_size=4 [16:48:27]MH_SAM_APDU [16:48:27]CAPDU: 80 13 01 00 [16:48:27]Write to MH i2c: E2 08 00 33 04 80 13 01 00 00 00 00 00 B4 [16:48:27]Write i2c OK [16:48:27]MH_I2C_Read... [16:48:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:48:27]Read from MH i2c: E2 [16:48:27]MH_I2C_Read... [16:48:27]Read from MH i2c: E2 0E 00 [16:48:27]MH_I2C_Read... [16:48:27]Read from MH i2c: E2 0E 00 33 04 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 DC [16:48:27]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [16:48:27]wFMCommunicate OK [16:48:27]SAM_PROTO_GetShiftState done [16:48:27]FM_GetShiftState done [16:48:27]opened in 1722127230 [16:48:27]opened+sec_in_day 1722213630 [16:48:27]quantity*price = 14800 [16:48:27]sum+1 = 14801 [16:48:27]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4780022460292 Антифриз Yumiko green 1кг 1.000 * 148.00 = 148.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 296.00 НСП 1% : 2.62 НДС 12% : 31.44 Наличными: 296.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 52 28.07.2024 16:48 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27074 ФПД: 71962269075668 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T164828&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27074&fm=71962269075668&tin=02508201610067®Number=0000000000092663&sum=29600 0 [16:48:28]StoreToDocumentArchive [16:48:28]shift 433 fd 27074 [16:48:28]save to /storage/0433/doc_00027074 [16:48:28]save last doc name /storage/0433/doc_00027074 to /storage/kkm_last_doc_name [16:48:28]save OK [16:48:28]Clear old archive folders... [16:48:28]ProcessDocumentItem done err = 0, tmpTLVsize=383 [16:48:28]tlvbuf is 001A5F20 [16:48:28]SAM_PROTO_ClearQueue [16:48:28]wFMCommunicate request_size=4 [16:48:28]MH_SAM_APDU [16:48:28]CAPDU: 80 09 00 00 [16:48:28]Write to MH i2c: E2 08 00 40 04 80 09 00 00 00 00 00 00 B6 [16:48:28]Write i2c OK [16:48:28]MH_I2C_Read... [16:48:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:48:28]Read from MH i2c: E2 [16:48:28]MH_I2C_Read... [16:48:28]Read from MH i2c: E2 03 00 [16:48:28]MH_I2C_Read... [16:48:28]Read from MH i2c: E2 03 00 40 04 00 90 00 B8 [16:48:28]RAPDU: 90 00 [16:48:28]wFMCommunicate OK [16:48:28]SAM_PROTO_ClearQueue done [16:48:28]KKMCreateOFDPacket [16:48:28]OFDProtocolAddRootSTLVToBuf [16:48:28]FM_MakeSignedData [16:48:28]FM_MakeSignedData [16:48:28]SAM_PROTO_SignData [16:48:28]wFMCommunicate request_size=4 [16:48:28]MH_SAM_APDU [16:48:28]CAPDU: 80 0D 01 02 [16:48:28]Write to MH i2c: E2 08 00 41 04 80 0D 01 02 00 00 00 00 BE [16:48:28]Write i2c OK [16:48:28]MH_I2C_Read... [16:48:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:48:28]Read from MH i2c: E2 [16:48:28]MH_I2C_Read... [16:48:28]Read from MH i2c: E2 03 00 [16:48:28]MH_I2C_Read... [16:48:28]Read from MH i2c: E2 03 00 41 04 00 90 00 B9 [16:48:28]RAPDU: 90 00 [16:48:28]wFMCommunicate OK [16:48:28]wFMCommunicate request_size=255 [16:48:28]MH_SAM_APDU [16:48:28]CAPDU: 80 0D 02 02 FA 03 00 7F 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 34 35 32 06 04 22 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 6F 6C 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 39 00 00 00 00 13 04 06 00 D0 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 39 32 06 04 23 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 72 65 65 6E 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 39 00 00 00 00 13 04 06 00 D0 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 [16:48:28]Write to MH i2c: E2 02 01 42 04 80 0D 02 02 FA 00 03 00 7F 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 34 35 32 06 04 22 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 6F 6C 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 39 00 00 00 00 13 04 06 00 D0 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 39 32 06 04 23 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 72 65 65 6E 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 39 00 00 00 00 13 04 06 00 D0 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 8F [16:48:28]Write i2c OK [16:48:28]MH_I2C_Read... [16:48:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:48:28]Read from MH i2c: E2 [16:48:28]MH_I2C_Read... [16:48:28]Read from MH i2c: E2 03 00 [16:48:28]MH_I2C_Read... [16:48:28]Read from MH i2c: E2 03 00 42 04 00 90 00 BA [16:48:28]RAPDU: 90 00 [16:48:28]wFMCommunicate OK [16:48:28]wFMCommunicate request_size=142 [16:48:28]MH_SAM_APDU [16:48:28]CAPDU: 80 0D 02 02 89 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 0C 00 00 00 00 07 04 06 00 A0 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 34 00 00 00 F4 03 04 00 5C 76 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C2 69 00 00 35 04 06 00 41 73 05 7C 48 D4 [16:48:28]Write to MH i2c: E2 91 00 43 04 80 0D 02 02 89 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 0C 00 00 00 00 07 04 06 00 A0 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 34 00 00 00 F4 03 04 00 5C 76 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C2 69 00 00 35 04 06 00 41 73 05 7C 48 D4 00 00 AF [16:48:28]Write i2c OK [16:48:28]MH_I2C_Read... [16:48:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:48:28]Read from MH i2c: E2 [16:48:28]MH_I2C_Read... [16:48:28]Read from MH i2c: E2 03 00 [16:48:28]MH_I2C_Read... [16:48:28]Read from MH i2c: E2 03 00 43 04 00 90 00 BB [16:48:28]RAPDU: 90 00 [16:48:28]wFMCommunicate OK [16:48:28]wFMCommunicate request_size=4 [16:48:28]MH_SAM_APDU [16:48:28]CAPDU: 80 0D 03 02 [16:48:28]Write to MH i2c: E2 08 00 44 04 80 0D 03 02 00 00 00 00 C3 [16:48:28]Write i2c OK [16:48:28]MH_I2C_Read... [16:48:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:48:28]Read from MH i2c: E2 [16:48:28]MH_I2C_Read... [16:48:28]Read from MH i2c: E2 0B 00 [16:48:28]MH_I2C_Read... [16:48:28]Read from MH i2c: E2 0B 00 44 04 00 11 96 02 99 E9 19 CD F2 90 00 C7 [16:48:28]RAPDU: 11 96 02 99 E9 19 CD F2 90 00 [16:48:28]wFMCommunicate OK [16:48:28]SAM_PROTO_SignData done [16:48:28]FM_MakeSignedData done [16:48:28]CreateOFDProtocolMessage [16:48:28]wFMCommunicate request_size=4 [16:48:28]MH_SAM_APDU [16:48:28]CAPDU: 80 11 00 00 [16:48:28]Write to MH i2c: E2 08 00 45 04 80 11 00 00 00 00 00 00 C3 [16:48:28]Write i2c OK [16:48:28]MH_I2C_Read... [16:48:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:48:28]Read from MH i2c: E2 [16:48:28]MH_I2C_Read... [16:48:28]Read from MH i2c: E2 17 00 [16:48:28]MH_I2C_Read... [16:48:28]Read from MH i2c: E2 17 00 45 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 1C [16:48:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [16:48:28]wFMCommunicate OK [16:48:28]CreateOFDProtocolMessage done [16:48:28]OFDSenderStorePacket 27074 [16:48:28]StoreOFDPacket docnum=27074 [16:48:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 93 01 00 00 37 19 8B 01 40 CC 5A 03 01 00 03 00 7F 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 34 35 32 06 04 22 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 6F 6C 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 39 00 00 00 00 13 04 06 00 D0 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 39 32 06 04 23 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 72 65 65 6E 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 39 00 00 00 00 13 04 06 00 D0 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 0C 00 00 00 00 07 04 06 00 A0 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 34 00 00 00 F4 03 04 00 5C 76 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C2 69 00 00 35 04 06 00 41 73 05 7C 48 D4 11 96 02 99 E9 19 CD F2 [16:48:28]CheckFolder [16:48:28]dirname=/storage/ofd_packets [16:48:28]CheckFolder done [16:48:28]ProducePacketName [16:48:28]name=ofd_packets/00027074 [16:48:28]NVStorageSaveData ofd_packets/00027074 [16:48:28]File name is /storage/ofd_packets/00027074 [16:48:28]Write 433 bytes [16:48:28]NVStorageSaveData done [16:48:28]OFDSenderStorePacket done [16:48:28]KKMCreateOFDPacket done [16:48:28]NVStorageSaveData kkm_last_timestamp [16:48:28]File name is /storage/kkm_last_timestamp [16:48:28]Write 4 bytes [16:48:28]NVStorageSaveData done [16:48:28]ExternCall_PrintAddStr [16:48:28]wPrintStart [16:48:28]Write to MH i2c: 01 00 00 46 04 4A [16:48:28]Write i2c OK [16:48:28]MH_I2C_Read... [16:48:28]Read from MH i2c: 01 [16:48:28]MH_I2C_Read... [16:48:28]Read from MH i2c: 01 07 00 [16:48:28]MH_I2C_Read... [16:48:28]Read from MH i2c: 01 07 00 46 04 00 00 00 00 00 FF 0F 5F [16:48:28]RasterBufferAndPrint [16:48:28]line Счет N : (3)150472 [16:48:28]line ИНН: 02508201610067 [16:48:29]line Контрольно-Кассовый Чек [16:48:29]line ПРОДАЖА [16:48:29]line Товар: 4780022460452 [16:48:29]line Антифриз Yumiko gold 1кг [16:48:29]line 1.000 * 148.00 [16:48:29]line = 148.00 [16:48:29]line НДС 12% НСП 1% [16:48:29]line > о реализуемом товаре [16:48:29]line Товар: 4780022460292 [16:48:29]line Антифриз Yumiko green 1кг [16:48:29]line 1.000 * 148.00 [16:48:29]line = 148.00 [16:48:29]line НДС 12% НСП 1% [16:48:29]line > о реализуемом товаре [16:48:29]line ИТОГО: 296.00 [16:48:29]line НСП 1% : 2.62 [16:48:29]line НДС 12% : 31.44 [16:48:29]line Наличными: 296.00 [16:48:29]line Безнал.: 0.00 [16:48:29]line Место: АЗС № 134 "Партнер Нефть" [16:48:29]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [16:48:29]line СНО: Общий режим [16:48:29]line Чек 52 28.07.2024 16:48 [16:48:29]line Смена: 433 ФФД: 1.0 [16:48:29]line ЗНМ: 0300000043 [16:48:29]line РНМ: 0000000000092663 [16:48:29]line Версия ККМ: 001 [16:48:29]line ФМ: 0000000000874937 [16:48:29]line ФД: 27074 [16:48:29]line ФПД: 71962269075668 [16:48:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T164828&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27074&fm=71962269075668&tin=02508201610067®Number=0000000000092663&sum=29600 [16:48:29]line 0 [16:48:29]OFD Sender: Processing packet 27074 [packets to send 9, broken 8] [16:48:29]ProducePacketName [16:48:29]name=ofd_packets/00027074 [16:48:29]OFD Sender: To server: pG, [16:48:29]CommunicateWithHost lk.salyk.kg:30040 [16:48:29]ConnectInit lk.salyk.kg [16:48:29]written 0, free lines is 4095 [16:48:29]Connected sock=10 [16:48:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 93 01 00 00 37 19 8B 01 40 CC 5A 03 01 00 03 00 7F 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 34 35 32 06 04 22 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 6F 6C 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 39 00 00 00 00 13 04 06 00 D0 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 32 39 32 06 04 23 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 72 65 65 6E 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 39 00 00 00 00 13 04 06 00 D0 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 0C 00 00 00 00 07 04 06 00 A0 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 34 00 00 00 F4 03 04 00 5C 76 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C2 69 00 00 35 04 06 00 41 73 05 7C 48 D4 11 96 02 99 E9 19 CD F2 [16:48:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 27 05 47 00 92 DE 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 38 37 34 39 33 37 10 04 04 00 C2 69 00 00 F4 03 04 00 AF 1C A6 66 B6 04 01 00 00 B7 51 78 3C 99 2E FF 99 [16:48:29]CommunicateWithHost err = 0 [16:48:29]CheckOFDResponse [16:48:29]1017 (14) - 77093643461234 [16:48:29]1041 (16) - 0000000000874937 [16:48:29]1040 (4) - 27074 [16:48:29]1012 (4) - 28.07.2024 10:25 [16:48:29]1206 (1) - 0 [16:48:29]OFD Sender: Remove packet 27074 [16:48:29]ProducePacketName [16:48:29]name=ofd_packets/00027074 [16:48:29]NVStorageDeleteData [16:48:29]Write to MH i2c: 01 00 00 73 04 77 [16:48:29]Write i2c OK [16:48:29]MH_I2C_Read... [16:48:29]Read from MH i2c: 01 [16:48:29]MH_I2C_Read... [16:48:29]Read from MH i2c: 01 07 00 [16:48:29]MH_I2C_Read... [16:48:29]Read from MH i2c: 01 07 00 73 04 00 00 00 00 00 A7 0C 31 [16:48:29]RasterBufferAndPrint [16:48:29]line [16:48:29]line [16:48:29]line [16:48:29]line [16:48:29]line [16:48:29]written 0, free lines is 3245 [16:48:29]MH_Cut [16:48:29]Write to MH i2c: D1 01 00 7A 04 01 50 [16:48:29]Write i2c OK [16:48:29]MH_I2C_Read... [16:48:29]Read from MH i2c: D1 [16:48:29]MH_I2C_Read... [16:48:29]Read from MH i2c: D1 01 00 [16:48:29]MH_I2C_Read... [16:48:29]Read from MH i2c: D1 01 00 7A 04 00 4F [16:48:29]Write to MH i2c: 01 00 00 7B 04 7F [16:48:29]Write i2c OK [16:48:29]MH_I2C_Read... [16:48:29]OFD Sender: No OFD packet to send [16:48:30]*** Cut start [16:48:30]*** Partial cut [16:48:30]*** CUTSNS_PIN = 1 [16:48:30]*** CUTSNS_PIN = 0 [16:48:30]*** Brake cut motor [16:48:31]Read from MH i2c: 01 [16:48:31]MH_I2C_Read... [16:48:31]*** Stop cut motor [16:48:31]*** Cut end [16:48:31]Read from MH i2c: 01 07 00 [16:48:31]MH_I2C_Read... [16:48:31]Read from MH i2c: 01 07 00 7B 04 00 00 00 00 00 FF 0F 94 [16:48:31]process_action close_receipt done [16:48:31]requested_data is exist [16:48:31]produce_requested_data [16:48:31]requested_item fm.sn is exist - process it [16:48:31]wFMCommunicate request_size=4 [16:48:31]MH_SAM_APDU [16:48:31]CAPDU: 80 11 00 00 [16:48:31]Write to MH i2c: E2 08 00 7C 04 80 11 00 00 00 00 00 00 FA [16:48:31]Write i2c OK [16:48:31]MH_I2C_Read... [16:48:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:48:31]Read from MH i2c: E2 [16:48:31]MH_I2C_Read... [16:48:31]Read from MH i2c: E2 17 00 [16:48:31]MH_I2C_Read... [16:48:31]Read from MH i2c: E2 17 00 7C 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 53 [16:48:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [16:48:31]wFMCommunicate OK [16:48:31]requested_item fd.num is exist - process it [16:48:31]SAM_PROTO_GetFieldsCounters [16:48:31]wFMCommunicate request_size=4 [16:48:31]MH_SAM_APDU [16:48:31]CAPDU: 80 13 00 00 [16:48:31]Write to MH i2c: E2 08 00 7D 04 80 13 00 00 00 00 00 00 FD [16:48:31]Write i2c OK [16:48:31]MH_I2C_Read... [16:48:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:48:31]Read from MH i2c: E2 [16:48:31]MH_I2C_Read... [16:48:31]Read from MH i2c: E2 62 00 [16:48:31]MH_I2C_Read... [16:48:31]Read from MH i2c: E2 62 00 7D 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 C2 69 00 00 0E 04 04 00 B1 01 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 9E [16:48:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 C2 69 00 00 0E 04 04 00 B1 01 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 [16:48:31]wFMCommunicate OK [16:48:31]SAM_PROTO_GetFieldsCounters done [16:48:31]requested_item shift.num is exist - process it [16:48:31]requested_item shift.opened is exist - process it [16:48:31]req_shift_opened [16:48:31]FM_GetShiftState [16:48:31]SAM_PROTO_GetShiftState [16:48:31]wFMCommunicate request_size=4 [16:48:31]MH_SAM_APDU [16:48:31]CAPDU: 80 13 01 00 [16:48:31]Write to MH i2c: E2 08 00 7E 04 80 13 01 00 00 00 00 00 FF [16:48:31]Write i2c OK [16:48:31]MH_I2C_Read... [16:48:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:48:31]Read from MH i2c: E2 [16:48:31]MH_I2C_Read... [16:48:31]Read from MH i2c: E2 0E 00 [16:48:31]MH_I2C_Read... [16:48:31]Read from MH i2c: E2 0E 00 7E 04 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 27 [16:48:31]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [16:48:31]wFMCommunicate OK [16:48:31]SAM_PROTO_GetShiftState done [16:48:31]FM_GetShiftState done [16:48:31]req_shift_opened done [16:48:31]requested_item shift.open_date is exist - process it [16:48:31]req_shift_open_date [16:48:31]req_shift_open_date done [16:48:31]produce_requested_data done [16:48:31]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27074,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [16:48:31]process_action_free close_receipt [16:48:31]json_value_free [16:48:31]json_value_free done [16:48:31]process_json_proto returns [16:48:31]Send response to host [16:48:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27074,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [16:48:31]free response buf [16:48:31]execute_script done [16:48:31]execute_script returns [16:48:31]free content buf [16:48:31]Sock 8.Close socket [16:48:31]Sock 8.Thread stoped [16:48:34]OFD Sender: No OFD packet to send [16:48:39]OFD Sender: No OFD packet to send [16:48:44]OFD Sender: No OFD packet to send [16:48:49]OFD Sender: No OFD packet to send [16:48:54]OFD Sender: No OFD packet to send [16:48:59]OFD Sender: No OFD packet to send [16:49:04]OFD Sender: No OFD packet to send [16:49:09]OFD Sender: No OFD packet to send [16:49:15]OFD Sender: No OFD packet to send [16:49:20]OFD Sender: No OFD packet to send [16:49:25]OFD Sender: No OFD packet to send [16:49:30]OFD Sender: No OFD packet to send [16:49:35]OFD Sender: No OFD packet to send [16:49:40]OFD Sender: No OFD packet to send [16:49:45]OFD Sender: No OFD packet to send [16:49:50]OFD Sender: No OFD packet to send [16:49:55]OFD Sender: No OFD packet to send [16:50:00]OFD Sender: No OFD packet to send [16:50:05]OFD Sender: No OFD packet to send [16:50:10]OFD Sender: No OFD packet to send [16:50:15]OFD Sender: No OFD packet to send [16:50:20]OFD Sender: No OFD packet to send [16:50:25]OFD Sender: No OFD packet to send [16:50:30]OFD Sender: No OFD packet to send [16:50:35]OFD Sender: No OFD packet to send [16:50:40]OFD Sender: No OFD packet to send [16:50:45]OFD Sender: No OFD packet to send [16:50:50]OFD Sender: No OFD packet to send [16:50:55]OFD Sender: No OFD packet to send [16:51:00]OFD Sender: No OFD packet to send [16:51:05]OFD Sender: No OFD packet to send [16:51:10]OFD Sender: No OFD packet to send [16:51:15]OFD Sender: No OFD packet to send [16:51:20]OFD Sender: No OFD packet to send [16:51:25]OFD Sender: No OFD packet to send [16:51:30]OFD Sender: No OFD packet to send [16:51:35]OFD Sender: No OFD packet to send [16:51:40]OFD Sender: No OFD packet to send [16:51:45]OFD Sender: No OFD packet to send [16:51:50]OFD Sender: No OFD packet to send [16:51:55]OFD Sender: No OFD packet to send [16:52:00]OFD Sender: No OFD packet to send [16:52:05]OFD Sender: No OFD packet to send [16:52:10]OFD Sender: No OFD packet to send [16:52:15]OFD Sender: No OFD packet to send [16:52:20]OFD Sender: No OFD packet to send [16:52:25]OFD Sender: No OFD packet to send [16:52:30]OFD Sender: No OFD packet to send [16:52:35]OFD Sender: No OFD packet to send [16:52:40]OFD Sender: No OFD packet to send [16:52:45]OFD Sender: No OFD packet to send [16:52:50]OFD Sender: No OFD packet to send [16:52:55]OFD Sender: No OFD packet to send [16:53:00]OFD Sender: No OFD packet to send [16:53:05]OFD Sender: No OFD packet to send [16:53:10]OFD Sender: No OFD packet to send [16:53:15]OFD Sender: No OFD packet to send [16:53:20]OFD Sender: No OFD packet to send [16:53:25]OFD Sender: No OFD packet to send [16:53:30]OFD Sender: No OFD packet to send [16:53:35]OFD Sender: No OFD packet to send [16:53:40]OFD Sender: No OFD packet to send [16:53:45]OFD Sender: No OFD packet to send [16:53:50]OFD Sender: No OFD packet to send [16:53:55]OFD Sender: No OFD packet to send [16:54:00]OFD Sender: No OFD packet to send [16:54:05]OFD Sender: No OFD packet to send [16:54:10]OFD Sender: No OFD packet to send [16:54:15]OFD Sender: No OFD packet to send [16:54:20]OFD Sender: No OFD packet to send [16:54:25]OFD Sender: No OFD packet to send [16:54:30]OFD Sender: No OFD packet to send [16:54:35]OFD Sender: No OFD packet to send [16:54:40]OFD Sender: No OFD packet to send [16:54:45]OFD Sender: No OFD packet to send [16:54:50]OFD Sender: No OFD packet to send [16:54:55]OFD Sender: No OFD packet to send [16:55:00]OFD Sender: No OFD packet to send [16:55:05]OFD Sender: No OFD packet to send [16:55:10]OFD Sender: No OFD packet to send [16:55:15]OFD Sender: No OFD packet to send [16:55:20]OFD Sender: No OFD packet to send [16:55:25]OFD Sender: No OFD packet to send [16:55:30]OFD Sender: No OFD packet to send [16:55:35]OFD Sender: No OFD packet to send [16:55:40]OFD Sender: No OFD packet to send [16:55:45]OFD Sender: No OFD packet to send [16:55:50]OFD Sender: No OFD packet to send [16:55:55]OFD Sender: No OFD packet to send [16:56:00]OFD Sender: No OFD packet to send [16:56:05]OFD Sender: No OFD packet to send [16:56:10]OFD Sender: No OFD packet to send [16:56:15]OFD Sender: No OFD packet to send [16:56:20]OFD Sender: No OFD packet to send [16:56:25]OFD Sender: No OFD packet to send [16:56:30]OFD Sender: No OFD packet to send [16:56:35]OFD Sender: No OFD packet to send [16:56:40]OFD Sender: No OFD packet to send [16:56:45]OFD Sender: No OFD packet to send [16:56:50]OFD Sender: No OFD packet to send [16:56:55]OFD Sender: No OFD packet to send [16:57:00]OFD Sender: No OFD packet to send [16:57:05]OFD Sender: No OFD packet to send [16:57:10]OFD Sender: No OFD packet to send [16:57:15]OFD Sender: No OFD packet to send [16:57:20]OFD Sender: No OFD packet to send [16:57:25]OFD Sender: No OFD packet to send [16:57:30]OFD Sender: No OFD packet to send [16:57:35]OFD Sender: No OFD packet to send [16:57:40]OFD Sender: No OFD packet to send [16:57:45]OFD Sender: No OFD packet to send [16:57:50]OFD Sender: No OFD packet to send [16:57:55]OFD Sender: No OFD packet to send [16:58:00]OFD Sender: No OFD packet to send [16:58:05]OFD Sender: No OFD packet to send [16:58:10]OFD Sender: No OFD packet to send [16:58:15]OFD Sender: No OFD packet to send [16:58:20]OFD Sender: No OFD packet to send [16:58:25]OFD Sender: No OFD packet to send [16:58:30]OFD Sender: No OFD packet to send [16:58:35]OFD Sender: No OFD packet to send [16:58:40]OFD Sender: No OFD packet to send [16:58:45]OFD Sender: No OFD packet to send [16:58:50]OFD Sender: No OFD packet to send [16:58:55]OFD Sender: No OFD packet to send [16:59:00]OFD Sender: No OFD packet to send [16:59:05]OFD Sender: No OFD packet to send [16:59:10]OFD Sender: No OFD packet to send [16:59:15]OFD Sender: No OFD packet to send [16:59:20]OFD Sender: No OFD packet to send [16:59:25]OFD Sender: No OFD packet to send [16:59:30]OFD Sender: No OFD packet to send [16:59:35]OFD Sender: No OFD packet to send [16:59:40]OFD Sender: No OFD packet to send [16:59:45]OFD Sender: No OFD packet to send [16:59:50]OFD Sender: No OFD packet to send [16:59:55]OFD Sender: No OFD packet to send [17:00:00]OFD Sender: No OFD packet to send [17:00:05]OFD Sender: No OFD packet to send [17:00:10]OFD Sender: No OFD packet to send [17:00:15]OFD Sender: No OFD packet to send [17:00:20]OFD Sender: No OFD packet to send [17:00:25]OFD Sender: No OFD packet to send [17:00:30]OFD Sender: No OFD packet to send [17:00:35]OFD Sender: No OFD packet to send [17:00:40]OFD Sender: No OFD packet to send [17:00:45]OFD Sender: No OFD packet to send [17:00:50]OFD Sender: No OFD packet to send [17:00:55]OFD Sender: No OFD packet to send [17:01:00]OFD Sender: No OFD packet to send [17:01:05]OFD Sender: No OFD packet to send [17:01:10]OFD Sender: No OFD packet to send [17:01:15]OFD Sender: No OFD packet to send [17:01:20]OFD Sender: No OFD packet to send [17:01:25]OFD Sender: No OFD packet to send [17:01:30]OFD Sender: No OFD packet to send [17:01:35]OFD Sender: No OFD packet to send [17:01:40]OFD Sender: No OFD packet to send [17:01:45]OFD Sender: No OFD packet to send [17:01:50]OFD Sender: No OFD packet to send [17:01:55]OFD Sender: No OFD packet to send [17:02:00]OFD Sender: No OFD packet to send [17:02:05]OFD Sender: No OFD packet to send [17:02:10]OFD Sender: No OFD packet to send [17:02:15]OFD Sender: No OFD packet to send [17:02:20]OFD Sender: No OFD packet to send [17:02:25]OFD Sender: No OFD packet to send [17:02:30]OFD Sender: No OFD packet to send [17:02:35]OFD Sender: No OFD packet to send [17:02:40]OFD Sender: No OFD packet to send [17:02:45]OFD Sender: No OFD packet to send [17:02:50]OFD Sender: No OFD packet to send [17:02:55]OFD Sender: No OFD packet to send [17:03:00]OFD Sender: No OFD packet to send [17:03:05]OFD Sender: No OFD packet to send [17:03:10]OFD Sender: No OFD packet to send [17:03:15]OFD Sender: No OFD packet to send [17:03:20]OFD Sender: No OFD packet to send [17:03:25]OFD Sender: No OFD packet to send [17:03:30]OFD Sender: No OFD packet to send [17:03:35]OFD Sender: No OFD packet to send [17:03:40]OFD Sender: No OFD packet to send [17:03:45]OFD Sender: No OFD packet to send [17:03:50]OFD Sender: No OFD packet to send [17:03:55]OFD Sender: No OFD packet to send [17:04:00]OFD Sender: No OFD packet to send [17:04:05]OFD Sender: No OFD packet to send [17:04:10]OFD Sender: No OFD packet to send [17:04:15]OFD Sender: No OFD packet to send [17:04:20]OFD Sender: No OFD packet to send [17:04:25]OFD Sender: No OFD packet to send [17:04:30]OFD Sender: No OFD packet to send [17:04:35]OFD Sender: No OFD packet to send [17:04:40]OFD Sender: No OFD packet to send [17:04:45]OFD Sender: No OFD packet to send [17:04:50]OFD Sender: No OFD packet to send [17:04:55]OFD Sender: No OFD packet to send [17:05:00]OFD Sender: No OFD packet to send [17:05:05]OFD Sender: No OFD packet to send [17:05:10]OFD Sender: No OFD packet to send [17:05:15]OFD Sender: No OFD packet to send [17:05:20]OFD Sender: No OFD packet to send [17:05:25]OFD Sender: No OFD packet to send [17:05:30]OFD Sender: No OFD packet to send [17:05:35]OFD Sender: No OFD packet to send [17:05:40]OFD Sender: No OFD packet to send [17:05:45]OFD Sender: No OFD packet to send [17:05:50]OFD Sender: No OFD packet to send [17:05:55]OFD Sender: No OFD packet to send [17:06:00]OFD Sender: No OFD packet to send [17:06:05]OFD Sender: No OFD packet to send [17:06:10]OFD Sender: No OFD packet to send [17:06:15]OFD Sender: No OFD packet to send [17:06:20]OFD Sender: No OFD packet to send [17:06:25]OFD Sender: No OFD packet to send [17:06:30]OFD Sender: No OFD packet to send [17:06:35]OFD Sender: No OFD packet to send [17:06:40]OFD Sender: No OFD packet to send [17:06:45]OFD Sender: No OFD packet to send [17:06:50]OFD Sender: No OFD packet to send [17:06:55]OFD Sender: No OFD packet to send [17:07:00]OFD Sender: No OFD packet to send [17:07:05]OFD Sender: No OFD packet to send [17:07:10]OFD Sender: No OFD packet to send [17:07:15]OFD Sender: No OFD packet to send [17:07:20]OFD Sender: No OFD packet to send [17:07:25]OFD Sender: No OFD packet to send [17:07:30]OFD Sender: No OFD packet to send [17:07:35]OFD Sender: No OFD packet to send [17:07:40]OFD Sender: No OFD packet to send [17:07:45]OFD Sender: No OFD packet to send [17:07:50]OFD Sender: No OFD packet to send [17:07:55]OFD Sender: No OFD packet to send [17:08:00]OFD Sender: No OFD packet to send [17:08:05]OFD Sender: No OFD packet to send [17:08:10]OFD Sender: No OFD packet to send [17:08:15]OFD Sender: No OFD packet to send [17:08:20]OFD Sender: No OFD packet to send [17:08:25]OFD Sender: No OFD packet to send [17:08:30]OFD Sender: No OFD packet to send [17:08:35]OFD Sender: No OFD packet to send [17:08:40]OFD Sender: No OFD packet to send [17:08:45]OFD Sender: No OFD packet to send [17:08:50]OFD Sender: No OFD packet to send [17:08:55]OFD Sender: No OFD packet to send [17:09:00]OFD Sender: No OFD packet to send [17:09:05]OFD Sender: No OFD packet to send [17:09:10]OFD Sender: No OFD packet to send [17:09:15]OFD Sender: No OFD packet to send [17:09:20]OFD Sender: No OFD packet to send [17:09:25]OFD Sender: No OFD packet to send [17:09:30]OFD Sender: No OFD packet to send [17:09:35]OFD Sender: No OFD packet to send [17:09:40]OFD Sender: No OFD packet to send [17:09:45]OFD Sender: No OFD packet to send [17:09:50]OFD Sender: No OFD packet to send [17:09:55]OFD Sender: No OFD packet to send [17:10:00]OFD Sender: No OFD packet to send [17:10:05]OFD Sender: No OFD packet to send [17:10:10]OFD Sender: No OFD packet to send [17:10:15]OFD Sender: No OFD packet to send [17:10:21]OFD Sender: No OFD packet to send [17:10:26]OFD Sender: No OFD packet to send [17:10:31]OFD Sender: No OFD packet to send [17:10:36]OFD Sender: No OFD packet to send [17:10:41]OFD Sender: No OFD packet to send [17:10:46]OFD Sender: No OFD packet to send [17:10:51]OFD Sender: No OFD packet to send [17:10:56]OFD Sender: No OFD packet to send [17:11:01]OFD Sender: No OFD packet to send [17:11:06]OFD Sender: No OFD packet to send [17:11:11]OFD Sender: No OFD packet to send [17:11:16]OFD Sender: No OFD packet to send [17:11:21]OFD Sender: No OFD packet to send [17:11:26]OFD Sender: No OFD packet to send [17:11:31]OFD Sender: No OFD packet to send [17:11:36]OFD Sender: No OFD packet to send [17:11:41]OFD Sender: No OFD packet to send [17:11:46]OFD Sender: No OFD packet to send [17:11:51]OFD Sender: No OFD packet to send [17:11:56]OFD Sender: No OFD packet to send [17:12:01]OFD Sender: No OFD packet to send [17:12:06]OFD Sender: No OFD packet to send [17:12:11]OFD Sender: No OFD packet to send [17:12:16]OFD Sender: No OFD packet to send [17:12:21]OFD Sender: No OFD packet to send [17:12:26]OFD Sender: No OFD packet to send [17:12:31]OFD Sender: No OFD packet to send [17:12:36]OFD Sender: No OFD packet to send [17:12:41]OFD Sender: No OFD packet to send [17:12:46]OFD Sender: No OFD packet to send [17:12:51]OFD Sender: No OFD packet to send [17:12:56]OFD Sender: No OFD packet to send [17:13:01]OFD Sender: No OFD packet to send [17:13:06]OFD Sender: No OFD packet to send [17:13:11]OFD Sender: No OFD packet to send [17:13:16]OFD Sender: No OFD packet to send [17:13:21]OFD Sender: No OFD packet to send [17:13:26]OFD Sender: No OFD packet to send [17:13:31]OFD Sender: No OFD packet to send [17:13:36]OFD Sender: No OFD packet to send [17:13:41]OFD Sender: No OFD packet to send [17:13:46]OFD Sender: No OFD packet to send [17:13:51]OFD Sender: No OFD packet to send [17:13:56]OFD Sender: No OFD packet to send [17:14:01]OFD Sender: No OFD packet to send [17:14:06]OFD Sender: No OFD packet to send [17:14:11]OFD Sender: No OFD packet to send [17:14:16]OFD Sender: No OFD packet to send [17:14:21]OFD Sender: No OFD packet to send [17:14:26]OFD Sender: No OFD packet to send [17:14:31]OFD Sender: No OFD packet to send [17:14:36]OFD Sender: No OFD packet to send [17:14:41]OFD Sender: No OFD packet to send [17:14:46]OFD Sender: No OFD packet to send [17:14:51]OFD Sender: No OFD packet to send [17:14:56]OFD Sender: No OFD packet to send [17:15:01]OFD Sender: No OFD packet to send [17:15:06]OFD Sender: No OFD packet to send [17:15:11]OFD Sender: No OFD packet to send [17:15:16]OFD Sender: No OFD packet to send [17:15:21]OFD Sender: No OFD packet to send [17:15:26]OFD Sender: No OFD packet to send [17:15:31]OFD Sender: No OFD packet to send [17:15:36]OFD Sender: No OFD packet to send [17:15:41]OFD Sender: No OFD packet to send [17:15:46]OFD Sender: No OFD packet to send [17:15:51]OFD Sender: No OFD packet to send [17:15:56]OFD Sender: No OFD packet to send [17:16:01]OFD Sender: No OFD packet to send [17:16:06]OFD Sender: No OFD packet to send [17:16:11]OFD Sender: No OFD packet to send [17:16:16]OFD Sender: No OFD packet to send [17:16:21]OFD Sender: No OFD packet to send [17:16:26]OFD Sender: No OFD packet to send [17:16:31]OFD Sender: No OFD packet to send [17:16:36]OFD Sender: No OFD packet to send [17:16:41]OFD Sender: No OFD packet to send [17:16:46]OFD Sender: No OFD packet to send [17:16:51]OFD Sender: No OFD packet to send [17:16:56]OFD Sender: No OFD packet to send [17:17:01]OFD Sender: No OFD packet to send [17:17:06]OFD Sender: No OFD packet to send [17:17:11]OFD Sender: No OFD packet to send [17:17:16]OFD Sender: No OFD packet to send [17:17:21]OFD Sender: No OFD packet to send [17:17:26]OFD Sender: No OFD packet to send [17:17:31]OFD Sender: No OFD packet to send [17:17:36]OFD Sender: No OFD packet to send [17:17:41]OFD Sender: No OFD packet to send [17:17:46]OFD Sender: No OFD packet to send [17:17:51]OFD Sender: No OFD packet to send [17:17:56]OFD Sender: No OFD packet to send [17:18:01]OFD Sender: No OFD packet to send [17:18:06]OFD Sender: No OFD packet to send [17:18:11]OFD Sender: No OFD packet to send [17:18:16]OFD Sender: No OFD packet to send [17:18:21]OFD Sender: No OFD packet to send [17:18:26]OFD Sender: No OFD packet to send [17:18:31]OFD Sender: No OFD packet to send [17:18:36]OFD Sender: No OFD packet to send [17:18:41]OFD Sender: No OFD packet to send [17:18:46]OFD Sender: No OFD packet to send [17:18:51]OFD Sender: No OFD packet to send [17:18:56]OFD Sender: No OFD packet to send [17:19:01]OFD Sender: No OFD packet to send [17:19:06]OFD Sender: No OFD packet to send [17:19:11]OFD Sender: No OFD packet to send [17:19:16]OFD Sender: No OFD packet to send [17:19:21]OFD Sender: No OFD packet to send [17:19:26]OFD Sender: No OFD packet to send [17:19:31]OFD Sender: No OFD packet to send [17:19:36]OFD Sender: No OFD packet to send [17:19:41]OFD Sender: No OFD packet to send [17:19:46]OFD Sender: No OFD packet to send [17:19:51]OFD Sender: No OFD packet to send [17:19:56]OFD Sender: No OFD packet to send [17:20:01]OFD Sender: No OFD packet to send [17:20:06]OFD Sender: No OFD packet to send [17:20:11]OFD Sender: No OFD packet to send [17:20:16]OFD Sender: No OFD packet to send [17:20:21]OFD Sender: No OFD packet to send [17:20:26]OFD Sender: No OFD packet to send [17:20:31]OFD Sender: No OFD packet to send [17:20:36]OFD Sender: No OFD packet to send [17:20:41]OFD Sender: No OFD packet to send [17:20:46]OFD Sender: No OFD packet to send [17:20:51]OFD Sender: No OFD packet to send [17:20:56]OFD Sender: No OFD packet to send [17:21:01]OFD Sender: No OFD packet to send [17:21:06]OFD Sender: No OFD packet to send [17:21:11]OFD Sender: No OFD packet to send [17:21:16]OFD Sender: No OFD packet to send [17:21:21]OFD Sender: No OFD packet to send [17:21:26]OFD Sender: No OFD packet to send [17:21:31]OFD Sender: No OFD packet to send [17:21:36]OFD Sender: No OFD packet to send [17:21:41]OFD Sender: No OFD packet to send [17:21:46]OFD Sender: No OFD packet to send [17:21:51]OFD Sender: No OFD packet to send [17:21:56]OFD Sender: No OFD packet to send [17:22:01]OFD Sender: No OFD packet to send [17:22:06]OFD Sender: No OFD packet to send [17:22:11]OFD Sender: No OFD packet to send [17:22:16]OFD Sender: No OFD packet to send [17:22:21]OFD Sender: No OFD packet to send [17:22:26]OFD Sender: No OFD packet to send [17:22:31]OFD Sender: No OFD packet to send [17:22:36]OFD Sender: No OFD packet to send [17:22:41]OFD Sender: No OFD packet to send [17:22:46]OFD Sender: No OFD packet to send [17:22:51]OFD Sender: No OFD packet to send [17:22:56]OFD Sender: No OFD packet to send [17:23:01]OFD Sender: No OFD packet to send [17:23:06]OFD Sender: No OFD packet to send [17:23:11]OFD Sender: No OFD packet to send [17:23:16]OFD Sender: No OFD packet to send [17:23:21]OFD Sender: No OFD packet to send [17:23:26]OFD Sender: No OFD packet to send [17:23:31]OFD Sender: No OFD packet to send [17:23:36]OFD Sender: No OFD packet to send [17:23:41]OFD Sender: No OFD packet to send [17:23:46]OFD Sender: No OFD packet to send [17:23:51]OFD Sender: No OFD packet to send [17:23:56]OFD Sender: No OFD packet to send [17:24:01]OFD Sender: No OFD packet to send [17:24:06]OFD Sender: No OFD packet to send [17:24:11]OFD Sender: No OFD packet to send [17:24:16]OFD Sender: No OFD packet to send [17:24:21]OFD Sender: No OFD packet to send [17:24:26]OFD Sender: No OFD packet to send [17:24:31]OFD Sender: No OFD packet to send [17:24:36]OFD Sender: No OFD packet to send [17:24:41]OFD Sender: No OFD packet to send [17:24:46]OFD Sender: No OFD packet to send [17:24:51]OFD Sender: No OFD packet to send [17:24:56]OFD Sender: No OFD packet to send [17:25:01]OFD Sender: No OFD packet to send [17:25:06]OFD Sender: No OFD packet to send [17:25:11]OFD Sender: No OFD packet to send [17:25:16]OFD Sender: No OFD packet to send [17:25:21]OFD Sender: No OFD packet to send [17:25:26]OFD Sender: No OFD packet to send [17:25:31]OFD Sender: No OFD packet to send [17:25:36]OFD Sender: No OFD packet to send [17:25:41]OFD Sender: No OFD packet to send [17:25:46]OFD Sender: No OFD packet to send [17:25:51]OFD Sender: No OFD packet to send [17:25:56]OFD Sender: No OFD packet to send [17:26:01]OFD Sender: No OFD packet to send [17:26:06]OFD Sender: No OFD packet to send [17:26:11]OFD Sender: No OFD packet to send [17:26:16]OFD Sender: No OFD packet to send [17:26:21]OFD Sender: No OFD packet to send [17:26:26]OFD Sender: No OFD packet to send [17:26:31]OFD Sender: No OFD packet to send [17:26:36]OFD Sender: No OFD packet to send [17:26:41]OFD Sender: No OFD packet to send [17:26:46]OFD Sender: No OFD packet to send [17:26:51]OFD Sender: No OFD packet to send [17:26:56]OFD Sender: No OFD packet to send [17:27:01]OFD Sender: No OFD packet to send [17:27:06]OFD Sender: No OFD packet to send [17:27:11]OFD Sender: No OFD packet to send [17:27:16]OFD Sender: No OFD packet to send [17:27:21]OFD Sender: No OFD packet to send [17:27:26]OFD Sender: No OFD packet to send [17:27:31]OFD Sender: No OFD packet to send [17:27:36]OFD Sender: No OFD packet to send [17:27:41]OFD Sender: No OFD packet to send [17:27:46]OFD Sender: No OFD packet to send [17:27:51]OFD Sender: No OFD packet to send [17:27:56]OFD Sender: No OFD packet to send [17:28:01]OFD Sender: No OFD packet to send [17:28:06]OFD Sender: No OFD packet to send [17:28:11]OFD Sender: No OFD packet to send [17:28:16]OFD Sender: No OFD packet to send [17:28:21]OFD Sender: No OFD packet to send [17:28:26]OFD Sender: No OFD packet to send [17:28:31]OFD Sender: No OFD packet to send [17:28:36]OFD Sender: No OFD packet to send [17:28:41]OFD Sender: No OFD packet to send [17:28:46]OFD Sender: No OFD packet to send [17:28:51]OFD Sender: No OFD packet to send [17:28:56]OFD Sender: No OFD packet to send [17:29:01]OFD Sender: No OFD packet to send [17:29:06]OFD Sender: No OFD packet to send [17:29:11]OFD Sender: No OFD packet to send [17:29:16]OFD Sender: No OFD packet to send [17:29:21]OFD Sender: No OFD packet to send [17:29:26]OFD Sender: No OFD packet to send [17:29:31]OFD Sender: No OFD packet to send [17:29:36]OFD Sender: No OFD packet to send [17:29:41]OFD Sender: No OFD packet to send [17:29:46]OFD Sender: No OFD packet to send [17:29:51]OFD Sender: No OFD packet to send [17:29:56]OFD Sender: No OFD packet to send [17:30:01]OFD Sender: No OFD packet to send [17:30:06]OFD Sender: No OFD packet to send [17:30:11]OFD Sender: No OFD packet to send [17:30:16]OFD Sender: No OFD packet to send [17:30:21]OFD Sender: No OFD packet to send [17:30:26]OFD Sender: No OFD packet to send [17:30:31]OFD Sender: No OFD packet to send [17:30:36]OFD Sender: No OFD packet to send [17:30:41]OFD Sender: No OFD packet to send [17:30:46]OFD Sender: No OFD packet to send [17:30:51]OFD Sender: No OFD packet to send [17:30:56]OFD Sender: No OFD packet to send [17:31:01]OFD Sender: No OFD packet to send [17:31:06]OFD Sender: No OFD packet to send [17:31:11]OFD Sender: No OFD packet to send [17:31:16]OFD Sender: No OFD packet to send [17:31:21]OFD Sender: No OFD packet to send [17:31:26]OFD Sender: No OFD packet to send [17:31:31]OFD Sender: No OFD packet to send [17:31:37]OFD Sender: No OFD packet to send [17:31:42]OFD Sender: No OFD packet to send [17:31:47]OFD Sender: No OFD packet to send [17:31:52]OFD Sender: No OFD packet to send [17:31:57]OFD Sender: No OFD packet to send [17:32:02]OFD Sender: No OFD packet to send [17:32:07]OFD Sender: No OFD packet to send [17:32:12]OFD Sender: No OFD packet to send [17:32:17]OFD Sender: No OFD packet to send [17:32:22]OFD Sender: No OFD packet to send [17:32:27]OFD Sender: No OFD packet to send [17:32:32]OFD Sender: No OFD packet to send [17:32:37]OFD Sender: No OFD packet to send [17:32:42]OFD Sender: No OFD packet to send [17:32:47]OFD Sender: No OFD packet to send [17:32:52]OFD Sender: No OFD packet to send [17:32:57]OFD Sender: No OFD packet to send [17:33:02]OFD Sender: No OFD packet to send [17:33:07]OFD Sender: No OFD packet to send [17:33:12]OFD Sender: No OFD packet to send [17:33:17]OFD Sender: No OFD packet to send [17:33:22]OFD Sender: No OFD packet to send [17:33:27]OFD Sender: No OFD packet to send [17:33:32]OFD Sender: No OFD packet to send [17:33:37]OFD Sender: No OFD packet to send [17:33:42]OFD Sender: No OFD packet to send [17:33:47]OFD Sender: No OFD packet to send [17:33:52]OFD Sender: No OFD packet to send [17:33:57]OFD Sender: No OFD packet to send [17:34:02]OFD Sender: No OFD packet to send [17:34:07]OFD Sender: No OFD packet to send [17:34:12]OFD Sender: No OFD packet to send [17:34:17]OFD Sender: No OFD packet to send [17:34:22]OFD Sender: No OFD packet to send [17:34:27]OFD Sender: No OFD packet to send [17:34:32]OFD Sender: No OFD packet to send [17:34:37]OFD Sender: No OFD packet to send [17:34:42]OFD Sender: No OFD packet to send [17:34:47]OFD Sender: No OFD packet to send [17:34:52]OFD Sender: No OFD packet to send [17:34:57]OFD Sender: No OFD packet to send [17:35:02]OFD Sender: No OFD packet to send [17:35:07]OFD Sender: No OFD packet to send [17:35:12]OFD Sender: No OFD packet to send [17:35:17]OFD Sender: No OFD packet to send [17:35:22]OFD Sender: No OFD packet to send [17:35:27]OFD Sender: No OFD packet to send [17:35:32]OFD Sender: No OFD packet to send [17:35:37]OFD Sender: No OFD packet to send [17:35:42]OFD Sender: No OFD packet to send [17:35:47]OFD Sender: No OFD packet to send [17:35:52]OFD Sender: No OFD packet to send [17:35:57]OFD Sender: No OFD packet to send [17:36:02]OFD Sender: No OFD packet to send [17:36:07]OFD Sender: No OFD packet to send [17:36:12]OFD Sender: No OFD packet to send [17:36:17]OFD Sender: No OFD packet to send [17:36:22]OFD Sender: No OFD packet to send [17:36:27]OFD Sender: No OFD packet to send [17:36:32]OFD Sender: No OFD packet to send [17:36:37]OFD Sender: No OFD packet to send [17:36:42]OFD Sender: No OFD packet to send [17:36:47]OFD Sender: No OFD packet to send [17:36:52]OFD Sender: No OFD packet to send [17:36:57]OFD Sender: No OFD packet to send [17:37:02]OFD Sender: No OFD packet to send [17:37:07]OFD Sender: No OFD packet to send [17:37:12]OFD Sender: No OFD packet to send [17:37:17]OFD Sender: No OFD packet to send [17:37:22]OFD Sender: No OFD packet to send [17:37:27]OFD Sender: No OFD packet to send [17:37:32]OFD Sender: No OFD packet to send [17:37:37]OFD Sender: No OFD packet to send [17:37:42]OFD Sender: No OFD packet to send [17:37:47]OFD Sender: No OFD packet to send [17:37:52]OFD Sender: No OFD packet to send [17:37:57]OFD Sender: No OFD packet to send [17:38:02]OFD Sender: No OFD packet to send [17:38:07]OFD Sender: No OFD packet to send [17:38:12]OFD Sender: No OFD packet to send [17:38:17]OFD Sender: No OFD packet to send [17:38:22]OFD Sender: No OFD packet to send [17:38:27]OFD Sender: No OFD packet to send [17:38:32]OFD Sender: No OFD packet to send [17:38:37]OFD Sender: No OFD packet to send [17:38:42]OFD Sender: No OFD packet to send [17:38:47]OFD Sender: No OFD packet to send [17:38:52]OFD Sender: No OFD packet to send [17:38:57]OFD Sender: No OFD packet to send [17:39:02]OFD Sender: No OFD packet to send [17:39:07]OFD Sender: No OFD packet to send [17:39:12]OFD Sender: No OFD packet to send [17:39:17]OFD Sender: No OFD packet to send [17:39:22]OFD Sender: No OFD packet to send [17:39:27]OFD Sender: No OFD packet to send [17:39:32]OFD Sender: No OFD packet to send [17:39:37]OFD Sender: No OFD packet to send [17:39:42]OFD Sender: No OFD packet to send [17:39:47]OFD Sender: No OFD packet to send [17:39:52]OFD Sender: No OFD packet to send [17:39:57]OFD Sender: No OFD packet to send [17:40:02]OFD Sender: No OFD packet to send [17:40:07]OFD Sender: No OFD packet to send [17:40:12]OFD Sender: No OFD packet to send [17:40:17]OFD Sender: No OFD packet to send [17:40:22]OFD Sender: No OFD packet to send [17:40:27]OFD Sender: No OFD packet to send [17:40:32]OFD Sender: No OFD packet to send [17:40:37]OFD Sender: No OFD packet to send [17:40:42]OFD Sender: No OFD packet to send [17:40:47]OFD Sender: No OFD packet to send [17:40:52]OFD Sender: No OFD packet to send [17:40:57]OFD Sender: No OFD packet to send [17:41:02]OFD Sender: No OFD packet to send [17:41:07]OFD Sender: No OFD packet to send [17:41:12]OFD Sender: No OFD packet to send [17:41:17]OFD Sender: No OFD packet to send [17:41:22]OFD Sender: No OFD packet to send [17:41:27]OFD Sender: No OFD packet to send [17:41:32]OFD Sender: No OFD packet to send [17:41:37]OFD Sender: No OFD packet to send [17:41:42]OFD Sender: No OFD packet to send [17:41:47]OFD Sender: No OFD packet to send [17:41:52]OFD Sender: No OFD packet to send [17:41:57]OFD Sender: No OFD packet to send [17:42:02]OFD Sender: No OFD packet to send [17:42:07]OFD Sender: No OFD packet to send [17:42:12]OFD Sender: No OFD packet to send [17:42:17]OFD Sender: No OFD packet to send [17:42:22]OFD Sender: No OFD packet to send [17:42:27]OFD Sender: No OFD packet to send [17:42:32]OFD Sender: No OFD packet to send [17:42:37]OFD Sender: No OFD packet to send [17:42:42]OFD Sender: No OFD packet to send [17:42:47]OFD Sender: No OFD packet to send [17:42:52]OFD Sender: No OFD packet to send [17:42:57]OFD Sender: No OFD packet to send [17:43:02]OFD Sender: No OFD packet to send [17:43:07]OFD Sender: No OFD packet to send [17:43:12]OFD Sender: No OFD packet to send [17:43:17]OFD Sender: No OFD packet to send [17:43:22]OFD Sender: No OFD packet to send [17:43:27]OFD Sender: No OFD packet to send [17:43:32]OFD Sender: No OFD packet to send [17:43:37]OFD Sender: No OFD packet to send [17:43:42]OFD Sender: No OFD packet to send [17:43:47]OFD Sender: No OFD packet to send [17:43:52]OFD Sender: No OFD packet to send [17:43:57]OFD Sender: No OFD packet to send [17:44:02]OFD Sender: No OFD packet to send [17:44:07]OFD Sender: No OFD packet to send [17:44:12]OFD Sender: No OFD packet to send [17:44:17]OFD Sender: No OFD packet to send [17:44:22]OFD Sender: No OFD packet to send [17:44:27]OFD Sender: No OFD packet to send [17:44:32]OFD Sender: No OFD packet to send [17:44:37]OFD Sender: No OFD packet to send [17:44:42]OFD Sender: No OFD packet to send [17:44:47]OFD Sender: No OFD packet to send [17:44:52]OFD Sender: No OFD packet to send [17:44:57]OFD Sender: No OFD packet to send [17:45:02]OFD Sender: No OFD packet to send [17:45:07]OFD Sender: No OFD packet to send [17:45:12]OFD Sender: No OFD packet to send [17:45:17]OFD Sender: No OFD packet to send [17:45:22]OFD Sender: No OFD packet to send [17:45:27]OFD Sender: No OFD packet to send [17:45:32]OFD Sender: No OFD packet to send [17:45:37]OFD Sender: No OFD packet to send [17:45:42]OFD Sender: No OFD packet to send [17:45:47]OFD Sender: No OFD packet to send [17:45:52]OFD Sender: No OFD packet to send [17:45:57]OFD Sender: No OFD packet to send [17:46:02]OFD Sender: No OFD packet to send [17:46:07]OFD Sender: No OFD packet to send [17:46:12]OFD Sender: No OFD packet to send [17:46:17]OFD Sender: No OFD packet to send [17:46:22]OFD Sender: No OFD packet to send [17:46:27]OFD Sender: No OFD packet to send [17:46:32]OFD Sender: No OFD packet to send [17:46:37]OFD Sender: No OFD packet to send [17:46:42]OFD Sender: No OFD packet to send [17:46:47]OFD Sender: No OFD packet to send [17:46:52]OFD Sender: No OFD packet to send [17:46:57]OFD Sender: No OFD packet to send [17:47:02]OFD Sender: No OFD packet to send [17:47:07]OFD Sender: No OFD packet to send [17:47:12]OFD Sender: No OFD packet to send [17:47:17]OFD Sender: No OFD packet to send [17:47:22]OFD Sender: No OFD packet to send [17:47:27]OFD Sender: No OFD packet to send [17:47:32]OFD Sender: No OFD packet to send [17:47:37]OFD Sender: No OFD packet to send [17:47:42]OFD Sender: No OFD packet to send [17:47:47]OFD Sender: No OFD packet to send [17:47:52]OFD Sender: No OFD packet to send [17:47:57]OFD Sender: No OFD packet to send [17:48:02]OFD Sender: No OFD packet to send [17:48:07]OFD Sender: No OFD packet to send [17:48:12]OFD Sender: No OFD packet to send [17:48:17]OFD Sender: No OFD packet to send [17:48:22]OFD Sender: No OFD packet to send [17:48:27]OFD Sender: No OFD packet to send [17:48:32]OFD Sender: No OFD packet to send [17:48:37]OFD Sender: No OFD packet to send [17:48:42]OFD Sender: No OFD packet to send [17:48:47]OFD Sender: No OFD packet to send [17:48:52]OFD Sender: No OFD packet to send [17:48:57]OFD Sender: No OFD packet to send [17:49:02]OFD Sender: No OFD packet to send [17:49:07]OFD Sender: No OFD packet to send [17:49:12]OFD Sender: No OFD packet to send [17:49:17]OFD Sender: No OFD packet to send [17:49:22]OFD Sender: No OFD packet to send [17:49:27]OFD Sender: No OFD packet to send [17:49:32]OFD Sender: No OFD packet to send [17:49:37]OFD Sender: No OFD packet to send [17:49:42]OFD Sender: No OFD packet to send [17:49:47]OFD Sender: No OFD packet to send [17:49:52]OFD Sender: No OFD packet to send [17:49:57]OFD Sender: No OFD packet to send [17:50:02]OFD Sender: No OFD packet to send [17:50:07]OFD Sender: No OFD packet to send [17:50:12]OFD Sender: No OFD packet to send [17:50:17]OFD Sender: No OFD packet to send [17:50:22]OFD Sender: No OFD packet to send [17:50:27]OFD Sender: No OFD packet to send [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:43]OFD Sender: No OFD packet to send [17:52:48]OFD Sender: No OFD packet to send [17:52:53]OFD Sender: No OFD packet to send [17:52:58]OFD Sender: No OFD packet to send [17:53:03]OFD Sender: No OFD packet to send [17:53:08]OFD Sender: No OFD packet to send [17:53:13]OFD Sender: No OFD packet to send [17:53:18]OFD Sender: No OFD packet to send [17:53:23]OFD Sender: No OFD packet to send [17:53:28]OFD Sender: No OFD packet to send [17:53:33]OFD Sender: No OFD packet to send [17:53:38]OFD Sender: No OFD packet to send [17:53:43]OFD Sender: No OFD packet to send [17:53:48]OFD Sender: No OFD packet to send [17:53:53]OFD Sender: No OFD packet to send [17:53:58]OFD Sender: No OFD packet to send [17:54:03]OFD Sender: No OFD packet to send [17:54:08]OFD Sender: No OFD packet to send [17:54:13]OFD Sender: No OFD packet to send [17:54:18]OFD Sender: No OFD packet to send [17:54:23]OFD Sender: No OFD packet to send [17:54:28]OFD Sender: No OFD packet to send [17:54:32]accept exits with 9 [17:54:32]New connection [17:54:32]New thread 3066785124 created [17:54:32]Thread 3066928484 joined [17:54:32]Waiting for new connection... [17:54:32] Sock 9.Parse request [17:54:32]Sock 9.Check first char [17:54:32]Sock 9.First char is OK [17:54:32]request: POST /json_proto HTTP/1.0 [17:54:32]Method: POST [17:54:32]URL: /json_proto [17:54:32]Method is POST - this is cgi request [17:54:32]url: /json_proto [17:54:32]query_string will be loaded in cgi processing [17:54:32]execute_cgi json_proto POST (null) [17:54:32]execute_cgi path=json_proto method=POST [17:54:32]POST find Content-Length [17:54:32]Host: 172.17.45.8:8080 [17:54:32]Content-Length: 682 [17:54:32]Content-Type: application/json [17:54:32] [17:54:32]POST finish read [17:54:32]Found Content-Length = 682 [17:54:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150473", "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 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:54:32]execute_script... [17:54: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)150473", "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 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:54:32]POST & json_proto [17:54:32]process_json_proto [17:54:32]json parsed OK: [17:54:32]protocol is kg_v1.0 [17:54:32]action value=close_receipt [17:54:32]process_action close_receipt [17:54:32]cmd_close_receipt [17:54:32]MH_GetDate [17:54:32]Write to MH i2c: F0 00 00 7F 04 72 [17:54:32]Write i2c OK [17:54:32]MH_I2C_Read... [17:54:32]Read from MH i2c: F0 [17:54:32]MH_I2C_Read... [17:54:32]Read from MH i2c: F0 09 00 [17:54:32]MH_I2C_Read... [17:54:32]Read from MH i2c: F0 09 00 7F 04 00 DA 85 A6 66 A6 1F 7F 64 8E [17:54:32]GetLastDocTimeStamp 1722185308 [17:54:32]current date 1722189274 [17:54:32]FM_GetShiftState [17:54:32]SAM_PROTO_GetShiftState [17:54:32]wFMCommunicate request_size=4 [17:54:32]MH_SAM_APDU [17:54:32]CAPDU: 80 13 01 00 [17:54:32]Write to MH i2c: E2 08 00 80 04 80 13 01 00 00 00 00 00 01 [17:54:32]Write i2c OK [17:54:32]MH_I2C_Read... [17:54:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:54:32]Read from MH i2c: E2 [17:54:32]MH_I2C_Read... [17:54:32]Read from MH i2c: E2 0E 00 [17:54:32]MH_I2C_Read... [17:54:32]Read from MH i2c: E2 0E 00 80 04 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 29 [17:54:32]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [17:54:32]wFMCommunicate OK [17:54:32]SAM_PROTO_GetShiftState done [17:54:32]FM_GetShiftState done [17:54:32]opened in 1722127230 [17:54:32]opened+sec_in_day 1722213630 [17:54:32]quantity*price = 6500 [17:54:32]sum+1 = 6501 [17:54:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 53 28.07.2024 17:54 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27075 ФПД: 95591979168648 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T175434&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27075&fm=95591979168648&tin=02508201610067®Number=0000000000092663&sum=6500 0 [17:54:33]StoreToDocumentArchive [17:54:33]shift 433 fd 27075 [17:54:33]save to /storage/0433/doc_00027075 [17:54:33]save last doc name /storage/0433/doc_00027075 to /storage/kkm_last_doc_name [17:54:33]save OK [17:54:33]Clear old archive folders... [17:54:33]ProcessDocumentItem done err = 0, tmpTLVsize=293 [17:54:33]tlvbuf is 00182260 [17:54:33]SAM_PROTO_ClearQueue [17:54:33]wFMCommunicate request_size=4 [17:54:33]MH_SAM_APDU [17:54:33]CAPDU: 80 09 00 00 [17:54:33]Write to MH i2c: E2 08 00 8D 04 80 09 00 00 00 00 00 00 03 [17:54:33]Write i2c OK [17:54:33]MH_I2C_Read... [17:54:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:54:33]Read from MH i2c: E2 [17:54:33]MH_I2C_Read... [17:54:33]Read from MH i2c: E2 03 00 [17:54:33]MH_I2C_Read... [17:54:33]Read from MH i2c: E2 03 00 8D 04 00 90 00 05 [17:54:33]RAPDU: 90 00 [17:54:33]wFMCommunicate OK [17:54:33]SAM_PROTO_ClearQueue done [17:54:33]KKMCreateOFDPacket [17:54:33]OFDProtocolAddRootSTLVToBuf [17:54:33]FM_MakeSignedData [17:54:33]FM_MakeSignedData [17:54:33]SAM_PROTO_SignData [17:54:33]wFMCommunicate request_size=4 [17:54:33]MH_SAM_APDU [17:54:33]CAPDU: 80 0D 01 02 [17:54:33]Write to MH i2c: E2 08 00 8E 04 80 0D 01 02 00 00 00 00 0B [17:54:33]Write i2c OK [17:54:33]MH_I2C_Read... [17:54:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:54:33]Read from MH i2c: E2 [17:54:33]MH_I2C_Read... [17:54:33]Read from MH i2c: E2 03 00 [17:54:33]MH_I2C_Read... [17:54:33]Read from MH i2c: E2 03 00 8E 04 00 90 00 06 [17:54:33]RAPDU: 90 00 [17:54:33]wFMCommunicate OK [17:54:33]wFMCommunicate request_size=255 [17:54:33]MH_SAM_APDU [17:54:33]CAPDU: 80 0D 02 02 FA 03 00 25 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 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 35 00 00 00 F4 03 04 00 DA 85 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [17:54:33]Write to MH i2c: E2 02 01 8F 04 80 0D 02 02 FA 00 03 00 25 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 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 35 00 00 00 F4 03 04 00 DA 85 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 FE [17:54:33]Write i2c OK [17:54:33]MH_I2C_Read... [17:54:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:54:34]Read from MH i2c: E2 [17:54:34]MH_I2C_Read... [17:54:34]Read from MH i2c: E2 03 00 [17:54:34]MH_I2C_Read... [17:54:34]Read from MH i2c: E2 03 00 8F 04 00 90 00 07 [17:54:34]RAPDU: 90 00 [17:54:34]wFMCommunicate OK [17:54:34]wFMCommunicate request_size=52 [17:54:34]MH_SAM_APDU [17:54:34]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C3 69 00 00 35 04 06 00 56 F0 BD F6 33 88 [17:54:34]Write to MH i2c: E2 37 00 90 04 80 0D 02 02 2F 00 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C3 69 00 00 35 04 06 00 56 F0 BD F6 33 88 00 00 B8 [17:54:34]Write i2c OK [17:54:34]MH_I2C_Read... [17:54:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:54:34]Read from MH i2c: E2 [17:54:34]MH_I2C_Read... [17:54:34]Read from MH i2c: E2 03 00 [17:54:34]MH_I2C_Read... [17:54:34]Read from MH i2c: E2 03 00 90 04 00 90 00 08 [17:54:34]RAPDU: 90 00 [17:54:34]wFMCommunicate OK [17:54:34]wFMCommunicate request_size=4 [17:54:34]MH_SAM_APDU [17:54:34]CAPDU: 80 0D 03 02 [17:54:34]Write to MH i2c: E2 08 00 91 04 80 0D 03 02 00 00 00 00 10 [17:54:34]Write i2c OK [17:54:34]MH_I2C_Read... [17:54:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:54:34]Read from MH i2c: E2 [17:54:34]MH_I2C_Read... [17:54:34]Read from MH i2c: E2 0B 00 [17:54:34]MH_I2C_Read... [17:54:34]Read from MH i2c: E2 0B 00 91 04 00 7B D0 59 A7 89 D2 19 F9 90 00 C9 [17:54:34]RAPDU: 7B D0 59 A7 89 D2 19 F9 90 00 [17:54:34]wFMCommunicate OK [17:54:34]SAM_PROTO_SignData done [17:54:34]FM_MakeSignedData done [17:54:34]CreateOFDProtocolMessage [17:54:34]wFMCommunicate request_size=4 [17:54:34]MH_SAM_APDU [17:54:34]CAPDU: 80 11 00 00 [17:54:34]Write to MH i2c: E2 08 00 92 04 80 11 00 00 00 00 00 00 10 [17:54:34]Write i2c OK [17:54:34]MH_I2C_Read... [17:54:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:54:34]Read from MH i2c: E2 [17:54:34]MH_I2C_Read... [17:54:34]Read from MH i2c: E2 17 00 [17:54:34]MH_I2C_Read... [17:54:34]Read from MH i2c: E2 17 00 92 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 69 [17:54:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [17:54:34]wFMCommunicate OK [17:54:34]CreateOFDProtocolMessage done [17:54:34]OFDSenderStorePacket 27075 [17:54:34]StoreOFDPacket docnum=27075 [17:54:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 39 01 00 00 D2 21 31 01 7C 9A 5A 03 01 00 03 00 25 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 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 35 00 00 00 F4 03 04 00 DA 85 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C3 69 00 00 35 04 06 00 56 F0 BD F6 33 88 7B D0 59 A7 89 D2 19 F9 [17:54:34]CheckFolder [17:54:34]dirname=/storage/ofd_packets [17:54:34]CheckFolder done [17:54:34]ProducePacketName [17:54:34]name=ofd_packets/00027075 [17:54:34]NVStorageSaveData ofd_packets/00027075 [17:54:34]File name is /storage/ofd_packets/00027075 [17:54:34]Write 343 bytes [17:54:34]NVStorageSaveData done [17:54:34]OFDSenderStorePacket done [17:54:34]KKMCreateOFDPacket done [17:54:34]NVStorageSaveData kkm_last_timestamp [17:54:34]File name is /storage/kkm_last_timestamp [17:54:34]Write 4 bytes [17:54:34]NVStorageSaveData done [17:54:34]ExternCall_PrintAddStr [17:54:34]wPrintStart [17:54:34]Write to MH i2c: 01 00 00 93 04 97 [17:54:34]Write i2c OK [17:54:34]MH_I2C_Read... [17:54:34]Read from MH i2c: 01 [17:54:34]MH_I2C_Read... [17:54:34]Read from MH i2c: 01 07 00 [17:54:34]MH_I2C_Read... [17:54:34]Read from MH i2c: 01 07 00 93 04 00 00 00 00 00 FF 0F AC [17:54:34]RasterBufferAndPrint [17:54:34]line Счет N : (3)150473 [17:54:34]line ИНН: 02508201610067 [17:54:34]line Контрольно-Кассовый Чек [17:54:34]line ПРОДАЖА [17:54:34]line Товар: 4870002328404 [17:54:34]line Вода ASU пит н.газ мята ПЭТ 0,5л [17:54:34]line 1.000 * 65.00 [17:54:34]line = 65.00 [17:54:34]line НДС 12% НСП 1% [17:54:34]line > о реализуемом товаре [17:54:34]line ИТОГО: 65.00 [17:54:34]line НСП 1% : 0.57 [17:54:34]line НДС 12% : 6.90 [17:54:34]line Наличными: 65.00 [17:54:34]line Безнал.: 0.00 [17:54:34]line Место: АЗС № 134 "Партнер Нефть" [17:54:34]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [17:54:34]line СНО: Общий режим [17:54:34]line Чек 53 28.07.2024 17:54 [17:54:34]line Смена: 433 ФФД: 1.0 [17:54:34]line ЗНМ: 0300000043 [17:54:34]line РНМ: 0000000000092663 [17:54:34]line Версия ККМ: 001 [17:54:34]line ФМ: 0000000000874937 [17:54:34]line ФД: 27075 [17:54:34]line ФПД: 95591979168648 [17:54:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T175434&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27075&fm=95591979168648&tin=02508201610067®Number=0000000000092663&sum=6500 [17:54:34]line 0 [17:54:34]OFD Sender: Processing packet 27075 [packets to send 9, broken 8] [17:54:34]ProducePacketName [17:54:34]name=ofd_packets/00027075 [17:54:34]OFD Sender: To server: pG, [17:54:34]CommunicateWithHost lk.salyk.kg:30040 [17:54:34]ConnectInit lk.salyk.kg [17:54:34]written 0, free lines is 4095 [17:54:34]Connected sock=10 [17:54:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 39 01 00 00 D2 21 31 01 7C 9A 5A 03 01 00 03 00 25 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 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 35 00 00 00 F4 03 04 00 DA 85 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C3 69 00 00 35 04 06 00 56 F0 BD F6 33 88 7B D0 59 A7 89 D2 19 F9 [17:54:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 B9 C7 47 00 2E 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 38 37 34 39 33 37 10 04 04 00 C3 69 00 00 F4 03 04 00 2D 2C A6 66 B6 04 01 00 00 A3 A4 28 58 59 EA 29 FF [17:54:34]CommunicateWithHost err = 0 [17:54:34]CheckOFDResponse [17:54:34]1017 (14) - 77093643461234 [17:54:34]1041 (16) - 0000000000874937 [17:54:34]1040 (4) - 27075 [17:54:34]1012 (4) - 28.07.2024 11:31 [17:54:34]1206 (1) - 0 [17:54:34]OFD Sender: Remove packet 27075 [17:54:34]ProducePacketName [17:54:34]name=ofd_packets/00027075 [17:54:34]NVStorageDeleteData [17:54:35]Write to MH i2c: 01 00 00 BB 04 BF [17:54:35]Write i2c OK [17:54:35]MH_I2C_Read... [17:54:35]Read from MH i2c: 01 [17:54:35]MH_I2C_Read... [17:54:35]Read from MH i2c: 01 07 00 [17:54:35]MH_I2C_Read... [17:54:35]Read from MH i2c: 01 07 00 BB 04 00 00 00 00 00 E1 0C B3 [17:54:35]RasterBufferAndPrint [17:54:35]line [17:54:35]line [17:54:35]line [17:54:35]line [17:54:35]line [17:54:35]written 0, free lines is 3301 [17:54:35]MH_Cut [17:54:35]Write to MH i2c: D1 01 00 C2 04 01 98 [17:54:35]Write i2c OK [17:54:35]MH_I2C_Read... [17:54:35]Read from MH i2c: D1 [17:54:35]MH_I2C_Read... [17:54:35]Read from MH i2c: D1 01 00 [17:54:35]MH_I2C_Read... [17:54:35]Read from MH i2c: D1 01 00 C2 04 00 97 [17:54:35]Write to MH i2c: 01 00 00 C3 04 C7 [17:54:35]Write i2c OK [17:54:35]MH_I2C_Read... [17:54:35]OFD Sender: No OFD packet to send [17:54:35]*** Cut start [17:54:35]*** Partial cut [17:54:35]*** CUTSNS_PIN = 1 [17:54:35]*** CUTSNS_PIN = 0 [17:54:36]*** Brake cut motor [17:54:36]Read from MH i2c: 01 [17:54:36]MH_I2C_Read... [17:54:36]*** Stop cut motor [17:54:36]*** Cut end [17:54:36]Read from MH i2c: 01 07 00 [17:54:36]MH_I2C_Read... [17:54:36]Read from MH i2c: 01 07 00 C3 04 00 00 00 00 00 FF 0F DC [17:54:36]process_action close_receipt done [17:54:36]requested_data is exist [17:54:36]produce_requested_data [17:54:36]requested_item fm.sn is exist - process it [17:54:36]wFMCommunicate request_size=4 [17:54:36]MH_SAM_APDU [17:54:36]CAPDU: 80 11 00 00 [17:54:36]Write to MH i2c: E2 08 00 C4 04 80 11 00 00 00 00 00 00 42 [17:54:36]Write i2c OK [17:54:36]MH_I2C_Read... [17:54:36]Read from MH i2c: E2 [17:54:36]MH_I2C_Read... [17:54:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:54:36]Read from MH i2c: E2 17 00 [17:54:36]MH_I2C_Read... [17:54:36]Read from MH i2c: E2 17 00 C4 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 9B [17:54:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [17:54:36]wFMCommunicate OK [17:54:36]requested_item fd.num is exist - process it [17:54:36]SAM_PROTO_GetFieldsCounters [17:54:36]wFMCommunicate request_size=4 [17:54:36]MH_SAM_APDU [17:54:36]CAPDU: 80 13 00 00 [17:54:36]Write to MH i2c: E2 08 00 C5 04 80 13 00 00 00 00 00 00 45 [17:54:36]Write i2c OK [17:54:36]MH_I2C_Read... [17:54:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:54:36]Read from MH i2c: E2 [17:54:36]MH_I2C_Read... [17:54:36]Read from MH i2c: E2 62 00 [17:54:36]MH_I2C_Read... [17:54:36]Read from MH i2c: E2 62 00 C5 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 C3 69 00 00 0E 04 04 00 B1 01 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 EA [17:54:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 C3 69 00 00 0E 04 04 00 B1 01 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:54:36]wFMCommunicate OK [17:54:36]SAM_PROTO_GetFieldsCounters done [17:54:36]requested_item shift.num is exist - process it [17:54:36]requested_item shift.opened is exist - process it [17:54:36]req_shift_opened [17:54:36]FM_GetShiftState [17:54:36]SAM_PROTO_GetShiftState [17:54:36]wFMCommunicate request_size=4 [17:54:36]MH_SAM_APDU [17:54:36]CAPDU: 80 13 01 00 [17:54:36]Write to MH i2c: E2 08 00 C6 04 80 13 01 00 00 00 00 00 47 [17:54:36]Write i2c OK [17:54:36]MH_I2C_Read... [17:54:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:54:36]Read from MH i2c: E2 [17:54:36]MH_I2C_Read... [17:54:36]Read from MH i2c: E2 0E 00 [17:54:36]MH_I2C_Read... [17:54:36]Read from MH i2c: E2 0E 00 C6 04 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 6F [17:54:36]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [17:54:36]wFMCommunicate OK [17:54:36]SAM_PROTO_GetShiftState done [17:54:36]FM_GetShiftState done [17:54:36]req_shift_opened done [17:54:36]requested_item shift.open_date is exist - process it [17:54:36]req_shift_open_date [17:54:36]req_shift_open_date done [17:54:36]produce_requested_data done [17:54:36]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27075,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [17:54:36]process_action_free close_receipt [17:54:36]json_value_free [17:54:36]json_value_free done [17:54:36]process_json_proto returns [17:54:36]Send response to host [17:54:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27075,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [17:54:36]free response buf [17:54:36]execute_script done [17:54:36]execute_script returns [17:54:36]free content buf [17:54:36]Sock 9.Close socket [17:54:36]Sock 9.Thread stoped [17:54:40]OFD Sender: No OFD packet to send [17:54:45]OFD Sender: No OFD packet to send [17:54:50]OFD Sender: No OFD packet to send [17:54:55]OFD Sender: No OFD packet to send [17:55:00]OFD Sender: No OFD packet to send [17:55:05]OFD Sender: No OFD packet to send [17:55:10]OFD Sender: No OFD packet to send [17:55:15]OFD Sender: No OFD packet to send [17:55:20]OFD Sender: No OFD packet to send [17:55:25]OFD Sender: No OFD packet to send [17:55:30]OFD Sender: No OFD packet to send [17:55:35]OFD Sender: No OFD packet to send [17:55:40]OFD Sender: No OFD packet to send [17:55:45]OFD Sender: No OFD packet to send [17:55:50]OFD Sender: No OFD packet to send [17:55:55]OFD Sender: No OFD packet to send [17:56:00]OFD Sender: No OFD packet to send [17:56:05]OFD Sender: No OFD packet to send [17:56:10]OFD Sender: No OFD packet to send [17:56:15]OFD Sender: No OFD packet to send [17:56:20]OFD Sender: No OFD packet to send [17:56:25]OFD Sender: No OFD packet to send [17:56:30]OFD Sender: No OFD packet to send [17:56:35]OFD Sender: No OFD packet to send [17:56:40]OFD Sender: No OFD packet to send [17:56:45]OFD Sender: No OFD packet to send [17:56:50]OFD Sender: No OFD packet to send [17:56:55]OFD Sender: No OFD packet to send [17:57:00]OFD Sender: No OFD packet to send [17:57:05]OFD Sender: No OFD packet to send [17:57:10]OFD Sender: No OFD packet to send [17:57:15]OFD Sender: No OFD packet to send [17:57:20]OFD Sender: No OFD packet to send [17:57:25]OFD Sender: No OFD packet to send [17:57:30]OFD Sender: No OFD packet to send [17:57:35]OFD Sender: No OFD packet to send [17:57:40]OFD Sender: No OFD packet to send [17:57:45]OFD Sender: No OFD packet to send [17:57:50]OFD Sender: No OFD packet to send [17:57:55]OFD Sender: No OFD packet to send [17:58:00]OFD Sender: No OFD packet to send [17:58:05]OFD Sender: No OFD packet to send [17:58:10]OFD Sender: No OFD packet to send [17:58:15]OFD Sender: No OFD packet to send [17:58:20]OFD Sender: No OFD packet to send [17:58:25]OFD Sender: No OFD packet to send [17:58:30]OFD Sender: No OFD packet to send [17:58:35]OFD Sender: No OFD packet to send [17:58:40]OFD Sender: No OFD packet to send [17:58:45]OFD Sender: No OFD packet to send [17:58:50]OFD Sender: No OFD packet to send [17:58:55]OFD Sender: No OFD packet to send [17:59:00]OFD Sender: No OFD packet to send [17:59:05]OFD Sender: No OFD packet to send [17:59:10]OFD Sender: No OFD packet to send [17:59:15]OFD Sender: No OFD packet to send [17:59:20]OFD Sender: No OFD packet to send [17:59:25]OFD Sender: No OFD packet to send [17:59:30]OFD Sender: No OFD packet to send [17:59:35]OFD Sender: No OFD packet to send [17:59:40]OFD Sender: No OFD packet to send [17:59:45]OFD Sender: No OFD packet to send [17:59:50]OFD Sender: No OFD packet to send [17:59:55]OFD Sender: No OFD packet to send [18:00:00]OFD Sender: No OFD packet to send [18:00:05]OFD Sender: No OFD packet to send [18:00:10]OFD Sender: No OFD packet to send [18:00:15]OFD Sender: No OFD packet to send [18:00:20]OFD Sender: No OFD packet to send [18:00:25]OFD Sender: No OFD packet to send [18:00:30]OFD Sender: No OFD packet to send [18:00:35]OFD Sender: No OFD packet to send [18:00:40]OFD Sender: No OFD packet to send [18:00:45]OFD Sender: No OFD packet to send [18:00:50]OFD Sender: No OFD packet to send [18:00:55]OFD Sender: No OFD packet to send [18:01:00]OFD Sender: No OFD packet to send [18:01:05]OFD Sender: No OFD packet to send [18:01:10]OFD Sender: No OFD packet to send [18:01:15]OFD Sender: No OFD packet to send [18:01:20]OFD Sender: No OFD packet to send [18:01:25]OFD Sender: No OFD packet to send [18:01:30]OFD Sender: No OFD packet to send [18:01:35]OFD Sender: No OFD packet to send [18:01:40]OFD Sender: No OFD packet to send [18:01:45]OFD Sender: No OFD packet to send [18:01:50]OFD Sender: No OFD packet to send [18:01:55]OFD Sender: No OFD packet to send [18:02:00]OFD Sender: No OFD packet to send [18:02:05]OFD Sender: No OFD packet to send [18:02:10]OFD Sender: No OFD packet to send [18:02:15]OFD Sender: No OFD packet to send [18:02:20]OFD Sender: No OFD packet to send [18:02:25]OFD Sender: No OFD packet to send [18:02:30]OFD Sender: No OFD packet to send [18:02:35]OFD Sender: No OFD packet to send [18:02:40]OFD Sender: No OFD packet to send [18:02:45]OFD Sender: No OFD packet to send [18:02:50]OFD Sender: No OFD packet to send [18:02:55]OFD Sender: No OFD packet to send [18:03:00]OFD Sender: No OFD packet to send [18:03:05]OFD Sender: No OFD packet to send [18:03:10]OFD Sender: No OFD packet to send [18:03:15]OFD Sender: No OFD packet to send [18:03:20]OFD Sender: No OFD packet to send [18:03:25]OFD Sender: No OFD packet to send [18:03:30]OFD Sender: No OFD packet to send [18:03:35]OFD Sender: No OFD packet to send [18:03:40]OFD Sender: No OFD packet to send [18:03:45]OFD Sender: No OFD packet to send [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:46]OFD Sender: No OFD packet to send [18:05:51]OFD Sender: No OFD packet to send [18:05:56]OFD Sender: No OFD packet to send [18:06:01]OFD Sender: No OFD packet to send [18:06:06]OFD Sender: No OFD packet to send [18:06:11]OFD Sender: No OFD packet to send [18:06:16]OFD Sender: No OFD packet to send [18:06:21]OFD Sender: No OFD packet to send [18:06:26]OFD Sender: No OFD packet to send [18:06:31]OFD Sender: No OFD packet to send [18:06:36]OFD Sender: No OFD packet to send [18:06:41]OFD Sender: No OFD packet to send [18:06:46]OFD Sender: No OFD packet to send [18:06:51]OFD Sender: No OFD packet to send [18:06:56]OFD Sender: No OFD packet to send [18:07:01]OFD Sender: No OFD packet to send [18:07:06]OFD Sender: No OFD packet to send [18:07:11]OFD Sender: No OFD packet to send [18:07:16]OFD Sender: No OFD packet to send [18:07:21]OFD Sender: No OFD packet to send [18:07:26]OFD Sender: No OFD packet to send [18:07:31]OFD Sender: No OFD packet to send [18:07:36]OFD Sender: No OFD packet to send [18:07:41]OFD Sender: No OFD packet to send [18:07:46]OFD Sender: No OFD packet to send [18:07:51]OFD Sender: No OFD packet to send [18:07:56]OFD Sender: No OFD packet to send [18:08:01]OFD Sender: No OFD packet to send [18:08:06]OFD Sender: No OFD packet to send [18:08:11]OFD Sender: No OFD packet to send [18:08:16]OFD Sender: No OFD packet to send [18:08:21]OFD Sender: No OFD packet to send [18:08:26]OFD Sender: No OFD packet to send [18:08:31]OFD Sender: No OFD packet to send [18:08:36]OFD Sender: No OFD packet to send [18:08:41]OFD Sender: No OFD packet to send [18:08:46]OFD Sender: No OFD packet to send [18:08:51]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:07]OFD Sender: No OFD packet to send [18:27:12]OFD Sender: No OFD packet to send [18:27:17]OFD Sender: No OFD packet to send [18:27:22]OFD Sender: No OFD packet to send [18:27:27]OFD Sender: No OFD packet to send [18:27:32]OFD Sender: No OFD packet to send [18:27:37]OFD Sender: No OFD packet to send [18:27:42]OFD Sender: No OFD packet to send [18:27:47]OFD Sender: No OFD packet to send [18:27:52]OFD Sender: No OFD packet to send [18:27:57]OFD Sender: No OFD packet to send [18:28:02]OFD Sender: No OFD packet to send [18:28:07]OFD Sender: No OFD packet to send [18:28:12]OFD Sender: No OFD packet to send [18:28:17]OFD Sender: No OFD packet to send [18:28:22]OFD Sender: No OFD packet to send [18:28:27]OFD Sender: No OFD packet to send [18:28:32]OFD Sender: No OFD packet to send [18:28:37]OFD Sender: No OFD packet to send [18:28:42]OFD Sender: No OFD packet to send [18:28:47]OFD Sender: No OFD packet to send [18:28:52]OFD Sender: No OFD packet to send [18:28:57]OFD Sender: No OFD packet to send [18:29:02]OFD Sender: No OFD packet to send [18:29:07]OFD Sender: No OFD packet to send [18:29:12]OFD Sender: No OFD packet to send [18:29:17]OFD Sender: No OFD packet to send [18:29:22]OFD Sender: No OFD packet to send [18:29:27]OFD Sender: No OFD packet to send [18:29:32]OFD Sender: No OFD packet to send [18:29:37]OFD Sender: No OFD packet to send [18:29:42]OFD Sender: No OFD packet to send [18:29:47]OFD Sender: No OFD packet to send [18:29:52]OFD Sender: No OFD packet to send [18:29:57]OFD Sender: No OFD packet to send [18:30:02]OFD Sender: No OFD packet to send [18:30:07]OFD Sender: No OFD packet to send [18:30:12]OFD Sender: No OFD packet to send [18:30:17]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:47]OFD Sender: No OFD packet to send [18:32:52]OFD Sender: No OFD packet to send [18:32:57]OFD Sender: No OFD packet to send [18:33:02]OFD Sender: No OFD packet to send [18:33:07]OFD Sender: No OFD packet to send [18:33:12]OFD Sender: No OFD packet to send [18:33:17]OFD Sender: No OFD packet to send [18:33:22]OFD Sender: No OFD packet to send [18:33:27]OFD Sender: No OFD packet to send [18:33:32]OFD Sender: No OFD packet to send [18:33:37]OFD Sender: No OFD packet to send [18:33:42]OFD Sender: No OFD packet to send [18:33:47]OFD Sender: No OFD packet to send [18:33:52]OFD Sender: No OFD packet to send [18:33:57]OFD Sender: No OFD packet to send [18:34:02]OFD Sender: No OFD packet to send [18:34:07]OFD Sender: No OFD packet to send [18:34:12]OFD Sender: No OFD packet to send [18:34:17]OFD Sender: No OFD packet to send [18:34:22]OFD Sender: No OFD packet to send [18:34:27]OFD Sender: No OFD packet to send [18:34:32]OFD Sender: No OFD packet to send [18:34:37]OFD Sender: No OFD packet to send [18:34:42]OFD Sender: No OFD packet to send [18:34:47]OFD Sender: No OFD packet to send [18:34:52]OFD Sender: No OFD packet to send [18:34:57]OFD Sender: No OFD packet to send [18:35:02]OFD Sender: No OFD packet to send [18:35:07]OFD Sender: No OFD packet to send [18:35:12]OFD Sender: No OFD packet to send [18:35:17]OFD Sender: No OFD packet to send [18:35:22]OFD Sender: No OFD packet to send [18:35:27]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:53]accept exits with 8 [18:45:53]New connection [18:45:53]New thread 3066928484 created [18:45:53]Thread 3066785124 joined [18:45:53]Waiting for new connection... [18:45:53] Sock 8.Parse request [18:45:53]Sock 8.Check first char [18:45:53]Sock 8.First char is OK [18:45:53]request: POST /json_proto HTTP/1.0 [18:45:53]Method: POST [18:45:53]URL: /json_proto [18:45:53]Method is POST - this is cgi request [18:45:53]url: /json_proto [18:45:53]query_string will be loaded in cgi processing [18:45:53]execute_cgi json_proto POST (null) [18:45:53]execute_cgi path=json_proto method=POST [18:45:53]POST find Content-Length [18:45:53]Host: 172.17.45.8:8080 [18:45:53]Content-Length: 1179 [18:45:53]Content-Type: application/json [18:45:53] [18:45:53]POST finish read [18:45:53]Found Content-Length = 1179 [18:45:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150474", "tax_sys" : 0, "items" : [ { "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010056", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.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" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:45:53]execute_script... [18:45:53]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)150474", "tax_sys" : 0, "items" : [ { "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010056", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.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" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:45:53]POST & json_proto [18:45:53]process_json_proto [18:45:53]json parsed OK: [18:45:53]protocol is kg_v1.0 [18:45:53]action value=close_receipt [18:45:53]process_action close_receipt [18:45:53]cmd_close_receipt [18:45:53]MH_GetDate [18:45:53]Write to MH i2c: F0 00 00 C7 04 BA [18:45:53]Write i2c OK [18:45:53]MH_I2C_Read... [18:45:53]Read from MH i2c: F0 [18:45:53]MH_I2C_Read... [18:45:53]Read from MH i2c: F0 09 00 [18:45:53]MH_I2C_Read... [18:45:53]Read from MH i2c: F0 09 00 C7 04 00 E3 91 A6 66 A6 1F 7F 64 EB [18:45:53]GetLastDocTimeStamp 1722189274 [18:45:53]current date 1722192355 [18:45:53]FM_GetShiftState [18:45:53]SAM_PROTO_GetShiftState [18:45:53]wFMCommunicate request_size=4 [18:45:53]MH_SAM_APDU [18:45:53]CAPDU: 80 13 01 00 [18:45:53]Write to MH i2c: E2 08 00 C8 04 80 13 01 00 00 00 00 00 49 [18:45:53]Write i2c OK [18:45:53]MH_I2C_Read... [18:45:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:45:53]Read from MH i2c: E2 [18:45:53]MH_I2C_Read... [18:45:53]Read from MH i2c: E2 0E 00 [18:45:53]MH_I2C_Read... [18:45:53]Read from MH i2c: E2 0E 00 C8 04 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 71 [18:45:53]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [18:45:53]wFMCommunicate OK [18:45:53]SAM_PROTO_GetShiftState done [18:45:53]FM_GetShiftState done [18:45:53]opened in 1722127230 [18:45:53]opened+sec_in_day 1722213630 [18:45:53]quantity*price = 5000 [18:45:53]sum+1 = 5001 [18:45:53]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700003010056 Чай хол Let`s Go! зел лим ПЭТ 1,25л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 195.00 НСП 1% : 1.72 НДС 12% : 20.71 Наличными: 195.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 54 28.07.2024 18:45 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27076 ФПД: 207387507719697 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T184555&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27076&fm=207387507719697&tin=02508201610067®Number=0000000000092663&sum=19500 0 [18:45:54]StoreToDocumentArchive [18:45:54]shift 433 fd 27076 [18:45:54]save to /storage/0433/doc_00027076 [18:45:54]save last doc name /storage/0433/doc_00027076 to /storage/kkm_last_doc_name [18:45:54]save OK [18:45:54]Clear old archive folders... [18:45:54]ProcessDocumentItem done err = 0, tmpTLVsize=497 [18:45:54]tlvbuf is 00199750 [18:45:54]SAM_PROTO_ClearQueue [18:45:54]wFMCommunicate request_size=4 [18:45:54]MH_SAM_APDU [18:45:54]CAPDU: 80 09 00 00 [18:45:54]Write to MH i2c: E2 08 00 D5 04 80 09 00 00 00 00 00 00 4B [18:45:54]Write i2c OK [18:45:54]MH_I2C_Read... [18:45:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:45:55]Read from MH i2c: E2 [18:45:55]MH_I2C_Read... [18:45:55]Read from MH i2c: E2 03 00 [18:45:55]MH_I2C_Read... [18:45:55]Read from MH i2c: E2 03 00 D5 04 00 90 00 4D [18:45:55]RAPDU: 90 00 [18:45:55]wFMCommunicate OK [18:45:55]SAM_PROTO_ClearQueue done [18:45:55]KKMCreateOFDPacket [18:45:55]OFDProtocolAddRootSTLVToBuf [18:45:55]FM_MakeSignedData [18:45:55]FM_MakeSignedData [18:45:55]SAM_PROTO_SignData [18:45:55]wFMCommunicate request_size=4 [18:45:55]MH_SAM_APDU [18:45:55]CAPDU: 80 0D 01 02 [18:45:55]Write to MH i2c: E2 08 00 D6 04 80 0D 01 02 00 00 00 00 53 [18:45:55]Write i2c OK [18:45:55]MH_I2C_Read... [18:45:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:45:55]Read from MH i2c: E2 [18:45:55]MH_I2C_Read... [18:45:55]Read from MH i2c: E2 03 00 [18:45:55]MH_I2C_Read... [18:45:55]Read from MH i2c: E2 03 00 D6 04 00 90 00 4E [18:45:55]RAPDU: 90 00 [18:45:55]wFMCommunicate OK [18:45:55]wFMCommunicate request_size=255 [18:45:55]MH_SAM_APDU [18:45:55]CAPDU: 80 0D 02 02 FA 03 00 F1 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 20 D0 B1 2F D0 B3 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 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 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 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 [18:45:55]Write to MH i2c: E2 02 01 D7 04 80 0D 02 02 FA 00 03 00 F1 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 20 D0 B1 2F D0 B3 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 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 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 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 00 00 89 [18:45:55]Write i2c OK [18:45:55]MH_I2C_Read... [18:45:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:45:55]Read from MH i2c: E2 [18:45:55]MH_I2C_Read... [18:45:55]Read from MH i2c: E2 03 00 [18:45:55]MH_I2C_Read... [18:45:55]Read from MH i2c: E2 03 00 D7 04 00 90 00 4F [18:45:55]RAPDU: 90 00 [18:45:55]wFMCommunicate OK [18:45:55]wFMCommunicate request_size=255 [18:45:55]MH_SAM_APDU [18:45:55]CAPDU: 80 0D 02 02 FA 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 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 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 E3 91 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C4 69 00 00 35 04 06 00 BC 9E 2A BA 7E [18:45:55]Write to MH i2c: E2 02 01 D8 04 80 0D 02 02 FA 00 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 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 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 E3 91 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C4 69 00 00 35 04 06 00 BC 9E 2A BA 7E 00 00 15 [18:45:55]Write i2c OK [18:45:55]MH_I2C_Read... [18:45:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:45:55]Read from MH i2c: E2 [18:45:55]MH_I2C_Read... [18:45:55]Read from MH i2c: E2 03 00 [18:45:55]MH_I2C_Read... [18:45:55]Read from MH i2c: E2 03 00 D8 04 00 90 00 50 [18:45:55]RAPDU: 90 00 [18:45:55]wFMCommunicate OK [18:45:55]wFMCommunicate request_size=6 [18:45:55]MH_SAM_APDU [18:45:55]CAPDU: 80 0D 02 02 01 11 [18:45:55]Write to MH i2c: E2 09 00 D9 04 80 0D 02 02 01 00 11 00 00 6A [18:45:55]Write i2c OK [18:45:55]MH_I2C_Read... [18:45:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:45:56]Read from MH i2c: E2 [18:45:56]MH_I2C_Read... [18:45:56]Read from MH i2c: E2 03 00 [18:45:56]MH_I2C_Read... [18:45:56]Read from MH i2c: E2 03 00 D9 04 00 90 00 51 [18:45:56]RAPDU: 90 00 [18:45:56]wFMCommunicate OK [18:45:56]wFMCommunicate request_size=4 [18:45:56]MH_SAM_APDU [18:45:56]CAPDU: 80 0D 03 02 [18:45:56]Write to MH i2c: E2 08 00 DA 04 80 0D 03 02 00 00 00 00 59 [18:45:56]Write i2c OK [18:45:56]MH_I2C_Read... [18:45:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:45:56]Read from MH i2c: E2 [18:45:56]MH_I2C_Read... [18:45:56]Read from MH i2c: E2 0B 00 [18:45:56]MH_I2C_Read... [18:45:56]Read from MH i2c: E2 0B 00 DA 04 00 5B AF 1B 5B E6 83 A5 39 90 00 21 [18:45:56]RAPDU: 5B AF 1B 5B E6 83 A5 39 90 00 [18:45:56]wFMCommunicate OK [18:45:56]SAM_PROTO_SignData done [18:45:56]FM_MakeSignedData done [18:45:56]CreateOFDProtocolMessage [18:45:56]wFMCommunicate request_size=4 [18:45:56]MH_SAM_APDU [18:45:56]CAPDU: 80 11 00 00 [18:45:56]Write to MH i2c: E2 08 00 DB 04 80 11 00 00 00 00 00 00 59 [18:45:56]Write i2c OK [18:45:56]MH_I2C_Read... [18:45:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:45:56]Read from MH i2c: E2 [18:45:56]MH_I2C_Read... [18:45:56]Read from MH i2c: E2 17 00 [18:45:56]MH_I2C_Read... [18:45:56]Read from MH i2c: E2 17 00 DB 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 B2 [18:45:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [18:45:56]wFMCommunicate OK [18:45:56]CreateOFDProtocolMessage done [18:45:56]OFDSenderStorePacket 27076 [18:45:56]StoreOFDPacket docnum=27076 [18:45:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 05 02 00 00 1C 58 FD 01 F5 FE 5A 03 01 00 03 00 F1 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 20 D0 B1 2F D0 B3 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 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 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 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 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 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 E3 91 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C4 69 00 00 35 04 06 00 BC 9E 2A BA 7E 11 5B AF 1B 5B E6 83 A5 39 [18:45:56]CheckFolder [18:45:56]dirname=/storage/ofd_packets [18:45:56]CheckFolder done [18:45:56]ProducePacketName [18:45:56]name=ofd_packets/00027076 [18:45:56]NVStorageSaveData ofd_packets/00027076 [18:45:56]File name is /storage/ofd_packets/00027076 [18:45:56]Write 547 bytes [18:45:56]NVStorageSaveData done [18:45:56]OFDSenderStorePacket done [18:45:56]KKMCreateOFDPacket done [18:45:56]NVStorageSaveData kkm_last_timestamp [18:45:56]File name is /storage/kkm_last_timestamp [18:45:56]Write 4 bytes [18:45:56]NVStorageSaveData done [18:45:56]ExternCall_PrintAddStr [18:45:56]wPrintStart [18:45:56]Write to MH i2c: 01 00 00 DC 04 E0 [18:45:56]Write i2c OK [18:45:56]MH_I2C_Read... [18:45:56]Read from MH i2c: 01 [18:45:56]MH_I2C_Read... [18:45:56]Read from MH i2c: 01 07 00 [18:45:56]MH_I2C_Read... [18:45:56]Read from MH i2c: 01 07 00 DC 04 00 00 00 00 00 FF 0F F5 [18:45:56]RasterBufferAndPrint [18:45:56]line Счет N : (3)150474 [18:45:56]line ИНН: 02508201610067 [18:45:56]line Контрольно-Кассовый Чек [18:45:56]line ПРОДАЖА [18:45:56]line Товар: 5449000005489 [18:45:56]line Вода Бонаква 1л б/г [18:45:56]line 1.000 * 50.00 [18:45:56]line = 50.00 [18:45:56]line НДС 12% НСП 1% [18:45:56]line > о реализуемом товаре [18:45:56]line Товар: 4700003010056 [18:45:56]line Чай хол Let`s Go! зел лим ПЭТ 1,25л [18:45:56]line 1.000 * 95.00 [18:45:56]line = 95.00 [18:45:56]line НДС 12% НСП 1% [18:45:56]line > о реализуемом товаре [18:45:56]line Товар: 4700000160358 [18:45:56]line Вода Легенда 1л [18:45:56]line 1.000 * 50.00 [18:45:56]line = 50.00 [18:45:56]line НДС 12% НСП 1% [18:45:56]line > о реализуемом товаре [18:45:56]line ИТОГО: 195.00 [18:45:56]line НСП 1% : 1.72 [18:45:56]line НДС 12% : 20.71 [18:45:56]line Наличными: 195.00 [18:45:56]line Безнал.: 0.00 [18:45:56]line Место: АЗС № 134 "Партнер Нефть" [18:45:56]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [18:45:56]line СНО: Общий режим [18:45:56]line Чек 54 28.07.2024 18:45 [18:45:56]line Смена: 433 ФФД: 1.0 [18:45:56]line ЗНМ: 0300000043 [18:45:56]line РНМ: 0000000000092663 [18:45:56]line Версия ККМ: 001 [18:45:56]line ФМ: 0000000000874937 [18:45:56]line ФД: 27076 [18:45:56]line ФПД: 207387507719697 [18:45:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T184555&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27076&fm=207387507719697&tin=02508201610067®Number=0000000000092663&sum=19500 [18:45:56]OFD Sender: Processing packet 27076 [packets to send 9, broken 8] [18:45:56]ProducePacketName [18:45:56]name=ofd_packets/00027076 [18:45:56]OFD Sender: To server: pG, [18:45:56]CommunicateWithHost lk.salyk.kg:30040 [18:45:56]ConnectInit lk.salyk.kg [18:45:56]line 0 [18:45:56]written 0, free lines is 4095 [18:45:56]Connected sock=10 [18:45:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 05 02 00 00 1C 58 FD 01 F5 FE 5A 03 01 00 03 00 F1 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 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 20 D0 B1 2F D0 B3 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 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 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 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 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 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 E3 91 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C4 69 00 00 35 04 06 00 BC 9E 2A BA 7E 11 5B AF 1B 5B E6 83 A5 39 [18:45:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 3C B7 47 00 34 1B 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 38 37 34 39 33 37 10 04 04 00 C4 69 00 00 F4 03 04 00 37 38 A6 66 B6 04 01 00 00 25 45 48 72 36 E9 2B C2 [18:45:56]CommunicateWithHost err = 0 [18:45:56]CheckOFDResponse [18:45:56]1017 (14) - 77093643461234 [18:45:56]1041 (16) - 0000000000874937 [18:45:56]1040 (4) - 27076 [18:45:56]1012 (4) - 28.07.2024 12:23 [18:45:56]1206 (1) - 0 [18:45:56]OFD Sender: Remove packet 27076 [18:45:56]ProducePacketName [18:45:56]name=ofd_packets/00027076 [18:45:56]NVStorageDeleteData [18:45:56]Write to MH i2c: 01 00 00 10 05 15 [18:45:56]Write i2c OK [18:45:56]MH_I2C_Read... [18:45:56]Read from MH i2c: 01 [18:45:56]MH_I2C_Read... [18:45:56]Read from MH i2c: 01 07 00 [18:45:57]MH_I2C_Read... [18:45:57]Read from MH i2c: 01 07 00 10 05 00 00 00 00 00 36 0C 5E [18:45:57]RasterBufferAndPrint [18:45:57]line [18:45:57]line [18:45:57]line [18:45:57]line [18:45:57]line [18:45:57]written 0, free lines is 3132 [18:45:57]MH_Cut [18:45:57]Write to MH i2c: D1 01 00 17 05 01 EE [18:45:57]Write i2c OK [18:45:57]MH_I2C_Read... [18:45:57]Read from MH i2c: D1 [18:45:57]MH_I2C_Read... [18:45:57]Read from MH i2c: D1 01 00 [18:45:57]MH_I2C_Read... [18:45:57]Read from MH i2c: D1 01 00 17 05 00 ED [18:45:57]Write to MH i2c: 01 00 00 18 05 1D [18:45:57]Write i2c OK [18:45:57]MH_I2C_Read... [18:45:57]OFD Sender: No OFD packet to send [18:45:57]*** Cut start [18:45:57]*** Partial cut [18:45:57]*** CUTSNS_PIN = 1 [18:45:57]*** CUTSNS_PIN = 0 [18:45:58]*** Brake cut motor [18:45:58]Read from MH i2c: 01 [18:45:58]MH_I2C_Read... [18:45:58]*** Stop cut motor [18:45:58]*** Cut end [18:45:58]Read from MH i2c: 01 07 00 [18:45:58]MH_I2C_Read... [18:45:58]Read from MH i2c: 01 07 00 18 05 00 00 00 00 00 FF 0F 32 [18:45:58]process_action close_receipt done [18:45:58]requested_data is exist [18:45:58]produce_requested_data [18:45:58]requested_item fm.sn is exist - process it [18:45:58]wFMCommunicate request_size=4 [18:45:58]MH_SAM_APDU [18:45:58]CAPDU: 80 11 00 00 [18:45:58]Write to MH i2c: E2 08 00 19 05 80 11 00 00 00 00 00 00 98 [18:45:58]Write i2c OK [18:45:58]MH_I2C_Read... [18:45:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:45:58]Read from MH i2c: E2 [18:45:58]MH_I2C_Read... [18:45:58]Read from MH i2c: E2 17 00 [18:45:58]MH_I2C_Read... [18:45:58]Read from MH i2c: E2 17 00 19 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 F1 [18:45:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [18:45:58]wFMCommunicate OK [18:45:58]requested_item fd.num is exist - process it [18:45:58]SAM_PROTO_GetFieldsCounters [18:45:58]wFMCommunicate request_size=4 [18:45:58]MH_SAM_APDU [18:45:58]CAPDU: 80 13 00 00 [18:45:58]Write to MH i2c: E2 08 00 1A 05 80 13 00 00 00 00 00 00 9B [18:45:58]Write i2c OK [18:45:58]MH_I2C_Read... [18:45:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:45:58]Read from MH i2c: E2 [18:45:58]MH_I2C_Read... [18:45:58]Read from MH i2c: E2 62 00 [18:45:58]MH_I2C_Read... [18:45:58]Read from MH i2c: E2 62 00 1A 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 C4 69 00 00 0E 04 04 00 B1 01 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 44 [18:45:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 C4 69 00 00 0E 04 04 00 B1 01 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 [18:45:58]wFMCommunicate OK [18:45:58]SAM_PROTO_GetFieldsCounters done [18:45:58]requested_item shift.num is exist - process it [18:45:58]requested_item shift.opened is exist - process it [18:45:58]req_shift_opened [18:45:58]FM_GetShiftState [18:45:58]SAM_PROTO_GetShiftState [18:45:58]wFMCommunicate request_size=4 [18:45:58]MH_SAM_APDU [18:45:58]CAPDU: 80 13 01 00 [18:45:58]Write to MH i2c: E2 08 00 1B 05 80 13 01 00 00 00 00 00 9D [18:45:58]Write i2c OK [18:45:58]MH_I2C_Read... [18:45:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:45:58]Read from MH i2c: E2 [18:45:58]MH_I2C_Read... [18:45:58]Read from MH i2c: E2 0E 00 [18:45:58]MH_I2C_Read... [18:45:58]Read from MH i2c: E2 0E 00 1B 05 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 C5 [18:45:58]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [18:45:58]wFMCommunicate OK [18:45:58]SAM_PROTO_GetShiftState done [18:45:58]FM_GetShiftState done [18:45:58]req_shift_opened done [18:45:58]requested_item shift.open_date is exist - process it [18:45:58]req_shift_open_date [18:45:58]req_shift_open_date done [18:45:58]produce_requested_data done [18:45:58]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27076,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [18:45:58]process_action_free close_receipt [18:45:58]json_value_free [18:45:58]json_value_free done [18:45:58]process_json_proto returns [18:45:58]Send response to host [18:45:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27076,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [18:45:58]free response buf [18:45:58]execute_script done [18:45:58]execute_script returns [18:45:58]free content buf [18:45:58]Sock 8.Close socket [18:45:58]Sock 8.Thread stoped [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:13]accept exits with 9 [18:47:13]New connection [18:47:13]New thread 3066785124 created [18:47:13]Thread 3066928484 joined [18:47:13]Waiting for new connection... [18:47:13] Sock 9.Parse request [18:47:13]Sock 9.Check first char [18:47:13]Sock 9.First char is OK [18:47:13]request: POST /json_proto HTTP/1.0 [18:47:13]Method: POST [18:47:13]URL: /json_proto [18:47:13]Method is POST - this is cgi request [18:47:13]url: /json_proto [18:47:13]query_string will be loaded in cgi processing [18:47:13]execute_cgi json_proto POST (null) [18:47:13]execute_cgi path=json_proto method=POST [18:47:13]POST find Content-Length [18:47:13]Host: 172.17.45.8:8080 [18:47:13]Content-Length: 908 [18:47:13]Content-Type: application/json [18:47:13] [18:47:13]POST finish read [18:47:13]Found Content-Length = 908 [18:47:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150475", "tax_sys" : 0, "items" : [ { "code": "6921090700103", "name": "\u041E\u0447\u043A\u0438 \u0441\u043E\u043B\u043D\u0446\u0435\u0437\u0430\u0449\u0438\u0442\u043D\u044B\u0435 \u0432 \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442\u0435", "price" : 590.00, "quantity" : 1.000, "sum" : 590.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" : 590.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:47:13]execute_script... [18:47: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)150475", "tax_sys" : 0, "items" : [ { "code": "6921090700103", "name": "\u041E\u0447\u043A\u0438 \u0441\u043E\u043B\u043D\u0446\u0435\u0437\u0430\u0449\u0438\u0442\u043D\u044B\u0435 \u0432 \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442\u0435", "price" : 590.00, "quantity" : 1.000, "sum" : 590.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" : 590.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:47:13]POST & json_proto [18:47:13]process_json_proto [18:47:13]json parsed OK: [18:47:13]protocol is kg_v1.0 [18:47:13]action value=close_receipt [18:47:13]process_action close_receipt [18:47:13]cmd_close_receipt [18:47:13]MH_GetDate [18:47:13]Write to MH i2c: F0 00 00 1C 05 10 [18:47:13]Write i2c OK [18:47:13]MH_I2C_Read... [18:47:13]Read from MH i2c: F0 [18:47:13]MH_I2C_Read... [18:47:13]Read from MH i2c: F0 09 00 [18:47:13]MH_I2C_Read... [18:47:13]Read from MH i2c: F0 09 00 1C 05 00 32 92 A6 66 A6 1F 7F 64 91 [18:47:13]GetLastDocTimeStamp 1722192355 [18:47:13]current date 1722192434 [18:47:13]FM_GetShiftState [18:47:13]SAM_PROTO_GetShiftState [18:47:13]wFMCommunicate request_size=4 [18:47:13]MH_SAM_APDU [18:47:13]CAPDU: 80 13 01 00 [18:47:13]Write to MH i2c: E2 08 00 1D 05 80 13 01 00 00 00 00 00 9F [18:47:13]Write i2c OK [18:47:13]MH_I2C_Read... [18:47:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:47:13]Read from MH i2c: E2 [18:47:13]MH_I2C_Read... [18:47:13]Read from MH i2c: E2 0E 00 [18:47:13]MH_I2C_Read... [18:47:13]Read from MH i2c: E2 0E 00 1D 05 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 C7 [18:47:13]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [18:47:13]wFMCommunicate OK [18:47:13]SAM_PROTO_GetShiftState done [18:47:13]FM_GetShiftState done [18:47:13]opened in 1722127230 [18:47:13]opened+sec_in_day 1722213630 [18:47:13]quantity*price = 59000 [18:47:13]sum+1 = 59001 [18:47:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 590.00 НСП 1% : 5.22 НДС 12% : 62.65 Наличными: 0.00 Безнал.: 590.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 55 28.07.2024 18:47 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000874937 ФД: 27077 ФПД: 100066713333072 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T184715&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27077&fm=100066713333072&tin=02508201610067®Number=0000000000092663&sum=59000 0 [18:47:14]StoreToDocumentArchive [18:47:14]shift 433 fd 27077 [18:47:14]save to /storage/0433/doc_00027077 [18:47:14]save last doc name /storage/0433/doc_00027077 to /storage/kkm_last_doc_name [18:47:14]save OK [18:47:14]Clear old archive folders... [18:47:14]ProcessDocumentItem done err = 0, tmpTLVsize=307 [18:47:14]tlvbuf is 001B2FB0 [18:47:14]SAM_PROTO_ClearQueue [18:47:14]wFMCommunicate request_size=4 [18:47:14]MH_SAM_APDU [18:47:14]CAPDU: 80 09 00 00 [18:47:14]Write to MH i2c: E2 08 00 2A 05 80 09 00 00 00 00 00 00 A1 [18:47:14]Write i2c OK [18:47:14]MH_I2C_Read... [18:47:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:47:14]Read from MH i2c: E2 [18:47:14]MH_I2C_Read... [18:47:14]Read from MH i2c: E2 03 00 [18:47:14]MH_I2C_Read... [18:47:14]Read from MH i2c: E2 03 00 2A 05 00 90 00 A3 [18:47:14]RAPDU: 90 00 [18:47:14]wFMCommunicate OK [18:47:14]SAM_PROTO_ClearQueue done [18:47:14]KKMCreateOFDPacket [18:47:14]OFDProtocolAddRootSTLVToBuf [18:47:14]FM_MakeSignedData [18:47:14]FM_MakeSignedData [18:47:14]SAM_PROTO_SignData [18:47:14]wFMCommunicate request_size=4 [18:47:14]MH_SAM_APDU [18:47:14]CAPDU: 80 0D 01 02 [18:47:14]Write to MH i2c: E2 08 00 2B 05 80 0D 01 02 00 00 00 00 A9 [18:47:14]Write i2c OK [18:47:14]MH_I2C_Read... [18:47:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:47:14]Read from MH i2c: E2 [18:47:14]MH_I2C_Read... [18:47:14]Read from MH i2c: E2 03 00 [18:47:14]MH_I2C_Read... [18:47:14]Read from MH i2c: E2 03 00 2B 05 00 90 00 A4 [18:47:14]RAPDU: 90 00 [18:47:14]wFMCommunicate OK [18:47:14]wFMCommunicate request_size=255 [18:47:14]MH_SAM_APDU [18:47:14]CAPDU: 80 0D 02 02 FA 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 36 39 32 31 30 39 30 37 30 30 31 30 33 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 E6 00 00 00 00 13 04 06 00 78 E6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 E6 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 33 92 A6 66 0E 04 04 00 B1 01 00 00 B9 04 [18:47:14]Write to MH i2c: E2 02 01 2C 05 80 0D 02 02 FA 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 36 39 32 31 30 39 30 37 30 30 31 30 33 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 E6 00 00 00 00 13 04 06 00 78 E6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 E6 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 33 92 A6 66 0E 04 04 00 B1 01 00 00 B9 04 00 00 F2 [18:47:14]Write i2c OK [18:47:14]MH_I2C_Read... [18:47:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:47:14]Read from MH i2c: E2 [18:47:14]MH_I2C_Read... [18:47:14]Read from MH i2c: E2 03 00 [18:47:14]MH_I2C_Read... [18:47:14]Read from MH i2c: E2 03 00 2C 05 00 90 00 A5 [18:47:14]RAPDU: 90 00 [18:47:14]wFMCommunicate OK [18:47:14]wFMCommunicate request_size=66 [18:47:14]MH_SAM_APDU [18:47:14]CAPDU: 80 0D 02 02 3D 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C5 69 00 00 35 04 06 00 5B 02 98 E6 ED 50 [18:47:14]Write to MH i2c: E2 45 00 2D 05 80 0D 02 02 3D 00 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C5 69 00 00 35 04 06 00 5B 02 98 E6 ED 50 00 00 4B [18:47:14]Write i2c OK [18:47:14]MH_I2C_Read... [18:47:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:47:15]Read from MH i2c: E2 [18:47:15]MH_I2C_Read... [18:47:15]Read from MH i2c: E2 03 00 [18:47:15]MH_I2C_Read... [18:47:15]Read from MH i2c: E2 03 00 2D 05 00 90 00 A6 [18:47:15]RAPDU: 90 00 [18:47:15]wFMCommunicate OK [18:47:15]wFMCommunicate request_size=4 [18:47:15]MH_SAM_APDU [18:47:15]CAPDU: 80 0D 03 02 [18:47:15]Write to MH i2c: E2 08 00 2E 05 80 0D 03 02 00 00 00 00 AE [18:47:15]Write i2c OK [18:47:15]MH_I2C_Read... [18:47:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:47:15]Read from MH i2c: E2 [18:47:15]MH_I2C_Read... [18:47:15]Read from MH i2c: E2 0B 00 [18:47:15]MH_I2C_Read... [18:47:15]Read from MH i2c: E2 0B 00 2E 05 00 D6 F5 0A D5 CD 79 D0 A6 90 00 15 [18:47:15]RAPDU: D6 F5 0A D5 CD 79 D0 A6 90 00 [18:47:15]wFMCommunicate OK [18:47:15]SAM_PROTO_SignData done [18:47:15]FM_MakeSignedData done [18:47:15]CreateOFDProtocolMessage [18:47:15]wFMCommunicate request_size=4 [18:47:15]MH_SAM_APDU [18:47:15]CAPDU: 80 11 00 00 [18:47:15]Write to MH i2c: E2 08 00 2F 05 80 11 00 00 00 00 00 00 AE [18:47:15]Write i2c OK [18:47:15]MH_I2C_Read... [18:47:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:47:15]Read from MH i2c: E2 [18:47:15]MH_I2C_Read... [18:47:15]Read from MH i2c: E2 17 00 [18:47:15]MH_I2C_Read... [18:47:15]Read from MH i2c: E2 17 00 2F 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 07 [18:47:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [18:47:15]wFMCommunicate OK [18:47:15]CreateOFDProtocolMessage done [18:47:15]OFDSenderStorePacket 27077 [18:47:15]StoreOFDPacket docnum=27077 [18:47:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 47 01 00 00 B0 75 3F 01 DF 0D 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 36 39 32 31 30 39 30 37 30 30 31 30 33 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 E6 00 00 00 00 13 04 06 00 78 E6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 E6 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 33 92 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C5 69 00 00 35 04 06 00 5B 02 98 E6 ED 50 D6 F5 0A D5 CD 79 D0 A6 [18:47:15]CheckFolder [18:47:15]dirname=/storage/ofd_packets [18:47:15]CheckFolder done [18:47:15]ProducePacketName [18:47:15]name=ofd_packets/00027077 [18:47:15]NVStorageSaveData ofd_packets/00027077 [18:47:15]File name is /storage/ofd_packets/00027077 [18:47:15]Write 357 bytes [18:47:15]NVStorageSaveData done [18:47:15]OFDSenderStorePacket done [18:47:15]KKMCreateOFDPacket done [18:47:15]NVStorageSaveData kkm_last_timestamp [18:47:15]File name is /storage/kkm_last_timestamp [18:47:15]Write 4 bytes [18:47:15]NVStorageSaveData done [18:47:15]ExternCall_PrintAddStr [18:47:15]wPrintStart [18:47:15]Write to MH i2c: 01 00 00 30 05 35 [18:47:15]Write i2c OK [18:47:15]MH_I2C_Read... [18:47:15]Read from MH i2c: 01 [18:47:15]MH_I2C_Read... [18:47:15]Read from MH i2c: 01 07 00 [18:47:15]MH_I2C_Read... [18:47:15]Read from MH i2c: 01 07 00 30 05 00 00 00 00 00 FF 0F 4A [18:47:15]RasterBufferAndPrint [18:47:15]line Счет N : (3)150475 [18:47:15]line ИНН: 02508201610067 [18:47:15]line Контрольно-Кассовый Чек [18:47:15]line ПРОДАЖА [18:47:15]line Товар: 6921090700103 [18:47:15]line Очки солнцезащитные в ассортименте [18:47:15]line 1.000 * 590.00 [18:47:15]line = 590.00 [18:47:15]line НДС 12% НСП 1% [18:47:15]line > о реализуемом товаре [18:47:15]line ИТОГО: 590.00 [18:47:15]line НСП 1% : 5.22 [18:47:15]line НДС 12% : 62.65 [18:47:15]line Наличными: 0.00 [18:47:15]line Безнал.: 590.00 [18:47:15]line Место: АЗС № 134 "Партнер Нефть" [18:47:15]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [18:47:15]line СНО: Общий режим [18:47:15]line Чек 55 28.07.2024 18:47 [18:47:15]line Смена: 433 ФФД: 1.0 [18:47:15]line ЗНМ: 0300000043 [18:47:15]line РНМ: 0000000000092663 [18:47:15]line Версия ККМ: 001 [18:47:15]line Платежная система: O! деньги [18:47:15]line ФМ: 0000000000874937 [18:47:15]line ФД: 27077 [18:47:15]line ФПД: 100066713333072 [18:47:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T184715&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27077&fm=100066713333072&tin=02508201610067®Number=0000000000092663&sum=59000 [18:47:15]line 0 [18:47:15]OFD Sender: Processing packet 27077 [packets to send 9, broken 8] [18:47:15]ProducePacketName [18:47:15]name=ofd_packets/00027077 [18:47:15]OFD Sender: To server: pG, [18:47:15]CommunicateWithHost lk.salyk.kg:30040 [18:47:15]ConnectInit lk.salyk.kg [18:47:15]written 0, free lines is 4095 [18:47:15]Connected sock=10 [18:47:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 47 01 00 00 B0 75 3F 01 DF 0D 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 36 39 32 31 30 39 30 37 30 30 31 30 33 06 04 41 00 D0 9E D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 BD D1 86 D0 B5 D0 B7 D0 B0 D1 89 D0 B8 D1 82 D0 BD D1 8B D0 B5 20 D0 B2 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 D0 B8 D0 BC D0 B5 D0 BD D1 82 D0 B5 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 78 E6 00 00 00 00 13 04 06 00 78 E6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 E6 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 33 92 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C5 69 00 00 35 04 06 00 5B 02 98 E6 ED 50 D6 F5 0A D5 CD 79 D0 A6 [18:47:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 87 99 47 00 2E FD 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 38 37 34 39 33 37 10 04 04 00 C5 69 00 00 F4 03 04 00 85 38 A6 66 B6 04 01 00 00 53 3B 71 44 C3 A6 80 D9 [18:47:15]CommunicateWithHost err = 0 [18:47:15]CheckOFDResponse [18:47:15]1017 (14) - 77093643461234 [18:47:15]1041 (16) - 0000000000874937 [18:47:15]1040 (4) - 27077 [18:47:15]1012 (4) - 28.07.2024 12:24 [18:47:15]1206 (1) - 0 [18:47:15]OFD Sender: Remove packet 27077 [18:47:15]ProducePacketName [18:47:15]name=ofd_packets/00027077 [18:47:15]NVStorageDeleteData [18:47:15]Write to MH i2c: 01 00 00 5A 05 5F [18:47:15]Write i2c OK [18:47:15]MH_I2C_Read... [18:47:15]Read from MH i2c: 01 [18:47:15]MH_I2C_Read... [18:47:15]Read from MH i2c: 01 07 00 [18:47:15]MH_I2C_Read... [18:47:15]Read from MH i2c: 01 07 00 5A 05 00 00 00 00 00 C1 0C 33 [18:47:15]RasterBufferAndPrint [18:47:15]line [18:47:15]line [18:47:15]line [18:47:15]line [18:47:15]line [18:47:15]written 0, free lines is 3274 [18:47:15]MH_Cut [18:47:15]Write to MH i2c: D1 01 00 61 05 01 38 [18:47:15]Write i2c OK [18:47:15]MH_I2C_Read... [18:47:15]Read from MH i2c: D1 [18:47:15]MH_I2C_Read... [18:47:15]Read from MH i2c: D1 01 00 [18:47:15]MH_I2C_Read... [18:47:15]Read from MH i2c: D1 01 00 61 05 00 37 [18:47:15]Write to MH i2c: 01 00 00 62 05 67 [18:47:15]Write i2c OK [18:47:15]MH_I2C_Read... [18:47:16]OFD Sender: No OFD packet to send [18:47:16]*** Cut start [18:47:16]*** Partial cut [18:47:16]*** CUTSNS_PIN = 1 [18:47:16]*** CUTSNS_PIN = 0 [18:47:16]*** Brake cut motor [18:47:17]Read from MH i2c: 01 [18:47:17]MH_I2C_Read... [18:47:17]*** Stop cut motor [18:47:17]*** Cut end [18:47:17]Read from MH i2c: 01 07 00 [18:47:17]MH_I2C_Read... [18:47:17]Read from MH i2c: 01 07 00 62 05 00 00 00 00 00 FF 0F 7C [18:47:17]process_action close_receipt done [18:47:17]requested_data is exist [18:47:17]produce_requested_data [18:47:17]requested_item fm.sn is exist - process it [18:47:17]wFMCommunicate request_size=4 [18:47:17]MH_SAM_APDU [18:47:17]CAPDU: 80 11 00 00 [18:47:17]Write to MH i2c: E2 08 00 63 05 80 11 00 00 00 00 00 00 E2 [18:47:17]Write i2c OK [18:47:17]MH_I2C_Read... [18:47:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:47:17]Read from MH i2c: E2 [18:47:17]MH_I2C_Read... [18:47:17]Read from MH i2c: E2 17 00 [18:47:17]MH_I2C_Read... [18:47:17]Read from MH i2c: E2 17 00 63 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 3B [18:47:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [18:47:17]wFMCommunicate OK [18:47:17]requested_item fd.num is exist - process it [18:47:17]SAM_PROTO_GetFieldsCounters [18:47:17]wFMCommunicate request_size=4 [18:47:17]MH_SAM_APDU [18:47:17]CAPDU: 80 13 00 00 [18:47:17]Write to MH i2c: E2 08 00 64 05 80 13 00 00 00 00 00 00 E5 [18:47:17]Write i2c OK [18:47:17]MH_I2C_Read... [18:47:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:47:17]Read from MH i2c: E2 [18:47:17]MH_I2C_Read... [18:47:17]Read from MH i2c: E2 62 00 [18:47:17]MH_I2C_Read... [18:47:17]Read from MH i2c: E2 62 00 64 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 C5 69 00 00 0E 04 04 00 B1 01 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 92 [18:47:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 C5 69 00 00 0E 04 04 00 B1 01 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 [18:47:17]wFMCommunicate OK [18:47:17]SAM_PROTO_GetFieldsCounters done [18:47:17]requested_item shift.num is exist - process it [18:47:17]requested_item shift.opened is exist - process it [18:47:17]req_shift_opened [18:47:17]FM_GetShiftState [18:47:17]SAM_PROTO_GetShiftState [18:47:17]wFMCommunicate request_size=4 [18:47:17]MH_SAM_APDU [18:47:17]CAPDU: 80 13 01 00 [18:47:17]Write to MH i2c: E2 08 00 65 05 80 13 01 00 00 00 00 00 E7 [18:47:17]Write i2c OK [18:47:17]MH_I2C_Read... [18:47:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:47:17]Read from MH i2c: E2 [18:47:17]MH_I2C_Read... [18:47:17]Read from MH i2c: E2 0E 00 [18:47:17]MH_I2C_Read... [18:47:17]Read from MH i2c: E2 0E 00 65 05 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 0F [18:47:17]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [18:47:17]wFMCommunicate OK [18:47:17]SAM_PROTO_GetShiftState done [18:47:17]FM_GetShiftState done [18:47:17]req_shift_opened done [18:47:17]requested_item shift.open_date is exist - process it [18:47:17]req_shift_open_date [18:47:17]req_shift_open_date done [18:47:17]produce_requested_data done [18:47:17]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27077,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [18:47:17]process_action_free close_receipt [18:47:17]json_value_free [18:47:17]json_value_free done [18:47:17]process_json_proto returns [18:47:17]Send response to host [18:47:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27077,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [18:47:17]free response buf [18:47:17]execute_script done [18:47:17]execute_script returns [18:47:17]free content buf [18:47:17]Sock 9.Close socket [18:47:17]Sock 9.Thread stoped [18:47:21]OFD Sender: No OFD packet to send [18:47:26]OFD Sender: No OFD packet to send [18:47:31]OFD Sender: No OFD packet to send [18:47:36]OFD Sender: No OFD packet to send [18:47:41]OFD Sender: No OFD packet to send [18:47:46]OFD Sender: No OFD packet to send [18:47:51]OFD Sender: No OFD packet to send [18:47:56]OFD Sender: No OFD packet to send [18:48:01]OFD Sender: No OFD packet to send [18:48:06]OFD Sender: No OFD packet to send [18:48:11]OFD Sender: No OFD packet to send [18:48:16]OFD Sender: No OFD packet to send [18:48:21]OFD Sender: No OFD packet to send [18:48:26]OFD Sender: No OFD packet to send [18:48:31]OFD Sender: No OFD packet to send [18:48:36]OFD Sender: No OFD packet to send [18:48:41]OFD Sender: No OFD packet to send [18:48:46]OFD Sender: No OFD packet to send [18:48:51]OFD Sender: No OFD packet to send [18:48:56]OFD Sender: No OFD packet to send [18:49:01]OFD Sender: No OFD packet to send [18:49:06]OFD Sender: No OFD packet to send [18:49:11]OFD Sender: No OFD packet to send [18:49:16]OFD Sender: No OFD packet to send [18:49:21]OFD Sender: No OFD packet to send [18:49:26]OFD Sender: No OFD packet to send [18:49:31]OFD Sender: No OFD packet to send [18:49:36]OFD Sender: No OFD packet to send [18:49:41]OFD Sender: No OFD packet to send [18:49:46]OFD Sender: No OFD packet to send [18:49:51]OFD Sender: No OFD packet to send [18:49:56]OFD Sender: No OFD packet to send [18:50:01]OFD Sender: No OFD packet to send [18:50:06]OFD Sender: No OFD packet to send [18:50:11]OFD Sender: No OFD packet to send [18:50:16]OFD Sender: No OFD packet to send [18:50:21]OFD Sender: No OFD packet to send [18:50:26]OFD Sender: No OFD packet to send [18:50:31]OFD Sender: No OFD packet to send [18:50:36]OFD Sender: No OFD packet to send [18:50:41]OFD Sender: No OFD packet to send [18:50:46]OFD Sender: No OFD packet to send [18:50:51]OFD Sender: No OFD packet to send [18:50:56]OFD Sender: No OFD packet to send [18:51:01]OFD Sender: No OFD packet to send [18:51:06]OFD Sender: No OFD packet to send [18:51:11]OFD Sender: No OFD packet to send [18:51:16]OFD Sender: No OFD packet to send [18:51:21]OFD Sender: No OFD packet to send [18:51:26]OFD Sender: No OFD packet to send [18:51:31]OFD Sender: No OFD packet to send [18:51:36]OFD Sender: No OFD packet to send [18:51:41]OFD Sender: No OFD packet to send [18:51:46]OFD Sender: No OFD packet to send [18:51:51]OFD Sender: No OFD packet to send [18:51:56]OFD Sender: No OFD packet to send [18:52:01]OFD Sender: No OFD packet to send [18:52:06]OFD Sender: No OFD packet to send [18:52:11]OFD Sender: No OFD packet to send [18:52:16]OFD Sender: No OFD packet to send [18:52:21]OFD Sender: No OFD packet to send [18:52:26]OFD Sender: No OFD packet to send [18:52:31]OFD Sender: No OFD packet to send [18:52:36]OFD Sender: No OFD packet to send [18:52:41]OFD Sender: No OFD packet to send [18:52:46]OFD Sender: No OFD packet to send [18:52:51]OFD Sender: No OFD packet to send [18:52:56]OFD Sender: No OFD packet to send [18:53:01]OFD Sender: No OFD packet to send [18:53:06]OFD Sender: No OFD packet to send [18:53:11]OFD Sender: No OFD packet to send [18:53:16]OFD Sender: No OFD packet to send [18:53:21]OFD Sender: No OFD packet to send [18:53:26]OFD Sender: No OFD packet to send [18:53:31]OFD Sender: No OFD packet to send [18:53:36]OFD Sender: No OFD packet to send [18:53:41]OFD Sender: No OFD packet to send [18:53:46]OFD Sender: No OFD packet to send [18:53:51]OFD Sender: No OFD packet to send [18:53:56]OFD Sender: No OFD packet to send [18:54:01]OFD Sender: No OFD packet to send [18:54:06]OFD Sender: No OFD packet to send [18:54:11]OFD Sender: No OFD packet to send [18:54:16]OFD Sender: No OFD packet to send [18:54:21]OFD Sender: No OFD packet to send [18:54:26]OFD Sender: No OFD packet to send [18:54:31]OFD Sender: No OFD packet to send [18:54:36]OFD Sender: No OFD packet to send [18:54:41]OFD Sender: No OFD packet to send [18:54:46]OFD Sender: No OFD packet to send [18:54:51]OFD Sender: No OFD packet to send [18:54:56]OFD Sender: No OFD packet to send [18:55:01]OFD Sender: No OFD packet to send [18:55:06]OFD Sender: No OFD packet to send [18:55:11]OFD Sender: No OFD packet to send [18:55:16]OFD Sender: No OFD packet to send [18:55:21]OFD Sender: No OFD packet to send [18:55:26]OFD Sender: No OFD packet to send [18:55:31]OFD Sender: No OFD packet to send [18:55:36]OFD Sender: No OFD packet to send [18:55:41]OFD Sender: No OFD packet to send [18:55:46]OFD Sender: No OFD packet to send [18:55:51]OFD Sender: No OFD packet to send [18:55:56]OFD Sender: No OFD packet to send [18:56:01]OFD Sender: No OFD packet to send [18:56:06]OFD Sender: No OFD packet to send [18:56:11]OFD Sender: No OFD packet to send [18:56:16]OFD Sender: No OFD packet to send [18:56:21]OFD Sender: No OFD packet to send [18:56:26]OFD Sender: No OFD packet to send [18:56:31]OFD Sender: No OFD packet to send [18:56:36]OFD Sender: No OFD packet to send [18:56:41]OFD Sender: No OFD packet to send [18:56:46]OFD Sender: No OFD packet to send [18:56:51]OFD Sender: No OFD packet to send [18:56:56]OFD Sender: No OFD packet to send [18:57:01]OFD Sender: No OFD packet to send [18:57:06]OFD Sender: No OFD packet to send [18:57:11]OFD Sender: No OFD packet to send [18:57:16]OFD Sender: No OFD packet to send [18:57:21]OFD Sender: No OFD packet to send [18:57:26]OFD Sender: No OFD packet to send [18:57:31]OFD Sender: No OFD packet to send [18:57:36]OFD Sender: No OFD packet to send [18:57:41]OFD Sender: No OFD packet to send [18:57:46]OFD Sender: No OFD packet to send [18:57:51]OFD Sender: No OFD packet to send [18:57:56]OFD Sender: No OFD packet to send [18:58:01]OFD Sender: No OFD packet to send [18:58:06]OFD Sender: No OFD packet to send [18:58:11]OFD Sender: No OFD packet to send [18:58:16]OFD Sender: No OFD packet to send [18:58:21]OFD Sender: No OFD packet to send [18:58:26]OFD Sender: No OFD packet to send [18:58:31]OFD Sender: No OFD packet to send [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:21]OFD Sender: No OFD packet to send [19:02:26]OFD Sender: No OFD packet to send [19:02:31]OFD Sender: No OFD packet to send [19:02:36]OFD Sender: No OFD packet to send [19:02:41]OFD Sender: No OFD packet to send [19:02:46]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]accept exits with 8 [19:18:07]New connection [19:18:07]New thread 3066928484 created [19:18:07]Thread 3066785124 joined [19:18:07]Waiting for new connection... [19:18:07] Sock 8.Parse request [19:18:07]Sock 8.Check first char [19:18:07]Sock 8.First char is OK [19:18:07]request: POST /json_proto HTTP/1.0 [19:18:07]Method: POST [19:18:07]URL: /json_proto [19:18:07]Method is POST - this is cgi request [19:18:07]url: /json_proto [19:18:07]query_string will be loaded in cgi processing [19:18:07]execute_cgi json_proto POST (null) [19:18:07]execute_cgi path=json_proto method=POST [19:18:07]POST find Content-Length [19:18:07]Host: 172.17.45.8:8080 [19:18:07]Content-Length: 714 [19:18:07]Content-Type: application/json [19:18:07] [19:18:07]POST finish read [19:18:07]Found Content-Length = 714 [19:18:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150476", "tax_sys" : 0, "items" : [ { "code": "4870235681086", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u0421\u044B\u0440 \u0441 \u0445\u0430\u043B\u0430\u043F\u0435\u043D\u044C\u043E 55 \u0433\u0440", "price" : 90.00, "quantity" : 1.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" ] } } [19:18:07]execute_script... [19:18: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)150476", "tax_sys" : 0, "items" : [ { "code": "4870235681086", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u0421\u044B\u0440 \u0441 \u0445\u0430\u043B\u0430\u043F\u0435\u043D\u044C\u043E 55 \u0433\u0440", "price" : 90.00, "quantity" : 1.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" ] } } [19:18:07]POST & json_proto [19:18:07]process_json_proto [19:18:07]json parsed OK: [19:18:07]protocol is kg_v1.0 [19:18:07]action value=close_receipt [19:18:07]process_action close_receipt [19:18:07]cmd_close_receipt [19:18:07]MH_GetDate [19:18:07]Write to MH i2c: F0 00 00 66 05 5A [19:18:07]Write i2c OK [19:18:07]MH_I2C_Read... [19:18:07]Read from MH i2c: F0 [19:18:07]MH_I2C_Read... [19:18:07]Read from MH i2c: F0 09 00 [19:18:07]MH_I2C_Read... [19:18:07]Read from MH i2c: F0 09 00 66 05 00 71 99 A6 66 A6 1F 7F 64 21 [19:18:07]GetLastDocTimeStamp 1722192435 [19:18:07]current date 1722194289 [19:18:07]FM_GetShiftState [19:18:07]SAM_PROTO_GetShiftState [19:18:07]wFMCommunicate request_size=4 [19:18:07]MH_SAM_APDU [19:18:07]CAPDU: 80 13 01 00 [19:18:07]Write to MH i2c: E2 08 00 67 05 80 13 01 00 00 00 00 00 E9 [19:18:07]Write i2c OK [19:18:07]MH_I2C_Read... [19:18:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:18:07]Read from MH i2c: E2 [19:18:07]MH_I2C_Read... [19:18:07]Read from MH i2c: E2 0E 00 [19:18:07]MH_I2C_Read... [19:18:07]Read from MH i2c: E2 0E 00 67 05 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 11 [19:18:07]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [19:18:07]wFMCommunicate OK [19:18:07]SAM_PROTO_GetShiftState done [19:18:07]FM_GetShiftState done [19:18:07]opened in 1722127230 [19:18:07]opened+sec_in_day 1722213630 [19:18:07]quantity*price = 9000 [19:18:07]sum+1 = 9001 [19:18:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 90.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 56 28.07.2024 19:18 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27078 ФПД: 112843397573116 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T191809&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27078&fm=112843397573116&tin=02508201610067®Number=0000000000092663&sum=9000 0 [19:18:08]StoreToDocumentArchive [19:18:08]shift 433 fd 27078 [19:18:08]save to /storage/0433/doc_00027078 [19:18:08]save last doc name /storage/0433/doc_00027078 to /storage/kkm_last_doc_name [19:18:08]save OK [19:18:08]Clear old archive folders... [19:18:08]ProcessDocumentItem done err = 0, tmpTLVsize=305 [19:18:08]tlvbuf is 001B37C0 [19:18:08]SAM_PROTO_ClearQueue [19:18:08]wFMCommunicate request_size=4 [19:18:08]MH_SAM_APDU [19:18:08]CAPDU: 80 09 00 00 [19:18:08]Write to MH i2c: E2 08 00 74 05 80 09 00 00 00 00 00 00 EB [19:18:08]Write i2c OK [19:18:08]MH_I2C_Read... [19:18:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:18:08]Read from MH i2c: E2 [19:18:08]MH_I2C_Read... [19:18:08]Read from MH i2c: E2 03 00 [19:18:08]MH_I2C_Read... [19:18:08]Read from MH i2c: E2 03 00 74 05 00 90 00 ED [19:18:08]RAPDU: 90 00 [19:18:08]wFMCommunicate OK [19:18:08]SAM_PROTO_ClearQueue done [19:18:08]KKMCreateOFDPacket [19:18:08]OFDProtocolAddRootSTLVToBuf [19:18:08]FM_MakeSignedData [19:18:08]FM_MakeSignedData [19:18:08]SAM_PROTO_SignData [19:18:08]wFMCommunicate request_size=4 [19:18:08]MH_SAM_APDU [19:18:08]CAPDU: 80 0D 01 02 [19:18:08]Write to MH i2c: E2 08 00 75 05 80 0D 01 02 00 00 00 00 F3 [19:18:08]Write i2c OK [19:18:08]MH_I2C_Read... [19:18:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:18:08]Read from MH i2c: E2 [19:18:08]MH_I2C_Read... [19:18:08]Read from MH i2c: E2 03 00 [19:18:08]MH_I2C_Read... [19:18:08]Read from MH i2c: E2 03 00 75 05 00 90 00 EE [19:18:08]RAPDU: 90 00 [19:18:08]wFMCommunicate OK [19:18:08]wFMCommunicate request_size=255 [19:18:08]MH_SAM_APDU [19:18:08]CAPDU: 80 0D 02 02 FA 03 00 31 01 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 38 36 06 04 3F 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D1 8B D1 80 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B0 D0 BF D0 B5 D0 BD D1 8C D0 BE 20 35 35 20 D0 B3 D1 80 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 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 38 00 00 00 F4 03 04 00 71 99 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 [19:18:08]Write to MH i2c: E2 02 01 76 05 80 0D 02 02 FA 00 03 00 31 01 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 38 36 06 04 3F 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D1 8B D1 80 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B0 D0 BF D0 B5 D0 BD D1 8C D0 BE 20 35 35 20 D0 B3 D1 80 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 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 38 00 00 00 F4 03 04 00 71 99 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 00 00 37 [19:18:08]Write i2c OK [19:18:08]MH_I2C_Read... [19:18:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:18:09]Read from MH i2c: E2 [19:18:09]MH_I2C_Read... [19:18:09]Read from MH i2c: E2 03 00 [19:18:09]MH_I2C_Read... [19:18:09]Read from MH i2c: E2 03 00 76 05 00 90 00 EF [19:18:09]RAPDU: 90 00 [19:18:09]wFMCommunicate OK [19:18:09]wFMCommunicate request_size=64 [19:18:09]MH_SAM_APDU [19:18:09]CAPDU: 80 0D 02 02 3B 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C6 69 00 00 35 04 06 00 66 A1 66 A0 A9 FC [19:18:09]Write to MH i2c: E2 43 00 77 05 80 0D 02 02 3B 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C6 69 00 00 35 04 06 00 66 A1 66 A0 A9 FC 00 00 2B [19:18:09]Write i2c OK [19:18:09]MH_I2C_Read... [19:18:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:18:09]Read from MH i2c: E2 [19:18:09]MH_I2C_Read... [19:18:09]Read from MH i2c: E2 03 00 [19:18:09]MH_I2C_Read... [19:18:09]Read from MH i2c: E2 03 00 77 05 00 90 00 F0 [19:18:09]RAPDU: 90 00 [19:18:09]wFMCommunicate OK [19:18:09]wFMCommunicate request_size=4 [19:18:09]MH_SAM_APDU [19:18:09]CAPDU: 80 0D 03 02 [19:18:09]Write to MH i2c: E2 08 00 78 05 80 0D 03 02 00 00 00 00 F8 [19:18:09]Write i2c OK [19:18:09]MH_I2C_Read... [19:18:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:18:09]Read from MH i2c: E2 [19:18:09]MH_I2C_Read... [19:18:09]Read from MH i2c: E2 0B 00 [19:18:09]MH_I2C_Read... [19:18:09]Read from MH i2c: E2 0B 00 78 05 00 B0 56 BF 51 9E C7 F8 F9 90 00 65 [19:18:09]RAPDU: B0 56 BF 51 9E C7 F8 F9 90 00 [19:18:09]wFMCommunicate OK [19:18:09]SAM_PROTO_SignData done [19:18:09]FM_MakeSignedData done [19:18:09]CreateOFDProtocolMessage [19:18:09]wFMCommunicate request_size=4 [19:18:09]MH_SAM_APDU [19:18:09]CAPDU: 80 11 00 00 [19:18:09]Write to MH i2c: E2 08 00 79 05 80 11 00 00 00 00 00 00 F8 [19:18:09]Write i2c OK [19:18:09]MH_I2C_Read... [19:18:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:18:09]Read from MH i2c: E2 [19:18:09]MH_I2C_Read... [19:18:09]Read from MH i2c: E2 17 00 [19:18:09]MH_I2C_Read... [19:18:09]Read from MH i2c: E2 17 00 79 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 51 [19:18:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [19:18:09]wFMCommunicate OK [19:18:09]CreateOFDProtocolMessage done [19:18:09]OFDSenderStorePacket 27078 [19:18:09]StoreOFDPacket docnum=27078 [19:18:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 45 01 00 00 F2 AC 3D 01 3E B8 5A 03 01 00 03 00 31 01 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 38 36 06 04 3F 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D1 8B D1 80 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B0 D0 BF D0 B5 D0 BD D1 8C D0 BE 20 35 35 20 D0 B3 D1 80 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 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 38 00 00 00 F4 03 04 00 71 99 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C6 69 00 00 35 04 06 00 66 A1 66 A0 A9 FC B0 56 BF 51 9E C7 F8 F9 [19:18:09]CheckFolder [19:18:09]dirname=/storage/ofd_packets [19:18:09]CheckFolder done [19:18:09]ProducePacketName [19:18:09]name=ofd_packets/00027078 [19:18:09]NVStorageSaveData ofd_packets/00027078 [19:18:09]File name is /storage/ofd_packets/00027078 [19:18:09]Write 355 bytes [19:18:09]NVStorageSaveData done [19:18:09]OFDSenderStorePacket done [19:18:09]KKMCreateOFDPacket done [19:18:09]NVStorageSaveData kkm_last_timestamp [19:18:09]File name is /storage/kkm_last_timestamp [19:18:09]Write 4 bytes [19:18:09]NVStorageSaveData done [19:18:09]ExternCall_PrintAddStr [19:18:09]wPrintStart [19:18:09]Write to MH i2c: 01 00 00 7A 05 7F [19:18:09]Write i2c OK [19:18:09]MH_I2C_Read... [19:18:09]Read from MH i2c: 01 [19:18:09]MH_I2C_Read... [19:18:09]Read from MH i2c: 01 07 00 [19:18:09]MH_I2C_Read... [19:18:09]Read from MH i2c: 01 07 00 7A 05 00 00 00 00 00 FF 0F 94 [19:18:09]RasterBufferAndPrint [19:18:09]line Счет N : (3)150476 [19:18:09]line ИНН: 02508201610067 [19:18:09]line Контрольно-Кассовый Чек [19:18:09]line ПРОДАЖА [19:18:09]line Товар: 4870235681086 [19:18:09]line Grizzly волнистые Сыр с халапеньо 55 гр [19:18:09]line 1.000 * 90.00 [19:18:09]line = 90.00 [19:18:09]line НДС 12% НСП 1% [19:18:09]line > о реализуемом товаре [19:18:09]line ИТОГО: 90.00 [19:18:09]line НСП 1% : 0.80 [19:18:09]line НДС 12% : 9.56 [19:18:09]line Наличными: 90.00 [19:18:09]line Безнал.: 0.00 [19:18:09]line Место: АЗС № 134 "Партнер Нефть" [19:18:09]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [19:18:09]line СНО: Общий режим [19:18:09]line Чек 56 28.07.2024 19:18 [19:18:09]line Смена: 433 ФФД: 1.0 [19:18:09]line ЗНМ: 0300000043 [19:18:09]line РНМ: 0000000000092663 [19:18:09]line Версия ККМ: 001 [19:18:09]line ФМ: 0000000000874937 [19:18:09]line ФД: 27078 [19:18:09]line ФПД: 112843397573116 [19:18:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T191809&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27078&fm=112843397573116&tin=02508201610067®Number=0000000000092663&sum=9000 [19:18:09]line 0 [19:18:09]OFD Sender: Processing packet 27078 [packets to send 9, broken 8] [19:18:09]ProducePacketName [19:18:09]name=ofd_packets/00027078 [19:18:09]OFD Sender: To server: pG, [19:18:09]CommunicateWithHost lk.salyk.kg:30040 [19:18:09]ConnectInit lk.salyk.kg [19:18:09]written 0, free lines is 4095 [19:18:09]Connected sock=10 [19:18:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 45 01 00 00 F2 AC 3D 01 3E B8 5A 03 01 00 03 00 31 01 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 38 36 06 04 3F 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D1 8B D1 80 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B0 D0 BF D0 B5 D0 BD D1 8C D0 BE 20 35 35 20 D0 B3 D1 80 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 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 38 00 00 00 F4 03 04 00 71 99 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C6 69 00 00 35 04 06 00 66 A1 66 A0 A9 FC B0 56 BF 51 9E C7 F8 F9 [19:18:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 E8 99 47 00 A6 92 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 38 37 34 39 33 37 10 04 04 00 C6 69 00 00 F4 03 04 00 C4 3F A6 66 B6 04 01 00 00 2E 3C 48 05 BE 89 D4 D0 [19:18:09]CommunicateWithHost err = 0 [19:18:09]CheckOFDResponse [19:18:09]1017 (14) - 77093643461234 [19:18:09]1041 (16) - 0000000000874937 [19:18:09]1040 (4) - 27078 [19:18:09]1012 (4) - 28.07.2024 12:55 [19:18:09]1206 (1) - 0 [19:18:09]OFD Sender: Remove packet 27078 [19:18:09]ProducePacketName [19:18:09]name=ofd_packets/00027078 [19:18:09]NVStorageDeleteData [19:18:10]Write to MH i2c: 01 00 00 A2 05 A7 [19:18:10]Write i2c OK [19:18:10]MH_I2C_Read... [19:18:10]Read from MH i2c: 01 [19:18:10]MH_I2C_Read... [19:18:10]Read from MH i2c: 01 07 00 [19:18:10]MH_I2C_Read... [19:18:10]Read from MH i2c: 01 07 00 A2 05 00 00 00 00 00 EF 0C A9 [19:18:10]RasterBufferAndPrint [19:18:10]line [19:18:10]line [19:18:10]line [19:18:10]line [19:18:10]line [19:18:10]written 0, free lines is 3317 [19:18:10]MH_Cut [19:18:10]Write to MH i2c: D1 01 00 A9 05 01 80 [19:18:10]Write i2c OK [19:18:10]MH_I2C_Read... [19:18:10]Read from MH i2c: D1 [19:18:10]MH_I2C_Read... [19:18:10]Read from MH i2c: D1 01 00 [19:18:10]MH_I2C_Read... [19:18:10]Read from MH i2c: D1 01 00 A9 05 00 7F [19:18:10]Write to MH i2c: 01 00 00 AA 05 AF [19:18:10]Write i2c OK [19:18:10]MH_I2C_Read... [19:18:10]OFD Sender: No OFD packet to send [19:18:10]*** Cut start [19:18:10]*** Partial cut [19:18:10]*** CUTSNS_PIN = 1 [19:18:10]*** CUTSNS_PIN = 0 [19:18:11]*** Brake cut motor [19:18:11]Read from MH i2c: 01 [19:18:11]MH_I2C_Read... [19:18:11]*** Stop cut motor [19:18:11]*** Cut end [19:18:11]Read from MH i2c: 01 07 00 [19:18:11]MH_I2C_Read... [19:18:11]Read from MH i2c: 01 07 00 AA 05 00 00 00 00 00 FF 0F C4 [19:18:11]process_action close_receipt done [19:18:11]requested_data is exist [19:18:11]produce_requested_data [19:18:11]requested_item fm.sn is exist - process it [19:18:11]wFMCommunicate request_size=4 [19:18:11]MH_SAM_APDU [19:18:11]CAPDU: 80 11 00 00 [19:18:11]Write to MH i2c: E2 08 00 AB 05 80 11 00 00 00 00 00 00 2A [19:18:11]Write i2c OK [19:18:11]MH_I2C_Read... [19:18:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:18:11]Read from MH i2c: E2 [19:18:11]MH_I2C_Read... [19:18:11]Read from MH i2c: E2 17 00 [19:18:11]MH_I2C_Read... [19:18:11]Read from MH i2c: E2 17 00 AB 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 83 [19:18:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [19:18:11]wFMCommunicate OK [19:18:11]requested_item fd.num is exist - process it [19:18:11]SAM_PROTO_GetFieldsCounters [19:18:11]wFMCommunicate request_size=4 [19:18:11]MH_SAM_APDU [19:18:11]CAPDU: 80 13 00 00 [19:18:11]Write to MH i2c: E2 08 00 AC 05 80 13 00 00 00 00 00 00 2D [19:18:11]Write i2c OK [19:18:11]MH_I2C_Read... [19:18:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:18:11]Read from MH i2c: E2 [19:18:11]MH_I2C_Read... [19:18:11]Read from MH i2c: E2 62 00 [19:18:11]MH_I2C_Read... [19:18:11]Read from MH i2c: E2 62 00 AC 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 C6 69 00 00 0E 04 04 00 B1 01 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 DE [19:18:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 C6 69 00 00 0E 04 04 00 B1 01 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 [19:18:11]wFMCommunicate OK [19:18:11]SAM_PROTO_GetFieldsCounters done [19:18:11]requested_item shift.num is exist - process it [19:18:11]requested_item shift.opened is exist - process it [19:18:11]req_shift_opened [19:18:11]FM_GetShiftState [19:18:11]SAM_PROTO_GetShiftState [19:18:11]wFMCommunicate request_size=4 [19:18:11]MH_SAM_APDU [19:18:11]CAPDU: 80 13 01 00 [19:18:11]Write to MH i2c: E2 08 00 AD 05 80 13 01 00 00 00 00 00 2F [19:18:11]Write i2c OK [19:18:11]MH_I2C_Read... [19:18:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:18:11]Read from MH i2c: E2 [19:18:11]MH_I2C_Read... [19:18:11]Read from MH i2c: E2 0E 00 [19:18:11]MH_I2C_Read... [19:18:11]Read from MH i2c: E2 0E 00 AD 05 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 57 [19:18:11]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [19:18:11]wFMCommunicate OK [19:18:11]SAM_PROTO_GetShiftState done [19:18:11]FM_GetShiftState done [19:18:11]req_shift_opened done [19:18:11]requested_item shift.open_date is exist - process it [19:18:11]req_shift_open_date [19:18:11]req_shift_open_date done [19:18:11]produce_requested_data done [19:18:11]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27078,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [19:18:11]process_action_free close_receipt [19:18:11]json_value_free [19:18:11]json_value_free done [19:18:11]process_json_proto returns [19:18:11]Send response to host [19:18:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27078,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [19:18:11]free response buf [19:18:11]execute_script done [19:18:11]execute_script returns [19:18:11]free content buf [19:18:11]Sock 8.Close socket [19:18:11]Sock 8.Thread stoped [19:18:15]OFD Sender: No OFD packet to send [19:18:20]OFD Sender: No OFD packet to send [19:18:25]OFD Sender: No OFD packet to send [19:18:30]OFD Sender: No OFD packet to send [19:18:35]OFD Sender: No OFD packet to send [19:18:40]OFD Sender: No OFD packet to send [19:18:45]OFD Sender: No OFD packet to send [19:18:50]OFD Sender: No OFD packet to send [19:18:55]OFD Sender: No OFD packet to send [19:19:00]OFD Sender: No OFD packet to send [19:19:05]OFD Sender: No OFD packet to send [19:19:10]OFD Sender: No OFD packet to send [19:19:15]OFD Sender: No OFD packet to send [19:19:20]OFD Sender: No OFD packet to send [19:19:25]OFD Sender: No OFD packet to send [19:19:30]OFD Sender: No OFD packet to send [19:19:35]OFD Sender: No OFD packet to send [19:19:40]OFD Sender: No OFD packet to send [19:19:45]OFD Sender: No OFD packet to send [19:19:50]OFD Sender: No OFD packet to send [19:19:55]OFD Sender: No OFD packet to send [19:20:00]OFD Sender: No OFD packet to send [19:20:05]OFD Sender: No OFD packet to send [19:20:10]OFD Sender: No OFD packet to send [19:20:15]OFD Sender: No OFD packet to send [19:20:20]OFD Sender: No OFD packet to send [19:20:25]OFD Sender: No OFD packet to send [19:20:30]OFD Sender: No OFD packet to send [19:20:35]OFD Sender: No OFD packet to send [19:20:40]OFD Sender: No OFD packet to send [19:20:45]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:05]OFD Sender: No OFD packet to send [19:30:10]OFD Sender: No OFD packet to send [19:30:15]OFD Sender: No OFD packet to send [19:30:20]OFD Sender: No OFD packet to send [19:30:25]OFD Sender: No OFD packet to send [19:30:30]OFD Sender: No OFD packet to send [19:30:36]OFD Sender: No OFD packet to send [19:30:41]OFD Sender: No OFD packet to send [19:30:46]OFD Sender: No OFD packet to send [19:30:51]OFD Sender: No OFD packet to send [19:30:56]OFD Sender: No OFD packet to send [19:31:01]OFD Sender: No OFD packet to send [19:31:06]OFD Sender: No OFD packet to send [19:31:11]OFD Sender: No OFD packet to send [19:31:16]OFD Sender: No OFD packet to send [19:31:21]OFD Sender: No OFD packet to send [19:31:26]OFD Sender: No OFD packet to send [19:31:31]OFD Sender: No OFD packet to send [19:31:36]OFD Sender: No OFD packet to send [19:31:41]OFD Sender: No OFD packet to send [19:31:46]OFD Sender: No OFD packet to send [19:31:51]OFD Sender: No OFD packet to send [19:31:56]OFD Sender: No OFD packet to send [19:32:01]OFD Sender: No OFD packet to send [19:32:06]OFD Sender: No OFD packet to send [19:32:11]OFD Sender: No OFD packet to send [19:32:16]OFD Sender: No OFD packet to send [19:32:21]OFD Sender: No OFD packet to send [19:32:26]OFD Sender: No OFD packet to send [19:32:31]OFD Sender: No OFD packet to send [19:32:36]OFD Sender: No OFD packet to send [19:32:41]OFD Sender: No OFD packet to send [19:32:46]OFD Sender: No OFD packet to send [19:32:51]OFD Sender: No OFD packet to send [19:32:56]OFD Sender: No OFD packet to send [19:33:01]OFD Sender: No OFD packet to send [19:33:06]OFD Sender: No OFD packet to send [19:33:11]OFD Sender: No OFD packet to send [19:33:16]OFD Sender: No OFD packet to send [19:33:21]OFD Sender: No OFD packet to send [19:33:26]OFD Sender: No OFD packet to send [19:33:31]OFD Sender: No OFD packet to send [19:33:36]OFD Sender: No OFD packet to send [19:33:41]OFD Sender: No OFD packet to send [19:33:46]OFD Sender: No OFD packet to send [19:33:51]OFD Sender: No OFD packet to send [19:33:56]OFD Sender: No OFD packet to send [19:34:01]OFD Sender: No OFD packet to send [19:34:06]OFD Sender: No OFD packet to send [19:34:11]OFD Sender: No OFD packet to send [19:34:16]OFD Sender: No OFD packet to send [19:34:21]OFD Sender: No OFD packet to send [19:34:26]OFD Sender: No OFD packet to send [19:34:31]OFD Sender: No OFD packet to send [19:34:36]OFD Sender: No OFD packet to send [19:34:41]OFD Sender: No OFD packet to send [19:34:46]OFD Sender: No OFD packet to send [19:34:51]OFD Sender: No OFD packet to send [19:34:56]OFD Sender: No OFD packet to send [19:35:01]OFD Sender: No OFD packet to send [19:35:06]OFD Sender: No OFD packet to send [19:35:11]OFD Sender: No OFD packet to send [19:35:16]OFD Sender: No OFD packet to send [19:35:21]OFD Sender: No OFD packet to send [19:35:26]OFD Sender: No OFD packet to send [19:35:31]OFD Sender: No OFD packet to send [19:35:36]OFD Sender: No OFD packet to send [19:35:41]OFD Sender: No OFD packet to send [19:35:46]OFD Sender: No OFD packet to send [19:35:51]OFD Sender: No OFD packet to send [19:35:56]OFD Sender: No OFD packet to send [19:36:01]OFD Sender: No OFD packet to send [19:36:06]OFD Sender: No OFD packet to send [19:36:11]OFD Sender: No OFD packet to send [19:36:16]OFD Sender: No OFD packet to send [19:36:21]OFD Sender: No OFD packet to send [19:36:26]OFD Sender: No OFD packet to send [19:36:31]OFD Sender: No OFD packet to send [19:36:36]OFD Sender: No OFD packet to send [19:36:41]OFD Sender: No OFD packet to send [19:36:46]OFD Sender: No OFD packet to send [19:36:51]OFD Sender: No OFD packet to send [19:36:56]OFD Sender: No OFD packet to send [19:37:01]OFD Sender: No OFD packet to send [19:37:06]OFD Sender: No OFD packet to send [19:37:11]OFD Sender: No OFD packet to send [19:37:16]OFD Sender: No OFD packet to send [19:37:21]OFD Sender: No OFD packet to send [19:37:26]OFD Sender: No OFD packet to send [19:37:31]OFD Sender: No OFD packet to send [19:37:36]OFD Sender: No OFD packet to send [19:37:41]OFD Sender: No OFD packet to send [19:37:46]OFD Sender: No OFD packet to send [19:37:51]OFD Sender: No OFD packet to send [19:37:56]OFD Sender: No OFD packet to send [19:38:01]OFD Sender: No OFD packet to send [19:38:06]OFD Sender: No OFD packet to send [19:38:11]OFD Sender: No OFD packet to send [19:38:16]OFD Sender: No OFD packet to send [19:38:21]OFD Sender: No OFD packet to send [19:38:26]OFD Sender: No OFD packet to send [19:38:31]OFD Sender: No OFD packet to send [19:38:36]OFD Sender: No OFD packet to send [19:38:41]OFD Sender: No OFD packet to send [19:38:46]OFD Sender: No OFD packet to send [19:38:51]OFD Sender: No OFD packet to send [19:38:56]OFD Sender: No OFD packet to send [19:39:01]OFD Sender: No OFD packet to send [19:39:06]OFD Sender: No OFD packet to send [19:39:11]OFD Sender: No OFD packet to send [19:39:16]OFD Sender: No OFD packet to send [19:39:21]OFD Sender: No OFD packet to send [19:39:26]OFD Sender: No OFD packet to send [19:39:31]OFD Sender: No OFD packet to send [19:39:36]OFD Sender: No OFD packet to send [19:39:41]OFD Sender: No OFD packet to send [19:39:46]OFD Sender: No OFD packet to send [19:39:51]OFD Sender: No OFD packet to send [19:39:56]OFD Sender: No OFD packet to send [19:40:01]OFD Sender: No OFD packet to send [19:40:06]OFD Sender: No OFD packet to send [19:40:11]OFD Sender: No OFD packet to send [19:40:16]OFD Sender: No OFD packet to send [19:40:21]OFD Sender: No OFD packet to send [19:40:26]OFD Sender: No OFD packet to send [19:40:31]OFD Sender: No OFD packet to send [19:40:36]OFD Sender: No OFD packet to send [19:40:41]OFD Sender: No OFD packet to send [19:40:46]OFD Sender: No OFD packet to send [19:40:51]OFD Sender: No OFD packet to send [19:40:56]OFD Sender: No OFD packet to send [19:41:01]OFD Sender: No OFD packet to send [19:41:06]OFD Sender: No OFD packet to send [19:41:11]OFD Sender: No OFD packet to send [19:41:16]OFD Sender: No OFD packet to send [19:41:21]OFD Sender: No OFD packet to send [19:41:26]OFD Sender: No OFD packet to send [19:41:31]OFD Sender: No OFD packet to send [19:41:36]OFD Sender: No OFD packet to send [19:41:41]OFD Sender: No OFD packet to send [19:41:46]OFD Sender: No OFD packet to send [19:41:51]OFD Sender: No OFD packet to send [19:41:56]OFD Sender: No OFD packet to send [19:42:01]OFD Sender: No OFD packet to send [19:42:06]OFD Sender: No OFD packet to send [19:42:11]OFD Sender: No OFD packet to send [19:42:16]OFD Sender: No OFD packet to send [19:42:21]OFD Sender: No OFD packet to send [19:42:26]OFD Sender: No OFD packet to send [19:42:31]OFD Sender: No OFD packet to send [19:42:36]OFD Sender: No OFD packet to send [19:42:41]OFD Sender: No OFD packet to send [19:42:46]OFD Sender: No OFD packet to send [19:42:51]OFD Sender: No OFD packet to send [19:42:56]OFD Sender: No OFD packet to send [19:43:01]OFD Sender: No OFD packet to send [19:43:06]OFD Sender: No OFD packet to send [19:43:11]OFD Sender: No OFD packet to send [19:43:16]OFD Sender: No OFD packet to send [19:43:21]OFD Sender: No OFD packet to send [19:43:26]OFD Sender: No OFD packet to send [19:43:31]OFD Sender: No OFD packet to send [19:43:36]OFD Sender: No OFD packet to send [19:43:41]OFD Sender: No OFD packet to send [19:43:46]OFD Sender: No OFD packet to send [19:43:51]OFD Sender: No OFD packet to send [19:43:56]OFD Sender: No OFD packet to send [19:44:01]OFD Sender: No OFD packet to send [19:44:06]OFD Sender: No OFD packet to send [19:44:11]OFD Sender: No OFD packet to send [19:44:16]OFD Sender: No OFD packet to send [19:44:21]OFD Sender: No OFD packet to send [19:44:26]OFD Sender: No OFD packet to send [19:44:31]OFD Sender: No OFD packet to send [19:44:36]OFD Sender: No OFD packet to send [19:44:41]OFD Sender: No OFD packet to send [19:44:46]OFD Sender: No OFD packet to send [19:44:51]OFD Sender: No OFD packet to send [19:44:56]OFD Sender: No OFD packet to send [19:45:01]OFD Sender: No OFD packet to send [19:45:06]OFD Sender: No OFD packet to send [19:45:11]OFD Sender: No OFD packet to send [19:45:16]OFD Sender: No OFD packet to send [19:45:21]OFD Sender: No OFD packet to send [19:45:26]OFD Sender: No OFD packet to send [19:45:31]OFD Sender: No OFD packet to send [19:45:36]OFD Sender: No OFD packet to send [19:45:41]OFD Sender: No OFD packet to send [19:45:46]OFD Sender: No OFD packet to send [19:45:51]OFD Sender: No OFD packet to send [19:45:56]OFD Sender: No OFD packet to send [19:46:01]OFD Sender: No OFD packet to send [19:46:06]OFD Sender: No OFD packet to send [19:46:11]OFD Sender: No OFD packet to send [19:46:16]OFD Sender: No OFD packet to send [19:46:21]OFD Sender: No OFD packet to send [19:46:26]OFD Sender: No OFD packet to send [19:46:31]OFD Sender: No OFD packet to send [19:46:36]OFD Sender: No OFD packet to send [19:46:41]OFD Sender: No OFD packet to send [19:46:46]OFD Sender: No OFD packet to send [19:46:51]OFD Sender: No OFD packet to send [19:46:56]OFD Sender: No OFD packet to send [19:47:01]OFD Sender: No OFD packet to send [19:47:06]OFD Sender: No OFD packet to send [19:47:11]OFD Sender: No OFD packet to send [19:47:16]OFD Sender: No OFD packet to send [19:47:21]OFD Sender: No OFD packet to send [19:47:26]OFD Sender: No OFD packet to send [19:47:31]OFD Sender: No OFD packet to send [19:47:36]OFD Sender: No OFD packet to send [19:47:41]OFD Sender: No OFD packet to send [19:47:46]OFD Sender: No OFD packet to send [19:47:51]OFD Sender: No OFD packet to send [19:47:56]OFD Sender: No OFD packet to send [19:48:01]OFD Sender: No OFD packet to send [19:48:06]OFD Sender: No OFD packet to send [19:48:11]OFD Sender: No OFD packet to send [19:48:16]OFD Sender: No OFD packet to send [19:48:21]OFD Sender: No OFD packet to send [19:48:26]OFD Sender: No OFD packet to send [19:48:31]OFD Sender: No OFD packet to send [19:48:36]OFD Sender: No OFD packet to send [19:48:41]OFD Sender: No OFD packet to send [19:48:46]OFD Sender: No OFD packet to send [19:48:51]OFD Sender: No OFD packet to send [19:48:56]OFD Sender: No OFD packet to send [19:49:01]OFD Sender: No OFD packet to send [19:49:06]OFD Sender: No OFD packet to send [19:49:11]OFD Sender: No OFD packet to send [19:49:16]OFD Sender: No OFD packet to send [19:49:21]OFD Sender: No OFD packet to send [19:49:26]OFD Sender: No OFD packet to send [19:49:31]OFD Sender: No OFD packet to send [19:49:36]OFD Sender: No OFD packet to send [19:49:41]OFD Sender: No OFD packet to send [19:49:46]OFD Sender: No OFD packet to send [19:49:51]OFD Sender: No OFD packet to send [19:49:56]OFD Sender: No OFD packet to send [19:50:01]OFD Sender: No OFD packet to send [19:50:06]OFD Sender: No OFD packet to send [19:50:11]OFD Sender: No OFD packet to send [19:50:16]OFD Sender: No OFD packet to send [19:50:21]OFD Sender: No OFD packet to send [19:50:26]OFD Sender: No OFD packet to send [19:50:31]OFD Sender: No OFD packet to send [19:50:36]OFD Sender: No OFD packet to send [19:50:41]OFD Sender: No OFD packet to send [19:50:46]OFD Sender: No OFD packet to send [19:50:51]OFD Sender: No OFD packet to send [19:50:56]OFD Sender: No OFD packet to send [19:51:01]OFD Sender: No OFD packet to send [19:51:06]OFD Sender: No OFD packet to send [19:51:11]OFD Sender: No OFD packet to send [19:51:16]OFD Sender: No OFD packet to send [19:51:21]OFD Sender: No OFD packet to send [19:51:26]OFD Sender: No OFD packet to send [19:51:31]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:33]accept exits with 9 [19:52:33]New connection [19:52:33]New thread 3066785124 created [19:52:33]Thread 3066928484 joined [19:52:33]Waiting for new connection... [19:52:33] Sock 9.Parse request [19:52:33]Sock 9.Check first char [19:52:33]Sock 9.First char is OK [19:52:33]request: POST /json_proto HTTP/1.0 [19:52:33]Method: POST [19:52:33]URL: /json_proto [19:52:33]Method is POST - this is cgi request [19:52:33]url: /json_proto [19:52:33]query_string will be loaded in cgi processing [19:52:33]execute_cgi json_proto POST (null) [19:52:33]execute_cgi path=json_proto method=POST [19:52:33]POST find Content-Length [19:52:33]Host: 172.17.45.8:8080 [19:52:33]Content-Length: 1245 [19:52:33]Content-Type: application/json [19:52:33] [19:52:33]POST finish read [19:52:33]Found Content-Length = 1245 [19:52:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150477", "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": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480081", "name": "\u041F\u0418\u0412\u041E \u0421\u0412\u0415\u0422\u041B\u041E\u0415 \u0411\u0410\u0417\u0410\u041B\u041A\u041E\u0413\u041E\u041B\u042C\u041D\u041E\u0415 URBAN 312 0,", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 352.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:52:33]execute_script... [19:52: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)150477", "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": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480081", "name": "\u041F\u0418\u0412\u041E \u0421\u0412\u0415\u0422\u041B\u041E\u0415 \u0411\u0410\u0417\u0410\u041B\u041A\u041E\u0413\u041E\u041B\u042C\u041D\u041E\u0415 URBAN 312 0,", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 352.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:52:33]POST & json_proto [19:52:33]process_json_proto [19:52:33]json parsed OK: [19:52:33]protocol is kg_v1.0 [19:52:33]action value=close_receipt [19:52:33]process_action close_receipt [19:52:33]cmd_close_receipt [19:52:33]MH_GetDate [19:52:33]Write to MH i2c: F0 00 00 AE 05 A2 [19:52:33]Write i2c OK [19:52:33]MH_I2C_Read... [19:52:33]Read from MH i2c: F0 [19:52:33]MH_I2C_Read... [19:52:33]Read from MH i2c: F0 09 00 [19:52:33]MH_I2C_Read... [19:52:33]Read from MH i2c: F0 09 00 AE 05 00 83 A1 A6 66 A6 1F 7F 64 83 [19:52:33]GetLastDocTimeStamp 1722194289 [19:52:33]current date 1722196355 [19:52:33]FM_GetShiftState [19:52:33]SAM_PROTO_GetShiftState [19:52:33]wFMCommunicate request_size=4 [19:52:33]MH_SAM_APDU [19:52:33]CAPDU: 80 13 01 00 [19:52:33]Write to MH i2c: E2 08 00 AF 05 80 13 01 00 00 00 00 00 31 [19:52:33]Write i2c OK [19:52:33]MH_I2C_Read... [19:52:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:52:33]Read from MH i2c: E2 [19:52:33]MH_I2C_Read... [19:52:33]Read from MH i2c: E2 0E 00 [19:52:33]MH_I2C_Read... [19:52:33]Read from MH i2c: E2 0E 00 AF 05 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 59 [19:52:33]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [19:52:33]wFMCommunicate OK [19:52:33]SAM_PROTO_GetShiftState done [19:52:33]FM_GetShiftState done [19:52:33]opened in 1722127230 [19:52:33]opened+sec_in_day 1722213630 [19:52:33]quantity*price = 13000 [19:52:33]sum+1 = 13001 [19:52:33]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036210013 Кофе Капучино (GABB TRADE) 1.000 * 115.00 = 115.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000480081 ПИВО СВЕТЛОЕ БАЗАЛКОГОЛЬНОЕ URBAN 312 0, 1.000 * 107.00 = 107.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 352.00 НСП 1% : 3.12 НДС 12% : 37.37 Наличными: 352.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 57 28.07.2024 19:52 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27079 ФПД: 251594468337915 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T195235&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27079&fm=251594468337915&tin=02508201610067®Number=0000000000092663&sum=35200 0 [19:52:34]StoreToDocumentArchive [19:52:34]shift 433 fd 27079 [19:52:34]save to /storage/0433/doc_00027079 [19:52:34]save last doc name /storage/0433/doc_00027079 to /storage/kkm_last_doc_name [19:52:34]save OK [19:52:34]Clear old archive folders... [19:52:34]ProcessDocumentItem done err = 0, tmpTLVsize=529 [19:52:34]tlvbuf is 00180920 [19:52:34]SAM_PROTO_ClearQueue [19:52:34]wFMCommunicate request_size=4 [19:52:34]MH_SAM_APDU [19:52:34]CAPDU: 80 09 00 00 [19:52:34]Write to MH i2c: E2 08 00 BC 05 80 09 00 00 00 00 00 00 33 [19:52:34]Write i2c OK [19:52:34]MH_I2C_Read... [19:52:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:52:34]Read from MH i2c: E2 [19:52:34]MH_I2C_Read... [19:52:34]Read from MH i2c: E2 03 00 [19:52:34]MH_I2C_Read... [19:52:34]Read from MH i2c: E2 03 00 BC 05 00 90 00 35 [19:52:34]RAPDU: 90 00 [19:52:34]wFMCommunicate OK [19:52:34]SAM_PROTO_ClearQueue done [19:52:34]KKMCreateOFDPacket [19:52:34]OFDProtocolAddRootSTLVToBuf [19:52:34]FM_MakeSignedData [19:52:34]FM_MakeSignedData [19:52:34]SAM_PROTO_SignData [19:52:34]wFMCommunicate request_size=4 [19:52:34]MH_SAM_APDU [19:52:34]CAPDU: 80 0D 01 02 [19:52:34]Write to MH i2c: E2 08 00 BD 05 80 0D 01 02 00 00 00 00 3B [19:52:34]Write i2c OK [19:52:34]MH_I2C_Read... [19:52:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:52:34]Read from MH i2c: E2 [19:52:34]MH_I2C_Read... [19:52:34]Read from MH i2c: E2 03 00 [19:52:34]MH_I2C_Read... [19:52:34]Read from MH i2c: E2 03 00 BD 05 00 90 00 36 [19:52:34]RAPDU: 90 00 [19:52:34]wFMCommunicate OK [19:52:34]wFMCommunicate request_size=255 [19:52:34]MH_SAM_APDU [19:52:34]CAPDU: 80 0D 02 02 FA 03 00 11 02 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 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 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 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 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 [19:52:35]Write to MH i2c: E2 02 01 BE 05 80 0D 02 02 FA 00 03 00 11 02 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 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 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 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 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 00 00 04 [19:52:35]Write i2c OK [19:52:35]MH_I2C_Read... [19:52:35]Read from MH i2c: E2 [19:52:35]MH_I2C_Read... [19:52:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:52:35]Read from MH i2c: E2 03 00 [19:52:35]MH_I2C_Read... [19:52:35]Read from MH i2c: E2 03 00 BE 05 00 90 00 37 [19:52:35]RAPDU: 90 00 [19:52:35]wFMCommunicate OK [19:52:35]wFMCommunicate request_size=255 [19:52:35]MH_SAM_APDU [19:52:35]CAPDU: 80 0D 02 02 FA 38 31 06 04 41 00 D0 9F D0 98 D0 92 D0 9E 20 D0 A1 D0 92 D0 95 D0 A2 D0 9B D0 9E D0 95 20 D0 91 D0 90 D0 97 D0 90 D0 9B D0 9A D0 9E D0 93 D0 9E D0 9B D0 AC D0 9D D0 9E D0 95 20 55 52 42 41 4E 20 33 31 32 20 30 2C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 89 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 99 0E 00 00 00 00 07 04 06 00 80 89 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 83 A1 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 [19:52:35]Write to MH i2c: E2 02 01 BF 05 80 0D 02 02 FA 00 38 31 06 04 41 00 D0 9F D0 98 D0 92 D0 9E 20 D0 A1 D0 92 D0 95 D0 A2 D0 9B D0 9E D0 95 20 D0 91 D0 90 D0 97 D0 90 D0 9B D0 9A D0 9E D0 93 D0 9E D0 9B D0 AC D0 9D D0 9E D0 95 20 55 52 42 41 4E 20 33 31 32 20 30 2C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 89 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 99 0E 00 00 00 00 07 04 06 00 80 89 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 83 A1 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 00 00 40 [19:52:35]Write i2c OK [19:52:35]MH_I2C_Read... [19:52:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:52:35]Read from MH i2c: E2 [19:52:35]MH_I2C_Read... [19:52:35]Read from MH i2c: E2 03 00 [19:52:35]MH_I2C_Read... [19:52:35]Read from MH i2c: E2 03 00 BF 05 00 90 00 38 [19:52:35]RAPDU: 90 00 [19:52:35]wFMCommunicate OK [19:52:35]wFMCommunicate request_size=38 [19:52:35]MH_SAM_APDU [19:52:35]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C7 69 00 00 35 04 06 00 E4 D2 E6 E9 A8 FB [19:52:35]Write to MH i2c: E2 29 00 C0 05 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C7 69 00 00 35 04 06 00 E4 D2 E6 E9 A8 FB 00 00 26 [19:52:35]Write i2c OK [19:52:35]MH_I2C_Read... [19:52:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:52:35]Read from MH i2c: E2 [19:52:35]MH_I2C_Read... [19:52:35]Read from MH i2c: E2 03 00 [19:52:35]MH_I2C_Read... [19:52:35]Read from MH i2c: E2 03 00 C0 05 00 90 00 39 [19:52:35]RAPDU: 90 00 [19:52:35]wFMCommunicate OK [19:52:35]wFMCommunicate request_size=4 [19:52:35]MH_SAM_APDU [19:52:35]CAPDU: 80 0D 03 02 [19:52:35]Write to MH i2c: E2 08 00 C1 05 80 0D 03 02 00 00 00 00 41 [19:52:35]Write i2c OK [19:52:35]MH_I2C_Read... [19:52:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:52:35]Read from MH i2c: E2 [19:52:35]MH_I2C_Read... [19:52:35]Read from MH i2c: E2 0B 00 [19:52:35]MH_I2C_Read... [19:52:35]Read from MH i2c: E2 0B 00 C1 05 00 98 29 99 7D 92 37 9E 1F 90 00 9F [19:52:35]RAPDU: 98 29 99 7D 92 37 9E 1F 90 00 [19:52:35]wFMCommunicate OK [19:52:35]SAM_PROTO_SignData done [19:52:35]FM_MakeSignedData done [19:52:35]CreateOFDProtocolMessage [19:52:35]wFMCommunicate request_size=4 [19:52:35]MH_SAM_APDU [19:52:35]CAPDU: 80 11 00 00 [19:52:35]Write to MH i2c: E2 08 00 C2 05 80 11 00 00 00 00 00 00 41 [19:52:35]Write i2c OK [19:52:35]MH_I2C_Read... [19:52:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:52:35]Read from MH i2c: E2 [19:52:35]MH_I2C_Read... [19:52:35]Read from MH i2c: E2 17 00 [19:52:35]MH_I2C_Read... [19:52:35]Read from MH i2c: E2 17 00 C2 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 9A [19:52:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [19:52:35]wFMCommunicate OK [19:52:35]CreateOFDProtocolMessage done [19:52:35]OFDSenderStorePacket 27079 [19:52:35]StoreOFDPacket docnum=27079 [19:52:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 25 02 00 00 32 B8 1D 02 FB DA 5A 03 01 00 03 00 11 02 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 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 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 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 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 38 31 06 04 41 00 D0 9F D0 98 D0 92 D0 9E 20 D0 A1 D0 92 D0 95 D0 A2 D0 9B D0 9E D0 95 20 D0 91 D0 90 D0 97 D0 90 D0 9B D0 9A D0 9E D0 93 D0 9E D0 9B D0 AC D0 9D D0 9E D0 95 20 55 52 42 41 4E 20 33 31 32 20 30 2C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 89 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 99 0E 00 00 00 00 07 04 06 00 80 89 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 83 A1 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C7 69 00 00 35 04 06 00 E4 D2 E6 E9 A8 FB 98 29 99 7D 92 37 9E 1F [19:52:35]CheckFolder [19:52:35]dirname=/storage/ofd_packets [19:52:35]CheckFolder done [19:52:35]ProducePacketName [19:52:35]name=ofd_packets/00027079 [19:52:35]NVStorageSaveData ofd_packets/00027079 [19:52:35]File name is /storage/ofd_packets/00027079 [19:52:35]Write 579 bytes [19:52:35]NVStorageSaveData done [19:52:35]OFDSenderStorePacket done [19:52:35]KKMCreateOFDPacket done [19:52:35]NVStorageSaveData kkm_last_timestamp [19:52:35]File name is /storage/kkm_last_timestamp [19:52:35]Write 4 bytes [19:52:35]NVStorageSaveData done [19:52:35]ExternCall_PrintAddStr [19:52:35]wPrintStart [19:52:35]Write to MH i2c: 01 00 00 C3 05 C8 [19:52:35]Write i2c OK [19:52:35]MH_I2C_Read... [19:52:35]Read from MH i2c: 01 [19:52:35]MH_I2C_Read... [19:52:35]Read from MH i2c: 01 07 00 [19:52:35]MH_I2C_Read... [19:52:35]Read from MH i2c: 01 07 00 C3 05 00 00 00 00 00 FF 0F DD [19:52:35]RasterBufferAndPrint [19:52:35]line Счет N : (3)150477 [19:52:35]line ИНН: 02508201610067 [19:52:35]line Контрольно-Кассовый Чек [19:52:35]line ПРОДАЖА [19:52:35]line Товар: 2000036220012 [19:52:35]line Кофе Капучино XL(GABB TRADE) [19:52:35]line 1.000 * 130.00 [19:52:35]line = 130.00 [19:52:35]line НДС 12% НСП 1% [19:52:35]line > о реализуемом товаре [19:52:35]line Товар: 2000036210013 [19:52:35]line Кофе Капучино (GABB TRADE) [19:52:35]line 1.000 * 115.00 [19:52:35]line = 115.00 [19:52:35]line НДС 12% НСП 1% [19:52:35]line > о реализуемом товаре [19:52:35]line Товар: 4700000480081 [19:52:35]line ПИВО СВЕТЛОЕ БАЗАЛКОГОЛЬНОЕ URBAN 312 0, [19:52:35]line 1.000 * 107.00 [19:52:35]line = 107.00 [19:52:35]line НДС 12% НСП 1% [19:52:35]line > о реализуемом товаре [19:52:35]line ИТОГО: 352.00 [19:52:35]line НСП 1% : 3.12 [19:52:35]line НДС 12% : 37.37 [19:52:35]line Наличными: 352.00 [19:52:35]line Безнал.: 0.00 [19:52:35]line Место: АЗС № 134 "Партнер Нефть" [19:52:35]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [19:52:35]line СНО: Общий режим [19:52:35]line Чек 57 28.07.2024 19:52 [19:52:35]line Смена: 433 ФФД: 1.0 [19:52:35]line ЗНМ: 0300000043 [19:52:35]line РНМ: 0000000000092663 [19:52:35]line Версия ККМ: 001 [19:52:35]line ФМ: 0000000000874937 [19:52:35]line ФД: 27079 [19:52:35]line ФПД: 251594468337915 [19:52:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T195235&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27079&fm=251594468337915&tin=02508201610067®Number=0000000000092663&sum=35200 [19:52:36]line 0 [19:52:36]OFD Sender: Processing packet 27079 [packets to send 9, broken 8] [19:52:36]ProducePacketName [19:52:36]name=ofd_packets/00027079 [19:52:36]OFD Sender: To server: pG, [19:52:36]CommunicateWithHost lk.salyk.kg:30040 [19:52:36]ConnectInit lk.salyk.kg [19:52:36]written 0, free lines is 4095 [19:52:36]Connected sock=10 [19:52:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 25 02 00 00 32 B8 1D 02 FB DA 5A 03 01 00 03 00 11 02 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 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 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 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 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 38 31 06 04 41 00 D0 9F D0 98 D0 92 D0 9E 20 D0 A1 D0 92 D0 95 D0 A2 D0 9B D0 9E D0 95 20 D0 91 D0 90 D0 97 D0 90 D0 9B D0 9A D0 9E D0 93 D0 9E D0 9B D0 AC D0 9D D0 9E D0 95 20 55 52 42 41 4E 20 33 31 32 20 30 2C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 89 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 99 0E 00 00 00 00 07 04 06 00 80 89 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 83 A1 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C7 69 00 00 35 04 06 00 E4 D2 E6 E9 A8 FB 98 29 99 7D 92 37 9E 1F [19:52:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 17 3C 47 00 E1 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 38 37 34 39 33 37 10 04 04 00 C7 69 00 00 F4 03 04 00 D6 47 A6 66 B6 04 01 00 00 B2 2D E2 6A 6A D0 D0 CA [19:52:36]CommunicateWithHost err = 0 [19:52:36]CheckOFDResponse [19:52:36]1017 (14) - 77093643461234 [19:52:36]1041 (16) - 0000000000874937 [19:52:36]1040 (4) - 27079 [19:52:36]1012 (4) - 28.07.2024 13:29 [19:52:36]1206 (1) - 0 [19:52:36]OFD Sender: Remove packet 27079 [19:52:36]ProducePacketName [19:52:36]name=ofd_packets/00027079 [19:52:36]NVStorageDeleteData [19:52:36]Write to MH i2c: 01 00 00 F8 05 FD [19:52:36]Write i2c OK [19:52:36]MH_I2C_Read... [19:52:36]Read from MH i2c: 01 [19:52:36]MH_I2C_Read... [19:52:36]Read from MH i2c: 01 07 00 [19:52:36]MH_I2C_Read... [19:52:36]Read from MH i2c: 01 07 00 F8 05 00 00 00 00 00 28 0C 38 [19:52:36]RasterBufferAndPrint [19:52:36]line [19:52:36]line [19:52:36]line [19:52:36]line [19:52:36]line [19:52:36]written 0, free lines is 3117 [19:52:36]MH_Cut [19:52:36]Write to MH i2c: D1 01 00 FF 05 01 D6 [19:52:36]Write i2c OK [19:52:36]MH_I2C_Read... [19:52:36]Read from MH i2c: D1 [19:52:36]MH_I2C_Read... [19:52:36]Read from MH i2c: D1 01 00 [19:52:36]MH_I2C_Read... [19:52:36]Read from MH i2c: D1 01 00 FF 05 00 D5 [19:52:36]Write to MH i2c: 01 00 00 00 06 06 [19:52:36]Write i2c OK [19:52:36]MH_I2C_Read... [19:52:37]OFD Sender: No OFD packet to send [19:52:37]*** Cut start [19:52:37]*** Partial cut [19:52:37]*** CUTSNS_PIN = 1 [19:52:37]*** CUTSNS_PIN = 0 [19:52:38]*** Brake cut motor [19:52:38]Read from MH i2c: 01 [19:52:38]MH_I2C_Read... [19:52:38]*** Stop cut motor [19:52:38]*** Cut end [19:52:38]Read from MH i2c: 01 07 00 [19:52:38]MH_I2C_Read... [19:52:38]Read from MH i2c: 01 07 00 00 06 00 00 00 00 00 FF 0F 1B [19:52:38]process_action close_receipt done [19:52:38]requested_data is exist [19:52:38]produce_requested_data [19:52:38]requested_item fm.sn is exist - process it [19:52:38]wFMCommunicate request_size=4 [19:52:38]MH_SAM_APDU [19:52:38]CAPDU: 80 11 00 00 [19:52:38]Write to MH i2c: E2 08 00 01 06 80 11 00 00 00 00 00 00 81 [19:52:38]Write i2c OK [19:52:38]MH_I2C_Read... [19:52:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:52:38]Read from MH i2c: E2 [19:52:38]MH_I2C_Read... [19:52:38]Read from MH i2c: E2 17 00 [19:52:38]MH_I2C_Read... [19:52:38]Read from MH i2c: E2 17 00 01 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 DA [19:52:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [19:52:38]wFMCommunicate OK [19:52:38]requested_item fd.num is exist - process it [19:52:38]SAM_PROTO_GetFieldsCounters [19:52:38]wFMCommunicate request_size=4 [19:52:38]MH_SAM_APDU [19:52:38]CAPDU: 80 13 00 00 [19:52:38]Write to MH i2c: E2 08 00 02 06 80 13 00 00 00 00 00 00 84 [19:52:38]Write i2c OK [19:52:38]MH_I2C_Read... [19:52:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:52:38]Read from MH i2c: E2 [19:52:38]MH_I2C_Read... [19:52:38]Read from MH i2c: E2 62 00 [19:52:38]MH_I2C_Read... [19:52:38]Read from MH i2c: E2 62 00 02 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 C7 69 00 00 0E 04 04 00 B1 01 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 39 [19:52:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 C7 69 00 00 0E 04 04 00 B1 01 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 [19:52:38]wFMCommunicate OK [19:52:38]SAM_PROTO_GetFieldsCounters done [19:52:38]requested_item shift.num is exist - process it [19:52:38]requested_item shift.opened is exist - process it [19:52:38]req_shift_opened [19:52:38]FM_GetShiftState [19:52:38]SAM_PROTO_GetShiftState [19:52:38]wFMCommunicate request_size=4 [19:52:38]MH_SAM_APDU [19:52:38]CAPDU: 80 13 01 00 [19:52:38]Write to MH i2c: E2 08 00 03 06 80 13 01 00 00 00 00 00 86 [19:52:38]Write i2c OK [19:52:38]MH_I2C_Read... [19:52:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:52:38]Read from MH i2c: E2 [19:52:38]MH_I2C_Read... [19:52:38]Read from MH i2c: E2 0E 00 [19:52:38]MH_I2C_Read... [19:52:38]Read from MH i2c: E2 0E 00 03 06 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 AE [19:52:38]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [19:52:38]wFMCommunicate OK [19:52:38]SAM_PROTO_GetShiftState done [19:52:38]FM_GetShiftState done [19:52:38]req_shift_opened done [19:52:38]requested_item shift.open_date is exist - process it [19:52:38]req_shift_open_date [19:52:38]req_shift_open_date done [19:52:38]produce_requested_data done [19:52:38]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27079,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [19:52:38]process_action_free close_receipt [19:52:38]json_value_free [19:52:38]json_value_free done [19:52:38]process_json_proto returns [19:52:38]Send response to host [19:52:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27079,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [19:52:38]free response buf [19:52:38]execute_script done [19:52:38]execute_script returns [19:52:38]free content buf [19:52:38]Sock 9.Close socket [19:52:38]Sock 9.Thread stoped [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:40]accept exits with 8 [19:53:40]New connection [19:53:40]New thread 3066928484 created [19:53:40]Thread 3066785124 joined [19:53:40]Waiting for new connection... [19:53:40] Sock 8.Parse request [19:53:40]Sock 8.Check first char [19:53:40]Sock 8.First char is OK [19:53:40]request: POST /json_proto HTTP/1.0 [19:53:40]Method: POST [19:53:40]URL: /json_proto [19:53:40]Method is POST - this is cgi request [19:53:40]url: /json_proto [19:53:40]query_string will be loaded in cgi processing [19:53:40]execute_cgi json_proto POST (null) [19:53:40]execute_cgi path=json_proto method=POST [19:53:40]POST find Content-Length [19:53:40]Host: 172.17.45.8:8080 [19:53:40]Content-Length: 700 [19:53:40]Content-Type: application/json [19:53:40] [19:53:40]POST finish read [19:53:40]Found Content-Length = 700 [19:53:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150478", "tax_sys" : 0, "items" : [ { "code": "4607010740757", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0441\u043C\u0435\u0442\u0430\u043D\u0430, \u043B\u0443\u043A 40\u0433", "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" ] } } [19:53:40]execute_script... [19:53: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)150478", "tax_sys" : 0, "items" : [ { "code": "4607010740757", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0441\u043C\u0435\u0442\u0430\u043D\u0430, \u043B\u0443\u043A 40\u0433", "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" ] } } [19:53:40]POST & json_proto [19:53:40]process_json_proto [19:53:40]json parsed OK: [19:53:40]protocol is kg_v1.0 [19:53:40]action value=close_receipt [19:53:40]process_action close_receipt [19:53:40]cmd_close_receipt [19:53:40]MH_GetDate [19:53:40]Write to MH i2c: F0 00 00 04 06 F9 [19:53:40]Write i2c OK [19:53:40]MH_I2C_Read... [19:53:40]Read from MH i2c: F0 [19:53:40]MH_I2C_Read... [19:53:40]Read from MH i2c: F0 09 00 [19:53:40]MH_I2C_Read... [19:53:40]Read from MH i2c: F0 09 00 04 06 00 C6 A1 A6 66 A6 1F 7F 64 1D [19:53:40]GetLastDocTimeStamp 1722196355 [19:53:40]current date 1722196422 [19:53:40]FM_GetShiftState [19:53:40]SAM_PROTO_GetShiftState [19:53:40]wFMCommunicate request_size=4 [19:53:40]MH_SAM_APDU [19:53:40]CAPDU: 80 13 01 00 [19:53:40]Write to MH i2c: E2 08 00 05 06 80 13 01 00 00 00 00 00 88 [19:53:40]Write i2c OK [19:53:40]MH_I2C_Read... [19:53:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:53:40]Read from MH i2c: E2 [19:53:40]MH_I2C_Read... [19:53:40]Read from MH i2c: E2 0E 00 [19:53:40]MH_I2C_Read... [19:53:40]Read from MH i2c: E2 0E 00 05 06 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 B0 [19:53:40]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [19:53:40]wFMCommunicate OK [19:53:40]SAM_PROTO_GetShiftState done [19:53:40]FM_GetShiftState done [19:53:40]opened in 1722127230 [19:53:40]opened+sec_in_day 1722213630 [19:53:40]quantity*price = 9000 [19:53:40]sum+1 = 9001 [19:53:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 90.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 58 28.07.2024 19:53 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27080 ФПД: 14263501199698 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T195342&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27080&fm=14263501199698&tin=02508201610067®Number=0000000000092663&sum=9000 0 [19:53:41]StoreToDocumentArchive [19:53:41]shift 433 fd 27080 [19:53:41]save to /storage/0433/doc_00027080 [19:53:41]save last doc name /storage/0433/doc_00027080 to /storage/kkm_last_doc_name [19:53:41]save OK [19:53:41]Clear old archive folders... [19:53:41]ProcessDocumentItem done err = 0, tmpTLVsize=295 [19:53:41]tlvbuf is 0017D320 [19:53:41]SAM_PROTO_ClearQueue [19:53:41]wFMCommunicate request_size=4 [19:53:41]MH_SAM_APDU [19:53:41]CAPDU: 80 09 00 00 [19:53:41]Write to MH i2c: E2 08 00 12 06 80 09 00 00 00 00 00 00 8A [19:53:41]Write i2c OK [19:53:41]MH_I2C_Read... [19:53:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:53:41]Read from MH i2c: E2 [19:53:41]MH_I2C_Read... [19:53:41]Read from MH i2c: E2 03 00 [19:53:41]MH_I2C_Read... [19:53:41]Read from MH i2c: E2 03 00 12 06 00 90 00 8C [19:53:41]RAPDU: 90 00 [19:53:41]wFMCommunicate OK [19:53:41]SAM_PROTO_ClearQueue done [19:53:41]KKMCreateOFDPacket [19:53:41]OFDProtocolAddRootSTLVToBuf [19:53:41]FM_MakeSignedData [19:53:41]FM_MakeSignedData [19:53:41]SAM_PROTO_SignData [19:53:41]wFMCommunicate request_size=4 [19:53:41]MH_SAM_APDU [19:53:41]CAPDU: 80 0D 01 02 [19:53:41]Write to MH i2c: E2 08 00 13 06 80 0D 01 02 00 00 00 00 92 [19:53:41]Write i2c OK [19:53:41]MH_I2C_Read... [19:53:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:53:41]Read from MH i2c: E2 [19:53:41]MH_I2C_Read... [19:53:41]Read from MH i2c: E2 03 00 [19:53:41]MH_I2C_Read... [19:53:41]Read from MH i2c: E2 03 00 13 06 00 90 00 8D [19:53:41]RAPDU: 90 00 [19:53:41]wFMCommunicate OK [19:53:41]wFMCommunicate request_size=255 [19:53:41]MH_SAM_APDU [19:53:41]CAPDU: 80 0D 02 02 FA 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 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 3A 00 00 00 F4 03 04 00 C6 A1 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 [19:53:41]Write to MH i2c: E2 02 01 14 06 80 0D 02 02 FA 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 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 3A 00 00 00 F4 03 04 00 C6 A1 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 00 00 2B [19:53:41]Write i2c OK [19:53:41]MH_I2C_Read... [19:53:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:53:41]Read from MH i2c: E2 [19:53:41]MH_I2C_Read... [19:53:41]Read from MH i2c: E2 03 00 [19:53:41]MH_I2C_Read... [19:53:41]Read from MH i2c: E2 03 00 14 06 00 90 00 8E [19:53:41]RAPDU: 90 00 [19:53:41]wFMCommunicate OK [19:53:41]wFMCommunicate request_size=54 [19:53:41]MH_SAM_APDU [19:53:41]CAPDU: 80 0D 02 02 31 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C8 69 00 00 35 04 06 00 0C F8 FA EC 19 52 [19:53:41]Write to MH i2c: E2 39 00 15 06 80 0D 02 02 31 00 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C8 69 00 00 35 04 06 00 0C F8 FA EC 19 52 00 00 49 [19:53:41]Write i2c OK [19:53:41]MH_I2C_Read... [19:53:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:53:41]Read from MH i2c: E2 [19:53:41]MH_I2C_Read... [19:53:41]Read from MH i2c: E2 03 00 [19:53:41]MH_I2C_Read... [19:53:41]Read from MH i2c: E2 03 00 15 06 00 90 00 8F [19:53:41]RAPDU: 90 00 [19:53:41]wFMCommunicate OK [19:53:41]wFMCommunicate request_size=4 [19:53:41]MH_SAM_APDU [19:53:41]CAPDU: 80 0D 03 02 [19:53:41]Write to MH i2c: E2 08 00 16 06 80 0D 03 02 00 00 00 00 97 [19:53:41]Write i2c OK [19:53:41]MH_I2C_Read... [19:53:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:53:41]Read from MH i2c: E2 [19:53:41]MH_I2C_Read... [19:53:41]Read from MH i2c: E2 0B 00 [19:53:41]MH_I2C_Read... [19:53:41]Read from MH i2c: E2 0B 00 16 06 00 57 08 87 7F F1 0A 74 16 90 00 82 [19:53:41]RAPDU: 57 08 87 7F F1 0A 74 16 90 00 [19:53:41]wFMCommunicate OK [19:53:41]SAM_PROTO_SignData done [19:53:41]FM_MakeSignedData done [19:53:41]CreateOFDProtocolMessage [19:53:41]wFMCommunicate request_size=4 [19:53:41]MH_SAM_APDU [19:53:41]CAPDU: 80 11 00 00 [19:53:41]Write to MH i2c: E2 08 00 17 06 80 11 00 00 00 00 00 00 97 [19:53:41]Write i2c OK [19:53:41]MH_I2C_Read... [19:53:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:53:41]Read from MH i2c: E2 [19:53:41]MH_I2C_Read... [19:53:41]Read from MH i2c: E2 17 00 [19:53:41]MH_I2C_Read... [19:53:41]Read from MH i2c: E2 17 00 17 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 F0 [19:53:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [19:53:41]wFMCommunicate OK [19:53:41]CreateOFDProtocolMessage done [19:53:41]OFDSenderStorePacket 27080 [19:53:41]StoreOFDPacket docnum=27080 [19:53:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 3B 01 00 00 54 4E 33 01 0D 25 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 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 3A 00 00 00 F4 03 04 00 C6 A1 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C8 69 00 00 35 04 06 00 0C F8 FA EC 19 52 57 08 87 7F F1 0A 74 16 [19:53:41]CheckFolder [19:53:41]dirname=/storage/ofd_packets [19:53:41]CheckFolder done [19:53:41]ProducePacketName [19:53:41]name=ofd_packets/00027080 [19:53:41]NVStorageSaveData ofd_packets/00027080 [19:53:41]File name is /storage/ofd_packets/00027080 [19:53:41]Write 345 bytes [19:53:41]NVStorageSaveData done [19:53:41]OFDSenderStorePacket done [19:53:41]KKMCreateOFDPacket done [19:53:41]NVStorageSaveData kkm_last_timestamp [19:53:41]File name is /storage/kkm_last_timestamp [19:53:41]Write 4 bytes [19:53:41]NVStorageSaveData done [19:53:41]ExternCall_PrintAddStr [19:53:41]wPrintStart [19:53:41]Write to MH i2c: 01 00 00 18 06 1E [19:53:41]Write i2c OK [19:53:41]MH_I2C_Read... [19:53:41]Read from MH i2c: 01 [19:53:41]MH_I2C_Read... [19:53:41]Read from MH i2c: 01 07 00 [19:53:41]MH_I2C_Read... [19:53:41]Read from MH i2c: 01 07 00 18 06 00 00 00 00 00 FF 0F 33 [19:53:41]RasterBufferAndPrint [19:53:41]line Счет N : (3)150478 [19:53:41]line ИНН: 02508201610067 [19:53:41]line Контрольно-Кассовый Чек [19:53:41]line ПРОДАЖА [19:53:41]line Товар: 4607010740757 [19:53:41]line Чипсы Чипсоны сметана, лук 40г [19:53:41]line 2.000 * 45.00 [19:53:41]line = 90.00 [19:53:41]line НДС 12% НСП 1% [19:53:41]line > о реализуемом товаре [19:53:41]line ИТОГО: 90.00 [19:53:41]line НСП 1% : 0.80 [19:53:41]line НДС 12% : 9.56 [19:53:41]line Наличными: 90.00 [19:53:41]line Безнал.: 0.00 [19:53:41]line Место: АЗС № 134 "Партнер Нефть" [19:53:41]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [19:53:41]line СНО: Общий режим [19:53:41]line Чек 58 28.07.2024 19:53 [19:53:41]line Смена: 433 ФФД: 1.0 [19:53:41]line ЗНМ: 0300000043 [19:53:41]line РНМ: 0000000000092663 [19:53:41]line Версия ККМ: 001 [19:53:41]line ФМ: 0000000000874937 [19:53:41]line ФД: 27080 [19:53:41]line ФПД: 14263501199698 [19:53:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T195342&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27080&fm=14263501199698&tin=02508201610067®Number=0000000000092663&sum=9000 [19:53:42]line 0 [19:53:42]OFD Sender: Processing packet 27080 [packets to send 9, broken 8] [19:53:42]ProducePacketName [19:53:42]name=ofd_packets/00027080 [19:53:42]OFD Sender: To server: pG, [19:53:42]CommunicateWithHost lk.salyk.kg:30040 [19:53:42]ConnectInit lk.salyk.kg [19:53:42]written 0, free lines is 4095 [19:53:42]Connected sock=10 [19:53:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 3B 01 00 00 54 4E 33 01 0D 25 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 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 3A 00 00 00 F4 03 04 00 C6 A1 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C8 69 00 00 35 04 06 00 0C F8 FA EC 19 52 57 08 87 7F F1 0A 74 16 [19:53:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 92 10 47 00 77 6F 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 38 37 34 39 33 37 10 04 04 00 C8 69 00 00 F4 03 04 00 18 48 A6 66 B6 04 01 00 00 19 C5 40 B6 E4 7A F8 48 [19:53:42]CommunicateWithHost err = 0 [19:53:42]CheckOFDResponse [19:53:42]1017 (14) - 77093643461234 [19:53:42]1041 (16) - 0000000000874937 [19:53:42]1040 (4) - 27080 [19:53:42]1012 (4) - 28.07.2024 13:31 [19:53:42]1206 (1) - 0 [19:53:42]OFD Sender: Remove packet 27080 [19:53:42]ProducePacketName [19:53:42]name=ofd_packets/00027080 [19:53:42]NVStorageDeleteData [19:53:42]Write to MH i2c: 01 00 00 40 06 46 [19:53:42]Write i2c OK [19:53:42]MH_I2C_Read... [19:53:42]Read from MH i2c: 01 [19:53:42]MH_I2C_Read... [19:53:42]Read from MH i2c: 01 07 00 [19:53:42]MH_I2C_Read... [19:53:42]Read from MH i2c: 01 07 00 40 06 00 00 00 00 00 DE 0C 37 [19:53:42]RasterBufferAndPrint [19:53:42]line [19:53:42]line [19:53:42]line [19:53:42]line [19:53:42]line [19:53:42]written 0, free lines is 3300 [19:53:42]MH_Cut [19:53:42]Write to MH i2c: D1 01 00 47 06 01 1F [19:53:42]Write i2c OK [19:53:42]MH_I2C_Read... [19:53:42]Read from MH i2c: D1 [19:53:42]MH_I2C_Read... [19:53:42]Read from MH i2c: D1 01 00 [19:53:42]MH_I2C_Read... [19:53:42]Read from MH i2c: D1 01 00 47 06 00 1E [19:53:42]Write to MH i2c: 01 00 00 48 06 4E [19:53:42]Write i2c OK [19:53:42]MH_I2C_Read... [19:53:43]OFD Sender: No OFD packet to send [19:53:43]*** Cut start [19:53:43]*** Partial cut [19:53:43]*** CUTSNS_PIN = 1 [19:53:43]*** CUTSNS_PIN = 0 [19:53:43]*** Brake cut motor [19:53:44]Read from MH i2c: 01 [19:53:44]MH_I2C_Read... [19:53:44]*** Stop cut motor [19:53:44]*** Cut end [19:53:44]Read from MH i2c: 01 07 00 [19:53:44]MH_I2C_Read... [19:53:44]Read from MH i2c: 01 07 00 48 06 00 00 00 00 00 FF 0F 63 [19:53:44]process_action close_receipt done [19:53:44]requested_data is exist [19:53:44]produce_requested_data [19:53:44]requested_item fm.sn is exist - process it [19:53:44]wFMCommunicate request_size=4 [19:53:44]MH_SAM_APDU [19:53:44]CAPDU: 80 11 00 00 [19:53:44]Write to MH i2c: E2 08 00 49 06 80 11 00 00 00 00 00 00 C9 [19:53:44]Write i2c OK [19:53:44]MH_I2C_Read... [19:53:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:53:44]Read from MH i2c: E2 [19:53:44]MH_I2C_Read... [19:53:44]Read from MH i2c: E2 17 00 [19:53:44]MH_I2C_Read... [19:53:44]Read from MH i2c: E2 17 00 49 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 22 [19:53:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [19:53:44]wFMCommunicate OK [19:53:44]requested_item fd.num is exist - process it [19:53:44]SAM_PROTO_GetFieldsCounters [19:53:44]wFMCommunicate request_size=4 [19:53:44]MH_SAM_APDU [19:53:44]CAPDU: 80 13 00 00 [19:53:44]Write to MH i2c: E2 08 00 4A 06 80 13 00 00 00 00 00 00 CC [19:53:44]Write i2c OK [19:53:44]MH_I2C_Read... [19:53:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:53:44]Read from MH i2c: E2 [19:53:44]MH_I2C_Read... [19:53:44]Read from MH i2c: E2 62 00 [19:53:44]MH_I2C_Read... [19:53:44]Read from MH i2c: E2 62 00 4A 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 C8 69 00 00 0E 04 04 00 B1 01 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 85 [19:53:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 C8 69 00 00 0E 04 04 00 B1 01 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 [19:53:44]wFMCommunicate OK [19:53:44]SAM_PROTO_GetFieldsCounters done [19:53:44]requested_item shift.num is exist - process it [19:53:44]requested_item shift.opened is exist - process it [19:53:44]req_shift_opened [19:53:44]FM_GetShiftState [19:53:44]SAM_PROTO_GetShiftState [19:53:44]wFMCommunicate request_size=4 [19:53:44]MH_SAM_APDU [19:53:44]CAPDU: 80 13 01 00 [19:53:44]Write to MH i2c: E2 08 00 4B 06 80 13 01 00 00 00 00 00 CE [19:53:44]Write i2c OK [19:53:44]MH_I2C_Read... [19:53:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:53:44]Read from MH i2c: E2 [19:53:44]MH_I2C_Read... [19:53:44]Read from MH i2c: E2 0E 00 [19:53:44]MH_I2C_Read... [19:53:44]Read from MH i2c: E2 0E 00 4B 06 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 F6 [19:53:44]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [19:53:44]wFMCommunicate OK [19:53:44]SAM_PROTO_GetShiftState done [19:53:44]FM_GetShiftState done [19:53:44]req_shift_opened done [19:53:44]requested_item shift.open_date is exist - process it [19:53:44]req_shift_open_date [19:53:44]req_shift_open_date done [19:53:44]produce_requested_data done [19:53:44]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27080,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [19:53:44]process_action_free close_receipt [19:53:44]json_value_free [19:53:44]json_value_free done [19:53:44]process_json_proto returns [19:53:44]Send response to host [19:53:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27080,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [19:53:44]free response buf [19:53:44]execute_script done [19:53:44]execute_script returns [19:53:44]free content buf [19:53:44]Sock 8.Close socket [19:53:44]Sock 8.Thread stoped [19:53:48]OFD Sender: No OFD packet to send [19:53:53]OFD Sender: No OFD packet to send [19:53:58]OFD Sender: No OFD packet to send [19:54:03]OFD Sender: No OFD packet to send [19:54:08]OFD Sender: No OFD packet to send [19:54:13]OFD Sender: No OFD packet to send [19:54:18]OFD Sender: No OFD packet to send [19:54:23]OFD Sender: No OFD packet to send [19:54:28]OFD Sender: No OFD packet to send [19:54:33]OFD Sender: No OFD packet to send [19:54:38]OFD Sender: No OFD packet to send [19:54:43]OFD Sender: No OFD packet to send [19:54:48]OFD Sender: No OFD packet to send [19:54:53]OFD Sender: No OFD packet to send [19:54:58]OFD Sender: No OFD packet to send [19:55:03]OFD Sender: No OFD packet to send [19:55:08]OFD Sender: No OFD packet to send [19:55:13]OFD Sender: No OFD packet to send [19:55:18]OFD Sender: No OFD packet to send [19:55:23]OFD Sender: No OFD packet to send [19:55:28]OFD Sender: No OFD packet to send [19:55:33]OFD Sender: No OFD packet to send [19:55:38]OFD Sender: No OFD packet to send [19:55:43]OFD Sender: No OFD packet to send [19:55:48]OFD Sender: No OFD packet to send [19:55:53]OFD Sender: No OFD packet to send [19:55:58]OFD Sender: No OFD packet to send [19:56:03]OFD Sender: No OFD packet to send [19:56:08]OFD Sender: No OFD packet to send [19:56:13]OFD Sender: No OFD packet to send [19:56:18]OFD Sender: No OFD packet to send [19:56:23]OFD Sender: No OFD packet to send [19:56:28]OFD Sender: No OFD packet to send [19:56:33]OFD Sender: No OFD packet to send [19:56:38]OFD Sender: No OFD packet to send [19:56:43]OFD Sender: No OFD packet to send [19:56:48]OFD Sender: No OFD packet to send [19:56:53]OFD Sender: No OFD packet to send [19:56:58]OFD Sender: No OFD packet to send [19:57:03]OFD Sender: No OFD packet to send [19:57:08]OFD Sender: No OFD packet to send [19:57:13]OFD Sender: No OFD packet to send [19:57:18]OFD Sender: No OFD packet to send [19:57:23]OFD Sender: No OFD packet to send [19:57:28]OFD Sender: No OFD packet to send [19:57:33]OFD Sender: No OFD packet to send [19:57:38]OFD Sender: No OFD packet to send [19:57:43]OFD Sender: No OFD packet to send [19:57:48]OFD Sender: No OFD packet to send [19:57:53]OFD Sender: No OFD packet to send [19:57:58]OFD Sender: No OFD packet to send [19:58:03]OFD Sender: No OFD packet to send [19:58:08]OFD Sender: No OFD packet to send [19:58:13]OFD Sender: No OFD packet to send [19:58:18]OFD Sender: No OFD packet to send [19:58:23]OFD Sender: No OFD packet to send [19:58:28]OFD Sender: No OFD packet to send [19:58:33]OFD Sender: No OFD packet to send [19:58:38]OFD Sender: No OFD packet to send [19:58:43]OFD Sender: No OFD packet to send [19:58:48]OFD Sender: No OFD packet to send [19:58:53]OFD Sender: No OFD packet to send [19:58:58]OFD Sender: No OFD packet to send [19:59:03]OFD Sender: No OFD packet to send [19:59:08]OFD Sender: No OFD packet to send [19:59:13]OFD Sender: No OFD packet to send [19:59:18]OFD Sender: No OFD packet to send [19:59:23]OFD Sender: No OFD packet to send [19:59:28]OFD Sender: No OFD packet to send [19:59:33]OFD Sender: No OFD packet to send [19:59:38]OFD Sender: No OFD packet to send [19:59:43]OFD Sender: No OFD packet to send [19:59:48]OFD Sender: No OFD packet to send [19:59:53]OFD Sender: No OFD packet to send [19:59:58]OFD Sender: No OFD packet to send [20:00:03]OFD Sender: No OFD packet to send [20:00:08]OFD Sender: No OFD packet to send [20:00:13]OFD Sender: No OFD packet to send [20:00:18]OFD Sender: No OFD packet to send [20:00:23]OFD Sender: No OFD packet to send [20:00:28]OFD Sender: No OFD packet to send [20:00:33]OFD Sender: No OFD packet to send [20:00:38]OFD Sender: No OFD packet to send [20:00:43]OFD Sender: No OFD packet to send [20:00:48]OFD Sender: No OFD packet to send [20:00:53]OFD Sender: No OFD packet to send [20:00:58]OFD Sender: No OFD packet to send [20:01:03]OFD Sender: No OFD packet to send [20:01:08]OFD Sender: No OFD packet to send [20:01:13]OFD Sender: No OFD packet to send [20:01:18]OFD Sender: No OFD packet to send [20:01:23]OFD Sender: No OFD packet to send [20:01:28]OFD Sender: No OFD packet to send [20:01:33]OFD Sender: No OFD packet to send [20:01:38]OFD Sender: No OFD packet to send [20:01:43]OFD Sender: No OFD packet to send [20:01:48]OFD Sender: No OFD packet to send [20:01:53]OFD Sender: No OFD packet to send [20:01:58]OFD Sender: No OFD packet to send [20:02:03]OFD Sender: No OFD packet to send [20:02:08]OFD Sender: No OFD packet to send [20:02:13]OFD Sender: No OFD packet to send [20:02:18]OFD Sender: No OFD packet to send [20:02:23]OFD Sender: No OFD packet to send [20:02:28]OFD Sender: No OFD packet to send [20:02:33]OFD Sender: No OFD packet to send [20:02:38]OFD Sender: No OFD packet to send [20:02:43]OFD Sender: No OFD packet to send [20:02:48]OFD Sender: No OFD packet to send [20:02:53]OFD Sender: No OFD packet to send [20:02:58]OFD Sender: No OFD packet to send [20:03:03]OFD Sender: No OFD packet to send [20:03:08]OFD Sender: No OFD packet to send [20:03:13]OFD Sender: No OFD packet to send [20:03:18]OFD Sender: No OFD packet to send [20:03:23]OFD Sender: No OFD packet to send [20:03:28]OFD Sender: No OFD packet to send [20:03:33]OFD Sender: No OFD packet to send [20:03:38]OFD Sender: No OFD packet to send [20:03:43]OFD Sender: No OFD packet to send [20:03:48]OFD Sender: No OFD packet to send [20:03:53]OFD Sender: No OFD packet to send [20:03:58]OFD Sender: No OFD packet to send [20:04:03]OFD Sender: No OFD packet to send [20:04:08]OFD Sender: No OFD packet to send [20:04:13]OFD Sender: No OFD packet to send [20:04:18]OFD Sender: No OFD packet to send [20:04:23]OFD Sender: No OFD packet to send [20:04:28]OFD Sender: No OFD packet to send [20:04:33]OFD Sender: No OFD packet to send [20:04:38]OFD Sender: No OFD packet to send [20:04:43]OFD Sender: No OFD packet to send [20:04:48]OFD Sender: No OFD packet to send [20:04:53]OFD Sender: No OFD packet to send [20:04:58]OFD Sender: No OFD packet to send [20:05:03]OFD Sender: No OFD packet to send [20:05:08]OFD Sender: No OFD packet to send [20:05:13]OFD Sender: No OFD packet to send [20:05:18]OFD Sender: No OFD packet to send [20:05:23]OFD Sender: No OFD packet to send [20:05:28]OFD Sender: No OFD packet to send [20:05:33]OFD Sender: No OFD packet to send [20:05:38]OFD Sender: No OFD packet to send [20:05:43]OFD Sender: No OFD packet to send [20:05:48]OFD Sender: No OFD packet to send [20:05:53]OFD Sender: No OFD packet to send [20:05:58]OFD Sender: No OFD packet to send [20:06:03]OFD Sender: No OFD packet to send [20:06:08]OFD Sender: No OFD packet to send [20:06:13]OFD Sender: No OFD packet to send [20:06:18]OFD Sender: No OFD packet to send [20:06:23]OFD Sender: No OFD packet to send [20:06:28]OFD Sender: No OFD packet to send [20:06:33]OFD Sender: No OFD packet to send [20:06:38]OFD Sender: No OFD packet to send [20:06:43]OFD Sender: No OFD packet to send [20:06:48]OFD Sender: No OFD packet to send [20:06:53]OFD Sender: No OFD packet to send [20:06:58]OFD Sender: No OFD packet to send [20:07:03]OFD Sender: No OFD packet to send [20:07:08]OFD Sender: No OFD packet to send [20:07:13]OFD Sender: No OFD packet to send [20:07:18]OFD Sender: No OFD packet to send [20:07:23]OFD Sender: No OFD packet to send [20:07:28]OFD Sender: No OFD packet to send [20:07:33]OFD Sender: No OFD packet to send [20:07:38]OFD Sender: No OFD packet to send [20:07:43]OFD Sender: No OFD packet to send [20:07:48]OFD Sender: No OFD packet to send [20:07:53]OFD Sender: No OFD packet to send [20:07:58]OFD Sender: No OFD packet to send [20:08:03]OFD Sender: No OFD packet to send [20:08:08]OFD Sender: No OFD packet to send [20:08:13]OFD Sender: No OFD packet to send [20:08:18]OFD Sender: No OFD packet to send [20:08:23]OFD Sender: No OFD packet to send [20:08:28]OFD Sender: No OFD packet to send [20:08:33]OFD Sender: No OFD packet to send [20:08:38]OFD Sender: No OFD packet to send [20:08:43]OFD Sender: No OFD packet to send [20:08:48]OFD Sender: No OFD packet to send [20:08:53]OFD Sender: No OFD packet to send [20:08:58]OFD Sender: No OFD packet to send [20:09:03]OFD Sender: No OFD packet to send [20:09:08]OFD Sender: No OFD packet to send [20:09:13]OFD Sender: No OFD packet to send [20:09:18]OFD Sender: No OFD packet to send [20:09:23]OFD Sender: No OFD packet to send [20:09:28]OFD Sender: No OFD packet to send [20:09:33]OFD Sender: No OFD packet to send [20:09:38]OFD Sender: No OFD packet to send [20:09:43]OFD Sender: No OFD packet to send [20:09:48]OFD Sender: No OFD packet to send [20:09:53]OFD Sender: No OFD packet to send [20:09:58]OFD Sender: No OFD packet to send [20:10:03]OFD Sender: No OFD packet to send [20:10:08]OFD Sender: No OFD packet to send [20:10:13]OFD Sender: No OFD packet to send [20:10:18]OFD Sender: No OFD packet to send [20:10:23]OFD Sender: No OFD packet to send [20:10:28]OFD Sender: No OFD packet to send [20:10:33]OFD Sender: No OFD packet to send [20:10:38]OFD Sender: No OFD packet to send [20:10:43]OFD Sender: No OFD packet to send [20:10:48]OFD Sender: No OFD packet to send [20:10:53]OFD Sender: No OFD packet to send [20:10:58]OFD Sender: No OFD packet to send [20:11:03]OFD Sender: No OFD packet to send [20:11:08]OFD Sender: No OFD packet to send [20:11:13]OFD Sender: No OFD packet to send [20:11:18]OFD Sender: No OFD packet to send [20:11:23]OFD Sender: No OFD packet to send [20:11:28]OFD Sender: No OFD packet to send [20:11:33]OFD Sender: No OFD packet to send [20:11:38]OFD Sender: No OFD packet to send [20:11:43]OFD Sender: No OFD packet to send [20:11:48]OFD Sender: No OFD packet to send [20:11:53]OFD Sender: No OFD packet to send [20:11:58]OFD Sender: No OFD packet to send [20:12:03]OFD Sender: No OFD packet to send [20:12:08]OFD Sender: No OFD packet to send [20:12:13]OFD Sender: No OFD packet to send [20:12:18]OFD Sender: No OFD packet to send [20:12:23]OFD Sender: No OFD packet to send [20:12:28]OFD Sender: No OFD packet to send [20:12:33]OFD Sender: No OFD packet to send [20:12:38]OFD Sender: No OFD packet to send [20:12:43]OFD Sender: No OFD packet to send [20:12:48]OFD Sender: No OFD packet to send [20:12:53]OFD Sender: No OFD packet to send [20:12:59]OFD Sender: No OFD packet to send [20:13:04]OFD Sender: No OFD packet to send [20:13:09]OFD Sender: No OFD packet to send [20:13:14]OFD Sender: No OFD packet to send [20:13:19]OFD Sender: No OFD packet to send [20:13:24]OFD Sender: No OFD packet to send [20:13:29]OFD Sender: No OFD packet to send [20:13:34]OFD Sender: No OFD packet to send [20:13:39]OFD Sender: No OFD packet to send [20:13:44]OFD Sender: No OFD packet to send [20:13:49]OFD Sender: No OFD packet to send [20:13:54]OFD Sender: No OFD packet to send [20:13:59]OFD Sender: No OFD packet to send [20:14:04]OFD Sender: No OFD packet to send [20:14:09]OFD Sender: No OFD packet to send [20:14:14]OFD Sender: No OFD packet to send [20:14:19]OFD Sender: No OFD packet to send [20:14:24]OFD Sender: No OFD packet to send [20:14:29]OFD Sender: No OFD packet to send [20:14:34]OFD Sender: No OFD packet to send [20:14:39]OFD Sender: No OFD packet to send [20:14:44]OFD Sender: No OFD packet to send [20:14:49]OFD Sender: No OFD packet to send [20:14:54]OFD Sender: No OFD packet to send [20:14:59]OFD Sender: No OFD packet to send [20:15:04]OFD Sender: No OFD packet to send [20:15:09]OFD Sender: No OFD packet to send [20:15:14]OFD Sender: No OFD packet to send [20:15:19]OFD Sender: No OFD packet to send [20:15:24]OFD Sender: No OFD packet to send [20:15:29]OFD Sender: No OFD packet to send [20:15:34]OFD Sender: No OFD packet to send [20:15:39]OFD Sender: No OFD packet to send [20:15:44]OFD Sender: No OFD packet to send [20:15:49]OFD Sender: No OFD packet to send [20:15:54]OFD Sender: No OFD packet to send [20:15:59]OFD Sender: No OFD packet to send [20:16:04]OFD Sender: No OFD packet to send [20:16:09]OFD Sender: No OFD packet to send [20:16:14]OFD Sender: No OFD packet to send [20:16:19]OFD Sender: No OFD packet to send [20:16:24]OFD Sender: No OFD packet to send [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:14]OFD Sender: No OFD packet to send [20:19:19]OFD Sender: No OFD packet to send [20:19:24]OFD Sender: No OFD packet to send [20:19:29]OFD Sender: No OFD packet to send [20:19:34]OFD Sender: No OFD packet to send [20:19:39]OFD Sender: No OFD packet to send [20:19:44]OFD Sender: No OFD packet to send [20:19:49]OFD Sender: No OFD packet to send [20:19:54]OFD Sender: No OFD packet to send [20:19:59]OFD Sender: No OFD packet to send [20:20:04]OFD Sender: No OFD packet to send [20:20:09]OFD Sender: No OFD packet to send [20:20:14]OFD Sender: No OFD packet to send [20:20:19]OFD Sender: No OFD packet to send [20:20:24]OFD Sender: No OFD packet to send [20:20:29]OFD Sender: No OFD packet to send [20:20:34]OFD Sender: No OFD packet to send [20:20:39]OFD Sender: No OFD packet to send [20:20:44]OFD Sender: No OFD packet to send [20:20:49]OFD Sender: No OFD packet to send [20:20:54]OFD Sender: No OFD packet to send [20:20:59]OFD Sender: No OFD packet to send [20:21:04]OFD Sender: No OFD packet to send [20:21:09]OFD Sender: No OFD packet to send [20:21:14]OFD Sender: No OFD packet to send [20:21:19]OFD Sender: No OFD packet to send [20:21:24]OFD Sender: No OFD packet to send [20:21:29]OFD Sender: No OFD packet to send [20:21:34]OFD Sender: No OFD packet to send [20:21:39]OFD Sender: No OFD packet to send [20:21:44]OFD Sender: No OFD packet to send [20:21:49]OFD Sender: No OFD packet to send [20:21:54]OFD Sender: No OFD packet to send [20:21:59]OFD Sender: No OFD packet to send [20:22:04]OFD Sender: No OFD packet to send [20:22:09]OFD Sender: No OFD packet to send [20:22:14]OFD Sender: No OFD packet to send [20:22:19]OFD Sender: No OFD packet to send [20:22:24]OFD Sender: No OFD packet to send [20:22:29]OFD Sender: No OFD packet to send [20:22:34]OFD Sender: No OFD packet to send [20:22:39]OFD Sender: No OFD packet to send [20:22:44]OFD Sender: No OFD packet to send [20:22:49]OFD Sender: No OFD packet to send [20:22:54]OFD Sender: No OFD packet to send [20:22:59]OFD Sender: No OFD packet to send [20:23:04]OFD Sender: No OFD packet to send [20:23:09]OFD Sender: No OFD packet to send [20:23:14]OFD Sender: No OFD packet to send [20:23:19]OFD Sender: No OFD packet to send [20:23:24]OFD Sender: No OFD packet to send [20:23:29]OFD Sender: No OFD packet to send [20:23:34]OFD Sender: No OFD packet to send [20:23:39]OFD Sender: No OFD packet to send [20:23:44]OFD Sender: No OFD packet to send [20:23:49]OFD Sender: No OFD packet to send [20:23:54]OFD Sender: No OFD packet to send [20:23:59]OFD Sender: No OFD packet to send [20:24:04]OFD Sender: No OFD packet to send [20:24:09]OFD Sender: No OFD packet to send [20:24:14]OFD Sender: No OFD packet to send [20:24:19]OFD Sender: No OFD packet to send [20:24:24]OFD Sender: No OFD packet to send [20:24:29]OFD Sender: No OFD packet to send [20:24:34]OFD Sender: No OFD packet to send [20:24:39]OFD Sender: No OFD packet to send [20:24:44]OFD Sender: No OFD packet to send [20:24:49]OFD Sender: No OFD packet to send [20:24:54]OFD Sender: No OFD packet to send [20:24:59]OFD Sender: No OFD packet to send [20:25:04]OFD Sender: No OFD packet to send [20:25:09]OFD Sender: No OFD packet to send [20:25:14]OFD Sender: No OFD packet to send [20:25:19]OFD Sender: No OFD packet to send [20:25:24]OFD Sender: No OFD packet to send [20:25:29]OFD Sender: No OFD packet to send [20:25:34]OFD Sender: No OFD packet to send [20:25:39]OFD Sender: No OFD packet to send [20:25:44]OFD Sender: No OFD packet to send [20:25:49]OFD Sender: No OFD packet to send [20:25:54]OFD Sender: No OFD packet to send [20:25:59]OFD Sender: No OFD packet to send [20:26:04]OFD Sender: No OFD packet to send [20:26:09]OFD Sender: No OFD packet to send [20:26:14]OFD Sender: No OFD packet to send [20:26:19]OFD Sender: No OFD packet to send [20:26:24]OFD Sender: No OFD packet to send [20:26:29]OFD Sender: No OFD packet to send [20:26:34]OFD Sender: No OFD packet to send [20:26:39]OFD Sender: No OFD packet to send [20:26:44]OFD Sender: No OFD packet to send [20:26:49]OFD Sender: No OFD packet to send [20:26:54]OFD Sender: No OFD packet to send [20:26:59]OFD Sender: No OFD packet to send [20:27:04]OFD Sender: No OFD packet to send [20:27:09]OFD Sender: No OFD packet to send [20:27:14]OFD Sender: No OFD packet to send [20:27:19]OFD Sender: No OFD packet to send [20:27:24]OFD Sender: No OFD packet to send [20:27:29]OFD Sender: No OFD packet to send [20:27:34]OFD Sender: No OFD packet to send [20:27:39]OFD Sender: No OFD packet to send [20:27:44]OFD Sender: No OFD packet to send [20:27:49]OFD Sender: No OFD packet to send [20:27:54]OFD Sender: No OFD packet to send [20:27:59]OFD Sender: No OFD packet to send [20:28:04]OFD Sender: No OFD packet to send [20:28:09]OFD Sender: No OFD packet to send [20:28:14]OFD Sender: No OFD packet to send [20:28:19]OFD Sender: No OFD packet to send [20:28:24]OFD Sender: No OFD packet to send [20:28:29]OFD Sender: No OFD packet to send [20:28:34]OFD Sender: No OFD packet to send [20:28:39]OFD Sender: No OFD packet to send [20:28:44]OFD Sender: No OFD packet to send [20:28:49]OFD Sender: No OFD packet to send [20:28:54]OFD Sender: No OFD packet to send [20:28:59]OFD Sender: No OFD packet to send [20:29:04]OFD Sender: No OFD packet to send [20:29:09]OFD Sender: No OFD packet to send [20:29:14]OFD Sender: No OFD packet to send [20:29:19]OFD Sender: No OFD packet to send [20:29:24]OFD Sender: No OFD packet to send [20:29:29]OFD Sender: No OFD packet to send [20:29:34]OFD Sender: No OFD packet to send [20:29:39]OFD Sender: No OFD packet to send [20:29:44]OFD Sender: No OFD packet to send [20:29:49]OFD Sender: No OFD packet to send [20:29:54]OFD Sender: No OFD packet to send [20:29:59]OFD Sender: No OFD packet to send [20:30:04]OFD Sender: No OFD packet to send [20:30:09]OFD Sender: No OFD packet to send [20:30:14]OFD Sender: No OFD packet to send [20:30:19]OFD Sender: No OFD packet to send [20:30:24]OFD Sender: No OFD packet to send [20:30:29]OFD Sender: No OFD packet to send [20:30:34]OFD Sender: No OFD packet to send [20:30:39]OFD Sender: No OFD packet to send [20:30:44]OFD Sender: No OFD packet to send [20:30:49]OFD Sender: No OFD packet to send [20:30:54]OFD Sender: No OFD packet to send [20:30:59]OFD Sender: No OFD packet to send [20:31:04]OFD Sender: No OFD packet to send [20:31:09]OFD Sender: No OFD packet to send [20:31:14]OFD Sender: No OFD packet to send [20:31:19]OFD Sender: No OFD packet to send [20:31:24]OFD Sender: No OFD packet to send [20:31:29]OFD Sender: No OFD packet to send [20:31:34]OFD Sender: No OFD packet to send [20:31:39]OFD Sender: No OFD packet to send [20:31:44]OFD Sender: No OFD packet to send [20:31:49]OFD Sender: No OFD packet to send [20:31:54]OFD Sender: No OFD packet to send [20:31:59]OFD Sender: No OFD packet to send [20:32:04]OFD Sender: No OFD packet to send [20:32:09]OFD Sender: No OFD packet to send [20:32:14]OFD Sender: No OFD packet to send [20:32:19]OFD Sender: No OFD packet to send [20:32:24]OFD Sender: No OFD packet to send [20:32:29]OFD Sender: No OFD packet to send [20:32:34]OFD Sender: No OFD packet to send [20:32:39]OFD Sender: No OFD packet to send [20:32:44]OFD Sender: No OFD packet to send [20:32:49]OFD Sender: No OFD packet to send [20:32:54]OFD Sender: No OFD packet to send [20:32:59]OFD Sender: No OFD packet to send [20:33:04]OFD Sender: No OFD packet to send [20:33:09]OFD Sender: No OFD packet to send [20:33:14]OFD Sender: No OFD packet to send [20:33:19]OFD Sender: No OFD packet to send [20:33:24]OFD Sender: No OFD packet to send [20:33:29]OFD Sender: No OFD packet to send [20:33:34]OFD Sender: No OFD packet to send [20:33:39]OFD Sender: No OFD packet to send [20:33:44]OFD Sender: No OFD packet to send [20:33:49]OFD Sender: No OFD packet to send [20:33:54]OFD Sender: No OFD packet to send [20:34:00]OFD Sender: No OFD packet to send [20:34:05]OFD Sender: No OFD packet to send [20:34:10]OFD Sender: No OFD packet to send [20:34:15]OFD Sender: No OFD packet to send [20:34:20]OFD Sender: No OFD packet to send [20:34:25]OFD Sender: No OFD packet to send [20:34:30]OFD Sender: No OFD packet to send [20:34:35]OFD Sender: No OFD packet to send [20:34:40]OFD Sender: No OFD packet to send [20:34:45]OFD Sender: No OFD packet to send [20:34:50]OFD Sender: No OFD packet to send [20:34:55]OFD Sender: No OFD packet to send [20:35:00]OFD Sender: No OFD packet to send [20:35:05]OFD Sender: No OFD packet to send [20:35:10]OFD Sender: No OFD packet to send [20:35:15]OFD Sender: No OFD packet to send [20:35:20]OFD Sender: No OFD packet to send [20:35:25]OFD Sender: No OFD packet to send [20:35:30]OFD Sender: No OFD packet to send [20:35:35]OFD Sender: No OFD packet to send [20:35:40]OFD Sender: No OFD packet to send [20:35:45]OFD Sender: No OFD packet to send [20:35:50]OFD Sender: No OFD packet to send [20:35:55]OFD Sender: No OFD packet to send [20:36:00]OFD Sender: No OFD packet to send [20:36:05]OFD Sender: No OFD packet to send [20:36:10]OFD Sender: No OFD packet to send [20:36:15]OFD Sender: No OFD packet to send [20:36:20]OFD Sender: No OFD packet to send [20:36:25]OFD Sender: No OFD packet to send [20:36:30]OFD Sender: No OFD packet to send [20:36:35]OFD Sender: No OFD packet to send [20:36:40]OFD Sender: No OFD packet to send [20:36:45]OFD Sender: No OFD packet to send [20:36:50]OFD Sender: No OFD packet to send [20:36:55]OFD Sender: No OFD packet to send [20:36:57]accept exits with 9 [20:36:57]New connection [20:36:57]New thread 3066785124 created [20:36:57]Thread 3066928484 joined [20:36:57]Waiting for new connection... [20:36:57] Sock 9.Parse request [20:36:57]Sock 9.Check first char [20:36:57]Sock 9.First char is OK [20:36:57]request: POST /json_proto HTTP/1.0 [20:36:57]Method: POST [20:36:57]URL: /json_proto [20:36:57]Method is POST - this is cgi request [20:36:57]url: /json_proto [20:36:57]query_string will be loaded in cgi processing [20:36:57]execute_cgi json_proto POST (null) [20:36:57]execute_cgi path=json_proto method=POST [20:36:57]POST find Content-Length [20:36:57]Host: 172.17.45.8:8080 [20:36:57]Content-Length: 930 [20:36:57]Content-Type: application/json [20:36:57] [20:36:57]POST finish read [20:36:57]Found Content-Length = 930 [20:36:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150479", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:36:57]execute_script... [20:36:57]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)150479", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:36:57]POST & json_proto [20:36:57]process_json_proto [20:36:57]json parsed OK: [20:36:57]protocol is kg_v1.0 [20:36:57]action value=close_receipt [20:36:57]process_action close_receipt [20:36:57]cmd_close_receipt [20:36:57]MH_GetDate [20:36:57]Write to MH i2c: F0 00 00 4C 06 41 [20:36:57]Write i2c OK [20:36:57]MH_I2C_Read... [20:36:57]Read from MH i2c: F0 [20:36:57]MH_I2C_Read... [20:36:57]Read from MH i2c: F0 09 00 [20:36:57]MH_I2C_Read... [20:36:57]Read from MH i2c: F0 09 00 4C 06 00 EB AB A6 66 A6 1F 7F 64 94 [20:36:57]GetLastDocTimeStamp 1722196422 [20:36:57]current date 1722199019 [20:36:57]FM_GetShiftState [20:36:57]SAM_PROTO_GetShiftState [20:36:57]wFMCommunicate request_size=4 [20:36:57]MH_SAM_APDU [20:36:57]CAPDU: 80 13 01 00 [20:36:57]Write to MH i2c: E2 08 00 4D 06 80 13 01 00 00 00 00 00 D0 [20:36:57]Write i2c OK [20:36:57]MH_I2C_Read... [20:36:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:36:57]Read from MH i2c: E2 [20:36:57]MH_I2C_Read... [20:36:57]Read from MH i2c: E2 0E 00 [20:36:57]MH_I2C_Read... [20:36:57]Read from MH i2c: E2 0E 00 4D 06 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 F8 [20:36:57]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [20:36:57]wFMCommunicate OK [20:36:57]SAM_PROTO_GetShiftState done [20:36:57]FM_GetShiftState done [20:36:57]opened in 1722127230 [20:36:57]opened+sec_in_day 1722213630 [20:36:57]quantity*price = 11500 [20:36:57]sum+1 = 11501 [20:36:57]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700040114137 Султан чай 1л. зел лимон 1.000 * 65.00 = 65.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 180.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 59 28.07.2024 20:36 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27081 ФПД: 118898651955734 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T203659&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27081&fm=118898651955734&tin=02508201610067®Number=0000000000092663&sum=18000 0 [20:36:58]StoreToDocumentArchive [20:36:58]shift 433 fd 27081 [20:36:58]save to /storage/0433/doc_00027081 [20:36:58]save last doc name /storage/0433/doc_00027081 to /storage/kkm_last_doc_name [20:36:58]save OK [20:36:58]Clear old archive folders... [20:36:58]ProcessDocumentItem done err = 0, tmpTLVsize=394 [20:36:58]tlvbuf is 0017C2E0 [20:36:58]SAM_PROTO_ClearQueue [20:36:58]wFMCommunicate request_size=4 [20:36:58]MH_SAM_APDU [20:36:58]CAPDU: 80 09 00 00 [20:36:58]Write to MH i2c: E2 08 00 5A 06 80 09 00 00 00 00 00 00 D2 [20:36:58]Write i2c OK [20:36:58]MH_I2C_Read... [20:36:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:36:58]Read from MH i2c: E2 [20:36:58]MH_I2C_Read... [20:36:58]Read from MH i2c: E2 03 00 [20:36:58]MH_I2C_Read... [20:36:58]Read from MH i2c: E2 03 00 5A 06 00 90 00 D4 [20:36:58]RAPDU: 90 00 [20:36:58]wFMCommunicate OK [20:36:58]SAM_PROTO_ClearQueue done [20:36:58]KKMCreateOFDPacket [20:36:58]OFDProtocolAddRootSTLVToBuf [20:36:58]FM_MakeSignedData [20:36:58]FM_MakeSignedData [20:36:58]SAM_PROTO_SignData [20:36:58]wFMCommunicate request_size=4 [20:36:58]MH_SAM_APDU [20:36:58]CAPDU: 80 0D 01 02 [20:36:58]Write to MH i2c: E2 08 00 5B 06 80 0D 01 02 00 00 00 00 DA [20:36:58]Write i2c OK [20:36:58]MH_I2C_Read... [20:36:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:36:58]Read from MH i2c: E2 [20:36:58]MH_I2C_Read... [20:36:58]Read from MH i2c: E2 03 00 [20:36:58]MH_I2C_Read... [20:36:58]Read from MH i2c: E2 03 00 5B 06 00 90 00 D5 [20:36:58]RAPDU: 90 00 [20:36:58]wFMCommunicate OK [20:36:58]wFMCommunicate request_size=255 [20:36:58]MH_SAM_APDU [20:36:58]CAPDU: 80 0D 02 02 FA 03 00 8A 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 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 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 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 50 46 00 00 00 00 EB 03 26 00 EF 03 0F [20:36:58]Write to MH i2c: E2 02 01 5C 06 80 0D 02 02 FA 00 03 00 8A 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 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 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 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 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 D6 [20:36:58]Write i2c OK [20:36:58]MH_I2C_Read... [20:36:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:36:58]Read from MH i2c: E2 [20:36:58]MH_I2C_Read... [20:36:58]Read from MH i2c: E2 03 00 [20:36:58]MH_I2C_Read... [20:36:58]Read from MH i2c: E2 03 00 5C 06 00 90 00 D6 [20:36:58]RAPDU: 90 00 [20:36:58]wFMCommunicate OK [20:36:58]wFMCommunicate request_size=153 [20:36:58]MH_SAM_APDU [20:36:58]CAPDU: 80 0D 02 02 94 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 3B 00 00 00 F4 03 04 00 EB AB A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C9 69 00 00 35 04 06 00 6C 23 3F EA 02 16 [20:36:58]Write to MH i2c: E2 9C 00 5D 06 80 0D 02 02 94 00 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 3B 00 00 00 F4 03 04 00 EB AB A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C9 69 00 00 35 04 06 00 6C 23 3F EA 02 16 00 00 78 [20:36:58]Write i2c OK [20:36:58]MH_I2C_Read... [20:36:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:36:59]Read from MH i2c: E2 [20:36:59]MH_I2C_Read... [20:36:59]Read from MH i2c: E2 03 00 [20:36:59]MH_I2C_Read... [20:36:59]Read from MH i2c: E2 03 00 5D 06 00 90 00 D7 [20:36:59]RAPDU: 90 00 [20:36:59]wFMCommunicate OK [20:36:59]wFMCommunicate request_size=4 [20:36:59]MH_SAM_APDU [20:36:59]CAPDU: 80 0D 03 02 [20:36:59]Write to MH i2c: E2 08 00 5E 06 80 0D 03 02 00 00 00 00 DF [20:36:59]Write i2c OK [20:36:59]MH_I2C_Read... [20:36:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:36:59]Read from MH i2c: E2 [20:36:59]MH_I2C_Read... [20:36:59]Read from MH i2c: E2 0B 00 [20:36:59]MH_I2C_Read... [20:36:59]Read from MH i2c: E2 0B 00 5E 06 00 9C 3E 88 18 22 D7 F7 2A 90 00 74 [20:36:59]RAPDU: 9C 3E 88 18 22 D7 F7 2A 90 00 [20:36:59]wFMCommunicate OK [20:36:59]SAM_PROTO_SignData done [20:36:59]FM_MakeSignedData done [20:36:59]CreateOFDProtocolMessage [20:36:59]wFMCommunicate request_size=4 [20:36:59]MH_SAM_APDU [20:36:59]CAPDU: 80 11 00 00 [20:36:59]Write to MH i2c: E2 08 00 5F 06 80 11 00 00 00 00 00 00 DF [20:36:59]Write i2c OK [20:36:59]MH_I2C_Read... [20:36:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:36:59]Read from MH i2c: E2 [20:36:59]MH_I2C_Read... [20:36:59]Read from MH i2c: E2 17 00 [20:36:59]MH_I2C_Read... [20:36:59]Read from MH i2c: E2 17 00 5F 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 38 [20:36:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [20:36:59]wFMCommunicate OK [20:36:59]CreateOFDProtocolMessage done [20:36:59]OFDSenderStorePacket 27081 [20:36:59]StoreOFDPacket docnum=27081 [20:36:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 9E 01 00 00 1D FB 96 01 4D B7 5A 03 01 00 03 00 8A 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 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 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 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 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 3B 00 00 00 F4 03 04 00 EB AB A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C9 69 00 00 35 04 06 00 6C 23 3F EA 02 16 9C 3E 88 18 22 D7 F7 2A [20:36:59]CheckFolder [20:36:59]dirname=/storage/ofd_packets [20:36:59]CheckFolder done [20:36:59]ProducePacketName [20:36:59]name=ofd_packets/00027081 [20:36:59]NVStorageSaveData ofd_packets/00027081 [20:36:59]File name is /storage/ofd_packets/00027081 [20:36:59]Write 444 bytes [20:36:59]NVStorageSaveData done [20:36:59]OFDSenderStorePacket done [20:36:59]KKMCreateOFDPacket done [20:36:59]NVStorageSaveData kkm_last_timestamp [20:36:59]File name is /storage/kkm_last_timestamp [20:36:59]Write 4 bytes [20:36:59]NVStorageSaveData done [20:36:59]ExternCall_PrintAddStr [20:36:59]wPrintStart [20:36:59]Write to MH i2c: 01 00 00 60 06 66 [20:36:59]Write i2c OK [20:36:59]MH_I2C_Read... [20:36:59]Read from MH i2c: 01 [20:36:59]MH_I2C_Read... [20:36:59]Read from MH i2c: 01 07 00 [20:36:59]MH_I2C_Read... [20:36:59]Read from MH i2c: 01 07 00 60 06 00 00 00 00 00 FF 0F 7B [20:36:59]RasterBufferAndPrint [20:36:59]line Счет N : (3)150479 [20:36:59]line ИНН: 02508201610067 [20:36:59]line Контрольно-Кассовый Чек [20:36:59]line ПРОДАЖА [20:36:59]line Товар: 2000036210013 [20:36:59]line Кофе Капучино (GABB TRADE) [20:36:59]line 1.000 * 115.00 [20:36:59]line = 115.00 [20:36:59]line НДС 12% НСП 1% [20:36:59]line > о реализуемом товаре [20:36:59]line Товар: 4700040114137 [20:36:59]line Султан чай 1л. зел лимон [20:36:59]line 1.000 * 65.00 [20:36:59]line = 65.00 [20:36:59]line НДС 12% НСП 1% [20:36:59]line > о реализуемом товаре [20:36:59]line ИТОГО: 180.00 [20:36:59]line НСП 1% : 1.59 [20:36:59]line НДС 12% : 19.11 [20:36:59]line Наличными: 180.00 [20:36:59]line Безнал.: 0.00 [20:36:59]line Место: АЗС № 134 "Партнер Нефть" [20:36:59]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [20:36:59]line СНО: Общий режим [20:36:59]line Чек 59 28.07.2024 20:36 [20:36:59]line Смена: 433 ФФД: 1.0 [20:36:59]line ЗНМ: 0300000043 [20:36:59]line РНМ: 0000000000092663 [20:36:59]line Версия ККМ: 001 [20:36:59]line ФМ: 0000000000874937 [20:36:59]line ФД: 27081 [20:36:59]line ФПД: 118898651955734 [20:36:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T203659&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27081&fm=118898651955734&tin=02508201610067®Number=0000000000092663&sum=18000 [20:36:59]line 0 [20:36:59]OFD Sender: Processing packet 27081 [packets to send 9, broken 8] [20:36:59]ProducePacketName [20:36:59]name=ofd_packets/00027081 [20:36:59]OFD Sender: To server: pG, [20:36:59]CommunicateWithHost lk.salyk.kg:30040 [20:36:59]ConnectInit lk.salyk.kg [20:36:59]written 0, free lines is 4095 [20:36:59]Connected sock=10 [20:36:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 9E 01 00 00 1D FB 96 01 4D B7 5A 03 01 00 03 00 8A 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 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 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 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 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 3B 00 00 00 F4 03 04 00 EB AB A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 C9 69 00 00 35 04 06 00 6C 23 3F EA 02 16 9C 3E 88 18 22 D7 F7 2A [20:36:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 68 83 47 00 58 B8 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 38 37 34 39 33 37 10 04 04 00 C9 69 00 00 F4 03 04 00 3E 52 A6 66 B6 04 01 00 00 59 83 6E 2B 96 03 64 5A [20:36:59]CommunicateWithHost err = 0 [20:36:59]CheckOFDResponse [20:36:59]1017 (14) - 77093643461234 [20:36:59]1041 (16) - 0000000000874937 [20:36:59]1040 (4) - 27081 [20:36:59]1012 (4) - 28.07.2024 14:14 [20:36:59]1206 (1) - 0 [20:36:59]OFD Sender: Remove packet 27081 [20:36:59]ProducePacketName [20:36:59]name=ofd_packets/00027081 [20:36:59]NVStorageDeleteData [20:37:00]Write to MH i2c: 01 00 00 8D 06 93 [20:37:00]Write i2c OK [20:37:00]MH_I2C_Read... [20:37:00]Read from MH i2c: 01 [20:37:00]MH_I2C_Read... [20:37:00]Read from MH i2c: 01 07 00 [20:37:00]MH_I2C_Read... [20:37:00]Read from MH i2c: 01 07 00 8D 06 00 00 00 00 00 A0 0C 46 [20:37:00]RasterBufferAndPrint [20:37:00]line [20:37:00]line [20:37:00]line [20:37:00]line [20:37:00]line [20:37:00]written 0, free lines is 3239 [20:37:00]MH_Cut [20:37:00]Write to MH i2c: D1 01 00 94 06 01 6C [20:37:00]Write i2c OK [20:37:00]MH_I2C_Read... [20:37:00]Read from MH i2c: D1 [20:37:00]MH_I2C_Read... [20:37:00]Read from MH i2c: D1 01 00 [20:37:00]MH_I2C_Read... [20:37:00]Read from MH i2c: D1 01 00 94 06 00 6B [20:37:00]Write to MH i2c: 01 00 00 95 06 9B [20:37:00]Write i2c OK [20:37:00]MH_I2C_Read... [20:37:00]OFD Sender: No OFD packet to send [20:37:00]*** Cut start [20:37:00]*** Partial cut [20:37:00]*** CUTSNS_PIN = 1 [20:37:00]*** CUTSNS_PIN = 0 [20:37:01]*** Brake cut motor [20:37:01]Read from MH i2c: 01 [20:37:01]MH_I2C_Read... [20:37:01]*** Stop cut motor [20:37:01]*** Cut end [20:37:01]Read from MH i2c: 01 07 00 [20:37:01]MH_I2C_Read... [20:37:01]Read from MH i2c: 01 07 00 95 06 00 00 00 00 00 FF 0F B0 [20:37:01]process_action close_receipt done [20:37:01]requested_data is exist [20:37:01]produce_requested_data [20:37:01]requested_item fm.sn is exist - process it [20:37:01]wFMCommunicate request_size=4 [20:37:01]MH_SAM_APDU [20:37:01]CAPDU: 80 11 00 00 [20:37:01]Write to MH i2c: E2 08 00 96 06 80 11 00 00 00 00 00 00 16 [20:37:01]Write i2c OK [20:37:01]MH_I2C_Read... [20:37:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:37:01]Read from MH i2c: E2 [20:37:01]MH_I2C_Read... [20:37:01]Read from MH i2c: E2 17 00 [20:37:01]MH_I2C_Read... [20:37:01]Read from MH i2c: E2 17 00 96 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 6F [20:37:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [20:37:01]wFMCommunicate OK [20:37:01]requested_item fd.num is exist - process it [20:37:01]SAM_PROTO_GetFieldsCounters [20:37:01]wFMCommunicate request_size=4 [20:37:01]MH_SAM_APDU [20:37:01]CAPDU: 80 13 00 00 [20:37:01]Write to MH i2c: E2 08 00 97 06 80 13 00 00 00 00 00 00 19 [20:37:01]Write i2c OK [20:37:01]MH_I2C_Read... [20:37:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:37:01]Read from MH i2c: E2 [20:37:01]MH_I2C_Read... [20:37:01]Read from MH i2c: E2 62 00 [20:37:01]MH_I2C_Read... [20:37:01]Read from MH i2c: E2 62 00 97 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 C9 69 00 00 0E 04 04 00 B1 01 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 D6 [20:37:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 C9 69 00 00 0E 04 04 00 B1 01 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 [20:37:01]wFMCommunicate OK [20:37:01]SAM_PROTO_GetFieldsCounters done [20:37:01]requested_item shift.num is exist - process it [20:37:01]requested_item shift.opened is exist - process it [20:37:01]req_shift_opened [20:37:01]FM_GetShiftState [20:37:01]SAM_PROTO_GetShiftState [20:37:01]wFMCommunicate request_size=4 [20:37:01]MH_SAM_APDU [20:37:01]CAPDU: 80 13 01 00 [20:37:01]Write to MH i2c: E2 08 00 98 06 80 13 01 00 00 00 00 00 1B [20:37:01]Write i2c OK [20:37:01]MH_I2C_Read... [20:37:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:37:01]Read from MH i2c: E2 [20:37:01]MH_I2C_Read... [20:37:01]Read from MH i2c: E2 0E 00 [20:37:01]MH_I2C_Read... [20:37:01]Read from MH i2c: E2 0E 00 98 06 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 43 [20:37:01]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [20:37:01]wFMCommunicate OK [20:37:01]SAM_PROTO_GetShiftState done [20:37:01]FM_GetShiftState done [20:37:01]req_shift_opened done [20:37:01]requested_item shift.open_date is exist - process it [20:37:01]req_shift_open_date [20:37:01]req_shift_open_date done [20:37:01]produce_requested_data done [20:37:01]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27081,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [20:37:01]process_action_free close_receipt [20:37:01]json_value_free [20:37:01]json_value_free done [20:37:01]process_json_proto returns [20:37:01]Send response to host [20:37:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27081,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [20:37:01]free response buf [20:37:01]execute_script done [20:37:01]execute_script returns [20:37:01]free content buf [20:37:01]Sock 9.Close socket [20:37:01]Sock 9.Thread stoped [20:37:05]OFD Sender: No OFD packet to send [20:37:10]OFD Sender: No OFD packet to send [20:37:15]OFD Sender: No OFD packet to send [20:37:20]OFD Sender: No OFD packet to send [20:37:25]OFD Sender: No OFD packet to send [20:37:30]OFD Sender: No OFD packet to send [20:37:35]OFD Sender: No OFD packet to send [20:37:40]OFD Sender: No OFD packet to send [20:37:45]OFD Sender: No OFD packet to send [20:37:50]OFD Sender: No OFD packet to send [20:37:55]OFD Sender: No OFD packet to send [20:38:00]OFD Sender: No OFD packet to send [20:38:05]OFD Sender: No OFD packet to send [20:38:10]OFD Sender: No OFD packet to send [20:38:15]OFD Sender: No OFD packet to send [20:38:20]OFD Sender: No OFD packet to send [20:38:25]OFD Sender: No OFD packet to send [20:38:30]OFD Sender: No OFD packet to send [20:38:35]OFD Sender: No OFD packet to send [20:38:40]OFD Sender: No OFD packet to send [20:38:45]OFD Sender: No OFD packet to send [20:38:50]OFD Sender: No OFD packet to send [20:38:55]OFD Sender: No OFD packet to send [20:39:00]OFD Sender: No OFD packet to send [20:39:05]OFD Sender: No OFD packet to send [20:39:10]OFD Sender: No OFD packet to send [20:39:15]OFD Sender: No OFD packet to send [20:39:20]OFD Sender: No OFD packet to send [20:39:25]OFD Sender: No OFD packet to send [20:39:30]OFD Sender: No OFD packet to send [20:39:35]OFD Sender: No OFD packet to send [20:39:40]OFD Sender: No OFD packet to send [20:39:45]OFD Sender: No OFD packet to send [20:39:50]OFD Sender: No OFD packet to send [20:39:55]OFD Sender: No OFD packet to send [20:40:00]OFD Sender: No OFD packet to send [20:40:05]OFD Sender: No OFD packet to send [20:40:10]OFD Sender: No OFD packet to send [20:40:15]OFD Sender: No OFD packet to send [20:40:20]OFD Sender: No OFD packet to send [20:40:25]OFD Sender: No OFD packet to send [20:40:30]OFD Sender: No OFD packet to send [20:40:35]OFD Sender: No OFD packet to send [20:40:40]OFD Sender: No OFD packet to send [20:40:45]OFD Sender: No OFD packet to send [20:40:50]OFD Sender: No OFD packet to send [20:40:55]OFD Sender: No OFD packet to send [20:41:00]OFD Sender: No OFD packet to send [20:41:05]OFD Sender: No OFD packet to send [20:41:10]OFD Sender: No OFD packet to send [20:41:15]OFD Sender: No OFD packet to send [20:41:20]OFD Sender: No OFD packet to send [20:41:25]OFD Sender: No OFD packet to send [20:41:30]OFD Sender: No OFD packet to send [20:41:35]OFD Sender: No OFD packet to send [20:41:40]OFD Sender: No OFD packet to send [20:41:45]OFD Sender: No OFD packet to send [20:41:50]OFD Sender: No OFD packet to send [20:41:55]OFD Sender: No OFD packet to send [20:42:00]OFD Sender: No OFD packet to send [20:42:05]OFD Sender: No OFD packet to send [20:42:10]OFD Sender: No OFD packet to send [20:42:15]OFD Sender: No OFD packet to send [20:42:20]OFD Sender: No OFD packet to send [20:42:25]OFD Sender: No OFD packet to send [20:42:30]OFD Sender: No OFD packet to send [20:42:35]OFD Sender: No OFD packet to send [20:42:40]OFD Sender: No OFD packet to send [20:42:45]OFD Sender: No OFD packet to send [20:42:50]OFD Sender: No OFD packet to send [20:42:55]OFD Sender: No OFD packet to send [20:43:00]OFD Sender: No OFD packet to send [20:43:05]OFD Sender: No OFD packet to send [20:43:10]OFD Sender: No OFD packet to send [20:43:15]OFD Sender: No OFD packet to send [20:43:20]OFD Sender: No OFD packet to send [20:43:25]OFD Sender: No OFD packet to send [20:43:30]OFD Sender: No OFD packet to send [20:43:35]OFD Sender: No OFD packet to send [20:43:40]OFD Sender: No OFD packet to send [20:43:45]OFD Sender: No OFD packet to send [20:43:50]OFD Sender: No OFD packet to send [20:43:55]OFD Sender: No OFD packet to send [20:44:00]OFD Sender: No OFD packet to send [20:44:05]OFD Sender: No OFD packet to send [20:44:10]OFD Sender: No OFD packet to send [20:44:15]OFD Sender: No OFD packet to send [20:44:20]OFD Sender: No OFD packet to send [20:44:25]OFD Sender: No OFD packet to send [20:44:30]OFD Sender: No OFD packet to send [20:44:35]OFD Sender: No OFD packet to send [20:44:40]OFD Sender: No OFD packet to send [20:44:45]OFD Sender: No OFD packet to send [20:44:50]OFD Sender: No OFD packet to send [20:44:55]OFD Sender: No OFD packet to send [20:45:00]OFD Sender: No OFD packet to send [20:45:05]OFD Sender: No OFD packet to send [20:45:10]OFD Sender: No OFD packet to send [20:45:15]OFD Sender: No OFD packet to send [20:45:20]OFD Sender: No OFD packet to send [20:45:25]OFD Sender: No OFD packet to send [20:45:30]OFD Sender: No OFD packet to send [20:45:35]OFD Sender: No OFD packet to send [20:45:40]OFD Sender: No OFD packet to send [20:45:45]OFD Sender: No OFD packet to send [20:45:50]OFD Sender: No OFD packet to send [20:45:55]OFD Sender: No OFD packet to send [20:46:00]OFD Sender: No OFD packet to send [20:46:05]OFD Sender: No OFD packet to send [20:46:10]OFD Sender: No OFD packet to send [20:46:15]OFD Sender: No OFD packet to send [20:46:20]OFD Sender: No OFD packet to send [20:46:25]OFD Sender: No OFD packet to send [20:46:30]OFD Sender: No OFD packet to send [20:46:35]OFD Sender: No OFD packet to send [20:46:40]OFD Sender: No OFD packet to send [20:46:45]OFD Sender: No OFD packet to send [20:46:50]OFD Sender: No OFD packet to send [20:46:55]OFD Sender: No OFD packet to send [20:47:00]OFD Sender: No OFD packet to send [20:47:05]OFD Sender: No OFD packet to send [20:47:10]OFD Sender: No OFD packet to send [20:47:15]OFD Sender: No OFD packet to send [20:47:20]OFD Sender: No OFD packet to send [20:47:25]OFD Sender: No OFD packet to send [20:47:30]OFD Sender: No OFD packet to send [20:47:35]OFD Sender: No OFD packet to send [20:47:40]OFD Sender: No OFD packet to send [20:47:45]OFD Sender: No OFD packet to send [20:47:50]OFD Sender: No OFD packet to send [20:47:55]OFD Sender: No OFD packet to send [20:48:00]OFD Sender: No OFD packet to send [20:48:05]OFD Sender: No OFD packet to send [20:48:10]OFD Sender: No OFD packet to send [20:48:15]OFD Sender: No OFD packet to send [20:48:20]OFD Sender: No OFD packet to send [20:48:25]OFD Sender: No OFD packet to send [20:48:30]OFD Sender: No OFD packet to send [20:48:35]OFD Sender: No OFD packet to send [20:48:40]OFD Sender: No OFD packet to send [20:48:45]OFD Sender: No OFD packet to send [20:48:50]OFD Sender: No OFD packet to send [20:48:55]OFD Sender: No OFD packet to send [20:49:00]OFD Sender: No OFD packet to send [20:49:05]OFD Sender: No OFD packet to send [20:49:10]OFD Sender: No OFD packet to send [20:49:15]OFD Sender: No OFD packet to send [20:49:20]OFD Sender: No OFD packet to send [20:49:25]OFD Sender: No OFD packet to send [20:49:30]OFD Sender: No OFD packet to send [20:49:35]OFD Sender: No OFD packet to send [20:49:40]OFD Sender: No OFD packet to send [20:49:45]OFD Sender: No OFD packet to send [20:49:50]OFD Sender: No OFD packet to send [20:49:55]OFD Sender: No OFD packet to send [20:50:00]OFD Sender: No OFD packet to send [20:50:05]OFD Sender: No OFD packet to send [20:50:10]OFD Sender: No OFD packet to send [20:50:15]OFD Sender: No OFD packet to send [20:50:20]OFD Sender: No OFD packet to send [20:50:25]OFD Sender: No OFD packet to send [20:50:30]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:06]OFD Sender: No OFD packet to send [20:54:11]OFD Sender: No OFD packet to send [20:54:16]OFD Sender: No OFD packet to send [20:54:21]OFD Sender: No OFD packet to send [20:54:26]OFD Sender: No OFD packet to send [20:54:31]OFD Sender: No OFD packet to send [20:54:36]OFD Sender: No OFD packet to send [20:54:41]OFD Sender: No OFD packet to send [20:54:46]OFD Sender: No OFD packet to send [20:54:51]OFD Sender: No OFD packet to send [20:54:56]OFD Sender: No OFD packet to send [20:55:01]OFD Sender: No OFD packet to send [20:55:06]OFD Sender: No OFD packet to send [20:55:11]OFD Sender: No OFD packet to send [20:55:16]OFD Sender: No OFD packet to send [20:55:21]OFD Sender: No OFD packet to send [20:55:26]OFD Sender: No OFD packet to send [20:55:31]OFD Sender: No OFD packet to send [20:55:36]OFD Sender: No OFD packet to send [20:55:41]OFD Sender: No OFD packet to send [20:55:46]OFD Sender: No OFD packet to send [20:55:51]OFD Sender: No OFD packet to send [20:55:56]OFD Sender: No OFD packet to send [20:56:01]OFD Sender: No OFD packet to send [20:56:06]OFD Sender: No OFD packet to send [20:56:11]OFD Sender: No OFD packet to send [20:56:16]OFD Sender: No OFD packet to send [20:56:21]OFD Sender: No OFD packet to send [20:56:26]OFD Sender: No OFD packet to send [20:56:31]OFD Sender: No OFD packet to send [20:56:36]OFD Sender: No OFD packet to send [20:56:41]OFD Sender: No OFD packet to send [20:56:46]OFD Sender: No OFD packet to send [20:56:51]OFD Sender: No OFD packet to send [20:56:56]OFD Sender: No OFD packet to send [20:57:01]OFD Sender: No OFD packet to send [20:57:06]OFD Sender: No OFD packet to send [20:57:11]OFD Sender: No OFD packet to send [20:57:16]OFD Sender: No OFD packet to send [20:57:21]OFD Sender: No OFD packet to send [20:57:26]OFD Sender: No OFD packet to send [20:57:31]OFD Sender: No OFD packet to send [20:57:36]OFD Sender: No OFD packet to send [20:57:41]OFD Sender: No OFD packet to send [20:57:46]OFD Sender: No OFD packet to send [20:57:51]OFD Sender: No OFD packet to send [20:57:56]OFD Sender: No OFD packet to send [20:58:01]OFD Sender: No OFD packet to send [20:58:06]OFD Sender: No OFD packet to send [20:58:11]OFD Sender: No OFD packet to send [20:58:16]OFD Sender: No OFD packet to send [20:58:21]OFD Sender: No OFD packet to send [20:58:26]OFD Sender: No OFD packet to send [20:58:31]OFD Sender: No OFD packet to send [20:58:36]OFD Sender: No OFD packet to send [20:58:41]OFD Sender: No OFD packet to send [20:58:46]OFD Sender: No OFD packet to send [20:58:51]OFD Sender: No OFD packet to send [20:58:56]OFD Sender: No OFD packet to send [20:59:01]OFD Sender: No OFD packet to send [20:59:06]OFD Sender: No OFD packet to send [20:59:11]OFD Sender: No OFD packet to send [20:59:16]OFD Sender: No OFD packet to send [20:59:21]OFD Sender: No OFD packet to send [20:59:26]OFD Sender: No OFD packet to send [20:59:31]OFD Sender: No OFD packet to send [20:59:36]OFD Sender: No OFD packet to send [20:59:41]OFD Sender: No OFD packet to send [20:59:46]OFD Sender: No OFD packet to send [20:59:51]OFD Sender: No OFD packet to send [20:59:56]OFD Sender: No OFD packet to send [21:00:01]OFD Sender: No OFD packet to send [21:00:06]OFD Sender: No OFD packet to send [21:00:11]OFD Sender: No OFD packet to send [21:00:16]OFD Sender: No OFD packet to send [21:00:21]OFD Sender: No OFD packet to send [21:00:26]OFD Sender: No OFD packet to send [21:00:31]OFD Sender: No OFD packet to send [21:00:36]OFD Sender: No OFD packet to send [21:00:41]OFD Sender: No OFD packet to send [21:00:46]OFD Sender: No OFD packet to send [21:00:51]OFD Sender: No OFD packet to send [21:00:56]OFD Sender: No OFD packet to send [21:01:01]OFD Sender: No OFD packet to send [21:01:06]OFD Sender: No OFD packet to send [21:01:11]OFD Sender: No OFD packet to send [21:01:16]OFD Sender: No OFD packet to send [21:01:21]OFD Sender: No OFD packet to send [21:01:26]OFD Sender: No OFD packet to send [21:01:31]OFD Sender: No OFD packet to send [21:01:36]OFD Sender: No OFD packet to send [21:01:41]OFD Sender: No OFD packet to send [21:01:46]OFD Sender: No OFD packet to send [21:01:51]OFD Sender: No OFD packet to send [21:01:56]OFD Sender: No OFD packet to send [21:02:01]OFD Sender: No OFD packet to send [21:02:06]OFD Sender: No OFD packet to send [21:02:11]OFD Sender: No OFD packet to send [21:02:16]OFD Sender: No OFD packet to send [21:02:21]OFD Sender: No OFD packet to send [21:02:26]OFD Sender: No OFD packet to send [21:02:31]OFD Sender: No OFD packet to send [21:02:36]OFD Sender: No OFD packet to send [21:02:41]OFD Sender: No OFD packet to send [21:02:46]OFD Sender: No OFD packet to send [21:02:51]OFD Sender: No OFD packet to send [21:02:56]OFD Sender: No OFD packet to send [21:03:01]OFD Sender: No OFD packet to send [21:03:06]OFD Sender: No OFD packet to send [21:03:11]OFD Sender: No OFD packet to send [21:03:16]OFD Sender: No OFD packet to send [21:03:21]OFD Sender: No OFD packet to send [21:03:26]OFD Sender: No OFD packet to send [21:03:31]OFD Sender: No OFD packet to send [21:03:36]OFD Sender: No OFD packet to send [21:03:41]OFD Sender: No OFD packet to send [21:03:46]OFD Sender: No OFD packet to send [21:03:51]OFD Sender: No OFD packet to send [21:03:56]OFD Sender: No OFD packet to send [21:04:01]OFD Sender: No OFD packet to send [21:04:06]OFD Sender: No OFD packet to send [21:04:11]OFD Sender: No OFD packet to send [21:04:16]OFD Sender: No OFD packet to send [21:04:21]OFD Sender: No OFD packet to send [21:04:26]OFD Sender: No OFD packet to send [21:04:31]OFD Sender: No OFD packet to send [21:04:36]OFD Sender: No OFD packet to send [21:04:41]OFD Sender: No OFD packet to send [21:04:43]accept exits with 8 [21:04:43]New connection [21:04:43]New thread 3066928484 created [21:04:43]Thread 3066785124 joined [21:04:43]Waiting for new connection... [21:04:43] Sock 8.Parse request [21:04:43]Sock 8.Check first char [21:04:43]Sock 8.First char is OK [21:04:43]request: POST /json_proto HTTP/1.0 [21:04:43]Method: POST [21:04:43]URL: /json_proto [21:04:43]Method is POST - this is cgi request [21:04:43]url: /json_proto [21:04:43]query_string will be loaded in cgi processing [21:04:43]execute_cgi json_proto POST (null) [21:04:43]execute_cgi path=json_proto method=POST [21:04:43]POST find Content-Length [21:04:43]Host: 172.17.45.8:8080 [21:04:43]Content-Length: 646 [21:04:43]Content-Type: application/json [21:04:43] [21:04:43]POST finish read [21:04:43]Found Content-Length = 646 [21:04:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150480", "tax_sys" : 0, "items" : [ { "code": "4700000483259", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fresh \u041C\u043E\u0445\u0438\u0442\u043E", "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" ] } } [21:04:43]execute_script... [21: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)150480", "tax_sys" : 0, "items" : [ { "code": "4700000483259", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fresh \u041C\u043E\u0445\u0438\u0442\u043E", "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" ] } } [21:04:43]POST & json_proto [21:04:43]process_json_proto [21:04:43]json parsed OK: [21:04:43]protocol is kg_v1.0 [21:04:43]action value=close_receipt [21:04:43]process_action close_receipt [21:04:43]cmd_close_receipt [21:04:43]MH_GetDate [21:04:43]Write to MH i2c: F0 00 00 99 06 8E [21:04:43]Write i2c OK [21:04:43]MH_I2C_Read... [21:04:43]Read from MH i2c: F0 [21:04:43]MH_I2C_Read... [21:04:43]Read from MH i2c: F0 09 00 [21:04:43]MH_I2C_Read... [21:04:43]Read from MH i2c: F0 09 00 99 06 00 6D B2 A6 66 A6 1F 7F 64 6A [21:04:43]GetLastDocTimeStamp 1722199019 [21:04:43]current date 1722200685 [21:04:43]FM_GetShiftState [21:04:43]SAM_PROTO_GetShiftState [21:04:43]wFMCommunicate request_size=4 [21:04:43]MH_SAM_APDU [21:04:43]CAPDU: 80 13 01 00 [21:04:43]Write to MH i2c: E2 08 00 9A 06 80 13 01 00 00 00 00 00 1D [21:04:43]Write i2c OK [21:04:43]MH_I2C_Read... [21:04:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:04:43]Read from MH i2c: E2 [21:04:43]MH_I2C_Read... [21:04:43]Read from MH i2c: E2 0E 00 [21:04:43]MH_I2C_Read... [21:04:43]Read from MH i2c: E2 0E 00 9A 06 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 45 [21:04:43]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [21:04:43]wFMCommunicate OK [21:04:43]SAM_PROTO_GetShiftState done [21:04:43]FM_GetShiftState done [21:04:43]opened in 1722127230 [21:04:43]opened+sec_in_day 1722213630 [21:04:43]quantity*price = 9500 [21:04:43]sum+1 = 9501 [21:04:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 60 28.07.2024 21:04 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27082 ФПД: 118827402785680 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T210445&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27082&fm=118827402785680&tin=02508201610067®Number=0000000000092663&sum=9500 0 [21:04:44]StoreToDocumentArchive [21:04:44]shift 433 fd 27082 [21:04:44]save to /storage/0433/doc_00027082 [21:04:44]save last doc name /storage/0433/doc_00027082 to /storage/kkm_last_doc_name [21:04:44]save OK [21:04:44]Clear old archive folders... [21:04:44]ProcessDocumentItem done err = 0, tmpTLVsize=281 [21:04:44]tlvbuf is 001B32C0 [21:04:44]SAM_PROTO_ClearQueue [21:04:44]wFMCommunicate request_size=4 [21:04:44]MH_SAM_APDU [21:04:44]CAPDU: 80 09 00 00 [21:04:44]Write to MH i2c: E2 08 00 A7 06 80 09 00 00 00 00 00 00 1F [21:04:44]Write i2c OK [21:04:44]MH_I2C_Read... [21:04:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:04:44]Read from MH i2c: E2 [21:04:44]MH_I2C_Read... [21:04:44]Read from MH i2c: E2 03 00 [21:04:44]MH_I2C_Read... [21:04:44]Read from MH i2c: E2 03 00 A7 06 00 90 00 21 [21:04:44]RAPDU: 90 00 [21:04:44]wFMCommunicate OK [21:04:44]SAM_PROTO_ClearQueue done [21:04:44]KKMCreateOFDPacket [21:04:44]OFDProtocolAddRootSTLVToBuf [21:04:44]FM_MakeSignedData [21:04:44]FM_MakeSignedData [21:04:44]SAM_PROTO_SignData [21:04:44]wFMCommunicate request_size=4 [21:04:44]MH_SAM_APDU [21:04:44]CAPDU: 80 0D 01 02 [21:04:44]Write to MH i2c: E2 08 00 A8 06 80 0D 01 02 00 00 00 00 27 [21:04:44]Write i2c OK [21:04:44]MH_I2C_Read... [21:04:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:04:44]Read from MH i2c: E2 [21:04:44]MH_I2C_Read... [21:04:44]Read from MH i2c: E2 03 00 [21:04:44]MH_I2C_Read... [21:04:44]Read from MH i2c: E2 03 00 A8 06 00 90 00 22 [21:04:44]RAPDU: 90 00 [21:04:44]wFMCommunicate OK [21:04:44]wFMCommunicate request_size=255 [21:04:44]MH_SAM_APDU [21:04:44]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 35 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE 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 3C 00 00 00 F4 03 04 00 6D B2 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 [21:04:44]Write to MH i2c: E2 02 01 A9 06 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 35 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE 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 3C 00 00 00 F4 03 04 00 6D B2 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 00 1E [21:04:44]Write i2c OK [21:04:44]MH_I2C_Read... [21:04:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:04:44]Read from MH i2c: E2 [21:04:44]MH_I2C_Read... [21:04:44]Read from MH i2c: E2 03 00 [21:04:44]MH_I2C_Read... [21:04:44]Read from MH i2c: E2 03 00 A9 06 00 90 00 23 [21:04:44]RAPDU: 90 00 [21:04:44]wFMCommunicate OK [21:04:44]wFMCommunicate request_size=40 [21:04:44]MH_SAM_APDU [21:04:44]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 CA 69 00 00 35 04 06 00 6C 12 A9 21 F3 90 [21:04:44]Write to MH i2c: E2 2B 00 AA 06 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 CA 69 00 00 35 04 06 00 6C 12 A9 21 F3 90 00 00 EB [21:04:44]Write i2c OK [21:04:44]MH_I2C_Read... [21:04:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:04:44]Read from MH i2c: E2 [21:04:44]MH_I2C_Read... [21:04:44]Read from MH i2c: E2 03 00 [21:04:44]MH_I2C_Read... [21:04:44]Read from MH i2c: E2 03 00 AA 06 00 90 00 24 [21:04:44]RAPDU: 90 00 [21:04:44]wFMCommunicate OK [21:04:44]wFMCommunicate request_size=4 [21:04:44]MH_SAM_APDU [21:04:44]CAPDU: 80 0D 03 02 [21:04:44]Write to MH i2c: E2 08 00 AB 06 80 0D 03 02 00 00 00 00 2C [21:04:44]Write i2c OK [21:04:44]MH_I2C_Read... [21:04:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:04:44]Read from MH i2c: E2 [21:04:44]MH_I2C_Read... [21:04:44]Read from MH i2c: E2 0B 00 [21:04:44]MH_I2C_Read... [21:04:44]Read from MH i2c: E2 0B 00 AB 06 00 75 DB A9 51 3D 50 53 A1 90 00 F8 [21:04:44]RAPDU: 75 DB A9 51 3D 50 53 A1 90 00 [21:04:44]wFMCommunicate OK [21:04:44]SAM_PROTO_SignData done [21:04:44]FM_MakeSignedData done [21:04:44]CreateOFDProtocolMessage [21:04:44]wFMCommunicate request_size=4 [21:04:44]MH_SAM_APDU [21:04:44]CAPDU: 80 11 00 00 [21:04:44]Write to MH i2c: E2 08 00 AC 06 80 11 00 00 00 00 00 00 2C [21:04:44]Write i2c OK [21:04:44]MH_I2C_Read... [21:04:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:04:44]Read from MH i2c: E2 [21:04:44]MH_I2C_Read... [21:04:44]Read from MH i2c: E2 17 00 [21:04:44]MH_I2C_Read... [21:04:44]Read from MH i2c: E2 17 00 AC 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 85 [21:04:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [21:04:44]wFMCommunicate OK [21:04:44]CreateOFDProtocolMessage done [21:04:44]OFDSenderStorePacket 27082 [21:04:44]StoreOFDPacket docnum=27082 [21:04:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 2D 01 00 00 25 38 25 01 98 48 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 35 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE 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 3C 00 00 00 F4 03 04 00 6D B2 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 CA 69 00 00 35 04 06 00 6C 12 A9 21 F3 90 75 DB A9 51 3D 50 53 A1 [21:04:44]CheckFolder [21:04:44]dirname=/storage/ofd_packets [21:04:44]CheckFolder done [21:04:44]ProducePacketName [21:04:44]name=ofd_packets/00027082 [21:04:44]NVStorageSaveData ofd_packets/00027082 [21:04:44]File name is /storage/ofd_packets/00027082 [21:04:44]Write 331 bytes [21:04:44]NVStorageSaveData done [21:04:44]OFDSenderStorePacket done [21:04:44]KKMCreateOFDPacket done [21:04:44]NVStorageSaveData kkm_last_timestamp [21:04:44]File name is /storage/kkm_last_timestamp [21:04:44]Write 4 bytes [21:04:44]NVStorageSaveData done [21:04:44]ExternCall_PrintAddStr [21:04:44]wPrintStart [21:04:44]Write to MH i2c: 01 00 00 AD 06 B3 [21:04:44]Write i2c OK [21:04:44]MH_I2C_Read... [21:04:44]Read from MH i2c: 01 [21:04:44]MH_I2C_Read... [21:04:44]Read from MH i2c: 01 07 00 [21:04:44]MH_I2C_Read... [21:04:44]Read from MH i2c: 01 07 00 AD 06 00 00 00 00 00 FF 0F C8 [21:04:44]RasterBufferAndPrint [21:04:44]line Счет N : (3)150480 [21:04:44]line ИНН: 02508201610067 [21:04:44]line Контрольно-Кассовый Чек [21:04:44]line ПРОДАЖА [21:04:44]line Товар: 4700000483259 [21:04:44]line Напиток Nitro Fresh Мохито [21:04:44]line 1.000 * 95.00 [21:04:44]line = 95.00 [21:04:44]line НДС 12% НСП 1% [21:04:44]line > о реализуемом товаре [21:04:44]line ИТОГО: 95.00 [21:04:44]line НСП 1% : 0.84 [21:04:44]line НДС 12% : 10.09 [21:04:44]line Наличными: 95.00 [21:04:44]line Безнал.: 0.00 [21:04:44]line Место: АЗС № 134 "Партнер Нефть" [21:04:44]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [21:04:44]line СНО: Общий режим [21:04:44]line Чек 60 28.07.2024 21:04 [21:04:44]line Смена: 433 ФФД: 1.0 [21:04:44]line ЗНМ: 0300000043 [21:04:44]line РНМ: 0000000000092663 [21:04:44]line Версия ККМ: 001 [21:04:44]line ФМ: 0000000000874937 [21:04:44]line ФД: 27082 [21:04:44]line ФПД: 118827402785680 [21:04:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T210445&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27082&fm=118827402785680&tin=02508201610067®Number=0000000000092663&sum=9500 [21:04:45]line 0 [21:04:45]OFD Sender: Processing packet 27082 [packets to send 9, broken 8] [21:04:45]ProducePacketName [21:04:45]name=ofd_packets/00027082 [21:04:45]OFD Sender: To server: pG, [21:04:45]CommunicateWithHost lk.salyk.kg:30040 [21:04:45]ConnectInit lk.salyk.kg [21:04:45]written 0, free lines is 4095 [21:04:45]Connected sock=10 [21:04:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 2D 01 00 00 25 38 25 01 98 48 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 35 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE 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 3C 00 00 00 F4 03 04 00 6D B2 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 CA 69 00 00 35 04 06 00 6C 12 A9 21 F3 90 75 DB A9 51 3D 50 53 A1 [21:04:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 C2 7C 47 00 32 C2 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 38 37 34 39 33 37 10 04 04 00 CA 69 00 00 F4 03 04 00 BF 58 A6 66 B6 04 01 00 00 B5 6D 76 C4 F8 B0 C9 59 [21:04:45]CommunicateWithHost err = 0 [21:04:45]CheckOFDResponse [21:04:45]1017 (14) - 77093643461234 [21:04:45]1041 (16) - 0000000000874937 [21:04:45]1040 (4) - 27082 [21:04:45]1012 (4) - 28.07.2024 14:42 [21:04:45]1206 (1) - 0 [21:04:45]OFD Sender: Remove packet 27082 [21:04:45]ProducePacketName [21:04:45]name=ofd_packets/00027082 [21:04:45]NVStorageDeleteData [21:04:45]Write to MH i2c: 01 00 00 D4 06 DA [21:04:45]Write i2c OK [21:04:45]MH_I2C_Read... [21:04:45]Read from MH i2c: 01 [21:04:45]MH_I2C_Read... [21:04:45]Read from MH i2c: 01 07 00 [21:04:45]MH_I2C_Read... [21:04:45]Read from MH i2c: 01 07 00 D4 06 00 00 00 00 00 F3 0C E0 [21:04:45]RasterBufferAndPrint [21:04:45]line [21:04:45]line [21:04:45]line [21:04:45]line [21:04:45]line [21:04:45]written 0, free lines is 3322 [21:04:45]MH_Cut [21:04:45]Write to MH i2c: D1 01 00 DB 06 01 B3 [21:04:45]Write i2c OK [21:04:45]MH_I2C_Read... [21:04:45]Read from MH i2c: D1 [21:04:45]MH_I2C_Read... [21:04:45]Read from MH i2c: D1 01 00 [21:04:45]MH_I2C_Read... [21:04:45]Read from MH i2c: D1 01 00 DB 06 00 B2 [21:04:45]Write to MH i2c: 01 00 00 DC 06 E2 [21:04:45]Write i2c OK [21:04:45]MH_I2C_Read... [21:04:45]OFD Sender: No OFD packet to send [21:04:46]*** Cut start [21:04:46]*** Partial cut [21:04:46]*** CUTSNS_PIN = 1 [21:04:46]*** CUTSNS_PIN = 0 [21:04:46]*** Brake cut motor [21:04:46]Read from MH i2c: 01 [21:04:46]MH_I2C_Read... [21:04:46]*** Stop cut motor [21:04:46]*** Cut end [21:04:46]Read from MH i2c: 01 07 00 [21:04:46]MH_I2C_Read... [21:04:46]Read from MH i2c: 01 07 00 DC 06 00 00 00 00 00 FF 0F F7 [21:04:46]process_action close_receipt done [21:04:46]requested_data is exist [21:04:46]produce_requested_data [21:04:46]requested_item fm.sn is exist - process it [21:04:46]wFMCommunicate request_size=4 [21:04:46]MH_SAM_APDU [21:04:46]CAPDU: 80 11 00 00 [21:04:46]Write to MH i2c: E2 08 00 DD 06 80 11 00 00 00 00 00 00 5D [21:04:46]Write i2c OK [21:04:46]MH_I2C_Read... [21:04:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:04:46]Read from MH i2c: E2 [21:04:46]MH_I2C_Read... [21:04:46]Read from MH i2c: E2 17 00 [21:04:46]MH_I2C_Read... [21:04:46]Read from MH i2c: E2 17 00 DD 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 B6 [21:04:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [21:04:46]wFMCommunicate OK [21:04:46]requested_item fd.num is exist - process it [21:04:46]SAM_PROTO_GetFieldsCounters [21:04:46]wFMCommunicate request_size=4 [21:04:46]MH_SAM_APDU [21:04:46]CAPDU: 80 13 00 00 [21:04:46]Write to MH i2c: E2 08 00 DE 06 80 13 00 00 00 00 00 00 60 [21:04:46]Write i2c OK [21:04:46]MH_I2C_Read... [21:04:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:04:47]Read from MH i2c: E2 [21:04:47]MH_I2C_Read... [21:04:47]Read from MH i2c: E2 62 00 [21:04:47]MH_I2C_Read... [21:04:47]Read from MH i2c: E2 62 00 DE 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 CA 69 00 00 0E 04 04 00 B1 01 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 21 [21:04:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 CA 69 00 00 0E 04 04 00 B1 01 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 [21:04:47]wFMCommunicate OK [21:04:47]SAM_PROTO_GetFieldsCounters done [21:04:47]requested_item shift.num is exist - process it [21:04:47]requested_item shift.opened is exist - process it [21:04:47]req_shift_opened [21:04:47]FM_GetShiftState [21:04:47]SAM_PROTO_GetShiftState [21:04:47]wFMCommunicate request_size=4 [21:04:47]MH_SAM_APDU [21:04:47]CAPDU: 80 13 01 00 [21:04:47]Write to MH i2c: E2 08 00 DF 06 80 13 01 00 00 00 00 00 62 [21:04:47]Write i2c OK [21:04:47]MH_I2C_Read... [21:04:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:04:47]Read from MH i2c: E2 [21:04:47]MH_I2C_Read... [21:04:47]Read from MH i2c: E2 0E 00 [21:04:47]MH_I2C_Read... [21:04:47]Read from MH i2c: E2 0E 00 DF 06 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 8A [21:04:47]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [21:04:47]wFMCommunicate OK [21:04:47]SAM_PROTO_GetShiftState done [21:04:47]FM_GetShiftState done [21:04:47]req_shift_opened done [21:04:47]requested_item shift.open_date is exist - process it [21:04:47]req_shift_open_date [21:04:47]req_shift_open_date done [21:04:47]produce_requested_data done [21:04:47]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27082,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [21:04:47]process_action_free close_receipt [21:04:47]json_value_free [21:04:47]json_value_free done [21:04:47]process_json_proto returns [21:04:47]Send response to host [21:04:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27082,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [21:04:47]free response buf [21:04:47]execute_script done [21:04:47]execute_script returns [21:04:47]free content buf [21:04:47]Sock 8.Close socket [21:04:47]Sock 8.Thread stoped [21:04:50]OFD Sender: No OFD packet to send [21:04:55]OFD Sender: No OFD packet to send [21:05:00]OFD Sender: No OFD packet to send [21:05:05]OFD Sender: No OFD packet to send [21:05:10]OFD Sender: No OFD packet to send [21:05:16]OFD Sender: No OFD packet to send [21:05:21]OFD Sender: No OFD packet to send [21:05:26]OFD Sender: No OFD packet to send [21:05:31]OFD Sender: No OFD packet to send [21:05:36]OFD Sender: No OFD packet to send [21:05:41]OFD Sender: No OFD packet to send [21:05:46]OFD Sender: No OFD packet to send [21:05:51]OFD Sender: No OFD packet to send [21:05:56]OFD Sender: No OFD packet to send [21:06:01]OFD Sender: No OFD packet to send [21:06:06]OFD Sender: No OFD packet to send [21:06:11]OFD Sender: No OFD packet to send [21:06:16]OFD Sender: No OFD packet to send [21:06:21]OFD Sender: No OFD packet to send [21:06:26]OFD Sender: No OFD packet to send [21:06:31]OFD Sender: No OFD packet to send [21:06:36]OFD Sender: No OFD packet to send [21:06:41]OFD Sender: No OFD packet to send [21:06:46]OFD Sender: No OFD packet to send [21:06:51]OFD Sender: No OFD packet to send [21:06:56]OFD Sender: No OFD packet to send [21:07:01]OFD Sender: No OFD packet to send [21:07:06]OFD Sender: No OFD packet to send [21:07:11]OFD Sender: No OFD packet to send [21:07:16]OFD Sender: No OFD packet to send [21:07:21]OFD Sender: No OFD packet to send [21:07:26]OFD Sender: No OFD packet to send [21:07:31]OFD Sender: No OFD packet to send [21:07:36]OFD Sender: No OFD packet to send [21:07:41]OFD Sender: No OFD packet to send [21:07:46]OFD Sender: No OFD packet to send [21:07:51]OFD Sender: No OFD packet to send [21:07:56]OFD Sender: No OFD packet to send [21:08:01]OFD Sender: No OFD packet to send [21:08:06]OFD Sender: No OFD packet to send [21:08:11]OFD Sender: No OFD packet to send [21:08:16]OFD Sender: No OFD packet to send [21:08:21]OFD Sender: No OFD packet to send [21:08:26]OFD Sender: No OFD packet to send [21:08:31]OFD Sender: No OFD packet to send [21:08:36]OFD Sender: No OFD packet to send [21:08:41]OFD Sender: No OFD packet to send [21:08:46]OFD Sender: No OFD packet to send [21:08:51]OFD Sender: No OFD packet to send [21:08:56]OFD Sender: No OFD packet to send [21:08:59]accept exits with 9 [21:08:59]New connection [21:08:59]New thread 3066785124 created [21:08:59]Thread 3066928484 joined [21:08:59]Waiting for new connection... [21:08:59] Sock 9.Parse request [21:08:59]Sock 9.Check first char [21:08:59]Sock 9.First char is OK [21:08:59]request: POST /json_proto HTTP/1.0 [21:08:59]Method: POST [21:08:59]URL: /json_proto [21:08:59]Method is POST - this is cgi request [21:08:59]url: /json_proto [21:08:59]query_string will be loaded in cgi processing [21:08:59]execute_cgi json_proto POST (null) [21:08:59]execute_cgi path=json_proto method=POST [21:08:59]POST find Content-Length [21:08:59]Host: 172.17.45.8:8080 [21:08:59]Content-Length: 1562 [21:08:59]Content-Type: application/json [21:08:59] [21:08:59]POST finish read [21:08:59]Found Content-Length = 1562 [21:08:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150481", "tax_sys" : 0, "items" : [ { "code": "4870235681086", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u0421\u044B\u0440 \u0441 \u0445\u0430\u043B\u0430\u043F\u0435\u043D\u044C\u043E 55 \u0433\u0440", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "code": "4700000483297", "name": "\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Nitro \u0410\u043D\u0430\u043D\u0430\u0441-\u0433\u0443\u0430\u0432", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 446.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:08:59]execute_script... [21:08: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)150481", "tax_sys" : 0, "items" : [ { "code": "4870235681086", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u0421\u044B\u0440 \u0441 \u0445\u0430\u043B\u0430\u043F\u0435\u043D\u044C\u043E 55 \u0433\u0440", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "code": "4700000483297", "name": "\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Nitro \u0410\u043D\u0430\u043D\u0430\u0441-\u0433\u0443\u0430\u0432", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 446.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:08:59]POST & json_proto [21:08:59]process_json_proto [21:08:59]json parsed OK: [21:08:59]protocol is kg_v1.0 [21:08:59]action value=close_receipt [21:08:59]process_action close_receipt [21:08:59]cmd_close_receipt [21:08:59]MH_GetDate [21:08:59]Write to MH i2c: F0 00 00 E0 06 D5 [21:08:59]Write i2c OK [21:08:59]MH_I2C_Read... [21:08:59]Read from MH i2c: F0 [21:08:59]MH_I2C_Read... [21:08:59]Read from MH i2c: F0 09 00 [21:09:00]MH_I2C_Read... [21:09:00]Read from MH i2c: F0 09 00 E0 06 00 6D B3 A6 66 A6 1F 7F 64 B2 [21:09:00]GetLastDocTimeStamp 1722200685 [21:09:00]current date 1722200941 [21:09:00]FM_GetShiftState [21:09:00]SAM_PROTO_GetShiftState [21:09:00]wFMCommunicate request_size=4 [21:09:00]MH_SAM_APDU [21:09:00]CAPDU: 80 13 01 00 [21:09:00]Write to MH i2c: E2 08 00 E1 06 80 13 01 00 00 00 00 00 64 [21:09:00]Write i2c OK [21:09:00]MH_I2C_Read... [21:09:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:09:00]Read from MH i2c: E2 [21:09:00]MH_I2C_Read... [21:09:00]Read from MH i2c: E2 0E 00 [21:09:00]MH_I2C_Read... [21:09:00]Read from MH i2c: E2 0E 00 E1 06 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 8C [21:09:00]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [21:09:00]wFMCommunicate OK [21:09:00]SAM_PROTO_GetShiftState done [21:09:00]FM_GetShiftState done [21:09:00]opened in 1722127230 [21:09:00]opened+sec_in_day 1722213630 [21:09:00]quantity*price = 18000 [21:09:00]sum+1 = 18001 [21:09:00]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160204 Вода Легенда 1,5л 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000483297 Энергетический напиток Nitro Ананас-гуав 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870001570071 Напиток Pepsi 1л 1.000 * 111.00 = 111.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 446.00 НСП 1% : 3.94 НДС 12% : 47.36 Наличными: 446.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 61 28.07.2024 21:09 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27083 ФПД: 33141959258960 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T210902&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27083&fm=33141959258960&tin=02508201610067®Number=0000000000092663&sum=44600 0 [21:09:01]StoreToDocumentArchive [21:09:01]shift 433 fd 27083 [21:09:01]save to /storage/0433/doc_00027083 [21:09:01]save last doc name /storage/0433/doc_00027083 to /storage/kkm_last_doc_name [21:09:01]save OK [21:09:01]Clear old archive folders... [21:09:01]ProcessDocumentItem done err = 0, tmpTLVsize=645 [21:09:01]tlvbuf is 00184D90 [21:09:01]SAM_PROTO_ClearQueue [21:09:01]wFMCommunicate request_size=4 [21:09:01]MH_SAM_APDU [21:09:01]CAPDU: 80 09 00 00 [21:09:01]Write to MH i2c: E2 08 00 EE 06 80 09 00 00 00 00 00 00 66 [21:09:01]Write i2c OK [21:09:01]MH_I2C_Read... [21:09:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:09:01]Read from MH i2c: E2 [21:09:01]MH_I2C_Read... [21:09:01]Read from MH i2c: E2 03 00 [21:09:01]MH_I2C_Read... [21:09:01]Read from MH i2c: E2 03 00 EE 06 00 90 00 68 [21:09:01]RAPDU: 90 00 [21:09:01]wFMCommunicate OK [21:09:01]SAM_PROTO_ClearQueue done [21:09:01]KKMCreateOFDPacket [21:09:01]OFDProtocolAddRootSTLVToBuf [21:09:01]FM_MakeSignedData [21:09:01]FM_MakeSignedData [21:09:01]SAM_PROTO_SignData [21:09:01]wFMCommunicate request_size=4 [21:09:01]MH_SAM_APDU [21:09:01]CAPDU: 80 0D 01 02 [21:09:01]Write to MH i2c: E2 08 00 EF 06 80 0D 01 02 00 00 00 00 6E [21:09:01]Write i2c OK [21:09:01]MH_I2C_Read... [21:09:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:09:01]Read from MH i2c: E2 [21:09:01]MH_I2C_Read... [21:09:01]Read from MH i2c: E2 03 00 [21:09:01]MH_I2C_Read... [21:09:01]Read from MH i2c: E2 03 00 EF 06 00 90 00 69 [21:09:01]RAPDU: 90 00 [21:09:01]wFMCommunicate OK [21:09:01]wFMCommunicate request_size=255 [21:09:01]MH_SAM_APDU [21:09:01]CAPDU: 80 0D 02 02 FA 03 00 85 02 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 38 36 06 04 3F 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D1 8B D1 80 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B0 D0 BF D0 B5 D0 BD D1 8C D0 BE 20 35 35 20 D0 B3 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 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 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 23 04 8B 00 8A [21:09:01]Write to MH i2c: E2 02 01 F0 06 80 0D 02 02 FA 00 03 00 85 02 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 38 36 06 04 3F 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D1 8B D1 80 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B0 D0 BF D0 B5 D0 BD D1 8C D0 BE 20 35 35 20 D0 B3 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 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 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 23 04 8B 00 8A 00 00 2E [21:09:01]Write i2c OK [21:09:01]MH_I2C_Read... [21:09:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:09:01]Read from MH i2c: E2 [21:09:01]MH_I2C_Read... [21:09:01]Read from MH i2c: E2 03 00 [21:09:01]MH_I2C_Read... [21:09:01]Read from MH i2c: E2 03 00 F0 06 00 90 00 6A [21:09:01]RAPDU: 90 00 [21:09:01]wFMCommunicate OK [21:09:01]wFMCommunicate request_size=255 [21:09:01]MH_SAM_APDU [21:09:01]CAPDU: 80 0D 02 02 FA 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 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 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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 AE 00 00 00 00 EB 03 26 00 EF 03 [21:09:01]Write to MH i2c: E2 02 01 F1 06 80 0D 02 02 FA 00 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 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 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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 AE 00 00 00 00 EB 03 26 00 EF 03 00 00 97 [21:09:01]Write i2c OK [21:09:01]MH_I2C_Read... [21:09:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:09:01]Read from MH i2c: E2 [21:09:01]MH_I2C_Read... [21:09:01]Read from MH i2c: E2 03 00 [21:09:01]MH_I2C_Read... [21:09:01]Read from MH i2c: E2 03 00 F1 06 00 90 00 6B [21:09:01]RAPDU: 90 00 [21:09:01]wFMCommunicate OK [21:09:01]wFMCommunicate request_size=154 [21:09:01]MH_SAM_APDU [21:09:01]CAPDU: 80 0D 02 02 95 0F 00 F6 03 01 00 01 F7 03 06 00 8A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 12 00 00 00 00 07 04 06 00 38 AE 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 6E B3 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 CB 69 00 00 35 04 06 00 1E 24 76 B5 73 50 [21:09:01]Write to MH i2c: E2 9D 00 F2 06 80 0D 02 02 95 00 0F 00 F6 03 01 00 01 F7 03 06 00 8A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 12 00 00 00 00 07 04 06 00 38 AE 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 6E B3 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 CB 69 00 00 35 04 06 00 1E 24 76 B5 73 50 00 00 5D [21:09:01]Write i2c OK [21:09:01]MH_I2C_Read... [21:09:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:09:02]Read from MH i2c: E2 [21:09:02]MH_I2C_Read... [21:09:02]Read from MH i2c: E2 03 00 [21:09:02]MH_I2C_Read... [21:09:02]Read from MH i2c: E2 03 00 F2 06 00 90 00 6C [21:09:02]RAPDU: 90 00 [21:09:02]wFMCommunicate OK [21:09:02]wFMCommunicate request_size=4 [21:09:02]MH_SAM_APDU [21:09:02]CAPDU: 80 0D 03 02 [21:09:02]Write to MH i2c: E2 08 00 F3 06 80 0D 03 02 00 00 00 00 74 [21:09:02]Write i2c OK [21:09:02]MH_I2C_Read... [21:09:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:09:02]Read from MH i2c: E2 [21:09:02]MH_I2C_Read... [21:09:02]Read from MH i2c: E2 0B 00 [21:09:02]MH_I2C_Read... [21:09:02]Read from MH i2c: E2 0B 00 F3 06 00 1D 55 42 4A 48 BE 9D CA 90 00 E0 [21:09:02]RAPDU: 1D 55 42 4A 48 BE 9D CA 90 00 [21:09:02]wFMCommunicate OK [21:09:02]SAM_PROTO_SignData done [21:09:02]FM_MakeSignedData done [21:09:02]CreateOFDProtocolMessage [21:09:02]wFMCommunicate request_size=4 [21:09:02]MH_SAM_APDU [21:09:02]CAPDU: 80 11 00 00 [21:09:02]Write to MH i2c: E2 08 00 F4 06 80 11 00 00 00 00 00 00 74 [21:09:02]Write i2c OK [21:09:02]MH_I2C_Read... [21:09:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:09:02]Read from MH i2c: E2 [21:09:02]MH_I2C_Read... [21:09:02]Read from MH i2c: E2 17 00 [21:09:02]MH_I2C_Read... [21:09:02]Read from MH i2c: E2 17 00 F4 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 CD [21:09:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [21:09:02]wFMCommunicate OK [21:09:02]CreateOFDProtocolMessage done [21:09:02]OFDSenderStorePacket 27083 [21:09:02]StoreOFDPacket docnum=27083 [21:09:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 99 02 00 00 4F D6 91 02 7F 4D 5A 03 01 00 03 00 85 02 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 38 36 06 04 3F 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D1 8B D1 80 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B0 D0 BF D0 B5 D0 BD D1 8C D0 BE 20 35 35 20 D0 B3 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 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 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 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 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 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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 AE 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 12 00 00 00 00 07 04 06 00 38 AE 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 6E B3 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 CB 69 00 00 35 04 06 00 1E 24 76 B5 73 50 1D 55 42 4A 48 BE 9D CA [21:09:02]CheckFolder [21:09:02]dirname=/storage/ofd_packets [21:09:02]CheckFolder done [21:09:02]ProducePacketName [21:09:02]name=ofd_packets/00027083 [21:09:02]NVStorageSaveData ofd_packets/00027083 [21:09:02]File name is /storage/ofd_packets/00027083 [21:09:02]Write 695 bytes [21:09:02]NVStorageSaveData done [21:09:02]OFDSenderStorePacket done [21:09:02]KKMCreateOFDPacket done [21:09:02]NVStorageSaveData kkm_last_timestamp [21:09:02]File name is /storage/kkm_last_timestamp [21:09:02]Write 4 bytes [21:09:02]NVStorageSaveData done [21:09:02]ExternCall_PrintAddStr [21:09:02]wPrintStart [21:09:02]Write to MH i2c: 01 00 00 F5 06 FB [21:09:02]Write i2c OK [21:09:02]MH_I2C_Read... [21:09:02]Read from MH i2c: 01 [21:09:02]MH_I2C_Read... [21:09:02]Read from MH i2c: 01 07 00 [21:09:02]MH_I2C_Read... [21:09:02]Read from MH i2c: 01 07 00 F5 06 00 00 00 00 00 FF 0F 10 [21:09:02]RasterBufferAndPrint [21:09:02]line Счет N : (3)150481 [21:09:02]line ИНН: 02508201610067 [21:09:02]line Контрольно-Кассовый Чек [21:09:02]line ПРОДАЖА [21:09:02]line Товар: 4870235681086 [21:09:02]line Grizzly волнистые Сыр с халапеньо 55 гр [21:09:02]line 2.000 * 90.00 [21:09:02]line = 180.00 [21:09:02]line НДС 12% НСП 1% [21:09:02]line > о реализуемом товаре [21:09:02]line Товар: 4700000160204 [21:09:02]line Вода Легенда 1,5л [21:09:02]line 1.000 * 60.00 [21:09:02]line = 60.00 [21:09:02]line НДС 12% НСП 1% [21:09:02]line > о реализуемом товаре [21:09:02]line Товар: 4700000483297 [21:09:02]line Энергетический напиток Nitro Ананас-гуав [21:09:02]line 1.000 * 95.00 [21:09:02]line = 95.00 [21:09:02]line НДС 12% НСП 1% [21:09:02]line > о реализуемом товаре [21:09:02]line Товар: 4870001570071 [21:09:02]line Напиток Pepsi 1л [21:09:02]line 1.000 * 111.00 [21:09:02]line = 111.00 [21:09:02]line НДС 12% НСП 1% [21:09:02]line > о реализуемом товаре [21:09:02]line ИТОГО: 446.00 [21:09:02]line НСП 1% : 3.94 [21:09:02]line НДС 12% : 47.36 [21:09:02]line Наличными: 446.00 [21:09:02]line Безнал.: 0.00 [21:09:02]line Место: АЗС № 134 "Партнер Нефть" [21:09:02]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [21:09:02]line СНО: Общий режим [21:09:02]line Чек 61 28.07.2024 21:09 [21:09:02]line Смена: 433 ФФД: 1.0 [21:09:02]line ЗНМ: 0300000043 [21:09:02]line РНМ: 0000000000092663 [21:09:02]line Версия ККМ: 001 [21:09:02]line ФМ: 0000000000874937 [21:09:02]line ФД: 27083 [21:09:02]line ФПД: 33141959258960 [21:09:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T210902&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27083&fm=33141959258960&tin=02508201610067®Number=0000000000092663&sum=44600 [21:09:02]OFD Sender: Processing packet 27083 [packets to send 9, broken 8] [21:09:02]ProducePacketName [21:09:02]name=ofd_packets/00027083 [21:09:02]OFD Sender: To server: pG, [21:09:02]CommunicateWithHost lk.salyk.kg:30040 [21:09:02]ConnectInit lk.salyk.kg [21:09:02]line 0 [21:09:02]written 0, free lines is 4095 [21:09:02]Connected sock=10 [21:09:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 99 02 00 00 4F D6 91 02 7F 4D 5A 03 01 00 03 00 85 02 1E 04 01 00 01 23 04 83 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 38 36 06 04 3F 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D1 8B D1 80 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B0 D0 BF D0 B5 D0 BD D1 8C D0 BE 20 35 35 20 D0 B3 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 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 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 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 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 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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 AE 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 12 00 00 00 00 07 04 06 00 38 AE 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 6E B3 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 CB 69 00 00 35 04 06 00 1E 24 76 B5 73 50 1D 55 42 4A 48 BE 9D CA [21:09:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 F0 E2 47 00 13 1C 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 38 37 34 39 33 37 10 04 04 00 CB 69 00 00 F4 03 04 00 C1 59 A6 66 B6 04 01 00 00 90 6B 4B 74 64 5F D0 31 [21:09:02]CommunicateWithHost err = 0 [21:09:02]CheckOFDResponse [21:09:02]1017 (14) - 77093643461234 [21:09:02]1041 (16) - 0000000000874937 [21:09:02]1040 (4) - 27083 [21:09:02]1012 (4) - 28.07.2024 14:46 [21:09:02]1206 (1) - 0 [21:09:02]OFD Sender: Remove packet 27083 [21:09:02]ProducePacketName [21:09:02]name=ofd_packets/00027083 [21:09:02]NVStorageDeleteData [21:09:03]Write to MH i2c: 01 00 00 30 07 37 [21:09:03]Write i2c OK [21:09:03]MH_I2C_Read... [21:09:03]Read from MH i2c: 01 [21:09:03]MH_I2C_Read... [21:09:03]Read from MH i2c: 01 07 00 [21:09:03]MH_I2C_Read... [21:09:03]Read from MH i2c: 01 07 00 30 07 00 00 00 00 00 B8 0B 01 [21:09:03]RasterBufferAndPrint [21:09:03]line [21:09:03]line [21:09:03]line [21:09:03]line [21:09:03]line [21:09:03]written 0, free lines is 3009 [21:09:03]MH_Cut [21:09:03]Write to MH i2c: D1 01 00 37 07 01 10 [21:09:03]Write i2c OK [21:09:03]MH_I2C_Read... [21:09:03]Read from MH i2c: D1 [21:09:03]MH_I2C_Read... [21:09:03]Read from MH i2c: D1 01 00 [21:09:03]MH_I2C_Read... [21:09:03]Read from MH i2c: D1 01 00 37 07 00 0F [21:09:03]Write to MH i2c: 01 00 00 38 07 3F [21:09:03]Write i2c OK [21:09:03]MH_I2C_Read... [21:09:03]OFD Sender: No OFD packet to send [21:09:04]*** Cut start [21:09:04]*** Partial cut [21:09:04]*** CUTSNS_PIN = 1 [21:09:04]*** CUTSNS_PIN = 0 [21:09:04]*** Brake cut motor [21:09:04]Read from MH i2c: 01 [21:09:04]MH_I2C_Read... [21:09:04]*** Stop cut motor [21:09:04]*** Cut end [21:09:04]Read from MH i2c: 01 07 00 [21:09:04]MH_I2C_Read... [21:09:04]Read from MH i2c: 01 07 00 38 07 00 00 00 00 00 FF 0F 54 [21:09:04]process_action close_receipt done [21:09:04]requested_data is exist [21:09:04]produce_requested_data [21:09:04]requested_item fm.sn is exist - process it [21:09:04]wFMCommunicate request_size=4 [21:09:04]MH_SAM_APDU [21:09:04]CAPDU: 80 11 00 00 [21:09:04]Write to MH i2c: E2 08 00 39 07 80 11 00 00 00 00 00 00 BA [21:09:04]Write i2c OK [21:09:04]MH_I2C_Read... [21:09:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:09:04]Read from MH i2c: E2 [21:09:04]MH_I2C_Read... [21:09:04]Read from MH i2c: E2 17 00 [21:09:04]MH_I2C_Read... [21:09:04]Read from MH i2c: E2 17 00 39 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 13 [21:09:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [21:09:04]wFMCommunicate OK [21:09:04]requested_item fd.num is exist - process it [21:09:04]SAM_PROTO_GetFieldsCounters [21:09:04]wFMCommunicate request_size=4 [21:09:04]MH_SAM_APDU [21:09:04]CAPDU: 80 13 00 00 [21:09:04]Write to MH i2c: E2 08 00 3A 07 80 13 00 00 00 00 00 00 BD [21:09:04]Write i2c OK [21:09:04]MH_I2C_Read... [21:09:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:09:04]Read from MH i2c: E2 [21:09:04]MH_I2C_Read... [21:09:04]Read from MH i2c: E2 62 00 [21:09:04]MH_I2C_Read... [21:09:04]Read from MH i2c: E2 62 00 3A 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 CB 69 00 00 0E 04 04 00 B1 01 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 82 [21:09:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 CB 69 00 00 0E 04 04 00 B1 01 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 [21:09:04]wFMCommunicate OK [21:09:04]SAM_PROTO_GetFieldsCounters done [21:09:04]requested_item shift.num is exist - process it [21:09:04]requested_item shift.opened is exist - process it [21:09:04]req_shift_opened [21:09:04]FM_GetShiftState [21:09:04]SAM_PROTO_GetShiftState [21:09:04]wFMCommunicate request_size=4 [21:09:04]MH_SAM_APDU [21:09:04]CAPDU: 80 13 01 00 [21:09:04]Write to MH i2c: E2 08 00 3B 07 80 13 01 00 00 00 00 00 BF [21:09:04]Write i2c OK [21:09:04]MH_I2C_Read... [21:09:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:09:04]Read from MH i2c: E2 [21:09:04]MH_I2C_Read... [21:09:04]Read from MH i2c: E2 0E 00 [21:09:04]MH_I2C_Read... [21:09:04]Read from MH i2c: E2 0E 00 3B 07 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 E7 [21:09:04]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [21:09:04]wFMCommunicate OK [21:09:04]SAM_PROTO_GetShiftState done [21:09:04]FM_GetShiftState done [21:09:04]req_shift_opened done [21:09:04]requested_item shift.open_date is exist - process it [21:09:04]req_shift_open_date [21:09:04]req_shift_open_date done [21:09:04]produce_requested_data done [21:09:04]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27083,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [21:09:04]process_action_free close_receipt [21:09:04]json_value_free [21:09:04]json_value_free done [21:09:04]process_json_proto returns [21:09:04]Send response to host [21:09:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27083,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [21:09:04]free response buf [21:09:04]execute_script done [21:09:04]execute_script returns [21:09:04]free content buf [21:09:04]Sock 9.Close socket [21:09:04]Sock 9.Thread stoped [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:53]OFD Sender: No OFD packet to send [21:09:58]OFD Sender: No OFD packet to send [21:10:03]OFD Sender: No OFD packet to send [21:10:08]OFD Sender: No OFD packet to send [21:10:13]OFD Sender: No OFD packet to send [21:10:18]OFD Sender: No OFD packet to send [21:10:23]OFD Sender: No OFD packet to send [21:10:28]OFD Sender: No OFD packet to send [21:10:33]OFD Sender: No OFD packet to send [21:10:38]OFD Sender: No OFD packet to send [21:10:43]OFD Sender: No OFD packet to send [21:10:48]OFD Sender: No OFD packet to send [21:10:53]OFD Sender: No OFD packet to send [21:10:58]OFD Sender: No OFD packet to send [21:11:03]OFD Sender: No OFD packet to send [21:11:08]OFD Sender: No OFD packet to send [21:11:13]OFD Sender: No OFD packet to send [21:11:18]OFD Sender: No OFD packet to send [21:11:23]OFD Sender: No OFD packet to send [21:11:28]OFD Sender: No OFD packet to send [21:11:33]OFD Sender: No OFD packet to send [21:11:38]OFD Sender: No OFD packet to send [21:11:43]OFD Sender: No OFD packet to send [21:11:48]OFD Sender: No OFD packet to send [21:11:53]OFD Sender: No OFD packet to send [21:11:58]OFD Sender: No OFD packet to send [21:12:03]OFD Sender: No OFD packet to send [21:12:08]OFD Sender: No OFD packet to send [21:12:13]OFD Sender: No OFD packet to send [21:12:18]OFD Sender: No OFD packet to send [21:12:23]OFD Sender: No OFD packet to send [21:12:28]OFD Sender: No OFD packet to send [21:12:33]OFD Sender: No OFD packet to send [21:12:38]OFD Sender: No OFD packet to send [21:12:43]OFD Sender: No OFD packet to send [21:12:48]OFD Sender: No OFD packet to send [21:12:53]OFD Sender: No OFD packet to send [21:12:58]OFD Sender: No OFD packet to send [21:13:03]OFD Sender: No OFD packet to send [21:13:08]OFD Sender: No OFD packet to send [21:13:13]OFD Sender: No OFD packet to send [21:13:18]OFD Sender: No OFD packet to send [21:13:23]OFD Sender: No OFD packet to send [21:13:28]OFD Sender: No OFD packet to send [21:13:33]OFD Sender: No OFD packet to send [21:13:38]OFD Sender: No OFD packet to send [21:13:43]OFD Sender: No OFD packet to send [21:13:48]OFD Sender: No OFD packet to send [21:13:53]OFD Sender: No OFD packet to send [21:13:58]OFD Sender: No OFD packet to send [21:14:03]OFD Sender: No OFD packet to send [21:14:08]OFD Sender: No OFD packet to send [21:14:13]OFD Sender: No OFD packet to send [21:14:18]OFD Sender: No OFD packet to send [21:14:23]OFD Sender: No OFD packet to send [21:14:28]OFD Sender: No OFD packet to send [21:14:33]OFD Sender: No OFD packet to send [21:14:38]OFD Sender: No OFD packet to send [21:14:43]OFD Sender: No OFD packet to send [21:14:48]OFD Sender: No OFD packet to send [21:14:53]OFD Sender: No OFD packet to send [21:14:58]OFD Sender: No OFD packet to send [21:15:03]OFD Sender: No OFD packet to send [21:15:08]OFD Sender: No OFD packet to send [21:15:13]OFD Sender: No OFD packet to send [21:15:18]OFD Sender: No OFD packet to send [21:15:23]OFD Sender: No OFD packet to send [21:15:28]OFD Sender: No OFD packet to send [21:15:33]OFD Sender: No OFD packet to send [21:15:38]OFD Sender: No OFD packet to send [21:15:43]OFD Sender: No OFD packet to send [21:15:48]OFD Sender: No OFD packet to send [21:15:53]OFD Sender: No OFD packet to send [21:15:58]OFD Sender: No OFD packet to send [21:16:03]OFD Sender: No OFD packet to send [21:16:08]OFD Sender: No OFD packet to send [21:16:13]OFD Sender: No OFD packet to send [21:16:18]OFD Sender: No OFD packet to send [21:16:23]OFD Sender: No OFD packet to send [21:16:28]OFD Sender: No OFD packet to send [21:16:33]OFD Sender: No OFD packet to send [21:16:38]OFD Sender: No OFD packet to send [21:16:43]OFD Sender: No OFD packet to send [21:16:48]OFD Sender: No OFD packet to send [21:16:53]OFD Sender: No OFD packet to send [21:16:58]OFD Sender: No OFD packet to send [21:17:03]OFD Sender: No OFD packet to send [21:17:08]OFD Sender: No OFD packet to send [21:17:13]OFD Sender: No OFD packet to send [21:17:18]OFD Sender: No OFD packet to send [21:17:23]OFD Sender: No OFD packet to send [21:17:28]OFD Sender: No OFD packet to send [21:17:33]OFD Sender: No OFD packet to send [21:17:38]OFD Sender: No OFD packet to send [21:17:43]OFD Sender: No OFD packet to send [21:17:48]OFD Sender: No OFD packet to send [21:17:53]OFD Sender: No OFD packet to send [21:17:58]OFD Sender: No OFD packet to send [21:18:03]OFD Sender: No OFD packet to send [21:18:08]OFD Sender: No OFD packet to send [21:18:13]OFD Sender: No OFD packet to send [21:18:18]OFD Sender: No OFD packet to send [21:18:23]OFD Sender: No OFD packet to send [21:18:28]OFD Sender: No OFD packet to send [21:18:33]OFD Sender: No OFD packet to send [21:18:38]OFD Sender: No OFD packet to send [21:18:43]OFD Sender: No OFD packet to send [21:18:48]OFD Sender: No OFD packet to send [21:18:53]OFD Sender: No OFD packet to send [21:18:58]OFD Sender: No OFD packet to send [21:19:03]OFD Sender: No OFD packet to send [21:19:08]OFD Sender: No OFD packet to send [21:19:13]OFD Sender: No OFD packet to send [21:19:18]OFD Sender: No OFD packet to send [21:19:23]OFD Sender: No OFD packet to send [21:19:28]OFD Sender: No OFD packet to send [21:19:33]OFD Sender: No OFD packet to send [21:19:38]OFD Sender: No OFD packet to send [21:19:43]OFD Sender: No OFD packet to send [21:19:48]OFD Sender: No OFD packet to send [21:19:53]OFD Sender: No OFD packet to send [21:19:58]OFD Sender: No OFD packet to send [21:20:03]OFD Sender: No OFD packet to send [21:20:08]OFD Sender: No OFD packet to send [21:20:13]OFD Sender: No OFD packet to send [21:20:18]OFD Sender: No OFD packet to send [21:20:23]OFD Sender: No OFD packet to send [21:20:28]OFD Sender: No OFD packet to send [21:20:33]OFD Sender: No OFD packet to send [21:20:38]OFD Sender: No OFD packet to send [21:20:43]OFD Sender: No OFD packet to send [21:20:48]OFD Sender: No OFD packet to send [21:20:53]OFD Sender: No OFD packet to send [21:20:58]OFD Sender: No OFD packet to send [21:21:03]OFD Sender: No OFD packet to send [21:21:08]OFD Sender: No OFD packet to send [21:21:13]OFD Sender: No OFD packet to send [21:21:18]OFD Sender: No OFD packet to send [21:21:23]OFD Sender: No OFD packet to send [21:21:28]OFD Sender: No OFD packet to send [21:21:33]OFD Sender: No OFD packet to send [21:21:38]OFD Sender: No OFD packet to send [21:21:43]OFD Sender: No OFD packet to send [21:21:48]OFD Sender: No OFD packet to send [21:21:53]OFD Sender: No OFD packet to send [21:21:58]OFD Sender: No OFD packet to send [21:22:03]OFD Sender: No OFD packet to send [21:22:08]OFD Sender: No OFD packet to send [21:22:13]OFD Sender: No OFD packet to send [21:22:18]OFD Sender: No OFD packet to send [21:22:23]OFD Sender: No OFD packet to send [21:22:28]OFD Sender: No OFD packet to send [21:22:33]OFD Sender: No OFD packet to send [21:22:38]OFD Sender: No OFD packet to send [21:22:43]OFD Sender: No OFD packet to send [21:22:48]OFD Sender: No OFD packet to send [21:22:53]OFD Sender: No OFD packet to send [21:22:58]OFD Sender: No OFD packet to send [21:23:03]OFD Sender: No OFD packet to send [21:23:08]OFD Sender: No OFD packet to send [21:23:13]OFD Sender: No OFD packet to send [21:23:18]OFD Sender: No OFD packet to send [21:23:23]OFD Sender: No OFD packet to send [21:23:28]OFD Sender: No OFD packet to send [21:23:33]OFD Sender: No OFD packet to send [21:23:39]OFD Sender: No OFD packet to send [21:23:44]OFD Sender: No OFD packet to send [21:23:49]OFD Sender: No OFD packet to send [21:23:54]OFD Sender: No OFD packet to send [21:23:59]OFD Sender: No OFD packet to send [21:24:04]OFD Sender: No OFD packet to send [21:24:09]OFD Sender: No OFD packet to send [21:24:14]OFD Sender: No OFD packet to send [21:24:19]OFD Sender: No OFD packet to send [21:24:24]OFD Sender: No OFD packet to send [21:24:29]OFD Sender: No OFD packet to send [21:24:34]OFD Sender: No OFD packet to send [21:24:39]OFD Sender: No OFD packet to send [21:24:44]OFD Sender: No OFD packet to send [21:24:49]OFD Sender: No OFD packet to send [21:24:54]OFD Sender: No OFD packet to send [21:24:59]OFD Sender: No OFD packet to send [21:25:04]OFD Sender: No OFD packet to send [21:25:09]OFD Sender: No OFD packet to send [21:25:14]OFD Sender: No OFD packet to send [21:25:19]OFD Sender: No OFD packet to send [21:25:24]OFD Sender: No OFD packet to send [21:25:29]OFD Sender: No OFD packet to send [21:25:34]OFD Sender: No OFD packet to send [21:25:39]OFD Sender: No OFD packet to send [21:25:44]OFD Sender: No OFD packet to send [21:25:49]OFD Sender: No OFD packet to send [21:25:54]OFD Sender: No OFD packet to send [21:25:59]OFD Sender: No OFD packet to send [21:26:04]OFD Sender: No OFD packet to send [21:26:09]OFD Sender: No OFD packet to send [21:26:14]OFD Sender: No OFD packet to send [21:26:19]OFD Sender: No OFD packet to send [21:26:19]accept exits with 8 [21:26:19]New connection [21:26:19]New thread 3066928484 created [21:26:19]Thread 3066785124 joined [21:26:19]Waiting for new connection... [21:26:19] Sock 8.Parse request [21:26:19]Sock 8.Check first char [21:26:19]Sock 8.First char is OK [21:26:19]request: POST /json_proto HTTP/1.0 [21:26:19]Method: POST [21:26:19]URL: /json_proto [21:26:19]Method is POST - this is cgi request [21:26:19]url: /json_proto [21:26:19]query_string will be loaded in cgi processing [21:26:19]execute_cgi json_proto POST (null) [21:26:19]execute_cgi path=json_proto method=POST [21:26:19]POST find Content-Length [21:26:19]Host: 172.17.45.8:8080 [21:26:19]Content-Length: 955 [21:26:19]Content-Type: application/json [21:26:19] [21:26:19]POST finish read [21:26:19]Found Content-Length = 955 [21:26:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150482", "tax_sys" : 0, "items" : [ { "code": "5449000273673", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 1\u043B", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745024", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Superslims Expand Purpl", "price" : 140.00, "quantity" : 2.000, "sum" : 280.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 460.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:26:19]execute_script... [21:26: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)150482", "tax_sys" : 0, "items" : [ { "code": "5449000273673", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 1\u043B", "price" : 180.00, "quantity" : 1.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745024", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Superslims Expand Purpl", "price" : 140.00, "quantity" : 2.000, "sum" : 280.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 460.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:26:19]POST & json_proto [21:26:19]process_json_proto [21:26:19]json parsed OK: [21:26:19]protocol is kg_v1.0 [21:26:19]action value=close_receipt [21:26:19]process_action close_receipt [21:26:19]cmd_close_receipt [21:26:19]MH_GetDate [21:26:19]Write to MH i2c: F0 00 00 3C 07 32 [21:26:19]Write i2c OK [21:26:19]MH_I2C_Read... [21:26:19]Read from MH i2c: F0 [21:26:19]MH_I2C_Read... [21:26:19]Read from MH i2c: F0 09 00 [21:26:19]MH_I2C_Read... [21:26:19]Read from MH i2c: F0 09 00 3C 07 00 7D B7 A6 66 A6 1F 7F 64 23 [21:26:19]GetLastDocTimeStamp 1722200942 [21:26:19]current date 1722201981 [21:26:19]FM_GetShiftState [21:26:19]SAM_PROTO_GetShiftState [21:26:19]wFMCommunicate request_size=4 [21:26:19]MH_SAM_APDU [21:26:19]CAPDU: 80 13 01 00 [21:26:19]Write to MH i2c: E2 08 00 3D 07 80 13 01 00 00 00 00 00 C1 [21:26:19]Write i2c OK [21:26:19]MH_I2C_Read... [21:26:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:26:19]Read from MH i2c: E2 [21:26:19]MH_I2C_Read... [21:26:19]Read from MH i2c: E2 0E 00 [21:26:19]MH_I2C_Read... [21:26:19]Read from MH i2c: E2 0E 00 3D 07 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 E9 [21:26:19]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [21:26:19]wFMCommunicate OK [21:26:19]SAM_PROTO_GetShiftState done [21:26:19]FM_GetShiftState done [21:26:19]opened in 1722127230 [21:26:19]opened+sec_in_day 1722213630 [21:26:19]quantity*price = 18000 [21:26:19]sum+1 = 18001 [21:26:19]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48745024 Сигареты Winston Superslims Expand Purpl 2.000 * 140.00 = 280.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 460.00 НСП 1% : 4.07 НДС 12% : 48.84 Наличными: 460.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 62 28.07.2024 21:26 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27084 ФПД: 247826461746911 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T212621&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27084&fm=247826461746911&tin=02508201610067®Number=0000000000092663&sum=46000 0 [21:26:20]StoreToDocumentArchive [21:26:20]shift 433 fd 27084 [21:26:20]save to /storage/0433/doc_00027084 [21:26:20]save last doc name /storage/0433/doc_00027084 to /storage/kkm_last_doc_name [21:26:20]save OK [21:26:20]Clear old archive folders... [21:26:20]ProcessDocumentItem done err = 0, tmpTLVsize=417 [21:26:20]tlvbuf is 001CB650 [21:26:20]SAM_PROTO_ClearQueue [21:26:20]wFMCommunicate request_size=4 [21:26:20]MH_SAM_APDU [21:26:20]CAPDU: 80 09 00 00 [21:26:20]Write to MH i2c: E2 08 00 4A 07 80 09 00 00 00 00 00 00 C3 [21:26:20]Write i2c OK [21:26:20]MH_I2C_Read... [21:26:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:26:20]Read from MH i2c: E2 [21:26:20]MH_I2C_Read... [21:26:20]Read from MH i2c: E2 03 00 [21:26:20]MH_I2C_Read... [21:26:20]Read from MH i2c: E2 03 00 4A 07 00 90 00 C5 [21:26:20]RAPDU: 90 00 [21:26:20]wFMCommunicate OK [21:26:20]SAM_PROTO_ClearQueue done [21:26:20]KKMCreateOFDPacket [21:26:20]OFDProtocolAddRootSTLVToBuf [21:26:20]FM_MakeSignedData [21:26:20]FM_MakeSignedData [21:26:20]SAM_PROTO_SignData [21:26:20]wFMCommunicate request_size=4 [21:26:20]MH_SAM_APDU [21:26:20]CAPDU: 80 0D 01 02 [21:26:20]Write to MH i2c: E2 08 00 4B 07 80 0D 01 02 00 00 00 00 CB [21:26:20]Write i2c OK [21:26:20]MH_I2C_Read... [21:26:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:26:20]Read from MH i2c: E2 [21:26:20]MH_I2C_Read... [21:26:20]Read from MH i2c: E2 03 00 [21:26:20]MH_I2C_Read... [21:26:20]Read from MH i2c: E2 03 00 4B 07 00 90 00 C6 [21:26:20]RAPDU: 90 00 [21:26:20]wFMCommunicate OK [21:26:20]wFMCommunicate request_size=255 [21:26:20]MH_SAM_APDU [21:26:20]CAPDU: 80 0D 02 02 FA 03 00 A1 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 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 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 23 04 6F 00 8A 04 08 00 34 38 37 34 35 30 32 34 06 04 30 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 50 75 72 70 6C FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 [21:26:20]Write to MH i2c: E2 02 01 4C 07 80 0D 02 02 FA 00 03 00 A1 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 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 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 23 04 6F 00 8A 04 08 00 34 38 37 34 35 30 32 34 06 04 30 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 50 75 72 70 6C FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 00 00 A2 [21:26:20]Write i2c OK [21:26:20]MH_I2C_Read... [21:26:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:26:20]Read from MH i2c: E2 [21:26:20]MH_I2C_Read... [21:26:20]Read from MH i2c: E2 03 00 [21:26:20]MH_I2C_Read... [21:26:20]Read from MH i2c: E2 03 00 4C 07 00 90 00 C7 [21:26:20]RAPDU: 90 00 [21:26:20]wFMCommunicate OK [21:26:20]wFMCommunicate request_size=176 [21:26:20]MH_SAM_APDU [21:26:20]CAPDU: 80 0D 02 02 AB 01 BC 04 01 00 01 FC 03 06 00 B0 B3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 13 00 00 00 00 07 04 06 00 B0 B3 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 7D B7 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 CC 69 00 00 35 04 06 00 E1 65 98 37 E6 DF [21:26:20]Write to MH i2c: E2 B3 00 4D 07 80 0D 02 02 AB 00 01 BC 04 01 00 01 FC 03 06 00 B0 B3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 13 00 00 00 00 07 04 06 00 B0 B3 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 7D B7 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 CC 69 00 00 35 04 06 00 E1 65 98 37 E6 DF 00 00 F4 [21:26:20]Write i2c OK [21:26:20]MH_I2C_Read... [21:26:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:26:21]Read from MH i2c: E2 [21:26:21]MH_I2C_Read... [21:26:21]Read from MH i2c: E2 03 00 [21:26:21]MH_I2C_Read... [21:26:21]Read from MH i2c: E2 03 00 4D 07 00 90 00 C8 [21:26:21]RAPDU: 90 00 [21:26:21]wFMCommunicate OK [21:26:21]wFMCommunicate request_size=4 [21:26:21]MH_SAM_APDU [21:26:21]CAPDU: 80 0D 03 02 [21:26:21]Write to MH i2c: E2 08 00 4E 07 80 0D 03 02 00 00 00 00 D0 [21:26:21]Write i2c OK [21:26:21]MH_I2C_Read... [21:26:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:26:21]Read from MH i2c: E2 [21:26:21]MH_I2C_Read... [21:26:21]Read from MH i2c: E2 0B 00 [21:26:21]MH_I2C_Read... [21:26:21]Read from MH i2c: E2 0B 00 4E 07 00 32 DD 3C 9B 7A 51 50 9B 90 00 6D [21:26:21]RAPDU: 32 DD 3C 9B 7A 51 50 9B 90 00 [21:26:21]wFMCommunicate OK [21:26:21]SAM_PROTO_SignData done [21:26:21]FM_MakeSignedData done [21:26:21]CreateOFDProtocolMessage [21:26:21]wFMCommunicate request_size=4 [21:26:21]MH_SAM_APDU [21:26:21]CAPDU: 80 11 00 00 [21:26:21]Write to MH i2c: E2 08 00 4F 07 80 11 00 00 00 00 00 00 D0 [21:26:21]Write i2c OK [21:26:21]MH_I2C_Read... [21:26:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:26:21]Read from MH i2c: E2 [21:26:21]MH_I2C_Read... [21:26:21]Read from MH i2c: E2 17 00 [21:26:21]MH_I2C_Read... [21:26:21]Read from MH i2c: E2 17 00 4F 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 29 [21:26:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [21:26:21]wFMCommunicate OK [21:26:21]CreateOFDProtocolMessage done [21:26:21]OFDSenderStorePacket 27084 [21:26:21]StoreOFDPacket docnum=27084 [21:26:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 B5 01 00 00 62 27 AD 01 6C 1E 5A 03 01 00 03 00 A1 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 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 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 23 04 6F 00 8A 04 08 00 34 38 37 34 35 30 32 34 06 04 30 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 50 75 72 70 6C FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 B3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 13 00 00 00 00 07 04 06 00 B0 B3 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 7D B7 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 CC 69 00 00 35 04 06 00 E1 65 98 37 E6 DF 32 DD 3C 9B 7A 51 50 9B [21:26:21]CheckFolder [21:26:21]dirname=/storage/ofd_packets [21:26:21]CheckFolder done [21:26:21]ProducePacketName [21:26:21]name=ofd_packets/00027084 [21:26:21]NVStorageSaveData ofd_packets/00027084 [21:26:21]File name is /storage/ofd_packets/00027084 [21:26:21]Write 467 bytes [21:26:21]NVStorageSaveData done [21:26:21]OFDSenderStorePacket done [21:26:21]KKMCreateOFDPacket done [21:26:21]NVStorageSaveData kkm_last_timestamp [21:26:21]File name is /storage/kkm_last_timestamp [21:26:21]Write 4 bytes [21:26:21]NVStorageSaveData done [21:26:21]ExternCall_PrintAddStr [21:26:21]wPrintStart [21:26:21]Write to MH i2c: 01 00 00 50 07 57 [21:26:21]Write i2c OK [21:26:21]MH_I2C_Read... [21:26:21]Read from MH i2c: 01 [21:26:21]MH_I2C_Read... [21:26:21]Read from MH i2c: 01 07 00 [21:26:21]MH_I2C_Read... [21:26:21]OFD Sender: Processing packet 27084 [packets to send 9, broken 8] [21:26:21]ProducePacketName [21:26:21]name=ofd_packets/00027084 [21:26:21]Read from MH i2c: OFD Sender: To server: pG, [21:26:21]01 CommunicateWithHost lk.salyk.kg:30040 [21:26:21]07 ConnectInit lk.salyk.kg [21:26:21]00 50 07 00 00 00 00 00 FF 0F 6C [21:26:21]RasterBufferAndPrint [21:26:21]line Счет N : (3)150482 [21:26:21]line ИНН: 02508201610067 [21:26:21]line Контрольно-Кассовый Чек [21:26:21]line ПРОДАЖА [21:26:21]line Товар: 5449000273673 [21:26:21]line Сок Piko Pulpy красный виноград ПЭТ 1л [21:26:21]line 1.000 * 180.00 [21:26:21]line = 180.00 [21:26:21]line НДС 12% НСП 1% [21:26:21]line > о реализуемом товаре [21:26:21]line Товар: 48745024 [21:26:21]line Сигареты Winston Superslims Expand Purpl [21:26:21]line 2.000 * 140.00 [21:26:21]line = 280.00 [21:26:21]line НДС 12% НСП 1% [21:26:21]line > о реализуемом товаре [21:26:21]line ИТОГО: 460.00 [21:26:21]line НСП 1% : 4.07 [21:26:21]line НДС 12% : 48.84 [21:26:21]line Наличными: 460.00 [21:26:21]line Безнал.: 0.00 [21:26:21]line Место: АЗС № 134 "Партнер Нефть" [21:26:21]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [21:26:21]line СНО: Общий режим [21:26:21]line Чек 62 28.07.2024 21:26 [21:26:21]line Смена: 433 ФФД: 1.0 [21:26:21]line ЗНМ: 0300000043 [21:26:21]line РНМ: 0000000000092663 [21:26:21]line Версия ККМ: 001 [21:26:21]line ФМ: 0000000000874937 [21:26:21]line ФД: 27084 [21:26:21]line ФПД: 247826461746911 [21:26:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T212621&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27084&fm=247826461746911&tin=02508201610067®Number=0000000000092663&sum=46000 [21:26:21]line 0 [21:26:21]written 0, free lines is 4095 [21:26:21]Connected sock=11 [21:26:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 B5 01 00 00 62 27 AD 01 6C 1E 5A 03 01 00 03 00 A1 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 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 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 23 04 6F 00 8A 04 08 00 34 38 37 34 35 30 32 34 06 04 30 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 50 75 72 70 6C FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 B3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 13 00 00 00 00 07 04 06 00 B0 B3 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 7D B7 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 CC 69 00 00 35 04 06 00 E1 65 98 37 E6 DF 32 DD 3C 9B 7A 51 50 9B [21:26:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 D1 39 47 00 CE CC 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 38 37 34 39 33 37 10 04 04 00 CC 69 00 00 F4 03 04 00 D0 5D A6 66 B6 04 01 00 00 CC F9 BF 22 36 12 56 7D [21:26:21]CommunicateWithHost err = 0 [21:26:21]CheckOFDResponse [21:26:21]1017 (14) - 77093643461234 [21:26:21]1041 (16) - 0000000000874937 [21:26:21]1040 (4) - 27084 [21:26:21]1012 (4) - 28.07.2024 15:03 [21:26:21]1206 (1) - 0 [21:26:21]OFD Sender: Remove packet 27084 [21:26:21]ProducePacketName [21:26:21]name=ofd_packets/00027084 [21:26:21]NVStorageDeleteData [21:26:21]Write to MH i2c: 01 00 00 7F 07 86 [21:26:21]Write i2c OK [21:26:21]MH_I2C_Read... [21:26:21]Read from MH i2c: 01 [21:26:21]MH_I2C_Read... [21:26:21]Read from MH i2c: 01 07 00 [21:26:21]MH_I2C_Read... [21:26:21]Read from MH i2c: 01 07 00 7F 07 00 00 00 00 00 76 0C 0F [21:26:21]RasterBufferAndPrint [21:26:21]line [21:26:21]line [21:26:21]line [21:26:21]line [21:26:21]line [21:26:21]written 0, free lines is 3199 [21:26:21]MH_Cut [21:26:21]Write to MH i2c: D1 01 00 86 07 01 5F [21:26:21]Write i2c OK [21:26:21]MH_I2C_Read... [21:26:21]Read from MH i2c: D1 [21:26:21]MH_I2C_Read... [21:26:21]Read from MH i2c: D1 01 00 [21:26:21]MH_I2C_Read... [21:26:21]Read from MH i2c: D1 01 00 86 07 00 5E [21:26:21]Write to MH i2c: 01 00 00 87 07 8E [21:26:21]Write i2c OK [21:26:21]MH_I2C_Read... [21:26:22]OFD Sender: No OFD packet to send [21:26:22]*** Cut start [21:26:22]*** Partial cut [21:26:22]*** CUTSNS_PIN = 1 [21:26:22]*** CUTSNS_PIN = 0 [21:26:23]*** Brake cut motor [21:26:23]Read from MH i2c: 01 [21:26:23]MH_I2C_Read... [21:26:23]*** Stop cut motor [21:26:23]*** Cut end [21:26:23]Read from MH i2c: 01 07 00 [21:26:23]MH_I2C_Read... [21:26:23]Read from MH i2c: 01 07 00 87 07 00 00 00 00 00 FF 0F A3 [21:26:23]process_action close_receipt done [21:26:23]requested_data is exist [21:26:23]produce_requested_data [21:26:23]requested_item fm.sn is exist - process it [21:26:23]wFMCommunicate request_size=4 [21:26:23]MH_SAM_APDU [21:26:23]CAPDU: 80 11 00 00 [21:26:23]Write to MH i2c: E2 08 00 88 07 80 11 00 00 00 00 00 00 09 [21:26:23]Write i2c OK [21:26:23]MH_I2C_Read... [21:26:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:26:23]Read from MH i2c: E2 [21:26:23]MH_I2C_Read... [21:26:23]Read from MH i2c: E2 17 00 [21:26:23]MH_I2C_Read... [21:26:23]Read from MH i2c: E2 17 00 88 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 62 [21:26:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [21:26:23]wFMCommunicate OK [21:26:23]requested_item fd.num is exist - process it [21:26:23]SAM_PROTO_GetFieldsCounters [21:26:23]wFMCommunicate request_size=4 [21:26:23]MH_SAM_APDU [21:26:23]CAPDU: 80 13 00 00 [21:26:23]Write to MH i2c: E2 08 00 89 07 80 13 00 00 00 00 00 00 0C [21:26:23]Write i2c OK [21:26:23]MH_I2C_Read... [21:26:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:26:23]Read from MH i2c: E2 [21:26:23]MH_I2C_Read... [21:26:23]Read from MH i2c: E2 62 00 [21:26:23]MH_I2C_Read... [21:26:23]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 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 CC 69 00 00 0E 04 04 00 B1 01 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 D5 [21:26:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 CC 69 00 00 0E 04 04 00 B1 01 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 [21:26:23]wFMCommunicate OK [21:26:23]SAM_PROTO_GetFieldsCounters done [21:26:23]requested_item shift.num is exist - process it [21:26:23]requested_item shift.opened is exist - process it [21:26:23]req_shift_opened [21:26:23]FM_GetShiftState [21:26:23]SAM_PROTO_GetShiftState [21:26:23]wFMCommunicate request_size=4 [21:26:23]MH_SAM_APDU [21:26:23]CAPDU: 80 13 01 00 [21:26:23]Write to MH i2c: E2 08 00 8A 07 80 13 01 00 00 00 00 00 0E [21:26:23]Write i2c OK [21:26:23]MH_I2C_Read... [21:26:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:26:23]Read from MH i2c: E2 [21:26:23]MH_I2C_Read... [21:26:23]Read from MH i2c: E2 0E 00 [21:26:23]MH_I2C_Read... [21:26:23]Read from MH i2c: E2 0E 00 8A 07 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 36 [21:26:23]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [21:26:23]wFMCommunicate OK [21:26:23]SAM_PROTO_GetShiftState done [21:26:23]FM_GetShiftState done [21:26:23]req_shift_opened done [21:26:23]requested_item shift.open_date is exist - process it [21:26:23]req_shift_open_date [21:26:23]req_shift_open_date done [21:26:23]produce_requested_data done [21:26:23]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27084,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [21:26:23]process_action_free close_receipt [21:26:23]json_value_free [21:26:23]json_value_free done [21:26:23]process_json_proto returns [21:26:23]Send response to host [21:26:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27084,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [21:26:23]free response buf [21:26:23]execute_script done [21:26:23]execute_script returns [21:26:23]free content buf [21:26:23]Sock 8.Close socket [21:26:23]Sock 8.Thread stoped [21:26:27]OFD Sender: No OFD packet to send [21:26:32]OFD Sender: No OFD packet to send [21:26:37]OFD Sender: No OFD packet to send [21:26:42]OFD Sender: No OFD packet to send [21:26:47]OFD Sender: No OFD packet to send [21:26:52]OFD Sender: No OFD packet to send [21:26:57]OFD Sender: No OFD packet to send [21:27:02]OFD Sender: No OFD packet to send [21:27:07]OFD Sender: No OFD packet to send [21:27:12]OFD Sender: No OFD packet to send [21:27:17]OFD Sender: No OFD packet to send [21:27:22]OFD Sender: No OFD packet to send [21:27:27]OFD Sender: No OFD packet to send [21:27:32]OFD Sender: No OFD packet to send [21:27:37]OFD Sender: No OFD packet to send [21:27:42]OFD Sender: No OFD packet to send [21:27:47]OFD Sender: No OFD packet to send [21:27:52]OFD Sender: No OFD packet to send [21:27:57]OFD Sender: No OFD packet to send [21:28:02]OFD Sender: No OFD packet to send [21:28:07]OFD Sender: No OFD packet to send [21:28:12]OFD Sender: No OFD packet to send [21:28:17]OFD Sender: No OFD packet to send [21:28:22]OFD Sender: No OFD packet to send [21:28:27]OFD Sender: No OFD packet to send [21:28:32]OFD Sender: No OFD packet to send [21:28:37]OFD Sender: No OFD packet to send [21:28:42]OFD Sender: No OFD packet to send [21:28:47]OFD Sender: No OFD packet to send [21:28:52]OFD Sender: No OFD packet to send [21:28:57]OFD Sender: No OFD packet to send [21:29:02]OFD Sender: No OFD packet to send [21:29:07]OFD Sender: No OFD packet to send [21:29:12]OFD Sender: No OFD packet to send [21:29:17]OFD Sender: No OFD packet to send [21:29:22]OFD Sender: No OFD packet to send [21:29:27]OFD Sender: No OFD packet to send [21:29:32]OFD Sender: No OFD packet to send [21:29:37]OFD Sender: No OFD packet to send [21:29:42]OFD Sender: No OFD packet to send [21:29:47]OFD Sender: No OFD packet to send [21:29:52]OFD Sender: No OFD packet to send [21:29:57]OFD Sender: No OFD packet to send [21:30:02]OFD Sender: No OFD packet to send [21:30:07]OFD Sender: No OFD packet to send [21:30:12]OFD Sender: No OFD packet to send [21:30:17]OFD Sender: No OFD packet to send [21:30:22]OFD Sender: No OFD packet to send [21:30:27]OFD Sender: No OFD packet to send [21:30:32]OFD Sender: No OFD packet to send [21:30:37]OFD Sender: No OFD packet to send [21:30:42]OFD Sender: No OFD packet to send [21:30:47]OFD Sender: No OFD packet to send [21:30:52]OFD Sender: No OFD packet to send [21:30:57]OFD Sender: No OFD packet to send [21:31:02]OFD Sender: No OFD packet to send [21:31:07]OFD Sender: No OFD packet to send [21:31:12]OFD Sender: No OFD packet to send [21:31:17]OFD Sender: No OFD packet to send [21:31:22]OFD Sender: No OFD packet to send [21:31:27]OFD Sender: No OFD packet to send [21:31:32]OFD Sender: No OFD packet to send [21:31:37]OFD Sender: No OFD packet to send [21:31:42]OFD Sender: No OFD packet to send [21:31:47]OFD Sender: No OFD packet to send [21:31:52]OFD Sender: No OFD packet to send [21:31:57]OFD Sender: No OFD packet to send [21:32:02]OFD Sender: No OFD packet to send [21:32:07]OFD Sender: No OFD packet to send [21:32:12]OFD Sender: No OFD packet to send [21:32:17]OFD Sender: No OFD packet to send [21:32:22]OFD Sender: No OFD packet to send [21:32:27]OFD Sender: No OFD packet to send [21:32:32]OFD Sender: No OFD packet to send [21:32:37]OFD Sender: No OFD packet to send [21:32:42]OFD Sender: No OFD packet to send [21:32:47]OFD Sender: No OFD packet to send [21:32:52]OFD Sender: No OFD packet to send [21:32:57]OFD Sender: No OFD packet to send [21:33:02]OFD Sender: No OFD packet to send [21:33:07]OFD Sender: No OFD packet to send [21:33:12]OFD Sender: No OFD packet to send [21:33:17]OFD Sender: No OFD packet to send [21:33:22]OFD Sender: No OFD packet to send [21:33:27]OFD Sender: No OFD packet to send [21:33:32]OFD Sender: No OFD packet to send [21:33:37]OFD Sender: No OFD packet to send [21:33:42]OFD Sender: No OFD packet to send [21:33:47]OFD Sender: No OFD packet to send [21:33:52]OFD Sender: No OFD packet to send [21:33:57]OFD Sender: No OFD packet to send [21:34:02]OFD Sender: No OFD packet to send [21:34:07]OFD Sender: No OFD packet to send [21:34:12]OFD Sender: No OFD packet to send [21:34:17]OFD Sender: No OFD packet to send [21:34:22]OFD Sender: No OFD packet to send [21:34:27]OFD Sender: No OFD packet to send [21:34:32]OFD Sender: No OFD packet to send [21:34:37]OFD Sender: No OFD packet to send [21:34:42]OFD Sender: No OFD packet to send [21:34:47]OFD Sender: No OFD packet to send [21:34:52]OFD Sender: No OFD packet to send [21:34:57]OFD Sender: No OFD packet to send [21:35:02]OFD Sender: No OFD packet to send [21:35:07]OFD Sender: No OFD packet to send [21:35:12]OFD Sender: No OFD packet to send [21:35:17]OFD Sender: No OFD packet to send [21:35:22]OFD Sender: No OFD packet to send [21:35:27]OFD Sender: No OFD packet to send [21:35:32]OFD Sender: No OFD packet to send [21:35:37]OFD Sender: No OFD packet to send [21:35:42]OFD Sender: No OFD packet to send [21:35:47]OFD Sender: No OFD packet to send [21:35:52]OFD Sender: No OFD packet to send [21:35:57]OFD Sender: No OFD packet to send [21:36:02]OFD Sender: No OFD packet to send [21:36:07]OFD Sender: No OFD packet to send [21:36:12]OFD Sender: No OFD packet to send [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:52]OFD Sender: No OFD packet to send [21:36:57]OFD Sender: No OFD packet to send [21:37:02]OFD Sender: No OFD packet to send [21:37:07]OFD Sender: No OFD packet to send [21:37:12]OFD Sender: No OFD packet to send [21:37:17]OFD Sender: No OFD packet to send [21:37:22]OFD Sender: No OFD packet to send [21:37:27]OFD Sender: No OFD packet to send [21:37:32]OFD Sender: No OFD packet to send [21:37:37]OFD Sender: No OFD packet to send [21:37:42]OFD Sender: No OFD packet to send [21:37:47]OFD Sender: No OFD packet to send [21:37:52]OFD Sender: No OFD packet to send [21:37:57]OFD Sender: No OFD packet to send [21:38:02]OFD Sender: No OFD packet to send [21:38:07]OFD Sender: No OFD packet to send [21:38:12]OFD Sender: No OFD packet to send [21:38:17]OFD Sender: No OFD packet to send [21:38:22]OFD Sender: No OFD packet to send [21:38:27]OFD Sender: No OFD packet to send [21:38:32]OFD Sender: No OFD packet to send [21:38:37]OFD Sender: No OFD packet to send [21:38:42]OFD Sender: No OFD packet to send [21:38:47]OFD Sender: No OFD packet to send [21:38:52]OFD Sender: No OFD packet to send [21:38:57]OFD Sender: No OFD packet to send [21:39:02]OFD Sender: No OFD packet to send [21:39:07]OFD Sender: No OFD packet to send [21:39:12]OFD Sender: No OFD packet to send [21:39:17]OFD Sender: No OFD packet to send [21:39:22]OFD Sender: No OFD packet to send [21:39:27]OFD Sender: No OFD packet to send [21:39:32]OFD Sender: No OFD packet to send [21:39:37]OFD Sender: No OFD packet to send [21:39:42]OFD Sender: No OFD packet to send [21:39:47]OFD Sender: No OFD packet to send [21:39:52]OFD Sender: No OFD packet to send [21:39:57]OFD Sender: No OFD packet to send [21:40:02]OFD Sender: No OFD packet to send [21:40:07]OFD Sender: No OFD packet to send [21:40:12]OFD Sender: No OFD packet to send [21:40:17]OFD Sender: No OFD packet to send [21:40:22]OFD Sender: No OFD packet to send [21:40:27]OFD Sender: No OFD packet to send [21:40:32]OFD Sender: No OFD packet to send [21:40:37]OFD Sender: No OFD packet to send [21:40:42]OFD Sender: No OFD packet to send [21:40:47]OFD Sender: No OFD packet to send [21:40:52]OFD Sender: No OFD packet to send [21:40:57]OFD Sender: No OFD packet to send [21:41:02]OFD Sender: No OFD packet to send [21:41:07]OFD Sender: No OFD packet to send [21:41:12]OFD Sender: No OFD packet to send [21:41:17]OFD Sender: No OFD packet to send [21:41:22]OFD Sender: No OFD packet to send [21:41:27]OFD Sender: No OFD packet to send [21:41:32]OFD Sender: No OFD packet to send [21:41:37]OFD Sender: No OFD packet to send [21:41:42]OFD Sender: No OFD packet to send [21:41:47]OFD Sender: No OFD packet to send [21:41:52]OFD Sender: No OFD packet to send [21:41:57]OFD Sender: No OFD packet to send [21:42:03]OFD Sender: No OFD packet to send [21:42:08]OFD Sender: No OFD packet to send [21:42:13]OFD Sender: No OFD packet to send [21:42:18]OFD Sender: No OFD packet to send [21:42:23]OFD Sender: No OFD packet to send [21:42:28]OFD Sender: No OFD packet to send [21:42:33]OFD Sender: No OFD packet to send [21:42:38]OFD Sender: No OFD packet to send [21:42:43]OFD Sender: No OFD packet to send [21:42:48]OFD Sender: No OFD packet to send [21:42:53]OFD Sender: No OFD packet to send [21:42:58]OFD Sender: No OFD packet to send [21:43:03]OFD Sender: No OFD packet to send [21:43:08]OFD Sender: No OFD packet to send [21:43:13]OFD Sender: No OFD packet to send [21:43:18]OFD Sender: No OFD packet to send [21:43:23]OFD Sender: No OFD packet to send [21:43:28]OFD Sender: No OFD packet to send [21:43:33]OFD Sender: No OFD packet to send [21:43:38]OFD Sender: No OFD packet to send [21:43:43]OFD Sender: No OFD packet to send [21:43:48]OFD Sender: No OFD packet to send [21:43:53]OFD Sender: No OFD packet to send [21:43:58]OFD Sender: No OFD packet to send [21:44:03]OFD Sender: No OFD packet to send [21:44:08]OFD Sender: No OFD packet to send [21:44:13]OFD Sender: No OFD packet to send [21:44:18]OFD Sender: No OFD packet to send [21:44:23]OFD Sender: No OFD packet to send [21:44:28]OFD Sender: No OFD packet to send [21:44:33]OFD Sender: No OFD packet to send [21:44:38]OFD Sender: No OFD packet to send [21:44:43]OFD Sender: No OFD packet to send [21:44:48]OFD Sender: No OFD packet to send [21:44:53]OFD Sender: No OFD packet to send [21:44:58]OFD Sender: No OFD packet to send [21:45:03]OFD Sender: No OFD packet to send [21:45:08]OFD Sender: No OFD packet to send [21:45:13]OFD Sender: No OFD packet to send [21:45:18]OFD Sender: No OFD packet to send [21:45:23]OFD Sender: No OFD packet to send [21:45:28]OFD Sender: No OFD packet to send [21:45:33]OFD Sender: No OFD packet to send [21:45:38]OFD Sender: No OFD packet to send [21:45:43]OFD Sender: No OFD packet to send [21:45:48]OFD Sender: No OFD packet to send [21:45:53]OFD Sender: No OFD packet to send [21:45:58]OFD Sender: No OFD packet to send [21:46:03]OFD Sender: No OFD packet to send [21:46:08]OFD Sender: No OFD packet to send [21:46:13]OFD Sender: No OFD packet to send [21:46:18]OFD Sender: No OFD packet to send [21:46:23]OFD Sender: No OFD packet to send [21:46:28]OFD Sender: No OFD packet to send [21:46:33]OFD Sender: No OFD packet to send [21:46:38]OFD Sender: No OFD packet to send [21:46:43]OFD Sender: No OFD packet to send [21:46:48]OFD Sender: No OFD packet to send [21:46:53]OFD Sender: No OFD packet to send [21:46:58]OFD Sender: No OFD packet to send [21:47:03]OFD Sender: No OFD packet to send [21:47:08]OFD Sender: No OFD packet to send [21:47:13]OFD Sender: No OFD packet to send [21:47:18]OFD Sender: No OFD packet to send [21:47:23]OFD Sender: No OFD packet to send [21:47:28]OFD Sender: No OFD packet to send [21:47:33]OFD Sender: No OFD packet to send [21:47:38]OFD Sender: No OFD packet to send [21:47:43]OFD Sender: No OFD packet to send [21:47:48]OFD Sender: No OFD packet to send [21:47:53]OFD Sender: No OFD packet to send [21:47:58]OFD Sender: No OFD packet to send [21:47:59]accept exits with 9 [21:47:59]New connection [21:47:59]New thread 3066785124 created [21:47:59]Thread 3066928484 joined [21:47:59]Waiting for new connection... [21:47:59] Sock 9.Parse request [21:47:59]Sock 9.Check first char [21:47:59]Sock 9.First char is OK [21:47:59]request: POST /json_proto HTTP/1.0 [21:47:59]Method: POST [21:47:59]URL: /json_proto [21:47:59]Method is POST - this is cgi request [21:47:59]url: /json_proto [21:47:59]query_string will be loaded in cgi processing [21:47:59]execute_cgi json_proto POST (null) [21:47:59]execute_cgi path=json_proto method=POST [21:47:59]POST find Content-Length [21:47:59]Host: 172.17.45.8:8080 [21:47:59]Content-Length: 614 [21:47:59]Content-Type: application/json [21:47:59] [21:47:59]POST finish read [21:47:59]Found Content-Length = 614 [21:47:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150483", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 111.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:47:59]execute_script... [21:47: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)150483", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 111.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:47:59]POST & json_proto [21:47:59]process_json_proto [21:47:59]json parsed OK: [21:47:59]protocol is kg_v1.0 [21:47:59]action value=close_receipt [21:47:59]process_action close_receipt [21:47:59]cmd_close_receipt [21:47:59]MH_GetDate [21:47:59]Write to MH i2c: F0 00 00 8B 07 81 [21:47:59]Write i2c OK [21:47:59]MH_I2C_Read... [21:47:59]Read from MH i2c: F0 [21:47:59]MH_I2C_Read... [21:47:59]Read from MH i2c: F0 09 00 [21:47:59]MH_I2C_Read... [21:47:59]Read from MH i2c: F0 09 00 8B 07 00 91 BC A6 66 A6 1F 7F 64 8B [21:47:59]GetLastDocTimeStamp 1722201981 [21:47:59]current date 1722203281 [21:47:59]FM_GetShiftState [21:47:59]SAM_PROTO_GetShiftState [21:47:59]wFMCommunicate request_size=4 [21:47:59]MH_SAM_APDU [21:47:59]CAPDU: 80 13 01 00 [21:47:59]Write to MH i2c: E2 08 00 8C 07 80 13 01 00 00 00 00 00 10 [21:47:59]Write i2c OK [21:47:59]MH_I2C_Read... [21:47:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:47:59]Read from MH i2c: E2 [21:47:59]MH_I2C_Read... [21:47:59]Read from MH i2c: E2 0E 00 [21:47:59]MH_I2C_Read... [21:47:59]Read from MH i2c: E2 0E 00 8C 07 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 38 [21:47:59]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [21:47:59]wFMCommunicate OK [21:47:59]SAM_PROTO_GetShiftState done [21:47:59]FM_GetShiftState done [21:47:59]opened in 1722127230 [21:47:59]opened+sec_in_day 1722213630 [21:47:59]quantity*price = 11100 [21:47:59]sum+1 = 11101 [21:47:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 111.00 НСП 1% : 0.98 НДС 12% : 11.79 Наличными: 111.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 63 28.07.2024 21:48 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27085 ФПД: 216810841603965 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T214801&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27085&fm=216810841603965&tin=02508201610067®Number=0000000000092663&sum=11100 0 [21:48:00]StoreToDocumentArchive [21:48:00]shift 433 fd 27085 [21:48:00]save to /storage/0433/doc_00027085 [21:48:00]save last doc name /storage/0433/doc_00027085 to /storage/kkm_last_doc_name [21:48:00]save OK [21:48:00]Clear old archive folders... [21:48:00]ProcessDocumentItem done err = 0, tmpTLVsize=266 [21:48:00]tlvbuf is 001B24A0 [21:48:00]SAM_PROTO_ClearQueue [21:48:00]wFMCommunicate request_size=4 [21:48:00]MH_SAM_APDU [21:48:00]CAPDU: 80 09 00 00 [21:48:00]Write to MH i2c: E2 08 00 99 07 80 09 00 00 00 00 00 00 12 [21:48:00]Write i2c OK [21:48:00]MH_I2C_Read... [21:48:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:48:00]Read from MH i2c: E2 [21:48:00]MH_I2C_Read... [21:48:00]Read from MH i2c: E2 03 00 [21:48:00]MH_I2C_Read... [21:48:00]Read from MH i2c: E2 03 00 99 07 00 90 00 14 [21:48:00]RAPDU: 90 00 [21:48:00]wFMCommunicate OK [21:48:00]SAM_PROTO_ClearQueue done [21:48:00]KKMCreateOFDPacket [21:48:00]OFDProtocolAddRootSTLVToBuf [21:48:00]FM_MakeSignedData [21:48:00]FM_MakeSignedData [21:48:00]SAM_PROTO_SignData [21:48:00]wFMCommunicate request_size=4 [21:48:00]MH_SAM_APDU [21:48:00]CAPDU: 80 0D 01 02 [21:48:00]Write to MH i2c: E2 08 00 9A 07 80 0D 01 02 00 00 00 00 1A [21:48:00]Write i2c OK [21:48:00]MH_I2C_Read... [21:48:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:48:00]Read from MH i2c: E2 [21:48:00]MH_I2C_Read... [21:48:00]Read from MH i2c: E2 03 00 [21:48:00]MH_I2C_Read... [21:48:00]Read from MH i2c: E2 03 00 9A 07 00 90 00 15 [21:48:00]RAPDU: 90 00 [21:48:00]wFMCommunicate OK [21:48:00]wFMCommunicate request_size=255 [21:48:00]MH_SAM_APDU [21:48:00]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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 04 00 00 00 00 07 04 06 00 5C 2B 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 91 BC A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 [21:48:00]Write to MH i2c: E2 02 01 9B 07 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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 04 00 00 00 00 07 04 06 00 5C 2B 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 91 BC A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 00 00 80 [21:48:00]Write i2c OK [21:48:00]MH_I2C_Read... [21:48:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:48:00]Read from MH i2c: E2 [21:48:00]MH_I2C_Read... [21:48:00]Read from MH i2c: E2 03 00 [21:48:00]MH_I2C_Read... [21:48:00]Read from MH i2c: E2 03 00 9B 07 00 90 00 16 [21:48:00]RAPDU: 90 00 [21:48:00]wFMCommunicate OK [21:48:00]wFMCommunicate request_size=25 [21:48:00]MH_SAM_APDU [21:48:00]CAPDU: 80 0D 02 02 14 33 37 10 04 04 00 CD 69 00 00 35 04 06 00 C5 30 35 32 7F 7D [21:48:00]Write to MH i2c: E2 1C 00 9C 07 80 0D 02 02 14 00 33 37 10 04 04 00 CD 69 00 00 35 04 06 00 C5 30 35 32 7F 7D 00 00 94 [21:48:00]Write i2c OK [21:48:00]MH_I2C_Read... [21:48:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:48:00]Read from MH i2c: E2 [21:48:00]MH_I2C_Read... [21:48:00]Read from MH i2c: E2 03 00 [21:48:00]MH_I2C_Read... [21:48:00]Read from MH i2c: E2 03 00 9C 07 00 90 00 17 [21:48:00]RAPDU: 90 00 [21:48:00]wFMCommunicate OK [21:48:00]wFMCommunicate request_size=4 [21:48:00]MH_SAM_APDU [21:48:00]CAPDU: 80 0D 03 02 [21:48:00]Write to MH i2c: E2 08 00 9D 07 80 0D 03 02 00 00 00 00 1F [21:48:00]Write i2c OK [21:48:00]MH_I2C_Read... [21:48:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:48:00]Read from MH i2c: E2 [21:48:00]MH_I2C_Read... [21:48:00]Read from MH i2c: E2 0B 00 [21:48:00]MH_I2C_Read... [21:48:00]Read from MH i2c: E2 0B 00 9D 07 00 F3 E9 89 4C A8 51 E8 54 90 00 06 [21:48:00]RAPDU: F3 E9 89 4C A8 51 E8 54 90 00 [21:48:00]wFMCommunicate OK [21:48:00]SAM_PROTO_SignData done [21:48:00]FM_MakeSignedData done [21:48:00]CreateOFDProtocolMessage [21:48:00]wFMCommunicate request_size=4 [21:48:00]MH_SAM_APDU [21:48:00]CAPDU: 80 11 00 00 [21:48:00]Write to MH i2c: E2 08 00 9E 07 80 11 00 00 00 00 00 00 1F [21:48:00]Write i2c OK [21:48:00]MH_I2C_Read... [21:48:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:48:00]Read from MH i2c: E2 [21:48:00]MH_I2C_Read... [21:48:00]Read from MH i2c: E2 17 00 [21:48:00]MH_I2C_Read... [21:48:00]Read from MH i2c: E2 17 00 9E 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 78 [21:48:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [21:48:00]wFMCommunicate OK [21:48:00]CreateOFDProtocolMessage done [21:48:00]OFDSenderStorePacket 27085 [21:48:00]StoreOFDPacket docnum=27085 [21:48:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 1E 01 00 00 65 90 16 01 DB 10 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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 04 00 00 00 00 07 04 06 00 5C 2B 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 91 BC A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 CD 69 00 00 35 04 06 00 C5 30 35 32 7F 7D F3 E9 89 4C A8 51 E8 54 [21:48:00]CheckFolder [21:48:00]dirname=/storage/ofd_packets [21:48:00]CheckFolder done [21:48:00]ProducePacketName [21:48:00]name=ofd_packets/00027085 [21:48:00]NVStorageSaveData ofd_packets/00027085 [21:48:00]File name is /storage/ofd_packets/00027085 [21:48:00]Write 316 bytes [21:48:00]NVStorageSaveData done [21:48:00]OFDSenderStorePacket done [21:48:00]KKMCreateOFDPacket done [21:48:00]NVStorageSaveData kkm_last_timestamp [21:48:00]File name is /storage/kkm_last_timestamp [21:48:00]Write 4 bytes [21:48:00]NVStorageSaveData done [21:48:00]ExternCall_PrintAddStr [21:48:00]wPrintStart [21:48:00]Write to MH i2c: 01 00 00 9F 07 A6 [21:48:00]Write i2c OK [21:48:00]MH_I2C_Read... [21:48:00]Read from MH i2c: 01 [21:48:00]MH_I2C_Read... [21:48:00]Read from MH i2c: 01 07 00 [21:48:00]MH_I2C_Read... [21:48:00]Read from MH i2c: 01 07 00 9F 07 00 00 00 00 00 FF 0F BB [21:48:00]RasterBufferAndPrint [21:48:00]line Счет N : (3)150483 [21:48:00]line ИНН: 02508201610067 [21:48:00]line Контрольно-Кассовый Чек [21:48:00]line ПРОДАЖА [21:48:00]line Товар: 4870001570071 [21:48:00]line Напиток Pepsi 1л [21:48:00]line 1.000 * 111.00 [21:48:00]line = 111.00 [21:48:00]line НДС 12% НСП 1% [21:48:00]line > о реализуемом товаре [21:48:00]line ИТОГО: 111.00 [21:48:00]line НСП 1% : 0.98 [21:48:00]line НДС 12% : 11.79 [21:48:00]line Наличными: 111.00 [21:48:00]line Безнал.: 0.00 [21:48:00]line Место: АЗС № 134 "Партнер Нефть" [21:48:00]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [21:48:00]line СНО: Общий режим [21:48:00]line Чек 63 28.07.2024 21:48 [21:48:00]line Смена: 433 ФФД: 1.0 [21:48:00]line ЗНМ: 0300000043 [21:48:00]line РНМ: 0000000000092663 [21:48:00]line Версия ККМ: 001 [21:48:00]line ФМ: 0000000000874937 [21:48:00]line ФД: 27085 [21:48:00]line ФПД: 216810841603965 [21:48:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T214801&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27085&fm=216810841603965&tin=02508201610067®Number=0000000000092663&sum=11100 [21:48:01]line 0 [21:48:01]OFD Sender: Processing packet 27085 [packets to send 9, broken 8] [21:48:01]ProducePacketName [21:48:01]name=ofd_packets/00027085 [21:48:01]OFD Sender: To server: pG, [21:48:01]CommunicateWithHost lk.salyk.kg:30040 [21:48:01]ConnectInit lk.salyk.kg [21:48:01]written 0, free lines is 4095 [21:48:01]Connected sock=10 [21:48:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 1E 01 00 00 65 90 16 01 DB 10 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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 04 00 00 00 00 07 04 06 00 5C 2B 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 91 BC A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 CD 69 00 00 35 04 06 00 C5 30 35 32 7F 7D F3 E9 89 4C A8 51 E8 54 [21:48:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 5D B3 47 00 C0 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 38 37 34 39 33 37 10 04 04 00 CD 69 00 00 F4 03 04 00 E3 62 A6 66 B6 04 01 00 00 6B C5 11 F9 03 B2 DB 51 [21:48:01]CommunicateWithHost err = 0 [21:48:01]CheckOFDResponse [21:48:01]1017 (14) - 77093643461234 [21:48:01]1041 (16) - 0000000000874937 [21:48:01]1040 (4) - 27085 [21:48:01]1012 (4) - 28.07.2024 15:25 [21:48:01]1206 (1) - 0 [21:48:01]OFD Sender: Remove packet 27085 [21:48:01]ProducePacketName [21:48:01]name=ofd_packets/00027085 [21:48:01]NVStorageDeleteData [21:48:01]Write to MH i2c: 01 00 00 C6 07 CD [21:48:01]Write i2c OK [21:48:01]MH_I2C_Read... [21:48:01]Read from MH i2c: 01 [21:48:01]MH_I2C_Read... [21:48:01]Read from MH i2c: 01 07 00 [21:48:01]MH_I2C_Read... [21:48:01]Read from MH i2c: 01 07 00 C6 07 00 00 00 00 00 05 0D E6 [21:48:01]RasterBufferAndPrint [21:48:01]line [21:48:01]line [21:48:01]line [21:48:01]line [21:48:01]line [21:48:01]written 0, free lines is 3340 [21:48:01]MH_Cut [21:48:01]Write to MH i2c: D1 01 00 CD 07 01 A6 [21:48:01]Write i2c OK [21:48:01]MH_I2C_Read... [21:48:01]Read from MH i2c: D1 [21:48:01]MH_I2C_Read... [21:48:01]Read from MH i2c: D1 01 00 [21:48:01]MH_I2C_Read... [21:48:01]Read from MH i2c: D1 01 00 CD 07 00 A5 [21:48:01]Write to MH i2c: 01 00 00 CE 07 D5 [21:48:01]Write i2c OK [21:48:01]MH_I2C_Read... [21:48:01]OFD Sender: No OFD packet to send [21:48:02]*** Cut start [21:48:02]*** Partial cut [21:48:02]*** CUTSNS_PIN = 1 [21:48:02]*** CUTSNS_PIN = 0 [21:48:02]*** Brake cut motor [21:48:02]Read from MH i2c: 01 [21:48:02]MH_I2C_Read... [21:48:02]*** Stop cut motor [21:48:02]*** Cut end [21:48:02]Read from MH i2c: 01 07 00 [21:48:02]MH_I2C_Read... [21:48:02]Read from MH i2c: 01 07 00 CE 07 00 00 00 00 00 FF 0F EA [21:48:02]process_action close_receipt done [21:48:02]requested_data is exist [21:48:02]produce_requested_data [21:48:02]requested_item fm.sn is exist - process it [21:48:02]wFMCommunicate request_size=4 [21:48:02]MH_SAM_APDU [21:48:02]CAPDU: 80 11 00 00 [21:48:02]Write to MH i2c: E2 08 00 CF 07 80 11 00 00 00 00 00 00 50 [21:48:02]Write i2c OK [21:48:02]MH_I2C_Read... [21:48:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:48:02]Read from MH i2c: E2 [21:48:02]MH_I2C_Read... [21:48:02]Read from MH i2c: E2 17 00 [21:48:02]MH_I2C_Read... [21:48:02]Read from MH i2c: E2 17 00 CF 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 A9 [21:48:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [21:48:02]wFMCommunicate OK [21:48:02]requested_item fd.num is exist - process it [21:48:02]SAM_PROTO_GetFieldsCounters [21:48:02]wFMCommunicate request_size=4 [21:48:02]MH_SAM_APDU [21:48:02]CAPDU: 80 13 00 00 [21:48:02]Write to MH i2c: E2 08 00 D0 07 80 13 00 00 00 00 00 00 53 [21:48:02]Write i2c OK [21:48:02]MH_I2C_Read... [21:48:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:48:02]Read from MH i2c: E2 [21:48:02]MH_I2C_Read... [21:48:02]Read from MH i2c: E2 62 00 [21:48:02]MH_I2C_Read... [21:48:02]Read from MH i2c: E2 62 00 D0 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 CD 69 00 00 0E 04 04 00 B1 01 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 20 [21:48:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 CD 69 00 00 0E 04 04 00 B1 01 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 [21:48:02]wFMCommunicate OK [21:48:02]SAM_PROTO_GetFieldsCounters done [21:48:02]requested_item shift.num is exist - process it [21:48:02]requested_item shift.opened is exist - process it [21:48:02]req_shift_opened [21:48:02]FM_GetShiftState [21:48:02]SAM_PROTO_GetShiftState [21:48:02]wFMCommunicate request_size=4 [21:48:02]MH_SAM_APDU [21:48:02]CAPDU: 80 13 01 00 [21:48:02]Write to MH i2c: E2 08 00 D1 07 80 13 01 00 00 00 00 00 55 [21:48:02]Write i2c OK [21:48:02]MH_I2C_Read... [21:48:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:48:03]Read from MH i2c: E2 [21:48:03]MH_I2C_Read... [21:48:03]Read from MH i2c: E2 0E 00 [21:48:03]MH_I2C_Read... [21:48:03]Read from MH i2c: E2 0E 00 D1 07 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 7D [21:48:03]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [21:48:03]wFMCommunicate OK [21:48:03]SAM_PROTO_GetShiftState done [21:48:03]FM_GetShiftState done [21:48:03]req_shift_opened done [21:48:03]requested_item shift.open_date is exist - process it [21:48:03]req_shift_open_date [21:48:03]req_shift_open_date done [21:48:03]produce_requested_data done [21:48:03]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27085,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [21:48:03]process_action_free close_receipt [21:48:03]json_value_free [21:48:03]json_value_free done [21:48:03]process_json_proto returns [21:48:03]Send response to host [21:48:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27085,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [21:48:03]free response buf [21:48:03]execute_script done [21:48:03]execute_script returns [21:48:03]free content buf [21:48:03]Sock 9.Close socket [21:48:03]Sock 9.Thread stoped [21:48:06]OFD Sender: No OFD packet to send [21:48:11]OFD Sender: No OFD packet to send [21:48:16]OFD Sender: No OFD packet to send [21:48:21]OFD Sender: No OFD packet to send [21:48:26]OFD Sender: No OFD packet to send [21:48:31]OFD Sender: No OFD packet to send [21:48:36]OFD Sender: No OFD packet to send [21:48:41]OFD Sender: No OFD packet to send [21:48:46]OFD Sender: No OFD packet to send [21:48:51]OFD Sender: No OFD packet to send [21:48:56]OFD Sender: No OFD packet to send [21:49:01]OFD Sender: No OFD packet to send [21:49:06]OFD Sender: No OFD packet to send [21:49:11]OFD Sender: No OFD packet to send [21:49:16]OFD Sender: No OFD packet to send [21:49:21]OFD Sender: No OFD packet to send [21:49:26]OFD Sender: No OFD packet to send [21:49:31]OFD Sender: No OFD packet to send [21:49:36]OFD Sender: No OFD packet to send [21:49:41]OFD Sender: No OFD packet to send [21:49:46]OFD Sender: No OFD packet to send [21:49:51]OFD Sender: No OFD packet to send [21:49:56]OFD Sender: No OFD packet to send [21:50:01]OFD Sender: No OFD packet to send [21:50:06]OFD Sender: No OFD packet to send [21:50:11]OFD Sender: No OFD packet to send [21:50:16]OFD Sender: No OFD packet to send [21:50:21]OFD Sender: No OFD packet to send [21:50:26]OFD Sender: No OFD packet to send [21:50:31]OFD Sender: No OFD packet to send [21:50:36]OFD Sender: No OFD packet to send [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:47]OFD Sender: No OFD packet to send [21:51:52]OFD Sender: No OFD packet to send [21:51:57]OFD Sender: No OFD packet to send [21:52:02]OFD Sender: No OFD packet to send [21:52:07]OFD Sender: No OFD packet to send [21:52:12]OFD Sender: No OFD packet to send [21:52:17]OFD Sender: No OFD packet to send [21:52:22]OFD Sender: No OFD packet to send [21:52:27]OFD Sender: No OFD packet to send [21:52:32]OFD Sender: No OFD packet to send [21:52:37]OFD Sender: No OFD packet to send [21:52:42]OFD Sender: No OFD packet to send [21:52:47]OFD Sender: No OFD packet to send [21:52:52]OFD Sender: No OFD packet to send [21:52:57]OFD Sender: No OFD packet to send [21:53:02]OFD Sender: No OFD packet to send [21:53:07]OFD Sender: No OFD packet to send [21:53:12]OFD Sender: No OFD packet to send [21:53:17]OFD Sender: No OFD packet to send [21:53:22]OFD Sender: No OFD packet to send [21:53:27]OFD Sender: No OFD packet to send [21:53:32]OFD Sender: No OFD packet to send [21:53:37]OFD Sender: No OFD packet to send [21:53:42]OFD Sender: No OFD packet to send [21:53:47]OFD Sender: No OFD packet to send [21:53:52]OFD Sender: No OFD packet to send [21:53:57]OFD Sender: No OFD packet to send [21:54:02]OFD Sender: No OFD packet to send [21:54:07]OFD Sender: No OFD packet to send [21:54:12]OFD Sender: No OFD packet to send [21:54:17]OFD Sender: No OFD packet to send [21:54:22]OFD Sender: No OFD packet to send [21:54:27]OFD Sender: No OFD packet to send [21:54:32]OFD Sender: No OFD packet to send [21:54:37]OFD Sender: No OFD packet to send [21:54:42]OFD Sender: No OFD packet to send [21:54:47]OFD Sender: No OFD packet to send [21:54:52]OFD Sender: No OFD packet to send [21:54:57]OFD Sender: No OFD packet to send [21:55:02]OFD Sender: No OFD packet to send [21:55:07]OFD Sender: No OFD packet to send [21:55:12]OFD Sender: No OFD packet to send [21:55:17]OFD Sender: No OFD packet to send [21:55:22]OFD Sender: No OFD packet to send [21:55:27]OFD Sender: No OFD packet to send [21:55:32]OFD Sender: No OFD packet to send [21:55:37]OFD Sender: No OFD packet to send [21:55:42]OFD Sender: No OFD packet to send [21:55:47]OFD Sender: No OFD packet to send [21:55:52]OFD Sender: No OFD packet to send [21:55:57]OFD Sender: No OFD packet to send [21:56:02]OFD Sender: No OFD packet to send [21:56:07]OFD Sender: No OFD packet to send [21:56:12]OFD Sender: No OFD packet to send [21:56:17]OFD Sender: No OFD packet to send [21:56:22]OFD Sender: No OFD packet to send [21:56:27]OFD Sender: No OFD packet to send [21:56:32]OFD Sender: No OFD packet to send [21:56:37]OFD Sender: No OFD packet to send [21:56:42]OFD Sender: No OFD packet to send [21:56:47]OFD Sender: No OFD packet to send [21:56:52]OFD Sender: No OFD packet to send [21:56:57]OFD Sender: No OFD packet to send [21:57:02]OFD Sender: No OFD packet to send [21:57:07]OFD Sender: No OFD packet to send [21:57:12]OFD Sender: No OFD packet to send [21:57:17]OFD Sender: No OFD packet to send [21:57:22]OFD Sender: No OFD packet to send [21:57:27]OFD Sender: No OFD packet to send [21:57:32]OFD Sender: No OFD packet to send [21:57:37]OFD Sender: No OFD packet to send [21:57:42]OFD Sender: No OFD packet to send [21:57:47]OFD Sender: No OFD packet to send [21:57:52]OFD Sender: No OFD packet to send [21:57:57]OFD Sender: No OFD packet to send [21:58:02]OFD Sender: No OFD packet to send [21:58:07]OFD Sender: No OFD packet to send [21:58:12]OFD Sender: No OFD packet to send [21:58:17]OFD Sender: No OFD packet to send [21:58:22]OFD Sender: No OFD packet to send [21:58:27]OFD Sender: No OFD packet to send [21:58:32]OFD Sender: No OFD packet to send [21:58:37]OFD Sender: No OFD packet to send [21:58:42]OFD Sender: No OFD packet to send [21:58:47]OFD Sender: No OFD packet to send [21:58:52]OFD Sender: No OFD packet to send [21:58:57]OFD Sender: No OFD packet to send [21:59:02]OFD Sender: No OFD packet to send [21:59:07]OFD Sender: No OFD packet to send [21:59:12]OFD Sender: No OFD packet to send [21:59:17]OFD Sender: No OFD packet to send [21:59:22]OFD Sender: No OFD packet to send [21:59:27]OFD Sender: No OFD packet to send [21:59:32]OFD Sender: No OFD packet to send [21:59:37]OFD Sender: No OFD packet to send [21:59:42]OFD Sender: No OFD packet to send [21:59:47]OFD Sender: No OFD packet to send [21:59:52]OFD Sender: No OFD packet to send [21:59:57]OFD Sender: No OFD packet to send [22:00:02]OFD Sender: No OFD packet to send [22:00:07]OFD Sender: No OFD packet to send [22:00:12]OFD Sender: No OFD packet to send [22:00:17]OFD Sender: No OFD packet to send [22:00:22]OFD Sender: No OFD packet to send [22:00:27]OFD Sender: No OFD packet to send [22:00:32]OFD Sender: No OFD packet to send [22:00:37]OFD Sender: No OFD packet to send [22:00:42]OFD Sender: No OFD packet to send [22:00:47]OFD Sender: No OFD packet to send [22:00:52]OFD Sender: No OFD packet to send [22:00:57]OFD Sender: No OFD packet to send [22:01:02]OFD Sender: No OFD packet to send [22:01:07]OFD Sender: No OFD packet to send [22:01:12]OFD Sender: No OFD packet to send [22:01:17]OFD Sender: No OFD packet to send [22:01:22]OFD Sender: No OFD packet to send [22:01:27]OFD Sender: No OFD packet to send [22:01:32]OFD Sender: No OFD packet to send [22:01:37]OFD Sender: No OFD packet to send [22:01:42]OFD Sender: No OFD packet to send [22:01:47]OFD Sender: No OFD packet to send [22:01:52]OFD Sender: No OFD packet to send [22:01:57]OFD Sender: No OFD packet to send [22:02:02]OFD Sender: No OFD packet to send [22:02:07]OFD Sender: No OFD packet to send [22:02:12]OFD Sender: No OFD packet to send [22:02:17]OFD Sender: No OFD packet to send [22:02:22]OFD Sender: No OFD packet to send [22:02:27]OFD Sender: No OFD packet to send [22:02:32]OFD Sender: No OFD packet to send [22:02:37]OFD Sender: No OFD packet to send [22:02:42]OFD Sender: No OFD packet to send [22:02:47]OFD Sender: No OFD packet to send [22:02:52]OFD Sender: No OFD packet to send [22:02:57]OFD Sender: No OFD packet to send [22:03:02]OFD Sender: No OFD packet to send [22:03:07]OFD Sender: No OFD packet to send [22:03:12]OFD Sender: No OFD packet to send [22:03:17]OFD Sender: No OFD packet to send [22:03:22]OFD Sender: No OFD packet to send [22:03:27]OFD Sender: No OFD packet to send [22:03:32]OFD Sender: No OFD packet to send [22:03:37]OFD Sender: No OFD packet to send [22:03:42]OFD Sender: No OFD packet to send [22:03:47]OFD Sender: No OFD packet to send [22:03:52]OFD Sender: No OFD packet to send [22:03:57]OFD Sender: No OFD packet to send [22:04:02]OFD Sender: No OFD packet to send [22:04:07]OFD Sender: No OFD packet to send [22:04:12]OFD Sender: No OFD packet to send [22:04:17]OFD Sender: No OFD packet to send [22:04:22]OFD Sender: No OFD packet to send [22:04:27]OFD Sender: No OFD packet to send [22:04:32]OFD Sender: No OFD packet to send [22:04:37]OFD Sender: No OFD packet to send [22:04:42]OFD Sender: No OFD packet to send [22:04:47]OFD Sender: No OFD packet to send [22:04:52]OFD Sender: No OFD packet to send [22:04:57]OFD Sender: No OFD packet to send [22:05:02]OFD Sender: No OFD packet to send [22:05:07]OFD Sender: No OFD packet to send [22:05:12]OFD Sender: No OFD packet to send [22:05:17]OFD Sender: No OFD packet to send [22:05:22]OFD Sender: No OFD packet to send [22:05:27]OFD Sender: No OFD packet to send [22:05:32]OFD Sender: No OFD packet to send [22:05:37]OFD Sender: No OFD packet to send [22:05:42]OFD Sender: No OFD packet to send [22:05:47]OFD Sender: No OFD packet to send [22:05:52]OFD Sender: No OFD packet to send [22:05:57]OFD Sender: No OFD packet to send [22:06:02]OFD Sender: No OFD packet to send [22:06:07]OFD Sender: No OFD packet to send [22:06:12]OFD Sender: No OFD packet to send [22:06:17]OFD Sender: No OFD packet to send [22:06:22]OFD Sender: No OFD packet to send [22:06:27]OFD Sender: No OFD packet to send [22:06:32]OFD Sender: No OFD packet to send [22:06:37]OFD Sender: No OFD packet to send [22:06:42]OFD Sender: No OFD packet to send [22:06:47]OFD Sender: No OFD packet to send [22:06:52]OFD Sender: No OFD packet to send [22:06:57]OFD Sender: No OFD packet to send [22:07:02]OFD Sender: No OFD packet to send [22:07:07]OFD Sender: No OFD packet to send [22:07:12]OFD Sender: No OFD packet to send [22:07:17]OFD Sender: No OFD packet to send [22:07:22]OFD Sender: No OFD packet to send [22:07:27]OFD Sender: No OFD packet to send [22:07:32]OFD Sender: No OFD packet to send [22:07:37]OFD Sender: No OFD packet to send [22:07:42]OFD Sender: No OFD packet to send [22:07:47]OFD Sender: No OFD packet to send [22:07:52]OFD Sender: No OFD packet to send [22:07:57]OFD Sender: No OFD packet to send [22:08:02]OFD Sender: No OFD packet to send [22:08:07]OFD Sender: No OFD packet to send [22:08:12]OFD Sender: No OFD packet to send [22:08:17]OFD Sender: No OFD packet to send [22:08:22]OFD Sender: No OFD packet to send [22:08:27]OFD Sender: No OFD packet to send [22:08:32]OFD Sender: No OFD packet to send [22:08:37]OFD Sender: No OFD packet to send [22:08:42]OFD Sender: No OFD packet to send [22:08:47]OFD Sender: No OFD packet to send [22:08:52]OFD Sender: No OFD packet to send [22:08:57]OFD Sender: No OFD packet to send [22:09:02]OFD Sender: No OFD packet to send [22:09:07]OFD Sender: No OFD packet to send [22:09:12]OFD Sender: No OFD packet to send [22:09:17]OFD Sender: No OFD packet to send [22:09:22]OFD Sender: No OFD packet to send [22:09:27]OFD Sender: No OFD packet to send [22:09:32]OFD Sender: No OFD packet to send [22:09:37]OFD Sender: No OFD packet to send [22:09:39]accept exits with 8 [22:09:39]New connection [22:09:39]New thread 3066928484 created [22:09:39]Thread 3066785124 joined [22:09:39]Waiting for new connection... [22:09:39] Sock 8.Parse request [22:09:39]Sock 8.Check first char [22:09:39]Sock 8.First char is OK [22:09:39]request: POST /json_proto HTTP/1.0 [22:09:39]Method: POST [22:09:39]URL: /json_proto [22:09:39]Method is POST - this is cgi request [22:09:39]url: /json_proto [22:09:39]query_string will be loaded in cgi processing [22:09:39]execute_cgi json_proto POST (null) [22:09:39]execute_cgi path=json_proto method=POST [22:09:39]POST find Content-Length [22:09:39]Host: 172.17.45.8:8080 [22:09:39]Content-Length: 645 [22:09:39]Content-Type: application/json [22:09:39] [22:09:39]POST finish read [22:09:39]Found Content-Length = 645 [22:09:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150484", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\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" ] } } [22:09:39]execute_script... [22:09: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)150484", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\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" ] } } [22:09:39]POST & json_proto [22:09:39]process_json_proto [22:09:39]json parsed OK: [22:09:39]protocol is kg_v1.0 [22:09:39]action value=close_receipt [22:09:39]process_action close_receipt [22:09:39]cmd_close_receipt [22:09:39]MH_GetDate [22:09:39]Write to MH i2c: F0 00 00 D2 07 C8 [22:09:39]Write i2c OK [22:09:39]MH_I2C_Read... [22:09:39]Read from MH i2c: F0 [22:09:39]MH_I2C_Read... [22:09:39]Read from MH i2c: F0 09 00 [22:09:39]MH_I2C_Read... [22:09:39]Read from MH i2c: F0 09 00 D2 07 00 A6 C1 A6 66 A6 1F 7F 64 EC [22:09:39]GetLastDocTimeStamp 1722203281 [22:09:39]current date 1722204582 [22:09:39]FM_GetShiftState [22:09:39]SAM_PROTO_GetShiftState [22:09:39]wFMCommunicate request_size=4 [22:09:39]MH_SAM_APDU [22:09:39]CAPDU: 80 13 01 00 [22:09:39]Write to MH i2c: E2 08 00 D3 07 80 13 01 00 00 00 00 00 57 [22:09:39]Write i2c OK [22:09:39]MH_I2C_Read... [22:09:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:09:39]Read from MH i2c: E2 [22:09:39]MH_I2C_Read... [22:09:39]Read from MH i2c: E2 0E 00 [22:09:39]MH_I2C_Read... [22:09:39]Read from MH i2c: E2 0E 00 D3 07 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 7F [22:09:39]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [22:09:39]wFMCommunicate OK [22:09:39]SAM_PROTO_GetShiftState done [22:09:39]FM_GetShiftState done [22:09:39]opened in 1722127230 [22:09:39]opened+sec_in_day 1722213630 [22:09:39]quantity*price = 6000 [22:09:39]sum+1 = 6001 [22:09:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 64 28.07.2024 22:09 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27086 ФПД: 91112995571349 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T220942&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27086&fm=91112995571349&tin=02508201610067®Number=0000000000092663&sum=6000 0 [22:09:40]StoreToDocumentArchive [22:09:40]shift 433 fd 27086 [22:09:40]save to /storage/0433/doc_00027086 [22:09:40]save last doc name /storage/0433/doc_00027086 to /storage/kkm_last_doc_name [22:09:40]save OK [22:09:40]Clear old archive folders... [22:09:40]ProcessDocumentItem done err = 0, tmpTLVsize=276 [22:09:40]tlvbuf is 00198E10 [22:09:40]SAM_PROTO_ClearQueue [22:09:40]wFMCommunicate request_size=4 [22:09:40]MH_SAM_APDU [22:09:40]CAPDU: 80 09 00 00 [22:09:40]Write to MH i2c: E2 08 00 E0 07 80 09 00 00 00 00 00 00 59 [22:09:40]Write i2c OK [22:09:40]MH_I2C_Read... [22:09:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:09:40]Read from MH i2c: E2 [22:09:40]MH_I2C_Read... [22:09:40]Read from MH i2c: E2 03 00 [22:09:40]MH_I2C_Read... [22:09:40]Read from MH i2c: E2 03 00 E0 07 00 90 00 5B [22:09:40]RAPDU: 90 00 [22:09:40]wFMCommunicate OK [22:09:40]SAM_PROTO_ClearQueue done [22:09:40]KKMCreateOFDPacket [22:09:40]OFDProtocolAddRootSTLVToBuf [22:09:40]FM_MakeSignedData [22:09:40]FM_MakeSignedData [22:09:40]SAM_PROTO_SignData [22:09:40]wFMCommunicate request_size=4 [22:09:40]MH_SAM_APDU [22:09:40]CAPDU: 80 0D 01 02 [22:09:40]Write to MH i2c: E2 08 00 E1 07 80 0D 01 02 00 00 00 00 61 [22:09:40]Write i2c OK [22:09:40]MH_I2C_Read... [22:09:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:09:40]Read from MH i2c: E2 [22:09:40]MH_I2C_Read... [22:09:40]Read from MH i2c: E2 03 00 [22:09:40]MH_I2C_Read... [22:09:40]Read from MH i2c: E2 03 00 E1 07 00 90 00 5C [22:09:40]RAPDU: 90 00 [22:09:40]wFMCommunicate OK [22:09:40]wFMCommunicate request_size=255 [22:09:40]MH_SAM_APDU [22:09:40]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 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 40 00 00 00 F4 03 04 00 A6 C1 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 [22:09:40]Write to MH i2c: E2 02 01 E2 07 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 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 40 00 00 00 F4 03 04 00 A6 C1 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 00 00 02 [22:09:40]Write i2c OK [22:09:40]MH_I2C_Read... [22:09:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:09:41]Read from MH i2c: E2 [22:09:41]MH_I2C_Read... [22:09:41]Read from MH i2c: E2 03 00 [22:09:41]MH_I2C_Read... [22:09:41]Read from MH i2c: E2 03 00 E2 07 00 90 00 5D [22:09:41]RAPDU: 90 00 [22:09:41]wFMCommunicate OK [22:09:41]wFMCommunicate request_size=35 [22:09:41]MH_SAM_APDU [22:09:41]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 CE 69 00 00 35 04 06 00 52 DD E5 BC 46 95 [22:09:41]Write to MH i2c: E2 26 00 E3 07 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 CE 69 00 00 35 04 06 00 52 DD E5 BC 46 95 00 00 3F [22:09:41]Write i2c OK [22:09:41]MH_I2C_Read... [22:09:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:09:41]Read from MH i2c: E2 [22:09:41]MH_I2C_Read... [22:09:41]Read from MH i2c: E2 03 00 [22:09:41]MH_I2C_Read... [22:09:41]Read from MH i2c: E2 03 00 E3 07 00 90 00 5E [22:09:41]RAPDU: 90 00 [22:09:41]wFMCommunicate OK [22:09:41]wFMCommunicate request_size=4 [22:09:41]MH_SAM_APDU [22:09:41]CAPDU: 80 0D 03 02 [22:09:41]Write to MH i2c: E2 08 00 E4 07 80 0D 03 02 00 00 00 00 66 [22:09:41]Write i2c OK [22:09:41]MH_I2C_Read... [22:09:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:09:41]Read from MH i2c: E2 [22:09:41]MH_I2C_Read... [22:09:41]Read from MH i2c: E2 0B 00 [22:09:41]MH_I2C_Read... [22:09:41]Read from MH i2c: E2 0B 00 E4 07 00 57 17 4A B4 26 B8 43 5B 90 00 4F [22:09:41]RAPDU: 57 17 4A B4 26 B8 43 5B 90 00 [22:09:41]wFMCommunicate OK [22:09:41]SAM_PROTO_SignData done [22:09:41]FM_MakeSignedData done [22:09:41]CreateOFDProtocolMessage [22:09:41]wFMCommunicate request_size=4 [22:09:41]MH_SAM_APDU [22:09:41]CAPDU: 80 11 00 00 [22:09:41]Write to MH i2c: E2 08 00 E5 07 80 11 00 00 00 00 00 00 66 [22:09:41]Write i2c OK [22:09:41]MH_I2C_Read... [22:09:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:09:41]Read from MH i2c: E2 [22:09:41]MH_I2C_Read... [22:09:41]Read from MH i2c: E2 17 00 [22:09:41]MH_I2C_Read... [22:09:41]Read from MH i2c: E2 17 00 E5 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 BF [22:09:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [22:09:41]wFMCommunicate OK [22:09:41]CreateOFDProtocolMessage done [22:09:41]OFDSenderStorePacket 27086 [22:09:41]StoreOFDPacket docnum=27086 [22:09:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 28 01 00 00 0A 0C 20 01 D5 73 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 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 40 00 00 00 F4 03 04 00 A6 C1 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 CE 69 00 00 35 04 06 00 52 DD E5 BC 46 95 57 17 4A B4 26 B8 43 5B [22:09:41]CheckFolder [22:09:41]dirname=/storage/ofd_packets [22:09:41]CheckFolder done [22:09:41]ProducePacketName [22:09:41]name=ofd_packets/00027086 [22:09:41]NVStorageSaveData ofd_packets/00027086 [22:09:41]File name is /storage/ofd_packets/00027086 [22:09:41]Write 326 bytes [22:09:41]NVStorageSaveData done [22:09:41]OFDSenderStorePacket done [22:09:41]KKMCreateOFDPacket done [22:09:41]NVStorageSaveData kkm_last_timestamp [22:09:41]File name is /storage/kkm_last_timestamp [22:09:41]Write 4 bytes [22:09:41]NVStorageSaveData done [22:09:41]ExternCall_PrintAddStr [22:09:41]wPrintStart [22:09:41]Write to MH i2c: 01 00 00 E6 07 ED [22:09:41]Write i2c OK [22:09:41]MH_I2C_Read... [22:09:41]Read from MH i2c: 01 [22:09:41]MH_I2C_Read... [22:09:41]Read from MH i2c: 01 07 00 [22:09:41]MH_I2C_Read... [22:09:41]Read from MH i2c: 01 07 00 E6 07 00 00 00 00 00 FF 0F 02 [22:09:41]RasterBufferAndPrint [22:09:41]line Счет N : (3)150484 [22:09:41]line ИНН: 02508201610067 [22:09:41]line Контрольно-Кассовый Чек [22:09:41]line ПРОДАЖА [22:09:41]line Товар: 4700000310043 [22:09:41]line Вода Жалалабат 27 1л [22:09:41]line 1.000 * 60.00 [22:09:41]line = 60.00 [22:09:41]line НДС 12% НСП 1% [22:09:41]line > о реализуемом товаре [22:09:41]line ИТОГО: 60.00 [22:09:41]line НСП 1% : 0.53 [22:09:41]line НДС 12% : 6.37 [22:09:41]line Наличными: 60.00 [22:09:41]line Безнал.: 0.00 [22:09:41]line Место: АЗС № 134 "Партнер Нефть" [22:09:41]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [22:09:41]line СНО: Общий режим [22:09:41]line Чек 64 28.07.2024 22:09 [22:09:41]line Смена: 433 ФФД: 1.0 [22:09:41]line ЗНМ: 0300000043 [22:09:41]line РНМ: 0000000000092663 [22:09:41]line Версия ККМ: 001 [22:09:41]line ФМ: 0000000000874937 [22:09:41]line ФД: 27086 [22:09:41]line ФПД: 91112995571349 [22:09:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T220942&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27086&fm=91112995571349&tin=02508201610067®Number=0000000000092663&sum=6000 [22:09:41]OFD Sender: Processing packet 27086 [packets to send 9, broken 8] [22:09:41]ProducePacketName [22:09:41]name=ofd_packets/00027086 [22:09:41]OFD Sender: To server: pG, [22:09:41]CommunicateWithHost lk.salyk.kg:30040 [22:09:41]ConnectInit lk.salyk.kg [22:09:41]line 0 [22:09:41]written 0, free lines is 4095 [22:09:41]Connected sock=10 [22:09:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 28 01 00 00 0A 0C 20 01 D5 73 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 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 40 00 00 00 F4 03 04 00 A6 C1 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 CE 69 00 00 35 04 06 00 52 DD E5 BC 46 95 57 17 4A B4 26 B8 43 5B [22:09:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 02 B5 47 00 9B 67 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 38 37 34 39 33 37 10 04 04 00 CE 69 00 00 F4 03 04 00 F8 67 A6 66 B6 04 01 00 00 AD 71 4F E7 2B 05 5E FF [22:09:41]CommunicateWithHost err = 0 [22:09:41]CheckOFDResponse [22:09:41]1017 (14) - 77093643461234 [22:09:41]1041 (16) - 0000000000874937 [22:09:41]1040 (4) - 27086 [22:09:41]1012 (4) - 28.07.2024 15:47 [22:09:41]1206 (1) - 0 [22:09:41]OFD Sender: Remove packet 27086 [22:09:41]ProducePacketName [22:09:41]name=ofd_packets/00027086 [22:09:41]NVStorageDeleteData [22:09:41]Write to MH i2c: 01 00 00 0D 08 15 [22:09:41]Write i2c OK [22:09:41]MH_I2C_Read... [22:09:41]Read from MH i2c: 01 [22:09:41]MH_I2C_Read... [22:09:41]Read from MH i2c: 01 07 00 [22:09:41]MH_I2C_Read... [22:09:41]Read from MH i2c: 01 07 00 0D 08 00 00 00 00 00 08 0D 31 [22:09:41]RasterBufferAndPrint [22:09:41]line [22:09:41]line [22:09:41]line [22:09:41]line [22:09:41]line [22:09:42]written 0, free lines is 3342 [22:09:42]MH_Cut [22:09:42]Write to MH i2c: D1 01 00 14 08 01 EE [22:09:42]Write i2c OK [22:09:42]MH_I2C_Read... [22:09:42]Read from MH i2c: D1 [22:09:42]MH_I2C_Read... [22:09:42]Read from MH i2c: D1 01 00 [22:09:42]MH_I2C_Read... [22:09:42]Read from MH i2c: D1 01 00 14 08 00 ED [22:09:42]Write to MH i2c: 01 00 00 15 08 1D [22:09:42]Write i2c OK [22:09:42]MH_I2C_Read... [22:09:42]OFD Sender: No OFD packet to send [22:09:42]*** Cut start [22:09:42]*** Partial cut [22:09:42]*** CUTSNS_PIN = 1 [22:09:42]*** CUTSNS_PIN = 0 [22:09:42]*** Brake cut motor [22:09:43]Read from MH i2c: 01 [22:09:43]MH_I2C_Read... [22:09:43]*** Stop cut motor [22:09:43]*** Cut end [22:09:43]Read from MH i2c: 01 07 00 [22:09:43]MH_I2C_Read... [22:09:43]Read from MH i2c: 01 07 00 15 08 00 00 00 00 00 FF 0F 32 [22:09:43]process_action close_receipt done [22:09:43]requested_data is exist [22:09:43]produce_requested_data [22:09:43]requested_item fm.sn is exist - process it [22:09:43]wFMCommunicate request_size=4 [22:09:43]MH_SAM_APDU [22:09:43]CAPDU: 80 11 00 00 [22:09:43]Write to MH i2c: E2 08 00 16 08 80 11 00 00 00 00 00 00 98 [22:09:43]Write i2c OK [22:09:43]MH_I2C_Read... [22:09:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:09:43]Read from MH i2c: E2 [22:09:43]MH_I2C_Read... [22:09:43]Read from MH i2c: E2 17 00 [22:09:43]MH_I2C_Read... [22:09:43]Read from MH i2c: E2 17 00 16 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 F1 [22:09:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [22:09:43]wFMCommunicate OK [22:09:43]requested_item fd.num is exist - process it [22:09:43]SAM_PROTO_GetFieldsCounters [22:09:43]wFMCommunicate request_size=4 [22:09:43]MH_SAM_APDU [22:09:43]CAPDU: 80 13 00 00 [22:09:43]Write to MH i2c: E2 08 00 17 08 80 13 00 00 00 00 00 00 9B [22:09:43]Write i2c OK [22:09:43]MH_I2C_Read... [22:09:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:09:43]Read from MH i2c: E2 [22:09:43]MH_I2C_Read... [22:09:43]Read from MH i2c: E2 62 00 [22:09:43]MH_I2C_Read... [22:09:43]Read from MH i2c: E2 62 00 17 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 CE 69 00 00 0E 04 04 00 B1 01 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 6C [22:09:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 CE 69 00 00 0E 04 04 00 B1 01 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 [22:09:43]wFMCommunicate OK [22:09:43]SAM_PROTO_GetFieldsCounters done [22:09:43]requested_item shift.num is exist - process it [22:09:43]requested_item shift.opened is exist - process it [22:09:43]req_shift_opened [22:09:43]FM_GetShiftState [22:09:43]SAM_PROTO_GetShiftState [22:09:43]wFMCommunicate request_size=4 [22:09:43]MH_SAM_APDU [22:09:43]CAPDU: 80 13 01 00 [22:09:43]Write to MH i2c: E2 08 00 18 08 80 13 01 00 00 00 00 00 9D [22:09:43]Write i2c OK [22:09:43]MH_I2C_Read... [22:09:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:09:43]Read from MH i2c: E2 [22:09:43]MH_I2C_Read... [22:09:43]Read from MH i2c: E2 0E 00 [22:09:43]MH_I2C_Read... [22:09:43]Read from MH i2c: E2 0E 00 18 08 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 C5 [22:09:43]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [22:09:43]wFMCommunicate OK [22:09:43]SAM_PROTO_GetShiftState done [22:09:43]FM_GetShiftState done [22:09:43]req_shift_opened done [22:09:43]requested_item shift.open_date is exist - process it [22:09:43]req_shift_open_date [22:09:43]req_shift_open_date done [22:09:43]produce_requested_data done [22:09:43]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27086,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [22:09:43]process_action_free close_receipt [22:09:43]json_value_free [22:09:43]json_value_free done [22:09:43]process_json_proto returns [22:09:43]Send response to host [22:09:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27086,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [22:09:43]free response buf [22:09:43]execute_script done [22:09:43]execute_script returns [22:09:43]free content buf [22:09:43]Sock 8.Close socket [22:09:43]Sock 8.Thread stoped [22:09:47]OFD Sender: No OFD packet to send [22:09:52]OFD Sender: No OFD packet to send [22:09:57]OFD Sender: No OFD packet to send [22:10:02]OFD Sender: No OFD packet to send [22:10:07]OFD Sender: No OFD packet to send [22:10:12]OFD Sender: No OFD packet to send [22:10:17]OFD Sender: No OFD packet to send [22:10:22]OFD Sender: No OFD packet to send [22:10:27]OFD Sender: No OFD packet to send [22:10:32]OFD Sender: No OFD packet to send [22:10:37]OFD Sender: No OFD packet to send [22:10:42]OFD Sender: No OFD packet to send [22:10:47]OFD Sender: No OFD packet to send [22:10:52]OFD Sender: No OFD packet to send [22:10:57]OFD Sender: No OFD packet to send [22:11:02]OFD Sender: No OFD packet to send [22:11:07]OFD Sender: No OFD packet to send [22:11:12]OFD Sender: No OFD packet to send [22:11:17]OFD Sender: No OFD packet to send [22:11:22]OFD Sender: No OFD packet to send [22:11:27]OFD Sender: No OFD packet to send [22:11:32]OFD Sender: No OFD packet to send [22:11:37]OFD Sender: No OFD packet to send [22:11:42]OFD Sender: No OFD packet to send [22:11:47]OFD Sender: No OFD packet to send [22:11:52]OFD Sender: No OFD packet to send [22:11:57]OFD Sender: No OFD packet to send [22:12:02]OFD Sender: No OFD packet to send [22:12:07]OFD Sender: No OFD packet to send [22:12:12]OFD Sender: No OFD packet to send [22:12:17]OFD Sender: No OFD packet to send [22:12:22]OFD Sender: No OFD packet to send [22:12:27]OFD Sender: No OFD packet to send [22:12:32]OFD Sender: No OFD packet to send [22:12:37]OFD Sender: No OFD packet to send [22:12:42]OFD Sender: No OFD packet to send [22:12:47]OFD Sender: No OFD packet to send [22:12:52]OFD Sender: No OFD packet to send [22:12:57]OFD Sender: No OFD packet to send [22:13:02]OFD Sender: No OFD packet to send [22:13:07]OFD Sender: No OFD packet to send [22:13:12]OFD Sender: No OFD packet to send [22:13:17]OFD Sender: No OFD packet to send [22:13:22]OFD Sender: No OFD packet to send [22:13:27]OFD Sender: No OFD packet to send [22:13:32]OFD Sender: No OFD packet to send [22:13:37]OFD Sender: No OFD packet to send [22:13:42]OFD Sender: No OFD packet to send [22:13:47]OFD Sender: No OFD packet to send [22:13:52]OFD Sender: No OFD packet to send [22:13:57]OFD Sender: No OFD packet to send [22:14:02]OFD Sender: No OFD packet to send [22:14:07]OFD Sender: No OFD packet to send [22:14:12]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:12]OFD Sender: No OFD packet to send [22:17:17]OFD Sender: No OFD packet to send [22:17:22]OFD Sender: No OFD packet to send [22:17:27]OFD Sender: No OFD packet to send [22:17:32]OFD Sender: No OFD packet to send [22:17:37]OFD Sender: No OFD packet to send [22:17:42]OFD Sender: No OFD packet to send [22:17:47]OFD Sender: No OFD packet to send [22:17:52]OFD Sender: No OFD packet to send [22:17:57]OFD Sender: No OFD packet to send [22:18:02]OFD Sender: No OFD packet to send [22:18:07]OFD Sender: No OFD packet to send [22:18:12]OFD Sender: No OFD packet to send [22:18:17]OFD Sender: No OFD packet to send [22:18:22]OFD Sender: No OFD packet to send [22:18:27]OFD Sender: No OFD packet to send [22:18:32]OFD Sender: No OFD packet to send [22:18:37]OFD Sender: No OFD packet to send [22:18:42]OFD Sender: No OFD packet to send [22:18:47]OFD Sender: No OFD packet to send [22:18:52]OFD Sender: No OFD packet to send [22:18:57]OFD Sender: No OFD packet to send [22:19:02]OFD Sender: No OFD packet to send [22:19:07]OFD Sender: No OFD packet to send [22:19:12]OFD Sender: No OFD packet to send [22:19:17]OFD Sender: No OFD packet to send [22:19:22]OFD Sender: No OFD packet to send [22:19:27]OFD Sender: No OFD packet to send [22:19:32]OFD Sender: No OFD packet to send [22:19:37]OFD Sender: No OFD packet to send [22:19:42]OFD Sender: No OFD packet to send [22:19:47]OFD Sender: No OFD packet to send [22:19:52]OFD Sender: No OFD packet to send [22:19:57]OFD Sender: No OFD packet to send [22:20:02]OFD Sender: No OFD packet to send [22:20:07]OFD Sender: No OFD packet to send [22:20:12]OFD Sender: No OFD packet to send [22:20:17]OFD Sender: No OFD packet to send [22:20:22]OFD Sender: No OFD packet to send [22:20:27]OFD Sender: No OFD packet to send [22:20:32]OFD Sender: No OFD packet to send [22:20:37]OFD Sender: No OFD packet to send [22:20:42]OFD Sender: No OFD packet to send [22:20:47]OFD Sender: No OFD packet to send [22:20:52]OFD Sender: No OFD packet to send [22:20:57]OFD Sender: No OFD packet to send [22:21:02]OFD Sender: No OFD packet to send [22:21:07]OFD Sender: No OFD packet to send [22:21:12]OFD Sender: No OFD packet to send [22:21:17]OFD Sender: No OFD packet to send [22:21:22]OFD Sender: No OFD packet to send [22:21:27]OFD Sender: No OFD packet to send [22:21:32]OFD Sender: No OFD packet to send [22:21:37]OFD Sender: No OFD packet to send [22:21:42]OFD Sender: No OFD packet to send [22:21:47]OFD Sender: No OFD packet to send [22:21:52]OFD Sender: No OFD packet to send [22:21:57]OFD Sender: No OFD packet to send [22:22:02]OFD Sender: No OFD packet to send [22:22:07]OFD Sender: No OFD packet to send [22:22:12]OFD Sender: No OFD packet to send [22:22:17]OFD Sender: No OFD packet to send [22:22:22]OFD Sender: No OFD packet to send [22:22:23]accept exits with 9 [22:22:23]New connection [22:22:23]New thread 3066785124 created [22:22:23]Thread 3066928484 joined [22:22:23]Waiting for new connection... [22:22:23] Sock 9.Parse request [22:22:23]Sock 9.Check first char [22:22:23]Sock 9.First char is OK [22:22:23]request: POST /json_proto HTTP/1.0 [22:22:23]Method: POST [22:22:23]URL: /json_proto [22:22:23]Method is POST - this is cgi request [22:22:23]url: /json_proto [22:22:23]query_string will be loaded in cgi processing [22:22:23]execute_cgi json_proto POST (null) [22:22:23]execute_cgi path=json_proto method=POST [22:22:23]POST find Content-Length [22:22:23]Host: 172.17.45.8:8080 [22:22:23]Content-Length: 924 [22:22:23]Content-Type: application/json [22:22:23] [22:22:23]POST finish read [22:22:23]Found Content-Length = 924 [22:22:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150485", "tax_sys" : 0, "items" : [ { "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.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" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:22:23]execute_script... [22:22:23]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)150485", "tax_sys" : 0, "items" : [ { "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.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" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:22:23]POST & json_proto [22:22:23]process_json_proto [22:22:23]json parsed OK: [22:22:23]protocol is kg_v1.0 [22:22:23]action value=close_receipt [22:22:23]process_action close_receipt [22:22:23]cmd_close_receipt [22:22:23]MH_GetDate [22:22:23]Write to MH i2c: F0 00 00 19 08 10 [22:22:23]Write i2c OK [22:22:23]MH_I2C_Read... [22:22:23]Read from MH i2c: F0 [22:22:23]MH_I2C_Read... [22:22:23]Read from MH i2c: F0 09 00 [22:22:23]MH_I2C_Read... [22:22:23]Read from MH i2c: F0 09 00 19 08 00 A1 C4 A6 66 A6 1F 7F 64 32 [22:22:23]GetLastDocTimeStamp 1722204582 [22:22:23]current date 1722205345 [22:22:23]FM_GetShiftState [22:22:23]SAM_PROTO_GetShiftState [22:22:23]wFMCommunicate request_size=4 [22:22:23]MH_SAM_APDU [22:22:23]CAPDU: 80 13 01 00 [22:22:23]Write to MH i2c: E2 08 00 1A 08 80 13 01 00 00 00 00 00 9F [22:22:23]Write i2c OK [22:22:23]MH_I2C_Read... [22:22:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:22:23]Read from MH i2c: E2 [22:22:23]MH_I2C_Read... [22:22:23]Read from MH i2c: E2 0E 00 [22:22:23]MH_I2C_Read... [22:22:23]Read from MH i2c: E2 0E 00 1A 08 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 C7 [22:22:23]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [22:22:23]wFMCommunicate OK [22:22:23]SAM_PROTO_GetShiftState done [22:22:23]FM_GetShiftState done [22:22:23]opened in 1722127230 [22:22:23]opened+sec_in_day 1722213630 [22:22:23]quantity*price = 9500 [22:22:23]sum+1 = 9501 [22:22:23]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000310326 Вода Адыгене 1л б/г 1.000 * 35.00 = 35.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.81 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 65 28.07.2024 22:22 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27087 ФПД: 165023054736469 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T222225&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27087&fm=165023054736469&tin=02508201610067®Number=0000000000092663&sum=13000 0 [22:22:24]StoreToDocumentArchive [22:22:24]shift 433 fd 27087 [22:22:24]save to /storage/0433/doc_00027087 [22:22:24]save last doc name /storage/0433/doc_00027087 to /storage/kkm_last_doc_name [22:22:24]save OK [22:22:24]Clear old archive folders... [22:22:24]ProcessDocumentItem done err = 0, tmpTLVsize=394 [22:22:24]tlvbuf is 001B2630 [22:22:24]SAM_PROTO_ClearQueue [22:22:24]wFMCommunicate request_size=4 [22:22:24]MH_SAM_APDU [22:22:24]CAPDU: 80 09 00 00 [22:22:24]Write to MH i2c: E2 08 00 27 08 80 09 00 00 00 00 00 00 A1 [22:22:24]Write i2c OK [22:22:24]MH_I2C_Read... [22:22:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:22:24]Read from MH i2c: E2 [22:22:24]MH_I2C_Read... [22:22:24]Read from MH i2c: E2 03 00 [22:22:24]MH_I2C_Read... [22:22:24]Read from MH i2c: E2 03 00 27 08 00 90 00 A3 [22:22:24]RAPDU: 90 00 [22:22:24]wFMCommunicate OK [22:22:24]SAM_PROTO_ClearQueue done [22:22:24]KKMCreateOFDPacket [22:22:24]OFDProtocolAddRootSTLVToBuf [22:22:24]FM_MakeSignedData [22:22:24]FM_MakeSignedData [22:22:24]SAM_PROTO_SignData [22:22:24]wFMCommunicate request_size=4 [22:22:24]MH_SAM_APDU [22:22:24]CAPDU: 80 0D 01 02 [22:22:24]Write to MH i2c: E2 08 00 28 08 80 0D 01 02 00 00 00 00 A9 [22:22:24]Write i2c OK [22:22:24]MH_I2C_Read... [22:22:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:22:24]Read from MH i2c: E2 [22:22:24]MH_I2C_Read... [22:22:24]Read from MH i2c: E2 03 00 [22:22:24]MH_I2C_Read... [22:22:24]Read from MH i2c: E2 03 00 28 08 00 90 00 A4 [22:22:24]RAPDU: 90 00 [22:22:24]wFMCommunicate OK [22:22:24]wFMCommunicate request_size=255 [22:22:24]MH_SAM_APDU [22:22:24]CAPDU: 80 0D 02 02 FA 03 00 8A 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 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 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 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 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F [22:22:24]Write to MH i2c: E2 02 01 29 08 80 0D 02 02 FA 00 03 00 8A 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 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 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 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 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 24 [22:22:24]Write i2c OK [22:22:24]MH_I2C_Read... [22:22:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:22:24]Read from MH i2c: E2 [22:22:24]MH_I2C_Read... [22:22:24]Read from MH i2c: E2 03 00 [22:22:24]MH_I2C_Read... [22:22:24]Read from MH i2c: E2 03 00 29 08 00 90 00 A5 [22:22:24]RAPDU: 90 00 [22:22:24]wFMCommunicate OK [22:22:24]wFMCommunicate request_size=153 [22:22:24]MH_SAM_APDU [22:22:24]CAPDU: 80 0D 02 02 94 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 65 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 41 00 00 00 F4 03 04 00 A1 C4 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 CF 69 00 00 35 04 06 00 96 16 6C 8E AC 55 [22:22:24]Write to MH i2c: E2 9C 00 2A 08 80 0D 02 02 94 00 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 65 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 41 00 00 00 F4 03 04 00 A1 C4 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 CF 69 00 00 35 04 06 00 96 16 6C 8E AC 55 00 00 1D [22:22:24]Write i2c OK [22:22:24]MH_I2C_Read... [22:22:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:22:24]Read from MH i2c: E2 [22:22:24]MH_I2C_Read... [22:22:24]Read from MH i2c: E2 03 00 [22:22:24]MH_I2C_Read... [22:22:24]Read from MH i2c: E2 03 00 2A 08 00 90 00 A6 [22:22:24]RAPDU: 90 00 [22:22:24]wFMCommunicate OK [22:22:24]wFMCommunicate request_size=4 [22:22:24]MH_SAM_APDU [22:22:24]CAPDU: 80 0D 03 02 [22:22:24]Write to MH i2c: E2 08 00 2B 08 80 0D 03 02 00 00 00 00 AE [22:22:24]Write i2c OK [22:22:24]MH_I2C_Read... [22:22:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:22:24]Read from MH i2c: E2 [22:22:24]MH_I2C_Read... [22:22:24]Read from MH i2c: E2 0B 00 [22:22:24]MH_I2C_Read... [22:22:24]Read from MH i2c: E2 0B 00 2B 08 00 1C 96 38 5D C8 F9 4A 24 90 00 25 [22:22:24]RAPDU: 1C 96 38 5D C8 F9 4A 24 90 00 [22:22:24]wFMCommunicate OK [22:22:24]SAM_PROTO_SignData done [22:22:24]FM_MakeSignedData done [22:22:24]CreateOFDProtocolMessage [22:22:24]wFMCommunicate request_size=4 [22:22:24]MH_SAM_APDU [22:22:24]CAPDU: 80 11 00 00 [22:22:24]Write to MH i2c: E2 08 00 2C 08 80 11 00 00 00 00 00 00 AE [22:22:24]Write i2c OK [22:22:24]MH_I2C_Read... [22:22:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:22:24]Read from MH i2c: E2 [22:22:24]MH_I2C_Read... [22:22:24]Read from MH i2c: E2 17 00 [22:22:24]MH_I2C_Read... [22:22:24]Read from MH i2c: E2 17 00 2C 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 07 [22:22:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [22:22:24]wFMCommunicate OK [22:22:24]CreateOFDProtocolMessage done [22:22:24]OFDSenderStorePacket 27087 [22:22:24]StoreOFDPacket docnum=27087 [22:22:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 9E 01 00 00 FB 00 96 01 5D C2 5A 03 01 00 03 00 8A 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 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 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 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 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 65 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 41 00 00 00 F4 03 04 00 A1 C4 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 CF 69 00 00 35 04 06 00 96 16 6C 8E AC 55 1C 96 38 5D C8 F9 4A 24 [22:22:24]CheckFolder [22:22:24]dirname=/storage/ofd_packets [22:22:24]CheckFolder done [22:22:24]ProducePacketName [22:22:24]name=ofd_packets/00027087 [22:22:24]NVStorageSaveData ofd_packets/00027087 [22:22:24]File name is /storage/ofd_packets/00027087 [22:22:24]Write 444 bytes [22:22:24]NVStorageSaveData done [22:22:24]OFDSenderStorePacket done [22:22:24]KKMCreateOFDPacket done [22:22:24]NVStorageSaveData kkm_last_timestamp [22:22:24]File name is /storage/kkm_last_timestamp [22:22:24]Write 4 bytes [22:22:24]NVStorageSaveData done [22:22:24]ExternCall_PrintAddStr [22:22:24]wPrintStart [22:22:24]Write to MH i2c: 01 00 00 2D 08 35 [22:22:24]Write i2c OK [22:22:24]MH_I2C_Read... [22:22:24]Read from MH i2c: 01 [22:22:24]MH_I2C_Read... [22:22:24]Read from MH i2c: 01 07 00 [22:22:24]MH_I2C_Read... [22:22:24]Read from MH i2c: 01 07 00 2D 08 00 00 00 00 00 FF 0F 4A [22:22:24]RasterBufferAndPrint [22:22:24]line Счет N : (3)150485 [22:22:24]line ИНН: 02508201610067 [22:22:24]line Контрольно-Кассовый Чек [22:22:24]line ПРОДАЖА [22:22:25]line Товар: 5449000176431 [22:22:25]line Сок Piko Pulpy апельсин ПЭТ 0,5л [22:22:25]line 1.000 * 95.00 [22:22:25]line = 95.00 [22:22:25]line НДС 12% НСП 1% [22:22:25]line > о реализуемом товаре [22:22:25]line Товар: 4700000310326 [22:22:25]line Вода Адыгене 1л б/г [22:22:25]line 1.000 * 35.00 [22:22:25]line = 35.00 [22:22:25]line НДС 12% НСП 1% [22:22:25]line > о реализуемом товаре [22:22:25]line ИТОГО: 130.00 [22:22:25]line НСП 1% : 1.15 [22:22:25]line НДС 12% : 13.81 [22:22:25]line Наличными: 130.00 [22:22:25]line Безнал.: 0.00 [22:22:25]line Место: АЗС № 134 "Партнер Нефть" [22:22:25]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [22:22:25]line СНО: Общий режим [22:22:25]line Чек 65 28.07.2024 22:22 [22:22:25]line Смена: 433 ФФД: 1.0 [22:22:25]line ЗНМ: 0300000043 [22:22:25]line РНМ: 0000000000092663 [22:22:25]line Версия ККМ: 001 [22:22:25]line ФМ: 0000000000874937 [22:22:25]line ФД: 27087 [22:22:25]line ФПД: 165023054736469 [22:22:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T222225&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27087&fm=165023054736469&tin=02508201610067®Number=0000000000092663&sum=13000 [22:22:25]line 0 [22:22:25]OFD Sender: Processing packet 27087 [packets to send 9, broken 8] [22:22:25]ProducePacketName [22:22:25]name=ofd_packets/00027087 [22:22:25]OFD Sender: To server: pG, [22:22:25]CommunicateWithHost lk.salyk.kg:30040 [22:22:25]ConnectInit lk.salyk.kg [22:22:25]written 0, free lines is 4095 [22:22:25]Connected sock=10 [22:22:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 9E 01 00 00 FB 00 96 01 5D C2 5A 03 01 00 03 00 8A 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 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 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 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 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 65 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 41 00 00 00 F4 03 04 00 A1 C4 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 CF 69 00 00 35 04 06 00 96 16 6C 8E AC 55 1C 96 38 5D C8 F9 4A 24 [22:22:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 4F BF 47 00 C8 CE 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 38 37 34 39 33 37 10 04 04 00 CF 69 00 00 F4 03 04 00 F4 6A A6 66 B6 04 01 00 00 65 E8 CE ED 61 C0 A8 44 [22:22:25]CommunicateWithHost err = 0 [22:22:25]CheckOFDResponse [22:22:25]1017 (14) - 77093643461234 [22:22:25]1041 (16) - 0000000000874937 [22:22:25]1040 (4) - 27087 [22:22:25]1012 (4) - 28.07.2024 15:59 [22:22:25]1206 (1) - 0 [22:22:25]OFD Sender: Remove packet 27087 [22:22:25]ProducePacketName [22:22:25]name=ofd_packets/00027087 [22:22:25]NVStorageDeleteData [22:22:25]Write to MH i2c: 01 00 00 5B 08 63 [22:22:25]Write i2c OK [22:22:25]MH_I2C_Read... [22:22:25]Read from MH i2c: 01 [22:22:25]MH_I2C_Read... [22:22:25]Read from MH i2c: 01 07 00 [22:22:25]MH_I2C_Read... [22:22:25]Read from MH i2c: 01 07 00 5B 08 00 00 00 00 00 B2 0C 28 [22:22:25]RasterBufferAndPrint [22:22:25]line [22:22:25]line [22:22:25]line [22:22:25]line [22:22:25]line [22:22:25]written 0, free lines is 3257 [22:22:25]MH_Cut [22:22:25]Write to MH i2c: D1 01 00 62 08 01 3C [22:22:25]Write i2c OK [22:22:25]MH_I2C_Read... [22:22:25]Read from MH i2c: D1 [22:22:25]MH_I2C_Read... [22:22:25]Read from MH i2c: D1 01 00 [22:22:25]MH_I2C_Read... [22:22:25]Read from MH i2c: D1 01 00 62 08 00 3B [22:22:25]Write to MH i2c: 01 00 00 63 08 6B [22:22:25]Write i2c OK [22:22:25]MH_I2C_Read... [22:22:26]OFD Sender: No OFD packet to send [22:22:26]*** Cut start [22:22:26]*** Partial cut [22:22:26]*** CUTSNS_PIN = 1 [22:22:26]*** CUTSNS_PIN = 0 [22:22:26]*** Brake cut motor [22:22:27]Read from MH i2c: 01 [22:22:27]MH_I2C_Read... [22:22:27]*** Stop cut motor [22:22:27]*** Cut end [22:22:27]Read from MH i2c: 01 07 00 [22:22:27]MH_I2C_Read... [22:22:27]Read from MH i2c: 01 07 00 63 08 00 00 00 00 00 FF 0F 80 [22:22:27]process_action close_receipt done [22:22:27]requested_data is exist [22:22:27]produce_requested_data [22:22:27]requested_item fm.sn is exist - process it [22:22:27]wFMCommunicate request_size=4 [22:22:27]MH_SAM_APDU [22:22:27]CAPDU: 80 11 00 00 [22:22:27]Write to MH i2c: E2 08 00 64 08 80 11 00 00 00 00 00 00 E6 [22:22:27]Write i2c OK [22:22:27]MH_I2C_Read... [22:22:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:22:27]Read from MH i2c: E2 [22:22:27]MH_I2C_Read... [22:22:27]Read from MH i2c: E2 17 00 [22:22:27]MH_I2C_Read... [22:22:27]Read from MH i2c: E2 17 00 64 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 3F [22:22:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [22:22:27]wFMCommunicate OK [22:22:27]requested_item fd.num is exist - process it [22:22:27]SAM_PROTO_GetFieldsCounters [22:22:27]wFMCommunicate request_size=4 [22:22:27]MH_SAM_APDU [22:22:27]CAPDU: 80 13 00 00 [22:22:27]Write to MH i2c: E2 08 00 65 08 80 13 00 00 00 00 00 00 E9 [22:22:27]Write i2c OK [22:22:27]MH_I2C_Read... [22:22:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:22:27]Read from MH i2c: E2 [22:22:27]MH_I2C_Read... [22:22:27]Read from MH i2c: E2 62 00 [22:22:27]MH_I2C_Read... [22:22:27]Read from MH i2c: E2 62 00 65 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 CF 69 00 00 0E 04 04 00 B1 01 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 BE [22:22:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 CF 69 00 00 0E 04 04 00 B1 01 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 [22:22:27]wFMCommunicate OK [22:22:27]SAM_PROTO_GetFieldsCounters done [22:22:27]requested_item shift.num is exist - process it [22:22:27]requested_item shift.opened is exist - process it [22:22:27]req_shift_opened [22:22:27]FM_GetShiftState [22:22:27]SAM_PROTO_GetShiftState [22:22:27]wFMCommunicate request_size=4 [22:22:27]MH_SAM_APDU [22:22:27]CAPDU: 80 13 01 00 [22:22:27]Write to MH i2c: E2 08 00 66 08 80 13 01 00 00 00 00 00 EB [22:22:27]Write i2c OK [22:22:27]MH_I2C_Read... [22:22:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:22:27]Read from MH i2c: E2 [22:22:27]MH_I2C_Read... [22:22:27]Read from MH i2c: E2 0E 00 [22:22:27]MH_I2C_Read... [22:22:27]Read from MH i2c: E2 0E 00 66 08 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 13 [22:22:27]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [22:22:27]wFMCommunicate OK [22:22:27]SAM_PROTO_GetShiftState done [22:22:27]FM_GetShiftState done [22:22:27]req_shift_opened done [22:22:27]requested_item shift.open_date is exist - process it [22:22:27]req_shift_open_date [22:22:27]req_shift_open_date done [22:22:27]produce_requested_data done [22:22:27]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27087,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [22:22:27]process_action_free close_receipt [22:22:27]json_value_free [22:22:27]json_value_free done [22:22:27]process_json_proto returns [22:22:27]Send response to host [22:22:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27087,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [22:22:27]free response buf [22:22:27]execute_script done [22:22:27]execute_script returns [22:22:27]free content buf [22:22:27]Sock 9.Close socket [22:22:27]Sock 9.Thread stoped [22:22:31]OFD Sender: No OFD packet to send [22:22:36]OFD Sender: No OFD packet to send [22:22:41]OFD Sender: No OFD packet to send [22:22:46]OFD Sender: No OFD packet to send [22:22:51]OFD Sender: No OFD packet to send [22:22:56]OFD Sender: No OFD packet to send [22:23:01]OFD Sender: No OFD packet to send [22:23:06]OFD Sender: No OFD packet to send [22:23:11]OFD Sender: No OFD packet to send [22:23:16]OFD Sender: No OFD packet to send [22:23:21]OFD Sender: No OFD packet to send [22:23:26]OFD Sender: No OFD packet to send [22:23:31]OFD Sender: No OFD packet to send [22:23:36]OFD Sender: No OFD packet to send [22:23:41]OFD Sender: No OFD packet to send [22:23:46]OFD Sender: No OFD packet to send [22:23:51]OFD Sender: No OFD packet to send [22:23:56]OFD Sender: No OFD packet to send [22:24:01]OFD Sender: No OFD packet to send [22:24:06]OFD Sender: No OFD packet to send [22:24:11]OFD Sender: No OFD packet to send [22:24:16]OFD Sender: No OFD packet to send [22:24:21]OFD Sender: No OFD packet to send [22:24:26]OFD Sender: No OFD packet to send [22:24:31]OFD Sender: No OFD packet to send [22:24:36]OFD Sender: No OFD packet to send [22:24:41]OFD Sender: No OFD packet to send [22:24:46]OFD Sender: No OFD packet to send [22:24:51]OFD Sender: No OFD packet to send [22:24:56]OFD Sender: No OFD packet to send [22:25:01]OFD Sender: No OFD packet to send [22:25:06]OFD Sender: No OFD packet to send [22:25:11]OFD Sender: No OFD packet to send [22:25:16]OFD Sender: No OFD packet to send [22:25:21]OFD Sender: No OFD packet to send [22:25:26]OFD Sender: No OFD packet to send [22:25:31]OFD Sender: No OFD packet to send [22:25:36]OFD Sender: No OFD packet to send [22:25:41]OFD Sender: No OFD packet to send [22:25:46]OFD Sender: No OFD packet to send [22:25:51]OFD Sender: No OFD packet to send [22:25:56]OFD Sender: No OFD packet to send [22:26:01]OFD Sender: No OFD packet to send [22:26:06]OFD Sender: No OFD packet to send [22:26:11]OFD Sender: No OFD packet to send [22:26:16]OFD Sender: No OFD packet to send [22:26:21]OFD Sender: No OFD packet to send [22:26:26]OFD Sender: No OFD packet to send [22:26:31]OFD Sender: No OFD packet to send [22:26:36]OFD Sender: No OFD packet to send [22:26:41]OFD Sender: No OFD packet to send [22:26:46]OFD Sender: No OFD packet to send [22:26:51]OFD Sender: No OFD packet to send [22:26:56]OFD Sender: No OFD packet to send [22:27:01]OFD Sender: No OFD packet to send [22:27:06]OFD Sender: No OFD packet to send [22:27:11]OFD Sender: No OFD packet to send [22:27:16]OFD Sender: No OFD packet to send [22:27:21]OFD Sender: No OFD packet to send [22:27:26]OFD Sender: No OFD packet to send [22:27:31]OFD Sender: No OFD packet to send [22:27:36]OFD Sender: No OFD packet to send [22:27:41]OFD Sender: No OFD packet to send [22:27:46]OFD Sender: No OFD packet to send [22:27:51]OFD Sender: No OFD packet to send [22:27:56]OFD Sender: No OFD packet to send [22:28:01]OFD Sender: No OFD packet to send [22:28:06]OFD Sender: No OFD packet to send [22:28:11]OFD Sender: No OFD packet to send [22:28:16]OFD Sender: No OFD packet to send [22:28:21]OFD Sender: No OFD packet to send [22:28:26]OFD Sender: No OFD packet to send [22:28:31]OFD Sender: No OFD packet to send [22:28:33]accept exits with 8 [22:28:33]New connection [22:28:33]New thread 3066928484 created [22:28:33]Thread 3066785124 joined [22:28:33]Waiting for new connection... [22:28:33] Sock 8.Parse request [22:28:33]Sock 8.Check first char [22:28:33]Sock 8.First char is OK [22:28:33]request: POST /json_proto HTTP/1.0 [22:28:33]Method: POST [22:28:33]URL: /json_proto [22:28:33]Method is POST - this is cgi request [22:28:33]url: /json_proto [22:28:33]query_string will be loaded in cgi processing [22:28:33]execute_cgi json_proto POST (null) [22:28:33]execute_cgi path=json_proto method=POST [22:28:33]POST find Content-Length [22:28:33]Host: 172.17.45.8:8080 [22:28:33]Content-Length: 639 [22:28:33]Content-Type: application/json [22:28:33] [22:28:33]POST finish read [22:28:33]Found Content-Length = 639 [22:28:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150486", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\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" ] } } [22:28:33]execute_script... [22:28: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)150486", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\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" ] } } [22:28:33]POST & json_proto [22:28:33]process_json_proto [22:28:33]json parsed OK: [22:28:33]protocol is kg_v1.0 [22:28:33]action value=close_receipt [22:28:33]process_action close_receipt [22:28:33]cmd_close_receipt [22:28:33]MH_GetDate [22:28:33]Write to MH i2c: F0 00 00 67 08 5E [22:28:33]Write i2c OK [22:28:33]MH_I2C_Read... [22:28:33]Read from MH i2c: F0 [22:28:33]MH_I2C_Read... [22:28:33]Read from MH i2c: F0 09 00 [22:28:33]MH_I2C_Read... [22:28:33]Read from MH i2c: F0 09 00 67 08 00 14 C6 A6 66 A6 1F 7F 64 F5 [22:28:33]GetLastDocTimeStamp 1722205345 [22:28:33]current date 1722205716 [22:28:33]FM_GetShiftState [22:28:33]SAM_PROTO_GetShiftState [22:28:33]wFMCommunicate request_size=4 [22:28:33]MH_SAM_APDU [22:28:33]CAPDU: 80 13 01 00 [22:28:33]Write to MH i2c: E2 08 00 68 08 80 13 01 00 00 00 00 00 ED [22:28:33]Write i2c OK [22:28:33]MH_I2C_Read... [22:28:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:28:33]Read from MH i2c: E2 [22:28:33]MH_I2C_Read... [22:28:33]Read from MH i2c: E2 0E 00 [22:28:33]MH_I2C_Read... [22:28:33]Read from MH i2c: E2 0E 00 68 08 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 15 [22:28:33]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [22:28:33]wFMCommunicate OK [22:28:33]SAM_PROTO_GetShiftState done [22:28:33]FM_GetShiftState done [22:28:33]opened in 1722127230 [22:28:33]opened+sec_in_day 1722213630 [22:28:33]quantity*price = 12500 [22:28:33]sum+1 = 12501 [22:28:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 66 28.07.2024 22:28 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27088 ФПД: 84629170570726 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T222836&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27088&fm=84629170570726&tin=02508201610067®Number=0000000000092663&sum=12500 0 [22:28:35]StoreToDocumentArchive [22:28:35]shift 433 fd 27088 [22:28:35]save to /storage/0433/doc_00027088 [22:28:35]save last doc name /storage/0433/doc_00027088 to /storage/kkm_last_doc_name [22:28:35]save OK [22:28:35]Clear old archive folders... [22:28:35]ProcessDocumentItem done err = 0, tmpTLVsize=271 [22:28:35]tlvbuf is 00189F40 [22:28:35]SAM_PROTO_ClearQueue [22:28:35]wFMCommunicate request_size=4 [22:28:35]MH_SAM_APDU [22:28:35]CAPDU: 80 09 00 00 [22:28:35]Write to MH i2c: E2 08 00 75 08 80 09 00 00 00 00 00 00 EF [22:28:35]Write i2c OK [22:28:35]MH_I2C_Read... [22:28:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:28:35]Read from MH i2c: E2 [22:28:35]MH_I2C_Read... [22:28:35]Read from MH i2c: E2 03 00 [22:28:35]MH_I2C_Read... [22:28:35]Read from MH i2c: E2 03 00 75 08 00 90 00 F1 [22:28:35]RAPDU: 90 00 [22:28:35]wFMCommunicate OK [22:28:35]SAM_PROTO_ClearQueue done [22:28:35]KKMCreateOFDPacket [22:28:35]OFDProtocolAddRootSTLVToBuf [22:28:35]FM_MakeSignedData [22:28:35]FM_MakeSignedData [22:28:35]SAM_PROTO_SignData [22:28:35]wFMCommunicate request_size=4 [22:28:35]MH_SAM_APDU [22:28:35]CAPDU: 80 0D 01 02 [22:28:35]Write to MH i2c: E2 08 00 76 08 80 0D 01 02 00 00 00 00 F7 [22:28:35]Write i2c OK [22:28:35]MH_I2C_Read... [22:28:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:28:35]Read from MH i2c: E2 [22:28:35]MH_I2C_Read... [22:28:35]Read from MH i2c: E2 03 00 [22:28:35]MH_I2C_Read... [22:28:35]Read from MH i2c: E2 03 00 76 08 00 90 00 F2 [22:28:35]RAPDU: 90 00 [22:28:35]wFMCommunicate OK [22:28:35]wFMCommunicate request_size=255 [22:28:35]MH_SAM_APDU [22:28:35]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 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 42 00 00 00 F4 03 04 00 14 C6 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 [22:28:35]Write to MH i2c: E2 02 01 77 08 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 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 42 00 00 00 F4 03 04 00 14 C6 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 D7 [22:28:35]Write i2c OK [22:28:35]MH_I2C_Read... [22:28:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:28:35]Read from MH i2c: E2 [22:28:35]MH_I2C_Read... [22:28:35]Read from MH i2c: E2 03 00 [22:28:35]MH_I2C_Read... [22:28:35]Read from MH i2c: E2 03 00 77 08 00 90 00 F3 [22:28:35]RAPDU: 90 00 [22:28:35]wFMCommunicate OK [22:28:35]wFMCommunicate request_size=30 [22:28:35]MH_SAM_APDU [22:28:35]CAPDU: 80 0D 02 02 19 30 38 37 34 39 33 37 10 04 04 00 D0 69 00 00 35 04 06 00 4C F8 43 A6 45 E6 [22:28:35]Write to MH i2c: E2 21 00 78 08 80 0D 02 02 19 00 30 38 37 34 39 33 37 10 04 04 00 D0 69 00 00 35 04 06 00 4C F8 43 A6 45 E6 00 00 8A [22:28:35]Write i2c OK [22:28:35]MH_I2C_Read... [22:28:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:28:35]Read from MH i2c: E2 [22:28:35]MH_I2C_Read... [22:28:35]Read from MH i2c: E2 03 00 [22:28:35]MH_I2C_Read... [22:28:35]Read from MH i2c: E2 03 00 78 08 00 90 00 F4 [22:28:35]RAPDU: 90 00 [22:28:35]wFMCommunicate OK [22:28:35]wFMCommunicate request_size=4 [22:28:35]MH_SAM_APDU [22:28:35]CAPDU: 80 0D 03 02 [22:28:35]Write to MH i2c: E2 08 00 79 08 80 0D 03 02 00 00 00 00 FC [22:28:35]Write i2c OK [22:28:35]MH_I2C_Read... [22:28:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:28:35]Read from MH i2c: E2 [22:28:35]MH_I2C_Read... [22:28:35]Read from MH i2c: E2 0B 00 [22:28:35]MH_I2C_Read... [22:28:35]Read from MH i2c: E2 0B 00 79 08 00 86 0B 8D E3 84 E7 21 02 90 00 8C [22:28:35]RAPDU: 86 0B 8D E3 84 E7 21 02 90 00 [22:28:35]wFMCommunicate OK [22:28:35]SAM_PROTO_SignData done [22:28:35]FM_MakeSignedData done [22:28:35]CreateOFDProtocolMessage [22:28:35]wFMCommunicate request_size=4 [22:28:35]MH_SAM_APDU [22:28:35]CAPDU: 80 11 00 00 [22:28:35]Write to MH i2c: E2 08 00 7A 08 80 11 00 00 00 00 00 00 FC [22:28:35]Write i2c OK [22:28:35]MH_I2C_Read... [22:28:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:28:35]Read from MH i2c: E2 [22:28:35]MH_I2C_Read... [22:28:35]Read from MH i2c: E2 17 00 [22:28:35]MH_I2C_Read... [22:28:35]Read from MH i2c: E2 17 00 7A 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 55 [22:28:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [22:28:35]wFMCommunicate OK [22:28:35]CreateOFDProtocolMessage done [22:28:35]OFDSenderStorePacket 27088 [22:28:35]StoreOFDPacket docnum=27088 [22:28:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 23 01 00 00 33 43 1B 01 C8 9C 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 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 42 00 00 00 F4 03 04 00 14 C6 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D0 69 00 00 35 04 06 00 4C F8 43 A6 45 E6 86 0B 8D E3 84 E7 21 02 [22:28:35]CheckFolder [22:28:35]dirname=/storage/ofd_packets [22:28:35]CheckFolder done [22:28:35]ProducePacketName [22:28:35]name=ofd_packets/00027088 [22:28:35]NVStorageSaveData ofd_packets/00027088 [22:28:35]File name is /storage/ofd_packets/00027088 [22:28:35]Write 321 bytes [22:28:35]NVStorageSaveData done [22:28:35]OFDSenderStorePacket done [22:28:35]KKMCreateOFDPacket done [22:28:35]NVStorageSaveData kkm_last_timestamp [22:28:35]File name is /storage/kkm_last_timestamp [22:28:35]Write 4 bytes [22:28:35]NVStorageSaveData done [22:28:35]ExternCall_PrintAddStr [22:28:35]wPrintStart [22:28:35]Write to MH i2c: 01 00 00 7B 08 83 [22:28:35]Write i2c OK [22:28:35]MH_I2C_Read... [22:28:35]Read from MH i2c: 01 [22:28:35]MH_I2C_Read... [22:28:35]Read from MH i2c: 01 07 00 [22:28:35]MH_I2C_Read... [22:28:35]Read from MH i2c: 01 07 00 7B 08 00 00 00 00 00 FF 0F 98 [22:28:35]RasterBufferAndPrint [22:28:35]line Счет N : (3)150486 [22:28:35]line ИНН: 02508201610067 [22:28:35]line Контрольно-Кассовый Чек [22:28:35]line ПРОДАЖА [22:28:35]line Товар: 5449000006271 [22:28:35]line Напиток Фанта 1л [22:28:35]line 1.000 * 125.00 [22:28:35]line = 125.00 [22:28:35]line НДС 12% НСП 1% [22:28:35]line > о реализуемом товаре [22:28:35]line ИТОГО: 125.00 [22:28:35]line НСП 1% : 1.11 [22:28:35]line НДС 12% : 13.27 [22:28:35]line Наличными: 125.00 [22:28:35]line Безнал.: 0.00 [22:28:35]line Место: АЗС № 134 "Партнер Нефть" [22:28:35]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [22:28:35]line СНО: Общий режим [22:28:35]line Чек 66 28.07.2024 22:28 [22:28:35]line Смена: 433 ФФД: 1.0 [22:28:35]line ЗНМ: 0300000043 [22:28:35]line РНМ: 0000000000092663 [22:28:35]line Версия ККМ: 001 [22:28:35]line ФМ: 0000000000874937 [22:28:35]line ФД: 27088 [22:28:35]line ФПД: 84629170570726 [22:28:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T222836&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27088&fm=84629170570726&tin=02508201610067®Number=0000000000092663&sum=12500 [22:28:35]line 0 [22:28:35]written 0, free lines is 4095 [22:28:35]OFD Sender: Processing packet 27088 [packets to send 9, broken 8] [22:28:35]ProducePacketName [22:28:35]name=ofd_packets/00027088 [22:28:35]OFD Sender: To server: pG, [22:28:35]CommunicateWithHost lk.salyk.kg:30040 [22:28:35]ConnectInit lk.salyk.kg [22:28:35]Connected sock=10 [22:28:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 23 01 00 00 33 43 1B 01 C8 9C 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 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 42 00 00 00 F4 03 04 00 14 C6 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D0 69 00 00 35 04 06 00 4C F8 43 A6 45 E6 86 0B 8D E3 84 E7 21 02 [22:28:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 14 DD 47 00 8B DE 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 38 37 34 39 33 37 10 04 04 00 D0 69 00 00 F4 03 04 00 66 6C A6 66 B6 04 01 00 00 1D B0 F6 7F 76 21 CE 13 [22:28:35]CommunicateWithHost err = 0 [22:28:35]CheckOFDResponse [22:28:35]1017 (14) - 77093643461234 [22:28:35]1041 (16) - 0000000000874937 [22:28:35]1040 (4) - 27088 [22:28:35]1012 (4) - 28.07.2024 16:05 [22:28:35]1206 (1) - 0 [22:28:35]OFD Sender: Remove packet 27088 [22:28:35]ProducePacketName [22:28:35]name=ofd_packets/00027088 [22:28:35]NVStorageDeleteData [22:28:36]Write to MH i2c: 01 00 00 A2 08 AA [22:28:36]Write i2c OK [22:28:36]MH_I2C_Read... [22:28:36]Read from MH i2c: 01 [22:28:36]MH_I2C_Read... [22:28:36]Read from MH i2c: 01 07 00 [22:28:36]MH_I2C_Read... [22:28:36]Read from MH i2c: 01 07 00 A2 08 00 00 00 00 00 04 0D C2 [22:28:36]RasterBufferAndPrint [22:28:36]line [22:28:36]line [22:28:36]line [22:28:36]line [22:28:36]line [22:28:36]written 0, free lines is 3341 [22:28:36]MH_Cut [22:28:36]Write to MH i2c: D1 01 00 A9 08 01 83 [22:28:36]Write i2c OK [22:28:36]MH_I2C_Read... [22:28:36]Read from MH i2c: D1 [22:28:36]MH_I2C_Read... [22:28:36]Read from MH i2c: D1 01 00 [22:28:36]MH_I2C_Read... [22:28:36]Read from MH i2c: D1 01 00 A9 08 00 82 [22:28:36]Write to MH i2c: 01 00 00 AA 08 B2 [22:28:36]Write i2c OK [22:28:36]MH_I2C_Read... [22:28:36]OFD Sender: No OFD packet to send [22:28:36]*** Cut start [22:28:36]*** Partial cut [22:28:36]*** CUTSNS_PIN = 1 [22:28:36]*** CUTSNS_PIN = 0 [22:28:37]*** Brake cut motor [22:28:37]Read from MH i2c: 01 [22:28:37]MH_I2C_Read... [22:28:37]*** Stop cut motor [22:28:37]*** Cut end [22:28:37]Read from MH i2c: 01 07 00 [22:28:37]MH_I2C_Read... [22:28:37]Read from MH i2c: 01 07 00 AA 08 00 00 00 00 00 FF 0F C7 [22:28:37]process_action close_receipt done [22:28:37]requested_data is exist [22:28:37]produce_requested_data [22:28:37]requested_item fm.sn is exist - process it [22:28:37]wFMCommunicate request_size=4 [22:28:37]MH_SAM_APDU [22:28:37]CAPDU: 80 11 00 00 [22:28:37]Write to MH i2c: E2 08 00 AB 08 80 11 00 00 00 00 00 00 2D [22:28:37]Write i2c OK [22:28:37]MH_I2C_Read... [22:28:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:28:37]Read from MH i2c: E2 [22:28:37]MH_I2C_Read... [22:28:37]Read from MH i2c: E2 17 00 [22:28:37]MH_I2C_Read... [22:28:37]Read from MH i2c: E2 17 00 AB 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 86 [22:28:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [22:28:37]wFMCommunicate OK [22:28:37]requested_item fd.num is exist - process it [22:28:37]SAM_PROTO_GetFieldsCounters [22:28:37]wFMCommunicate request_size=4 [22:28:37]MH_SAM_APDU [22:28:37]CAPDU: 80 13 00 00 [22:28:37]Write to MH i2c: E2 08 00 AC 08 80 13 00 00 00 00 00 00 30 [22:28:37]Write i2c OK [22:28:37]MH_I2C_Read... [22:28:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:28:37]Read from MH i2c: E2 [22:28:37]MH_I2C_Read... [22:28:37]Read from MH i2c: E2 62 00 [22:28:37]MH_I2C_Read... [22:28:37]Read from MH i2c: E2 62 00 AC 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D0 69 00 00 0E 04 04 00 B1 01 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 09 [22:28:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D0 69 00 00 0E 04 04 00 B1 01 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 [22:28:37]wFMCommunicate OK [22:28:37]SAM_PROTO_GetFieldsCounters done [22:28:37]requested_item shift.num is exist - process it [22:28:37]requested_item shift.opened is exist - process it [22:28:37]req_shift_opened [22:28:37]FM_GetShiftState [22:28:37]SAM_PROTO_GetShiftState [22:28:37]wFMCommunicate request_size=4 [22:28:37]MH_SAM_APDU [22:28:37]CAPDU: 80 13 01 00 [22:28:37]Write to MH i2c: E2 08 00 AD 08 80 13 01 00 00 00 00 00 32 [22:28:37]Write i2c OK [22:28:37]MH_I2C_Read... [22:28:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:28:37]Read from MH i2c: E2 [22:28:37]MH_I2C_Read... [22:28:37]Read from MH i2c: E2 0E 00 [22:28:37]MH_I2C_Read... [22:28:37]Read from MH i2c: E2 0E 00 AD 08 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 5A [22:28:37]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [22:28:37]wFMCommunicate OK [22:28:37]SAM_PROTO_GetShiftState done [22:28:37]FM_GetShiftState done [22:28:37]req_shift_opened done [22:28:37]requested_item shift.open_date is exist - process it [22:28:37]req_shift_open_date [22:28:37]req_shift_open_date done [22:28:37]produce_requested_data done [22:28:37]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27088,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [22:28:37]process_action_free close_receipt [22:28:37]json_value_free [22:28:37]json_value_free done [22:28:37]process_json_proto returns [22:28:37]Send response to host [22:28:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27088,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [22:28:37]free response buf [22:28:37]execute_script done [22:28:37]execute_script returns [22:28:37]free content buf [22:28:37]Sock 8.Close socket [22:28:37]Sock 8.Thread stoped [22:28:41]OFD Sender: No OFD packet to send [22:28:46]OFD Sender: No OFD packet to send [22:28:51]OFD Sender: No OFD packet to send [22:28:56]OFD Sender: No OFD packet to send [22:29:01]OFD Sender: No OFD packet to send [22:29:06]OFD Sender: No OFD packet to send [22:29:11]OFD Sender: No OFD packet to send [22:29:16]OFD Sender: No OFD packet to send [22:29:17]accept exits with 9 [22:29:17]New connection [22:29:17]New thread 3066785124 created [22:29:17]Thread 3066928484 joined [22:29:17]Waiting for new connection... [22:29:17] Sock 9.Parse request [22:29:17]Sock 9.Check first char [22:29:17]Sock 9.First char is OK [22:29:17]request: POST /json_proto HTTP/1.0 [22:29:17]Method: POST [22:29:17]URL: /json_proto [22:29:17]Method is POST - this is cgi request [22:29:17]url: /json_proto [22:29:17]query_string will be loaded in cgi processing [22:29:17]execute_cgi json_proto POST (null) [22:29:17]execute_cgi path=json_proto method=POST [22:29:17]POST find Content-Length [22:29:17]Host: 172.17.45.8:8080 [22:29:17]Content-Length: 797 [22:29:17]Content-Type: application/json [22:29:17] [22:29:17]POST finish read [22:29:17]Found Content-Length = 797 [22:29:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150487", "tax_sys" : 0, "items" : [ { "code": "4650063118011", "name": "\u041C\u0430\u0441\u043B\u043E GPN Diesel Extra 10W-40 1\u043B", "price" : 420.00, "quantity" : 1.000, "sum" : 420.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" : 420.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:29:17]execute_script... [22:29: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)150487", "tax_sys" : 0, "items" : [ { "code": "4650063118011", "name": "\u041C\u0430\u0441\u043B\u043E GPN Diesel Extra 10W-40 1\u043B", "price" : 420.00, "quantity" : 1.000, "sum" : 420.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" : 420.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:29:17]POST & json_proto [22:29:17]process_json_proto [22:29:17]json parsed OK: [22:29:17]protocol is kg_v1.0 [22:29:17]action value=close_receipt [22:29:17]process_action close_receipt [22:29:17]cmd_close_receipt [22:29:17]MH_GetDate [22:29:17]Write to MH i2c: F0 00 00 AE 08 A5 [22:29:17]Write i2c OK [22:29:17]MH_I2C_Read... [22:29:17]Read from MH i2c: F0 [22:29:17]MH_I2C_Read... [22:29:17]Read from MH i2c: F0 09 00 [22:29:17]MH_I2C_Read... [22:29:17]Read from MH i2c: F0 09 00 AE 08 00 40 C6 A6 66 A6 1F 7F 64 68 [22:29:17]GetLastDocTimeStamp 1722205716 [22:29:17]current date 1722205760 [22:29:17]FM_GetShiftState [22:29:17]SAM_PROTO_GetShiftState [22:29:17]wFMCommunicate request_size=4 [22:29:17]MH_SAM_APDU [22:29:17]CAPDU: 80 13 01 00 [22:29:17]Write to MH i2c: E2 08 00 AF 08 80 13 01 00 00 00 00 00 34 [22:29:17]Write i2c OK [22:29:17]MH_I2C_Read... [22:29:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:29:17]Read from MH i2c: E2 [22:29:17]MH_I2C_Read... [22:29:17]Read from MH i2c: E2 0E 00 [22:29:17]MH_I2C_Read... [22:29:17]Read from MH i2c: E2 0E 00 AF 08 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 5C [22:29:17]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [22:29:17]wFMCommunicate OK [22:29:17]SAM_PROTO_GetShiftState done [22:29:17]FM_GetShiftState done [22:29:17]opened in 1722127230 [22:29:17]opened+sec_in_day 1722213630 [22:29:17]quantity*price = 42000 [22:29:17]sum+1 = 42001 [22:29:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 420.00 НСП 1% : 3.72 НДС 12% : 44.60 Наличными: 0.00 Безнал.: 420.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 67 28.07.2024 22:29 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874937 ФД: 27089 ФПД: 202428177370500 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T222920&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27089&fm=202428177370500&tin=02508201610067®Number=0000000000092663&sum=42000 0 [22:29:18]StoreToDocumentArchive [22:29:18]shift 433 fd 27089 [22:29:18]save to /storage/0433/doc_00027089 [22:29:18]save last doc name /storage/0433/doc_00027089 to /storage/kkm_last_doc_name [22:29:18]save OK [22:29:18]Clear old archive folders... [22:29:19]ProcessDocumentItem done err = 0, tmpTLVsize=280 [22:29:19]tlvbuf is B6F4FB20 [22:29:19]SAM_PROTO_ClearQueue [22:29:19]wFMCommunicate request_size=4 [22:29:19]MH_SAM_APDU [22:29:19]CAPDU: 80 09 00 00 [22:29:19]Write to MH i2c: E2 08 00 BC 08 80 09 00 00 00 00 00 00 36 [22:29:19]Write i2c OK [22:29:19]MH_I2C_Read... [22:29:19]Read from MH i2c: E2 [22:29:19]MH_I2C_Read... [22:29:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:29:19]Read from MH i2c: E2 03 00 [22:29:19]MH_I2C_Read... [22:29:19]Read from MH i2c: E2 03 00 BC 08 00 90 00 38 [22:29:19]RAPDU: 90 00 [22:29:19]wFMCommunicate OK [22:29:19]SAM_PROTO_ClearQueue done [22:29:19]KKMCreateOFDPacket [22:29:19]OFDProtocolAddRootSTLVToBuf [22:29:19]FM_MakeSignedData [22:29:19]FM_MakeSignedData [22:29:19]SAM_PROTO_SignData [22:29:19]wFMCommunicate request_size=4 [22:29:19]MH_SAM_APDU [22:29:19]CAPDU: 80 0D 01 02 [22:29:19]Write to MH i2c: E2 08 00 BD 08 80 0D 01 02 00 00 00 00 3E [22:29:19]Write i2c OK [22:29:19]MH_I2C_Read... [22:29:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:29:19]Read from MH i2c: E2 [22:29:19]MH_I2C_Read... [22:29:19]Read from MH i2c: E2 03 00 [22:29:19]MH_I2C_Read... [22:29:19]Read from MH i2c: E2 03 00 BD 08 00 90 00 39 [22:29:19]RAPDU: 90 00 [22:29:19]wFMCommunicate OK [22:29:19]wFMCommunicate request_size=255 [22:29:19]MH_SAM_APDU [22:29:19]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 38 30 31 31 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 50 4E 20 44 69 65 73 65 6C 20 45 78 74 72 61 20 31 30 57 2D 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 A4 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 A4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 74 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 A4 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 40 C6 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 [22:29:19]Write to MH i2c: E2 02 01 BE 08 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 38 30 31 31 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 50 4E 20 44 69 65 73 65 6C 20 45 78 74 72 61 20 31 30 57 2D 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 A4 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 A4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 74 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 A4 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 40 C6 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 00 00 3F [22:29:19]Write i2c OK [22:29:19]MH_I2C_Read... [22:29:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:29:19]Read from MH i2c: E2 [22:29:19]MH_I2C_Read... [22:29:19]Read from MH i2c: E2 03 00 [22:29:19]MH_I2C_Read... [22:29:19]Read from MH i2c: E2 03 00 BE 08 00 90 00 3A [22:29:19]RAPDU: 90 00 [22:29:19]wFMCommunicate OK [22:29:19]wFMCommunicate request_size=39 [22:29:19]MH_SAM_APDU [22:29:19]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D1 69 00 00 35 04 06 00 B8 1B 7B 9A CD 84 [22:29:19]Write to MH i2c: E2 2A 00 BF 08 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D1 69 00 00 35 04 06 00 B8 1B 7B 9A CD 84 00 00 75 [22:29:19]Write i2c OK [22:29:19]MH_I2C_Read... [22:29:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:29:19]Read from MH i2c: E2 [22:29:19]MH_I2C_Read... [22:29:19]Read from MH i2c: E2 03 00 [22:29:19]MH_I2C_Read... [22:29:19]Read from MH i2c: E2 03 00 BF 08 00 90 00 3B [22:29:19]RAPDU: 90 00 [22:29:19]wFMCommunicate OK [22:29:19]wFMCommunicate request_size=4 [22:29:19]MH_SAM_APDU [22:29:19]CAPDU: 80 0D 03 02 [22:29:19]Write to MH i2c: E2 08 00 C0 08 80 0D 03 02 00 00 00 00 43 [22:29:19]Write i2c OK [22:29:19]MH_I2C_Read... [22:29:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:29:19]Read from MH i2c: E2 [22:29:19]MH_I2C_Read... [22:29:19]Read from MH i2c: E2 0B 00 [22:29:19]MH_I2C_Read... [22:29:19]Read from MH i2c: E2 0B 00 C0 08 00 13 5B 61 87 05 83 E3 A5 90 00 AA [22:29:19]RAPDU: 13 5B 61 87 05 83 E3 A5 90 00 [22:29:19]wFMCommunicate OK [22:29:19]SAM_PROTO_SignData done [22:29:19]FM_MakeSignedData done [22:29:19]CreateOFDProtocolMessage [22:29:19]wFMCommunicate request_size=4 [22:29:19]MH_SAM_APDU [22:29:19]CAPDU: 80 11 00 00 [22:29:19]Write to MH i2c: E2 08 00 C1 08 80 11 00 00 00 00 00 00 43 [22:29:19]Write i2c OK [22:29:19]MH_I2C_Read... [22:29:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:29:19]Read from MH i2c: E2 [22:29:19]MH_I2C_Read... [22:29:19]Read from MH i2c: E2 17 00 [22:29:19]MH_I2C_Read... [22:29:19]Read from MH i2c: E2 17 00 C1 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 9C [22:29:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [22:29:19]wFMCommunicate OK [22:29:19]CreateOFDProtocolMessage done [22:29:19]OFDSenderStorePacket 27089 [22:29:19]StoreOFDPacket docnum=27089 [22:29:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 2C 01 00 00 08 0C 24 01 FA 51 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 38 30 31 31 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 50 4E 20 44 69 65 73 65 6C 20 45 78 74 72 61 20 31 30 57 2D 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 A4 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 A4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 74 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 A4 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 40 C6 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D1 69 00 00 35 04 06 00 B8 1B 7B 9A CD 84 13 5B 61 87 05 83 E3 A5 [22:29:19]CheckFolder [22:29:19]dirname=/storage/ofd_packets [22:29:19]CheckFolder done [22:29:19]ProducePacketName [22:29:19]name=ofd_packets/00027089 [22:29:19]NVStorageSaveData ofd_packets/00027089 [22:29:19]File name is /storage/ofd_packets/00027089 [22:29:19]Write 330 bytes [22:29:19]NVStorageSaveData done [22:29:19]OFDSenderStorePacket done [22:29:19]KKMCreateOFDPacket done [22:29:19]NVStorageSaveData kkm_last_timestamp [22:29:19]File name is /storage/kkm_last_timestamp [22:29:19]Write 4 bytes [22:29:19]NVStorageSaveData done [22:29:19]ExternCall_PrintAddStr [22:29:19]wPrintStart [22:29:19]Write to MH i2c: 01 00 00 C2 08 CA [22:29:19]Write i2c OK [22:29:19]MH_I2C_Read... [22:29:19]Read from MH i2c: 01 [22:29:19]MH_I2C_Read... [22:29:19]Read from MH i2c: 01 07 00 [22:29:19]MH_I2C_Read... [22:29:19]Read from MH i2c: 01 07 00 C2 08 00 00 00 00 00 FF 0F DF [22:29:19]RasterBufferAndPrint [22:29:19]line Счет N : (3)150487 [22:29:19]line ИНН: 02508201610067 [22:29:19]line Контрольно-Кассовый Чек [22:29:19]line ПРОДАЖА [22:29:19]line Товар: 4650063118011 [22:29:19]line Масло GPN Diesel Extra 10W-40 1л [22:29:19]line 1.000 * 420.00 [22:29:19]line = 420.00 [22:29:19]line НДС 12% НСП 1% [22:29:19]line > о реализуемом товаре [22:29:19]line ИТОГО: 420.00 [22:29:19]line НСП 1% : 3.72 [22:29:19]line НДС 12% : 44.60 [22:29:19]line Наличными: 0.00 [22:29:19]line Безнал.: 420.00 [22:29:19]line Место: АЗС № 134 "Партнер Нефть" [22:29:19]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [22:29:19]line СНО: Общий режим [22:29:19]line Чек 67 28.07.2024 22:29 [22:29:19]line Смена: 433 ФФД: 1.0 [22:29:19]line ЗНМ: 0300000043 [22:29:19]line РНМ: 0000000000092663 [22:29:19]line Версия ККМ: 001 [22:29:19]line Платежная система: Бакай Банк [22:29:19]line ФМ: 0000000000874937 [22:29:19]line ФД: 27089 [22:29:19]line ФПД: 202428177370500 [22:29:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T222920&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27089&fm=202428177370500&tin=02508201610067®Number=0000000000092663&sum=42000 [22:29:19]line 0 [22:29:19]OFD Sender: Processing packet 27089 [packets to send 9, broken 8] [22:29:19]ProducePacketName [22:29:19]name=ofd_packets/00027089 [22:29:19]OFD Sender: To server: pG, [22:29:19]CommunicateWithHost lk.salyk.kg:30040 [22:29:19]ConnectInit lk.salyk.kg [22:29:19]written 0, free lines is 4095 [22:29:19]Connected sock=10 [22:29:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 2C 01 00 00 08 0C 24 01 FA 51 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 35 30 30 36 33 31 31 38 30 31 31 06 04 26 00 D0 9C D0 B0 D1 81 D0 BB D0 BE 20 47 50 4E 20 44 69 65 73 65 6C 20 45 78 74 72 61 20 31 30 57 2D 34 30 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 A4 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 A4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 74 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 A4 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 40 C6 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D1 69 00 00 35 04 06 00 B8 1B 7B 9A CD 84 13 5B 61 87 05 83 E3 A5 [22:29:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 3E 38 47 00 3C F3 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 38 37 34 39 33 37 10 04 04 00 D1 69 00 00 F4 03 04 00 92 6C A6 66 B6 04 01 00 00 59 0B F8 13 08 61 A0 A9 [22:29:20]CommunicateWithHost err = 0 [22:29:20]CheckOFDResponse [22:29:20]1017 (14) - 77093643461234 [22:29:20]1041 (16) - 0000000000874937 [22:29:20]1040 (4) - 27089 [22:29:20]1012 (4) - 28.07.2024 16:06 [22:29:20]1206 (1) - 0 [22:29:20]OFD Sender: Remove packet 27089 [22:29:20]ProducePacketName [22:29:20]name=ofd_packets/00027089 [22:29:20]NVStorageDeleteData [22:29:20]Write to MH i2c: 01 00 00 EC 08 F4 [22:29:20]Write i2c OK [22:29:20]MH_I2C_Read... [22:29:20]Read from MH i2c: 01 [22:29:20]MH_I2C_Read... [22:29:20]Read from MH i2c: 01 07 00 [22:29:20]MH_I2C_Read... [22:29:20]Read from MH i2c: 01 07 00 EC 08 00 00 00 00 00 CD 0C D4 [22:29:20]RasterBufferAndPrint [22:29:20]line [22:29:20]line [22:29:20]line [22:29:20]line [22:29:20]line [22:29:20]written 0, free lines is 3283 [22:29:20]MH_Cut [22:29:20]Write to MH i2c: D1 01 00 F3 08 01 CD [22:29:20]Write i2c OK [22:29:20]MH_I2C_Read... [22:29:20]Read from MH i2c: D1 [22:29:20]MH_I2C_Read... [22:29:20]Read from MH i2c: D1 01 00 [22:29:20]MH_I2C_Read... [22:29:20]Read from MH i2c: D1 01 00 F3 08 00 CC [22:29:20]Write to MH i2c: 01 00 00 F4 08 FC [22:29:20]Write i2c OK [22:29:20]MH_I2C_Read... [22:29:20]OFD Sender: No OFD packet to send [22:29:21]*** Cut start [22:29:21]*** Partial cut [22:29:21]*** CUTSNS_PIN = 1 [22:29:21]*** CUTSNS_PIN = 0 [22:29:21]*** Brake cut motor [22:29:21]Read from MH i2c: 01 [22:29:21]MH_I2C_Read... [22:29:21]*** Stop cut motor [22:29:21]*** Cut end [22:29:21]Read from MH i2c: 01 07 00 [22:29:21]MH_I2C_Read... [22:29:21]Read from MH i2c: 01 07 00 F4 08 00 00 00 00 00 FF 0F 11 [22:29:21]process_action close_receipt done [22:29:21]requested_data is exist [22:29:21]produce_requested_data [22:29:21]requested_item fm.sn is exist - process it [22:29:21]wFMCommunicate request_size=4 [22:29:21]MH_SAM_APDU [22:29:21]CAPDU: 80 11 00 00 [22:29:21]Write to MH i2c: E2 08 00 F5 08 80 11 00 00 00 00 00 00 77 [22:29:21]Write i2c OK [22:29:21]MH_I2C_Read... [22:29:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:29:21]Read from MH i2c: E2 [22:29:21]MH_I2C_Read... [22:29:21]Read from MH i2c: E2 17 00 [22:29:21]MH_I2C_Read... [22:29:21]Read from MH i2c: E2 17 00 F5 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 D0 [22:29:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [22:29:21]wFMCommunicate OK [22:29:21]requested_item fd.num is exist - process it [22:29:21]SAM_PROTO_GetFieldsCounters [22:29:21]wFMCommunicate request_size=4 [22:29:21]MH_SAM_APDU [22:29:21]CAPDU: 80 13 00 00 [22:29:21]Write to MH i2c: E2 08 00 F6 08 80 13 00 00 00 00 00 00 7A [22:29:21]Write i2c OK [22:29:21]MH_I2C_Read... [22:29:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:29:21]Read from MH i2c: E2 [22:29:21]MH_I2C_Read... [22:29:21]Read from MH i2c: E2 62 00 [22:29:21]MH_I2C_Read... [22:29:21]Read from MH i2c: E2 62 00 F6 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D1 69 00 00 0E 04 04 00 B1 01 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 57 [22:29:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D1 69 00 00 0E 04 04 00 B1 01 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 [22:29:21]wFMCommunicate OK [22:29:21]SAM_PROTO_GetFieldsCounters done [22:29:21]requested_item shift.num is exist - process it [22:29:21]requested_item shift.opened is exist - process it [22:29:21]req_shift_opened [22:29:21]FM_GetShiftState [22:29:21]SAM_PROTO_GetShiftState [22:29:21]wFMCommunicate request_size=4 [22:29:21]MH_SAM_APDU [22:29:21]CAPDU: 80 13 01 00 [22:29:21]Write to MH i2c: E2 08 00 F7 08 80 13 01 00 00 00 00 00 7C [22:29:21]Write i2c OK [22:29:21]MH_I2C_Read... [22:29:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:29:21]Read from MH i2c: E2 [22:29:21]MH_I2C_Read... [22:29:21]Read from MH i2c: E2 0E 00 [22:29:21]MH_I2C_Read... [22:29:21]Read from MH i2c: E2 0E 00 F7 08 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 A4 [22:29:21]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [22:29:21]wFMCommunicate OK [22:29:21]SAM_PROTO_GetShiftState done [22:29:21]FM_GetShiftState done [22:29:21]req_shift_opened done [22:29:21]requested_item shift.open_date is exist - process it [22:29:21]req_shift_open_date [22:29:21]req_shift_open_date done [22:29:21]produce_requested_data done [22:29:21]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27089,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [22:29:21]process_action_free close_receipt [22:29:21]json_value_free [22:29:21]json_value_free done [22:29:21]process_json_proto returns [22:29:21]Send response to host [22:29:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27089,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [22:29:21]free response buf [22:29:21]execute_script done [22:29:21]execute_script returns [22:29:21]free content buf [22:29:21]Sock 9.Close socket [22:29:21]Sock 9.Thread stoped [22:29:25]OFD Sender: No OFD packet to send [22:29:30]OFD Sender: No OFD packet to send [22:29:35]OFD Sender: No OFD packet to send [22:29:40]OFD Sender: No OFD packet to send [22:29:45]OFD Sender: No OFD packet to send [22:29:50]OFD Sender: No OFD packet to send [22:29:55]OFD Sender: No OFD packet to send [22:30:00]OFD Sender: No OFD packet to send [22:30:05]OFD Sender: No OFD packet to send [22:30:10]OFD Sender: No OFD packet to send [22:30:15]OFD Sender: No OFD packet to send [22:30:20]OFD Sender: No OFD packet to send [22:30:25]OFD Sender: No OFD packet to send [22:30:30]OFD Sender: No OFD packet to send [22:30:35]OFD Sender: No OFD packet to send [22:30:40]OFD Sender: No OFD packet to send [22:30:45]OFD Sender: No OFD packet to send [22:30:50]OFD Sender: No OFD packet to send [22:30:55]OFD Sender: No OFD packet to send [22:31:00]OFD Sender: No OFD packet to send [22:31:05]OFD Sender: No OFD packet to send [22:31:10]OFD Sender: No OFD packet to send [22:31:15]OFD Sender: No OFD packet to send [22:31:20]OFD Sender: No OFD packet to send [22:31:25]OFD Sender: No OFD packet to send [22:31:30]OFD Sender: No OFD packet to send [22:31:35]OFD Sender: No OFD packet to send [22:31:40]OFD Sender: No OFD packet to send [22:31:45]OFD Sender: No OFD packet to send [22:31:50]OFD Sender: No OFD packet to send [22:31:55]OFD Sender: No OFD packet to send [22:32:00]OFD Sender: No OFD packet to send [22:32:05]OFD Sender: No OFD packet to send [22:32:10]OFD Sender: No OFD packet to send [22:32:15]OFD Sender: No OFD packet to send [22:32:20]OFD Sender: No OFD packet to send [22:32:25]OFD Sender: No OFD packet to send [22:32:30]OFD Sender: No OFD packet to send [22:32:35]OFD Sender: No OFD packet to send [22:32:40]OFD Sender: No OFD packet to send [22:32:45]OFD Sender: No OFD packet to send [22:32:50]OFD Sender: No OFD packet to send [22:32:55]OFD Sender: No OFD packet to send [22:33:00]OFD Sender: No OFD packet to send [22:33:05]OFD Sender: No OFD packet to send [22:33:10]OFD Sender: No OFD packet to send [22:33:15]OFD Sender: No OFD packet to send [22:33:20]OFD Sender: No OFD packet to send [22:33:25]OFD Sender: No OFD packet to send [22:33:30]OFD Sender: No OFD packet to send [22:33:35]OFD Sender: No OFD packet to send [22:33:40]OFD Sender: No OFD packet to send [22:33:45]OFD Sender: No OFD packet to send [22:33:50]OFD Sender: No OFD packet to send [22:33:55]OFD Sender: No OFD packet to send [22:34:00]OFD Sender: No OFD packet to send [22:34:05]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:46]OFD Sender: No OFD packet to send [22:36:51]OFD Sender: No OFD packet to send [22:36:56]OFD Sender: No OFD packet to send [22:37:01]OFD Sender: No OFD packet to send [22:37:06]OFD Sender: No OFD packet to send [22:37:11]OFD Sender: No OFD packet to send [22:37:16]OFD Sender: No OFD packet to send [22:37:21]OFD Sender: No OFD packet to send [22:37:26]OFD Sender: No OFD packet to send [22:37:31]OFD Sender: No OFD packet to send [22:37:36]OFD Sender: No OFD packet to send [22:37:41]OFD Sender: No OFD packet to send [22:37:46]OFD Sender: No OFD packet to send [22:37:51]OFD Sender: No OFD packet to send [22:37:56]OFD Sender: No OFD packet to send [22:38:01]OFD Sender: No OFD packet to send [22:38:06]OFD Sender: No OFD packet to send [22:38:11]OFD Sender: No OFD packet to send [22:38:16]OFD Sender: No OFD packet to send [22:38:21]OFD Sender: No OFD packet to send [22:38:26]OFD Sender: No OFD packet to send [22:38:31]OFD Sender: No OFD packet to send [22:38:36]OFD Sender: No OFD packet to send [22:38:41]OFD Sender: No OFD packet to send [22:38:46]OFD Sender: No OFD packet to send [22:38:51]OFD Sender: No OFD packet to send [22:38:56]OFD Sender: No OFD packet to send [22:39:01]OFD Sender: No OFD packet to send [22:39:06]OFD Sender: No OFD packet to send [22:39:11]OFD Sender: No OFD packet to send [22:39:16]OFD Sender: No OFD packet to send [22:39:21]OFD Sender: No OFD packet to send [22:39:26]OFD Sender: No OFD packet to send [22:39:31]OFD Sender: No OFD packet to send [22:39:36]OFD Sender: No OFD packet to send [22:39:41]OFD Sender: No OFD packet to send [22:39:46]OFD Sender: No OFD packet to send [22:39:51]OFD Sender: No OFD packet to send [22:39:56]OFD Sender: No OFD packet to send [22:40:01]OFD Sender: No OFD packet to send [22:40:06]OFD Sender: No OFD packet to send [22:40:11]OFD Sender: No OFD packet to send [22:40:16]OFD Sender: No OFD packet to send [22:40:21]OFD Sender: No OFD packet to send [22:40:26]OFD Sender: No OFD packet to send [22:40:31]OFD Sender: No OFD packet to send [22:40:36]OFD Sender: No OFD packet to send [22:40:41]OFD Sender: No OFD packet to send [22:40:46]OFD Sender: No OFD packet to send [22:40:51]OFD Sender: No OFD packet to send [22:40:56]OFD Sender: No OFD packet to send [22:41:01]OFD Sender: No OFD packet to send [22:41:06]OFD Sender: No OFD packet to send [22:41:11]OFD Sender: No OFD packet to send [22:41:16]OFD Sender: No OFD packet to send [22:41:21]OFD Sender: No OFD packet to send [22:41:26]OFD Sender: No OFD packet to send [22:41:31]OFD Sender: No OFD packet to send [22:41:36]OFD Sender: No OFD packet to send [22:41:41]OFD Sender: No OFD packet to send [22:41:46]OFD Sender: No OFD packet to send [22:41:51]OFD Sender: No OFD packet to send [22:41:56]OFD Sender: No OFD packet to send [22:42:01]OFD Sender: No OFD packet to send [22:42:06]OFD Sender: No OFD packet to send [22:42:11]OFD Sender: No OFD packet to send [22:42:16]OFD Sender: No OFD packet to send [22:42:21]OFD Sender: No OFD packet to send [22:42:26]OFD Sender: No OFD packet to send [22:42:31]OFD Sender: No OFD packet to send [22:42:36]OFD Sender: No OFD packet to send [22:42:41]OFD Sender: No OFD packet to send [22:42:46]OFD Sender: No OFD packet to send [22:42:51]OFD Sender: No OFD packet to send [22:42:56]OFD Sender: No OFD packet to send [22:43:01]OFD Sender: No OFD packet to send [22:43:06]OFD Sender: No OFD packet to send [22:43:11]OFD Sender: No OFD packet to send [22:43:16]OFD Sender: No OFD packet to send [22:43:21]OFD Sender: No OFD packet to send [22:43:26]OFD Sender: No OFD packet to send [22:43:31]OFD Sender: No OFD packet to send [22:43:36]OFD Sender: No OFD packet to send [22:43:41]OFD Sender: No OFD packet to send [22:43:46]OFD Sender: No OFD packet to send [22:43:51]OFD Sender: No OFD packet to send [22:43:56]OFD Sender: No OFD packet to send [22:44:01]OFD Sender: No OFD packet to send [22:44:06]OFD Sender: No OFD packet to send [22:44:11]OFD Sender: No OFD packet to send [22:44:16]OFD Sender: No OFD packet to send [22:44:21]OFD Sender: No OFD packet to send [22:44:26]OFD Sender: No OFD packet to send [22:44:31]OFD Sender: No OFD packet to send [22:44:36]OFD Sender: No OFD packet to send [22:44:41]OFD Sender: No OFD packet to send [22:44:46]OFD Sender: No OFD packet to send [22:44:51]OFD Sender: No OFD packet to send [22:44:56]OFD Sender: No OFD packet to send [22:45:01]OFD Sender: No OFD packet to send [22:45:06]OFD Sender: No OFD packet to send [22:45:11]OFD Sender: No OFD packet to send [22:45:16]OFD Sender: No OFD packet to send [22:45:21]OFD Sender: No OFD packet to send [22:45:26]OFD Sender: No OFD packet to send [22:45:31]OFD Sender: No OFD packet to send [22:45:36]OFD Sender: No OFD packet to send [22:45:41]OFD Sender: No OFD packet to send [22:45:46]OFD Sender: No OFD packet to send [22:45:51]OFD Sender: No OFD packet to send [22:45:56]OFD Sender: No OFD packet to send [22:46:01]OFD Sender: No OFD packet to send [22:46:06]OFD Sender: No OFD packet to send [22:46:11]OFD Sender: No OFD packet to send [22:46:16]OFD Sender: No OFD packet to send [22:46:21]OFD Sender: No OFD packet to send [22:46:26]OFD Sender: No OFD packet to send [22:46:31]OFD Sender: No OFD packet to send [22:46:36]OFD Sender: No OFD packet to send [22:46:41]OFD Sender: No OFD packet to send [22:46:46]OFD Sender: No OFD packet to send [22:46:51]OFD Sender: No OFD packet to send [22:46:56]OFD Sender: No OFD packet to send [22:47:01]OFD Sender: No OFD packet to send [22:47:06]OFD Sender: No OFD packet to send [22:47:11]OFD Sender: No OFD packet to send [22:47:16]OFD Sender: No OFD packet to send [22:47:21]OFD Sender: No OFD packet to send [22:47:26]OFD Sender: No OFD packet to send [22:47:31]OFD Sender: No OFD packet to send [22:47:36]OFD Sender: No OFD packet to send [22:47:41]OFD Sender: No OFD packet to send [22:47:46]OFD Sender: No OFD packet to send [22:47:51]OFD Sender: No OFD packet to send [22:47:56]OFD Sender: No OFD packet to send [22:48:01]OFD Sender: No OFD packet to send [22:48:06]OFD Sender: No OFD packet to send [22:48:11]OFD Sender: No OFD packet to send [22:48:16]OFD Sender: No OFD packet to send [22:48:21]OFD Sender: No OFD packet to send [22:48:26]OFD Sender: No OFD packet to send [22:48:31]OFD Sender: No OFD packet to send [22:48:36]OFD Sender: No OFD packet to send [22:48:41]OFD Sender: No OFD packet to send [22:48:46]OFD Sender: No OFD packet to send [22:48:51]OFD Sender: No OFD packet to send [22:48:56]OFD Sender: No OFD packet to send [22:49:01]OFD Sender: No OFD packet to send [22:49:06]OFD Sender: No OFD packet to send [22:49:11]OFD Sender: No OFD packet to send [22:49:16]OFD Sender: No OFD packet to send [22:49:21]OFD Sender: No OFD packet to send [22:49:26]OFD Sender: No OFD packet to send [22:49:31]OFD Sender: No OFD packet to send [22:49:36]OFD Sender: No OFD packet to send [22:49:41]OFD Sender: No OFD packet to send [22:49:46]OFD Sender: No OFD packet to send [22:49:51]OFD Sender: No OFD packet to send [22:49:56]OFD Sender: No OFD packet to send [22:50:01]OFD Sender: No OFD packet to send [22:50:06]OFD Sender: No OFD packet to send [22:50:11]OFD Sender: No OFD packet to send [22:50:16]OFD Sender: No OFD packet to send [22:50:21]OFD Sender: No OFD packet to send [22:50:26]OFD Sender: No OFD packet to send [22:50:31]OFD Sender: No OFD packet to send [22:50:36]OFD Sender: No OFD packet to send [22:50:41]OFD Sender: No OFD packet to send [22:50:46]OFD Sender: No OFD packet to send [22:50:51]OFD Sender: No OFD packet to send [22:50:56]OFD Sender: No OFD packet to send [22:51:01]OFD Sender: No OFD packet to send [22:51:06]OFD Sender: No OFD packet to send [22:51:11]OFD Sender: No OFD packet to send [22:51:16]OFD Sender: No OFD packet to send [22:51:21]OFD Sender: No OFD packet to send [22:51:26]OFD Sender: No OFD packet to send [22:51:31]OFD Sender: No OFD packet to send [22:51:36]OFD Sender: No OFD packet to send [22:51:41]OFD Sender: No OFD packet to send [22:51:46]OFD Sender: No OFD packet to send [22:51:51]OFD Sender: No OFD packet to send [22:51:56]OFD Sender: No OFD packet to send [22:52:01]OFD Sender: No OFD packet to send [22:52:06]OFD Sender: No OFD packet to send [22:52:11]OFD Sender: No OFD packet to send [22:52:16]OFD Sender: No OFD packet to send [22:52:21]OFD Sender: No OFD packet to send [22:52:26]OFD Sender: No OFD packet to send [22:52:31]OFD Sender: No OFD packet to send [22:52:36]OFD Sender: No OFD packet to send [22:52:41]OFD Sender: No OFD packet to send [22:52:46]OFD Sender: No OFD packet to send [22:52:51]OFD Sender: No OFD packet to send [22:52:56]OFD Sender: No OFD packet to send [22:53:01]OFD Sender: No OFD packet to send [22:53:06]OFD Sender: No OFD packet to send [22:53:11]OFD Sender: No OFD packet to send [22:53:16]OFD Sender: No OFD packet to send [22:53:21]OFD Sender: No OFD packet to send [22:53:26]OFD Sender: No OFD packet to send [22:53:31]OFD Sender: No OFD packet to send [22:53:36]OFD Sender: No OFD packet to send [22:53:41]OFD Sender: No OFD packet to send [22:53:46]OFD Sender: No OFD packet to send [22:53:51]OFD Sender: No OFD packet to send [22:53:56]OFD Sender: No OFD packet to send [22:54:01]OFD Sender: No OFD packet to send [22:54:06]OFD Sender: No OFD packet to send [22:54:11]OFD Sender: No OFD packet to send [22:54:16]OFD Sender: No OFD packet to send [22:54:21]OFD Sender: No OFD packet to send [22:54:25]accept exits with 8 [22:54:25]New connection [22:54:25]New thread 3066928484 created [22:54:25]Thread 3066785124 joined [22:54:25]Waiting for new connection... [22:54:25] Sock 8.Parse request [22:54:25]Sock 8.Check first char [22:54:25]Sock 8.First char is OK [22:54:25]request: POST /json_proto HTTP/1.0 [22:54:25]Method: POST [22:54:25]URL: /json_proto [22:54:25]Method is POST - this is cgi request [22:54:25]url: /json_proto [22:54:25]query_string will be loaded in cgi processing [22:54:25]execute_cgi json_proto POST (null) [22:54:25]execute_cgi path=json_proto method=POST [22:54:25]POST find Content-Length [22:54:25]Host: 172.17.45.8:8080 [22:54:25]Content-Length: 683 [22:54:25]Content-Type: application/json [22:54:25] [22:54:25]POST finish read [22:54:25]Found Content-Length = 683 [22:54:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150488", "tax_sys" : 0, "items" : [ { "code": "4870202522015", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 1,2\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" ] } } [22:54:25]execute_script... [22:54:25]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)150488", "tax_sys" : 0, "items" : [ { "code": "4870202522015", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 1,2\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" ] } } [22:54:25]POST & json_proto [22:54:25]process_json_proto [22:54:25]json parsed OK: [22:54:25]protocol is kg_v1.0 [22:54:25]action value=close_receipt [22:54:25]process_action close_receipt [22:54:25]cmd_close_receipt [22:54:25]MH_GetDate [22:54:25]Write to MH i2c: F0 00 00 F8 08 EF [22:54:25]Write i2c OK [22:54:25]MH_I2C_Read... [22:54:25]Read from MH i2c: F0 [22:54:25]MH_I2C_Read... [22:54:25]Read from MH i2c: F0 09 00 [22:54:25]MH_I2C_Read... [22:54:25]Read from MH i2c: F0 09 00 F8 08 00 24 CC A6 66 A6 1F 7F 64 9C [22:54:25]GetLastDocTimeStamp 1722205760 [22:54:25]current date 1722207268 [22:54:25]FM_GetShiftState [22:54:25]SAM_PROTO_GetShiftState [22:54:25]wFMCommunicate request_size=4 [22:54:25]MH_SAM_APDU [22:54:25]CAPDU: 80 13 01 00 [22:54:25]Write to MH i2c: E2 08 00 F9 08 80 13 01 00 00 00 00 00 7E [22:54:25]Write i2c OK [22:54:25]MH_I2C_Read... [22:54:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:54:25]Read from MH i2c: E2 [22:54:25]MH_I2C_Read... [22:54:25]Read from MH i2c: E2 0E 00 [22:54:25]MH_I2C_Read... [22:54:25]Read from MH i2c: E2 0E 00 F9 08 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 A6 [22:54:25]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [22:54:25]wFMCommunicate OK [22:54:25]SAM_PROTO_GetShiftState done [22:54:25]FM_GetShiftState done [22:54:25]opened in 1722127230 [22:54:25]opened+sec_in_day 1722213630 [22:54:25]quantity*price = 11000 [22:54:25]sum+1 = 11001 [22:54:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 68 28.07.2024 22:54 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27090 ФПД: 40491317124581 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T225428&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27090&fm=40491317124581&tin=02508201610067®Number=0000000000092663&sum=11000 0 [22:54:26]StoreToDocumentArchive [22:54:26]shift 433 fd 27090 [22:54:26]save to /storage/0433/doc_00027090 [22:54:26]save last doc name /storage/0433/doc_00027090 to /storage/kkm_last_doc_name [22:54:26]save OK [22:54:26]Clear old archive folders... [22:54:26]ProcessDocumentItem done err = 0, tmpTLVsize=291 [22:54:26]tlvbuf is 001C59C0 [22:54:26]SAM_PROTO_ClearQueue [22:54:26]wFMCommunicate request_size=4 [22:54:26]MH_SAM_APDU [22:54:26]CAPDU: 80 09 00 00 [22:54:26]Write to MH i2c: E2 08 00 06 09 80 09 00 00 00 00 00 00 81 [22:54:26]Write i2c OK [22:54:26]MH_I2C_Read... [22:54:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:54:26]OFD Sender: No OFD packet to send [22:54:26]Read from MH i2c: E2 [22:54:26]MH_I2C_Read... [22:54:26]Read from MH i2c: E2 03 00 [22:54:26]MH_I2C_Read... [22:54:26]Read from MH i2c: E2 03 00 06 09 00 90 00 83 [22:54:26]RAPDU: 90 00 [22:54:26]wFMCommunicate OK [22:54:26]SAM_PROTO_ClearQueue done [22:54:26]KKMCreateOFDPacket [22:54:26]OFDProtocolAddRootSTLVToBuf [22:54:26]FM_MakeSignedData [22:54:26]FM_MakeSignedData [22:54:26]SAM_PROTO_SignData [22:54:26]wFMCommunicate request_size=4 [22:54:26]MH_SAM_APDU [22:54:26]CAPDU: 80 0D 01 02 [22:54:26]Write to MH i2c: E2 08 00 07 09 80 0D 01 02 00 00 00 00 89 [22:54:26]Write i2c OK [22:54:26]MH_I2C_Read... [22:54:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:54:26]Read from MH i2c: E2 [22:54:26]MH_I2C_Read... [22:54:26]Read from MH i2c: E2 03 00 [22:54:26]MH_I2C_Read... [22:54:26]Read from MH i2c: E2 03 00 07 09 00 90 00 84 [22:54:26]RAPDU: 90 00 [22:54:26]wFMCommunicate OK [22:54:26]wFMCommunicate request_size=255 [22:54:26]MH_SAM_APDU [22:54:26]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 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 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 44 00 00 00 F4 03 04 00 24 CC A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 [22:54:26]Write to MH i2c: E2 02 01 08 09 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 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 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 44 00 00 00 F4 03 04 00 24 CC A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 00 00 EE [22:54:26]Write i2c OK [22:54:26]MH_I2C_Read... [22:54:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:54:27]Read from MH i2c: E2 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: E2 03 00 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: E2 03 00 08 09 00 90 00 85 [22:54:27]RAPDU: 90 00 [22:54:27]wFMCommunicate OK [22:54:27]wFMCommunicate request_size=50 [22:54:27]MH_SAM_APDU [22:54:27]CAPDU: 80 0D 02 02 2D 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D2 69 00 00 35 04 06 00 24 D3 9E 92 DD E5 [22:54:27]Write to MH i2c: E2 35 00 09 09 80 0D 02 02 2D 00 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D2 69 00 00 35 04 06 00 24 D3 9E 92 DD E5 00 00 16 [22:54:27]Write i2c OK [22:54:27]MH_I2C_Read... [22:54:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:54:27]Read from MH i2c: E2 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: E2 03 00 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: E2 03 00 09 09 00 90 00 86 [22:54:27]RAPDU: 90 00 [22:54:27]wFMCommunicate OK [22:54:27]wFMCommunicate request_size=4 [22:54:27]MH_SAM_APDU [22:54:27]CAPDU: 80 0D 03 02 [22:54:27]Write to MH i2c: E2 08 00 0A 09 80 0D 03 02 00 00 00 00 8E [22:54:27]Write i2c OK [22:54:27]MH_I2C_Read... [22:54:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:54:27]Read from MH i2c: E2 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: E2 0B 00 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: E2 0B 00 0A 09 00 92 13 DC FF 32 7B D1 4A 90 00 D7 [22:54:27]RAPDU: 92 13 DC FF 32 7B D1 4A 90 00 [22:54:27]wFMCommunicate OK [22:54:27]SAM_PROTO_SignData done [22:54:27]FM_MakeSignedData done [22:54:27]CreateOFDProtocolMessage [22:54:27]wFMCommunicate request_size=4 [22:54:27]MH_SAM_APDU [22:54:27]CAPDU: 80 11 00 00 [22:54:27]Write to MH i2c: E2 08 00 0B 09 80 11 00 00 00 00 00 00 8E [22:54:27]Write i2c OK [22:54:27]MH_I2C_Read... [22:54:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:54:27]Read from MH i2c: E2 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: E2 17 00 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: E2 17 00 0B 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 E7 [22:54:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [22:54:27]wFMCommunicate OK [22:54:27]CreateOFDProtocolMessage done [22:54:27]OFDSenderStorePacket 27090 [22:54:27]StoreOFDPacket docnum=27090 [22:54:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 37 01 00 00 F6 E3 2F 01 7C 09 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 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 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 44 00 00 00 F4 03 04 00 24 CC A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D2 69 00 00 35 04 06 00 24 D3 9E 92 DD E5 92 13 DC FF 32 7B D1 4A [22:54:27]CheckFolder [22:54:27]dirname=/storage/ofd_packets [22:54:27]CheckFolder done [22:54:27]ProducePacketName [22:54:27]name=ofd_packets/00027090 [22:54:27]NVStorageSaveData ofd_packets/00027090 [22:54:27]File name is /storage/ofd_packets/00027090 [22:54:27]Write 341 bytes [22:54:27]NVStorageSaveData done [22:54:27]OFDSenderStorePacket done [22:54:27]KKMCreateOFDPacket done [22:54:27]NVStorageSaveData kkm_last_timestamp [22:54:27]File name is /storage/kkm_last_timestamp [22:54:27]Write 4 bytes [22:54:27]NVStorageSaveData done [22:54:27]ExternCall_PrintAddStr [22:54:27]wPrintStart [22:54:27]Write to MH i2c: 01 00 00 0C 09 15 [22:54:27]Write i2c OK [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: 01 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: 01 07 00 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: 01 07 00 0C 09 00 00 00 00 00 FF 0F 2A [22:54:27]RasterBufferAndPrint [22:54:27]line Счет N : (3)150488 [22:54:27]line ИНН: 02508201610067 [22:54:27]line Контрольно-Кассовый Чек [22:54:27]line ПРОДАЖА [22:54:27]line Товар: 4870202522015 [22:54:27]line Напиток Maxi Чай Грушевый 1,2л [22:54:27]line 1.000 * 110.00 [22:54:27]line = 110.00 [22:54:27]line НДС 12% НСП 1% [22:54:27]line > о реализуемом товаре [22:54:27]line ИТОГО: 110.00 [22:54:27]line НСП 1% : 0.97 [22:54:27]line НДС 12% : 11.68 [22:54:27]line Наличными: 110.00 [22:54:27]line Безнал.: 0.00 [22:54:27]line Место: АЗС № 134 "Партнер Нефть" [22:54:27]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [22:54:27]line СНО: Общий режим [22:54:27]line Чек 68 28.07.2024 22:54 [22:54:27]line Смена: 433 ФФД: 1.0 [22:54:27]line ЗНМ: 0300000043 [22:54:27]line РНМ: 0000000000092663 [22:54:27]line Версия ККМ: 001 [22:54:27]line ФМ: 0000000000874937 [22:54:27]line ФД: 27090 [22:54:27]line ФПД: 40491317124581 [22:54:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T225428&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27090&fm=40491317124581&tin=02508201610067®Number=0000000000092663&sum=11000 [22:54:27]OFD Sender: Processing packet 27090 [packets to send 9, broken 8] [22:54:27]ProducePacketName [22:54:27]name=ofd_packets/00027090 [22:54:27]OFD Sender: To server: pG, [22:54:27]CommunicateWithHost lk.salyk.kg:30040 [22:54:27]ConnectInit lk.salyk.kg [22:54:27]line 0 [22:54:27]written 0, free lines is 4095 [22:54:27]Connected sock=11 [22:54:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 37 01 00 00 F6 E3 2F 01 7C 09 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 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 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 44 00 00 00 F4 03 04 00 24 CC A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D2 69 00 00 35 04 06 00 24 D3 9E 92 DD E5 92 13 DC FF 32 7B D1 4A [22:54:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 1A A2 47 00 AB 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 38 37 34 39 33 37 10 04 04 00 D2 69 00 00 F4 03 04 00 76 72 A6 66 B6 04 01 00 00 28 F1 77 FE 89 A7 90 2A [22:54:28]CommunicateWithHost err = 0 [22:54:28]CheckOFDResponse [22:54:28]1017 (14) - 77093643461234 [22:54:28]1041 (16) - 0000000000874937 [22:54:28]1040 (4) - 27090 [22:54:28]1012 (4) - 28.07.2024 16:31 [22:54:28]1206 (1) - 0 [22:54:28]OFD Sender: Remove packet 27090 [22:54:28]ProducePacketName [22:54:28]name=ofd_packets/00027090 [22:54:28]NVStorageDeleteData [22:54:28]Write to MH i2c: 01 00 00 34 09 3D [22:54:28]Write i2c OK [22:54:28]MH_I2C_Read... [22:54:28]Read from MH i2c: 01 [22:54:28]MH_I2C_Read... [22:54:28]Read from MH i2c: 01 07 00 [22:54:28]MH_I2C_Read... [22:54:28]Read from MH i2c: 01 07 00 34 09 00 00 00 00 00 DA 0C 2A [22:54:28]RasterBufferAndPrint [22:54:28]line [22:54:28]line [22:54:28]line [22:54:28]line [22:54:28]line [22:54:28]written 0, free lines is 3295 [22:54:28]MH_Cut [22:54:28]Write to MH i2c: D1 01 00 3B 09 01 16 [22:54:28]Write i2c OK [22:54:28]MH_I2C_Read... [22:54:28]Read from MH i2c: D1 [22:54:28]MH_I2C_Read... [22:54:28]Read from MH i2c: D1 01 00 [22:54:28]MH_I2C_Read... [22:54:28]Read from MH i2c: D1 01 00 3B 09 00 15 [22:54:28]Write to MH i2c: 01 00 00 3C 09 45 [22:54:28]Write i2c OK [22:54:28]MH_I2C_Read... [22:54:28]OFD Sender: No OFD packet to send [22:54:28]*** Cut start [22:54:28]*** Partial cut [22:54:28]*** CUTSNS_PIN = 1 [22:54:28]*** CUTSNS_PIN = 0 [22:54:29]*** Brake cut motor [22:54:29]Read from MH i2c: 01 [22:54:29]MH_I2C_Read... [22:54:29]*** Stop cut motor [22:54:29]*** Cut end [22:54:29]Read from MH i2c: 01 07 00 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: 01 07 00 3C 09 00 00 00 00 00 FF 0F 5A [22:54:29]process_action close_receipt done [22:54:29]requested_data is exist [22:54:29]produce_requested_data [22:54:29]requested_item fm.sn is exist - process it [22:54:29]wFMCommunicate request_size=4 [22:54:29]MH_SAM_APDU [22:54:29]CAPDU: 80 11 00 00 [22:54:29]Write to MH i2c: E2 08 00 3D 09 80 11 00 00 00 00 00 00 C0 [22:54:29]Write i2c OK [22:54:29]MH_I2C_Read... [22:54:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:54:29]Read from MH i2c: E2 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: E2 17 00 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: E2 17 00 3D 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 19 [22:54:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [22:54:29]wFMCommunicate OK [22:54:29]requested_item fd.num is exist - process it [22:54:29]SAM_PROTO_GetFieldsCounters [22:54:29]wFMCommunicate request_size=4 [22:54:29]MH_SAM_APDU [22:54:29]CAPDU: 80 13 00 00 [22:54:29]Write to MH i2c: E2 08 00 3E 09 80 13 00 00 00 00 00 00 C3 [22:54:29]Write i2c OK [22:54:29]MH_I2C_Read... [22:54:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:54:29]Read from MH i2c: E2 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: E2 62 00 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: E2 62 00 3E 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D2 69 00 00 0E 04 04 00 B1 01 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 A4 [22:54:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D2 69 00 00 0E 04 04 00 B1 01 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 [22:54:29]wFMCommunicate OK [22:54:29]SAM_PROTO_GetFieldsCounters done [22:54:29]requested_item shift.num is exist - process it [22:54:29]requested_item shift.opened is exist - process it [22:54:29]req_shift_opened [22:54:29]FM_GetShiftState [22:54:29]SAM_PROTO_GetShiftState [22:54:29]wFMCommunicate request_size=4 [22:54:29]MH_SAM_APDU [22:54:29]CAPDU: 80 13 01 00 [22:54:29]Write to MH i2c: E2 08 00 3F 09 80 13 01 00 00 00 00 00 C5 [22:54:29]Write i2c OK [22:54:29]MH_I2C_Read... [22:54:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:54:29]Read from MH i2c: E2 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: E2 0E 00 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: E2 0E 00 3F 09 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 ED [22:54:29]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [22:54:29]wFMCommunicate OK [22:54:29]SAM_PROTO_GetShiftState done [22:54:29]FM_GetShiftState done [22:54:29]req_shift_opened done [22:54:29]requested_item shift.open_date is exist - process it [22:54:29]req_shift_open_date [22:54:29]req_shift_open_date done [22:54:29]produce_requested_data done [22:54:29]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27090,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [22:54:29]process_action_free close_receipt [22:54:29]json_value_free [22:54:29]json_value_free done [22:54:29]process_json_proto returns [22:54:29]Send response to host [22:54:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27090,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [22:54:29]free response buf [22:54:29]execute_script done [22:54:29]execute_script returns [22:54:29]free content buf [22:54:29]Sock 8.Close socket [22:54:29]Sock 8.Thread stoped [22:54:33]OFD Sender: No OFD packet to send [22:54:38]OFD Sender: No OFD packet to send [22:54:43]OFD Sender: No OFD packet to send [22:54:48]OFD Sender: No OFD packet to send [22:54:53]OFD Sender: No OFD packet to send [22:54:58]OFD Sender: No OFD packet to send [22:55:03]OFD Sender: No OFD packet to send [22:55:08]OFD Sender: No OFD packet to send [22:55:13]OFD Sender: No OFD packet to send [22:55:18]OFD Sender: No OFD packet to send [22:55:23]OFD Sender: No OFD packet to send [22:55:28]OFD Sender: No OFD packet to send [22:55:33]OFD Sender: No OFD packet to send [22:55:38]OFD Sender: No OFD packet to send [22:55:43]OFD Sender: No OFD packet to send [22:55:48]OFD Sender: No OFD packet to send [22:55:53]OFD Sender: No OFD packet to send [22:55:58]OFD Sender: No OFD packet to send [22:56:03]OFD Sender: No OFD packet to send [22:56:08]OFD Sender: No OFD packet to send [22:56:13]OFD Sender: No OFD packet to send [22:56:18]OFD Sender: No OFD packet to send [22:56:23]OFD Sender: No OFD packet to send [22:56:28]OFD Sender: No OFD packet to send [22:56:33]OFD Sender: No OFD packet to send [22:56:38]OFD Sender: No OFD packet to send [22:56:43]OFD Sender: No OFD packet to send [22:56:48]OFD Sender: No OFD packet to send [22:56:53]OFD Sender: No OFD packet to send [22:56:58]OFD Sender: No OFD packet to send [22:57:03]OFD Sender: No OFD packet to send [22:57:08]OFD Sender: No OFD packet to send [22:57:13]OFD Sender: No OFD packet to send [22:57:18]OFD Sender: No OFD packet to send [22:57:23]OFD Sender: No OFD packet to send [22:57:28]OFD Sender: No OFD packet to send [22:57:33]OFD Sender: No OFD packet to send [22:57:38]OFD Sender: No OFD packet to send [22:57:43]OFD Sender: No OFD packet to send [22:57:48]OFD Sender: No OFD packet to send [22:57:53]OFD Sender: No OFD packet to send [22:57:58]OFD Sender: No OFD packet to send [22:58:03]OFD Sender: No OFD packet to send [22:58:08]OFD Sender: No OFD packet to send [22:58:13]OFD Sender: No OFD packet to send [22:58:18]OFD Sender: No OFD packet to send [22:58:23]OFD Sender: No OFD packet to send [22:58:28]OFD Sender: No OFD packet to send [22:58:33]OFD Sender: No OFD packet to send [22:58:38]OFD Sender: No OFD packet to send [22:58:43]OFD Sender: No OFD packet to send [22:58:48]OFD Sender: No OFD packet to send [22:58:53]OFD Sender: No OFD packet to send [22:58:58]OFD Sender: No OFD packet to send [22:59:03]OFD Sender: No OFD packet to send [22:59:08]OFD Sender: No OFD packet to send [22:59:13]OFD Sender: No OFD packet to send [22:59:18]OFD Sender: No OFD packet to send [22:59:23]OFD Sender: No OFD packet to send [22:59:28]OFD Sender: No OFD packet to send [22:59:33]OFD Sender: No OFD packet to send [22:59:38]OFD Sender: No OFD packet to send [22:59:43]OFD Sender: No OFD packet to send [22:59:48]OFD Sender: No OFD packet to send [22:59:53]OFD Sender: No OFD packet to send [22:59:58]OFD Sender: No OFD packet to send [23:00:03]OFD Sender: No OFD packet to send [23:00:08]OFD Sender: No OFD packet to send [23:00:13]OFD Sender: No OFD packet to send [23:00:18]OFD Sender: No OFD packet to send [23:00:23]OFD Sender: No OFD packet to send [23:00:28]OFD Sender: No OFD packet to send [23:00:33]OFD Sender: No OFD packet to send [23:00:38]OFD Sender: No OFD packet to send [23:00:43]OFD Sender: No OFD packet to send [23:00:48]OFD Sender: No OFD packet to send [23:00:53]OFD Sender: No OFD packet to send [23:00:58]OFD Sender: No OFD packet to send [23:01:03]OFD Sender: No OFD packet to send [23:01:08]OFD Sender: No OFD packet to send [23:01:13]OFD Sender: No OFD packet to send [23:01:18]OFD Sender: No OFD packet to send [23:01:23]OFD Sender: No OFD packet to send [23:01:28]OFD Sender: No OFD packet to send [23:01:33]OFD Sender: No OFD packet to send [23:01:38]OFD Sender: No OFD packet to send [23:01:43]OFD Sender: No OFD packet to send [23:01:48]OFD Sender: No OFD packet to send [23:01:53]OFD Sender: No OFD packet to send [23:01:58]OFD Sender: No OFD packet to send [23:02:03]OFD Sender: No OFD packet to send [23:02:08]OFD Sender: No OFD packet to send [23:02:13]OFD Sender: No OFD packet to send [23:02:18]OFD Sender: No OFD packet to send [23:02:23]OFD Sender: No OFD packet to send [23:02:28]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:29]OFD Sender: No OFD packet to send [23:04:34]OFD Sender: No OFD packet to send [23:04:39]OFD Sender: No OFD packet to send [23:04:44]OFD Sender: No OFD packet to send [23:04:49]OFD Sender: No OFD packet to send [23:04:54]OFD Sender: No OFD packet to send [23:04:59]OFD Sender: No OFD packet to send [23:05:04]OFD Sender: No OFD packet to send [23:05:09]OFD Sender: No OFD packet to send [23:05:14]OFD Sender: No OFD packet to send [23:05:19]OFD Sender: No OFD packet to send [23:05:24]OFD Sender: No OFD packet to send [23:05:29]OFD Sender: No OFD packet to send [23:05:34]OFD Sender: No OFD packet to send [23:05:39]OFD Sender: No OFD packet to send [23:05:44]OFD Sender: No OFD packet to send [23:05:49]OFD Sender: No OFD packet to send [23:05:54]OFD Sender: No OFD packet to send [23:05:59]OFD Sender: No OFD packet to send [23:06:04]OFD Sender: No OFD packet to send [23:06:09]OFD Sender: No OFD packet to send [23:06:14]OFD Sender: No OFD packet to send [23:06:19]OFD Sender: No OFD packet to send [23:06:24]OFD Sender: No OFD packet to send [23:06:29]OFD Sender: No OFD packet to send [23:06:34]OFD Sender: No OFD packet to send [23:06:39]OFD Sender: No OFD packet to send [23:06:44]OFD Sender: No OFD packet to send [23:06:49]OFD Sender: No OFD packet to send [23:06:54]OFD Sender: No OFD packet to send [23:06:59]OFD Sender: No OFD packet to send [23:07:04]OFD Sender: No OFD packet to send [23:07:09]OFD Sender: No OFD packet to send [23:07:14]OFD Sender: No OFD packet to send [23:07:19]OFD Sender: No OFD packet to send [23:07:24]OFD Sender: No OFD packet to send [23:07:29]OFD Sender: No OFD packet to send [23:07:34]OFD Sender: No OFD packet to send [23:07:39]OFD Sender: No OFD packet to send [23:07:44]OFD Sender: No OFD packet to send [23:07:49]OFD Sender: No OFD packet to send [23:07:54]OFD Sender: No OFD packet to send [23:07:59]OFD Sender: No OFD packet to send [23:08:04]OFD Sender: No OFD packet to send [23:08:09]OFD Sender: No OFD packet to send [23:08:14]OFD Sender: No OFD packet to send [23:08:19]OFD Sender: No OFD packet to send [23:08:24]OFD Sender: No OFD packet to send [23:08:29]OFD Sender: No OFD packet to send [23:08:34]OFD Sender: No OFD packet to send [23:08:39]OFD Sender: No OFD packet to send [23:08:44]OFD Sender: No OFD packet to send [23:08:49]OFD Sender: No OFD packet to send [23:08:54]OFD Sender: No OFD packet to send [23:08:59]OFD Sender: No OFD packet to send [23:09:04]OFD Sender: No OFD packet to send [23:09:09]OFD Sender: No OFD packet to send [23:09:14]OFD Sender: No OFD packet to send [23:09:19]OFD Sender: No OFD packet to send [23:09:24]OFD Sender: No OFD packet to send [23:09:29]OFD Sender: No OFD packet to send [23:09:34]OFD Sender: No OFD packet to send [23:09:39]OFD Sender: No OFD packet to send [23:09:44]OFD Sender: No OFD packet to send [23:09:49]OFD Sender: No OFD packet to send [23:09:54]OFD Sender: No OFD packet to send [23:09:59]OFD Sender: No OFD packet to send [23:10:04]OFD Sender: No OFD packet to send [23:10:09]OFD Sender: No OFD packet to send [23:10:14]OFD Sender: No OFD packet to send [23:10:19]OFD Sender: No OFD packet to send [23:10:24]OFD Sender: No OFD packet to send [23:10:29]OFD Sender: No OFD packet to send [23:10:34]OFD Sender: No OFD packet to send [23:10:39]OFD Sender: No OFD packet to send [23:10:44]OFD Sender: No OFD packet to send [23:10:49]OFD Sender: No OFD packet to send [23:10:54]OFD Sender: No OFD packet to send [23:10:59]OFD Sender: No OFD packet to send [23:11:04]OFD Sender: No OFD packet to send [23:11:09]OFD Sender: No OFD packet to send [23:11:14]OFD Sender: No OFD packet to send [23:11:19]OFD Sender: No OFD packet to send [23:11:24]OFD Sender: No OFD packet to send [23:11:29]OFD Sender: No OFD packet to send [23:11:34]OFD Sender: No OFD packet to send [23:11:39]OFD Sender: No OFD packet to send [23:11:44]OFD Sender: No OFD packet to send [23:11:49]OFD Sender: No OFD packet to send [23:11:54]OFD Sender: No OFD packet to send [23:11:59]OFD Sender: No OFD packet to send [23:12:04]OFD Sender: No OFD packet to send [23:12:09]OFD Sender: No OFD packet to send [23:12:14]OFD Sender: No OFD packet to send [23:12:19]OFD Sender: No OFD packet to send [23:12:24]OFD Sender: No OFD packet to send [23:12:29]OFD Sender: No OFD packet to send [23:12:34]OFD Sender: No OFD packet to send [23:12:39]OFD Sender: No OFD packet to send [23:12:44]OFD Sender: No OFD packet to send [23:12:49]OFD Sender: No OFD packet to send [23:12:54]OFD Sender: No OFD packet to send [23:12:59]OFD Sender: No OFD packet to send [23:13:04]OFD Sender: No OFD packet to send [23:13:09]OFD Sender: No OFD packet to send [23:13:14]OFD Sender: No OFD packet to send [23:13:19]OFD Sender: No OFD packet to send [23:13:24]OFD Sender: No OFD packet to send [23:13:29]OFD Sender: No OFD packet to send [23:13:34]OFD Sender: No OFD packet to send [23:13:39]OFD Sender: No OFD packet to send [23:13:44]OFD Sender: No OFD packet to send [23:13:49]OFD Sender: No OFD packet to send [23:13:54]OFD Sender: No OFD packet to send [23:13:59]OFD Sender: No OFD packet to send [23:14:04]OFD Sender: No OFD packet to send [23:14:09]OFD Sender: No OFD packet to send [23:14:14]OFD Sender: No OFD packet to send [23:14:19]OFD Sender: No OFD packet to send [23:14:24]OFD Sender: No OFD packet to send [23:14:29]OFD Sender: No OFD packet to send [23:14:34]OFD Sender: No OFD packet to send [23:14:39]OFD Sender: No OFD packet to send [23:14:44]OFD Sender: No OFD packet to send [23:14:49]OFD Sender: No OFD packet to send [23:14:54]OFD Sender: No OFD packet to send [23:14:59]OFD Sender: No OFD packet to send [23:15:04]OFD Sender: No OFD packet to send [23:15:09]OFD Sender: No OFD packet to send [23:15:14]OFD Sender: No OFD packet to send [23:15:19]OFD Sender: No OFD packet to send [23:15:24]OFD Sender: No OFD packet to send [23:15:29]OFD Sender: No OFD packet to send [23:15:34]OFD Sender: No OFD packet to send [23:15:39]OFD Sender: No OFD packet to send [23:15:44]OFD Sender: No OFD packet to send [23:15:49]OFD Sender: No OFD packet to send [23:15:54]OFD Sender: No OFD packet to send [23:15:59]OFD Sender: No OFD packet to send [23:16:04]OFD Sender: No OFD packet to send [23:16:09]OFD Sender: No OFD packet to send [23:16:14]OFD Sender: No OFD packet to send [23:16:19]OFD Sender: No OFD packet to send [23:16:24]OFD Sender: No OFD packet to send [23:16:29]OFD Sender: No OFD packet to send [23:16:34]OFD Sender: No OFD packet to send [23:16:39]OFD Sender: No OFD packet to send [23:16:44]OFD Sender: No OFD packet to send [23:16:49]OFD Sender: No OFD packet to send [23:16:54]OFD Sender: No OFD packet to send [23:16:59]OFD Sender: No OFD packet to send [23:17:04]OFD Sender: No OFD packet to send [23:17:09]OFD Sender: No OFD packet to send [23:17:14]OFD Sender: No OFD packet to send [23:17:19]OFD Sender: No OFD packet to send [23:17:24]OFD Sender: No OFD packet to send [23:17:29]OFD Sender: No OFD packet to send [23:17:34]OFD Sender: No OFD packet to send [23:17:36]accept exits with 9 [23:17:36]New connection [23:17:36]New thread 3066785124 created [23:17:36]Thread 3066928484 joined [23:17:36]Waiting for new connection... [23:17:36] Sock 9.Parse request [23:17:36]Sock 9.Check first char [23:17:36]Sock 9.First char is OK [23:17:36]request: POST /json_proto HTTP/1.0 [23:17:36]Method: POST [23:17:36]URL: /json_proto [23:17:36]Method is POST - this is cgi request [23:17:36]url: /json_proto [23:17:36]query_string will be loaded in cgi processing [23:17:36]execute_cgi json_proto POST (null) [23:17:36]execute_cgi path=json_proto method=POST [23:17:36]POST find Content-Length [23:17:36]Host: 172.17.45.8:8080 [23:17:36]Content-Length: 621 [23:17:36]Content-Type: application/json [23:17:36] [23:17:36]POST finish read [23:17:36]Found Content-Length = 621 [23:17:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150489", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "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" ] } } [23:17:36]execute_script... [23:17: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)150489", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "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" ] } } [23:17:36]POST & json_proto [23:17:36]process_json_proto [23:17:36]json parsed OK: [23:17:36]protocol is kg_v1.0 [23:17:36]action value=close_receipt [23:17:36]process_action close_receipt [23:17:36]cmd_close_receipt [23:17:36]MH_GetDate [23:17:36]Write to MH i2c: F0 00 00 40 09 38 [23:17:36]Write i2c OK [23:17:36]MH_I2C_Read... [23:17:36]Read from MH i2c: F0 [23:17:36]MH_I2C_Read... [23:17:36]Read from MH i2c: F0 09 00 [23:17:36]MH_I2C_Read... [23:17:36]Read from MH i2c: F0 09 00 40 09 00 93 D1 A6 66 A6 1F 7F 64 59 [23:17:36]GetLastDocTimeStamp 1722207268 [23:17:36]current date 1722208659 [23:17:36]FM_GetShiftState [23:17:36]SAM_PROTO_GetShiftState [23:17:36]wFMCommunicate request_size=4 [23:17:36]MH_SAM_APDU [23:17:36]CAPDU: 80 13 01 00 [23:17:36]Write to MH i2c: E2 08 00 41 09 80 13 01 00 00 00 00 00 C7 [23:17:36]Write i2c OK [23:17:36]MH_I2C_Read... [23:17:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:17:36]Read from MH i2c: E2 [23:17:36]MH_I2C_Read... [23:17:36]Read from MH i2c: E2 0E 00 [23:17:36]MH_I2C_Read... [23:17:36]Read from MH i2c: E2 0E 00 41 09 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 EF [23:17:36]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [23:17:36]wFMCommunicate OK [23:17:36]SAM_PROTO_GetShiftState done [23:17:36]FM_GetShiftState done [23:17:36]opened in 1722127230 [23:17:36]opened+sec_in_day 1722213630 [23:17:36]quantity*price = 14000 [23:17:36]sum+1 = 14001 [23:17:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 69 28.07.2024 23:17 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27091 ФПД: 233618296143782 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T231739&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27091&fm=233618296143782&tin=02508201610067®Number=0000000000092663&sum=14000 0 [23:17:37]StoreToDocumentArchive [23:17:37]shift 433 fd 27091 [23:17:37]save to /storage/0433/doc_00027091 [23:17:37]save last doc name /storage/0433/doc_00027091 to /storage/kkm_last_doc_name [23:17:37]save OK [23:17:37]Clear old archive folders... [23:17:37]ProcessDocumentItem done err = 0, tmpTLVsize=273 [23:17:37]tlvbuf is 001B9D20 [23:17:37]SAM_PROTO_ClearQueue [23:17:37]wFMCommunicate request_size=4 [23:17:37]MH_SAM_APDU [23:17:37]CAPDU: 80 09 00 00 [23:17:37]Write to MH i2c: E2 08 00 4E 09 80 09 00 00 00 00 00 00 C9 [23:17:37]Write i2c OK [23:17:37]MH_I2C_Read... [23:17:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:17:37]Read from MH i2c: E2 [23:17:37]MH_I2C_Read... [23:17:37]Read from MH i2c: E2 03 00 [23:17:37]MH_I2C_Read... [23:17:37]Read from MH i2c: E2 03 00 4E 09 00 90 00 CB [23:17:37]RAPDU: 90 00 [23:17:37]wFMCommunicate OK [23:17:37]SAM_PROTO_ClearQueue done [23:17:37]KKMCreateOFDPacket [23:17:37]OFDProtocolAddRootSTLVToBuf [23:17:37]FM_MakeSignedData [23:17:37]FM_MakeSignedData [23:17:37]SAM_PROTO_SignData [23:17:37]wFMCommunicate request_size=4 [23:17:37]MH_SAM_APDU [23:17:37]CAPDU: 80 0D 01 02 [23:17:37]Write to MH i2c: E2 08 00 4F 09 80 0D 01 02 00 00 00 00 D1 [23:17:37]Write i2c OK [23:17:37]MH_I2C_Read... [23:17:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:17:38]Read from MH i2c: E2 [23:17:38]MH_I2C_Read... [23:17:38]Read from MH i2c: E2 03 00 [23:17:38]MH_I2C_Read... [23:17:38]Read from MH i2c: E2 03 00 4F 09 00 90 00 CC [23:17:38]RAPDU: 90 00 [23:17:38]wFMCommunicate OK [23:17:38]wFMCommunicate request_size=255 [23:17:38]MH_SAM_APDU [23:17:38]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 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 93 D1 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 [23:17:38]Write to MH i2c: E2 02 01 50 09 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 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 93 D1 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 00 00 2E [23:17:38]Write i2c OK [23:17:38]MH_I2C_Read... [23:17:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:17:38]Read from MH i2c: E2 [23:17:38]MH_I2C_Read... [23:17:38]Read from MH i2c: E2 03 00 [23:17:38]MH_I2C_Read... [23:17:38]Read from MH i2c: E2 03 00 50 09 00 90 00 CD [23:17:38]RAPDU: 90 00 [23:17:38]wFMCommunicate OK [23:17:38]wFMCommunicate request_size=32 [23:17:38]MH_SAM_APDU [23:17:38]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 39 33 37 10 04 04 00 D3 69 00 00 35 04 06 00 D4 79 7F 8D FF A6 [23:17:38]Write to MH i2c: E2 23 00 51 09 80 0D 02 02 1B 00 30 30 30 38 37 34 39 33 37 10 04 04 00 D3 69 00 00 35 04 06 00 D4 79 7F 8D FF A6 00 00 71 [23:17:38]Write i2c OK [23:17:38]MH_I2C_Read... [23:17:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:17:38]Read from MH i2c: E2 [23:17:38]MH_I2C_Read... [23:17:38]Read from MH i2c: E2 03 00 [23:17:38]MH_I2C_Read... [23:17:38]Read from MH i2c: E2 03 00 51 09 00 90 00 CE [23:17:38]RAPDU: 90 00 [23:17:38]wFMCommunicate OK [23:17:38]wFMCommunicate request_size=4 [23:17:38]MH_SAM_APDU [23:17:38]CAPDU: 80 0D 03 02 [23:17:38]Write to MH i2c: E2 08 00 52 09 80 0D 03 02 00 00 00 00 D6 [23:17:38]Write i2c OK [23:17:38]MH_I2C_Read... [23:17:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:17:38]Read from MH i2c: E2 [23:17:38]MH_I2C_Read... [23:17:38]Read from MH i2c: E2 0B 00 [23:17:38]MH_I2C_Read... [23:17:38]Read from MH i2c: E2 0B 00 52 09 00 88 82 06 BC 3A 95 7A B4 90 00 A0 [23:17:38]RAPDU: 88 82 06 BC 3A 95 7A B4 90 00 [23:17:38]wFMCommunicate OK [23:17:38]SAM_PROTO_SignData done [23:17:38]FM_MakeSignedData done [23:17:38]CreateOFDProtocolMessage [23:17:38]wFMCommunicate request_size=4 [23:17:38]MH_SAM_APDU [23:17:38]CAPDU: 80 11 00 00 [23:17:38]Write to MH i2c: E2 08 00 53 09 80 11 00 00 00 00 00 00 D6 [23:17:38]Write i2c OK [23:17:38]MH_I2C_Read... [23:17:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:17:38]Read from MH i2c: E2 [23:17:38]MH_I2C_Read... [23:17:38]Read from MH i2c: E2 17 00 [23:17:38]MH_I2C_Read... [23:17:38]Read from MH i2c: E2 17 00 53 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 2F [23:17:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [23:17:38]wFMCommunicate OK [23:17:38]CreateOFDProtocolMessage done [23:17:38]OFDSenderStorePacket 27091 [23:17:38]StoreOFDPacket docnum=27091 [23:17:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 25 01 00 00 F9 37 1D 01 9A 46 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 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 93 D1 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D3 69 00 00 35 04 06 00 D4 79 7F 8D FF A6 88 82 06 BC 3A 95 7A B4 [23:17:38]CheckFolder [23:17:38]dirname=/storage/ofd_packets [23:17:38]CheckFolder done [23:17:38]ProducePacketName [23:17:38]name=ofd_packets/00027091 [23:17:38]NVStorageSaveData ofd_packets/00027091 [23:17:38]File name is /storage/ofd_packets/00027091 [23:17:38]Write 323 bytes [23:17:38]NVStorageSaveData done [23:17:38]OFDSenderStorePacket done [23:17:38]KKMCreateOFDPacket done [23:17:38]NVStorageSaveData kkm_last_timestamp [23:17:38]File name is /storage/kkm_last_timestamp [23:17:38]Write 4 bytes [23:17:38]NVStorageSaveData done [23:17:38]ExternCall_PrintAddStr [23:17:38]wPrintStart [23:17:38]Write to MH i2c: 01 00 00 54 09 5D [23:17:38]Write i2c OK [23:17:38]MH_I2C_Read... [23:17:38]Read from MH i2c: 01 [23:17:38]MH_I2C_Read... [23:17:38]Read from MH i2c: 01 07 00 [23:17:38]MH_I2C_Read... [23:17:38]Read from MH i2c: 01 07 00 54 09 00 00 00 00 00 FF 0F 72 [23:17:38]RasterBufferAndPrint [23:17:38]line Счет N : (3)150489 [23:17:38]line ИНН: 02508201610067 [23:17:38]line Контрольно-Кассовый Чек [23:17:38]line ПРОДАЖА [23:17:38]line Товар: 48743570 [23:17:38]line Сигареты Winston XStyle Blue [23:17:38]line 1.000 * 140.00 [23:17:38]line = 140.00 [23:17:38]line НДС 12% НСП 1% [23:17:38]line > о реализуемом товаре [23:17:38]line ИТОГО: 140.00 [23:17:38]line НСП 1% : 1.24 [23:17:38]line НДС 12% : 14.87 [23:17:38]line Наличными: 140.00 [23:17:38]line Безнал.: 0.00 [23:17:38]line Место: АЗС № 134 "Партнер Нефть" [23:17:38]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [23:17:38]line СНО: Общий режим [23:17:38]line Чек 69 28.07.2024 23:17 [23:17:38]line Смена: 433 ФФД: 1.0 [23:17:38]line ЗНМ: 0300000043 [23:17:38]line РНМ: 0000000000092663 [23:17:38]line Версия ККМ: 001 [23:17:38]line ФМ: 0000000000874937 [23:17:38]line ФД: 27091 [23:17:38]line ФПД: 233618296143782 [23:17:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T231739&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27091&fm=233618296143782&tin=02508201610067®Number=0000000000092663&sum=14000 [23:17:38]line 0 [23:17:38]written 0, free lines is 4095 [23:17:38]OFD Sender: Processing packet 27091 [packets to send 9, broken 8] [23:17:38]ProducePacketName [23:17:38]name=ofd_packets/00027091 [23:17:38]OFD Sender: To server: pG, [23:17:38]CommunicateWithHost lk.salyk.kg:30040 [23:17:38]ConnectInit lk.salyk.kg [23:17:38]Connected sock=10 [23:17:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 25 01 00 00 F9 37 1D 01 9A 46 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 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 93 D1 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D3 69 00 00 35 04 06 00 D4 79 7F 8D FF A6 88 82 06 BC 3A 95 7A B4 [23:17:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 31 26 47 00 D7 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 38 37 34 39 33 37 10 04 04 00 D3 69 00 00 F4 03 04 00 E5 77 A6 66 B6 04 01 00 00 89 83 C6 81 7C FE E9 EA [23:17:38]CommunicateWithHost err = 0 [23:17:38]CheckOFDResponse [23:17:38]1017 (14) - 77093643461234 [23:17:38]1041 (16) - 0000000000874937 [23:17:38]1040 (4) - 27091 [23:17:38]1012 (4) - 28.07.2024 16:55 [23:17:38]1206 (1) - 0 [23:17:38]OFD Sender: Remove packet 27091 [23:17:38]ProducePacketName [23:17:38]name=ofd_packets/00027091 [23:17:38]NVStorageDeleteData [23:17:38]Write to MH i2c: 01 00 00 7B 09 84 [23:17:38]Write i2c OK [23:17:38]MH_I2C_Read... [23:17:38]Read from MH i2c: 01 [23:17:38]MH_I2C_Read... [23:17:38]Read from MH i2c: 01 07 00 [23:17:38]MH_I2C_Read... [23:17:38]Read from MH i2c: 01 07 00 7B 09 00 00 00 00 00 0B 0D A3 [23:17:38]RasterBufferAndPrint [23:17:38]line [23:17:38]line [23:17:38]line [23:17:38]line [23:17:38]line [23:17:38]written 0, free lines is 3348 [23:17:38]MH_Cut [23:17:38]Write to MH i2c: D1 01 00 82 09 01 5D [23:17:38]Write i2c OK [23:17:38]MH_I2C_Read... [23:17:38]Read from MH i2c: D1 [23:17:38]MH_I2C_Read... [23:17:38]Read from MH i2c: D1 01 00 [23:17:38]MH_I2C_Read... [23:17:38]Read from MH i2c: D1 01 00 82 09 00 5C [23:17:38]Write to MH i2c: 01 00 00 83 09 8C [23:17:38]Write i2c OK [23:17:38]MH_I2C_Read... [23:17:39]OFD Sender: No OFD packet to send [23:17:39]*** Cut start [23:17:39]*** Partial cut [23:17:39]*** CUTSNS_PIN = 1 [23:17:39]*** CUTSNS_PIN = 0 [23:17:39]*** Brake cut motor [23:17:40]Read from MH i2c: 01 [23:17:40]MH_I2C_Read... [23:17:40]*** Stop cut motor [23:17:40]*** Cut end [23:17:40]Read from MH i2c: 01 07 00 [23:17:40]MH_I2C_Read... [23:17:40]Read from MH i2c: 01 07 00 83 09 00 00 00 00 00 FF 0F A1 [23:17:40]process_action close_receipt done [23:17:40]requested_data is exist [23:17:40]produce_requested_data [23:17:40]requested_item fm.sn is exist - process it [23:17:40]wFMCommunicate request_size=4 [23:17:40]MH_SAM_APDU [23:17:40]CAPDU: 80 11 00 00 [23:17:40]Write to MH i2c: E2 08 00 84 09 80 11 00 00 00 00 00 00 07 [23:17:40]Write i2c OK [23:17:40]MH_I2C_Read... [23:17:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:17:40]Read from MH i2c: E2 [23:17:40]MH_I2C_Read... [23:17:40]Read from MH i2c: E2 17 00 [23:17:40]MH_I2C_Read... [23:17:40]Read from MH i2c: E2 17 00 84 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 60 [23:17:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [23:17:40]wFMCommunicate OK [23:17:40]requested_item fd.num is exist - process it [23:17:40]SAM_PROTO_GetFieldsCounters [23:17:40]wFMCommunicate request_size=4 [23:17:40]MH_SAM_APDU [23:17:40]CAPDU: 80 13 00 00 [23:17:40]Write to MH i2c: E2 08 00 85 09 80 13 00 00 00 00 00 00 0A [23:17:40]Write i2c OK [23:17:40]MH_I2C_Read... [23:17:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:17:40]Read from MH i2c: E2 [23:17:40]MH_I2C_Read... [23:17:40]Read from MH i2c: E2 62 00 [23:17:40]MH_I2C_Read... [23:17:40]Read from MH i2c: E2 62 00 85 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D3 69 00 00 0E 04 04 00 B1 01 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 EF [23:17:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D3 69 00 00 0E 04 04 00 B1 01 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 [23:17:40]wFMCommunicate OK [23:17:40]SAM_PROTO_GetFieldsCounters done [23:17:40]requested_item shift.num is exist - process it [23:17:40]requested_item shift.opened is exist - process it [23:17:40]req_shift_opened [23:17:40]FM_GetShiftState [23:17:40]SAM_PROTO_GetShiftState [23:17:40]wFMCommunicate request_size=4 [23:17:40]MH_SAM_APDU [23:17:40]CAPDU: 80 13 01 00 [23:17:40]Write to MH i2c: E2 08 00 86 09 80 13 01 00 00 00 00 00 0C [23:17:40]Write i2c OK [23:17:40]MH_I2C_Read... [23:17:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:17:40]Read from MH i2c: E2 [23:17:40]MH_I2C_Read... [23:17:40]Read from MH i2c: E2 0E 00 [23:17:40]MH_I2C_Read... [23:17:40]Read from MH i2c: E2 0E 00 86 09 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 34 [23:17:40]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [23:17:40]wFMCommunicate OK [23:17:40]SAM_PROTO_GetShiftState done [23:17:40]FM_GetShiftState done [23:17:40]req_shift_opened done [23:17:40]requested_item shift.open_date is exist - process it [23:17:40]req_shift_open_date [23:17:40]req_shift_open_date done [23:17:40]produce_requested_data done [23:17:40]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27091,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [23:17:40]process_action_free close_receipt [23:17:40]json_value_free [23:17:40]json_value_free done [23:17:40]process_json_proto returns [23:17:40]Send response to host [23:17:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27091,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [23:17:40]free response buf [23:17:40]execute_script done [23:17:40]execute_script returns [23:17:40]free content buf [23:17:40]Sock 9.Close socket [23:17:40]Sock 9.Thread stoped [23:17:44]OFD Sender: No OFD packet to send [23:17:49]OFD Sender: No OFD packet to send [23:17:54]OFD Sender: No OFD packet to send [23:17:59]OFD Sender: No OFD packet to send [23:18:04]OFD Sender: No OFD packet to send [23:18:09]OFD Sender: No OFD packet to send [23:18:14]OFD Sender: No OFD packet to send [23:18:19]OFD Sender: No OFD packet to send [23:18:24]OFD Sender: No OFD packet to send [23:18:29]OFD Sender: No OFD packet to send [23:18:34]OFD Sender: No OFD packet to send [23:18:39]OFD Sender: No OFD packet to send [23:18:44]OFD Sender: No OFD packet to send [23:18:49]OFD Sender: No OFD packet to send [23:18:54]OFD Sender: No OFD packet to send [23:18:59]OFD Sender: No OFD packet to send [23:19:04]OFD Sender: No OFD packet to send [23:19:09]OFD Sender: No OFD packet to send [23:19:14]OFD Sender: No OFD packet to send [23:19:19]OFD Sender: No OFD packet to send [23:19:24]OFD Sender: No OFD packet to send [23:19:29]OFD Sender: No OFD packet to send [23:19:34]OFD Sender: No OFD packet to send [23:19:39]OFD Sender: No OFD packet to send [23:19:44]OFD Sender: No OFD packet to send [23:19:49]OFD Sender: No OFD packet to send [23:19:54]OFD Sender: No OFD packet to send [23:19:59]OFD Sender: No OFD packet to send [23:20:04]OFD Sender: No OFD packet to send [23:20:09]OFD Sender: No OFD packet to send [23:20:14]OFD Sender: No OFD packet to send [23:20:19]OFD Sender: No OFD packet to send [23:20:24]OFD Sender: No OFD packet to send [23:20:29]OFD Sender: No OFD packet to send [23:20:34]OFD Sender: No OFD packet to send [23:20:39]OFD Sender: No OFD packet to send [23:20:44]OFD Sender: No OFD packet to send [23:20:49]OFD Sender: No OFD packet to send [23:20:54]OFD Sender: No OFD packet to send [23:20:59]OFD Sender: No OFD packet to send [23:21:04]OFD Sender: No OFD packet to send [23:21:09]OFD Sender: No OFD packet to send [23:21:14]OFD Sender: No OFD packet to send [23:21:19]OFD Sender: No OFD packet to send [23:21:24]OFD Sender: No OFD packet to send [23:21:29]OFD Sender: No OFD packet to send [23:21:34]OFD Sender: No OFD packet to send [23:21:39]OFD Sender: No OFD packet to send [23:21:44]OFD Sender: No OFD packet to send [23:21:49]OFD Sender: No OFD packet to send [23:21:54]OFD Sender: No OFD packet to send [23:21:59]OFD Sender: No OFD packet to send [23:22:04]OFD Sender: No OFD packet to send [23:22:09]OFD Sender: No OFD packet to send [23:22:14]OFD Sender: No OFD packet to send [23:22:19]OFD Sender: No OFD packet to send [23:22:24]OFD Sender: No OFD packet to send [23:22:29]OFD Sender: No OFD packet to send [23:22:34]OFD Sender: No OFD packet to send [23:22:39]OFD Sender: No OFD packet to send [23:22:44]OFD Sender: No OFD packet to send [23:22:49]OFD Sender: No OFD packet to send [23:22:54]OFD Sender: No OFD packet to send [23:22:59]OFD Sender: No OFD packet to send [23:23:04]OFD Sender: No OFD packet to send [23:23:09]OFD Sender: No OFD packet to send [23:23:14]OFD Sender: No OFD packet to send [23:23:19]OFD Sender: No OFD packet to send [23:23:24]OFD Sender: No OFD packet to send [23:23:29]OFD Sender: No OFD packet to send [23:23:34]OFD Sender: No OFD packet to send [23:23:39]OFD Sender: No OFD packet to send [23:23:44]OFD Sender: No OFD packet to send [23:23:49]OFD Sender: No OFD packet to send [23:23:54]OFD Sender: No OFD packet to send [23:23:59]OFD Sender: No OFD packet to send [23:24:04]OFD Sender: No OFD packet to send [23:24:09]OFD Sender: No OFD packet to send [23:24:14]OFD Sender: No OFD packet to send [23:24:19]OFD Sender: No OFD packet to send [23:24:24]OFD Sender: No OFD packet to send [23:24:29]OFD Sender: No OFD packet to send [23:24:34]OFD Sender: No OFD packet to send [23:24:39]OFD Sender: No OFD packet to send [23:24:44]OFD Sender: No OFD packet to send [23:24:49]OFD Sender: No OFD packet to send [23:24:54]OFD Sender: No OFD packet to send [23:24:59]OFD Sender: No OFD packet to send [23:25:04]OFD Sender: No OFD packet to send [23:25:09]OFD Sender: No OFD packet to send [23:25:14]OFD Sender: No OFD packet to send [23:25:19]OFD Sender: No OFD packet to send [23:25:24]OFD Sender: No OFD packet to send [23:25:29]OFD Sender: No OFD packet to send [23:25:34]OFD Sender: No OFD packet to send [23:25:39]OFD Sender: No OFD packet to send [23:25:44]OFD Sender: No OFD packet to send [23:25:49]OFD Sender: No OFD packet to send [23:25:54]OFD Sender: No OFD packet to send [23:25:59]OFD Sender: No OFD packet to send [23:26:04]OFD Sender: No OFD packet to send [23:26:09]OFD Sender: No OFD packet to send [23:26:14]OFD Sender: No OFD packet to send [23:26:19]OFD Sender: No OFD packet to send [23:26:24]OFD Sender: No OFD packet to send [23:26:29]OFD Sender: No OFD packet to send [23:26:34]OFD Sender: No OFD packet to send [23:26:39]OFD Sender: No OFD packet to send [23:26:44]OFD Sender: No OFD packet to send [23:26:49]OFD Sender: No OFD packet to send [23:26:54]OFD Sender: No OFD packet to send [23:26:59]OFD Sender: No OFD packet to send [23:27:04]OFD Sender: No OFD packet to send [23:27:09]OFD Sender: No OFD packet to send [23:27:14]OFD Sender: No OFD packet to send [23:27:19]OFD Sender: No OFD packet to send [23:27:24]OFD Sender: No OFD packet to send [23:27:29]OFD Sender: No OFD packet to send [23:27:34]OFD Sender: No OFD packet to send [23:27:39]OFD Sender: No OFD packet to send [23:27:44]OFD Sender: No OFD packet to send [23:27:49]OFD Sender: No OFD packet to send [23:27:54]OFD Sender: No OFD packet to send [23:27:59]OFD Sender: No OFD packet to send [23:28:04]OFD Sender: No OFD packet to send [23:28:09]OFD Sender: No OFD packet to send [23:28:14]OFD Sender: No OFD packet to send [23:28:19]OFD Sender: No OFD packet to send [23:28:24]OFD Sender: No OFD packet to send [23:28:29]OFD Sender: No OFD packet to send [23:28:34]OFD Sender: No OFD packet to send [23:28:39]OFD Sender: No OFD packet to send [23:28:44]OFD Sender: No OFD packet to send [23:28:49]OFD Sender: No OFD packet to send [23:28:54]accept exits with 8 [23:28:54]New connection [23:28:54]New thread 3066928484 created [23:28:54]Thread 3066785124 joined [23:28:54]Waiting for new connection... [23:28:54] Sock 8.Parse request [23:28:54]Sock 8.Check first char [23:28:54]Sock 8.First char is OK [23:28:54]request: POST /json_proto HTTP/1.0 [23:28:54]Method: POST [23:28:54]URL: /json_proto [23:28:54]Method is POST - this is cgi request [23:28:54]url: /json_proto [23:28:54]query_string will be loaded in cgi processing [23:28:54]execute_cgi json_proto POST (null) [23:28:54]execute_cgi path=json_proto method=POST [23:28:54]POST find Content-Length [23:28:54]Host: 172.17.45.8:8080 [23:28:54]Content-Length: 646 [23:28:54]Content-Type: application/json [23:28:54] [23:28:54]POST finish read [23:28:54]Found Content-Length = 646 [23:28:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150490", "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" ] } } [23:28:54]execute_script... [23:28:54]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)150490", "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" ] } } [23:28:54]POST & json_proto [23:28:54]process_json_proto [23:28:54]json parsed OK: [23:28:54]protocol is kg_v1.0 [23:28:54]action value=close_receipt [23:28:54]process_action close_receipt [23:28:54]cmd_close_receipt [23:28:54]MH_GetDate [23:28:54]Write to MH i2c: F0 00 00 87 09 7F [23:28:54]Write i2c OK [23:28:54]MH_I2C_Read... [23:28:54]Read from MH i2c: F0 [23:28:54]MH_I2C_Read... [23:28:54]Read from MH i2c: F0 09 00 [23:28:54]MH_I2C_Read... [23:28:54]Read from MH i2c: F0 09 00 87 09 00 39 D4 A6 66 A6 1F 7F 64 49 [23:28:54]GetLastDocTimeStamp 1722208659 [23:28:54]current date 1722209337 [23:28:54]FM_GetShiftState [23:28:54]SAM_PROTO_GetShiftState [23:28:54]wFMCommunicate request_size=4 [23:28:54]MH_SAM_APDU [23:28:54]CAPDU: 80 13 01 00 [23:28:54]Write to MH i2c: E2 08 00 88 09 80 13 01 00 00 00 00 00 0E [23:28:54]Write i2c OK [23:28:54]MH_I2C_Read... [23:28:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:28:54]Read from MH i2c: E2 [23:28:54]MH_I2C_Read... [23:28:54]Read from MH i2c: E2 0E 00 [23:28:54]MH_I2C_Read... [23:28:54]Read from MH i2c: E2 0E 00 88 09 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 36 [23:28:54]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [23:28:54]wFMCommunicate OK [23:28:54]SAM_PROTO_GetShiftState done [23:28:54]FM_GetShiftState done [23:28:54]opened in 1722127230 [23:28:54]opened+sec_in_day 1722213630 [23:28:54]quantity*price = 13000 [23:28:54]sum+1 = 13001 [23:28:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 70 28.07.2024 23:28 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27092 ФПД: 120529271507744 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T232857&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27092&fm=120529271507744&tin=02508201610067®Number=0000000000092663&sum=13000 0 [23:28:55]StoreToDocumentArchive [23:28:55]shift 433 fd 27092 [23:28:55]save to /storage/0433/doc_00027092 [23:28:55]save last doc name /storage/0433/doc_00027092 to /storage/kkm_last_doc_name [23:28:55]save OK [23:28:55]Clear old archive folders... [23:28:55]ProcessDocumentItem done err = 0, tmpTLVsize=282 [23:28:55]tlvbuf is 001635E0 [23:28:55]SAM_PROTO_ClearQueue [23:28:55]wFMCommunicate request_size=4 [23:28:55]MH_SAM_APDU [23:28:55]CAPDU: 80 09 00 00 [23:28:55]Write to MH i2c: E2 08 00 95 09 80 09 00 00 00 00 00 00 10 [23:28:55]Write i2c OK [23:28:55]MH_I2C_Read... [23:28:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:28:55]Read from MH i2c: E2 [23:28:55]MH_I2C_Read... [23:28:55]Read from MH i2c: E2 03 00 [23:28:55]MH_I2C_Read... [23:28:55]Read from MH i2c: E2 03 00 95 09 00 90 00 12 [23:28:55]RAPDU: 90 00 [23:28:55]wFMCommunicate OK [23:28:55]SAM_PROTO_ClearQueue done [23:28:55]KKMCreateOFDPacket [23:28:55]OFDProtocolAddRootSTLVToBuf [23:28:55]FM_MakeSignedData [23:28:55]FM_MakeSignedData [23:28:55]SAM_PROTO_SignData [23:28:55]wFMCommunicate request_size=4 [23:28:55]MH_SAM_APDU [23:28:55]CAPDU: 80 0D 01 02 [23:28:55]Write to MH i2c: E2 08 00 96 09 80 0D 01 02 00 00 00 00 18 [23:28:55]Write i2c OK [23:28:55]MH_I2C_Read... [23:28:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:28:55]Read from MH i2c: E2 [23:28:55]MH_I2C_Read... [23:28:55]Read from MH i2c: E2 03 00 [23:28:55]MH_I2C_Read... [23:28:55]Read from MH i2c: E2 03 00 96 09 00 90 00 13 [23:28:55]RAPDU: 90 00 [23:28:55]wFMCommunicate OK [23:28:55]wFMCommunicate request_size=255 [23:28:55]MH_SAM_APDU [23:28:55]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 46 00 00 00 F4 03 04 00 39 D4 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 [23:28:55]Write to MH i2c: E2 02 01 97 09 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 46 00 00 00 F4 03 04 00 39 D4 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 00 00 39 [23:28:55]Write i2c OK [23:28:55]MH_I2C_Read... [23:28:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:28:56]Read from MH i2c: E2 [23:28:56]MH_I2C_Read... [23:28:56]Read from MH i2c: E2 03 00 [23:28:56]MH_I2C_Read... [23:28:56]Read from MH i2c: E2 03 00 97 09 00 90 00 14 [23:28:56]RAPDU: 90 00 [23:28:56]wFMCommunicate OK [23:28:56]wFMCommunicate request_size=41 [23:28:56]MH_SAM_APDU [23:28:56]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D4 69 00 00 35 04 06 00 6D 9E E8 69 CB 20 [23:28:56]Write to MH i2c: E2 2C 00 98 09 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D4 69 00 00 35 04 06 00 6D 9E E8 69 CB 20 00 00 74 [23:28:56]Write i2c OK [23:28:56]MH_I2C_Read... [23:28:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:28:56]Read from MH i2c: E2 [23:28:56]MH_I2C_Read... [23:28:56]Read from MH i2c: E2 03 00 [23:28:56]MH_I2C_Read... [23:28:56]Read from MH i2c: E2 03 00 98 09 00 90 00 15 [23:28:56]RAPDU: 90 00 [23:28:56]wFMCommunicate OK [23:28:56]wFMCommunicate request_size=4 [23:28:56]MH_SAM_APDU [23:28:56]CAPDU: 80 0D 03 02 [23:28:56]Write to MH i2c: E2 08 00 99 09 80 0D 03 02 00 00 00 00 1D [23:28:56]Write i2c OK [23:28:56]MH_I2C_Read... [23:28:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:28:56]Read from MH i2c: E2 [23:28:56]MH_I2C_Read... [23:28:56]Read from MH i2c: E2 0B 00 [23:28:56]MH_I2C_Read... [23:28:56]Read from MH i2c: E2 0B 00 99 09 00 08 21 BB AC C5 DC D0 11 90 00 30 [23:28:56]RAPDU: 08 21 BB AC C5 DC D0 11 90 00 [23:28:56]wFMCommunicate OK [23:28:56]SAM_PROTO_SignData done [23:28:56]FM_MakeSignedData done [23:28:56]CreateOFDProtocolMessage [23:28:56]wFMCommunicate request_size=4 [23:28:56]MH_SAM_APDU [23:28:56]CAPDU: 80 11 00 00 [23:28:56]Write to MH i2c: E2 08 00 9A 09 80 11 00 00 00 00 00 00 1D [23:28:56]Write i2c OK [23:28:56]MH_I2C_Read... [23:28:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:28:56]Read from MH i2c: E2 [23:28:56]MH_I2C_Read... [23:28:56]Read from MH i2c: E2 17 00 [23:28:56]MH_I2C_Read... [23:28:56]Read from MH i2c: E2 17 00 9A 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 76 [23:28:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [23:28:56]wFMCommunicate OK [23:28:56]CreateOFDProtocolMessage done [23:28:56]OFDSenderStorePacket 27092 [23:28:56]StoreOFDPacket docnum=27092 [23:28:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 2E 01 00 00 76 F8 26 01 C7 1F 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 46 00 00 00 F4 03 04 00 39 D4 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D4 69 00 00 35 04 06 00 6D 9E E8 69 CB 20 08 21 BB AC C5 DC D0 11 [23:28:56]CheckFolder [23:28:56]dirname=/storage/ofd_packets [23:28:56]CheckFolder done [23:28:56]ProducePacketName [23:28:56]name=ofd_packets/00027092 [23:28:56]NVStorageSaveData ofd_packets/00027092 [23:28:56]File name is /storage/ofd_packets/00027092 [23:28:56]Write 332 bytes [23:28:56]NVStorageSaveData done [23:28:56]OFDSenderStorePacket done [23:28:56]KKMCreateOFDPacket done [23:28:56]NVStorageSaveData kkm_last_timestamp [23:28:56]File name is /storage/kkm_last_timestamp [23:28:56]Write 4 bytes [23:28:56]NVStorageSaveData done [23:28:56]ExternCall_PrintAddStr [23:28:56]wPrintStart [23:28:56]Write to MH i2c: 01 00 00 9B 09 A4 [23:28:56]Write i2c OK [23:28:56]MH_I2C_Read... [23:28:56]Read from MH i2c: 01 [23:28:56]MH_I2C_Read... [23:28:56]Read from MH i2c: 01 07 00 [23:28:56]MH_I2C_Read... [23:28:56]Read from MH i2c: 01 07 00 9B 09 00 00 00 00 00 FF 0F B9 [23:28:56]RasterBufferAndPrint [23:28:56]line Счет N : (3)150490 [23:28:56]line ИНН: 02508201610067 [23:28:56]line Контрольно-Кассовый Чек [23:28:56]line ПРОДАЖА [23:28:56]line Товар: 2000036220012 [23:28:56]line Кофе Капучино XL(GABB TRADE) [23:28:56]line 1.000 * 130.00 [23:28:56]line = 130.00 [23:28:56]line НДС 12% НСП 1% [23:28:56]line > о реализуемом товаре [23:28:56]line ИТОГО: 130.00 [23:28:56]line НСП 1% : 1.15 [23:28:56]line НДС 12% : 13.80 [23:28:56]line Наличными: 130.00 [23:28:56]line Безнал.: 0.00 [23:28:56]line Место: АЗС № 134 "Партнер Нефть" [23:28:56]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [23:28:56]line СНО: Общий режим [23:28:56]line Чек 70 28.07.2024 23:28 [23:28:56]line Смена: 433 ФФД: 1.0 [23:28:56]line ЗНМ: 0300000043 [23:28:56]line РНМ: 0000000000092663 [23:28:56]line Версия ККМ: 001 [23:28:56]line ФМ: 0000000000874937 [23:28:56]line ФД: 27092 [23:28:56]line ФПД: 120529271507744 [23:28:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T232857&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27092&fm=120529271507744&tin=02508201610067®Number=0000000000092663&sum=13000 [23:28:56]line 0 [23:28:56]OFD Sender: Processing packet 27092 [packets to send 9, broken 8] [23:28:56]ProducePacketName [23:28:56]name=ofd_packets/00027092 [23:28:56]OFD Sender: To server: pG, [23:28:56]CommunicateWithHost lk.salyk.kg:30040 [23:28:56]ConnectInit lk.salyk.kg [23:28:56]written 0, free lines is 4095 [23:28:56]Connected sock=11 [23:28:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 2E 01 00 00 76 F8 26 01 C7 1F 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 46 00 00 00 F4 03 04 00 39 D4 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D4 69 00 00 35 04 06 00 6D 9E E8 69 CB 20 08 21 BB AC C5 DC D0 11 [23:28:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 E7 FC 47 00 32 BC 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 38 37 34 39 33 37 10 04 04 00 D4 69 00 00 F4 03 04 00 8B 7A A6 66 B6 04 01 00 00 99 B8 87 5D 38 DF 97 CB [23:28:56]CommunicateWithHost err = 0 [23:28:56]CheckOFDResponse [23:28:56]1017 (14) - 77093643461234 [23:28:56]1041 (16) - 0000000000874937 [23:28:56]1040 (4) - 27092 [23:28:56]1012 (4) - 28.07.2024 17:06 [23:28:56]1206 (1) - 0 [23:28:56]OFD Sender: Remove packet 27092 [23:28:56]ProducePacketName [23:28:56]name=ofd_packets/00027092 [23:28:56]NVStorageDeleteData [23:28:57]Write to MH i2c: 01 00 00 C3 09 CC [23:28:57]Write i2c OK [23:28:57]MH_I2C_Read... [23:28:57]Read from MH i2c: 01 [23:28:57]MH_I2C_Read... [23:28:57]Read from MH i2c: 01 07 00 [23:28:57]MH_I2C_Read... [23:28:57]Read from MH i2c: 01 07 00 C3 09 00 00 00 00 00 EF 0C CE [23:28:57]RasterBufferAndPrint [23:28:57]line [23:28:57]line [23:28:57]line [23:28:57]line [23:28:57]line [23:28:57]written 0, free lines is 3317 [23:28:57]MH_Cut [23:28:57]Write to MH i2c: D1 01 00 CA 09 01 A5 [23:28:57]Write i2c OK [23:28:57]MH_I2C_Read... [23:28:57]Read from MH i2c: D1 [23:28:57]MH_I2C_Read... [23:28:57]Read from MH i2c: D1 01 00 [23:28:57]MH_I2C_Read... [23:28:57]Read from MH i2c: D1 01 00 CA 09 00 A4 [23:28:57]Write to MH i2c: 01 00 00 CB 09 D4 [23:28:57]Write i2c OK [23:28:57]MH_I2C_Read... [23:28:57]OFD Sender: No OFD packet to send [23:28:57]*** Cut start [23:28:57]*** Partial cut [23:28:57]*** CUTSNS_PIN = 1 [23:28:57]*** CUTSNS_PIN = 0 [23:28:58]*** Brake cut motor [23:28:58]Read from MH i2c: 01 [23:28:58]MH_I2C_Read... [23:28:58]*** Stop cut motor [23:28:58]*** Cut end [23:28:58]Read from MH i2c: 01 07 00 [23:28:58]MH_I2C_Read... [23:28:58]Read from MH i2c: 01 07 00 CB 09 00 00 00 00 00 FF 0F E9 [23:28:58]process_action close_receipt done [23:28:58]requested_data is exist [23:28:58]produce_requested_data [23:28:58]requested_item fm.sn is exist - process it [23:28:58]wFMCommunicate request_size=4 [23:28:58]MH_SAM_APDU [23:28:58]CAPDU: 80 11 00 00 [23:28:58]Write to MH i2c: E2 08 00 CC 09 80 11 00 00 00 00 00 00 4F [23:28:58]Write i2c OK [23:28:58]MH_I2C_Read... [23:28:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:28:58]Read from MH i2c: E2 [23:28:58]MH_I2C_Read... [23:28:58]Read from MH i2c: E2 17 00 [23:28:58]MH_I2C_Read... [23:28:58]Read from MH i2c: E2 17 00 CC 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 A8 [23:28:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [23:28:58]wFMCommunicate OK [23:28:58]requested_item fd.num is exist - process it [23:28:58]SAM_PROTO_GetFieldsCounters [23:28:58]wFMCommunicate request_size=4 [23:28:58]MH_SAM_APDU [23:28:58]CAPDU: 80 13 00 00 [23:28:58]Write to MH i2c: E2 08 00 CD 09 80 13 00 00 00 00 00 00 52 [23:28:58]Write i2c OK [23:28:58]MH_I2C_Read... [23:28:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:28:58]Read from MH i2c: E2 [23:28:58]MH_I2C_Read... [23:28:58]Read from MH i2c: E2 62 00 [23:28:58]MH_I2C_Read... [23:28:58]Read from MH i2c: E2 62 00 CD 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D4 69 00 00 0E 04 04 00 B1 01 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 3B [23:28:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D4 69 00 00 0E 04 04 00 B1 01 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 [23:28:58]wFMCommunicate OK [23:28:58]SAM_PROTO_GetFieldsCounters done [23:28:58]requested_item shift.num is exist - process it [23:28:58]requested_item shift.opened is exist - process it [23:28:58]req_shift_opened [23:28:58]FM_GetShiftState [23:28:58]SAM_PROTO_GetShiftState [23:28:58]wFMCommunicate request_size=4 [23:28:58]MH_SAM_APDU [23:28:58]CAPDU: 80 13 01 00 [23:28:58]Write to MH i2c: E2 08 00 CE 09 80 13 01 00 00 00 00 00 54 [23:28:58]Write i2c OK [23:28:58]MH_I2C_Read... [23:28:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:28:58]Read from MH i2c: E2 [23:28:58]MH_I2C_Read... [23:28:58]Read from MH i2c: E2 0E 00 [23:28:58]MH_I2C_Read... [23:28:58]Read from MH i2c: E2 0E 00 CE 09 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 7C [23:28:58]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [23:28:58]wFMCommunicate OK [23:28:58]SAM_PROTO_GetShiftState done [23:28:58]FM_GetShiftState done [23:28:58]req_shift_opened done [23:28:58]requested_item shift.open_date is exist - process it [23:28:58]req_shift_open_date [23:28:58]req_shift_open_date done [23:28:58]produce_requested_data done [23:28:58]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27092,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [23:28:58]process_action_free close_receipt [23:28:58]json_value_free [23:28:58]json_value_free done [23:28:58]process_json_proto returns [23:28:58]Send response to host [23:28:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27092,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [23:28:58]free response buf [23:28:58]execute_script done [23:28:58]execute_script returns [23:28:58]free content buf [23:28:58]Sock 8.Close socket [23:28:58]Sock 8.Thread stoped [23:29:02]OFD Sender: No OFD packet to send [23:29:07]OFD Sender: No OFD packet to send [23:29:12]OFD Sender: No OFD packet to send [23:29:17]OFD Sender: No OFD packet to send [23:29:22]OFD Sender: No OFD packet to send [23:29:27]OFD Sender: No OFD packet to send [23:29:32]OFD Sender: No OFD packet to send [23:29:37]OFD Sender: No OFD packet to send [23:29:42]OFD Sender: No OFD packet to send [23:29:47]OFD Sender: No OFD packet to send [23:29:52]OFD Sender: No OFD packet to send [23:29:57]OFD Sender: No OFD packet to send [23:30:02]OFD Sender: No OFD packet to send [23:30:07]OFD Sender: No OFD packet to send [23:30:12]OFD Sender: No OFD packet to send [23:30:17]OFD Sender: No OFD packet to send [23:30:22]OFD Sender: No OFD packet to send [23:30:27]OFD Sender: No OFD packet to send [23:30:32]OFD Sender: No OFD packet to send [23:30:37]OFD Sender: No OFD packet to send [23:30:42]OFD Sender: No OFD packet to send [23:30:47]OFD Sender: No OFD packet to send [23:30:52]OFD Sender: No OFD packet to send [23:30:57]OFD Sender: No OFD packet to send [23:31:02]OFD Sender: No OFD packet to send [23:31:07]OFD Sender: No OFD packet to send [23:31:12]OFD Sender: No OFD packet to send [23:31:17]OFD Sender: No OFD packet to send [23:31:22]OFD Sender: No OFD packet to send [23:31:27]OFD Sender: No OFD packet to send [23:31:32]OFD Sender: No OFD packet to send [23:31:37]OFD Sender: No OFD packet to send [23:31:42]OFD Sender: No OFD packet to send [23:31:47]OFD Sender: No OFD packet to send [23:31:52]OFD Sender: No OFD packet to send [23:31:57]OFD Sender: No OFD packet to send [23:32:02]OFD Sender: No OFD packet to send [23:32:07]OFD Sender: No OFD packet to send [23:32:12]OFD Sender: No OFD packet to send [23:32:17]OFD Sender: No OFD packet to send [23:32:22]OFD Sender: No OFD packet to send [23:32:27]OFD Sender: No OFD packet to send [23:32:32]OFD Sender: No OFD packet to send [23:32:37]OFD Sender: No OFD packet to send [23:32:42]OFD Sender: No OFD packet to send [23:32:47]OFD Sender: No OFD packet to send [23:32:52]OFD Sender: No OFD packet to send [23:32:57]OFD Sender: No OFD packet to send [23:33:02]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:58]OFD Sender: No OFD packet to send [23:41:03]OFD Sender: No OFD packet to send [23:41:08]OFD Sender: No OFD packet to send [23:41:13]OFD Sender: No OFD packet to send [23:41:18]OFD Sender: No OFD packet to send [23:41:23]OFD Sender: No OFD packet to send [23:41:28]OFD Sender: No OFD packet to send [23:41:33]OFD Sender: No OFD packet to send [23:41:38]OFD Sender: No OFD packet to send [23:41:43]OFD Sender: No OFD packet to send [23:41:48]OFD Sender: No OFD packet to send [23:41:53]OFD Sender: No OFD packet to send [23:41:58]OFD Sender: No OFD packet to send [23:42:03]OFD Sender: No OFD packet to send [23:42:08]OFD Sender: No OFD packet to send [23:42:13]OFD Sender: No OFD packet to send [23:42:18]OFD Sender: No OFD packet to send [23:42:23]OFD Sender: No OFD packet to send [23:42:28]OFD Sender: No OFD packet to send [23:42:33]OFD Sender: No OFD packet to send [23:42:38]OFD Sender: No OFD packet to send [23:42:43]OFD Sender: No OFD packet to send [23:42:48]OFD Sender: No OFD packet to send [23:42:53]OFD Sender: No OFD packet to send [23:42:58]OFD Sender: No OFD packet to send [23:43:03]OFD Sender: No OFD packet to send [23:43:08]OFD Sender: No OFD packet to send [23:43:13]OFD Sender: No OFD packet to send [23:43:18]OFD Sender: No OFD packet to send [23:43:23]OFD Sender: No OFD packet to send [23:43:28]OFD Sender: No OFD packet to send [23:43:33]OFD Sender: No OFD packet to send [23:43:38]OFD Sender: No OFD packet to send [23:43:43]OFD Sender: No OFD packet to send [23:43:48]OFD Sender: No OFD packet to send [23:43:53]OFD Sender: No OFD packet to send [23:43:58]OFD Sender: No OFD packet to send [23:44:03]OFD Sender: No OFD packet to send [23:44:08]OFD Sender: No OFD packet to send [23:44:13]OFD Sender: No OFD packet to send [23:44:18]OFD Sender: No OFD packet to send [23:44:23]OFD Sender: No OFD packet to send [23:44:28]OFD Sender: No OFD packet to send [23:44:33]OFD Sender: No OFD packet to send [23:44:38]OFD Sender: No OFD packet to send [23:44:43]OFD Sender: No OFD packet to send [23:44:48]OFD Sender: No OFD packet to send [23:44:53]OFD Sender: No OFD packet to send [23:44:58]OFD Sender: No OFD packet to send [23:45:03]OFD Sender: No OFD packet to send [23:45:08]OFD Sender: No OFD packet to send [23:45:13]OFD Sender: No OFD packet to send [23:45:18]OFD Sender: No OFD packet to send [23:45:23]OFD Sender: No OFD packet to send [23:45:28]OFD Sender: No OFD packet to send [23:45:33]OFD Sender: No OFD packet to send [23:45:38]OFD Sender: No OFD packet to send [23:45:43]OFD Sender: No OFD packet to send [23:45:48]OFD Sender: No OFD packet to send [23:45:51]accept exits with 9 [23:45:51]New connection [23:45:51]New thread 3066785124 created [23:45:51]Thread 3066928484 joined [23:45:51]Waiting for new connection... [23:45:51] Sock 9.Parse request [23:45:51]Sock 9.Check first char [23:45:51]Sock 9.First char is OK [23:45:51]request: POST /json_proto HTTP/1.0 [23:45:51]Method: POST [23:45:51]URL: /json_proto [23:45:51]Method is POST - this is cgi request [23:45:51]url: /json_proto [23:45:51]query_string will be loaded in cgi processing [23:45:51]execute_cgi json_proto POST (null) [23:45:51]execute_cgi path=json_proto method=POST [23:45:51]POST find Content-Length [23:45:51]Host: 172.17.45.8:8080 [23:45:51]Content-Length: 630 [23:45:51]Content-Type: application/json [23:45:51] [23:45:51]POST finish read [23:45:51]Found Content-Length = 630 [23:45:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150491", "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" ] } } [23:45:51]execute_script... [23:45: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)150491", "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" ] } } [23:45:51]POST & json_proto [23:45:51]process_json_proto [23:45:51]json parsed OK: [23:45:51]protocol is kg_v1.0 [23:45:51]action value=close_receipt [23:45:51]process_action close_receipt [23:45:51]cmd_close_receipt [23:45:51]MH_GetDate [23:45:51]Write to MH i2c: F0 00 00 CF 09 C7 [23:45:51]Write i2c OK [23:45:51]MH_I2C_Read... [23:45:51]Read from MH i2c: F0 [23:45:51]MH_I2C_Read... [23:45:51]Read from MH i2c: F0 09 00 [23:45:51]MH_I2C_Read... [23:45:51]Read from MH i2c: F0 09 00 CF 09 00 32 D8 A6 66 A6 1F 7F 64 8E [23:45:51]GetLastDocTimeStamp 1722209337 [23:45:51]current date 1722210354 [23:45:51]FM_GetShiftState [23:45:51]SAM_PROTO_GetShiftState [23:45:51]wFMCommunicate request_size=4 [23:45:51]MH_SAM_APDU [23:45:51]CAPDU: 80 13 01 00 [23:45:51]Write to MH i2c: E2 08 00 D0 09 80 13 01 00 00 00 00 00 56 [23:45:51]Write i2c OK [23:45:51]MH_I2C_Read... [23:45:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:45:51]Read from MH i2c: E2 [23:45:51]MH_I2C_Read... [23:45:51]Read from MH i2c: E2 0E 00 [23:45:51]MH_I2C_Read... [23:45:51]Read from MH i2c: E2 0E 00 D0 09 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 7E [23:45:51]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [23:45:51]wFMCommunicate OK [23:45:51]SAM_PROTO_GetShiftState done [23:45:51]FM_GetShiftState done [23:45:51]opened in 1722127230 [23:45:51]opened+sec_in_day 1722213630 [23:45:51]quantity*price = 5000 [23:45:51]sum+1 = 5001 [23:45:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 71 28.07.2024 23:45 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27093 ФПД: 7357177592332 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T234554&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27093&fm=7357177592332&tin=02508201610067®Number=0000000000092663&sum=5000 0 [23:45:52]StoreToDocumentArchive [23:45:52]shift 433 fd 27093 [23:45:52]save to /storage/0433/doc_00027093 [23:45:52]save last doc name /storage/0433/doc_00027093 to /storage/kkm_last_doc_name [23:45:52]save OK [23:45:52]Clear old archive folders... [23:45:52]ProcessDocumentItem done err = 0, tmpTLVsize=269 [23:45:52]tlvbuf is 00163210 [23:45:52]SAM_PROTO_ClearQueue [23:45:52]wFMCommunicate request_size=4 [23:45:52]MH_SAM_APDU [23:45:52]CAPDU: 80 09 00 00 [23:45:52]Write to MH i2c: E2 08 00 DD 09 80 09 00 00 00 00 00 00 58 [23:45:52]Write i2c OK [23:45:52]MH_I2C_Read... [23:45:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:45:52]Read from MH i2c: E2 [23:45:52]MH_I2C_Read... [23:45:52]Read from MH i2c: E2 03 00 [23:45:52]MH_I2C_Read... [23:45:52]Read from MH i2c: E2 03 00 DD 09 00 90 00 5A [23:45:52]RAPDU: 90 00 [23:45:52]wFMCommunicate OK [23:45:52]SAM_PROTO_ClearQueue done [23:45:52]KKMCreateOFDPacket [23:45:52]OFDProtocolAddRootSTLVToBuf [23:45:52]FM_MakeSignedData [23:45:52]FM_MakeSignedData [23:45:52]SAM_PROTO_SignData [23:45:52]wFMCommunicate request_size=4 [23:45:52]MH_SAM_APDU [23:45:52]CAPDU: 80 0D 01 02 [23:45:52]Write to MH i2c: E2 08 00 DE 09 80 0D 01 02 00 00 00 00 60 [23:45:52]Write i2c OK [23:45:52]MH_I2C_Read... [23:45:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:45:52]Read from MH i2c: E2 [23:45:52]MH_I2C_Read... [23:45:52]Read from MH i2c: E2 03 00 [23:45:52]MH_I2C_Read... [23:45:52]Read from MH i2c: E2 03 00 DE 09 00 90 00 5B [23:45:52]RAPDU: 90 00 [23:45:52]wFMCommunicate OK [23:45:52]wFMCommunicate request_size=255 [23:45:52]MH_SAM_APDU [23:45:52]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 47 00 00 00 F4 03 04 00 32 D8 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [23:45:52]Write to MH i2c: E2 02 01 DF 09 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 47 00 00 00 F4 03 04 00 32 D8 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 87 [23:45:52]Write i2c OK [23:45:52]MH_I2C_Read... [23:45:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:45:53]Read from MH i2c: E2 [23:45:53]MH_I2C_Read... [23:45:53]Read from MH i2c: E2 03 00 [23:45:53]MH_I2C_Read... [23:45:53]Read from MH i2c: E2 03 00 DF 09 00 90 00 5C [23:45:53]RAPDU: 90 00 [23:45:53]wFMCommunicate OK [23:45:53]wFMCommunicate request_size=28 [23:45:53]MH_SAM_APDU [23:45:53]CAPDU: 80 0D 02 02 17 37 34 39 33 37 10 04 04 00 D5 69 00 00 35 04 06 00 06 B0 F9 F4 FA 0C [23:45:53]Write to MH i2c: E2 1F 00 E0 09 80 0D 02 02 17 00 37 34 39 33 37 10 04 04 00 D5 69 00 00 35 04 06 00 06 B0 F9 F4 FA 0C 00 00 DD [23:45:53]Write i2c OK [23:45:53]MH_I2C_Read... [23:45:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:45:53]Read from MH i2c: E2 [23:45:53]MH_I2C_Read... [23:45:53]Read from MH i2c: E2 03 00 [23:45:53]MH_I2C_Read... [23:45:53]Read from MH i2c: E2 03 00 E0 09 00 90 00 5D [23:45:53]RAPDU: 90 00 [23:45:53]wFMCommunicate OK [23:45:53]wFMCommunicate request_size=4 [23:45:53]MH_SAM_APDU [23:45:53]CAPDU: 80 0D 03 02 [23:45:53]Write to MH i2c: E2 08 00 E1 09 80 0D 03 02 00 00 00 00 65 [23:45:53]Write i2c OK [23:45:53]MH_I2C_Read... [23:45:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:45:53]Read from MH i2c: E2 [23:45:53]MH_I2C_Read... [23:45:53]Read from MH i2c: E2 0B 00 [23:45:53]MH_I2C_Read... [23:45:53]Read from MH i2c: E2 0B 00 E1 09 00 EE 9F 50 59 C9 76 2A 68 90 00 6D [23:45:53]RAPDU: EE 9F 50 59 C9 76 2A 68 90 00 [23:45:53]wFMCommunicate OK [23:45:53]SAM_PROTO_SignData done [23:45:53]FM_MakeSignedData done [23:45:53]CreateOFDProtocolMessage [23:45:53]wFMCommunicate request_size=4 [23:45:53]MH_SAM_APDU [23:45:53]CAPDU: 80 11 00 00 [23:45:53]Write to MH i2c: E2 08 00 E2 09 80 11 00 00 00 00 00 00 65 [23:45:53]OFD Sender: No OFD packet to send [23:45:53]Write i2c OK [23:45:53]MH_I2C_Read... [23:45:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:45:53]Read from MH i2c: E2 [23:45:53]MH_I2C_Read... [23:45:53]Read from MH i2c: E2 17 00 [23:45:53]MH_I2C_Read... [23:45:53]Read from MH i2c: E2 17 00 E2 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 BE [23:45:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [23:45:53]wFMCommunicate OK [23:45:53]CreateOFDProtocolMessage done [23:45:53]OFDSenderStorePacket 27093 [23:45:53]StoreOFDPacket docnum=27093 [23:45:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 21 01 00 00 0A DB 19 01 FC 46 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 47 00 00 00 F4 03 04 00 32 D8 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D5 69 00 00 35 04 06 00 06 B0 F9 F4 FA 0C EE 9F 50 59 C9 76 2A 68 [23:45:53]CheckFolder [23:45:53]dirname=/storage/ofd_packets [23:45:53]CheckFolder done [23:45:53]ProducePacketName [23:45:53]name=ofd_packets/00027093 [23:45:53]NVStorageSaveData ofd_packets/00027093 [23:45:53]File name is /storage/ofd_packets/00027093 [23:45:53]Write 319 bytes [23:45:53]NVStorageSaveData done [23:45:53]OFDSenderStorePacket done [23:45:53]KKMCreateOFDPacket done [23:45:53]NVStorageSaveData kkm_last_timestamp [23:45:53]File name is /storage/kkm_last_timestamp [23:45:53]Write 4 bytes [23:45:53]NVStorageSaveData done [23:45:53]ExternCall_PrintAddStr [23:45:53]wPrintStart [23:45:53]Write to MH i2c: 01 00 00 E3 09 EC [23:45:53]Write i2c OK [23:45:53]MH_I2C_Read... [23:45:53]Read from MH i2c: 01 [23:45:53]MH_I2C_Read... [23:45:53]Read from MH i2c: 01 07 00 [23:45:53]MH_I2C_Read... [23:45:53]Read from MH i2c: 01 07 00 E3 09 00 00 00 00 00 FF 0F 01 [23:45:53]RasterBufferAndPrint [23:45:53]line Счет N : (3)150491 [23:45:53]line ИНН: 02508201610067 [23:45:53]line Контрольно-Кассовый Чек [23:45:53]line ПРОДАЖА [23:45:53]line Товар: 4700000160358 [23:45:53]line Вода Легенда 1л [23:45:53]line 1.000 * 50.00 [23:45:53]line = 50.00 [23:45:53]line НДС 12% НСП 1% [23:45:53]line > о реализуемом товаре [23:45:53]line ИТОГО: 50.00 [23:45:53]line НСП 1% : 0.44 [23:45:53]line НДС 12% : 5.31 [23:45:53]line Наличными: 50.00 [23:45:53]line Безнал.: 0.00 [23:45:53]line Место: АЗС № 134 "Партнер Нефть" [23:45:53]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [23:45:53]line СНО: Общий режим [23:45:53]line Чек 71 28.07.2024 23:45 [23:45:53]line Смена: 433 ФФД: 1.0 [23:45:53]line ЗНМ: 0300000043 [23:45:53]line РНМ: 0000000000092663 [23:45:53]line Версия ККМ: 001 [23:45:53]line ФМ: 0000000000874937 [23:45:53]line ФД: 27093 [23:45:53]line ФПД: 7357177592332 [23:45:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T234554&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27093&fm=7357177592332&tin=02508201610067®Number=0000000000092663&sum=5000 [23:45:53]OFD Sender: Processing packet 27093 [packets to send 9, broken 8] [23:45:53]ProducePacketName [23:45:53]name=ofd_packets/00027093 [23:45:53]OFD Sender: To server: pG, [23:45:53]CommunicateWithHost lk.salyk.kg:30040 [23:45:53]ConnectInit lk.salyk.kg [23:45:53]line 0 [23:45:53]written 0, free lines is 4095 [23:45:53]Connected sock=10 [23:45:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 21 01 00 00 0A DB 19 01 FC 46 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 47 00 00 00 F4 03 04 00 32 D8 A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D5 69 00 00 35 04 06 00 06 B0 F9 F4 FA 0C EE 9F 50 59 C9 76 2A 68 [23:45:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 46 75 47 00 D5 5C 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 38 37 34 39 33 37 10 04 04 00 D5 69 00 00 F4 03 04 00 84 7E A6 66 B6 04 01 00 00 A9 BC 00 06 2A 78 ED 1E [23:45:53]CommunicateWithHost err = 0 [23:45:53]CheckOFDResponse [23:45:53]1017 (14) - 77093643461234 [23:45:53]1041 (16) - 0000000000874937 [23:45:53]1040 (4) - 27093 [23:45:53]1012 (4) - 28.07.2024 17:23 [23:45:53]1206 (1) - 0 [23:45:53]OFD Sender: Remove packet 27093 [23:45:53]ProducePacketName [23:45:53]name=ofd_packets/00027093 [23:45:53]NVStorageDeleteData [23:45:54]Write to MH i2c: 01 00 00 0A 0A 14 [23:45:54]Write i2c OK [23:45:54]MH_I2C_Read... [23:45:54]Read from MH i2c: 01 [23:45:54]MH_I2C_Read... [23:45:54]Read from MH i2c: 01 07 00 [23:45:54]MH_I2C_Read... [23:45:54]Read from MH i2c: 01 07 00 0A 0A 00 00 00 00 00 FA 0C 21 [23:45:54]RasterBufferAndPrint [23:45:54]line [23:45:54]line [23:45:54]line [23:45:54]line [23:45:54]line [23:45:54]written 0, free lines is 3328 [23:45:54]MH_Cut [23:45:54]Write to MH i2c: D1 01 00 11 0A 01 ED [23:45:54]Write i2c OK [23:45:54]MH_I2C_Read... [23:45:54]Read from MH i2c: D1 [23:45:54]MH_I2C_Read... [23:45:54]Read from MH i2c: D1 01 00 [23:45:54]MH_I2C_Read... [23:45:54]Read from MH i2c: D1 01 00 11 0A 00 EC [23:45:54]Write to MH i2c: 01 00 00 12 0A 1C [23:45:54]Write i2c OK [23:45:54]MH_I2C_Read... [23:45:54]OFD Sender: No OFD packet to send [23:45:54]*** Cut start [23:45:54]*** Partial cut [23:45:54]*** CUTSNS_PIN = 1 [23:45:54]*** CUTSNS_PIN = 0 [23:45:55]*** Brake cut motor [23:45:55]Read from MH i2c: 01 [23:45:55]MH_I2C_Read... [23:45:55]*** Stop cut motor [23:45:55]*** Cut end [23:45:55]Read from MH i2c: 01 07 00 [23:45:55]MH_I2C_Read... [23:45:55]Read from MH i2c: 01 07 00 12 0A 00 00 00 00 00 FF 0F 31 [23:45:55]process_action close_receipt done [23:45:55]requested_data is exist [23:45:55]produce_requested_data [23:45:55]requested_item fm.sn is exist - process it [23:45:55]wFMCommunicate request_size=4 [23:45:55]MH_SAM_APDU [23:45:55]CAPDU: 80 11 00 00 [23:45:55]Write to MH i2c: E2 08 00 13 0A 80 11 00 00 00 00 00 00 97 [23:45:55]Write i2c OK [23:45:55]MH_I2C_Read... [23:45:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:45:55]Read from MH i2c: E2 [23:45:55]MH_I2C_Read... [23:45:55]Read from MH i2c: E2 17 00 [23:45:55]MH_I2C_Read... [23:45:55]Read from MH i2c: E2 17 00 13 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 F0 [23:45:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [23:45:55]wFMCommunicate OK [23:45:55]requested_item fd.num is exist - process it [23:45:55]SAM_PROTO_GetFieldsCounters [23:45:55]wFMCommunicate request_size=4 [23:45:55]MH_SAM_APDU [23:45:55]CAPDU: 80 13 00 00 [23:45:55]Write to MH i2c: E2 08 00 14 0A 80 13 00 00 00 00 00 00 9A [23:45:55]Write i2c OK [23:45:55]MH_I2C_Read... [23:45:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:45:55]Read from MH i2c: E2 [23:45:55]MH_I2C_Read... [23:45:55]Read from MH i2c: E2 62 00 [23:45:55]MH_I2C_Read... [23:45:55]Read from MH i2c: E2 62 00 14 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D5 69 00 00 0E 04 04 00 B1 01 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 87 [23:45:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D5 69 00 00 0E 04 04 00 B1 01 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 [23:45:55]wFMCommunicate OK [23:45:55]SAM_PROTO_GetFieldsCounters done [23:45:55]requested_item shift.num is exist - process it [23:45:55]requested_item shift.opened is exist - process it [23:45:55]req_shift_opened [23:45:55]FM_GetShiftState [23:45:55]SAM_PROTO_GetShiftState [23:45:55]wFMCommunicate request_size=4 [23:45:55]MH_SAM_APDU [23:45:55]CAPDU: 80 13 01 00 [23:45:55]Write to MH i2c: E2 08 00 15 0A 80 13 01 00 00 00 00 00 9C [23:45:55]Write i2c OK [23:45:55]MH_I2C_Read... [23:45:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:45:55]Read from MH i2c: E2 [23:45:55]MH_I2C_Read... [23:45:55]Read from MH i2c: E2 0E 00 [23:45:55]MH_I2C_Read... [23:45:55]Read from MH i2c: E2 0E 00 15 0A 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 C4 [23:45:55]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [23:45:55]wFMCommunicate OK [23:45:55]SAM_PROTO_GetShiftState done [23:45:55]FM_GetShiftState done [23:45:55]req_shift_opened done [23:45:55]requested_item shift.open_date is exist - process it [23:45:55]req_shift_open_date [23:45:55]req_shift_open_date done [23:45:55]produce_requested_data done [23:45:55]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27093,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [23:45:55]process_action_free close_receipt [23:45:55]json_value_free [23:45:55]json_value_free done [23:45:55]process_json_proto returns [23:45:55]Send response to host [23:45:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27093,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [23:45:55]free response buf [23:45:55]execute_script done [23:45:55]execute_script returns [23:45:55]free content buf [23:45:55]Sock 9.Close socket [23:45:55]Sock 9.Thread stoped [23:45:59]OFD Sender: No OFD packet to send [23:46:04]OFD Sender: No OFD packet to send [23:46:09]OFD Sender: No OFD packet to send [23:46:14]OFD Sender: No OFD packet to send [23:46:19]OFD Sender: No OFD packet to send [23:46:24]OFD Sender: No OFD packet to send [23:46:29]OFD Sender: No OFD packet to send [23:46:34]OFD Sender: No OFD packet to send [23:46:39]OFD Sender: No OFD packet to send [23:46:44]OFD Sender: No OFD packet to send [23:46:49]OFD Sender: No OFD packet to send [23:46:54]OFD Sender: No OFD packet to send [23:46:59]OFD Sender: No OFD packet to send [23:47:04]OFD Sender: No OFD packet to send [23:47:09]OFD Sender: No OFD packet to send [23:47:14]OFD Sender: No OFD packet to send [23:47:19]OFD Sender: No OFD packet to send [23:47:24]OFD Sender: No OFD packet to send [23:47:29]OFD Sender: No OFD packet to send [23:47:34]OFD Sender: No OFD packet to send [23:47:39]OFD Sender: No OFD packet to send [23:47:44]OFD Sender: No OFD packet to send [23:47:49]OFD Sender: No OFD packet to send [23:47:54]OFD Sender: No OFD packet to send [23:47:59]OFD Sender: No OFD packet to send [23:48:04]OFD Sender: No OFD packet to send [23:48:09]OFD Sender: No OFD packet to send [23:48:14]OFD Sender: No OFD packet to send [23:48:19]OFD Sender: No OFD packet to send [23:48:24]OFD Sender: No OFD packet to send [23:48:29]OFD Sender: No OFD packet to send [23:48:34]OFD Sender: No OFD packet to send [23:48:39]OFD Sender: No OFD packet to send [23:48:44]OFD Sender: No OFD packet to send [23:48:49]OFD Sender: No OFD packet to send [23:48:54]OFD Sender: No OFD packet to send [23:48:59]OFD Sender: No OFD packet to send [23:49:04]OFD Sender: No OFD packet to send [23:49:09]OFD Sender: No OFD packet to send [23:49:14]OFD Sender: No OFD packet to send [23:49:19]OFD Sender: No OFD packet to send [23:49:24]OFD Sender: No OFD packet to send [23:49:29]OFD Sender: No OFD packet to send [23:49:34]OFD Sender: No OFD packet to send [23:49:39]OFD Sender: No OFD packet to send [23:49:44]OFD Sender: No OFD packet to send [23:49:49]OFD Sender: No OFD packet to send [23:49:54]OFD Sender: No OFD packet to send [23:49:59]OFD Sender: No OFD packet to send [23:50:04]OFD Sender: No OFD packet to send [23:50:09]OFD Sender: No OFD packet to send [23:50:14]OFD Sender: No OFD packet to send [23:50:19]OFD Sender: No OFD packet to send [23:50:24]OFD Sender: No OFD packet to send [23:50:29]OFD Sender: No OFD packet to send [23:50:34]OFD Sender: No OFD packet to send [23:50:39]OFD Sender: No OFD packet to send [23:50:44]OFD Sender: No OFD packet to send [23:50:49]OFD Sender: No OFD packet to send [23:50:54]OFD Sender: No OFD packet to send [23:50:59]OFD Sender: No OFD packet to send [23:51:04]OFD Sender: No OFD packet to send [23:51:09]OFD Sender: No OFD packet to send [23:51:14]OFD Sender: No OFD packet to send [23:51:19]OFD Sender: No OFD packet to send [23:51:24]OFD Sender: No OFD packet to send [23:51:29]OFD Sender: No OFD packet to send [23:51:34]OFD Sender: No OFD packet to send [23:51:39]OFD Sender: No OFD packet to send [23:51:44]OFD Sender: No OFD packet to send [23:51:49]OFD Sender: No OFD packet to send [23:51:54]OFD Sender: No OFD packet to send [23:51:59]OFD Sender: No OFD packet to send [23:52:04]OFD Sender: No OFD packet to send [23:52:09]OFD Sender: No OFD packet to send [23:52:14]OFD Sender: No OFD packet to send [23:52:19]OFD Sender: No OFD packet to send [23:52:24]OFD Sender: No OFD packet to send [23:52:29]OFD Sender: No OFD packet to send [23:52:34]OFD Sender: No OFD packet to send [23:52:39]OFD Sender: No OFD packet to send [23:52:44]OFD Sender: No OFD packet to send [23:52:49]OFD Sender: No OFD packet to send [23:52:54]OFD Sender: No OFD packet to send [23:52:59]OFD Sender: No OFD packet to send [23:53:04]OFD Sender: No OFD packet to send [23:53:09]OFD Sender: No OFD packet to send [23:53:14]OFD Sender: No OFD packet to send [23:53:19]OFD Sender: No OFD packet to send [23:53:24]OFD Sender: No OFD packet to send [23:53:29]OFD Sender: No OFD packet to send [23:53:34]OFD Sender: No OFD packet to send [23:53:39]OFD Sender: No OFD packet to send [23:53:44]OFD Sender: No OFD packet to send [23:53:49]OFD Sender: No OFD packet to send [23:53:54]OFD Sender: No OFD packet to send [23:53:59]OFD Sender: No OFD packet to send [23:54:04]OFD Sender: No OFD packet to send [23:54:09]OFD Sender: No OFD packet to send [23:54:14]OFD Sender: No OFD packet to send [23:54:19]OFD Sender: No OFD packet to send [23:54:24]OFD Sender: No OFD packet to send [23:54:29]OFD Sender: No OFD packet to send [23:54:34]OFD Sender: No OFD packet to send [23:54:39]OFD Sender: No OFD packet to send [23:54:44]OFD Sender: No OFD packet to send [23:54:49]OFD Sender: No OFD packet to send [23:54:54]OFD Sender: No OFD packet to send [23:54:59]OFD Sender: No OFD packet to send [23:55:04]OFD Sender: No OFD packet to send [23:55:07]accept exits with 8 [23:55:07]New connection [23:55:07]New thread 3066928484 created [23:55:07]Thread 3066785124 joined [23:55:07]Waiting for new connection... [23:55:07] Sock 8.Parse request [23:55:07]Sock 8.Check first char [23:55:07]Sock 8.First char is OK [23:55:07]request: POST /json_proto HTTP/1.0 [23:55:07]Method: POST [23:55:07]URL: /json_proto [23:55:07]Method is POST - this is cgi request [23:55:07]url: /json_proto [23:55:07]query_string will be loaded in cgi processing [23:55:07]execute_cgi json_proto POST (null) [23:55:07]execute_cgi path=json_proto method=POST [23:55:07]POST find Content-Length [23:55:07]Host: 172.17.45.8:8080 [23:55:07]Content-Length: 996 [23:55:07]Content-Type: application/json [23:55:07] [23:55:07]POST finish read [23:55:07]Found Content-Length = 996 [23:55:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150492", "tax_sys" : 0, "items" : [ { "code": "4870235681376", "name": "\u0427\u0418\u041F\u0421\u042B SLANG \u0421\u041E \u0412\u041A\u0423\u0421\u041E\u041C \u041A\u0420\u0410\u0411 60\u0413", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600080322137", "name": "\u0412\u0430\u0444 \u041A\u043E\u0440\u043E\u0432\u043A\u0430 \u0441 \u0448\u043E\u043A \u043D\u0430\u0447\u0438\u043D\u043A\u043E\u0439 150\u0433", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:55:07]execute_script... [23:55: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)150492", "tax_sys" : 0, "items" : [ { "code": "4870235681376", "name": "\u0427\u0418\u041F\u0421\u042B SLANG \u0421\u041E \u0412\u041A\u0423\u0421\u041E\u041C \u041A\u0420\u0410\u0411 60\u0413", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600080322137", "name": "\u0412\u0430\u0444 \u041A\u043E\u0440\u043E\u0432\u043A\u0430 \u0441 \u0448\u043E\u043A \u043D\u0430\u0447\u0438\u043D\u043A\u043E\u0439 150\u0433", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:55:07]POST & json_proto [23:55:07]process_json_proto [23:55:07]json parsed OK: [23:55:07]protocol is kg_v1.0 [23:55:07]action value=close_receipt [23:55:07]process_action close_receipt [23:55:07]cmd_close_receipt [23:55:07]MH_GetDate [23:55:07]Write to MH i2c: F0 00 00 16 0A 0F [23:55:07]Write i2c OK [23:55:07]MH_I2C_Read... [23:55:07]Read from MH i2c: F0 [23:55:07]MH_I2C_Read... [23:55:07]Read from MH i2c: F0 09 00 [23:55:07]MH_I2C_Read... [23:55:07]Read from MH i2c: F0 09 00 16 0A 00 5E DA A6 66 A6 1F 7F 64 04 [23:55:07]GetLastDocTimeStamp 1722210354 [23:55:07]current date 1722210910 [23:55:07]FM_GetShiftState [23:55:07]SAM_PROTO_GetShiftState [23:55:07]wFMCommunicate request_size=4 [23:55:07]MH_SAM_APDU [23:55:07]CAPDU: 80 13 01 00 [23:55:07]Write to MH i2c: E2 08 00 17 0A 80 13 01 00 00 00 00 00 9E [23:55:07]Write i2c OK [23:55:07]MH_I2C_Read... [23:55:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:07]Read from MH i2c: E2 [23:55:07]MH_I2C_Read... [23:55:07]Read from MH i2c: E2 0E 00 [23:55:07]MH_I2C_Read... [23:55:07]Read from MH i2c: E2 0E 00 17 0A 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 C6 [23:55:07]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [23:55:07]wFMCommunicate OK [23:55:07]SAM_PROTO_GetShiftState done [23:55:07]FM_GetShiftState done [23:55:07]opened in 1722127230 [23:55:07]opened+sec_in_day 1722213630 [23:55:07]quantity*price = 9500 [23:55:07]sum+1 = 9501 [23:55:07]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600080322137 Ваф Коровка с шок начинкой 150г 1.000 * 115.00 = 115.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 210.00 НСП 1% : 1.86 НДС 12% : 22.30 Наличными: 210.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 72 28.07.2024 23:55 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27094 ФПД: 201672170209693 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T235510&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27094&fm=201672170209693&tin=02508201610067®Number=0000000000092663&sum=21000 0 [23:55:08]StoreToDocumentArchive [23:55:08]shift 433 fd 27094 [23:55:08]save to /storage/0433/doc_00027094 [23:55:08]save last doc name /storage/0433/doc_00027094 to /storage/kkm_last_doc_name [23:55:08]save OK [23:55:08]Clear old archive folders... [23:55:08]ProcessDocumentItem done err = 0, tmpTLVsize=416 [23:55:08]tlvbuf is 0019CE90 [23:55:08]SAM_PROTO_ClearQueue [23:55:08]wFMCommunicate request_size=4 [23:55:08]MH_SAM_APDU [23:55:08]CAPDU: 80 09 00 00 [23:55:08]Write to MH i2c: E2 08 00 24 0A 80 09 00 00 00 00 00 00 A0 [23:55:08]Write i2c OK [23:55:08]MH_I2C_Read... [23:55:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:55:09]Read from MH i2c: E2 [23:55:09]MH_I2C_Read... [23:55:09]Read from MH i2c: E2 03 00 [23:55:09]MH_I2C_Read... [23:55:09]Read from MH i2c: E2 03 00 24 0A 00 90 00 A2 [23:55:09]RAPDU: 90 00 [23:55:09]wFMCommunicate OK [23:55:09]SAM_PROTO_ClearQueue done [23:55:09]KKMCreateOFDPacket [23:55:09]OFDProtocolAddRootSTLVToBuf [23:55:09]FM_MakeSignedData [23:55:09]FM_MakeSignedData [23:55:09]SAM_PROTO_SignData [23:55:09]wFMCommunicate request_size=4 [23:55:09]MH_SAM_APDU [23:55:09]CAPDU: 80 0D 01 02 [23:55:09]Write to MH i2c: E2 08 00 25 0A 80 0D 01 02 00 00 00 00 A8 [23:55:09]Write i2c OK [23:55:09]MH_I2C_Read... [23:55:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:55:09]Read from MH i2c: E2 [23:55:09]MH_I2C_Read... [23:55:09]Read from MH i2c: E2 03 00 [23:55:09]MH_I2C_Read... [23:55:09]Read from MH i2c: E2 03 00 25 0A 00 90 00 A3 [23:55:09]RAPDU: 90 00 [23:55:09]wFMCommunicate OK [23:55:09]wFMCommunicate request_size=255 [23:55:09]MH_SAM_APDU [23:55:09]CAPDU: 80 0D 02 02 FA 03 00 A0 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 37 36 06 04 30 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 9A D0 A0 D0 90 D0 91 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 23 04 7A 00 8A 04 0D 00 34 36 30 30 30 38 30 33 32 32 31 33 37 06 04 36 00 D0 92 D0 B0 D1 84 20 D0 9A D0 BE D1 80 D0 BE D0 B2 D0 BA D0 B0 20 D1 81 20 D1 88 D0 BE D0 BA 20 D0 BD D0 B0 D1 87 D0 B8 D0 BD D0 BA D0 BE D0 B9 20 31 35 30 D0 B3 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 [23:55:09]Write to MH i2c: E2 02 01 26 0A 80 0D 02 02 FA 00 03 00 A0 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 37 36 06 04 30 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 9A D0 A0 D0 90 D0 91 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 23 04 7A 00 8A 04 0D 00 34 36 30 30 30 38 30 33 32 32 31 33 37 06 04 36 00 D0 92 D0 B0 D1 84 20 D0 9A D0 BE D1 80 D0 BE D0 B2 D0 BA D0 B0 20 D1 81 20 D1 88 D0 BE D0 BA 20 D0 BD D0 B0 D1 87 D0 B8 D0 BD D0 BA D0 BE D0 B9 20 31 35 30 D0 B3 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 00 00 E4 [23:55:09]Write i2c OK [23:55:09]MH_I2C_Read... [23:55:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:09]Read from MH i2c: E2 [23:55:09]MH_I2C_Read... [23:55:09]Read from MH i2c: E2 03 00 [23:55:09]MH_I2C_Read... [23:55:09]Read from MH i2c: E2 03 00 26 0A 00 90 00 A4 [23:55:09]RAPDU: 90 00 [23:55:09]wFMCommunicate OK [23:55:09]wFMCommunicate request_size=175 [23:55:09]MH_SAM_APDU [23:55:09]CAPDU: 80 0D 02 02 AA BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 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 5E DA A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D6 69 00 00 35 04 06 00 B7 6B 76 11 01 9D [23:55:09]Write to MH i2c: E2 B2 00 27 0A 80 0D 02 02 AA 00 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 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 5E DA A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D6 69 00 00 35 04 06 00 B7 6B 76 11 01 9D 00 00 FA [23:55:09]Write i2c OK [23:55:09]MH_I2C_Read... [23:55:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:55:09]Read from MH i2c: E2 [23:55:09]MH_I2C_Read... [23:55:09]Read from MH i2c: E2 03 00 [23:55:09]MH_I2C_Read... [23:55:09]Read from MH i2c: E2 03 00 27 0A 00 90 00 A5 [23:55:09]RAPDU: 90 00 [23:55:09]wFMCommunicate OK [23:55:09]wFMCommunicate request_size=4 [23:55:09]MH_SAM_APDU [23:55:09]CAPDU: 80 0D 03 02 [23:55:09]Write to MH i2c: E2 08 00 28 0A 80 0D 03 02 00 00 00 00 AD [23:55:09]Write i2c OK [23:55:09]MH_I2C_Read... [23:55:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:55:09]Read from MH i2c: E2 [23:55:09]MH_I2C_Read... [23:55:09]Read from MH i2c: E2 0B 00 [23:55:09]MH_I2C_Read... [23:55:09]Read from MH i2c: E2 0B 00 28 0A 00 4C 68 70 0E 0D 2D 1D CA 90 00 01 [23:55:09]RAPDU: 4C 68 70 0E 0D 2D 1D CA 90 00 [23:55:09]wFMCommunicate OK [23:55:09]SAM_PROTO_SignData done [23:55:09]FM_MakeSignedData done [23:55:09]CreateOFDProtocolMessage [23:55:09]wFMCommunicate request_size=4 [23:55:09]MH_SAM_APDU [23:55:09]CAPDU: 80 11 00 00 [23:55:09]Write to MH i2c: E2 08 00 29 0A 80 11 00 00 00 00 00 00 AD [23:55:09]Write i2c OK [23:55:09]MH_I2C_Read... [23:55:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:55:09]Read from MH i2c: E2 [23:55:09]MH_I2C_Read... [23:55:09]Read from MH i2c: E2 17 00 [23:55:09]MH_I2C_Read... [23:55:09]Read from MH i2c: E2 17 00 29 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 06 [23:55:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [23:55:09]wFMCommunicate OK [23:55:09]CreateOFDProtocolMessage done [23:55:09]OFDSenderStorePacket 27094 [23:55:09]StoreOFDPacket docnum=27094 [23:55:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 B4 01 00 00 57 E0 AC 01 23 2A 5A 03 01 00 03 00 A0 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 37 36 06 04 30 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 9A D0 A0 D0 90 D0 91 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 23 04 7A 00 8A 04 0D 00 34 36 30 30 30 38 30 33 32 32 31 33 37 06 04 36 00 D0 92 D0 B0 D1 84 20 D0 9A D0 BE D1 80 D0 BE D0 B2 D0 BA D0 B0 20 D1 81 20 D1 88 D0 BE D0 BA 20 D0 BD D0 B0 D1 87 D0 B8 D0 BD D0 BA D0 BE D0 B9 20 31 35 30 D0 B3 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 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 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 5E DA A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D6 69 00 00 35 04 06 00 B7 6B 76 11 01 9D 4C 68 70 0E 0D 2D 1D CA [23:55:09]CheckFolder [23:55:09]dirname=/storage/ofd_packets [23:55:09]CheckFolder done [23:55:09]ProducePacketName [23:55:09]name=ofd_packets/00027094 [23:55:09]NVStorageSaveData ofd_packets/00027094 [23:55:09]File name is /storage/ofd_packets/00027094 [23:55:09]Write 466 bytes [23:55:09]NVStorageSaveData done [23:55:09]OFDSenderStorePacket done [23:55:09]KKMCreateOFDPacket done [23:55:09]NVStorageSaveData kkm_last_timestamp [23:55:09]File name is /storage/kkm_last_timestamp [23:55:09]Write 4 bytes [23:55:09]NVStorageSaveData done [23:55:09]ExternCall_PrintAddStr [23:55:09]wPrintStart [23:55:09]Write to MH i2c: 01 00 00 2A 0A 34 [23:55:09]Write i2c OK [23:55:09]MH_I2C_Read... [23:55:09]OFD Sender: Processing packet 27094 [packets to send 9, broken 8] [23:55:09]Read from MH i2c: ProducePacketName [23:55:09]01 name=ofd_packets/00027094 [23:55:09] [23:55:09]MH_I2C_Read... [23:55:09]OFD Sender: To server: pG, [23:55:09]Read from MH i2c: CommunicateWithHost lk.salyk.kg:30040 [23:55:09]01 ConnectInit lk.salyk.kg [23:55:09]07 00 [23:55:09]MH_I2C_Read... [23:55:09]Read from MH i2c: 01 07 00 2A 0A 00 00 00 00 00 FF 0F 49 [23:55:09]RasterBufferAndPrint [23:55:09]line Счет N : (3)150492 [23:55:09]line ИНН: 02508201610067 [23:55:09]line Контрольно-Кассовый Чек [23:55:09]line ПРОДАЖА [23:55:09]line Товар: 4870235681376 [23:55:09]line ЧИПСЫ SLANG СО ВКУСОМ КРАБ 60Г [23:55:09]line 1.000 * 95.00 [23:55:09]line = 95.00 [23:55:09]line НДС 12% НСП 1% [23:55:09]line > о реализуемом товаре [23:55:09]line Товар: 4600080322137 [23:55:09]line Ваф Коровка с шок начинкой 150г [23:55:09]line 1.000 * 115.00 [23:55:09]line = 115.00 [23:55:09]line НДС 12% НСП 1% [23:55:09]line > о реализуемом товаре [23:55:10]line ИТОГО: 210.00 [23:55:10]line НСП 1% : 1.86 [23:55:10]line НДС 12% : 22.30 [23:55:10]line Наличными: 210.00 [23:55:10]line Безнал.: 0.00 [23:55:10]line Место: АЗС № 134 "Партнер Нефть" [23:55:10]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [23:55:10]line СНО: Общий режим [23:55:10]line Чек 72 28.07.2024 23:55 [23:55:10]line Смена: 433 ФФД: 1.0 [23:55:10]line ЗНМ: 0300000043 [23:55:10]line РНМ: 0000000000092663 [23:55:10]line Версия ККМ: 001 [23:55:10]line ФМ: 0000000000874937 [23:55:10]line ФД: 27094 [23:55:10]line ФПД: 201672170209693 [23:55:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240728T235510&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27094&fm=201672170209693&tin=02508201610067®Number=0000000000092663&sum=21000 [23:55:10]line 0 [23:55:10]written 0, free lines is 4095 [23:55:10]Connected sock=10 [23:55:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 B4 01 00 00 57 E0 AC 01 23 2A 5A 03 01 00 03 00 A0 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 33 37 36 06 04 30 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 9A D0 A0 D0 90 D0 91 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 23 04 7A 00 8A 04 0D 00 34 36 30 30 30 38 30 33 32 32 31 33 37 06 04 36 00 D0 92 D0 B0 D1 84 20 D0 9A D0 BE D1 80 D0 BE D0 B2 D0 BA D0 B0 20 D1 81 20 D1 88 D0 BE D0 BA 20 D0 BD D0 B0 D1 87 D0 B8 D0 BD D0 BA D0 BE D0 B9 20 31 35 30 D0 B3 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 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 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 5E DA A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D6 69 00 00 35 04 06 00 B7 6B 76 11 01 9D 4C 68 70 0E 0D 2D 1D CA [23:55:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 4E B1 47 00 72 F0 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 38 37 34 39 33 37 10 04 04 00 D6 69 00 00 F4 03 04 00 B1 80 A6 66 B6 04 01 00 00 60 4C 02 BC 21 4E A5 92 [23:55:10]CommunicateWithHost err = 0 [23:55:10]CheckOFDResponse [23:55:10]1017 (14) - 77093643461234 [23:55:10]1041 (16) - 0000000000874937 [23:55:10]1040 (4) - 27094 [23:55:10]1012 (4) - 28.07.2024 17:32 [23:55:10]1206 (1) - 0 [23:55:10]OFD Sender: Remove packet 27094 [23:55:10]ProducePacketName [23:55:10]name=ofd_packets/00027094 [23:55:10]NVStorageDeleteData [23:55:10]Write to MH i2c: 01 00 00 59 0A 63 [23:55:10]Write i2c OK [23:55:10]MH_I2C_Read... [23:55:10]Read from MH i2c: 01 [23:55:10]MH_I2C_Read... [23:55:10]Read from MH i2c: 01 07 00 [23:55:10]MH_I2C_Read... [23:55:10]Read from MH i2c: 01 07 00 59 0A 00 00 00 00 00 6C 0C E2 [23:55:10]RasterBufferAndPrint [23:55:10]line [23:55:10]line [23:55:10]line [23:55:10]line [23:55:10]line [23:55:10]written 0, free lines is 3189 [23:55:10]MH_Cut [23:55:10]Write to MH i2c: D1 01 00 60 0A 01 3C [23:55:10]Write i2c OK [23:55:10]MH_I2C_Read... [23:55:10]Read from MH i2c: D1 [23:55:10]MH_I2C_Read... [23:55:10]Read from MH i2c: D1 01 00 [23:55:10]MH_I2C_Read... [23:55:10]Read from MH i2c: D1 01 00 60 0A 00 3B [23:55:10]Write to MH i2c: 01 00 00 61 0A 6B [23:55:10]Write i2c OK [23:55:10]MH_I2C_Read... [23:55:10]OFD Sender: No OFD packet to send [23:55:11]*** Cut start [23:55:11]*** Partial cut [23:55:11]*** CUTSNS_PIN = 1 [23:55:11]*** CUTSNS_PIN = 0 [23:55:11]*** Brake cut motor [23:55:11]Read from MH i2c: 01 [23:55:11]MH_I2C_Read... [23:55:11]*** Stop cut motor [23:55:11]*** Cut end [23:55:11]Read from MH i2c: 01 07 00 [23:55:11]MH_I2C_Read... [23:55:11]Read from MH i2c: 01 07 00 61 0A 00 00 00 00 00 FF 0F 80 [23:55:11]process_action close_receipt done [23:55:11]requested_data is exist [23:55:11]produce_requested_data [23:55:11]requested_item fm.sn is exist - process it [23:55:11]wFMCommunicate request_size=4 [23:55:11]MH_SAM_APDU [23:55:11]CAPDU: 80 11 00 00 [23:55:11]Write to MH i2c: E2 08 00 62 0A 80 11 00 00 00 00 00 00 E6 [23:55:11]Write i2c OK [23:55:11]MH_I2C_Read... [23:55:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:55:11]Read from MH i2c: E2 [23:55:11]MH_I2C_Read... [23:55:11]Read from MH i2c: E2 17 00 [23:55:11]MH_I2C_Read... [23:55:11]Read from MH i2c: E2 17 00 62 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 3F [23:55:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [23:55:12]wFMCommunicate OK [23:55:12]requested_item fd.num is exist - process it [23:55:12]SAM_PROTO_GetFieldsCounters [23:55:12]wFMCommunicate request_size=4 [23:55:12]MH_SAM_APDU [23:55:12]CAPDU: 80 13 00 00 [23:55:12]Write to MH i2c: E2 08 00 63 0A 80 13 00 00 00 00 00 00 E9 [23:55:12]Write i2c OK [23:55:12]MH_I2C_Read... [23:55:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:55:12]Read from MH i2c: E2 [23:55:12]MH_I2C_Read... [23:55:12]Read from MH i2c: E2 62 00 [23:55:12]MH_I2C_Read... [23:55:12]Read from MH i2c: E2 62 00 63 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D6 69 00 00 0E 04 04 00 B1 01 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 DA [23:55:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D6 69 00 00 0E 04 04 00 B1 01 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 [23:55:12]wFMCommunicate OK [23:55:12]SAM_PROTO_GetFieldsCounters done [23:55:12]requested_item shift.num is exist - process it [23:55:12]requested_item shift.opened is exist - process it [23:55:12]req_shift_opened [23:55:12]FM_GetShiftState [23:55:12]SAM_PROTO_GetShiftState [23:55:12]wFMCommunicate request_size=4 [23:55:12]MH_SAM_APDU [23:55:12]CAPDU: 80 13 01 00 [23:55:12]Write to MH i2c: E2 08 00 64 0A 80 13 01 00 00 00 00 00 EB [23:55:12]Write i2c OK [23:55:12]MH_I2C_Read... [23:55:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:55:12]Read from MH i2c: E2 [23:55:12]MH_I2C_Read... [23:55:12]Read from MH i2c: E2 0E 00 [23:55:12]MH_I2C_Read... [23:55:12]Read from MH i2c: E2 0E 00 64 0A 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 13 [23:55:12]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [23:55:12]wFMCommunicate OK [23:55:12]SAM_PROTO_GetShiftState done [23:55:12]FM_GetShiftState done [23:55:12]req_shift_opened done [23:55:12]requested_item shift.open_date is exist - process it [23:55:12]req_shift_open_date [23:55:12]req_shift_open_date done [23:55:12]produce_requested_data done [23:55:12]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27094,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [23:55:12]process_action_free close_receipt [23:55:12]json_value_free [23:55:12]json_value_free done [23:55:12]process_json_proto returns [23:55:12]Send response to host [23:55:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27094,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [23:55:12]free response buf [23:55:12]execute_script done [23:55:12]execute_script returns [23:55:12]free content buf [23:55:12]Sock 8.Close socket [23:55:12]Sock 8.Thread stoped [23:55:15]OFD Sender: No OFD packet to send [23:55:20]OFD Sender: No OFD packet to send [23:55:25]OFD Sender: No OFD packet to send [23:55:30]OFD Sender: No OFD packet to send [23:55:35]OFD Sender: No OFD packet to send [23:55:40]OFD Sender: No OFD packet to send [23:55:45]OFD Sender: No OFD packet to send [23:55:50]OFD Sender: No OFD packet to send [23:55:55]OFD Sender: No OFD packet to send [23:56:00]OFD Sender: No OFD packet to send [23:56:05]OFD Sender: No OFD packet to send [23:56:10]OFD Sender: No OFD packet to send [23:56:15]OFD Sender: No OFD packet to send [23:56:20]OFD Sender: No OFD packet to send [23:56:25]OFD Sender: No OFD packet to send [23:56:30]OFD Sender: No OFD packet to send [23:56:35]OFD Sender: No OFD packet to send [23:56:40]OFD Sender: No OFD packet to send [23:56:45]OFD Sender: No OFD packet to send [23:56:50]OFD Sender: No OFD packet to send [23:56:55]OFD Sender: No OFD packet to send [23:57:00]OFD Sender: No OFD packet to send [23:57:05]OFD Sender: No OFD packet to send [23:57:10]OFD Sender: No OFD packet to send [23:57:15]OFD Sender: No OFD packet to send [23:57:20]OFD Sender: No OFD packet to send [23:57:25]OFD Sender: No OFD packet to send [23:57:30]OFD Sender: No OFD packet to send [23:57:35]OFD Sender: No OFD packet to send [23:57:40]OFD Sender: No OFD packet to send [23:57:45]OFD Sender: No OFD packet to send [23:57:50]OFD Sender: No OFD packet to send [23:57:55]OFD Sender: No OFD packet to send [23:58:00]OFD Sender: No OFD packet to send [23:58:05]OFD Sender: No OFD packet to send [23:58:10]OFD Sender: No OFD packet to send [23:58:15]OFD Sender: No OFD packet to send [23:58:20]OFD Sender: No OFD packet to send [23:58:25]OFD Sender: No OFD packet to send [23:58:30]OFD Sender: No OFD packet to send [23:58:35]OFD Sender: No OFD packet to send [23:58:40]OFD Sender: No OFD packet to send [23:58:45]OFD Sender: No OFD packet to send [23:58:50]OFD Sender: No OFD packet to send [23:58:55]OFD Sender: No OFD packet to send [23:59:00]OFD Sender: No OFD packet to send [23:59:05]OFD Sender: No OFD packet to send [23:59:10]OFD Sender: No OFD packet to send [23:59:15]OFD Sender: No OFD packet to send [23:59:20]OFD Sender: No OFD packet to send [23:59:26]OFD Sender: No OFD packet to send [23:59:31]OFD Sender: No OFD packet to send [23:59:36]OFD Sender: No OFD packet to send [23:59:41]OFD Sender: No OFD packet to send [23:59:46]OFD Sender: No OFD packet to send [23:59:51]OFD Sender: No OFD packet to send [23:59:56]OFD Sender: No OFD packet to send [00:00:01]OFD Sender: No OFD packet to send [00:00:06]OFD Sender: No OFD packet to send [00:00:11]OFD Sender: No OFD packet to send [00:00:16]OFD Sender: No OFD packet to send [00:00:21]OFD Sender: No OFD packet to send [00:00:26]OFD Sender: No OFD packet to send [00:00:31]OFD Sender: No OFD packet to send [00:00:36]OFD Sender: No OFD packet to send [00:00:41]OFD Sender: No OFD packet to send [00:00:46]OFD Sender: No OFD packet to send [00:00:51]OFD Sender: No OFD packet to send [00:00:56]OFD Sender: No OFD packet to send [00:01:01]OFD Sender: No OFD packet to send [00:01:06]OFD Sender: No OFD packet to send [00:01:11]OFD Sender: No OFD packet to send [00:01:16]OFD Sender: No OFD packet to send [00:01:21]OFD Sender: No OFD packet to send [00:01:26]OFD Sender: No OFD packet to send [00:01:31]OFD Sender: No OFD packet to send [00:01:36]OFD Sender: No OFD packet to send [00:01:41]OFD Sender: No OFD packet to send [00:01:46]OFD Sender: No OFD packet to send [00:01:51]OFD Sender: No OFD packet to send [00:01:56]OFD Sender: No OFD packet to send [00:02:01]OFD Sender: No OFD packet to send [00:02:06]OFD Sender: No OFD packet to send [00:02:11]OFD Sender: No OFD packet to send [00:02:16]OFD Sender: No OFD packet to send [00:02:21]OFD Sender: No OFD packet to send [00:02:26]OFD Sender: No OFD packet to send [00:02:31]OFD Sender: No OFD packet to send [00:02:36]OFD Sender: No OFD packet to send [00:02:41]OFD Sender: No OFD packet to send [00:02:46]OFD Sender: No OFD packet to send [00:02:51]OFD Sender: No OFD packet to send [00:02:56]OFD Sender: No OFD packet to send [00:03:01]OFD Sender: No OFD packet to send [00:03:06]OFD Sender: No OFD packet to send [00:03:11]OFD Sender: No OFD packet to send [00:03:16]OFD Sender: No OFD packet to send [00:03:21]OFD Sender: No OFD packet to send [00:03:26]OFD Sender: No OFD packet to send [00:03:31]OFD Sender: No OFD packet to send [00:03:36]OFD Sender: No OFD packet to send [00:03:41]OFD Sender: No OFD packet to send [00:03:46]OFD Sender: No OFD packet to send [00:03:51]OFD Sender: No OFD packet to send [00:03:56]OFD Sender: No OFD packet to send [00:04:01]OFD Sender: No OFD packet to send [00:04:06]OFD Sender: No OFD packet to send [00:04:11]OFD Sender: No OFD packet to send [00:04:16]OFD Sender: No OFD packet to send [00:04:21]OFD Sender: No OFD packet to send [00:04:26]OFD Sender: No OFD packet to send [00:04:31]OFD Sender: No OFD packet to send [00:04:36]OFD Sender: No OFD packet to send [00:04:41]OFD Sender: No OFD packet to send [00:04:46]OFD Sender: No OFD packet to send [00:04:51]OFD Sender: No OFD packet to send [00:04:56]OFD Sender: No OFD packet to send [00:05:01]OFD Sender: No OFD packet to send [00:05:06]OFD Sender: No OFD packet to send [00:05:11]OFD Sender: No OFD packet to send [00:05:16]OFD Sender: No OFD packet to send [00:05:21]OFD Sender: No OFD packet to send [00:05:26]OFD Sender: No OFD packet to send [00:05:31]OFD Sender: No OFD packet to send [00:05:36]OFD Sender: No OFD packet to send [00:05:41]OFD Sender: No OFD packet to send [00:05:46]OFD Sender: No OFD packet to send [00:05:51]OFD Sender: No OFD packet to send [00:05:56]OFD Sender: No OFD packet to send [00:06:01]OFD Sender: No OFD packet to send [00:06:06]OFD Sender: No OFD packet to send [00:06:11]OFD Sender: No OFD packet to send [00:06:16]OFD Sender: No OFD packet to send [00:06:21]OFD Sender: No OFD packet to send [00:06:26]OFD Sender: No OFD packet to send [00:06:31]OFD Sender: No OFD packet to send [00:06:36]OFD Sender: No OFD packet to send [00:06:41]OFD Sender: No OFD packet to send [00:06:46]OFD Sender: No OFD packet to send [00:06:51]OFD Sender: No OFD packet to send [00:06:56]OFD Sender: No OFD packet to send [00:07:01]OFD Sender: No OFD packet to send [00:07:06]OFD Sender: No OFD packet to send [00:07:11]OFD Sender: No OFD packet to send [00:07:16]OFD Sender: No OFD packet to send [00:07:21]OFD Sender: No OFD packet to send [00:07:26]OFD Sender: No OFD packet to send [00:07:31]OFD Sender: No OFD packet to send [00:07:36]OFD Sender: No OFD packet to send [00:07:41]OFD Sender: No OFD packet to send [00:07:46]OFD Sender: No OFD packet to send [00:07:51]OFD Sender: No OFD packet to send [00:07:56]OFD Sender: No OFD packet to send [00:08:01]OFD Sender: No OFD packet to send [00:08:06]OFD Sender: No OFD packet to send [00:08:11]OFD Sender: No OFD packet to send [00:08:16]OFD Sender: No OFD packet to send [00:08:21]OFD Sender: No OFD packet to send [00:08:26]OFD Sender: No OFD packet to send [00:08:31]OFD Sender: No OFD packet to send [00:08:36]OFD Sender: No OFD packet to send [00:08:41]OFD Sender: No OFD packet to send [00:08:46]OFD Sender: No OFD packet to send [00:08:51]OFD Sender: No OFD packet to send [00:08:56]OFD Sender: No OFD packet to send [00:09:01]OFD Sender: No OFD packet to send [00:09:06]OFD Sender: No OFD packet to send [00:09:11]OFD Sender: No OFD packet to send [00:09:16]OFD Sender: No OFD packet to send [00:09:21]OFD Sender: No OFD packet to send [00:09:26]OFD Sender: No OFD packet to send [00:09:31]OFD Sender: No OFD packet to send [00:09:36]OFD Sender: No OFD packet to send [00:09:41]OFD Sender: No OFD packet to send [00:09:46]OFD Sender: No OFD packet to send [00:09:51]OFD Sender: No OFD packet to send [00:09:56]OFD Sender: No OFD packet to send [00:10:01]OFD Sender: No OFD packet to send [00:10:06]OFD Sender: No OFD packet to send [00:10:11]OFD Sender: No OFD packet to send [00:10:16]OFD Sender: No OFD packet to send [00:10:21]OFD Sender: No OFD packet to send [00:10:26]OFD Sender: No OFD packet to send [00:10:31]OFD Sender: No OFD packet to send [00:10:36]OFD Sender: No OFD packet to send [00:10:41]OFD Sender: No OFD packet to send [00:10:46]OFD Sender: No OFD packet to send [00:10:51]OFD Sender: No OFD packet to send [00:10:56]OFD Sender: No OFD packet to send [00:11:01]OFD Sender: No OFD packet to send [00:11:06]OFD Sender: No OFD packet to send [00:11:11]OFD Sender: No OFD packet to send [00:11:16]OFD Sender: No OFD packet to send [00:11:21]OFD Sender: No OFD packet to send [00:11:26]OFD Sender: No OFD packet to send [00:11:31]OFD Sender: No OFD packet to send [00:11:36]OFD Sender: No OFD packet to send [00:11:41]OFD Sender: No OFD packet to send [00:11:46]OFD Sender: No OFD packet to send [00:11:51]OFD Sender: No OFD packet to send [00:11:56]OFD Sender: No OFD packet to send [00:12:01]OFD Sender: No OFD packet to send [00:12:06]OFD Sender: No OFD packet to send [00:12:11]OFD Sender: No OFD packet to send [00:12:16]OFD Sender: No OFD packet to send [00:12:21]OFD Sender: No OFD packet to send [00:12:26]OFD Sender: No OFD packet to send [00:12:31]OFD Sender: No OFD packet to send [00:12:36]OFD Sender: No OFD packet to send [00:12:41]OFD Sender: No OFD packet to send [00:12:46]OFD Sender: No OFD packet to send [00:12:49]accept exits with 9 [00:12:49]New connection [00:12:49]New thread 3066785124 created [00:12:49]Thread 3066928484 joined [00:12:49]Waiting for new connection... [00:12:49] Sock 9.Parse request [00:12:49]Sock 9.Check first char [00:12:49]Sock 9.First char is OK [00:12:49]request: POST /json_proto HTTP/1.0 [00:12:49]Method: POST [00:12:49]URL: /json_proto [00:12:49]Method is POST - this is cgi request [00:12:49]url: /json_proto [00:12:49]query_string will be loaded in cgi processing [00:12:49]execute_cgi json_proto POST (null) [00:12:49]execute_cgi path=json_proto method=POST [00:12:49]POST find Content-Length [00:12:49]Host: 172.17.45.8:8080 [00:12:49]Content-Length: 639 [00:12:49]Content-Type: application/json [00:12:49] [00:12:49]POST finish read [00:12:49]Found Content-Length = 639 [00:12:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150493", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\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" ] } } [00:12:49]execute_script... [00:12: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)150493", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\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" ] } } [00:12:49]POST & json_proto [00:12:49]process_json_proto [00:12:49]json parsed OK: [00:12:49]protocol is kg_v1.0 [00:12:49]action value=close_receipt [00:12:49]process_action close_receipt [00:12:49]cmd_close_receipt [00:12:49]MH_GetDate [00:12:49]Write to MH i2c: F0 00 00 65 0A 5E [00:12:49]Write i2c OK [00:12:49]MH_I2C_Read... [00:12:49]Read from MH i2c: F0 [00:12:49]MH_I2C_Read... [00:12:49]Read from MH i2c: F0 09 00 [00:12:49]MH_I2C_Read... [00:12:49]Read from MH i2c: F0 09 00 65 0A 00 84 DE A6 66 A6 1F 7F 64 7D [00:12:49]GetLastDocTimeStamp 1722210910 [00:12:49]current date 1722211972 [00:12:49]FM_GetShiftState [00:12:49]SAM_PROTO_GetShiftState [00:12:49]wFMCommunicate request_size=4 [00:12:49]MH_SAM_APDU [00:12:49]CAPDU: 80 13 01 00 [00:12:49]Write to MH i2c: E2 08 00 66 0A 80 13 01 00 00 00 00 00 ED [00:12:49]Write i2c OK [00:12:49]MH_I2C_Read... [00:12:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:12:49]Read from MH i2c: E2 [00:12:49]MH_I2C_Read... [00:12:49]Read from MH i2c: E2 0E 00 [00:12:49]MH_I2C_Read... [00:12:49]Read from MH i2c: E2 0E 00 66 0A 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 15 [00:12:49]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [00:12:49]wFMCommunicate OK [00:12:49]SAM_PROTO_GetShiftState done [00:12:49]FM_GetShiftState done [00:12:49]opened in 1722127230 [00:12:49]opened+sec_in_day 1722213630 [00:12:49]quantity*price = 12500 [00:12:49]sum+1 = 12501 [00:12:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 73 29.07.2024 00:12 Смена: 433 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27095 ФПД: 274200971260161 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240729T001252&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27095&fm=274200971260161&tin=02508201610067®Number=0000000000092663&sum=12500 0 [00:12:50]StoreToDocumentArchive [00:12:50]shift 433 fd 27095 [00:12:50]save to /storage/0433/doc_00027095 [00:12:50]save last doc name /storage/0433/doc_00027095 to /storage/kkm_last_doc_name [00:12:50]save OK [00:12:50]Clear old archive folders... [00:12:50]ProcessDocumentItem done err = 0, tmpTLVsize=271 [00:12:50]tlvbuf is 001BEDF0 [00:12:50]SAM_PROTO_ClearQueue [00:12:50]wFMCommunicate request_size=4 [00:12:50]MH_SAM_APDU [00:12:50]CAPDU: 80 09 00 00 [00:12:50]Write to MH i2c: E2 08 00 73 0A 80 09 00 00 00 00 00 00 EF [00:12:50]Write i2c OK [00:12:50]MH_I2C_Read... [00:12:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:12:50]Read from MH i2c: E2 [00:12:50]MH_I2C_Read... [00:12:50]Read from MH i2c: E2 03 00 [00:12:50]MH_I2C_Read... [00:12:50]Read from MH i2c: E2 03 00 73 0A 00 90 00 F1 [00:12:50]RAPDU: 90 00 [00:12:50]wFMCommunicate OK [00:12:50]SAM_PROTO_ClearQueue done [00:12:50]KKMCreateOFDPacket [00:12:50]OFDProtocolAddRootSTLVToBuf [00:12:50]FM_MakeSignedData [00:12:50]FM_MakeSignedData [00:12:50]SAM_PROTO_SignData [00:12:50]wFMCommunicate request_size=4 [00:12:50]MH_SAM_APDU [00:12:50]CAPDU: 80 0D 01 02 [00:12:50]Write to MH i2c: E2 08 00 74 0A 80 0D 01 02 00 00 00 00 F7 [00:12:50]Write i2c OK [00:12:50]MH_I2C_Read... [00:12:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:12:50]Read from MH i2c: E2 [00:12:50]MH_I2C_Read... [00:12:50]Read from MH i2c: E2 03 00 [00:12:50]MH_I2C_Read... [00:12:50]Read from MH i2c: E2 03 00 74 0A 00 90 00 F2 [00:12:50]RAPDU: 90 00 [00:12:50]wFMCommunicate OK [00:12:50]wFMCommunicate request_size=255 [00:12:50]MH_SAM_APDU [00:12:50]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 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 49 00 00 00 F4 03 04 00 84 DE A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 [00:12:50]Write to MH i2c: E2 02 01 75 0A 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 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 49 00 00 00 F4 03 04 00 84 DE A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 66 [00:12:50]Write i2c OK [00:12:50]MH_I2C_Read... [00:12:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:12:51]Read from MH i2c: E2 [00:12:51]MH_I2C_Read... [00:12:51]Read from MH i2c: E2 03 00 [00:12:51]MH_I2C_Read... [00:12:51]Read from MH i2c: E2 03 00 75 0A 00 90 00 F3 [00:12:51]RAPDU: 90 00 [00:12:51]wFMCommunicate OK [00:12:51]wFMCommunicate request_size=30 [00:12:51]MH_SAM_APDU [00:12:51]CAPDU: 80 0D 02 02 19 30 38 37 34 39 33 37 10 04 04 00 D7 69 00 00 35 04 06 00 F9 62 63 7D 31 01 [00:12:51]Write to MH i2c: E2 21 00 76 0A 80 0D 02 02 19 00 30 38 37 34 39 33 37 10 04 04 00 D7 69 00 00 35 04 06 00 F9 62 63 7D 31 01 00 00 A6 [00:12:51]Write i2c OK [00:12:51]MH_I2C_Read... [00:12:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:12:51]Read from MH i2c: E2 [00:12:51]MH_I2C_Read... [00:12:51]Read from MH i2c: E2 03 00 [00:12:51]MH_I2C_Read... [00:12:51]Read from MH i2c: E2 03 00 76 0A 00 90 00 F4 [00:12:51]RAPDU: 90 00 [00:12:51]wFMCommunicate OK [00:12:51]wFMCommunicate request_size=4 [00:12:51]MH_SAM_APDU [00:12:51]CAPDU: 80 0D 03 02 [00:12:51]Write to MH i2c: E2 08 00 77 0A 80 0D 03 02 00 00 00 00 FC [00:12:51]Write i2c OK [00:12:51]MH_I2C_Read... [00:12:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:12:51]Read from MH i2c: E2 [00:12:51]MH_I2C_Read... [00:12:51]Read from MH i2c: E2 0B 00 [00:12:51]MH_I2C_Read... [00:12:51]Read from MH i2c: E2 0B 00 77 0A 00 7D 0D 8B 7B 29 A0 A0 01 90 00 F7 [00:12:51]RAPDU: 7D 0D 8B 7B 29 A0 A0 01 90 00 [00:12:51]wFMCommunicate OK [00:12:51]SAM_PROTO_SignData done [00:12:51]FM_MakeSignedData done [00:12:51]CreateOFDProtocolMessage [00:12:51]wFMCommunicate request_size=4 [00:12:51]MH_SAM_APDU [00:12:51]CAPDU: 80 11 00 00 [00:12:51]Write to MH i2c: E2 08 00 78 0A 80 11 00 00 00 00 00 00 FC [00:12:51]Write i2c OK [00:12:51]MH_I2C_Read... [00:12:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:12:51]Read from MH i2c: E2 [00:12:51]MH_I2C_Read... [00:12:51]Read from MH i2c: E2 17 00 [00:12:51]MH_I2C_Read... [00:12:51]Read from MH i2c: E2 17 00 78 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 55 [00:12:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [00:12:51]wFMCommunicate OK [00:12:51]CreateOFDProtocolMessage done [00:12:51]OFDSenderStorePacket 27095 [00:12:51]StoreOFDPacket docnum=27095 [00:12:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 23 01 00 00 2C 72 1B 01 7D 30 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 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 49 00 00 00 F4 03 04 00 84 DE A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D7 69 00 00 35 04 06 00 F9 62 63 7D 31 01 7D 0D 8B 7B 29 A0 A0 01 [00:12:51]CheckFolder [00:12:51]dirname=/storage/ofd_packets [00:12:51]CheckFolder done [00:12:51]ProducePacketName [00:12:51]name=ofd_packets/00027095 [00:12:51]NVStorageSaveData ofd_packets/00027095 [00:12:51]File name is /storage/ofd_packets/00027095 [00:12:51]Write 321 bytes [00:12:51]NVStorageSaveData done [00:12:51]OFDSenderStorePacket done [00:12:51]KKMCreateOFDPacket done [00:12:51]NVStorageSaveData kkm_last_timestamp [00:12:51]File name is /storage/kkm_last_timestamp [00:12:51]Write 4 bytes [00:12:51]NVStorageSaveData done [00:12:51]ExternCall_PrintAddStr [00:12:51]wPrintStart [00:12:51]Write to MH i2c: 01 00 00 79 0A 83 [00:12:51]Write i2c OK [00:12:51]MH_I2C_Read... [00:12:51]Read from MH i2c: 01 [00:12:51]MH_I2C_Read... [00:12:51]Read from MH i2c: 01 07 00 [00:12:51]MH_I2C_Read... [00:12:51]Read from MH i2c: 01 07 00 79 0A 00 00 00 00 00 FF 0F 98 [00:12:51]RasterBufferAndPrint [00:12:51]line Счет N : (3)150493 [00:12:51]line ИНН: 02508201610067 [00:12:51]line Контрольно-Кассовый Чек [00:12:51]line ПРОДАЖА [00:12:51]line Товар: 5449000006271 [00:12:51]line Напиток Фанта 1л [00:12:51]line 1.000 * 125.00 [00:12:51]line = 125.00 [00:12:51]line НДС 12% НСП 1% [00:12:51]line > о реализуемом товаре [00:12:51]line ИТОГО: 125.00 [00:12:51]line НСП 1% : 1.11 [00:12:51]line НДС 12% : 13.27 [00:12:51]line Наличными: 125.00 [00:12:51]line Безнал.: 0.00 [00:12:51]line Место: АЗС № 134 "Партнер Нефть" [00:12:51]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [00:12:51]line СНО: Общий режим [00:12:51]line Чек 73 29.07.2024 00:12 [00:12:51]line Смена: 433 ФФД: 1.0 [00:12:51]line ЗНМ: 0300000043 [00:12:51]line РНМ: 0000000000092663 [00:12:51]line Версия ККМ: 001 [00:12:51]line ФМ: 0000000000874937 [00:12:51]line ФД: 27095 [00:12:51]line ФПД: 274200971260161 [00:12:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240729T001252&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27095&fm=274200971260161&tin=02508201610067®Number=0000000000092663&sum=12500 [00:12:51]OFD Sender: Processing packet 27095 [packets to send 9, broken 8] [00:12:51]ProducePacketName [00:12:51]name=ofd_packets/00027095 [00:12:51]OFD Sender: To server: pG, [00:12:51]CommunicateWithHost lk.salyk.kg:30040 [00:12:51]ConnectInit lk.salyk.kg [00:12:51]line 0 [00:12:51]written 0, free lines is 4095 [00:12:51]Connected sock=10 [00:12:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 23 01 00 00 2C 72 1B 01 7D 30 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 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 49 00 00 00 F4 03 04 00 84 DE A6 66 0E 04 04 00 B1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D7 69 00 00 35 04 06 00 F9 62 63 7D 31 01 7D 0D 8B 7B 29 A0 A0 01 [00:12:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 FC 09 47 00 DA 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 38 37 34 39 33 37 10 04 04 00 D7 69 00 00 F4 03 04 00 D6 84 A6 66 B6 04 01 00 00 09 28 9A FD 2A F8 17 00 [00:12:51]CommunicateWithHost err = 0 [00:12:51]CheckOFDResponse [00:12:51]1017 (14) - 77093643461234 [00:12:51]1041 (16) - 0000000000874937 [00:12:51]1040 (4) - 27095 [00:12:51]1012 (4) - 28.07.2024 17:50 [00:12:51]1206 (1) - 0 [00:12:51]OFD Sender: Remove packet 27095 [00:12:51]ProducePacketName [00:12:51]name=ofd_packets/00027095 [00:12:51]NVStorageDeleteData [00:12:51]Write to MH i2c: 01 00 00 A0 0A AA [00:12:51]Write i2c OK [00:12:51]MH_I2C_Read... [00:12:51]Read from MH i2c: 01 [00:12:51]MH_I2C_Read... [00:12:51]Read from MH i2c: 01 07 00 [00:12:51]MH_I2C_Read... [00:12:51]Read from MH i2c: 01 07 00 A0 0A 00 00 00 00 00 FC 0C B9 [00:12:51]RasterBufferAndPrint [00:12:51]line [00:12:51]line [00:12:51]line [00:12:51]line [00:12:51]line [00:12:51]written 0, free lines is 3332 [00:12:51]MH_Cut [00:12:51]Write to MH i2c: D1 01 00 A7 0A 01 83 [00:12:51]Write i2c OK [00:12:51]MH_I2C_Read... [00:12:51]Read from MH i2c: D1 [00:12:51]MH_I2C_Read... [00:12:51]Read from MH i2c: D1 01 00 [00:12:51]MH_I2C_Read... [00:12:51]Read from MH i2c: D1 01 00 A7 0A 00 82 [00:12:51]Write to MH i2c: 01 00 00 A8 0A B2 [00:12:51]Write i2c OK [00:12:51]MH_I2C_Read... [00:12:52]OFD Sender: No OFD packet to send [00:12:52]*** Cut start [00:12:52]*** Partial cut [00:12:52]*** CUTSNS_PIN = 1 [00:12:52]*** CUTSNS_PIN = 0 [00:12:52]*** Brake cut motor [00:12:53]Read from MH i2c: 01 [00:12:53]MH_I2C_Read... [00:12:53]*** Stop cut motor [00:12:53]Read from MH i2c: 01 07 00 [00:12:53]MH_I2C_Read... [00:12:53]*** Cut end [00:12:53]Read from MH i2c: 01 07 00 A8 0A 00 00 00 00 00 FF 0F C7 [00:12:53]process_action close_receipt done [00:12:53]requested_data is exist [00:12:53]produce_requested_data [00:12:53]requested_item fm.sn is exist - process it [00:12:53]wFMCommunicate request_size=4 [00:12:53]MH_SAM_APDU [00:12:53]CAPDU: 80 11 00 00 [00:12:53]Write to MH i2c: E2 08 00 A9 0A 80 11 00 00 00 00 00 00 2D [00:12:53]Write i2c OK [00:12:53]MH_I2C_Read... [00:12:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:12:53]Read from MH i2c: E2 [00:12:53]MH_I2C_Read... [00:12:53]Read from MH i2c: E2 17 00 [00:12:53]MH_I2C_Read... [00:12:53]Read from MH i2c: E2 17 00 A9 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 86 [00:12:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [00:12:53]wFMCommunicate OK [00:12:53]requested_item fd.num is exist - process it [00:12:53]SAM_PROTO_GetFieldsCounters [00:12:53]wFMCommunicate request_size=4 [00:12:53]MH_SAM_APDU [00:12:53]CAPDU: 80 13 00 00 [00:12:53]Write to MH i2c: E2 08 00 AA 0A 80 13 00 00 00 00 00 00 30 [00:12:53]Write i2c OK [00:12:53]MH_I2C_Read... [00:12:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:12:53]Read from MH i2c: E2 [00:12:53]MH_I2C_Read... [00:12:53]Read from MH i2c: E2 62 00 [00:12:53]MH_I2C_Read... [00:12:53]Read from MH i2c: E2 62 00 AA 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D7 69 00 00 0E 04 04 00 B1 01 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 25 [00:12:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D7 69 00 00 0E 04 04 00 B1 01 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 [00:12:53]wFMCommunicate OK [00:12:53]SAM_PROTO_GetFieldsCounters done [00:12:53]requested_item shift.num is exist - process it [00:12:53]requested_item shift.opened is exist - process it [00:12:53]req_shift_opened [00:12:53]FM_GetShiftState [00:12:53]SAM_PROTO_GetShiftState [00:12:53]wFMCommunicate request_size=4 [00:12:53]MH_SAM_APDU [00:12:53]CAPDU: 80 13 01 00 [00:12:53]Write to MH i2c: E2 08 00 AB 0A 80 13 01 00 00 00 00 00 32 [00:12:53]Write i2c OK [00:12:53]MH_I2C_Read... [00:12:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:12:53]Read from MH i2c: E2 [00:12:53]MH_I2C_Read... [00:12:53]Read from MH i2c: E2 0E 00 [00:12:53]MH_I2C_Read... [00:12:53]Read from MH i2c: E2 0E 00 AB 0A 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 5A [00:12:53]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [00:12:53]wFMCommunicate OK [00:12:53]SAM_PROTO_GetShiftState done [00:12:53]FM_GetShiftState done [00:12:53]req_shift_opened done [00:12:53]requested_item shift.open_date is exist - process it [00:12:53]req_shift_open_date [00:12:53]req_shift_open_date done [00:12:53]produce_requested_data done [00:12:53]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27095,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [00:12:53]process_action_free close_receipt [00:12:53]json_value_free [00:12:53]json_value_free done [00:12:53]process_json_proto returns [00:12:53]Send response to host [00:12:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27095,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [00:12:53]free response buf [00:12:53]execute_script done [00:12:53]execute_script returns [00:12:53]free content buf [00:12:53]Sock 9.Close socket [00:12:53]Sock 9.Thread stoped [00:12:57]OFD Sender: No OFD packet to send [00:13:02]OFD Sender: No OFD packet to send [00:13:07]OFD Sender: No OFD packet to send [00:13:12]OFD Sender: No OFD packet to send [00:13:17]OFD Sender: No OFD packet to send [00:13:22]OFD Sender: No OFD packet to send [00:13:27]OFD Sender: No OFD packet to send [00:13:32]OFD Sender: No OFD packet to send [00:13:37]OFD Sender: No OFD packet to send [00:13:42]OFD Sender: No OFD packet to send [00:13:47]OFD Sender: No OFD packet to send [00:13:52]OFD Sender: No OFD packet to send [00:13:57]OFD Sender: No OFD packet to send [00:14:02]OFD Sender: No OFD packet to send [00:14:07]OFD Sender: No OFD packet to send [00:14:12]OFD Sender: No OFD packet to send [00:14:17]OFD Sender: No OFD packet to send [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:37]OFD Sender: No OFD packet to send [00:15:42]OFD Sender: No OFD packet to send [00:15:47]OFD Sender: No OFD packet to send [00:15:52]OFD Sender: No OFD packet to send [00:15:57]OFD Sender: No OFD packet to send [00:16:02]OFD Sender: No OFD packet to send [00:16:07]OFD Sender: No OFD packet to send [00:16:12]OFD Sender: No OFD packet to send [00:16:17]OFD Sender: No OFD packet to send [00:16:22]OFD Sender: No OFD packet to send [00:16:27]OFD Sender: No OFD packet to send [00:16:32]OFD Sender: No OFD packet to send [00:16:37]OFD Sender: No OFD packet to send [00:16:42]OFD Sender: No OFD packet to send [00:16:47]OFD Sender: No OFD packet to send [00:16:52]OFD Sender: No OFD packet to send [00:16:57]OFD Sender: No OFD packet to send [00:17:02]OFD Sender: No OFD packet to send [00:17:07]OFD Sender: No OFD packet to send [00:17:12]OFD Sender: No OFD packet to send [00:17:17]OFD Sender: No OFD packet to send [00:17:22]OFD Sender: No OFD packet to send [00:17:27]OFD Sender: No OFD packet to send [00:17:32]OFD Sender: No OFD packet to send [00:17:37]OFD Sender: No OFD packet to send [00:17:42]OFD Sender: No OFD packet to send [00:17:47]OFD Sender: No OFD packet to send [00:17:52]OFD Sender: No OFD packet to send [00:17:57]OFD Sender: No OFD packet to send [00:18:02]OFD Sender: No OFD packet to send [00:18:07]OFD Sender: No OFD packet to send [00:18:12]OFD Sender: No OFD packet to send [00:18:17]OFD Sender: No OFD packet to send [00:18:22]OFD Sender: No OFD packet to send [00:18:27]OFD Sender: No OFD packet to send [00:18:32]OFD Sender: No OFD packet to send [00:18:37]OFD Sender: No OFD packet to send [00:18:42]OFD Sender: No OFD packet to send [00:18:47]OFD Sender: No OFD packet to send [00:18:52]OFD Sender: No OFD packet to send [00:18:57]OFD Sender: No OFD packet to send [00:19:02]OFD Sender: No OFD packet to send [00:19:07]OFD Sender: No OFD packet to send [00:19:12]OFD Sender: No OFD packet to send [00:19:17]OFD Sender: No OFD packet to send [00:19:22]OFD Sender: No OFD packet to send [00:19:27]OFD Sender: No OFD packet to send [00:19:32]OFD Sender: No OFD packet to send [00:19:37]OFD Sender: No OFD packet to send [00:19:42]OFD Sender: No OFD packet to send [00:19:44]accept exits with 8 [00:19:44]New connection [00:19:44]New thread 3066928484 created [00:19:44]Thread 3066785124 joined [00:19:44]Waiting for new connection... [00:19:44] Sock 8.Parse request [00:19:44]Sock 8.Check first char [00:19:44]Sock 8.First char is OK [00:19:44]request: POST /json_proto HTTP/1.0 [00:19:44]Method: POST [00:19:44]URL: /json_proto [00:19:44]Method is POST - this is cgi request [00:19:44]url: /json_proto [00:19:44]query_string will be loaded in cgi processing [00:19:44]execute_cgi json_proto POST (null) [00:19:44]execute_cgi path=json_proto method=POST [00:19:44]POST find Content-Length [00:19:44]Host: 172.17.45.8:8080 [00:19:44]Content-Length: 215 [00:19:44]Content-Type: application/json [00:19:44] [00:19:44]POST finish read [00:19:44]Found Content-Length = 215 [00:19:44]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:19:44]execute_script... [00:19:44]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:19:44]POST & json_proto [00:19:44]process_json_proto [00:19:44]json parsed OK: [00:19:44]protocol is kg_v1.0 [00:19:44]action value=get_value [00:19:44]process_action get_value [00:19:44]cmd_get_value [00:19:44]process_action get_value done [00:19:44]requested_data is exist [00:19:44]produce_requested_data [00:19:44]requested_item kkm.sn is exist - process it [00:19:44]requested_item kkm.ver is exist - process it [00:19:44]requested_item fm.sn is exist - process it [00:19:44]wFMCommunicate request_size=4 [00:19:44]MH_SAM_APDU [00:19:44]CAPDU: 80 11 00 00 [00:19:44]Write to MH i2c: E2 08 00 AC 0A 80 11 00 00 00 00 00 00 30 [00:19:44]Write i2c OK [00:19:44]MH_I2C_Read... [00:19:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:19:44]Read from MH i2c: E2 [00:19:44]MH_I2C_Read... [00:19:44]Read from MH i2c: E2 17 00 [00:19:44]MH_I2C_Read... [00:19:44]Read from MH i2c: E2 17 00 AC 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 89 [00:19:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [00:19:44]wFMCommunicate OK [00:19:44]requested_item fd.num is exist - process it [00:19:44]SAM_PROTO_GetFieldsCounters [00:19:44]wFMCommunicate request_size=4 [00:19:44]MH_SAM_APDU [00:19:44]CAPDU: 80 13 00 00 [00:19:44]Write to MH i2c: E2 08 00 AD 0A 80 13 00 00 00 00 00 00 33 [00:19:44]Write i2c OK [00:19:44]MH_I2C_Read... [00:19:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:19:44]Read from MH i2c: E2 [00:19:44]MH_I2C_Read... [00:19:44]Read from MH i2c: E2 62 00 [00:19:44]MH_I2C_Read... [00:19:44]Read from MH i2c: E2 62 00 AD 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D7 69 00 00 0E 04 04 00 B1 01 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 28 [00:19:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D7 69 00 00 0E 04 04 00 B1 01 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 [00:19:44]wFMCommunicate OK [00:19:44]SAM_PROTO_GetFieldsCounters done [00:19:44]requested_item shift.num is exist - process it [00:19:44]requested_item shift.opened is exist - process it [00:19:44]req_shift_opened [00:19:44]FM_GetShiftState [00:19:44]SAM_PROTO_GetShiftState [00:19:44]wFMCommunicate request_size=4 [00:19:44]MH_SAM_APDU [00:19:44]CAPDU: 80 13 01 00 [00:19:44]Write to MH i2c: E2 08 00 AE 0A 80 13 01 00 00 00 00 00 35 [00:19:44]Write i2c OK [00:19:44]MH_I2C_Read... [00:19:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:19:44]Read from MH i2c: E2 [00:19:44]MH_I2C_Read... [00:19:44]Read from MH i2c: E2 0E 00 [00:19:44]MH_I2C_Read... [00:19:44]Read from MH i2c: E2 0E 00 AE 0A 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 5D [00:19:44]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [00:19:44]wFMCommunicate OK [00:19:44]SAM_PROTO_GetShiftState done [00:19:44]FM_GetShiftState done [00:19:44]req_shift_opened done [00:19:44]requested_item shift.open_date is exist - process it [00:19:44]req_shift_open_date [00:19:44]req_shift_open_date done [00:19:44]produce_requested_data done [00:19:44]produce_requested_data return {"kkm.sn":"0300000043","kkm.ver":"001","fm.sn":"0000000000874937","fd.num":27095,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [00:19:44]process_action_free get_value [00:19:44]json_value_free [00:19:44]json_value_free done [00:19:44]process_json_proto returns [00:19:44]Send response to host [00:19:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000043","kkm.ver":"001","fm.sn":"0000000000874937","fd.num":27095,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [00:19:44]free response buf [00:19:44]execute_script done [00:19:44]execute_script returns [00:19:44]free content buf [00:19:44]Sock 8.Close socket [00:19:44]Sock 8.Thread stoped [00:19:44]accept exits with 9 [00:19:44]New connection [00:19:44]New thread 3066785124 created [00:19:44]Thread 3066928484 joined [00:19:44]Waiting for new connection... [00:19:44] Sock 9.Parse request [00:19:44]Sock 9.Check first char [00:19:44]Sock 9.First char is OK [00:19:44]request: POST /json_proto HTTP/1.0 [00:19:44]Method: POST [00:19:44]URL: /json_proto [00:19:44]Method is POST - this is cgi request [00:19:44]url: /json_proto [00:19:44]query_string will be loaded in cgi processing [00:19:44]execute_cgi json_proto POST (null) [00:19:44]execute_cgi path=json_proto method=POST [00:19:44]POST find Content-Length [00:19:44]Host: 172.17.45.8:8080 [00:19:44]Content-Length: 331 [00:19:44]Content-Type: application/json [00:19:44] [00:19:44]POST finish read [00:19:44]Found Content-Length = 331 [00:19:44]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:19:44]execute_script... [00:19:45]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:19:45]POST & json_proto [00:19:45]process_json_proto [00:19:45]json parsed OK: [00:19:45]protocol is kg_v1.0 [00:19:45]action value=get_value [00:19:45]process_action get_value [00:19:45]cmd_get_value [00:19:45]process_action get_value done [00:19:45]requested_data is exist [00:19:45]produce_requested_data [00:19:45]requested_item fm.sale.total is exist - process it [00:19:45]SAM_PROTO_GetFMData [00:19:45]wFMCommunicate request_size=4 [00:19:45]MH_SAM_APDU [00:19:45]CAPDU: 80 13 03 00 [00:19:45]Write to MH i2c: E2 08 00 AF 0A 80 13 03 00 00 00 00 00 38 [00:19:45]Write i2c OK [00:19:45]MH_I2C_Read... [00:19:45]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:19:45]Read from MH i2c: E2 [00:19:45]MH_I2C_Read... [00:19:45]Read from MH i2c: E2 FD 00 [00:19:45]MH_I2C_Read... [00:19:45]Read from MH i2c: E2 FD 00 AF 0A 00 C1 04 85 04 BD 04 6E 04 04 00 75 66 00 00 69 04 A0 00 6F 04 04 00 47 66 00 00 B1 04 04 00 D4 51 7A 23 70 04 04 00 F8 0F 26 22 72 04 04 00 DC 41 54 01 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 4D 74 C4 03 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 57 53 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 D4 A7 1A 70 04 03 00 04 A5 15 72 04 03 00 D0 02 05 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 AB D4 02 EF 03 09 00 F6 03 90 00 A7 [00:19:45]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 75 66 00 00 69 04 A0 00 6F 04 04 00 47 66 00 00 B1 04 04 00 D4 51 7A 23 70 04 04 00 F8 0F 26 22 72 04 04 00 DC 41 54 01 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 4D 74 C4 03 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 57 53 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 D4 A7 1A 70 04 03 00 04 A5 15 72 04 03 00 D0 02 05 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 AB D4 02 EF 03 09 00 F6 03 90 00 [00:19:45]wFMCommunicate OK [00:19:45]wFMCommunicate request_size=4 [00:19:45]MH_SAM_APDU [00:19:45]CAPDU: 80 17 00 00 [00:19:45]Write to MH i2c: E2 08 00 B0 0A 80 17 00 00 00 00 00 00 3A [00:19:45]Write i2c OK [00:19:45]MH_I2C_Read... [00:19:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:45]Read from MH i2c: E2 [00:19:45]MH_I2C_Read... [00:19:45]Read from MH i2c: E2 FD 00 [00:19:45]MH_I2C_Read... [00:19:45]Read from MH i2c: E2 FD 00 B0 0A 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 62 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 07 [00:19:45]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 62 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:19:45]wFMCommunicate OK [00:19:45]wFMCommunicate request_size=4 [00:19:45]MH_SAM_APDU [00:19:45]CAPDU: 80 17 00 00 [00:19:45]Write to MH i2c: E2 08 00 B1 0A 80 17 00 00 00 00 00 00 3B [00:19:45]Write i2c OK [00:19:45]MH_I2C_Read... [00:19:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:46]Read from MH i2c: E2 [00:19:46]MH_I2C_Read... [00:19:46]Read from MH i2c: E2 FD 00 [00:19:46]MH_I2C_Read... [00:19:46]Read from MH i2c: E2 FD 00 B1 0A 00 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 90 00 DB [00:19:46]RAPDU: 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 90 00 [00:19:46]wFMCommunicate OK [00:19:46]wFMCommunicate request_size=4 [00:19:46]MH_SAM_APDU [00:19:46]CAPDU: 80 17 00 00 [00:19:46]Write to MH i2c: E2 08 00 B2 0A 80 17 00 00 00 00 00 00 3C [00:19:46]Write i2c OK [00:19:46]MH_I2C_Read... [00:19:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:46]Read from MH i2c: E2 [00:19:46]MH_I2C_Read... [00:19:46]Read from MH i2c: E2 FD 00 [00:19:46]MH_I2C_Read... [00:19:46]Read from MH i2c: E2 FD 00 B2 0A 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C1 [00:19:46]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:19:46]wFMCommunicate OK [00:19:46]wFMCommunicate request_size=4 [00:19:46]MH_SAM_APDU [00:19:46]CAPDU: 80 17 00 00 [00:19:46]Write to MH i2c: E2 08 00 B3 0A 80 17 00 00 00 00 00 00 3D [00:19:46]Write i2c OK [00:19:46]MH_I2C_Read... [00:19:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:19:46]Read from MH i2c: E2 [00:19:46]MH_I2C_Read... [00:19:46]Read from MH i2c: E2 DE 00 [00:19:46]MH_I2C_Read... [00:19:46]Read from MH i2c: E2 DE 00 B3 0A 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 90 00 1C [00:19:46]RAPDU: 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 90 00 [00:19:46]wFMCommunicate OK [00:19:46]SAM_PROTO_GetFMData done [00:19:46]requested_item fm.sale_refund.total is exist - process it [00:19:46]requested_item fm.buy.total is exist - process it [00:19:46]requested_item shift.sale.total is exist - process it [00:19:46]SAM_PROTO_GetShiftData [00:19:46]wFMCommunicate request_size=4 [00:19:46]MH_SAM_APDU [00:19:46]CAPDU: 80 13 02 00 [00:19:46]Write to MH i2c: E2 08 00 B4 0A 80 13 02 00 00 00 00 00 3C [00:19:46]Write i2c OK [00:19:46]MH_I2C_Read... [00:19:46]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:19:46]Read from MH i2c: E2 [00:19:46]MH_I2C_Read... [00:19:46]Read from MH i2c: E2 FD 00 [00:19:46]MH_I2C_Read... [00:19:46]Read from MH i2c: E2 FD 00 B4 0A 00 AE 04 AA 04 AA 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 70 D7 12 70 04 03 00 F4 69 10 72 04 03 00 7C 6D 02 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 34 00 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 9F 2A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 3F [00:19:46]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 70 D7 12 70 04 03 00 F4 69 10 72 04 03 00 7C 6D 02 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 34 00 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 9F 2A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:19:47]wFMCommunicate OK [00:19:47]wFMCommunicate request_size=4 [00:19:47]MH_SAM_APDU [00:19:47]CAPDU: 80 17 00 00 [00:19:47]Write to MH i2c: E2 08 00 B5 0A 80 17 00 00 00 00 00 00 3F [00:19:47]Write i2c OK [00:19:47]MH_I2C_Read... [00:19:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:47]Read from MH i2c: E2 [00:19:47]MH_I2C_Read... [00:19:47]Read from MH i2c: E2 FD 00 [00:19:47]MH_I2C_Read... [00:19:47]Read from MH i2c: E2 FD 00 B5 0A 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 61 [00:19:47]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:19:47]wFMCommunicate OK [00:19:47]wFMCommunicate request_size=4 [00:19:47]MH_SAM_APDU [00:19:47]CAPDU: 80 17 00 00 [00:19:47]Write to MH i2c: E2 08 00 B6 0A 80 17 00 00 00 00 00 00 40 [00:19:47]Write i2c OK [00:19:47]MH_I2C_Read... [00:19:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:47]Read from MH i2c: E2 [00:19:47]MH_I2C_Read... [00:19:47]Read from MH i2c: E2 FD 00 [00:19:47]MH_I2C_Read... [00:19:47]Read from MH i2c: E2 FD 00 B6 0A 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 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 F7 [00:19:47]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:19:47]wFMCommunicate OK [00:19:47]wFMCommunicate request_size=4 [00:19:47]MH_SAM_APDU [00:19:47]CAPDU: 80 17 00 00 [00:19:47]Write to MH i2c: E2 08 00 B7 0A 80 17 00 00 00 00 00 00 41 [00:19:47]Write i2c OK [00:19:47]MH_I2C_Read... [00:19:47]OFD Sender: No OFD packet to send [00:19:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:47]Read from MH i2c: E2 [00:19:47]MH_I2C_Read... [00:19:47]Read from MH i2c: E2 FD 00 [00:19:47]MH_I2C_Read... [00:19:47]Read from MH i2c: E2 FD 00 B7 0A 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 B3 [00:19:47]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:19:47]wFMCommunicate OK [00:19:47]wFMCommunicate request_size=4 [00:19:47]MH_SAM_APDU [00:19:47]CAPDU: 80 17 00 00 [00:19:47]Write to MH i2c: E2 08 00 B8 0A 80 17 00 00 00 00 00 00 42 [00:19:47]Write i2c OK [00:19:47]MH_I2C_Read... [00:19:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:19:48]Read from MH i2c: E2 [00:19:48]MH_I2C_Read... [00:19:48]Read from MH i2c: E2 CB 00 [00:19:48]MH_I2C_Read... [00:19:48]Read from MH i2c: E2 CB 00 B8 0A 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 2B [00:19:48]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:19:48]wFMCommunicate OK [00:19:48]SAM_PROTO_GetShiftData done [00:19:48]requested_item shift.sale.total_cash is exist - process it [00:19:48]requested_item shift.sale_refund.total is exist - process it [00:19:48]requested_item shift.sale_refund.total_cash is exist - process it [00:19:48]requested_item shift.buy.total is exist - process it [00:19:48]requested_item shift.buy.total_cash is exist - process it [00:19:48]produce_requested_data done [00:19:48]produce_requested_data return {"fm.sale.total":5952189.00,"fm.sale_refund.total":17469.00,"fm.buy.total":0.00,"shift.sale.total":12348.00,"shift.sale.total_cash":10757.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:19:48]process_action_free get_value [00:19:48]json_value_free [00:19:48]json_value_free done [00:19:48]process_json_proto returns [00:19:48]Send response to host [00:19:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":5952189.00,"fm.sale_refund.total":17469.00,"fm.buy.total":0.00,"shift.sale.total":12348.00,"shift.sale.total_cash":10757.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:19:48]free response buf [00:19:48]execute_script done [00:19:48]execute_script returns [00:19:48]free content buf [00:19:48]Sock 9.Close socket [00:19:48]Sock 9.Thread stoped [00:19:52]OFD Sender: No OFD packet to send [00:19:57]OFD Sender: No OFD packet to send [00:20:02]OFD Sender: No OFD packet to send [00:20:07]OFD Sender: No OFD packet to send [00:20:12]OFD Sender: No OFD packet to send [00:20:17]OFD Sender: No OFD packet to send [00:20:22]OFD Sender: No OFD packet to send [00:20:27]OFD Sender: No OFD packet to send [00:20:32]OFD Sender: No OFD packet to send [00:20:36]accept exits with 8 [00:20:36]New connection [00:20:36]New thread 3066928484 created [00:20:36]Thread 3066785124 joined [00:20:36]Waiting for new connection... [00:20:36] Sock 8.Parse request [00:20:36]Sock 8.Check first char [00:20:36]Sock 8.First char is OK [00:20:36]request: POST /json_proto HTTP/1.0 [00:20:36]Method: POST [00:20:36]URL: /json_proto [00:20:36]Method is POST - this is cgi request [00:20:36]url: /json_proto [00:20:36]query_string will be loaded in cgi processing [00:20:36]execute_cgi json_proto POST (null) [00:20:36]execute_cgi path=json_proto method=POST [00:20:36]POST find Content-Length [00:20:36]Host: 172.17.45.8:8080 [00:20:36]Content-Length: 215 [00:20:36]Content-Type: application/json [00:20:36] [00:20:36]POST finish read [00:20:36]Found Content-Length = 215 [00:20:36]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:20:36]execute_script... [00:20:36]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:20:36]POST & json_proto [00:20:36]process_json_proto [00:20:36]json parsed OK: [00:20:36]protocol is kg_v1.0 [00:20:36]action value=get_value [00:20:36]process_action get_value [00:20:36]cmd_get_value [00:20:36]process_action get_value done [00:20:36]requested_data is exist [00:20:36]produce_requested_data [00:20:36]requested_item kkm.sn is exist - process it [00:20:36]requested_item kkm.ver is exist - process it [00:20:36]requested_item fm.sn is exist - process it [00:20:36]wFMCommunicate request_size=4 [00:20:36]MH_SAM_APDU [00:20:36]CAPDU: 80 11 00 00 [00:20:36]Write to MH i2c: E2 08 00 B9 0A 80 11 00 00 00 00 00 00 3D [00:20:36]Write i2c OK [00:20:36]MH_I2C_Read... [00:20:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:20:36]Read from MH i2c: E2 [00:20:36]MH_I2C_Read... [00:20:36]Read from MH i2c: E2 17 00 [00:20:36]MH_I2C_Read... [00:20:36]Read from MH i2c: E2 17 00 B9 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 96 [00:20:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [00:20:36]wFMCommunicate OK [00:20:36]requested_item fd.num is exist - process it [00:20:36]SAM_PROTO_GetFieldsCounters [00:20:36]wFMCommunicate request_size=4 [00:20:36]MH_SAM_APDU [00:20:36]CAPDU: 80 13 00 00 [00:20:36]Write to MH i2c: E2 08 00 BA 0A 80 13 00 00 00 00 00 00 40 [00:20:36]Write i2c OK [00:20:36]MH_I2C_Read... [00:20:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:20:36]Read from MH i2c: E2 [00:20:36]MH_I2C_Read... [00:20:36]Read from MH i2c: E2 62 00 [00:20:36]MH_I2C_Read... [00:20:36]Read from MH i2c: E2 62 00 BA 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D7 69 00 00 0E 04 04 00 B1 01 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 35 [00:20:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D7 69 00 00 0E 04 04 00 B1 01 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 [00:20:36]wFMCommunicate OK [00:20:36]SAM_PROTO_GetFieldsCounters done [00:20:36]requested_item shift.num is exist - process it [00:20:36]requested_item shift.opened is exist - process it [00:20:36]req_shift_opened [00:20:36]FM_GetShiftState [00:20:36]SAM_PROTO_GetShiftState [00:20:36]wFMCommunicate request_size=4 [00:20:36]MH_SAM_APDU [00:20:36]CAPDU: 80 13 01 00 [00:20:36]Write to MH i2c: E2 08 00 BB 0A 80 13 01 00 00 00 00 00 42 [00:20:36]Write i2c OK [00:20:36]MH_I2C_Read... [00:20:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:20:36]Read from MH i2c: E2 [00:20:36]MH_I2C_Read... [00:20:36]Read from MH i2c: E2 0E 00 [00:20:36]MH_I2C_Read... [00:20:36]Read from MH i2c: E2 0E 00 BB 0A 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 6A [00:20:36]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [00:20:36]wFMCommunicate OK [00:20:36]SAM_PROTO_GetShiftState done [00:20:36]FM_GetShiftState done [00:20:36]req_shift_opened done [00:20:36]requested_item shift.open_date is exist - process it [00:20:36]req_shift_open_date [00:20:36]req_shift_open_date done [00:20:36]produce_requested_data done [00:20:36]produce_requested_data return {"kkm.sn":"0300000043","kkm.ver":"001","fm.sn":"0000000000874937","fd.num":27095,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [00:20:36]process_action_free get_value [00:20:36]json_value_free [00:20:36]json_value_free done [00:20:36]process_json_proto returns [00:20:36]Send response to host [00:20:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000043","kkm.ver":"001","fm.sn":"0000000000874937","fd.num":27095,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [00:20:36]free response buf [00:20:36]execute_script done [00:20:36]execute_script returns [00:20:36]free content buf [00:20:36]Sock 8.Close socket [00:20:36]Sock 8.Thread stoped [00:20:36]accept exits with 9 [00:20:36]New connection [00:20:36]New thread 3066785124 created [00:20:36]Thread 3066928484 joined [00:20:36]Waiting for new connection... [00:20:36] Sock 9.Parse request [00:20:36]Sock 9.Check first char [00:20:36]Sock 9.First char is OK [00:20:36]request: POST /json_proto HTTP/1.0 [00:20:36]Method: POST [00:20:36]URL: /json_proto [00:20:36]Method is POST - this is cgi request [00:20:36]url: /json_proto [00:20:36]query_string will be loaded in cgi processing [00:20:36]execute_cgi json_proto POST (null) [00:20:36]execute_cgi path=json_proto method=POST [00:20:36]POST find Content-Length [00:20:36]Host: 172.17.45.8:8080 [00:20:36]Content-Length: 331 [00:20:36]Content-Type: application/json [00:20:36] [00:20:36]POST finish read [00:20:36]Found Content-Length = 331 [00:20:36]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:20:36]execute_script... [00:20:37]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:20:37]POST & json_proto [00:20:37]process_json_proto [00:20:37]json parsed OK: [00:20:37]protocol is kg_v1.0 [00:20:37]action value=get_value [00:20:37]process_action get_value [00:20:37]cmd_get_value [00:20:37]process_action get_value done [00:20:37]requested_data is exist [00:20:37]produce_requested_data [00:20:37]requested_item fm.sale.total is exist - process it [00:20:37]SAM_PROTO_GetFMData [00:20:37]wFMCommunicate request_size=4 [00:20:37]MH_SAM_APDU [00:20:37]CAPDU: 80 13 03 00 [00:20:37]Write to MH i2c: E2 08 00 BC 0A 80 13 03 00 00 00 00 00 45 [00:20:37]Write i2c OK [00:20:37]MH_I2C_Read... [00:20:37]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:20:37]Read from MH i2c: E2 [00:20:37]MH_I2C_Read... [00:20:37]Read from MH i2c: E2 FD 00 [00:20:37]MH_I2C_Read... [00:20:37]Read from MH i2c: E2 FD 00 BC 0A 00 C1 04 85 04 BD 04 6E 04 04 00 75 66 00 00 69 04 A0 00 6F 04 04 00 47 66 00 00 B1 04 04 00 D4 51 7A 23 70 04 04 00 F8 0F 26 22 72 04 04 00 DC 41 54 01 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 4D 74 C4 03 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 57 53 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 D4 A7 1A 70 04 03 00 04 A5 15 72 04 03 00 D0 02 05 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 AB D4 02 EF 03 09 00 F6 03 90 00 B4 [00:20:37]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 75 66 00 00 69 04 A0 00 6F 04 04 00 47 66 00 00 B1 04 04 00 D4 51 7A 23 70 04 04 00 F8 0F 26 22 72 04 04 00 DC 41 54 01 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 4D 74 C4 03 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 57 53 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 D4 A7 1A 70 04 03 00 04 A5 15 72 04 03 00 D0 02 05 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 AB D4 02 EF 03 09 00 F6 03 90 00 [00:20:37]wFMCommunicate OK [00:20:37]wFMCommunicate request_size=4 [00:20:37]MH_SAM_APDU [00:20:37]CAPDU: 80 17 00 00 [00:20:37]Write to MH i2c: E2 08 00 BD 0A 80 17 00 00 00 00 00 00 47 [00:20:37]Write i2c OK [00:20:37]MH_I2C_Read... [00:20:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:37]Read from MH i2c: E2 [00:20:37]MH_I2C_Read... [00:20:37]Read from MH i2c: E2 FD 00 [00:20:37]MH_I2C_Read... [00:20:37]Read from MH i2c: E2 FD 00 BD 0A 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 62 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 14 [00:20:37]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 62 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:20:37]wFMCommunicate OK [00:20:37]wFMCommunicate request_size=4 [00:20:37]MH_SAM_APDU [00:20:37]CAPDU: 80 17 00 00 [00:20:37]Write to MH i2c: E2 08 00 BE 0A 80 17 00 00 00 00 00 00 48 [00:20:37]Write i2c OK [00:20:37]MH_I2C_Read... [00:20:37]OFD Sender: No OFD packet to send [00:20:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:37]Read from MH i2c: E2 [00:20:37]MH_I2C_Read... [00:20:37]Read from MH i2c: E2 FD 00 [00:20:37]MH_I2C_Read... [00:20:37]Read from MH i2c: E2 FD 00 BE 0A 00 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 90 00 E8 [00:20:37]RAPDU: 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 90 00 [00:20:37]wFMCommunicate OK [00:20:37]wFMCommunicate request_size=4 [00:20:37]MH_SAM_APDU [00:20:37]CAPDU: 80 17 00 00 [00:20:37]Write to MH i2c: E2 08 00 BF 0A 80 17 00 00 00 00 00 00 49 [00:20:37]Write i2c OK [00:20:37]MH_I2C_Read... [00:20:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:38]Read from MH i2c: E2 [00:20:38]MH_I2C_Read... [00:20:38]Read from MH i2c: E2 FD 00 [00:20:38]MH_I2C_Read... [00:20:38]Read from MH i2c: E2 FD 00 BF 0A 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CE [00:20:38]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:20:38]wFMCommunicate OK [00:20:38]wFMCommunicate request_size=4 [00:20:38]MH_SAM_APDU [00:20:38]CAPDU: 80 17 00 00 [00:20:38]Write to MH i2c: E2 08 00 C0 0A 80 17 00 00 00 00 00 00 4A [00:20:38]Write i2c OK [00:20:38]MH_I2C_Read... [00:20:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:20:38]Read from MH i2c: E2 [00:20:38]MH_I2C_Read... [00:20:38]Read from MH i2c: E2 DE 00 [00:20:38]MH_I2C_Read... [00:20:38]Read from MH i2c: E2 DE 00 C0 0A 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 90 00 29 [00:20:38]RAPDU: 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 90 00 [00:20:38]wFMCommunicate OK [00:20:38]SAM_PROTO_GetFMData done [00:20:38]requested_item fm.sale_refund.total is exist - process it [00:20:38]requested_item fm.buy.total is exist - process it [00:20:38]requested_item shift.sale.total is exist - process it [00:20:38]SAM_PROTO_GetShiftData [00:20:38]wFMCommunicate request_size=4 [00:20:38]MH_SAM_APDU [00:20:38]CAPDU: 80 13 02 00 [00:20:38]Write to MH i2c: E2 08 00 C1 0A 80 13 02 00 00 00 00 00 49 [00:20:38]Write i2c OK [00:20:38]MH_I2C_Read... [00:20:38]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:20:38]Read from MH i2c: E2 [00:20:38]MH_I2C_Read... [00:20:38]Read from MH i2c: E2 FD 00 [00:20:38]MH_I2C_Read... [00:20:38]Read from MH i2c: E2 FD 00 C1 0A 00 AE 04 AA 04 AA 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 70 D7 12 70 04 03 00 F4 69 10 72 04 03 00 7C 6D 02 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 34 00 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 9F 2A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 4C [00:20:38]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 70 D7 12 70 04 03 00 F4 69 10 72 04 03 00 7C 6D 02 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 34 00 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 9F 2A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:20:38]wFMCommunicate OK [00:20:38]wFMCommunicate request_size=4 [00:20:38]MH_SAM_APDU [00:20:38]CAPDU: 80 17 00 00 [00:20:38]Write to MH i2c: E2 08 00 C2 0A 80 17 00 00 00 00 00 00 4C [00:20:38]Write i2c OK [00:20:38]MH_I2C_Read... [00:20:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:39]Read from MH i2c: E2 [00:20:39]MH_I2C_Read... [00:20:39]Read from MH i2c: E2 FD 00 [00:20:39]MH_I2C_Read... [00:20:39]Read from MH i2c: E2 FD 00 C2 0A 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 6E [00:20:39]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:20:39]wFMCommunicate OK [00:20:39]wFMCommunicate request_size=4 [00:20:39]MH_SAM_APDU [00:20:39]CAPDU: 80 17 00 00 [00:20:39]Write to MH i2c: E2 08 00 C3 0A 80 17 00 00 00 00 00 00 4D [00:20:39]Write i2c OK [00:20:39]MH_I2C_Read... [00:20:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:39]Read from MH i2c: E2 [00:20:39]MH_I2C_Read... [00:20:39]Read from MH i2c: E2 FD 00 [00:20:39]MH_I2C_Read... [00:20:39]Read from MH i2c: E2 FD 00 C3 0A 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 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 04 [00:20:39]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:20:39]wFMCommunicate OK [00:20:39]wFMCommunicate request_size=4 [00:20:39]MH_SAM_APDU [00:20:39]CAPDU: 80 17 00 00 [00:20:39]Write to MH i2c: E2 08 00 C4 0A 80 17 00 00 00 00 00 00 4E [00:20:39]Write i2c OK [00:20:39]MH_I2C_Read... [00:20:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:39]Read from MH i2c: E2 [00:20:39]MH_I2C_Read... [00:20:39]Read from MH i2c: E2 FD 00 [00:20:39]MH_I2C_Read... [00:20:39]Read from MH i2c: E2 FD 00 C4 0A 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 C0 [00:20:39]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:20:39]wFMCommunicate OK [00:20:39]wFMCommunicate request_size=4 [00:20:39]MH_SAM_APDU [00:20:39]CAPDU: 80 17 00 00 [00:20:39]Write to MH i2c: E2 08 00 C5 0A 80 17 00 00 00 00 00 00 4F [00:20:39]Write i2c OK [00:20:39]MH_I2C_Read... [00:20:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:20:40]Read from MH i2c: E2 [00:20:40]MH_I2C_Read... [00:20:40]Read from MH i2c: E2 CB 00 [00:20:40]MH_I2C_Read... [00:20:40]Read from MH i2c: E2 CB 00 C5 0A 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 38 [00:20:40]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:20:40]wFMCommunicate OK [00:20:40]SAM_PROTO_GetShiftData done [00:20:40]requested_item shift.sale.total_cash is exist - process it [00:20:40]requested_item shift.sale_refund.total is exist - process it [00:20:40]requested_item shift.sale_refund.total_cash is exist - process it [00:20:40]requested_item shift.buy.total is exist - process it [00:20:40]requested_item shift.buy.total_cash is exist - process it [00:20:40]produce_requested_data done [00:20:40]produce_requested_data return {"fm.sale.total":5952189.00,"fm.sale_refund.total":17469.00,"fm.buy.total":0.00,"shift.sale.total":12348.00,"shift.sale.total_cash":10757.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:20:40]process_action_free get_value [00:20:40]json_value_free [00:20:40]json_value_free done [00:20:40]process_json_proto returns [00:20:40]Send response to host [00:20:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":5952189.00,"fm.sale_refund.total":17469.00,"fm.buy.total":0.00,"shift.sale.total":12348.00,"shift.sale.total_cash":10757.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:20:40]free response buf [00:20:40]execute_script done [00:20:40]execute_script returns [00:20:40]free content buf [00:20:40]Sock 9.Close socket [00:20:40]Sock 9.Thread stoped [00:20:40]accept exits with 8 [00:20:40]New connection [00:20:40]New thread 3066928484 created [00:20:40]Thread 3066785124 joined [00:20:40]Waiting for new connection... [00:20:40] Sock 8.Parse request [00:20:40]Sock 8.Check first char [00:20:40]Sock 8.First char is OK [00:20:40]request: POST /json_proto HTTP/1.0 [00:20:40]Method: POST [00:20:40]URL: /json_proto [00:20:40]Method is POST - this is cgi request [00:20:40]url: /json_proto [00:20:40]query_string will be loaded in cgi processing [00:20:40]execute_cgi json_proto POST (null) [00:20:40]execute_cgi path=json_proto method=POST [00:20:40]POST find Content-Length [00:20:40]Host: 172.17.45.8:8080 [00:20:40]Content-Length: 331 [00:20:40]Content-Type: application/json [00:20:40] [00:20:40]POST finish read [00:20:40]Found Content-Length = 331 [00:20:40]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:20:40]execute_script... [00:20:40]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:20:40]POST & json_proto [00:20:40]process_json_proto [00:20:40]json parsed OK: [00:20:40]protocol is kg_v1.0 [00:20:40]action value=get_value [00:20:40]process_action get_value [00:20:40]cmd_get_value [00:20:40]process_action get_value done [00:20:40]requested_data is exist [00:20:40]produce_requested_data [00:20:40]requested_item fm.sale.total is exist - process it [00:20:40]SAM_PROTO_GetFMData [00:20:40]wFMCommunicate request_size=4 [00:20:40]MH_SAM_APDU [00:20:40]CAPDU: 80 13 03 00 [00:20:40]Write to MH i2c: E2 08 00 C6 0A 80 13 03 00 00 00 00 00 4F [00:20:40]Write i2c OK [00:20:40]MH_I2C_Read... [00:20:40]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:20:40]Read from MH i2c: E2 [00:20:40]MH_I2C_Read... [00:20:40]Read from MH i2c: E2 FD 00 [00:20:40]MH_I2C_Read... [00:20:40]Read from MH i2c: E2 FD 00 C6 0A 00 C1 04 85 04 BD 04 6E 04 04 00 75 66 00 00 69 04 A0 00 6F 04 04 00 47 66 00 00 B1 04 04 00 D4 51 7A 23 70 04 04 00 F8 0F 26 22 72 04 04 00 DC 41 54 01 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 4D 74 C4 03 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 57 53 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 D4 A7 1A 70 04 03 00 04 A5 15 72 04 03 00 D0 02 05 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 AB D4 02 EF 03 09 00 F6 03 90 00 BE [00:20:40]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 75 66 00 00 69 04 A0 00 6F 04 04 00 47 66 00 00 B1 04 04 00 D4 51 7A 23 70 04 04 00 F8 0F 26 22 72 04 04 00 DC 41 54 01 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 4D 74 C4 03 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 57 53 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 D4 A7 1A 70 04 03 00 04 A5 15 72 04 03 00 D0 02 05 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 AB D4 02 EF 03 09 00 F6 03 90 00 [00:20:40]wFMCommunicate OK [00:20:40]wFMCommunicate request_size=4 [00:20:40]MH_SAM_APDU [00:20:40]CAPDU: 80 17 00 00 [00:20:40]Write to MH i2c: E2 08 00 C7 0A 80 17 00 00 00 00 00 00 51 [00:20:40]Write i2c OK [00:20:40]MH_I2C_Read... [00:20:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:41]Read from MH i2c: E2 [00:20:41]MH_I2C_Read... [00:20:41]Read from MH i2c: E2 FD 00 [00:20:41]MH_I2C_Read... [00:20:41]Read from MH i2c: E2 FD 00 C7 0A 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 62 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1E [00:20:41]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 62 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:20:41]wFMCommunicate OK [00:20:41]wFMCommunicate request_size=4 [00:20:41]MH_SAM_APDU [00:20:41]CAPDU: 80 17 00 00 [00:20:41]Write to MH i2c: E2 08 00 C8 0A 80 17 00 00 00 00 00 00 52 [00:20:41]Write i2c OK [00:20:41]MH_I2C_Read... [00:20:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:41]Read from MH i2c: E2 [00:20:41]MH_I2C_Read... [00:20:41]Read from MH i2c: E2 FD 00 [00:20:41]MH_I2C_Read... [00:20:41]Read from MH i2c: E2 FD 00 C8 0A 00 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 90 00 F2 [00:20:41]RAPDU: 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 90 00 [00:20:41]wFMCommunicate OK [00:20:41]wFMCommunicate request_size=4 [00:20:41]MH_SAM_APDU [00:20:41]CAPDU: 80 17 00 00 [00:20:41]Write to MH i2c: E2 08 00 C9 0A 80 17 00 00 00 00 00 00 53 [00:20:41]Write i2c OK [00:20:41]MH_I2C_Read... [00:20:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:41]Read from MH i2c: E2 [00:20:41]MH_I2C_Read... [00:20:41]Read from MH i2c: E2 FD 00 [00:20:41]MH_I2C_Read... [00:20:41]Read from MH i2c: E2 FD 00 C9 0A 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D8 [00:20:41]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:20:41]wFMCommunicate OK [00:20:41]wFMCommunicate request_size=4 [00:20:41]MH_SAM_APDU [00:20:41]CAPDU: 80 17 00 00 [00:20:41]Write to MH i2c: E2 08 00 CA 0A 80 17 00 00 00 00 00 00 54 [00:20:41]Write i2c OK [00:20:41]MH_I2C_Read... [00:20:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:20:42]Read from MH i2c: E2 [00:20:42]MH_I2C_Read... [00:20:42]Read from MH i2c: E2 DE 00 [00:20:42]MH_I2C_Read... [00:20:42]Read from MH i2c: E2 DE 00 CA 0A 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 90 00 33 [00:20:42]RAPDU: 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 90 00 [00:20:42]wFMCommunicate OK [00:20:42]SAM_PROTO_GetFMData done [00:20:42]requested_item fm.sale_refund.total is exist - process it [00:20:42]requested_item fm.buy.total is exist - process it [00:20:42]requested_item shift.sale.total is exist - process it [00:20:42]SAM_PROTO_GetShiftData [00:20:42]wFMCommunicate request_size=4 [00:20:42]MH_SAM_APDU [00:20:42]CAPDU: 80 13 02 00 [00:20:42]Write to MH i2c: E2 08 00 CB 0A 80 13 02 00 00 00 00 00 53 [00:20:42]Write i2c OK [00:20:42]MH_I2C_Read... [00:20:42]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:20:42]Read from MH i2c: E2 [00:20:42]MH_I2C_Read... [00:20:42]Read from MH i2c: E2 FD 00 [00:20:42]MH_I2C_Read... [00:20:42]Read from MH i2c: E2 FD 00 CB 0A 00 AE 04 AA 04 AA 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 70 D7 12 70 04 03 00 F4 69 10 72 04 03 00 7C 6D 02 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 34 00 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 9F 2A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 56 [00:20:42]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 70 D7 12 70 04 03 00 F4 69 10 72 04 03 00 7C 6D 02 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 34 00 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 9F 2A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:20:42]wFMCommunicate OK [00:20:42]wFMCommunicate request_size=4 [00:20:42]MH_SAM_APDU [00:20:42]CAPDU: 80 17 00 00 [00:20:42]Write to MH i2c: E2 08 00 CC 0A 80 17 00 00 00 00 00 00 56 [00:20:42]Write i2c OK [00:20:42]MH_I2C_Read... [00:20:42]OFD Sender: No OFD packet to send [00:20:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:43]Read from MH i2c: E2 [00:20:43]MH_I2C_Read... [00:20:43]Read from MH i2c: E2 FD 00 [00:20:43]MH_I2C_Read... [00:20:43]Read from MH i2c: E2 FD 00 CC 0A 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 78 [00:20:43]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:20:43]wFMCommunicate OK [00:20:43]wFMCommunicate request_size=4 [00:20:43]MH_SAM_APDU [00:20:43]CAPDU: 80 17 00 00 [00:20:43]Write to MH i2c: E2 08 00 CD 0A 80 17 00 00 00 00 00 00 57 [00:20:43]Write i2c OK [00:20:43]MH_I2C_Read... [00:20:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:43]Read from MH i2c: E2 [00:20:43]MH_I2C_Read... [00:20:43]Read from MH i2c: E2 FD 00 [00:20:43]MH_I2C_Read... [00:20:43]Read from MH i2c: E2 FD 00 CD 0A 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 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 0E [00:20:43]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:20:43]wFMCommunicate OK [00:20:43]wFMCommunicate request_size=4 [00:20:43]MH_SAM_APDU [00:20:43]CAPDU: 80 17 00 00 [00:20:43]Write to MH i2c: E2 08 00 CE 0A 80 17 00 00 00 00 00 00 58 [00:20:43]Write i2c OK [00:20:43]MH_I2C_Read... [00:20:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:43]Read from MH i2c: E2 [00:20:43]MH_I2C_Read... [00:20:43]Read from MH i2c: E2 FD 00 [00:20:43]MH_I2C_Read... [00:20:43]Read from MH i2c: E2 FD 00 CE 0A 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 CA [00:20:43]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:20:43]wFMCommunicate OK [00:20:43]wFMCommunicate request_size=4 [00:20:43]MH_SAM_APDU [00:20:43]CAPDU: 80 17 00 00 [00:20:43]Write to MH i2c: E2 08 00 CF 0A 80 17 00 00 00 00 00 00 59 [00:20:43]Write i2c OK [00:20:43]MH_I2C_Read... [00:20:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:20:44]Read from MH i2c: E2 [00:20:44]MH_I2C_Read... [00:20:44]Read from MH i2c: E2 CB 00 [00:20:44]MH_I2C_Read... [00:20:44]Read from MH i2c: E2 CB 00 CF 0A 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 42 [00:20:44]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:20:44]wFMCommunicate OK [00:20:44]SAM_PROTO_GetShiftData done [00:20:44]requested_item shift.sale.total_cash is exist - process it [00:20:44]requested_item shift.sale_refund.total is exist - process it [00:20:44]requested_item shift.sale_refund.total_cash is exist - process it [00:20:44]requested_item shift.buy.total is exist - process it [00:20:44]requested_item shift.buy.total_cash is exist - process it [00:20:44]produce_requested_data done [00:20:44]produce_requested_data return {"fm.sale.total":5952189.00,"fm.sale_refund.total":17469.00,"fm.buy.total":0.00,"shift.sale.total":12348.00,"shift.sale.total_cash":10757.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:20:44]process_action_free get_value [00:20:44]json_value_free [00:20:44]json_value_free done [00:20:44]process_json_proto returns [00:20:44]Send response to host [00:20:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":5952189.00,"fm.sale_refund.total":17469.00,"fm.buy.total":0.00,"shift.sale.total":12348.00,"shift.sale.total_cash":10757.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:20:44]free response buf [00:20:44]execute_script done [00:20:44]execute_script returns [00:20:44]free content buf [00:20:44]Sock 8.Close socket [00:20:44]Sock 8.Thread stoped [00:20:44]accept exits with 9 [00:20:44]New connection [00:20:44]New thread 3066785124 created [00:20:44]Thread 3066928484 joined [00:20:44]Waiting for new connection... [00:20:44] Sock 9.Parse request [00:20:44]Sock 9.Check first char [00:20:44]Sock 9.First char is OK [00:20:44]request: POST /json_proto HTTP/1.0 [00:20:44]Method: POST [00:20:44]URL: /json_proto [00:20:44]Method is POST - this is cgi request [00:20:44]url: /json_proto [00:20:44]query_string will be loaded in cgi processing [00:20:44]execute_cgi json_proto POST (null) [00:20:44]execute_cgi path=json_proto method=POST [00:20:44]POST find Content-Length [00:20:44]Host: 172.17.45.8:8080 [00:20:44]Content-Length: 251 [00:20:44]Content-Type: application/json [00:20:44] [00:20:44]POST finish read [00:20:44]Found Content-Length = 251 [00:20:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0425\u043E\u0448\u0438\u043C\u043E\u0432 \u0417. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:20:44]execute_script... [00:20:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0425\u043E\u0448\u0438\u043C\u043E\u0432 \u0417. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:20:44]POST & json_proto [00:20:44]process_json_proto [00:20:44]json parsed OK: [00:20:44]protocol is kg_v1.0 [00:20:44]action value=x_report [00:20:44]process_action x_report [00:20:44]cmd_x_report [00:20:44]MH_GetDate [00:20:44]Write to MH i2c: F0 00 00 D0 0A C9 [00:20:44]Write i2c OK [00:20:44]MH_I2C_Read... [00:20:44]Read from MH i2c: F0 [00:20:44]MH_I2C_Read... [00:20:44]Read from MH i2c: F0 09 00 [00:20:44]MH_I2C_Read... [00:20:44]Read from MH i2c: F0 09 00 D0 0A 00 5F E0 A6 66 A6 1F 7F 64 C5 [00:20:44]GetLastDocTimeStamp 1722211972 [00:20:44]current date 1722212447 [00:20:44]FM_GetShiftState [00:20:44]SAM_PROTO_GetShiftState [00:20:44]wFMCommunicate request_size=4 [00:20:44]MH_SAM_APDU [00:20:44]CAPDU: 80 13 01 00 [00:20:44]Write to MH i2c: E2 08 00 D1 0A 80 13 01 00 00 00 00 00 58 [00:20:44]Write i2c OK [00:20:44]MH_I2C_Read... [00:20:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:20:44]Read from MH i2c: E2 [00:20:44]MH_I2C_Read... [00:20:44]Read from MH i2c: E2 0E 00 [00:20:44]MH_I2C_Read... [00:20:44]Read from MH i2c: E2 0E 00 D1 0A 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 80 [00:20:44]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [00:20:44]wFMCommunicate OK [00:20:44]SAM_PROTO_GetShiftState done [00:20:44]FM_GetShiftState done [00:20:44]KKMCreateXReportDocument [00:20:44]Load OK [00:20:44]Malloc new data [00:20:44]MH_GetDate [00:20:44]Write to MH i2c: F0 00 00 D2 0A CB [00:20:44]Write i2c OK [00:20:44]MH_I2C_Read... [00:20:44]Read from MH i2c: F0 [00:20:44]MH_I2C_Read... [00:20:44]Read from MH i2c: F0 09 00 [00:20:44]MH_I2C_Read... [00:20:44]Read from MH i2c: F0 09 00 D2 0A 00 5F E0 A6 66 A6 1F 7F 64 C7 [00:20:44]Malloc new data [00:20:44]Malloc new data [00:20:44]wFMCommunicate request_size=4 [00:20:44]MH_SAM_APDU [00:20:44]CAPDU: 80 11 00 00 [00:20:44]Write to MH i2c: E2 08 00 D3 0A 80 11 00 00 00 00 00 00 57 [00:20:44]Write i2c OK [00:20:44]MH_I2C_Read... [00:20:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:20:44]Read from MH i2c: E2 [00:20:44]MH_I2C_Read... [00:20:44]Read from MH i2c: E2 17 00 [00:20:44]MH_I2C_Read... [00:20:44]Read from MH i2c: E2 17 00 D3 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 B0 [00:20:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [00:20:44]wFMCommunicate OK [00:20:44]SAM_PROTO_GetFieldsCounters [00:20:44]wFMCommunicate request_size=4 [00:20:44]MH_SAM_APDU [00:20:44]CAPDU: 80 13 00 00 [00:20:44]Write to MH i2c: E2 08 00 D4 0A 80 13 00 00 00 00 00 00 5A [00:20:44]Write i2c OK [00:20:44]MH_I2C_Read... [00:20:44]Read from MH i2c: E2 [00:20:44]MH_I2C_Read... [00:20:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:20:44]Read from MH i2c: E2 62 00 [00:20:44]MH_I2C_Read... [00:20:44]Read from MH i2c: E2 62 00 D4 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D7 69 00 00 0E 04 04 00 B1 01 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 4F [00:20:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D7 69 00 00 0E 04 04 00 B1 01 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 [00:20:44]wFMCommunicate OK [00:20:44]SAM_PROTO_GetFieldsCounters done [00:20:44]Malloc new data [00:20:44]Malloc new data [00:20:44]Malloc new data [00:20:44]KKMCreateXReportDocument OK [00:20:44]KKMSetXReportData OK [00:20:44]KKMPrepareXReportFMData [00:20:44]SAM_PROTO_GetShiftData [00:20:44]wFMCommunicate request_size=4 [00:20:44]MH_SAM_APDU [00:20:44]CAPDU: 80 13 02 00 [00:20:44]Write to MH i2c: E2 08 00 D5 0A 80 13 02 00 00 00 00 00 5D [00:20:44]Write i2c OK [00:20:44]MH_I2C_Read... [00:20:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:20:45]Read from MH i2c: E2 [00:20:45]MH_I2C_Read... [00:20:45]Read from MH i2c: E2 FD 00 [00:20:45]MH_I2C_Read... [00:20:45]Read from MH i2c: E2 FD 00 D5 0A 00 AE 04 AA 04 AA 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 70 D7 12 70 04 03 00 F4 69 10 72 04 03 00 7C 6D 02 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 34 00 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 9F 2A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 60 [00:20:45]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 70 D7 12 70 04 03 00 F4 69 10 72 04 03 00 7C 6D 02 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 34 00 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 9F 2A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:20:45]wFMCommunicate OK [00:20:45]wFMCommunicate request_size=4 [00:20:45]MH_SAM_APDU [00:20:45]CAPDU: 80 17 00 00 [00:20:45]Write to MH i2c: E2 08 00 D6 0A 80 17 00 00 00 00 00 00 60 [00:20:45]Write i2c OK [00:20:45]MH_I2C_Read... [00:20:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:45]Read from MH i2c: E2 [00:20:45]MH_I2C_Read... [00:20:45]Read from MH i2c: E2 FD 00 [00:20:45]MH_I2C_Read... [00:20:45]Read from MH i2c: E2 FD 00 D6 0A 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 82 [00:20:45]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:20:45]wFMCommunicate OK [00:20:45]wFMCommunicate request_size=4 [00:20:45]MH_SAM_APDU [00:20:45]CAPDU: 80 17 00 00 [00:20:45]Write to MH i2c: E2 08 00 D7 0A 80 17 00 00 00 00 00 00 61 [00:20:45]Write i2c OK [00:20:45]MH_I2C_Read... [00:20:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:45]Read from MH i2c: E2 [00:20:45]MH_I2C_Read... [00:20:45]Read from MH i2c: E2 FD 00 [00:20:45]MH_I2C_Read... [00:20:45]Read from MH i2c: E2 FD 00 D7 0A 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 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 18 [00:20:45]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:20:46]wFMCommunicate OK [00:20:46]wFMCommunicate request_size=4 [00:20:46]MH_SAM_APDU [00:20:46]CAPDU: 80 17 00 00 [00:20:46]Write to MH i2c: E2 08 00 D8 0A 80 17 00 00 00 00 00 00 62 [00:20:46]Write i2c OK [00:20:46]MH_I2C_Read... [00:20:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:46]Read from MH i2c: E2 [00:20:46]MH_I2C_Read... [00:20:46]Read from MH i2c: E2 FD 00 [00:20:46]MH_I2C_Read... [00:20:46]Read from MH i2c: E2 FD 00 D8 0A 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 D4 [00:20:46]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:20:46]wFMCommunicate OK [00:20:46]wFMCommunicate request_size=4 [00:20:46]MH_SAM_APDU [00:20:46]CAPDU: 80 17 00 00 [00:20:46]Write to MH i2c: E2 08 00 D9 0A 80 17 00 00 00 00 00 00 63 [00:20:46]Write i2c OK [00:20:46]MH_I2C_Read... [00:20:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:20:46]Read from MH i2c: E2 [00:20:46]MH_I2C_Read... [00:20:46]Read from MH i2c: E2 CB 00 [00:20:46]MH_I2C_Read... [00:20:46]Read from MH i2c: E2 CB 00 D9 0A 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 4C [00:20:46]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:20:46]wFMCommunicate OK [00:20:46]SAM_PROTO_GetShiftData done [00:20:46]1194 (1194) - счетчики итогов смены [00:20:46] 1134 (4) - 73 - количество чеков со всеми признаками расчетов [00:20:46] 1129 (155) - счетчики операций «приход» [00:20:46] 1135 (4) - 73 - количество чеков по признаку расчетов [00:20:46] 1201 (3) - 12348.00 - общая итоговая сумма в чеках [00:20:46] 1136 (3) - 10757.00 - итоговая сумма в чеках наличными [00:20:46] 1138 (3) - 1591.00 - итоговая сумма в чеках безналичными [00:20:46] 1024 (122) - суммы налогов [00:20:46] 1006 (9) - суммы НДС [00:20:46] 1010 (1) - 0% - код ставки НДС [00:20:46] 1011 (0) - 0.00 - сумма НДС по ставке [00:20:46] 1006 (12) - суммы НДС [00:20:46] 1010 (1) - 12% - код ставки НДС [00:20:46] 1011 (3) - 1311.24 - сумма НДС по ставке [00:20:46] 1007 (9) - суммы НСП [00:20:46] 1014 (1) - 0% - код ставки НСП [00:20:46] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:46] 1007 (11) - суммы НСП [00:20:46] 1014 (1) - 1% - код ставки НСП [00:20:46] 1015 (2) - 109.11 - сумма НСП по ставке [00:20:46] 1007 (9) - суммы НСП [00:20:46] 1014 (1) - 2% - код ставки НСП [00:20:46] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:46] 1007 (9) - суммы НСП [00:20:46] 1014 (1) - 3% - код ставки НСП [00:20:46] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:46] 1007 (9) - суммы НСП [00:20:46] 1014 (1) - 5% - код ставки НСП [00:20:46] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:46] 1007 (9) - суммы НСП [00:20:46] 1014 (1) - 0,50% - код ставки НСП [00:20:46] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:46] 1007 (9) - суммы НСП [00:20:46] 1014 (1) - 1,50% - код ставки НСП [00:20:46] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:46] 1130 (141) - счетчики операций «возврат прихода» [00:20:46] 1135 (4) - 0 - количество чеков по признаку расчетов [00:20:46] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:20:47] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:20:47] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:20:47] 1024 (117) - суммы налогов [00:20:47] 1006 (9) - суммы НДС [00:20:47] 1010 (1) - 0% - код ставки НДС [00:20:47] 1011 (0) - 0.00 - сумма НДС по ставке [00:20:47] 1006 (9) - суммы НДС [00:20:47] 1010 (1) - 12% - код ставки НДС [00:20:47] 1011 (0) - 0.00 - сумма НДС по ставке [00:20:47] 1007 (9) - суммы НСП [00:20:47] 1014 (1) - 0% - код ставки НСП [00:20:47] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:47] 1007 (9) - суммы НСП [00:20:47] 1014 (1) - 1% - код ставки НСП [00:20:47] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:47] 1007 (9) - суммы НСП [00:20:47] 1014 (1) - 2% - код ставки НСП [00:20:47] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:47] 1007 (9) - суммы НСП [00:20:47] 1014 (1) - 3% - код ставки НСП [00:20:47] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:47] 1007 (9) - суммы НСП [00:20:47] 1014 (1) - 5% - код ставки НСП [00:20:47] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:47] 1007 (9) - суммы НСП [00:20:47] 1014 (1) - 0,50% - код ставки НСП [00:20:47] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:47] 1007 (9) - суммы НСП [00:20:47] 1014 (1) - 1,50% - код ставки НСП [00:20:47] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:47] 1131 (141) - счетчики операций «расход» [00:20:47] 1135 (4) - 0 - количество чеков по признаку расчетов [00:20:47] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:20:47] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:20:47] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:20:47] 1024 (117) - суммы налогов [00:20:47] 1006 (9) - суммы НДС [00:20:47] 1010 (1) - 0% - код ставки НДС [00:20:47] 1011 (0) - 0.00 - сумма НДС по ставке [00:20:47] 1006 (9) - суммы НДС [00:20:47] 1010 (1) - 12% - код ставки НДС [00:20:47] 1011 (0) - 0.00 - сумма НДС по ставке [00:20:47] 1007 (9) - суммы НСП [00:20:47] 1014 (1) - 0% - код ставки НСП [00:20:47] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:47] 1007 (9) - суммы НСП [00:20:47] 1014 (1) - 1% - код ставки НСП [00:20:47] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:47] 1007 (9) - суммы НСП [00:20:47] 1014 (1) - 2% - код ставки НСП [00:20:47] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:47] 1007 (9) - суммы НСП [00:20:47] 1014 (1) - 3% - код ставки НСП [00:20:47] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:47] 1007 (9) - суммы НСП [00:20:47] 1014 (1) - 5% - код ставки НСП [00:20:47] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:47] 1007 (9) - суммы НСП [00:20:47] 1014 (1) - 0,50% - код ставки НСП [00:20:47] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:47] 1007 (9) - суммы НСП [00:20:47] 1014 (1) - 1,50% - код ставки НСП [00:20:47] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:47] 1132 (141) - счетчики операций «возврат расхода» [00:20:47] 1135 (4) - 0 - количество чеков по признаку расчетов [00:20:47] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:20:47] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:20:47] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:20:47] 1024 (117) - суммы налогов [00:20:47] 1006 (9) - суммы НДС [00:20:47] 1010 (1) - 0% - код ставки НДС [00:20:47] 1011 (0) - 0.00 - сумма НДС по ставке [00:20:47] 1006 (9) - суммы НДС [00:20:47] 1010 (1) - 12% - код ставки НДС [00:20:47] 1011 (0) - 0.00 - сумма НДС по ставке [00:20:47] 1007 (9) - суммы НСП [00:20:47] 1014 (1) - 0% - код ставки НСП [00:20:47] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:47] 1007 (9) - суммы НСП [00:20:47] 1014 (1) - 1% - код ставки НСП [00:20:47] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:47] 1007 (9) - суммы НСП [00:20:47] 1014 (1) - 2% - код ставки НСП [00:20:47] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:47] 1007 (9) - суммы НСП [00:20:47] 1014 (1) - 3% - код ставки НСП [00:20:47] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:47] 1007 (9) - суммы НСП [00:20:47] 1014 (1) - 5% - код ставки НСП [00:20:47] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:47] 1007 (9) - суммы НСП [00:20:47] 1014 (1) - 0,50% - код ставки НСП [00:20:47] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:47] 1007 (9) - суммы НСП [00:20:47] 1014 (1) - 1,50% - код ставки НСП [00:20:47] 1015 (0) - 0.00 - сумма НСП по ставке [00:20:47] 1133 (588) - - счетчики коррекции - не используются [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1194 (04AA) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1134 (046E) [00:20:47]Malloc new data [00:20:47]Processing tag 1129 (0469) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1135 (046F) [00:20:47]Malloc new data [00:20:47]Processing tag 1201 (04B1) [00:20:47]Malloc new data [00:20:47]Processing tag 1136 (0470) [00:20:47]Malloc new data [00:20:47]Processing tag 1138 (0472) [00:20:47]Malloc new data [00:20:47]Processing tag 1024 (0400) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1006 (03EE) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1010 (03F2) [00:20:47]Malloc new data [00:20:47]Processing tag 1011 (03F3) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1006 (03EE) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1010 (03F2) [00:20:47]Malloc new data [00:20:47]Processing tag 1011 (03F3) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1007 (03EF) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1014 (03F6) [00:20:47]Malloc new data [00:20:47]Processing tag 1015 (03F7) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1007 (03EF) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1014 (03F6) [00:20:47]Malloc new data [00:20:47]Processing tag 1015 (03F7) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1007 (03EF) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1014 (03F6) [00:20:47]Malloc new data [00:20:47]Processing tag 1015 (03F7) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1007 (03EF) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1014 (03F6) [00:20:47]Malloc new data [00:20:47]Processing tag 1015 (03F7) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1007 (03EF) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1014 (03F6) [00:20:47]Malloc new data [00:20:47]Processing tag 1015 (03F7) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1007 (03EF) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1014 (03F6) [00:20:47]Malloc new data [00:20:47]Processing tag 1015 (03F7) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1007 (03EF) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1014 (03F6) [00:20:47]Malloc new data [00:20:47]Processing tag 1015 (03F7) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]SetTLVBufToDocument err=0 [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1130 (046A) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1135 (046F) [00:20:47]Malloc new data [00:20:47]Processing tag 1201 (04B1) [00:20:47]Malloc new data [00:20:47]Processing tag 1136 (0470) [00:20:47]Malloc new data [00:20:47]Processing tag 1138 (0472) [00:20:47]Malloc new data [00:20:47]Processing tag 1024 (0400) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1006 (03EE) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1010 (03F2) [00:20:47]Malloc new data [00:20:47]Processing tag 1011 (03F3) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1006 (03EE) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1010 (03F2) [00:20:47]Malloc new data [00:20:47]Processing tag 1011 (03F3) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1007 (03EF) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1014 (03F6) [00:20:47]Malloc new data [00:20:47]Processing tag 1015 (03F7) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1007 (03EF) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1014 (03F6) [00:20:47]Malloc new data [00:20:47]Processing tag 1015 (03F7) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1007 (03EF) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1014 (03F6) [00:20:47]Malloc new data [00:20:47]Processing tag 1015 (03F7) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1007 (03EF) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1014 (03F6) [00:20:47]Malloc new data [00:20:47]Processing tag 1015 (03F7) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1007 (03EF) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1014 (03F6) [00:20:47]Malloc new data [00:20:47]Processing tag 1015 (03F7) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1007 (03EF) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1014 (03F6) [00:20:47]Malloc new data [00:20:47]Processing tag 1015 (03F7) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1007 (03EF) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1014 (03F6) [00:20:47]Malloc new data [00:20:47]Processing tag 1015 (03F7) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]SetTLVBufToDocument err=0 [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1131 (046B) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1135 (046F) [00:20:47]Malloc new data [00:20:47]Processing tag 1201 (04B1) [00:20:47]Malloc new data [00:20:47]Processing tag 1136 (0470) [00:20:47]Malloc new data [00:20:47]Processing tag 1138 (0472) [00:20:47]Malloc new data [00:20:47]Processing tag 1024 (0400) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1006 (03EE) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1010 (03F2) [00:20:47]Malloc new data [00:20:47]Processing tag 1011 (03F3) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1006 (03EE) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1010 (03F2) [00:20:47]Malloc new data [00:20:47]Processing tag 1011 (03F3) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1007 (03EF) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1014 (03F6) [00:20:47]Malloc new data [00:20:47]Processing tag 1015 (03F7) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1007 (03EF) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1014 (03F6) [00:20:47]Malloc new data [00:20:47]Processing tag 1015 (03F7) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1007 (03EF) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1014 (03F6) [00:20:47]Malloc new data [00:20:47]Processing tag 1015 (03F7) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1007 (03EF) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1014 (03F6) [00:20:47]Malloc new data [00:20:47]Processing tag 1015 (03F7) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1007 (03EF) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1014 (03F6) [00:20:47]Malloc new data [00:20:47]Processing tag 1015 (03F7) [00:20:47]Malloc new data [00:20:47]SetTLVBufToDocument err=0 [00:20:47]Processing tag 1007 (03EF) [00:20:47]Load OK [00:20:47]SetTLVBufToDocument [00:20:47]Processing tag 1014 (03F6) [00:20:47]Malloc new data [00:20:47]Processing tag 1015 (03F7) [00:20:48]Malloc new data [00:20:48]SetTLVBufToDocument err=0 [00:20:48]Processing tag 1007 (03EF) [00:20:48]Load OK [00:20:48]SetTLVBufToDocument [00:20:48]Processing tag 1014 (03F6) [00:20:48]Malloc new data [00:20:48]Processing tag 1015 (03F7) [00:20:48]Malloc new data [00:20:48]SetTLVBufToDocument err=0 [00:20:48]SetTLVBufToDocument err=0 [00:20:48]SetTLVBufToDocument err=0 [00:20:48]Processing tag 1132 (046C) [00:20:48]Load OK [00:20:48]SetTLVBufToDocument [00:20:48]Processing tag 1135 (046F) [00:20:48]Malloc new data [00:20:48]Processing tag 1201 (04B1) [00:20:48]Malloc new data [00:20:48]Processing tag 1136 (0470) [00:20:48]Malloc new data [00:20:48]Processing tag 1138 (0472) [00:20:48]Malloc new data [00:20:48]Processing tag 1024 (0400) [00:20:48]Load OK [00:20:48]SetTLVBufToDocument [00:20:48]Processing tag 1006 (03EE) [00:20:48]Load OK [00:20:48]SetTLVBufToDocument [00:20:48]Processing tag 1010 (03F2) [00:20:48]Malloc new data [00:20:48]Processing tag 1011 (03F3) [00:20:48]Malloc new data [00:20:48]SetTLVBufToDocument err=0 [00:20:48]Processing tag 1006 (03EE) [00:20:48]Load OK [00:20:48]SetTLVBufToDocument [00:20:48]Processing tag 1010 (03F2) [00:20:48]Malloc new data [00:20:48]Processing tag 1011 (03F3) [00:20:48]Malloc new data [00:20:48]SetTLVBufToDocument err=0 [00:20:48]Processing tag 1007 (03EF) [00:20:48]Load OK [00:20:48]SetTLVBufToDocument [00:20:48]Processing tag 1014 (03F6) [00:20:48]Malloc new data [00:20:48]Processing tag 1015 (03F7) [00:20:48]Malloc new data [00:20:48]SetTLVBufToDocument err=0 [00:20:48]Processing tag 1007 (03EF) [00:20:48]Load OK [00:20:48]SetTLVBufToDocument [00:20:48]Processing tag 1014 (03F6) [00:20:48]Malloc new data [00:20:48]Processing tag 1015 (03F7) [00:20:48]Malloc new data [00:20:48]SetTLVBufToDocument err=0 [00:20:48]Processing tag 1007 (03EF) [00:20:48]Load OK [00:20:48]SetTLVBufToDocument [00:20:48]Processing tag 1014 (03F6) [00:20:48]Malloc new data [00:20:48]Processing tag 1015 (03F7) [00:20:48]Malloc new data [00:20:48]SetTLVBufToDocument err=0 [00:20:48]Processing tag 1007 (03EF) [00:20:48]Load OK [00:20:48]SetTLVBufToDocument [00:20:48]Processing tag 1014 (03F6) [00:20:48]Malloc new data [00:20:48]Processing tag 1015 (03F7) [00:20:48]Malloc new data [00:20:48]SetTLVBufToDocument err=0 [00:20:48]Processing tag 1007 (03EF) [00:20:48]Load OK [00:20:48]SetTLVBufToDocument [00:20:48]Processing tag 1014 (03F6) [00:20:48]Malloc new data [00:20:48]Processing tag 1015 (03F7) [00:20:48]Malloc new data [00:20:48]SetTLVBufToDocument err=0 [00:20:48]Processing tag 1007 (03EF) [00:20:48]Load OK [00:20:48]SetTLVBufToDocument [00:20:48]Processing tag 1014 (03F6) [00:20:48]Malloc new data [00:20:48]Processing tag 1015 (03F7) [00:20:48]Malloc new data [00:20:48]SetTLVBufToDocument err=0 [00:20:48]Processing tag 1007 (03EF) [00:20:48]Load OK [00:20:48]SetTLVBufToDocument [00:20:48]Processing tag 1014 (03F6) [00:20:48]Malloc new data [00:20:48]Processing tag 1015 (03F7) [00:20:48]Malloc new data [00:20:48]SetTLVBufToDocument err=0 [00:20:48]SetTLVBufToDocument err=0 [00:20:48]SetTLVBufToDocument err=0 [00:20:48]Processing tag 1133 (046D) [00:20:48]Malloc new data [00:20:48]SetTLVBufToDocument err=0 [00:20:48]SetTLVBufToDocument err=0 [00:20:48]Malloc new data [00:20:48]SAM_PROTO_GetFMData [00:20:48]wFMCommunicate request_size=4 [00:20:48]MH_SAM_APDU [00:20:48]CAPDU: 80 13 03 00 [00:20:48]Write to MH i2c: E2 08 00 DA 0A 80 13 03 00 00 00 00 00 63 [00:20:48]OFD Sender: No OFD packet to send [00:20:48]Write i2c OK [00:20:48]MH_I2C_Read... [00:20:48]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:20:48]Read from MH i2c: E2 [00:20:48]MH_I2C_Read... [00:20:48]Read from MH i2c: E2 FD 00 [00:20:48]MH_I2C_Read... [00:20:48]Read from MH i2c: E2 FD 00 DA 0A 00 C1 04 85 04 BD 04 6E 04 04 00 75 66 00 00 69 04 A0 00 6F 04 04 00 47 66 00 00 B1 04 04 00 D4 51 7A 23 70 04 04 00 F8 0F 26 22 72 04 04 00 DC 41 54 01 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 4D 74 C4 03 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 57 53 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 D4 A7 1A 70 04 03 00 04 A5 15 72 04 03 00 D0 02 05 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 AB D4 02 EF 03 09 00 F6 03 90 00 D2 [00:20:48]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 75 66 00 00 69 04 A0 00 6F 04 04 00 47 66 00 00 B1 04 04 00 D4 51 7A 23 70 04 04 00 F8 0F 26 22 72 04 04 00 DC 41 54 01 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 4D 74 C4 03 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 57 53 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 D4 A7 1A 70 04 03 00 04 A5 15 72 04 03 00 D0 02 05 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 AB D4 02 EF 03 09 00 F6 03 90 00 [00:20:48]wFMCommunicate OK [00:20:48]wFMCommunicate request_size=4 [00:20:48]MH_SAM_APDU [00:20:48]CAPDU: 80 17 00 00 [00:20:48]Write to MH i2c: E2 08 00 DB 0A 80 17 00 00 00 00 00 00 65 [00:20:48]Write i2c OK [00:20:48]MH_I2C_Read... [00:20:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:49]Read from MH i2c: E2 [00:20:49]MH_I2C_Read... [00:20:49]Read from MH i2c: E2 FD 00 [00:20:49]MH_I2C_Read... [00:20:49]Read from MH i2c: E2 FD 00 DB 0A 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 62 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 32 [00:20:49]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 62 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:20:49]wFMCommunicate OK [00:20:49]wFMCommunicate request_size=4 [00:20:49]MH_SAM_APDU [00:20:49]CAPDU: 80 17 00 00 [00:20:49]Write to MH i2c: E2 08 00 DC 0A 80 17 00 00 00 00 00 00 66 [00:20:49]Write i2c OK [00:20:49]MH_I2C_Read... [00:20:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:49]Read from MH i2c: E2 [00:20:49]MH_I2C_Read... [00:20:49]Read from MH i2c: E2 FD 00 [00:20:49]MH_I2C_Read... [00:20:49]Read from MH i2c: E2 FD 00 DC 0A 00 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 90 00 06 [00:20:49]RAPDU: 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 90 00 [00:20:49]wFMCommunicate OK [00:20:49]wFMCommunicate request_size=4 [00:20:49]MH_SAM_APDU [00:20:49]CAPDU: 80 17 00 00 [00:20:49]Write to MH i2c: E2 08 00 DD 0A 80 17 00 00 00 00 00 00 67 [00:20:49]Write i2c OK [00:20:49]MH_I2C_Read... [00:20:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:50]Read from MH i2c: E2 [00:20:50]MH_I2C_Read... [00:20:50]Read from MH i2c: E2 FD 00 [00:20:50]MH_I2C_Read... [00:20:50]Read from MH i2c: E2 FD 00 DD 0A 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 EC [00:20:50]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:20:50]wFMCommunicate OK [00:20:50]wFMCommunicate request_size=4 [00:20:50]MH_SAM_APDU [00:20:50]CAPDU: 80 17 00 00 [00:20:50]Write to MH i2c: E2 08 00 DE 0A 80 17 00 00 00 00 00 00 68 [00:20:50]Write i2c OK [00:20:50]MH_I2C_Read... [00:20:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:20:50]Read from MH i2c: E2 [00:20:50]MH_I2C_Read... [00:20:50]Read from MH i2c: E2 DE 00 [00:20:50]MH_I2C_Read... [00:20:50]Read from MH i2c: E2 DE 00 DE 0A 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 90 00 47 [00:20:50]RAPDU: 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 90 00 [00:20:50]wFMCommunicate OK [00:20:50]SAM_PROTO_GetFMData done [00:20:50]FM_GetFMData:85 04 BD 04 6E 04 04 00 75 66 00 00 69 04 A0 00 6F 04 04 00 47 66 00 00 B1 04 04 00 D4 51 7A 23 70 04 04 00 F8 0F 26 22 72 04 04 00 DC 41 54 01 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 4D 74 C4 03 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 57 53 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 D4 A7 1A 70 04 03 00 04 A5 15 72 04 03 00 D0 02 05 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 AB D4 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 62 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:20:51]oper:6F 04 04 00 47 66 00 00 B1 04 04 00 D4 51 7A 23 70 04 04 00 F8 0F 26 22 72 04 04 00 DC 41 54 01 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 4D 74 C4 03 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 57 53 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:20:51]total:D4 51 7A 23 [00:20:51]Malloc new data [00:20:51]oper:6F 04 04 00 2E 00 00 00 B1 04 03 00 D4 A7 1A 70 04 03 00 04 A5 15 72 04 03 00 D0 02 05 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 AB D4 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 62 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:20:51]total:D4 A7 1A [00:20:51]Malloc new data [00:20:51]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:20:51]total: [00:20:51]Malloc new data [00:20:51]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:20:51]total: [00:20:51]Malloc new data [00:20:51]KKMPrepareXReportFMData err=0 [00:20:51]Х отчет ИНН: 02508201610067 Кассир: Хошимов З. 29.07.2024 00:20 Смена: 266 РНМ: 0000000000092663 ЗНМ: 0300000043 СНО: Общий режим Всего чеков: 73 ИТОГИ ПРИХОД Чеков: 73 Общий итог: 12348.00 Итого наличными: 10757.00 Итого безнал.: 1591.00 НДС 0% : 0.00 НДС 12% : 1311.24 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 109.11 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 10757.00 НС Приход: 5952189.00 НС Возвр.Прихода: 17469.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000874937 [00:20:51]StoreToDocumentArchive [00:20:51]MH_GetDate [00:20:51]Write to MH i2c: F0 00 00 DF 0A D8 [00:20:51]Write i2c OK [00:20:51]MH_I2C_Read... [00:20:51]Read from MH i2c: F0 [00:20:51]MH_I2C_Read... [00:20:51]Read from MH i2c: F0 09 00 [00:20:51]MH_I2C_Read... [00:20:51]Read from MH i2c: F0 09 00 DF 0A 00 66 E0 A6 66 A6 1F 7F 64 DB [00:20:51]shift 266 fd 1722212454 [00:20:51]Create dir for shift 0266 [00:20:51]save to /storage/0266/doc_1722212454 [00:20:51]save last doc name /storage/0266/doc_1722212454 to /storage/kkm_last_doc_name [00:20:51]save OK [00:20:51]Clear old archive folders... [00:20:51]NVStorageSaveData kkm_last_timestamp [00:20:51]File name is /storage/kkm_last_timestamp [00:20:51]Write 4 bytes [00:20:51]NVStorageSaveData done [00:20:51]ExternCall_PrintAddStr [00:20:51]wPrintStart [00:20:51]Write to MH i2c: 01 00 00 E0 0A EA [00:20:51]Write i2c OK [00:20:51]MH_I2C_Read... [00:20:51]Read from MH i2c: 01 [00:20:51]MH_I2C_Read... [00:20:51]Read from MH i2c: 01 07 00 [00:20:51]MH_I2C_Read... [00:20:51]Read from MH i2c: 01 07 00 E0 0A 00 00 00 00 00 FF 0F FF [00:20:51]RasterBufferAndPrint [00:20:51]line Х отчет [00:20:51]line ИНН: 02508201610067 [00:20:51]line Кассир: Хошимов З. [00:20:51]line 29.07.2024 00:20 [00:20:51]line Смена: 266 [00:20:51]line РНМ: 0000000000092663 [00:20:51]line ЗНМ: 0300000043 [00:20:51]line СНО: Общий режим [00:20:51]line Всего чеков: 73 [00:20:51]line ИТОГИ ПРИХОД [00:20:51]line Чеков: 73 [00:20:51]line Общий итог: 12348.00 [00:20:51]line Итого наличными: 10757.00 [00:20:51]line Итого безнал.: 1591.00 [00:20:51]line НДС 0% : 0.00 [00:20:51]line НДС 12% : 1311.24 [00:20:51]line НСП 0% : 0.00 [00:20:51]line НСП 1,50% : 0.00 [00:20:51]line НСП 0,50% : 0.00 [00:20:51]line НСП 5% : 0.00 [00:20:51]line НСП 3% : 0.00 [00:20:51]line НСП 2% : 0.00 [00:20:51]line НСП 1% : 109.11 [00:20:51]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:20:51]line Чеков: 0 [00:20:51]line Общий итог: 0.00 [00:20:51]line Итого наличными: 0.00 [00:20:51]line Итого безнал.: 0.00 [00:20:51]line НДС 0% : 0.00 [00:20:51]line НДС 12% : 0.00 [00:20:51]line НСП 0% : 0.00 [00:20:51]line НСП 1,50% : 0.00 [00:20:51]line НСП 0,50% : 0.00 [00:20:51]line НСП 5% : 0.00 [00:20:51]line НСП 3% : 0.00 [00:20:51]line НСП 2% : 0.00 [00:20:51]line НСП 1% : 0.00 [00:20:51]line ИТОГИ РАСХОД [00:20:51]line Чеков: 0 [00:20:51]line Общий итог: 0.00 [00:20:51]line Итого наличными: 0.00 [00:20:51]line Итого безнал.: 0.00 [00:20:51]line НДС 0% : 0.00 [00:20:51]line НДС 12% : 0.00 [00:20:51]line НСП 0% : 0.00 [00:20:51]line НСП 1,50% : 0.00 [00:20:51]line НСП 0,50% : 0.00 [00:20:51]line НСП 5% : 0.00 [00:20:51]line НСП 3% : 0.00 [00:20:51]line НСП 2% : 0.00 [00:20:51]line НСП 1% : 0.00 [00:20:51]line ИТОГИ ВОЗВРАТ РАСХОДА [00:20:51]line Чеков: 0 [00:20:51]line Общий итог: 0.00 [00:20:51]line Итого наличными: 0.00 [00:20:51]line Итого безнал.: 0.00 [00:20:51]line НДС 0% : 0.00 [00:20:51]line НДС 12% : 0.00 [00:20:51]line НСП 0% : 0.00 [00:20:51]line НСП 1,50% : 0.00 [00:20:51]line НСП 0,50% : 0.00 [00:20:51]line НСП 5% : 0.00 [00:20:51]line НСП 3% : 0.00 [00:20:51]line НСП 2% : 0.00 [00:20:51]line НСП 1% : 0.00 [00:20:51]line Сумма внесений: 0.00 [00:20:51]line Сумма выплат: 0.00 [00:20:51]line Нал. в кассе: 10757.00 [00:20:51]line НС Приход: 5952189.00 [00:20:51]line НС Возвр.Прихода: 17469.00 [00:20:51]line НС Расход: 0.00 [00:20:51]line НС Возвр.Расхода: 0.00 [00:20:51]line ФМ: 0000000000874937 [00:20:51]written 0, free lines is 4095 [00:20:52]Write to MH i2c: 01 00 00 2B 0B 36 [00:20:52]Write i2c OK [00:20:52]MH_I2C_Read... [00:20:52]Read from MH i2c: 01 [00:20:52]MH_I2C_Read... [00:20:52]Read from MH i2c: 01 07 00 [00:20:52]MH_I2C_Read... [00:20:52]Read from MH i2c: 01 07 00 2B 0B 00 00 00 00 00 BF 0A 06 [00:20:52]RasterBufferAndPrint [00:20:52]line [00:20:52]line [00:20:52]line [00:20:52]line [00:20:52]line [00:20:52]written 0, free lines is 2788 [00:20:52]MH_Cut [00:20:52]Write to MH i2c: D1 01 00 32 0B 01 0F [00:20:52]Write i2c OK [00:20:52]MH_I2C_Read... [00:20:52]Read from MH i2c: D1 [00:20:52]MH_I2C_Read... [00:20:52]Read from MH i2c: D1 01 00 [00:20:52]MH_I2C_Read... [00:20:52]Read from MH i2c: D1 01 00 32 0B 00 0E [00:20:52]Write to MH i2c: 01 00 00 33 0B 3E [00:20:52]Write i2c OK [00:20:52]MH_I2C_Read... [00:20:53]OFD Sender: No OFD packet to send [00:20:53]*** Cut start [00:20:53]*** Partial cut [00:20:53]*** CUTSNS_PIN = 1 [00:20:53]*** CUTSNS_PIN = 0 [00:20:53]*** Brake cut motor [00:20:54]Read from MH i2c: 01 [00:20:54]MH_I2C_Read... [00:20:54]*** Stop cut motor [00:20:54]*** Cut end [00:20:54]Read from MH i2c: 01 07 00 [00:20:54]MH_I2C_Read... [00:20:54]Read from MH i2c: 01 07 00 33 0B 00 00 00 00 00 FF 0F 53 [00:20:54]process_action x_report done [00:20:54]requested_data is exist [00:20:54]produce_requested_data [00:20:54]requested_item fd.num is exist - process it [00:20:54]SAM_PROTO_GetFieldsCounters [00:20:54]wFMCommunicate request_size=4 [00:20:54]MH_SAM_APDU [00:20:54]CAPDU: 80 13 00 00 [00:20:54]Write to MH i2c: E2 08 00 34 0B 80 13 00 00 00 00 00 00 BB [00:20:54]Write i2c OK [00:20:54]MH_I2C_Read... [00:20:54]Read from MH i2c: E2 [00:20:54]MH_I2C_Read... [00:20:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:20:54]Read from MH i2c: E2 62 00 [00:20:54]MH_I2C_Read... [00:20:54]Read from MH i2c: E2 62 00 34 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D7 69 00 00 0E 04 04 00 B1 01 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 B0 [00:20:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D7 69 00 00 0E 04 04 00 B1 01 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 [00:20:54]wFMCommunicate OK [00:20:54]SAM_PROTO_GetFieldsCounters done [00:20:54]requested_item shift.num is exist - process it [00:20:54]requested_item shift.opened is exist - process it [00:20:54]req_shift_opened [00:20:54]FM_GetShiftState [00:20:54]SAM_PROTO_GetShiftState [00:20:54]wFMCommunicate request_size=4 [00:20:54]MH_SAM_APDU [00:20:54]CAPDU: 80 13 01 00 [00:20:54]Write to MH i2c: E2 08 00 35 0B 80 13 01 00 00 00 00 00 BD [00:20:54]Write i2c OK [00:20:54]MH_I2C_Read... [00:20:54]Read from MH i2c: E2 [00:20:54]MH_I2C_Read... [00:20:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:20:54]Read from MH i2c: E2 0E 00 [00:20:54]MH_I2C_Read... [00:20:54]Read from MH i2c: E2 0E 00 35 0B 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 E5 [00:20:54]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [00:20:54]wFMCommunicate OK [00:20:54]SAM_PROTO_GetShiftState done [00:20:54]FM_GetShiftState done [00:20:54]req_shift_opened done [00:20:54]requested_item shift.open_date is exist - process it [00:20:54]req_shift_open_date [00:20:54]req_shift_open_date done [00:20:54]produce_requested_data done [00:20:54]produce_requested_data return {"fd.num":27095,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [00:20:54]process_action_free x_report [00:20:54]json_value_free [00:20:54]json_value_free done [00:20:54]process_json_proto returns [00:20:54]Send response to host [00:20:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":27095,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [00:20:54]free response buf [00:20:54]execute_script done [00:20:54]execute_script returns [00:20:54]free content buf [00:20:54]Sock 9.Close socket [00:20:54]Sock 9.Thread stoped [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:29]accept exits with 8 [00:21:29]New connection [00:21:29]New thread 3066928484 created [00:21:29]Thread 3066785124 joined [00:21:29]Waiting for new connection... [00:21:29] Sock 8.Parse request [00:21:29]Sock 8.Check first char [00:21:29]Sock 8.First char is OK [00:21:29]request: POST /json_proto HTTP/1.0 [00:21:29]Method: POST [00:21:29]URL: /json_proto [00:21:29]Method is POST - this is cgi request [00:21:29]url: /json_proto [00:21:29]query_string will be loaded in cgi processing [00:21:29]execute_cgi json_proto POST (null) [00:21:29]execute_cgi path=json_proto method=POST [00:21:29]POST find Content-Length [00:21:29]Host: 172.17.45.8:8080 [00:21:29]Content-Length: 215 [00:21:29]Content-Type: application/json [00:21:29] [00:21:29]POST finish read [00:21:29]Found Content-Length = 215 [00:21:29]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:21:29]execute_script... [00:21:29]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:21:29]POST & json_proto [00:21:29]process_json_proto [00:21:29]json parsed OK: [00:21:29]protocol is kg_v1.0 [00:21:29]action value=get_value [00:21:29]process_action get_value [00:21:29]cmd_get_value [00:21:29]process_action get_value done [00:21:29]requested_data is exist [00:21:29]produce_requested_data [00:21:29]requested_item kkm.sn is exist - process it [00:21:29]requested_item kkm.ver is exist - process it [00:21:29]requested_item fm.sn is exist - process it [00:21:29]wFMCommunicate request_size=4 [00:21:29]MH_SAM_APDU [00:21:29]CAPDU: 80 11 00 00 [00:21:29]Write to MH i2c: E2 08 00 36 0B 80 11 00 00 00 00 00 00 BB [00:21:29]Write i2c OK [00:21:29]MH_I2C_Read... [00:21:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:21:29]Read from MH i2c: E2 [00:21:29]MH_I2C_Read... [00:21:29]Read from MH i2c: E2 17 00 [00:21:29]MH_I2C_Read... [00:21:29]Read from MH i2c: E2 17 00 36 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 14 [00:21:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [00:21:29]wFMCommunicate OK [00:21:29]requested_item fd.num is exist - process it [00:21:29]SAM_PROTO_GetFieldsCounters [00:21:29]wFMCommunicate request_size=4 [00:21:29]MH_SAM_APDU [00:21:29]CAPDU: 80 13 00 00 [00:21:29]Write to MH i2c: E2 08 00 37 0B 80 13 00 00 00 00 00 00 BE [00:21:29]Write i2c OK [00:21:29]MH_I2C_Read... [00:21:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:21:29]Read from MH i2c: E2 [00:21:29]MH_I2C_Read... [00:21:29]Read from MH i2c: E2 62 00 [00:21:29]MH_I2C_Read... [00:21:29]Read from MH i2c: E2 62 00 37 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D7 69 00 00 0E 04 04 00 B1 01 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 B3 [00:21:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D7 69 00 00 0E 04 04 00 B1 01 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 [00:21:29]wFMCommunicate OK [00:21:29]SAM_PROTO_GetFieldsCounters done [00:21:29]requested_item shift.num is exist - process it [00:21:29]requested_item shift.opened is exist - process it [00:21:29]req_shift_opened [00:21:29]FM_GetShiftState [00:21:29]SAM_PROTO_GetShiftState [00:21:29]wFMCommunicate request_size=4 [00:21:29]MH_SAM_APDU [00:21:29]CAPDU: 80 13 01 00 [00:21:29]Write to MH i2c: E2 08 00 38 0B 80 13 01 00 00 00 00 00 C0 [00:21:29]Write i2c OK [00:21:29]MH_I2C_Read... [00:21:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:21:29]Read from MH i2c: E2 [00:21:29]MH_I2C_Read... [00:21:29]Read from MH i2c: E2 0E 00 [00:21:29]MH_I2C_Read... [00:21:29]Read from MH i2c: E2 0E 00 38 0B 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 E8 [00:21:29]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [00:21:29]wFMCommunicate OK [00:21:29]SAM_PROTO_GetShiftState done [00:21:29]FM_GetShiftState done [00:21:29]req_shift_opened done [00:21:29]requested_item shift.open_date is exist - process it [00:21:29]req_shift_open_date [00:21:29]req_shift_open_date done [00:21:29]produce_requested_data done [00:21:29]produce_requested_data return {"kkm.sn":"0300000043","kkm.ver":"001","fm.sn":"0000000000874937","fd.num":27095,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230} [00:21:29]process_action_free get_value [00:21:29]json_value_free [00:21:29]json_value_free done [00:21:29]process_json_proto returns [00:21:29]Send response to host [00:21:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000043","kkm.ver":"001","fm.sn":"0000000000874937","fd.num":27095,"shift.num":433,"shift.opened":1,"shift.open_date":1722127230}}} [00:21:29]free response buf [00:21:29]execute_script done [00:21:29]execute_script returns [00:21:29]free content buf [00:21:29]Sock 8.Close socket [00:21:29]Sock 8.Thread stoped [00:21:29]accept exits with 9 [00:21:29]New connection [00:21:29]New thread 3066785124 created [00:21:29]Thread 3066928484 joined [00:21:29]Waiting for new connection... [00:21:29] Sock 9.Parse request [00:21:29]Sock 9.Check first char [00:21:29]Sock 9.First char is OK [00:21:29]request: POST /json_proto HTTP/1.0 [00:21:29]Method: POST [00:21:29]URL: /json_proto [00:21:29]Method is POST - this is cgi request [00:21:29]url: /json_proto [00:21:29]query_string will be loaded in cgi processing [00:21:29]execute_cgi json_proto POST (null) [00:21:29]execute_cgi path=json_proto method=POST [00:21:29]POST find Content-Length [00:21:29]Host: 172.17.45.8:8080 [00:21:29]Content-Length: 331 [00:21:29]Content-Type: application/json [00:21:29] [00:21:29]POST finish read [00:21:29]Found Content-Length = 331 [00:21:29]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:21:29]execute_script... [00:21:29]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:21:29]POST & json_proto [00:21:29]process_json_proto [00:21:29]json parsed OK: [00:21:29]protocol is kg_v1.0 [00:21:29]action value=get_value [00:21:29]process_action get_value [00:21:29]cmd_get_value [00:21:29]process_action get_value done [00:21:29]requested_data is exist [00:21:29]produce_requested_data [00:21:29]requested_item fm.sale.total is exist - process it [00:21:29]SAM_PROTO_GetFMData [00:21:29]wFMCommunicate request_size=4 [00:21:29]MH_SAM_APDU [00:21:29]CAPDU: 80 13 03 00 [00:21:29]Write to MH i2c: E2 08 00 39 0B 80 13 03 00 00 00 00 00 C3 [00:21:29]Write i2c OK [00:21:29]MH_I2C_Read... [00:21:30]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:21:30]Read from MH i2c: E2 [00:21:30]MH_I2C_Read... [00:21:30]Read from MH i2c: E2 FD 00 [00:21:30]MH_I2C_Read... [00:21:30]Read from MH i2c: E2 FD 00 39 0B 00 C1 04 85 04 BD 04 6E 04 04 00 75 66 00 00 69 04 A0 00 6F 04 04 00 47 66 00 00 B1 04 04 00 D4 51 7A 23 70 04 04 00 F8 0F 26 22 72 04 04 00 DC 41 54 01 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 4D 74 C4 03 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 57 53 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 D4 A7 1A 70 04 03 00 04 A5 15 72 04 03 00 D0 02 05 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 AB D4 02 EF 03 09 00 F6 03 90 00 32 [00:21:30]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 75 66 00 00 69 04 A0 00 6F 04 04 00 47 66 00 00 B1 04 04 00 D4 51 7A 23 70 04 04 00 F8 0F 26 22 72 04 04 00 DC 41 54 01 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 4D 74 C4 03 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 57 53 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 D4 A7 1A 70 04 03 00 04 A5 15 72 04 03 00 D0 02 05 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 AB D4 02 EF 03 09 00 F6 03 90 00 [00:21:30]wFMCommunicate OK [00:21:30]wFMCommunicate request_size=4 [00:21:30]MH_SAM_APDU [00:21:30]CAPDU: 80 17 00 00 [00:21:30]Write to MH i2c: E2 08 00 3A 0B 80 17 00 00 00 00 00 00 C5 [00:21:30]Write i2c OK [00:21:30]MH_I2C_Read... [00:21:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:30]Read from MH i2c: E2 [00:21:30]MH_I2C_Read... [00:21:30]Read from MH i2c: E2 FD 00 [00:21:30]MH_I2C_Read... [00:21:30]Read from MH i2c: E2 FD 00 3A 0B 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 62 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 92 [00:21:30]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 62 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:21:30]wFMCommunicate OK [00:21:30]wFMCommunicate request_size=4 [00:21:30]MH_SAM_APDU [00:21:30]CAPDU: 80 17 00 00 [00:21:30]Write to MH i2c: E2 08 00 3B 0B 80 17 00 00 00 00 00 00 C6 [00:21:30]Write i2c OK [00:21:30]MH_I2C_Read... [00:21:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:30]Read from MH i2c: E2 [00:21:30]MH_I2C_Read... [00:21:30]Read from MH i2c: E2 FD 00 [00:21:30]MH_I2C_Read... [00:21:30]Read from MH i2c: E2 FD 00 3B 0B 00 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 90 00 66 [00:21:30]RAPDU: 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 90 00 [00:21:30]wFMCommunicate OK [00:21:30]wFMCommunicate request_size=4 [00:21:30]MH_SAM_APDU [00:21:30]CAPDU: 80 17 00 00 [00:21:30]Write to MH i2c: E2 08 00 3C 0B 80 17 00 00 00 00 00 00 C7 [00:21:30]Write i2c OK [00:21:30]MH_I2C_Read... [00:21:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:31]Read from MH i2c: E2 [00:21:31]MH_I2C_Read... [00:21:31]Read from MH i2c: E2 FD 00 [00:21:31]MH_I2C_Read... [00:21:31]Read from MH i2c: E2 FD 00 3C 0B 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4C [00:21:31]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:21:31]wFMCommunicate OK [00:21:31]wFMCommunicate request_size=4 [00:21:31]MH_SAM_APDU [00:21:31]CAPDU: 80 17 00 00 [00:21:31]Write to MH i2c: E2 08 00 3D 0B 80 17 00 00 00 00 00 00 C8 [00:21:31]Write i2c OK [00:21:31]MH_I2C_Read... [00:21:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:21:31]Read from MH i2c: E2 [00:21:31]MH_I2C_Read... [00:21:31]Read from MH i2c: E2 DE 00 [00:21:31]MH_I2C_Read... [00:21:31]Read from MH i2c: E2 DE 00 3D 0B 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 90 00 A7 [00:21:31]RAPDU: 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 90 00 [00:21:31]wFMCommunicate OK [00:21:31]SAM_PROTO_GetFMData done [00:21:31]requested_item fm.sale_refund.total is exist - process it [00:21:31]requested_item fm.buy.total is exist - process it [00:21:31]requested_item shift.sale.total is exist - process it [00:21:31]SAM_PROTO_GetShiftData [00:21:31]wFMCommunicate request_size=4 [00:21:31]MH_SAM_APDU [00:21:31]CAPDU: 80 13 02 00 [00:21:31]Write to MH i2c: E2 08 00 3E 0B 80 13 02 00 00 00 00 00 C7 [00:21:31]Write i2c OK [00:21:31]MH_I2C_Read... [00:21:31]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:21:31]Read from MH i2c: E2 [00:21:31]MH_I2C_Read... [00:21:31]Read from MH i2c: E2 FD 00 [00:21:31]MH_I2C_Read... [00:21:31]Read from MH i2c: E2 FD 00 3E 0B 00 AE 04 AA 04 AA 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 70 D7 12 70 04 03 00 F4 69 10 72 04 03 00 7C 6D 02 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 34 00 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 9F 2A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 CA [00:21:31]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 70 D7 12 70 04 03 00 F4 69 10 72 04 03 00 7C 6D 02 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 34 00 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 9F 2A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:21:31]wFMCommunicate OK [00:21:31]wFMCommunicate request_size=4 [00:21:31]MH_SAM_APDU [00:21:31]CAPDU: 80 17 00 00 [00:21:31]Write to MH i2c: E2 08 00 3F 0B 80 17 00 00 00 00 00 00 CA [00:21:31]Write i2c OK [00:21:31]MH_I2C_Read... [00:21:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:32]Read from MH i2c: E2 [00:21:32]MH_I2C_Read... [00:21:32]Read from MH i2c: E2 FD 00 [00:21:32]MH_I2C_Read... [00:21:32]Read from MH i2c: E2 FD 00 3F 0B 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 EC [00:21:32]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:21:32]wFMCommunicate OK [00:21:32]wFMCommunicate request_size=4 [00:21:32]MH_SAM_APDU [00:21:32]CAPDU: 80 17 00 00 [00:21:32]Write to MH i2c: E2 08 00 40 0B 80 17 00 00 00 00 00 00 CB [00:21:32]Write i2c OK [00:21:32]MH_I2C_Read... [00:21:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:32]Read from MH i2c: E2 [00:21:32]MH_I2C_Read... [00:21:32]Read from MH i2c: E2 FD 00 [00:21:32]MH_I2C_Read... [00:21:32]Read from MH i2c: E2 FD 00 40 0B 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 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 82 [00:21:32]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:21:32]wFMCommunicate OK [00:21:32]wFMCommunicate request_size=4 [00:21:32]MH_SAM_APDU [00:21:32]CAPDU: 80 17 00 00 [00:21:32]Write to MH i2c: E2 08 00 41 0B 80 17 00 00 00 00 00 00 CC [00:21:32]Write i2c OK [00:21:32]MH_I2C_Read... [00:21:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:32]Read from MH i2c: E2 [00:21:32]MH_I2C_Read... [00:21:32]Read from MH i2c: E2 FD 00 [00:21:32]MH_I2C_Read... [00:21:32]Read from MH i2c: E2 FD 00 41 0B 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 3E [00:21:32]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:21:32]wFMCommunicate OK [00:21:32]wFMCommunicate request_size=4 [00:21:32]MH_SAM_APDU [00:21:32]CAPDU: 80 17 00 00 [00:21:32]Write to MH i2c: E2 08 00 42 0B 80 17 00 00 00 00 00 00 CD [00:21:32]Write i2c OK [00:21:32]MH_I2C_Read... [00:21:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:21:33]Read from MH i2c: E2 [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: E2 CB 00 [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: E2 CB 00 42 0B 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 B6 [00:21:33]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:21:33]wFMCommunicate OK [00:21:33]SAM_PROTO_GetShiftData done [00:21:33]requested_item shift.sale.total_cash is exist - process it [00:21:33]requested_item shift.sale_refund.total is exist - process it [00:21:33]requested_item shift.sale_refund.total_cash is exist - process it [00:21:33]requested_item shift.buy.total is exist - process it [00:21:33]requested_item shift.buy.total_cash is exist - process it [00:21:33]produce_requested_data done [00:21:33]produce_requested_data return {"fm.sale.total":5952189.00,"fm.sale_refund.total":17469.00,"fm.buy.total":0.00,"shift.sale.total":12348.00,"shift.sale.total_cash":10757.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:21:33]process_action_free get_value [00:21:33]json_value_free [00:21:33]json_value_free done [00:21:33]process_json_proto returns [00:21:33]Send response to host [00:21:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":5952189.00,"fm.sale_refund.total":17469.00,"fm.buy.total":0.00,"shift.sale.total":12348.00,"shift.sale.total_cash":10757.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:21:33]free response buf [00:21:33]execute_script done [00:21:33]execute_script returns [00:21:33]free content buf [00:21:33]Sock 9.Close socket [00:21:33]Sock 9.Thread stoped [00:21:33]OFD Sender: No OFD packet to send [00:21:33]accept exits with 8 [00:21:33]New connection [00:21:33]New thread 3066928484 created [00:21:33]Thread 3066785124 joined [00:21:33]Waiting for new connection... [00:21:33] Sock 8.Parse request [00:21:33]Sock 8.Check first char [00:21:33]Sock 8.First char is OK [00:21:33]request: POST /json_proto HTTP/1.0 [00:21:33]Method: POST [00:21:33]URL: /json_proto [00:21:33]Method is POST - this is cgi request [00:21:33]url: /json_proto [00:21:33]query_string will be loaded in cgi processing [00:21:33]execute_cgi json_proto POST (null) [00:21:33]execute_cgi path=json_proto method=POST [00:21:33]POST find Content-Length [00:21:33]Host: 172.17.45.8:8080 [00:21:33]Content-Length: 331 [00:21:33]Content-Type: application/json [00:21:33] [00:21:33]POST finish read [00:21:33]Found Content-Length = 331 [00:21:33]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:21:33]execute_script... [00:21:33]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:21:33]POST & json_proto [00:21:33]process_json_proto [00:21:33]json parsed OK: [00:21:33]protocol is kg_v1.0 [00:21:33]action value=get_value [00:21:33]process_action get_value [00:21:33]cmd_get_value [00:21:33]process_action get_value done [00:21:33]requested_data is exist [00:21:33]produce_requested_data [00:21:33]requested_item fm.sale.total is exist - process it [00:21:33]SAM_PROTO_GetFMData [00:21:33]wFMCommunicate request_size=4 [00:21:33]MH_SAM_APDU [00:21:33]CAPDU: 80 13 03 00 [00:21:33]Write to MH i2c: E2 08 00 43 0B 80 13 03 00 00 00 00 00 CD [00:21:33]Write i2c OK [00:21:33]MH_I2C_Read... [00:21:33]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:21:33]Read from MH i2c: E2 [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: E2 FD 00 [00:21:33]MH_I2C_Read... [00:21:33]Read from MH i2c: E2 FD 00 43 0B 00 C1 04 85 04 BD 04 6E 04 04 00 75 66 00 00 69 04 A0 00 6F 04 04 00 47 66 00 00 B1 04 04 00 D4 51 7A 23 70 04 04 00 F8 0F 26 22 72 04 04 00 DC 41 54 01 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 4D 74 C4 03 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 57 53 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 D4 A7 1A 70 04 03 00 04 A5 15 72 04 03 00 D0 02 05 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 AB D4 02 EF 03 09 00 F6 03 90 00 3C [00:21:33]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 75 66 00 00 69 04 A0 00 6F 04 04 00 47 66 00 00 B1 04 04 00 D4 51 7A 23 70 04 04 00 F8 0F 26 22 72 04 04 00 DC 41 54 01 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 4D 74 C4 03 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 57 53 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 D4 A7 1A 70 04 03 00 04 A5 15 72 04 03 00 D0 02 05 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 AB D4 02 EF 03 09 00 F6 03 90 00 [00:21:33]wFMCommunicate OK [00:21:33]wFMCommunicate request_size=4 [00:21:33]MH_SAM_APDU [00:21:33]CAPDU: 80 17 00 00 [00:21:33]Write to MH i2c: E2 08 00 44 0B 80 17 00 00 00 00 00 00 CF [00:21:33]Write i2c OK [00:21:33]MH_I2C_Read... [00:21:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:34]Read from MH i2c: E2 [00:21:34]MH_I2C_Read... [00:21:34]Read from MH i2c: E2 FD 00 [00:21:34]MH_I2C_Read... [00:21:34]Read from MH i2c: E2 FD 00 44 0B 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 62 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9C [00:21:34]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 62 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:21:34]wFMCommunicate OK [00:21:34]wFMCommunicate request_size=4 [00:21:34]MH_SAM_APDU [00:21:34]CAPDU: 80 17 00 00 [00:21:34]Write to MH i2c: E2 08 00 45 0B 80 17 00 00 00 00 00 00 D0 [00:21:34]Write i2c OK [00:21:34]MH_I2C_Read... [00:21:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:34]Read from MH i2c: E2 [00:21:34]MH_I2C_Read... [00:21:34]Read from MH i2c: E2 FD 00 [00:21:34]MH_I2C_Read... [00:21:34]Read from MH i2c: E2 FD 00 45 0B 00 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 90 00 70 [00:21:34]RAPDU: 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 90 00 [00:21:34]wFMCommunicate OK [00:21:34]wFMCommunicate request_size=4 [00:21:34]MH_SAM_APDU [00:21:34]CAPDU: 80 17 00 00 [00:21:34]Write to MH i2c: E2 08 00 46 0B 80 17 00 00 00 00 00 00 D1 [00:21:34]Write i2c OK [00:21:34]MH_I2C_Read... [00:21:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:34]Read from MH i2c: E2 [00:21:34]MH_I2C_Read... [00:21:34]Read from MH i2c: E2 FD 00 [00:21:34]MH_I2C_Read... [00:21:35]Read from MH i2c: E2 FD 00 46 0B 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 56 [00:21:35]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:21:35]wFMCommunicate OK [00:21:35]wFMCommunicate request_size=4 [00:21:35]MH_SAM_APDU [00:21:35]CAPDU: 80 17 00 00 [00:21:35]Write to MH i2c: E2 08 00 47 0B 80 17 00 00 00 00 00 00 D2 [00:21:35]Write i2c OK [00:21:35]MH_I2C_Read... [00:21:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:21:35]Read from MH i2c: E2 [00:21:35]MH_I2C_Read... [00:21:35]Read from MH i2c: E2 DE 00 [00:21:35]MH_I2C_Read... [00:21:35]Read from MH i2c: E2 DE 00 47 0B 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 90 00 B1 [00:21:35]RAPDU: 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 90 00 [00:21:35]wFMCommunicate OK [00:21:35]SAM_PROTO_GetFMData done [00:21:35]requested_item fm.sale_refund.total is exist - process it [00:21:35]requested_item fm.buy.total is exist - process it [00:21:35]requested_item shift.sale.total is exist - process it [00:21:35]SAM_PROTO_GetShiftData [00:21:35]wFMCommunicate request_size=4 [00:21:35]MH_SAM_APDU [00:21:35]CAPDU: 80 13 02 00 [00:21:35]Write to MH i2c: E2 08 00 48 0B 80 13 02 00 00 00 00 00 D1 [00:21:35]Write i2c OK [00:21:35]MH_I2C_Read... [00:21:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:21:35]Read from MH i2c: E2 [00:21:35]MH_I2C_Read... [00:21:35]Read from MH i2c: E2 FD 00 [00:21:36]MH_I2C_Read... [00:21:36]Read from MH i2c: E2 FD 00 48 0B 00 AE 04 AA 04 AA 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 70 D7 12 70 04 03 00 F4 69 10 72 04 03 00 7C 6D 02 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 34 00 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 9F 2A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D4 [00:21:36]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 70 D7 12 70 04 03 00 F4 69 10 72 04 03 00 7C 6D 02 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 34 00 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 9F 2A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:21:36]wFMCommunicate OK [00:21:36]wFMCommunicate request_size=4 [00:21:36]MH_SAM_APDU [00:21:36]CAPDU: 80 17 00 00 [00:21:36]Write to MH i2c: E2 08 00 49 0B 80 17 00 00 00 00 00 00 D4 [00:21:36]Write i2c OK [00:21:36]MH_I2C_Read... [00:21:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:36]Read from MH i2c: E2 [00:21:36]MH_I2C_Read... [00:21:36]Read from MH i2c: E2 FD 00 [00:21:36]MH_I2C_Read... [00:21:36]Read from MH i2c: E2 FD 00 49 0B 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 F6 [00:21:36]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:21:36]wFMCommunicate OK [00:21:36]wFMCommunicate request_size=4 [00:21:36]MH_SAM_APDU [00:21:36]CAPDU: 80 17 00 00 [00:21:36]Write to MH i2c: E2 08 00 4A 0B 80 17 00 00 00 00 00 00 D5 [00:21:36]Write i2c OK [00:21:36]MH_I2C_Read... [00:21:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:36]Read from MH i2c: E2 [00:21:36]MH_I2C_Read... [00:21:36]Read from MH i2c: E2 FD 00 [00:21:36]MH_I2C_Read... [00:21:36]Read from MH i2c: E2 FD 00 4A 0B 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 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 8C [00:21:36]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:21:37]wFMCommunicate OK [00:21:37]wFMCommunicate request_size=4 [00:21:37]MH_SAM_APDU [00:21:37]CAPDU: 80 17 00 00 [00:21:37]Write to MH i2c: E2 08 00 4B 0B 80 17 00 00 00 00 00 00 D6 [00:21:37]Write i2c OK [00:21:37]MH_I2C_Read... [00:21:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:37]Read from MH i2c: E2 [00:21:37]MH_I2C_Read... [00:21:37]Read from MH i2c: E2 FD 00 [00:21:37]MH_I2C_Read... [00:21:37]Read from MH i2c: E2 FD 00 4B 0B 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 48 [00:21:37]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:21:37]wFMCommunicate OK [00:21:37]wFMCommunicate request_size=4 [00:21:37]MH_SAM_APDU [00:21:37]CAPDU: 80 17 00 00 [00:21:37]Write to MH i2c: E2 08 00 4C 0B 80 17 00 00 00 00 00 00 D7 [00:21:37]Write i2c OK [00:21:37]MH_I2C_Read... [00:21:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:21:37]Read from MH i2c: E2 [00:21:37]MH_I2C_Read... [00:21:37]Read from MH i2c: E2 CB 00 [00:21:37]MH_I2C_Read... [00:21:37]Read from MH i2c: E2 CB 00 4C 0B 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 C0 [00:21:37]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:21:37]wFMCommunicate OK [00:21:37]SAM_PROTO_GetShiftData done [00:21:37]requested_item shift.sale.total_cash is exist - process it [00:21:37]requested_item shift.sale_refund.total is exist - process it [00:21:37]requested_item shift.sale_refund.total_cash is exist - process it [00:21:37]requested_item shift.buy.total is exist - process it [00:21:37]requested_item shift.buy.total_cash is exist - process it [00:21:37]produce_requested_data done [00:21:37]produce_requested_data return {"fm.sale.total":5952189.00,"fm.sale_refund.total":17469.00,"fm.buy.total":0.00,"shift.sale.total":12348.00,"shift.sale.total_cash":10757.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:21:37]process_action_free get_value [00:21:37]json_value_free [00:21:37]json_value_free done [00:21:37]process_json_proto returns [00:21:37]Send response to host [00:21:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":5952189.00,"fm.sale_refund.total":17469.00,"fm.buy.total":0.00,"shift.sale.total":12348.00,"shift.sale.total_cash":10757.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:21:37]free response buf [00:21:37]execute_script done [00:21:37]execute_script returns [00:21:37]free content buf [00:21:37]Sock 8.Close socket [00:21:37]Sock 8.Thread stoped [00:21:37]accept exits with 9 [00:21:37]New connection [00:21:37]New thread 3066785124 created [00:21:37]Thread 3066928484 joined [00:21:37]Waiting for new connection... [00:21:37] Sock 9.Parse request [00:21:37]Sock 9.Check first char [00:21:37]Sock 9.First char is OK [00:21:37]request: POST /json_proto HTTP/1.0 [00:21:37]Method: POST [00:21:37]URL: /json_proto [00:21:37]Method is POST - this is cgi request [00:21:37]url: /json_proto [00:21:37]query_string will be loaded in cgi processing [00:21:37]execute_cgi json_proto POST (null) [00:21:37]execute_cgi path=json_proto method=POST [00:21:37]POST find Content-Length [00:21:37]Host: 172.17.45.8:8080 [00:21:37]Content-Length: 254 [00:21:37]Content-Type: application/json [00:21:37] [00:21:37]POST finish read [00:21:37]Found Content-Length = 254 [00:21:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0425\u043E\u0448\u0438\u043C\u043E\u0432 \u0417. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:21:37]execute_script... [00:21:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0425\u043E\u0448\u0438\u043C\u043E\u0432 \u0417. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:21:37]POST & json_proto [00:21:37]process_json_proto [00:21:37]json parsed OK: [00:21:37]protocol is kg_v1.0 [00:21:37]action value=close_shift [00:21:37]process_action close_shift [00:21:37]cmd_close_shift [00:21:37]MH_GetDate [00:21:37]Write to MH i2c: F0 00 00 4D 0B 47 [00:21:37]Write i2c OK [00:21:37]MH_I2C_Read... [00:21:37]Read from MH i2c: F0 [00:21:37]MH_I2C_Read... [00:21:37]Read from MH i2c: F0 09 00 [00:21:37]MH_I2C_Read... [00:21:37]Read from MH i2c: F0 09 00 4D 0B 00 94 E0 A6 66 A6 1F 7F 64 78 [00:21:37]GetLastDocTimeStamp 1722212447 [00:21:37]current date 1722212500 [00:21:37]FM_GetShiftState [00:21:37]SAM_PROTO_GetShiftState [00:21:37]wFMCommunicate request_size=4 [00:21:37]MH_SAM_APDU [00:21:37]CAPDU: 80 13 01 00 [00:21:37]Write to MH i2c: E2 08 00 4E 0B 80 13 01 00 00 00 00 00 D6 [00:21:37]Write i2c OK [00:21:37]MH_I2C_Read... [00:21:38]Read from MH i2c: E2 [00:21:38]MH_I2C_Read... [00:21:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:21:38]Read from MH i2c: E2 0E 00 [00:21:38]MH_I2C_Read... [00:21:38]Read from MH i2c: E2 0E 00 4E 0B 00 09 00 01 7E 93 A5 66 00 00 00 00 90 00 FE [00:21:38]RAPDU: 09 00 01 7E 93 A5 66 00 00 00 00 90 00 [00:21:38]wFMCommunicate OK [00:21:38]SAM_PROTO_GetShiftState done [00:21:38]FM_GetShiftState done [00:21:38]KKMCreateCloseShiftDocument [00:21:38]Load OK [00:21:38]Malloc new data [00:21:38]MH_GetDate [00:21:38]Write to MH i2c: F0 00 00 4F 0B 49 [00:21:38]Write i2c OK [00:21:38]MH_I2C_Read... [00:21:38]Read from MH i2c: F0 [00:21:38]MH_I2C_Read... [00:21:38]Read from MH i2c: F0 09 00 [00:21:38]MH_I2C_Read... [00:21:38]Read from MH i2c: F0 09 00 4F 0B 00 94 E0 A6 66 A6 1F 7F 64 7A [00:21:38]Malloc new data [00:21:38]Malloc new data [00:21:38]Malloc new data [00:21:38]Malloc new data [00:21:38]KKMCreateCloseShiftDocument OK [00:21:38]KKMSetCloseShiftData OK [00:21:38]ProcessDocumentItem done err = 0, tmpTLVsize=69 [00:21:38]tlvbuf is 0028F380 [00:21:38]KKMLoadAndSignCloseShiftData [00:21:38]SAM_PROTO_ProcessDocument [00:21:38]wFMCommunicate request_size=9 [00:21:38]MH_SAM_APDU [00:21:38]CAPDU: 80 15 01 00 04 05 00 45 00 [00:21:38]Write to MH i2c: E2 0C 00 50 0B 80 15 01 00 04 00 05 00 45 00 00 00 2C [00:21:38]Write i2c OK [00:21:38]MH_I2C_Read... [00:21:38]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:21:38]Read from MH i2c: E2 [00:21:38]MH_I2C_Read... [00:21:38]Read from MH i2c: E2 03 00 [00:21:38]MH_I2C_Read... [00:21:38]Read from MH i2c: E2 03 00 50 0B 00 90 00 CF [00:21:38]RAPDU: 90 00 [00:21:38]wFMCommunicate OK [00:21:38]wFMCommunicate request_size=23 [00:21:38]MH_SAM_APDU [00:21:38]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:21:38]Write to MH i2c: E2 1A 00 51 0B 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 D1 [00:21:38]Write i2c OK [00:21:38]MH_I2C_Read... [00:21:38]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:21:38]Read from MH i2c: E2 [00:21:38]MH_I2C_Read... [00:21:38]Read from MH i2c: E2 03 00 [00:21:38]MH_I2C_Read... [00:21:38]Read from MH i2c: E2 03 00 51 0B 00 90 00 D0 [00:21:38]RAPDU: 90 00 [00:21:38]wFMCommunicate OK [00:21:38]wFMCommunicate request_size=28 [00:21:38]MH_SAM_APDU [00:21:38]CAPDU: 80 15 02 00 17 FD 03 13 00 D0 A5 D0 BE D1 88 D0 B8 D0 BC D0 BE D0 B2 20 D0 97 2E 20 [00:21:38]Write to MH i2c: E2 1F 00 52 0B 80 15 02 00 17 00 FD 03 13 00 D0 A5 D0 BE D1 88 D0 B8 D0 BC D0 BE D0 B2 20 D0 97 2E 20 00 00 73 [00:21:38]Write i2c OK [00:21:38]MH_I2C_Read... [00:21:38]OFD Sender: No OFD packet to send [00:21:38]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:21:38]Read from MH i2c: E2 [00:21:38]MH_I2C_Read... [00:21:38]Read from MH i2c: E2 03 00 [00:21:38]MH_I2C_Read... [00:21:38]Read from MH i2c: E2 03 00 52 0B 00 90 00 D1 [00:21:38]RAPDU: 90 00 [00:21:38]wFMCommunicate OK [00:21:38]wFMCommunicate request_size=13 [00:21:38]MH_SAM_APDU [00:21:38]CAPDU: 80 15 02 00 08 F4 03 04 00 94 E0 A6 66 [00:21:38]Write to MH i2c: E2 10 00 53 0B 80 15 02 00 08 00 F4 03 04 00 94 E0 A6 66 00 00 69 [00:21:38]Write i2c OK [00:21:38]MH_I2C_Read... [00:21:38]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:21:38]Read from MH i2c: E2 [00:21:38]MH_I2C_Read... [00:21:38]Read from MH i2c: E2 03 00 [00:21:38]MH_I2C_Read... [00:21:38]Read from MH i2c: E2 03 00 53 0B 00 90 00 D2 [00:21:38]RAPDU: 90 00 [00:21:38]wFMCommunicate OK [00:21:38]wFMCommunicate request_size=25 [00:21:38]MH_SAM_APDU [00:21:38]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 [00:21:38]Write to MH i2c: E2 1C 00 54 0B 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 00 00 42 [00:21:38]Write i2c OK [00:21:38]MH_I2C_Read... [00:21:38]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:21:38]Read from MH i2c: E2 [00:21:38]MH_I2C_Read... [00:21:38]Read from MH i2c: E2 03 00 [00:21:38]MH_I2C_Read... [00:21:38]Read from MH i2c: E2 03 00 54 0B 00 90 00 D3 [00:21:38]RAPDU: 90 00 [00:21:38]wFMCommunicate OK [00:21:38]wFMCommunicate request_size=4 [00:21:38]MH_SAM_APDU [00:21:38]CAPDU: 80 15 03 00 [00:21:38]Write to MH i2c: E2 08 00 55 0B 80 15 03 00 00 00 00 00 E1 [00:21:38]Write i2c OK [00:21:38]MH_I2C_Read... [00:21:39]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:21:39]Read from MH i2c: E2 [00:21:39]MH_I2C_Read... [00:21:39]Read from MH i2c: E2 FD 00 [00:21:39]MH_I2C_Read... [00:21:39]Read from MH i2c: E2 FD 00 55 0B 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D8 69 00 00 0E 04 04 00 B1 01 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4B 00 00 00 AA 04 AA 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 70 D7 12 70 04 03 00 F4 69 10 72 04 03 00 7C 6D 02 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 34 00 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 9F 2A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 10 [00:21:39]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D8 69 00 00 0E 04 04 00 B1 01 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4B 00 00 00 AA 04 AA 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 70 D7 12 70 04 03 00 F4 69 10 72 04 03 00 7C 6D 02 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 34 00 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 9F 2A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:21:39]wFMCommunicate OK [00:21:39]SAM_PROTO_ProcessDocument answer len = 1265 [00:21:39]SAM_PROTO_ProcessDocument remain to read = 1017 [00:21:39]wFMCommunicate request_size=4 [00:21:39]MH_SAM_APDU [00:21:39]CAPDU: 80 17 00 00 [00:21:39]Write to MH i2c: E2 08 00 56 0B 80 17 00 00 00 00 00 00 E1 [00:21:39]Write i2c OK [00:21:39]MH_I2C_Read... [00:21:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:39]Read from MH i2c: E2 [00:21:39]MH_I2C_Read... [00:21:39]Read from MH i2c: E2 FD 00 [00:21:39]MH_I2C_Read... [00:21:39]Read from MH i2c: E2 FD 00 56 0B 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 2A [00:21:39]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:21:39]wFMCommunicate OK [00:21:39]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:21:39]SAM_PROTO_ProcessDocument remain to read = 767 [00:21:39]wFMCommunicate request_size=4 [00:21:39]MH_SAM_APDU [00:21:39]CAPDU: 80 17 00 00 [00:21:39]Write to MH i2c: E2 08 00 57 0B 80 17 00 00 00 00 00 00 E2 [00:21:39]Write i2c OK [00:21:39]MH_I2C_Read... [00:21:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:40]Read from MH i2c: E2 [00:21:40]MH_I2C_Read... [00:21:40]Read from MH i2c: E2 FD 00 [00:21:40]MH_I2C_Read... [00:21:40]Read from MH i2c: E2 FD 00 57 0B 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 44 [00:21:40]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:21:40]wFMCommunicate OK [00:21:40]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:21:40]SAM_PROTO_ProcessDocument remain to read = 517 [00:21:40]wFMCommunicate request_size=4 [00:21:40]MH_SAM_APDU [00:21:40]CAPDU: 80 17 00 00 [00:21:40]Write to MH i2c: E2 08 00 58 0B 80 17 00 00 00 00 00 00 E3 [00:21:40]Write i2c OK [00:21:40]MH_I2C_Read... [00:21:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:40]Read from MH i2c: E2 [00:21:40]MH_I2C_Read... [00:21:40]Read from MH i2c: E2 FD 00 [00:21:40]MH_I2C_Read... [00:21:40]Read from MH i2c: E2 FD 00 58 0B 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 6D [00:21:40]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:21:40]wFMCommunicate OK [00:21:40]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:21:40]SAM_PROTO_ProcessDocument remain to read = 267 [00:21:40]wFMCommunicate request_size=4 [00:21:40]MH_SAM_APDU [00:21:40]CAPDU: 80 17 00 00 [00:21:40]Write to MH i2c: E2 08 00 59 0B 80 17 00 00 00 00 00 00 E4 [00:21:40]Write i2c OK [00:21:40]MH_I2C_Read... [00:21:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:41]Read from MH i2c: E2 [00:21:41]MH_I2C_Read... [00:21:41]Read from MH i2c: E2 FD 00 [00:21:41]MH_I2C_Read... [00:21:41]Read from MH i2c: E2 FD 00 59 0B 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 AC [00:21:41]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:21:41]wFMCommunicate OK [00:21:41]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:21:41]SAM_PROTO_ProcessDocument remain to read = 17 [00:21:41]wFMCommunicate request_size=4 [00:21:41]MH_SAM_APDU [00:21:41]CAPDU: 80 17 00 00 [00:21:41]Write to MH i2c: E2 08 00 5A 0B 80 17 00 00 00 00 00 00 E5 [00:21:41]Write i2c OK [00:21:41]MH_I2C_Read... [00:21:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [00:21:41]Read from MH i2c: E2 [00:21:41]MH_I2C_Read... [00:21:41]Read from MH i2c: E2 14 00 [00:21:41]MH_I2C_Read... [00:21:41]Read from MH i2c: E2 14 00 5A 0B 00 01 00 06 F7 03 00 00 35 04 06 00 70 1C AE 67 00 93 90 00 5E [00:21:41]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 70 1C AE 67 00 93 90 00 [00:21:41]wFMCommunicate OK [00:21:41]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [00:21:41]SAM_PROTO_ProcessDocument done [00:21:41]1209 (1) - 1.0 - номер версии ФФД [00:21:41]1041 (16) - 0000000000874937 - номер ФМ [00:21:41]1040 (4) - 27096 - номер ФД [00:21:41]1038 (4) - 433 - номер смены [00:21:41]1118 (4) - 73 - количество кассовых чеков за смену [00:21:41]1111 (4) - 75 - общее количество ФД за смену [00:21:41]1194 (1194) - счетчики итогов смены [00:21:41] 1134 (4) - 73 - количество чеков со всеми признаками расчетов [00:21:41] 1129 (155) - счетчики операций «приход» [00:21:41] 1135 (4) - 73 - количество чеков по признаку расчетов [00:21:41] 1201 (3) - 12348.00 - общая итоговая сумма в чеках [00:21:41] 1136 (3) - 10757.00 - итоговая сумма в чеках наличными [00:21:41] 1138 (3) - 1591.00 - итоговая сумма в чеках безналичными [00:21:41] 1024 (122) - суммы налогов [00:21:41] 1006 (9) - суммы НДС [00:21:41] 1010 (1) - 0% - код ставки НДС [00:21:41] 1011 (0) - 0.00 - сумма НДС по ставке [00:21:41] 1006 (12) - суммы НДС [00:21:41] 1010 (1) - 12% - код ставки НДС [00:21:41] 1011 (3) - 1311.24 - сумма НДС по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 0% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (11) - суммы НСП [00:21:41] 1014 (1) - 1% - код ставки НСП [00:21:41] 1015 (2) - 109.11 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 2% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 3% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 5% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 0,50% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 1,50% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1130 (141) - счетчики операций «возврат прихода» [00:21:41] 1135 (4) - 0 - количество чеков по признаку расчетов [00:21:41] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:21:41] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:21:41] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:21:41] 1024 (117) - суммы налогов [00:21:41] 1006 (9) - суммы НДС [00:21:41] 1010 (1) - 0% - код ставки НДС [00:21:41] 1011 (0) - 0.00 - сумма НДС по ставке [00:21:41] 1006 (9) - суммы НДС [00:21:41] 1010 (1) - 12% - код ставки НДС [00:21:41] 1011 (0) - 0.00 - сумма НДС по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 0% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 1% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 2% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 3% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 5% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 0,50% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 1,50% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1131 (141) - счетчики операций «расход» [00:21:41] 1135 (4) - 0 - количество чеков по признаку расчетов [00:21:41] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:21:41] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:21:41] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:21:41] 1024 (117) - суммы налогов [00:21:41] 1006 (9) - суммы НДС [00:21:41] 1010 (1) - 0% - код ставки НДС [00:21:41] 1011 (0) - 0.00 - сумма НДС по ставке [00:21:41] 1006 (9) - суммы НДС [00:21:41] 1010 (1) - 12% - код ставки НДС [00:21:41] 1011 (0) - 0.00 - сумма НДС по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 0% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 1% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 2% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 3% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 5% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 0,50% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 1,50% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1132 (141) - счетчики операций «возврат расхода» [00:21:41] 1135 (4) - 0 - количество чеков по признаку расчетов [00:21:41] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:21:41] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:21:41] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:21:41] 1024 (117) - суммы налогов [00:21:41] 1006 (9) - суммы НДС [00:21:41] 1010 (1) - 0% - код ставки НДС [00:21:41] 1011 (0) - 0.00 - сумма НДС по ставке [00:21:41] 1006 (9) - суммы НДС [00:21:41] 1010 (1) - 12% - код ставки НДС [00:21:41] 1011 (0) - 0.00 - сумма НДС по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 0% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 1% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 2% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 3% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 5% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 0,50% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1007 (9) - суммы НСП [00:21:41] 1014 (1) - 1,50% - код ставки НСП [00:21:41] 1015 (0) - 0.00 - сумма НСП по ставке [00:21:41] 1133 (588) - - счетчики коррекции - не используются [00:21:41]1077 (6) - 123268487381139 - ФПД [00:21:41]SetTLVBufToDocument [00:21:41]Processing tag 1209 (04B9) [00:21:41]Malloc new data [00:21:41]Processing tag 1041 (0411) [00:21:41]Processing tag 1040 (0410) [00:21:41]Malloc new data [00:21:41]Processing tag 1038 (040E) [00:21:41]Malloc new data [00:21:41]Processing tag 1118 (045E) [00:21:41]Malloc new data [00:21:41]Processing tag 1111 (0457) [00:21:41]Malloc new data [00:21:41]Processing tag 1194 (04AA) [00:21:41]Load OK [00:21:41]SetTLVBufToDocument [00:21:41]Processing tag 1134 (046E) [00:21:42]Malloc new data [00:21:42]Processing tag 1129 (0469) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1135 (046F) [00:21:42]Malloc new data [00:21:42]Processing tag 1201 (04B1) [00:21:42]Malloc new data [00:21:42]Processing tag 1136 (0470) [00:21:42]Malloc new data [00:21:42]Processing tag 1138 (0472) [00:21:42]Malloc new data [00:21:42]Processing tag 1024 (0400) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1006 (03EE) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1010 (03F2) [00:21:42]Malloc new data [00:21:42]Processing tag 1011 (03F3) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1006 (03EE) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1010 (03F2) [00:21:42]Malloc new data [00:21:42]Processing tag 1011 (03F3) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]SetTLVBufToDocument err=0 [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1130 (046A) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1135 (046F) [00:21:42]Malloc new data [00:21:42]Processing tag 1201 (04B1) [00:21:42]Malloc new data [00:21:42]Processing tag 1136 (0470) [00:21:42]Malloc new data [00:21:42]Processing tag 1138 (0472) [00:21:42]Malloc new data [00:21:42]Processing tag 1024 (0400) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1006 (03EE) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1010 (03F2) [00:21:42]Malloc new data [00:21:42]Processing tag 1011 (03F3) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1006 (03EE) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1010 (03F2) [00:21:42]Malloc new data [00:21:42]Processing tag 1011 (03F3) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]SetTLVBufToDocument err=0 [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1131 (046B) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1135 (046F) [00:21:42]Malloc new data [00:21:42]Processing tag 1201 (04B1) [00:21:42]Malloc new data [00:21:42]Processing tag 1136 (0470) [00:21:42]Malloc new data [00:21:42]Processing tag 1138 (0472) [00:21:42]Malloc new data [00:21:42]Processing tag 1024 (0400) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1006 (03EE) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1010 (03F2) [00:21:42]Malloc new data [00:21:42]Processing tag 1011 (03F3) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1006 (03EE) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1010 (03F2) [00:21:42]Malloc new data [00:21:42]Processing tag 1011 (03F3) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]SetTLVBufToDocument err=0 [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1132 (046C) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1135 (046F) [00:21:42]Malloc new data [00:21:42]Processing tag 1201 (04B1) [00:21:42]Malloc new data [00:21:42]Processing tag 1136 (0470) [00:21:42]Malloc new data [00:21:42]Processing tag 1138 (0472) [00:21:42]Malloc new data [00:21:42]Processing tag 1024 (0400) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1006 (03EE) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1010 (03F2) [00:21:42]Malloc new data [00:21:42]Processing tag 1011 (03F3) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1006 (03EE) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1010 (03F2) [00:21:42]Malloc new data [00:21:42]Processing tag 1011 (03F3) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1007 (03EF) [00:21:42]Load OK [00:21:42]SetTLVBufToDocument [00:21:42]Processing tag 1014 (03F6) [00:21:42]Malloc new data [00:21:42]Processing tag 1015 (03F7) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]SetTLVBufToDocument err=0 [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1133 (046D) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Processing tag 1077 (0435) [00:21:42]Malloc new data [00:21:42]SetTLVBufToDocument err=0 [00:21:42]Malloc new data [00:21:42]SAM_PROTO_GetFMData [00:21:42]wFMCommunicate request_size=4 [00:21:42]MH_SAM_APDU [00:21:42]CAPDU: 80 13 03 00 [00:21:42]Write to MH i2c: E2 08 00 5B 0B 80 13 03 00 00 00 00 00 E5 [00:21:42]Write i2c OK [00:21:42]MH_I2C_Read... [00:21:43]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:21:43]Read from MH i2c: E2 [00:21:43]MH_I2C_Read... [00:21:43]Read from MH i2c: E2 FD 00 [00:21:43]MH_I2C_Read... [00:21:43]Read from MH i2c: E2 FD 00 5B 0B 00 C1 04 85 04 BD 04 6E 04 04 00 75 66 00 00 69 04 A0 00 6F 04 04 00 47 66 00 00 B1 04 04 00 D4 51 7A 23 70 04 04 00 F8 0F 26 22 72 04 04 00 DC 41 54 01 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 4D 74 C4 03 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 57 53 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 D4 A7 1A 70 04 03 00 04 A5 15 72 04 03 00 D0 02 05 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 AB D4 02 EF 03 09 00 F6 03 90 00 54 [00:21:43]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 75 66 00 00 69 04 A0 00 6F 04 04 00 47 66 00 00 B1 04 04 00 D4 51 7A 23 70 04 04 00 F8 0F 26 22 72 04 04 00 DC 41 54 01 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 4D 74 C4 03 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 57 53 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 D4 A7 1A 70 04 03 00 04 A5 15 72 04 03 00 D0 02 05 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 AB D4 02 EF 03 09 00 F6 03 90 00 [00:21:43]wFMCommunicate OK [00:21:43]wFMCommunicate request_size=4 [00:21:43]MH_SAM_APDU [00:21:43]CAPDU: 80 17 00 00 [00:21:43]Write to MH i2c: E2 08 00 5C 0B 80 17 00 00 00 00 00 00 E7 [00:21:43]Write i2c OK [00:21:43]MH_I2C_Read... [00:21:43]OFD Sender: No OFD packet to send [00:21:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:43]Read from MH i2c: E2 [00:21:43]MH_I2C_Read... [00:21:43]Read from MH i2c: E2 FD 00 [00:21:43]MH_I2C_Read... [00:21:43]Read from MH i2c: E2 FD 00 5C 0B 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 62 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B4 [00:21:43]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 62 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:21:43]wFMCommunicate OK [00:21:43]wFMCommunicate request_size=4 [00:21:43]MH_SAM_APDU [00:21:43]CAPDU: 80 17 00 00 [00:21:43]Write to MH i2c: E2 08 00 5D 0B 80 17 00 00 00 00 00 00 E8 [00:21:43]Write i2c OK [00:21:43]MH_I2C_Read... [00:21:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:44]Read from MH i2c: E2 [00:21:44]MH_I2C_Read... [00:21:44]Read from MH i2c: E2 FD 00 [00:21:44]MH_I2C_Read... [00:21:44]Read from MH i2c: E2 FD 00 5D 0B 00 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 90 00 88 [00:21:44]RAPDU: 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 90 00 [00:21:44]wFMCommunicate OK [00:21:44]wFMCommunicate request_size=4 [00:21:44]MH_SAM_APDU [00:21:44]CAPDU: 80 17 00 00 [00:21:44]Write to MH i2c: E2 08 00 5E 0B 80 17 00 00 00 00 00 00 E9 [00:21:44]Write i2c OK [00:21:44]MH_I2C_Read... [00:21:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:21:44]Read from MH i2c: E2 [00:21:44]MH_I2C_Read... [00:21:44]Read from MH i2c: E2 FD 00 [00:21:44]MH_I2C_Read... [00:21:44]Read from MH i2c: E2 FD 00 5E 0B 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 6E [00:21:44]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:21:45]wFMCommunicate OK [00:21:45]wFMCommunicate request_size=4 [00:21:45]MH_SAM_APDU [00:21:45]CAPDU: 80 17 00 00 [00:21:45]Write to MH i2c: E2 08 00 5F 0B 80 17 00 00 00 00 00 00 EA [00:21:45]Write i2c OK [00:21:45]MH_I2C_Read... [00:21:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:21:45]Read from MH i2c: E2 [00:21:45]MH_I2C_Read... [00:21:45]Read from MH i2c: E2 DE 00 [00:21:45]MH_I2C_Read... [00:21:45]Read from MH i2c: E2 DE 00 5F 0B 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 90 00 C9 [00:21:45]RAPDU: 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 90 00 [00:21:45]wFMCommunicate OK [00:21:45]SAM_PROTO_GetFMData done [00:21:45]Malloc new data [00:21:45]Malloc new data [00:21:45]Malloc new data [00:21:45]Malloc new data [00:21:45]KKMLoadAndSignCloseShiftData err=0 [00:21:45]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Хошимов З. 29.07.2024 00:21 Смена: 433 РНМ: 0000000000092663 ЗНМ: 0300000043 СНО: Общий режим Чеков за смену: 73 ФД за смену: 75 Всего чеков: 73 ИТОГИ ПРИХОД Чеков: 73 Общий итог: 12348.00 Итого наличными: 10757.00 Итого безнал.: 1591.00 НДС 0% : 0.00 НДС 12% : 1311.24 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 109.11 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 10757.00 НС Приход: 5952189.00 НС Возвр.Прихода: 17469.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 27096 ФМ: 0000000000874937 ФПД: 123268487381139 [00:21:45]StoreToDocumentArchive [00:21:45]shift 433 fd 27096 [00:21:45]save to /storage/0433/doc_00027096 [00:21:45]save last doc name /storage/0433/doc_00027096 to /storage/kkm_last_doc_name [00:21:45]save OK [00:21:45]Clear old archive folders... [00:21:45]Remove dir /storage/0266 [00:21:45]opendir ok [00:21:45]file . [00:21:45]file .. [00:21:45]file doc_1722212454 [00:21:45]remove file /storage/0266/doc_1722212454 [00:21:45]remove dir /storage/0266 [00:21:45]NVStorageSaveData kkm_registers [00:21:45]File name is /storage/kkm_registers [00:21:45]Write 24 bytes [00:21:45]NVStorageSaveData done [00:21:45]NVStorageSaveData kkm_registers [00:21:45]File name is /storage/kkm_registers [00:21:45]Write 24 bytes [00:21:45]NVStorageSaveData done [00:21:45]ProcessDocumentItem done err = 0, tmpTLVsize=1377 [00:21:45]tlvbuf is 002C96E0 [00:21:45]SAM_PROTO_ClearQueue [00:21:45]wFMCommunicate request_size=4 [00:21:45]MH_SAM_APDU [00:21:45]CAPDU: 80 09 00 00 [00:21:45]Write to MH i2c: E2 08 00 60 0B 80 09 00 00 00 00 00 00 DD [00:21:45]Write i2c OK [00:21:45]MH_I2C_Read... [00:21:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:21:45]Read from MH i2c: E2 [00:21:45]MH_I2C_Read... [00:21:45]Read from MH i2c: E2 03 00 [00:21:45]MH_I2C_Read... [00:21:45]Read from MH i2c: E2 03 00 60 0B 00 90 00 DF [00:21:45]RAPDU: 90 00 [00:21:45]wFMCommunicate OK [00:21:45]SAM_PROTO_ClearQueue done [00:21:45]KKMCreateOFDPacket [00:21:45]OFDProtocolAddRootSTLVToBuf [00:21:45]FM_MakeSignedData [00:21:45]FM_MakeSignedData [00:21:45]SAM_PROTO_SignData [00:21:45]wFMCommunicate request_size=4 [00:21:45]MH_SAM_APDU [00:21:45]CAPDU: 80 0D 01 02 [00:21:45]Write to MH i2c: E2 08 00 61 0B 80 0D 01 02 00 00 00 00 E5 [00:21:45]Write i2c OK [00:21:45]MH_I2C_Read... [00:21:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:21:45]Read from MH i2c: E2 [00:21:45]MH_I2C_Read... [00:21:45]Read from MH i2c: E2 03 00 [00:21:45]MH_I2C_Read... [00:21:45]Read from MH i2c: E2 03 00 61 0B 00 90 00 E0 [00:21:45]RAPDU: 90 00 [00:21:45]wFMCommunicate OK [00:21:45]wFMCommunicate request_size=255 [00:21:45]MH_SAM_APDU [00:21:45]CAPDU: 80 0D 02 02 FA 05 00 61 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 13 00 D0 A5 D0 BE D1 88 D0 B8 D0 BC D0 BE D0 B2 20 D0 97 2E 20 F4 03 04 00 94 E0 A6 66 0E 04 04 00 B1 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 5E 04 04 00 49 00 00 00 57 04 04 00 4B 00 00 00 AA 04 D5 04 6E 04 04 00 49 00 00 00 69 04 A2 00 6F 04 04 00 49 00 00 00 B1 04 03 00 70 D7 12 70 04 03 00 F4 69 10 72 04 03 00 7C 6D 02 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 34 00 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:21:45]Write to MH i2c: E2 02 01 62 0B 80 0D 02 02 FA 00 05 00 61 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 13 00 D0 A5 D0 BE D1 88 D0 B8 D0 BC D0 BE D0 B2 20 D0 97 2E 20 F4 03 04 00 94 E0 A6 66 0E 04 04 00 B1 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 5E 04 04 00 49 00 00 00 57 04 04 00 4B 00 00 00 AA 04 D5 04 6E 04 04 00 49 00 00 00 69 04 A2 00 6F 04 04 00 49 00 00 00 B1 04 03 00 70 D7 12 70 04 03 00 F4 69 10 72 04 03 00 7C 6D 02 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 34 00 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 00 DB [00:21:46]Write i2c OK [00:21:46]MH_I2C_Read... [00:21:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:21:46]Read from MH i2c: E2 [00:21:46]MH_I2C_Read... [00:21:46]Read from MH i2c: E2 03 00 [00:21:46]MH_I2C_Read... [00:21:46]Read from MH i2c: E2 03 00 62 0B 00 90 00 E1 [00:21:46]RAPDU: 90 00 [00:21:46]wFMCommunicate OK [00:21:46]wFMCommunicate request_size=255 [00:21:46]MH_SAM_APDU [00:21:46]CAPDU: 80 0D 02 02 FA 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 9F 2A 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 [00:21:46]Write to MH i2c: E2 02 01 63 0B 80 0D 02 02 FA 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 9F 2A 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 00 00 1C [00:21:46]Write i2c OK [00:21:46]MH_I2C_Read... [00:21:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:21:46]Read from MH i2c: E2 [00:21:46]MH_I2C_Read... [00:21:46]Read from MH i2c: E2 03 00 [00:21:46]MH_I2C_Read... [00:21:46]Read from MH i2c: E2 03 00 63 0B 00 90 00 E2 [00:21:46]RAPDU: 90 00 [00:21:46]wFMCommunicate OK [00:21:46]wFMCommunicate request_size=255 [00:21:46]MH_SAM_APDU [00:21:46]CAPDU: 80 0D 02 02 FA 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:21:47]Write to MH i2c: E2 02 01 64 0B 80 0D 02 02 FA 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 00 AF [00:21:47]Write i2c OK [00:21:47]MH_I2C_Read... [00:21:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:21:47]Read from MH i2c: E2 [00:21:47]MH_I2C_Read... [00:21:47]Read from MH i2c: E2 03 00 [00:21:47]MH_I2C_Read... [00:21:47]Read from MH i2c: E2 03 00 64 0B 00 90 00 E3 [00:21:47]RAPDU: 90 00 [00:21:47]wFMCommunicate OK [00:21:47]wFMCommunicate request_size=255 [00:21:47]MH_SAM_APDU [00:21:47]CAPDU: 80 0D 02 02 FA 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:21:47]Write to MH i2c: E2 02 01 65 0B 80 0D 02 02 FA 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 00 AF [00:21:47]Write i2c OK [00:21:47]MH_I2C_Read... [00:21:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:21:48]Read from MH i2c: E2 [00:21:48]MH_I2C_Read... [00:21:48]Read from MH i2c: E2 03 00 [00:21:48]MH_I2C_Read... [00:21:48]Read from MH i2c: E2 03 00 65 0B 00 90 00 E4 [00:21:48]RAPDU: 90 00 [00:21:48]wFMCommunicate OK [00:21:48]wFMCommunicate request_size=255 [00:21:48]MH_SAM_APDU [00:21:48]CAPDU: 80 0D 02 02 FA 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:21:48]Write to MH i2c: E2 02 01 66 0B 80 0D 02 02 FA 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 71 [00:21:48]Write i2c OK [00:21:48]MH_I2C_Read... [00:21:48]OFD Sender: No OFD packet to send [00:21:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:21:48]Read from MH i2c: E2 [00:21:48]MH_I2C_Read... [00:21:48]Read from MH i2c: E2 03 00 [00:21:48]MH_I2C_Read... [00:21:48]Read from MH i2c: E2 03 00 66 0B 00 90 00 E5 [00:21:48]RAPDU: 90 00 [00:21:48]wFMCommunicate OK [00:21:48]wFMCommunicate request_size=136 [00:21:48]MH_SAM_APDU [00:21:48]CAPDU: 80 0D 02 02 83 00 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 D8 69 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 35 04 06 00 70 1C AE 67 00 93 [00:21:48]Write to MH i2c: E2 8B 00 67 0B 80 0D 02 02 83 00 00 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 D8 69 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 35 04 06 00 70 1C AE 67 00 93 00 00 A7 [00:21:48]Write i2c OK [00:21:48]MH_I2C_Read... [00:21:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:21:49]Read from MH i2c: E2 [00:21:49]MH_I2C_Read... [00:21:49]Read from MH i2c: E2 03 00 [00:21:49]MH_I2C_Read... [00:21:49]Read from MH i2c: E2 03 00 67 0B 00 90 00 E6 [00:21:49]RAPDU: 90 00 [00:21:49]wFMCommunicate OK [00:21:49]wFMCommunicate request_size=4 [00:21:49]MH_SAM_APDU [00:21:49]CAPDU: 80 0D 03 02 [00:21:49]Write to MH i2c: E2 08 00 68 0B 80 0D 03 02 00 00 00 00 EE [00:21:49]Write i2c OK [00:21:49]MH_I2C_Read... [00:21:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:21:49]Read from MH i2c: E2 [00:21:49]MH_I2C_Read... [00:21:49]Read from MH i2c: E2 0B 00 [00:21:49]MH_I2C_Read... [00:21:49]Read from MH i2c: E2 0B 00 68 0B 00 81 18 6E CE 9F 48 36 A7 90 00 88 [00:21:49]RAPDU: 81 18 6E CE 9F 48 36 A7 90 00 [00:21:49]wFMCommunicate OK [00:21:49]SAM_PROTO_SignData done [00:21:49]FM_MakeSignedData done [00:21:49]CreateOFDProtocolMessage [00:21:49]wFMCommunicate request_size=4 [00:21:49]MH_SAM_APDU [00:21:49]CAPDU: 80 11 00 00 [00:21:49]Write to MH i2c: E2 08 00 69 0B 80 11 00 00 00 00 00 00 EE [00:21:49]Write i2c OK [00:21:49]MH_I2C_Read... [00:21:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:21:49]Read from MH i2c: E2 [00:21:49]MH_I2C_Read... [00:21:49]Read from MH i2c: E2 17 00 [00:21:49]MH_I2C_Read... [00:21:49]Read from MH i2c: E2 17 00 69 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 47 [00:21:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [00:21:49]wFMCommunicate OK [00:21:49]CreateOFDProtocolMessage done [00:21:49]OFDSenderStorePacket 27096 [00:21:49]StoreOFDPacket docnum=27096 [00:21:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 75 05 00 00 F2 45 6D 05 B8 56 5A 05 01 00 05 00 61 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 13 00 D0 A5 D0 BE D1 88 D0 B8 D0 BC D0 BE D0 B2 20 D0 97 2E 20 F4 03 04 00 94 E0 A6 66 0E 04 04 00 B1 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 5E 04 04 00 49 00 00 00 57 04 04 00 4B 00 00 00 AA 04 D5 04 6E 04 04 00 49 00 00 00 69 04 A2 00 6F 04 04 00 49 00 00 00 B1 04 03 00 70 D7 12 70 04 03 00 F4 69 10 72 04 03 00 7C 6D 02 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 34 00 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 9F 2A 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 D8 69 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 35 04 06 00 70 1C AE 67 00 93 81 18 6E CE 9F 48 36 A7 [00:21:49]CheckFolder [00:21:49]dirname=/storage/ofd_packets [00:21:49]CheckFolder done [00:21:49]ProducePacketName [00:21:49]name=ofd_packets/00027096 [00:21:49]NVStorageSaveData ofd_packets/00027096 [00:21:49]File name is /storage/ofd_packets/00027096 [00:21:49]Write 1427 bytes [00:21:49]NVStorageSaveData done [00:21:49]OFDSenderStorePacket done [00:21:49]KKMCreateOFDPacket done [00:21:49]NVStorageSaveData kkm_last_timestamp [00:21:49]File name is /storage/kkm_last_timestamp [00:21:49]Write 4 bytes [00:21:49]NVStorageSaveData done [00:21:49]ExternCall_PrintAddStr [00:21:49]wPrintStart [00:21:49]Write to MH i2c: 01 00 00 6A 0B 75 [00:21:49]Write i2c OK [00:21:49]MH_I2C_Read... [00:21:49]Read from MH i2c: 01 [00:21:49]MH_I2C_Read... [00:21:49]Read from MH i2c: 01 07 00 [00:21:49]MH_I2C_Read... [00:21:49]Read from MH i2c: 01 07 00 6A 0B 00 00 00 00 00 FF 0F 8A [00:21:49]RasterBufferAndPrint [00:21:49]line Отчет о закрытии смены [00:21:49]line ФФД: 1.0 [00:21:49]line ИНН: 02508201610067 [00:21:49]line Кассир: Хошимов З. [00:21:49]line 29.07.2024 00:21 [00:21:49]line Смена: 433 [00:21:49]line РНМ: 0000000000092663 [00:21:49]line ЗНМ: 0300000043 [00:21:49]line СНО: Общий режим [00:21:49]line Чеков за смену: 73 [00:21:49]line ФД за смену: 75 [00:21:49]line Всего чеков: 73 [00:21:49]line ИТОГИ ПРИХОД [00:21:49]line Чеков: 73 [00:21:49]line Общий итог: 12348.00 [00:21:49]line Итого наличными: 10757.00 [00:21:49]line Итого безнал.: 1591.00 [00:21:49]line НДС 0% : 0.00 [00:21:49]line НДС 12% : 1311.24 [00:21:49]line НСП 0% : 0.00 [00:21:49]line НСП 1,50% : 0.00 [00:21:49]line НСП 0,50% : 0.00 [00:21:49]line НСП 5% : 0.00 [00:21:49]line НСП 3% : 0.00 [00:21:49]line НСП 2% : 0.00 [00:21:49]line НСП 1% : 109.11 [00:21:49]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:21:49]line Чеков: 0 [00:21:49]line Общий итог: 0.00 [00:21:49]line Итого наличными: 0.00 [00:21:49]line Итого безнал.: 0.00 [00:21:49]line НДС 0% : 0.00 [00:21:49]line НДС 12% : 0.00 [00:21:49]line НСП 0% : 0.00 [00:21:49]line НСП 1,50% : 0.00 [00:21:49]line НСП 0,50% : 0.00 [00:21:49]line НСП 5% : 0.00 [00:21:49]line НСП 3% : 0.00 [00:21:49]line НСП 2% : 0.00 [00:21:49]line НСП 1% : 0.00 [00:21:49]line ИТОГИ РАСХОД [00:21:49]line Чеков: 0 [00:21:49]line Общий итог: 0.00 [00:21:49]line Итого наличными: 0.00 [00:21:49]line Итого безнал.: 0.00 [00:21:49]line НДС 0% : 0.00 [00:21:49]line НДС 12% : 0.00 [00:21:49]line НСП 0% : 0.00 [00:21:49]line НСП 1,50% : 0.00 [00:21:49]line НСП 0,50% : 0.00 [00:21:49]line НСП 5% : 0.00 [00:21:49]line НСП 3% : 0.00 [00:21:49]line НСП 2% : 0.00 [00:21:49]line НСП 1% : 0.00 [00:21:49]line ИТОГИ ВОЗВРАТ РАСХОДА [00:21:49]line Чеков: 0 [00:21:49]line Общий итог: 0.00 [00:21:49]line Итого наличными: 0.00 [00:21:49]line Итого безнал.: 0.00 [00:21:49]line НДС 0% : 0.00 [00:21:49]line НДС 12% : 0.00 [00:21:49]line НСП 0% : 0.00 [00:21:49]line НСП 1,50% : 0.00 [00:21:49]line НСП 0,50% : 0.00 [00:21:49]line НСП 5% : 0.00 [00:21:49]line НСП 3% : 0.00 [00:21:49]line НСП 2% : 0.00 [00:21:49]line НСП 1% : 0.00 [00:21:49]line Сумма внесений: 0.00 [00:21:49]line Сумма выплат: 0.00 [00:21:49]line Нал. в кассе: 10757.00 [00:21:49]line НС Приход: 5952189.00 [00:21:49]line НС Возвр.Прихода: 17469.00 [00:21:49]line НС Расход: 0.00 [00:21:49]line НС Возвр.Расхода: 0.00 [00:21:49]line ФД: 27096 [00:21:49]line ФМ: 0000000000874937 [00:21:49]line ФПД: 123268487381139 [00:21:49]OFD Sender: Processing packet 27096 [packets to send 9, broken 8] [00:21:49]ProducePacketName [00:21:49]name=ofd_packets/00027096 [00:21:49]OFD Sender: To server: pG, [00:21:49]CommunicateWithHost lk.salyk.kg:30040 [00:21:49]ConnectInit lk.salyk.kg [00:21:49]written 0, free lines is 4095 [00:21:49]Connected sock=10 [00:21:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 75 05 00 00 F2 45 6D 05 B8 56 5A 05 01 00 05 00 61 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 13 00 D0 A5 D0 BE D1 88 D0 B8 D0 BC D0 BE D0 B2 20 D0 97 2E 20 F4 03 04 00 94 E0 A6 66 0E 04 04 00 B1 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 5E 04 04 00 49 00 00 00 57 04 04 00 4B 00 00 00 AA 04 D5 04 6E 04 04 00 49 00 00 00 69 04 A2 00 6F 04 04 00 49 00 00 00 B1 04 03 00 70 D7 12 70 04 03 00 F4 69 10 72 04 03 00 7C 6D 02 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 34 00 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 9F 2A 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 Write to MH i2c: 00 01 00 00 F6 BA 03 0B 01 C5 00 [00:21:50]02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 Write i2c OK [00:21:50]00 MH_I2C_Read... [00:21:50]00 Read from MH i2c: EF 01 03 [00:21:50]09 MH_I2C_Read... [00:21:50]00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 Read from MH i2c: 01 01 00 07 00 05 [00:21:50]F7 MH_I2C_Read... [00:21:50]03 Read from MH i2c: 00 01 00 07 EF 00 03 BA 09 0B 00 00 F6 00 03 00 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 00 55 00 0B B1 2C 04 [00:21:50]00 RasterBufferAndPrint [00:21:50]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 line [00:21:50]03 line [00:21:50]00 line [00:21:50]00 line [00:21:50]7A line [00:21:50]04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 written 0, free lines is 3281 [00:21:50]04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 MH_Cut [00:21:50]00 Write to MH i2c: 00 D1 F3 01 03 00 00 C1 00 0B EE 01 03 9E 09 [00:21:50]00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 Write i2c OK [00:21:50]00 MH_I2C_Read... [00:21:50]F7 Read from MH i2c: 03 D1 00 [00:21:50]00 MH_I2C_Read... [00:21:50]EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 Read from MH i2c: 00 D1 F6 01 03 00 01 [00:21:50]00 MH_I2C_Read... [00:21:50]02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 Read from MH i2c: D1 01 01 00 00 00 C1 F7 0B 03 00 00 9D 00 [00:21:51]EF Write to MH i2c: 03 01 09 00 00 00 F6 C2 03 0B 01 CD 00 [00:21:51]01 F7 Write i2c OK [00:21:51]03 MH_I2C_Read... [00:21:51]00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D8 69 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 35 04 06 00 70 1C AE 67 00 93 81 18 6E CE 9F 48 36 A7 [00:21:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 58 58 47 00 11 A3 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 *** Cut start [00:21:51]30 *** Partial cut [00:21:51]30 *** CUTSNS_PIN = 1 [00:21:51]30 30 38 37 34 39 33 *** CUTSNS_PIN = 0 [00:21:51]37 10 04 04 00 D8 69 00 00 F4 03 04 00 F2 86 A6 66 B6 04 01 00 00 FC 4C 7C 8B 07 37 14 69 [00:21:51]CommunicateWithHost err = 0 [00:21:51]CheckOFDResponse [00:21:51]1017 (14) - 77093643461234 [00:21:51]1041 (16) - 0000000000874937 [00:21:51]1040 (4) - 27096 [00:21:51]1012 (4) - 28.07.2024 17:59 [00:21:51]1206 (1) - 0 [00:21:51]OFD Sender: Remove packet 27096 [00:21:51]ProducePacketName [00:21:51]name=ofd_packets/00027096 [00:21:51]NVStorageDeleteData [00:21:51]*** Brake cut motor [00:21:52]Read from MH i2c: 01 [00:21:52]MH_I2C_Read... [00:21:52]*** Stop cut motor [00:21:52]*** Cut end [00:21:52]Read from MH i2c: 01 07 00 [00:21:52]MH_I2C_Read... [00:21:52]Read from MH i2c: 01 07 00 C2 0B 00 00 00 00 00 FF 0F E2 [00:21:52]process_action close_shift done [00:21:52]requested_data is exist [00:21:52]produce_requested_data [00:21:52]requested_item fd.num is exist - process it [00:21:52]SAM_PROTO_GetFieldsCounters [00:21:52]wFMCommunicate request_size=4 [00:21:52]MH_SAM_APDU [00:21:52]CAPDU: 80 13 00 00 [00:21:52]Write to MH i2c: E2 08 00 C3 0B 80 13 00 00 00 00 00 00 4A [00:21:52]Write i2c OK [00:21:52]MH_I2C_Read... [00:21:52]OFD Sender: No OFD packet to send [00:21:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:21:52]Read from MH i2c: E2 [00:21:52]MH_I2C_Read... [00:21:52]Read from MH i2c: E2 62 00 [00:21:52]MH_I2C_Read... [00:21:52]Read from MH i2c: E2 62 00 C3 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D8 69 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 41 [00:21:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D8 69 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:21:52]wFMCommunicate OK [00:21:52]SAM_PROTO_GetFieldsCounters done [00:21:52]requested_item shift.num is exist - process it [00:21:52]requested_item shift.opened is exist - process it [00:21:52]req_shift_opened [00:21:52]FM_GetShiftState [00:21:52]SAM_PROTO_GetShiftState [00:21:52]wFMCommunicate request_size=4 [00:21:52]MH_SAM_APDU [00:21:52]CAPDU: 80 13 01 00 [00:21:52]Write to MH i2c: E2 08 00 C4 0B 80 13 01 00 00 00 00 00 4C [00:21:52]Write i2c OK [00:21:52]MH_I2C_Read... [00:21:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:21:52]Read from MH i2c: E2 [00:21:52]MH_I2C_Read... [00:21:52]Read from MH i2c: E2 0E 00 [00:21:52]MH_I2C_Read... [00:21:52]Read from MH i2c: E2 0E 00 C4 0B 00 09 00 00 00 00 00 00 00 00 00 00 90 00 57 [00:21:52]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:21:52]wFMCommunicate OK [00:21:52]SAM_PROTO_GetShiftState done [00:21:52]FM_GetShiftState done [00:21:52]req_shift_opened done [00:21:52]requested_item shift.open_date is exist - process it [00:21:52]req_shift_open_date [00:21:52]FM_GetShiftState [00:21:52]SAM_PROTO_GetShiftState [00:21:52]wFMCommunicate request_size=4 [00:21:52]MH_SAM_APDU [00:21:52]CAPDU: 80 13 01 00 [00:21:52]Write to MH i2c: E2 08 00 C5 0B 80 13 01 00 00 00 00 00 4D [00:21:52]Write i2c OK [00:21:52]MH_I2C_Read... [00:21:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:21:52]Read from MH i2c: E2 [00:21:52]MH_I2C_Read... [00:21:52]Read from MH i2c: E2 0E 00 [00:21:52]MH_I2C_Read... [00:21:52]Read from MH i2c: E2 0E 00 C5 0B 00 09 00 00 00 00 00 00 00 00 00 00 90 00 58 [00:21:52]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:21:52]wFMCommunicate OK [00:21:52]SAM_PROTO_GetShiftState done [00:21:52]FM_GetShiftState done [00:21:52]req_shift_open_date done [00:21:52]produce_requested_data done [00:21:52]produce_requested_data return {"fd.num":27096,"shift.num":433,"shift.opened":0,"shift.open_date":0} [00:21:52]process_action_free close_shift [00:21:52]json_value_free [00:21:52]json_value_free done [00:21:52]process_json_proto returns [00:21:52]Send response to host [00:21:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":27096,"shift.num":433,"shift.opened":0,"shift.open_date":0}}} [00:21:52]free response buf [00:21:52]execute_script done [00:21:52]execute_script returns [00:21:52]free content buf [00:21:52]Sock 9.Close socket [00:21:52]Sock 9.Thread stoped [00:21:57]OFD Sender: No OFD packet to send [00:22:02]OFD Sender: No OFD packet to send [00:22:07]OFD Sender: No OFD packet to send [00:22:12]OFD Sender: No OFD packet to send [00:22:17]OFD Sender: No OFD packet to send [00:22:22]OFD Sender: No OFD packet to send [00:22:27]OFD Sender: No OFD packet to send [00:22:32]OFD Sender: No OFD packet to send [00:22:37]OFD Sender: No OFD packet to send [00:22:42]OFD Sender: No OFD packet to send [00:22:47]OFD Sender: No OFD packet to send [00:22:52]OFD Sender: No OFD packet to send [00:22:57]OFD Sender: No OFD packet to send [00:23:02]OFD Sender: No OFD packet to send [00:23:07]OFD Sender: No OFD packet to send [00:23:12]OFD Sender: No OFD packet to send [00:23:17]OFD Sender: No OFD packet to send [00:23:22]OFD Sender: No OFD packet to send [00:23:27]OFD Sender: No OFD packet to send [00:23:32]OFD Sender: No OFD packet to send [00:23:37]OFD Sender: No OFD packet to send [00:23:42]OFD Sender: No OFD packet to send [00:23:47]OFD Sender: No OFD packet to send [00:23:52]OFD Sender: No OFD packet to send [00:23:57]OFD Sender: No OFD packet to send [00:24:02]OFD Sender: No OFD packet to send [00:24:07]OFD Sender: No OFD packet to send [00:24:12]OFD Sender: No OFD packet to send [00:24:17]OFD Sender: No OFD packet to send [00:24:22]OFD Sender: No OFD packet to send [00:24:27]OFD Sender: No OFD packet to send [00:24:32]OFD Sender: No OFD packet to send [00:24:37]OFD Sender: No OFD packet to send [00:24:42]OFD Sender: No OFD packet to send [00:24:47]OFD Sender: No OFD packet to send [00:24:52]OFD Sender: No OFD packet to send [00:24:57]OFD Sender: No OFD packet to send [00:25:02]OFD Sender: No OFD packet to send [00:25:07]OFD Sender: No OFD packet to send [00:25:12]OFD Sender: No OFD packet to send [00:25:17]OFD Sender: No OFD packet to send [00:25:22]OFD Sender: No OFD packet to send [00:25:27]OFD Sender: No OFD packet to send [00:25:32]OFD Sender: No OFD packet to send [00:25:37]OFD Sender: No OFD packet to send [00:25:42]OFD Sender: No OFD packet to send [00:25:47]OFD Sender: No OFD packet to send [00:25:52]OFD Sender: No OFD packet to send [00:25:57]OFD Sender: No OFD packet to send [00:26:02]OFD Sender: No OFD packet to send [00:26:07]OFD Sender: No OFD packet to send [00:26:12]OFD Sender: No OFD packet to send [00:26:17]OFD Sender: No OFD packet to send [00:26:22]OFD Sender: No OFD packet to send [00:26:27]OFD Sender: No OFD packet to send [00:26:32]OFD Sender: No OFD packet to send [00:26:37]OFD Sender: No OFD packet to send [00:26:42]OFD Sender: No OFD packet to send [00:26:47]OFD Sender: No OFD packet to send [00:26:52]OFD Sender: No OFD packet to send [00:26:57]OFD Sender: No OFD packet to send [00:27:02]OFD Sender: No OFD packet to send [00:27:07]OFD Sender: No OFD packet to send [00:27:12]OFD Sender: No OFD packet to send [00:27:17]OFD Sender: No OFD packet to send [00:27:22]OFD Sender: No OFD packet to send [00:27:27]OFD Sender: No OFD packet to send [00:27:32]OFD Sender: No OFD packet to send [00:27:37]OFD Sender: No OFD packet to send [00:27:42]OFD Sender: No OFD packet to send [00:27:47]OFD Sender: No OFD packet to send [00:27:52]OFD Sender: No OFD packet to send [00:27:57]OFD Sender: No OFD packet to send [00:28:02]OFD Sender: No OFD packet to send [00:28:07]OFD Sender: No OFD packet to send [00:28:12]OFD Sender: No OFD packet to send [00:28:17]OFD Sender: No OFD packet to send [00:28:22]OFD Sender: No OFD packet to send [00:28:27]OFD Sender: No OFD packet to send [00:28:32]OFD Sender: No OFD packet to send [00:28:37]OFD Sender: No OFD packet to send [00:28:42]OFD Sender: No OFD packet to send [00:28:47]OFD Sender: No OFD packet to send [00:28:52]OFD Sender: No OFD packet to send [00:28:57]OFD Sender: No OFD packet to send [00:29:02]OFD Sender: No OFD packet to send [00:29:07]OFD Sender: No OFD packet to send [00:29:12]OFD Sender: No OFD packet to send [00:29:17]OFD Sender: No OFD packet to send [00:29:22]OFD Sender: No OFD packet to send [00:29:27]OFD Sender: No OFD packet to send [00:29:32]OFD Sender: No OFD packet to send [00:29:37]OFD Sender: No OFD packet to send [00:29:42]OFD Sender: No OFD packet to send [00:29:47]OFD Sender: No OFD packet to send [00:29:52]OFD Sender: No OFD packet to send [00:29:57]OFD Sender: No OFD packet to send [00:30:02]OFD Sender: No OFD packet to send [00:30:07]OFD Sender: No OFD packet to send [00:30:12]OFD Sender: No OFD packet to send [00:30:17]OFD Sender: No OFD packet to send [00:30:22]OFD Sender: No OFD packet to send [00:30:27]OFD Sender: No OFD packet to send [00:30:32]OFD Sender: No OFD packet to send [00:30:37]OFD Sender: No OFD packet to send [00:30:42]OFD Sender: No OFD packet to send [00:30:47]OFD Sender: No OFD packet to send [00:30:52]OFD Sender: No OFD packet to send [00:30:57]OFD Sender: No OFD packet to send [00:31:02]OFD Sender: No OFD packet to send [00:31:07]OFD Sender: No OFD packet to send [00:31:12]OFD Sender: No OFD packet to send [00:31:17]OFD Sender: No OFD packet to send [00:31:22]OFD Sender: No OFD packet to send [00:31:27]OFD Sender: No OFD packet to send [00:31:32]OFD Sender: No OFD packet to send [00:31:37]OFD Sender: No OFD packet to send [00:31:42]OFD Sender: No OFD packet to send [00:31:47]OFD Sender: No OFD packet to send [00:31:52]OFD Sender: No OFD packet to send [00:31:57]OFD Sender: No OFD packet to send [00:32:02]OFD Sender: No OFD packet to send [00:32:07]OFD Sender: No OFD packet to send [00:32:12]OFD Sender: No OFD packet to send [00:32:17]OFD Sender: No OFD packet to send [00:32:22]OFD Sender: No OFD packet to send [00:32:27]OFD Sender: No OFD packet to send [00:32:32]OFD Sender: No OFD packet to send [00:32:37]OFD Sender: No OFD packet to send [00:32:42]OFD Sender: No OFD packet to send [00:32:47]OFD Sender: No OFD packet to send [00:32:52]OFD Sender: No OFD packet to send [00:32:57]OFD Sender: No OFD packet to send [00:33:02]OFD Sender: No OFD packet to send [00:33:07]OFD Sender: No OFD packet to send [00:33:12]OFD Sender: No OFD packet to send [00:33:17]OFD Sender: No OFD packet to send [00:33:22]OFD Sender: No OFD packet to send [00:33:27]OFD Sender: No OFD packet to send [00:33:32]OFD Sender: No OFD packet to send [00:33:37]OFD Sender: No OFD packet to send [00:33:42]OFD Sender: No OFD packet to send [00:33:47]OFD Sender: No OFD packet to send [00:33:52]OFD Sender: No OFD packet to send [00:33:57]OFD Sender: No OFD packet to send [00:34:02]OFD Sender: No OFD packet to send [00:34:07]OFD Sender: No OFD packet to send [00:34:12]OFD Sender: No OFD packet to send [00:34:17]OFD Sender: No OFD packet to send [00:34:22]OFD Sender: No OFD packet to send [00:34:27]OFD Sender: No OFD packet to send [00:34:32]OFD Sender: No OFD packet to send [00:34:37]OFD Sender: No OFD packet to send [00:34:42]OFD Sender: No OFD packet to send [00:34:47]OFD Sender: No OFD packet to send [00:34:52]OFD Sender: No OFD packet to send [00:34:57]OFD Sender: No OFD packet to send [00:35:02]OFD Sender: No OFD packet to send [00:35:07]OFD Sender: No OFD packet to send [00:35:12]OFD Sender: No OFD packet to send [00:35:17]OFD Sender: No OFD packet to send [00:35:22]OFD Sender: No OFD packet to send [00:35:27]OFD Sender: No OFD packet to send [00:35:32]OFD Sender: No OFD packet to send [00:35:37]OFD Sender: No OFD packet to send [00:35:42]OFD Sender: No OFD packet to send [00:35:47]OFD Sender: No OFD packet to send [00:35:52]OFD Sender: No OFD packet to send [00:35:57]OFD Sender: No OFD packet to send [00:36:02]OFD Sender: No OFD packet to send [00:36:07]OFD Sender: No OFD packet to send [00:36:12]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:13]OFD Sender: No OFD packet to send [00:37:18]OFD Sender: No OFD packet to send [00:37:23]OFD Sender: No OFD packet to send [00:37:28]OFD Sender: No OFD packet to send [00:37:33]OFD Sender: No OFD packet to send [00:37:38]OFD Sender: No OFD packet to send [00:37:43]OFD Sender: No OFD packet to send [00:37:48]OFD Sender: No OFD packet to send [00:37:53]OFD Sender: No OFD packet to send [00:37:58]OFD Sender: No OFD packet to send [00:38:03]OFD Sender: No OFD packet to send [00:38:08]OFD Sender: No OFD packet to send [00:38:13]OFD Sender: No OFD packet to send [00:38:18]OFD Sender: No OFD packet to send [00:38:22]accept exits with 8 [00:38:22]New connection [00:38:22]New thread 3066928484 created [00:38:22]Thread 3066785124 joined [00:38:22]Waiting for new connection... [00:38:22] Sock 8.Parse request [00:38:22]Sock 8.Check first char [00:38:22]Sock 8.First char is OK [00:38:22]request: POST /json_proto HTTP/1.0 [00:38:22]Method: POST [00:38:22]URL: /json_proto [00:38:22]Method is POST - this is cgi request [00:38:22]url: /json_proto [00:38:22]query_string will be loaded in cgi processing [00:38:22]execute_cgi json_proto POST (null) [00:38:22]execute_cgi path=json_proto method=POST [00:38:22]POST find Content-Length [00:38:22]Host: 172.17.45.8:8080 [00:38:22]Content-Length: 215 [00:38:22]Content-Type: application/json [00:38:22] [00:38:22]POST finish read [00:38:22]Found Content-Length = 215 [00:38:22]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:38:22]execute_script... [00:38:22]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:38:22]POST & json_proto [00:38:22]process_json_proto [00:38:22]json parsed OK: [00:38:22]protocol is kg_v1.0 [00:38:22]action value=get_value [00:38:22]process_action get_value [00:38:22]cmd_get_value [00:38:22]process_action get_value done [00:38:22]requested_data is exist [00:38:22]produce_requested_data [00:38:22]requested_item kkm.sn is exist - process it [00:38:22]requested_item kkm.ver is exist - process it [00:38:22]requested_item fm.sn is exist - process it [00:38:22]wFMCommunicate request_size=4 [00:38:22]MH_SAM_APDU [00:38:22]CAPDU: 80 11 00 00 [00:38:22]Write to MH i2c: E2 08 00 C6 0B 80 11 00 00 00 00 00 00 4B [00:38:22]Write i2c OK [00:38:22]MH_I2C_Read... [00:38:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:38:22]Read from MH i2c: E2 [00:38:22]MH_I2C_Read... [00:38:22]Read from MH i2c: E2 17 00 [00:38:22]MH_I2C_Read... [00:38:22]Read from MH i2c: E2 17 00 C6 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 A4 [00:38:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [00:38:22]wFMCommunicate OK [00:38:22]requested_item fd.num is exist - process it [00:38:22]SAM_PROTO_GetFieldsCounters [00:38:22]wFMCommunicate request_size=4 [00:38:22]MH_SAM_APDU [00:38:22]CAPDU: 80 13 00 00 [00:38:22]Write to MH i2c: E2 08 00 C7 0B 80 13 00 00 00 00 00 00 4E [00:38:22]Write i2c OK [00:38:22]MH_I2C_Read... [00:38:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:38:22]Read from MH i2c: E2 [00:38:22]MH_I2C_Read... [00:38:22]Read from MH i2c: E2 62 00 [00:38:22]MH_I2C_Read... [00:38:22]Read from MH i2c: E2 62 00 C7 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D8 69 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 45 [00:38:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D8 69 00 00 0E 04 04 00 B1 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:38:22]wFMCommunicate OK [00:38:22]SAM_PROTO_GetFieldsCounters done [00:38:22]requested_item shift.num is exist - process it [00:38:22]requested_item shift.opened is exist - process it [00:38:22]req_shift_opened [00:38:22]FM_GetShiftState [00:38:22]SAM_PROTO_GetShiftState [00:38:22]wFMCommunicate request_size=4 [00:38:22]MH_SAM_APDU [00:38:22]CAPDU: 80 13 01 00 [00:38:22]Write to MH i2c: E2 08 00 C8 0B 80 13 01 00 00 00 00 00 50 [00:38:22]Write i2c OK [00:38:22]MH_I2C_Read... [00:38:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:38:22]Read from MH i2c: E2 [00:38:22]MH_I2C_Read... [00:38:22]Read from MH i2c: E2 0E 00 [00:38:22]MH_I2C_Read... [00:38:22]Read from MH i2c: E2 0E 00 C8 0B 00 09 00 00 00 00 00 00 00 00 00 00 90 00 5B [00:38:22]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:38:22]wFMCommunicate OK [00:38:22]SAM_PROTO_GetShiftState done [00:38:22]FM_GetShiftState done [00:38:22]req_shift_opened done [00:38:22]requested_item shift.open_date is exist - process it [00:38:22]req_shift_open_date [00:38:22]FM_GetShiftState [00:38:22]SAM_PROTO_GetShiftState [00:38:22]wFMCommunicate request_size=4 [00:38:22]MH_SAM_APDU [00:38:22]CAPDU: 80 13 01 00 [00:38:22]Write to MH i2c: E2 08 00 C9 0B 80 13 01 00 00 00 00 00 51 [00:38:22]Write i2c OK [00:38:22]MH_I2C_Read... [00:38:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:38:22]Read from MH i2c: E2 [00:38:22]MH_I2C_Read... [00:38:22]Read from MH i2c: E2 0E 00 [00:38:22]MH_I2C_Read... [00:38:22]Read from MH i2c: E2 0E 00 C9 0B 00 09 00 00 00 00 00 00 00 00 00 00 90 00 5C [00:38:22]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:38:22]wFMCommunicate OK [00:38:22]SAM_PROTO_GetShiftState done [00:38:22]FM_GetShiftState done [00:38:22]req_shift_open_date done [00:38:22]produce_requested_data done [00:38:22]produce_requested_data return {"kkm.sn":"0300000043","kkm.ver":"001","fm.sn":"0000000000874937","fd.num":27096,"shift.num":433,"shift.opened":0,"shift.open_date":0} [00:38:22]process_action_free get_value [00:38:22]json_value_free [00:38:22]json_value_free done [00:38:22]process_json_proto returns [00:38:22]Send response to host [00:38:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000043","kkm.ver":"001","fm.sn":"0000000000874937","fd.num":27096,"shift.num":433,"shift.opened":0,"shift.open_date":0}}} [00:38:22]free response buf [00:38:22]execute_script done [00:38:22]execute_script returns [00:38:22]free content buf [00:38:22]Sock 8.Close socket [00:38:22]Sock 8.Thread stoped [00:38:22]accept exits with 9 [00:38:22]New connection [00:38:22]New thread 3066785124 created [00:38:22]Thread 3066928484 joined [00:38:22]Waiting for new connection... [00:38:22] Sock 9.Parse request [00:38:22]Sock 9.Check first char [00:38:22]Sock 9.First char is OK [00:38:22]request: POST /json_proto HTTP/1.0 [00:38:22]Method: POST [00:38:22]URL: /json_proto [00:38:22]Method is POST - this is cgi request [00:38:22]url: /json_proto [00:38:22]query_string will be loaded in cgi processing [00:38:22]execute_cgi json_proto POST (null) [00:38:22]execute_cgi path=json_proto method=POST [00:38:22]POST find Content-Length [00:38:22]Host: 172.17.45.8:8080 [00:38:22]Content-Length: 331 [00:38:22]Content-Type: application/json [00:38:22] [00:38:22]POST finish read [00:38:22]Found Content-Length = 331 [00:38:22]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:38:22]execute_script... [00:38:23]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:38:23]POST & json_proto [00:38:23]process_json_proto [00:38:23]json parsed OK: [00:38:23]protocol is kg_v1.0 [00:38:23]action value=get_value [00:38:23]process_action get_value [00:38:23]cmd_get_value [00:38:23]process_action get_value done [00:38:23]requested_data is exist [00:38:23]produce_requested_data [00:38:23]requested_item fm.sale.total is exist - process it [00:38:23]SAM_PROTO_GetFMData [00:38:23]wFMCommunicate request_size=4 [00:38:23]MH_SAM_APDU [00:38:23]CAPDU: 80 13 03 00 [00:38:23]Write to MH i2c: E2 08 00 CA 0B 80 13 03 00 00 00 00 00 54 [00:38:23]OFD Sender: No OFD packet to send [00:38:23]Write i2c OK [00:38:23]MH_I2C_Read... [00:38:23]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:38:23]Read from MH i2c: E2 [00:38:23]MH_I2C_Read... [00:38:23]Read from MH i2c: E2 FD 00 [00:38:23]MH_I2C_Read... [00:38:23]Read from MH i2c: E2 FD 00 CA 0B 00 C1 04 85 04 BD 04 6E 04 04 00 75 66 00 00 69 04 A0 00 6F 04 04 00 47 66 00 00 B1 04 04 00 D4 51 7A 23 70 04 04 00 F8 0F 26 22 72 04 04 00 DC 41 54 01 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 4D 74 C4 03 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 57 53 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 D4 A7 1A 70 04 03 00 04 A5 15 72 04 03 00 D0 02 05 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 AB D4 02 EF 03 09 00 F6 03 90 00 C3 [00:38:23]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 75 66 00 00 69 04 A0 00 6F 04 04 00 47 66 00 00 B1 04 04 00 D4 51 7A 23 70 04 04 00 F8 0F 26 22 72 04 04 00 DC 41 54 01 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 4D 74 C4 03 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 57 53 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 D4 A7 1A 70 04 03 00 04 A5 15 72 04 03 00 D0 02 05 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 AB D4 02 EF 03 09 00 F6 03 90 00 [00:38:23]wFMCommunicate OK [00:38:23]wFMCommunicate request_size=4 [00:38:23]MH_SAM_APDU [00:38:23]CAPDU: 80 17 00 00 [00:38:23]Write to MH i2c: E2 08 00 CB 0B 80 17 00 00 00 00 00 00 56 [00:38:23]Write i2c OK [00:38:23]MH_I2C_Read... [00:38:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:38:23]Read from MH i2c: E2 [00:38:23]MH_I2C_Read... [00:38:23]Read from MH i2c: E2 FD 00 [00:38:23]MH_I2C_Read... [00:38:23]Read from MH i2c: E2 FD 00 CB 0B 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 62 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 23 [00:38:23]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 62 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:38:23]wFMCommunicate OK [00:38:23]wFMCommunicate request_size=4 [00:38:23]MH_SAM_APDU [00:38:23]CAPDU: 80 17 00 00 [00:38:23]Write to MH i2c: E2 08 00 CC 0B 80 17 00 00 00 00 00 00 57 [00:38:23]Write i2c OK [00:38:23]MH_I2C_Read... [00:38:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:38:24]Read from MH i2c: E2 [00:38:24]MH_I2C_Read... [00:38:24]Read from MH i2c: E2 FD 00 [00:38:24]MH_I2C_Read... [00:38:24]Read from MH i2c: E2 FD 00 CC 0B 00 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 90 00 F7 [00:38:24]RAPDU: 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 90 00 [00:38:24]wFMCommunicate OK [00:38:24]wFMCommunicate request_size=4 [00:38:24]MH_SAM_APDU [00:38:24]CAPDU: 80 17 00 00 [00:38:24]Write to MH i2c: E2 08 00 CD 0B 80 17 00 00 00 00 00 00 58 [00:38:24]Write i2c OK [00:38:24]MH_I2C_Read... [00:38:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:38:24]Read from MH i2c: E2 [00:38:24]MH_I2C_Read... [00:38:24]Read from MH i2c: E2 FD 00 [00:38:24]MH_I2C_Read... [00:38:24]Read from MH i2c: E2 FD 00 CD 0B 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 DD [00:38:24]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:38:24]wFMCommunicate OK [00:38:24]wFMCommunicate request_size=4 [00:38:24]MH_SAM_APDU [00:38:24]CAPDU: 80 17 00 00 [00:38:24]Write to MH i2c: E2 08 00 CE 0B 80 17 00 00 00 00 00 00 59 [00:38:24]Write i2c OK [00:38:24]MH_I2C_Read... [00:38:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:38:24]Read from MH i2c: E2 [00:38:24]MH_I2C_Read... [00:38:24]Read from MH i2c: E2 DE 00 [00:38:24]MH_I2C_Read... [00:38:24]Read from MH i2c: E2 DE 00 CE 0B 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 90 00 38 [00:38:24]RAPDU: 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 90 00 [00:38:24]wFMCommunicate OK [00:38:24]SAM_PROTO_GetFMData done [00:38:24]requested_item fm.sale_refund.total is exist - process it [00:38:24]requested_item fm.buy.total is exist - process it [00:38:24]requested_item shift.sale.total is exist - process it [00:38:24]SAM_PROTO_GetShiftData [00:38:24]wFMCommunicate request_size=4 [00:38:24]MH_SAM_APDU [00:38:24]CAPDU: 80 13 02 00 [00:38:24]Write to MH i2c: E2 08 00 CF 0B 80 13 02 00 00 00 00 00 58 [00:38:24]Write i2c OK [00:38:24]MH_I2C_Read... [00:38:25]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:38:25]Read from MH i2c: E2 [00:38:25]MH_I2C_Read... [00:38:25]Read from MH i2c: E2 FD 00 [00:38:25]MH_I2C_Read... [00:38:25]Read from MH i2c: E2 FD 00 CF 0B 00 AE 04 AA 04 AA 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 70 D7 12 70 04 03 00 F4 69 10 72 04 03 00 7C 6D 02 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 34 00 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 9F 2A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5B [00:38:25]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 70 D7 12 70 04 03 00 F4 69 10 72 04 03 00 7C 6D 02 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 34 00 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 9F 2A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:38:25]wFMCommunicate OK [00:38:25]wFMCommunicate request_size=4 [00:38:25]MH_SAM_APDU [00:38:25]CAPDU: 80 17 00 00 [00:38:25]Write to MH i2c: E2 08 00 D0 0B 80 17 00 00 00 00 00 00 5B [00:38:25]Write i2c OK [00:38:25]MH_I2C_Read... [00:38:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:38:25]Read from MH i2c: E2 [00:38:25]MH_I2C_Read... [00:38:25]Read from MH i2c: E2 FD 00 [00:38:25]MH_I2C_Read... [00:38:25]Read from MH i2c: E2 FD 00 D0 0B 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 7D [00:38:25]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:38:25]wFMCommunicate OK [00:38:25]wFMCommunicate request_size=4 [00:38:25]MH_SAM_APDU [00:38:25]CAPDU: 80 17 00 00 [00:38:25]Write to MH i2c: E2 08 00 D1 0B 80 17 00 00 00 00 00 00 5C [00:38:25]Write i2c OK [00:38:25]MH_I2C_Read... [00:38:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:38:25]Read from MH i2c: E2 [00:38:25]MH_I2C_Read... [00:38:25]Read from MH i2c: E2 FD 00 [00:38:25]MH_I2C_Read... [00:38:25]Read from MH i2c: E2 FD 00 D1 0B 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 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 13 [00:38:25]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:38:25]wFMCommunicate OK [00:38:25]wFMCommunicate request_size=4 [00:38:25]MH_SAM_APDU [00:38:25]CAPDU: 80 17 00 00 [00:38:25]Write to MH i2c: E2 08 00 D2 0B 80 17 00 00 00 00 00 00 5D [00:38:25]Write i2c OK [00:38:25]MH_I2C_Read... [00:38:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:38:26]Read from MH i2c: E2 [00:38:26]MH_I2C_Read... [00:38:26]Read from MH i2c: E2 FD 00 [00:38:26]MH_I2C_Read... [00:38:26]Read from MH i2c: E2 FD 00 D2 0B 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 CF [00:38:26]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:38:26]wFMCommunicate OK [00:38:26]wFMCommunicate request_size=4 [00:38:26]MH_SAM_APDU [00:38:26]CAPDU: 80 17 00 00 [00:38:26]Write to MH i2c: E2 08 00 D3 0B 80 17 00 00 00 00 00 00 5E [00:38:26]Write i2c OK [00:38:26]MH_I2C_Read... [00:38:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:38:26]Read from MH i2c: E2 [00:38:26]MH_I2C_Read... [00:38:26]Read from MH i2c: E2 CB 00 [00:38:26]MH_I2C_Read... [00:38:26]Read from MH i2c: E2 CB 00 D3 0B 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 47 [00:38:26]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:38:26]wFMCommunicate OK [00:38:26]SAM_PROTO_GetShiftData done [00:38:26]requested_item shift.sale.total_cash is exist - process it [00:38:26]requested_item shift.sale_refund.total is exist - process it [00:38:26]requested_item shift.sale_refund.total_cash is exist - process it [00:38:26]requested_item shift.buy.total is exist - process it [00:38:26]requested_item shift.buy.total_cash is exist - process it [00:38:26]produce_requested_data done [00:38:26]produce_requested_data return {"fm.sale.total":5952189.00,"fm.sale_refund.total":17469.00,"fm.buy.total":0.00,"shift.sale.total":12348.00,"shift.sale.total_cash":10757.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:38:26]process_action_free get_value [00:38:26]json_value_free [00:38:26]json_value_free done [00:38:26]process_json_proto returns [00:38:26]Send response to host [00:38:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":5952189.00,"fm.sale_refund.total":17469.00,"fm.buy.total":0.00,"shift.sale.total":12348.00,"shift.sale.total_cash":10757.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:38:26]free response buf [00:38:26]execute_script done [00:38:26]execute_script returns [00:38:26]free content buf [00:38:26]Sock 9.Close socket [00:38:26]Sock 9.Thread stoped [00:38:26]accept exits with 8 [00:38:26]New connection [00:38:26]New thread 3066928484 created [00:38:26]Thread 3066785124 joined [00:38:26]Waiting for new connection... [00:38:26] Sock 8.Parse request [00:38:26]Sock 8.Check first char [00:38:26]Sock 8.First char is OK [00:38:26]request: POST /json_proto HTTP/1.0 [00:38:26]Method: POST [00:38:26]URL: /json_proto [00:38:26]Method is POST - this is cgi request [00:38:26]url: /json_proto [00:38:26]query_string will be loaded in cgi processing [00:38:26]execute_cgi json_proto POST (null) [00:38:26]execute_cgi path=json_proto method=POST [00:38:26]POST find Content-Length [00:38:26]Host: 172.17.45.8:8080 [00:38:26]Content-Length: 253 [00:38:26]Content-Type: application/json [00:38:26] [00:38:26]POST finish read [00:38:26]Found Content-Length = 253 [00:38:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041A\u0430\u0437\u0430\u043A\u043E\u0432 \u0427. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:38:26]execute_script... [00:38:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041A\u0430\u0437\u0430\u043A\u043E\u0432 \u0427. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:38:26]POST & json_proto [00:38:26]process_json_proto [00:38:26]json parsed OK: [00:38:26]protocol is kg_v1.0 [00:38:26]action value=open_shift [00:38:26]process_action open_shift [00:38:26]cmd_open_shift [00:38:26]MH_GetDate [00:38:26]Write to MH i2c: F0 00 00 D4 0B CE [00:38:26]Write i2c OK [00:38:26]MH_I2C_Read... [00:38:26]Read from MH i2c: F0 [00:38:26]MH_I2C_Read... [00:38:26]Read from MH i2c: F0 09 00 [00:38:26]MH_I2C_Read... [00:38:26]Read from MH i2c: F0 09 00 D4 0B 00 85 E4 A6 66 A6 1F 7F 64 F4 [00:38:26]GetLastDocTimeStamp 1722212500 [00:38:26]current date 1722213509 [00:38:26]FM_GetShiftState [00:38:26]SAM_PROTO_GetShiftState [00:38:26]wFMCommunicate request_size=4 [00:38:26]MH_SAM_APDU [00:38:26]CAPDU: 80 13 01 00 [00:38:26]Write to MH i2c: E2 08 00 D5 0B 80 13 01 00 00 00 00 00 5D [00:38:26]Write i2c OK [00:38:26]MH_I2C_Read... [00:38:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:38:26]Read from MH i2c: E2 [00:38:26]MH_I2C_Read... [00:38:26]Read from MH i2c: E2 0E 00 [00:38:26]MH_I2C_Read... [00:38:26]Read from MH i2c: E2 0E 00 D5 0B 00 09 00 00 00 00 00 00 00 00 00 00 90 00 68 [00:38:26]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:38:26]wFMCommunicate OK [00:38:26]SAM_PROTO_GetShiftState done [00:38:26]FM_GetShiftState done [00:38:26]KKMCreateOpenShiftDocument [00:38:26]Load OK [00:38:26]Malloc new data [00:38:26]MH_GetDate [00:38:26]Write to MH i2c: F0 00 00 D6 0B D0 [00:38:26]Write i2c OK [00:38:26]MH_I2C_Read... [00:38:26]Read from MH i2c: F0 [00:38:26]MH_I2C_Read... [00:38:26]Read from MH i2c: F0 09 00 [00:38:26]MH_I2C_Read... [00:38:26]Read from MH i2c: F0 09 00 D6 0B 00 85 E4 A6 66 A6 1F 7F 64 F6 [00:38:26]Malloc new data [00:38:26]KKMCreateOpenShiftDocument OK [00:38:26]KKMSetOpenShiftData OK [00:38:26]ProcessDocumentItem done err = 0, tmpTLVsize=166 [00:38:26]tlvbuf is 002D75B0 [00:38:26]KKMLoadAndSignOpenShiftData [00:38:26]SAM_PROTO_ProcessDocument [00:38:26]wFMCommunicate request_size=9 [00:38:26]MH_SAM_APDU [00:38:26]CAPDU: 80 15 01 00 04 02 00 A6 00 [00:38:26]Write to MH i2c: E2 0C 00 D7 0B 80 15 01 00 04 00 02 00 A6 00 00 00 11 [00:38:26]Write i2c OK [00:38:26]MH_I2C_Read... [00:38:26]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:38:26]Read from MH i2c: E2 [00:38:26]MH_I2C_Read... [00:38:26]Read from MH i2c: E2 03 00 [00:38:26]MH_I2C_Read... [00:38:26]Read from MH i2c: E2 03 00 D7 0B 00 90 00 56 [00:38:26]RAPDU: 90 00 [00:38:26]wFMCommunicate OK [00:38:26]wFMCommunicate request_size=23 [00:38:26]MH_SAM_APDU [00:38:26]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:38:26]Write to MH i2c: E2 1A 00 D8 0B 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 58 [00:38:26]Write i2c OK [00:38:26]MH_I2C_Read... [00:38:26]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:38:26]Read from MH i2c: E2 [00:38:26]MH_I2C_Read... [00:38:26]Read from MH i2c: E2 03 00 [00:38:26]MH_I2C_Read... [00:38:26]Read from MH i2c: E2 03 00 D8 0B 00 90 00 57 [00:38:26]RAPDU: 90 00 [00:38:26]wFMCommunicate OK [00:38:26]wFMCommunicate request_size=28 [00:38:26]MH_SAM_APDU [00:38:26]CAPDU: 80 15 02 00 17 FD 03 13 00 D0 9A D0 B0 D0 B7 D0 B0 D0 BA D0 BE D0 B2 20 D0 A7 2E 20 [00:38:26]Write to MH i2c: E2 1F 00 D9 0B 80 15 02 00 17 00 FD 03 13 00 D0 9A D0 B0 D0 B7 D0 B0 D0 BA D0 BE D0 B2 20 D0 A7 2E 20 00 00 15 [00:38:26]Write i2c OK [00:38:26]MH_I2C_Read... [00:38:26]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:38:26]Read from MH i2c: E2 [00:38:26]MH_I2C_Read... [00:38:26]Read from MH i2c: E2 03 00 [00:38:26]MH_I2C_Read... [00:38:26]Read from MH i2c: E2 03 00 D9 0B 00 90 00 58 [00:38:26]RAPDU: 90 00 [00:38:26]wFMCommunicate OK [00:38:26]wFMCommunicate request_size=56 [00:38:26]MH_SAM_APDU [00:38:26]CAPDU: 80 15 02 00 33 F1 03 2F 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 90 D0 BA 2D D0 9E D1 80 D0 B3 D0 BE 2C 20 34 30 2E 32 30 30 37 35 32 2C 20 37 31 2E 36 30 37 34 38 36 [00:38:26]Write to MH i2c: E2 3B 00 DA 0B 80 15 02 00 33 00 F1 03 2F 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 90 D0 BA 2D D0 9E D1 80 D0 B3 D0 BE 2C 20 34 30 2E 32 30 30 37 35 32 2C 20 37 31 2E 36 30 37 34 38 36 00 00 1A [00:38:26]Write i2c OK [00:38:26]MH_I2C_Read... [00:38:26]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:38:26]Read from MH i2c: E2 [00:38:26]MH_I2C_Read... [00:38:26]Read from MH i2c: E2 03 00 [00:38:26]MH_I2C_Read... [00:38:26]Read from MH i2c: E2 03 00 DA 0B 00 90 00 59 [00:38:26]RAPDU: 90 00 [00:38:26]wFMCommunicate OK [00:38:26]wFMCommunicate request_size=51 [00:38:26]MH_SAM_APDU [00:38:26]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 34 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:38:26]Write to MH i2c: E2 36 00 DB 0B 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 34 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 10 [00:38:26]Write i2c OK [00:38:26]MH_I2C_Read... [00:38:26]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:38:26]Read from MH i2c: E2 [00:38:26]MH_I2C_Read... [00:38:26]Read from MH i2c: E2 03 00 [00:38:26]MH_I2C_Read... [00:38:26]Read from MH i2c: E2 03 00 DB 0B 00 90 00 5A [00:38:26]RAPDU: 90 00 [00:38:26]wFMCommunicate OK [00:38:26]wFMCommunicate request_size=13 [00:38:26]MH_SAM_APDU [00:38:26]CAPDU: 80 15 02 00 08 F4 03 04 00 85 E4 A6 66 [00:38:26]Write to MH i2c: E2 10 00 DC 0B 80 15 02 00 08 00 F4 03 04 00 85 E4 A6 66 00 00 E7 [00:38:26]Write i2c OK [00:38:26]MH_I2C_Read... [00:38:27]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:38:27]Read from MH i2c: E2 [00:38:27]MH_I2C_Read... [00:38:27]Read from MH i2c: E2 03 00 [00:38:27]MH_I2C_Read... [00:38:27]Read from MH i2c: E2 03 00 DC 0B 00 90 00 5B [00:38:27]RAPDU: 90 00 [00:38:27]wFMCommunicate OK [00:38:27]wFMCommunicate request_size=25 [00:38:27]MH_SAM_APDU [00:38:27]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 [00:38:27]Write to MH i2c: E2 1C 00 DD 0B 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 00 00 CB [00:38:27]Write i2c OK [00:38:27]MH_I2C_Read... [00:38:27]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:38:27]Read from MH i2c: E2 [00:38:27]MH_I2C_Read... [00:38:27]Read from MH i2c: E2 03 00 [00:38:27]MH_I2C_Read... [00:38:27]Read from MH i2c: E2 03 00 DD 0B 00 90 00 5C [00:38:27]RAPDU: 90 00 [00:38:27]wFMCommunicate OK [00:38:27]wFMCommunicate request_size=4 [00:38:27]MH_SAM_APDU [00:38:27]CAPDU: 80 15 03 00 [00:38:27]Write to MH i2c: E2 08 00 DE 0B 80 15 03 00 00 00 00 00 6A [00:38:27]Write i2c OK [00:38:27]MH_I2C_Read... [00:38:27]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:38:27]Read from MH i2c: E2 [00:38:27]MH_I2C_Read... [00:38:27]Read from MH i2c: E2 38 00 [00:38:27]MH_I2C_Read... [00:38:27]Read from MH i2c: E2 38 00 DE 0B 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D9 69 00 00 0E 04 04 00 B2 01 00 00 35 04 06 00 6F 53 EF 16 71 4C 90 00 B5 [00:38:27]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 D9 69 00 00 0E 04 04 00 B2 01 00 00 35 04 06 00 6F 53 EF 16 71 4C 90 00 [00:38:27]wFMCommunicate OK [00:38:27]SAM_PROTO_ProcessDocument answer len = 51 [00:38:27]SAM_PROTO_ProcessDocument done [00:38:27]SetTLVBufToDocument [00:38:27]Processing tag 1209 (04B9) [00:38:27]Malloc new data [00:38:27]Processing tag 1041 (0411) [00:38:27]Processing tag 1040 (0410) [00:38:27]Malloc new data [00:38:27]Processing tag 1038 (040E) [00:38:27]Malloc new data [00:38:27]Processing tag 1077 (0435) [00:38:27]Malloc new data [00:38:27]SetTLVBufToDocument err=0 [00:38:27]KKMLoadAndSignOpenShiftData store KKM data [00:38:27]KKMLoadAndSignOpenShiftData err=0 [00:38:27]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Казаков Ч. Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 Место: АЗС № 134 "Партнер Нефть" 29.07.2024 00:38 Смена: 434 РНМ: 0000000000092663 ЗНМ: 0300000043 ФД: 27097 ФМ: 0000000000874937 ФПД: 122406284194124 [00:38:27]StoreToDocumentArchive [00:38:27]shift 434 fd 27097 [00:38:27]Create dir for shift 0434 [00:38:27]save to /storage/0434/doc_00027097 [00:38:27]save last doc name /storage/0434/doc_00027097 to /storage/kkm_last_doc_name [00:38:27]save OK [00:38:27]Clear old archive folders... [00:38:27]Remove dir /storage/0433 [00:38:27]opendir ok [00:38:27]file . [00:38:27]file .. [00:38:27]file doc_00027022 [00:38:27]remove file /storage/0433/doc_00027022 [00:38:27]file doc_00027023 [00:38:27]remove file /storage/0433/doc_00027023 [00:38:27]file doc_00027024 [00:38:27]remove file /storage/0433/doc_00027024 [00:38:27]file doc_00027025 [00:38:27]remove file /storage/0433/doc_00027025 [00:38:27]file doc_00027026 [00:38:27]remove file /storage/0433/doc_00027026 [00:38:27]file doc_00027027 [00:38:27]remove file /storage/0433/doc_00027027 [00:38:27]file doc_00027028 [00:38:27]remove file /storage/0433/doc_00027028 [00:38:27]file doc_00027029 [00:38:27]remove file /storage/0433/doc_00027029 [00:38:27]file doc_00027030 [00:38:27]remove file /storage/0433/doc_00027030 [00:38:27]file doc_00027031 [00:38:27]remove file /storage/0433/doc_00027031 [00:38:27]file doc_00027032 [00:38:27]remove file /storage/0433/doc_00027032 [00:38:27]file doc_00027033 [00:38:27]remove file /storage/0433/doc_00027033 [00:38:27]file doc_00027034 [00:38:27]remove file /storage/0433/doc_00027034 [00:38:27]file doc_00027035 [00:38:27]remove file /storage/0433/doc_00027035 [00:38:27]file doc_00027036 [00:38:27]remove file /storage/0433/doc_00027036 [00:38:27]file doc_00027037 [00:38:27]remove file /storage/0433/doc_00027037 [00:38:27]file doc_00027038 [00:38:27]remove file /storage/0433/doc_00027038 [00:38:27]file doc_00027039 [00:38:27]remove file /storage/0433/doc_00027039 [00:38:27]file doc_00027040 [00:38:27]remove file /storage/0433/doc_00027040 [00:38:27]file doc_00027041 [00:38:27]remove file /storage/0433/doc_00027041 [00:38:27]file doc_00027042 [00:38:27]remove file /storage/0433/doc_00027042 [00:38:27]file doc_00027043 [00:38:27]remove file /storage/0433/doc_00027043 [00:38:27]file doc_00027044 [00:38:27]remove file /storage/0433/doc_00027044 [00:38:27]file doc_00027045 [00:38:27]remove file /storage/0433/doc_00027045 [00:38:27]file doc_00027046 [00:38:27]remove file /storage/0433/doc_00027046 [00:38:27]file doc_00027047 [00:38:27]remove file /storage/0433/doc_00027047 [00:38:27]file doc_00027048 [00:38:27]remove file /storage/0433/doc_00027048 [00:38:27]file doc_00027049 [00:38:27]remove file /storage/0433/doc_00027049 [00:38:27]file doc_00027050 [00:38:27]remove file /storage/0433/doc_00027050 [00:38:27]file doc_00027051 [00:38:27]remove file /storage/0433/doc_00027051 [00:38:27]file doc_00027052 [00:38:27]remove file /storage/0433/doc_00027052 [00:38:27]file doc_00027053 [00:38:27]remove file /storage/0433/doc_00027053 [00:38:27]file doc_00027054 [00:38:27]remove file /storage/0433/doc_00027054 [00:38:27]file doc_00027055 [00:38:27]remove file /storage/0433/doc_00027055 [00:38:27]file doc_00027056 [00:38:27]remove file /storage/0433/doc_00027056 [00:38:27]file doc_00027057 [00:38:27]remove file /storage/0433/doc_00027057 [00:38:27]file doc_00027058 [00:38:27]remove file /storage/0433/doc_00027058 [00:38:27]file doc_00027059 [00:38:27]remove file /storage/0433/doc_00027059 [00:38:27]file doc_00027060 [00:38:27]remove file /storage/0433/doc_00027060 [00:38:27]file doc_00027061 [00:38:27]remove file /storage/0433/doc_00027061 [00:38:27]file doc_00027062 [00:38:27]remove file /storage/0433/doc_00027062 [00:38:27]file doc_00027063 [00:38:27]remove file /storage/0433/doc_00027063 [00:38:27]file doc_00027064 [00:38:27]remove file /storage/0433/doc_00027064 [00:38:27]file doc_00027065 [00:38:27]remove file /storage/0433/doc_00027065 [00:38:27]file doc_00027066 [00:38:27]remove file /storage/0433/doc_00027066 [00:38:27]file doc_00027067 [00:38:27]remove file /storage/0433/doc_00027067 [00:38:27]file doc_00027068 [00:38:27]remove file /storage/0433/doc_00027068 [00:38:27]file doc_00027069 [00:38:27]remove file /storage/0433/doc_00027069 [00:38:27]file doc_00027070 [00:38:27]remove file /storage/0433/doc_00027070 [00:38:27]file doc_00027071 [00:38:27]remove file /storage/0433/doc_00027071 [00:38:27]file doc_00027072 [00:38:27]remove file /storage/0433/doc_00027072 [00:38:27]file doc_00027073 [00:38:27]remove file /storage/0433/doc_00027073 [00:38:27]file doc_00027074 [00:38:27]remove file /storage/0433/doc_00027074 [00:38:27]file doc_00027075 [00:38:27]remove file /storage/0433/doc_00027075 [00:38:27]file doc_00027076 [00:38:27]remove file /storage/0433/doc_00027076 [00:38:27]file doc_00027077 [00:38:27]remove file /storage/0433/doc_00027077 [00:38:27]file doc_00027078 [00:38:27]remove file /storage/0433/doc_00027078 [00:38:27]file doc_00027079 [00:38:27]remove file /storage/0433/doc_00027079 [00:38:27]file doc_00027080 [00:38:27]remove file /storage/0433/doc_00027080 [00:38:27]file doc_00027081 [00:38:27]remove file /storage/0433/doc_00027081 [00:38:27]file doc_00027082 [00:38:27]remove file /storage/0433/doc_00027082 [00:38:27]file doc_00027083 [00:38:27]remove file /storage/0433/doc_00027083 [00:38:27]file doc_00027084 [00:38:27]remove file /storage/0433/doc_00027084 [00:38:27]file doc_00027085 [00:38:27]remove file /storage/0433/doc_00027085 [00:38:27]file doc_00027086 [00:38:27]remove file /storage/0433/doc_00027086 [00:38:27]file doc_00027087 [00:38:27]remove file /storage/0433/doc_00027087 [00:38:27]file doc_00027088 [00:38:27]remove file /storage/0433/doc_00027088 [00:38:27]file doc_00027089 [00:38:27]remove file /storage/0433/doc_00027089 [00:38:27]file doc_00027090 [00:38:27]remove file /storage/0433/doc_00027090 [00:38:27]file doc_00027091 [00:38:27]remove file /storage/0433/doc_00027091 [00:38:27]file doc_00027092 [00:38:27]remove file /storage/0433/doc_00027092 [00:38:27]file doc_00027093 [00:38:27]remove file /storage/0433/doc_00027093 [00:38:27]file doc_00027094 [00:38:27]remove file /storage/0433/doc_00027094 [00:38:27]file doc_00027095 [00:38:27]remove file /storage/0433/doc_00027095 [00:38:27]file doc_00027096 [00:38:27]remove file /storage/0433/doc_00027096 [00:38:27]remove dir /storage/0433 [00:38:27]ProcessDocumentItem done err = 0, tmpTLVsize=217 [00:38:27]tlvbuf is 002E6F20 [00:38:27]SAM_PROTO_ClearQueue [00:38:27]wFMCommunicate request_size=4 [00:38:27]MH_SAM_APDU [00:38:27]CAPDU: 80 09 00 00 [00:38:27]Write to MH i2c: E2 08 00 DF 0B 80 09 00 00 00 00 00 00 5C [00:38:27]Write i2c OK [00:38:27]MH_I2C_Read... [00:38:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:38:27]Read from MH i2c: E2 [00:38:27]MH_I2C_Read... [00:38:27]Read from MH i2c: E2 03 00 [00:38:27]MH_I2C_Read... [00:38:27]Read from MH i2c: E2 03 00 DF 0B 00 90 00 5E [00:38:27]RAPDU: 90 00 [00:38:27]wFMCommunicate OK [00:38:27]SAM_PROTO_ClearQueue done [00:38:27]KKMCreateOFDPacket [00:38:27]OFDProtocolAddRootSTLVToBuf [00:38:27]FM_MakeSignedData [00:38:27]FM_MakeSignedData [00:38:27]SAM_PROTO_SignData [00:38:27]wFMCommunicate request_size=4 [00:38:27]MH_SAM_APDU [00:38:27]CAPDU: 80 0D 01 02 [00:38:27]Write to MH i2c: E2 08 00 E0 0B 80 0D 01 02 00 00 00 00 64 [00:38:27]Write i2c OK [00:38:27]MH_I2C_Read... [00:38:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:38:27]Read from MH i2c: E2 [00:38:27]MH_I2C_Read... [00:38:27]Read from MH i2c: E2 03 00 [00:38:27]MH_I2C_Read... [00:38:27]Read from MH i2c: E2 03 00 E0 0B 00 90 00 5F [00:38:27]RAPDU: 90 00 [00:38:27]wFMCommunicate OK [00:38:27]wFMCommunicate request_size=226 [00:38:27]MH_SAM_APDU [00:38:27]CAPDU: 80 0D 02 02 DD 02 00 D9 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 9A D0 B0 D0 B7 D0 B0 D0 BA D0 BE D0 B2 20 D0 A7 2E 20 F1 03 2F 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 90 D0 BA 2D D0 9E D1 80 D0 B3 D0 BE 2C 20 34 30 2E 32 30 30 37 35 32 2C 20 37 31 2E 36 30 37 34 38 36 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 34 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 85 E4 A6 66 0E 04 04 00 B2 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D9 69 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 35 04 06 00 6F 53 EF 16 71 4C [00:38:27]Write to MH i2c: E2 E5 00 E1 0B 80 0D 02 02 DD 00 02 00 D9 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 9A D0 B0 D0 B7 D0 B0 D0 BA D0 BE D0 B2 20 D0 A7 2E 20 F1 03 2F 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 90 D0 BA 2D D0 9E D1 80 D0 B3 D0 BE 2C 20 34 30 2E 32 30 30 37 35 32 2C 20 37 31 2E 36 30 37 34 38 36 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 34 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 85 E4 A6 66 0E 04 04 00 B2 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D9 69 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 35 04 06 00 6F 53 EF 16 71 4C 00 00 87 [00:38:28]Write i2c OK [00:38:28]MH_I2C_Read... [00:38:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:38:28]Read from MH i2c: E2 [00:38:28]MH_I2C_Read... [00:38:28]Read from MH i2c: E2 03 00 [00:38:28]MH_I2C_Read... [00:38:28]Read from MH i2c: E2 03 00 E1 0B 00 90 00 60 [00:38:28]RAPDU: 90 00 [00:38:28]wFMCommunicate OK [00:38:28]wFMCommunicate request_size=4 [00:38:28]MH_SAM_APDU [00:38:28]CAPDU: 80 0D 03 02 [00:38:28]Write to MH i2c: E2 08 00 E2 0B 80 0D 03 02 00 00 00 00 68 [00:38:28]Write i2c OK [00:38:28]MH_I2C_Read... [00:38:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:38:28]Read from MH i2c: E2 [00:38:28]MH_I2C_Read... [00:38:28]Read from MH i2c: E2 0B 00 [00:38:28]MH_I2C_Read... [00:38:28]Read from MH i2c: E2 0B 00 E2 0B 00 AF 66 E8 45 B5 18 E8 2A 90 00 8A [00:38:28]RAPDU: AF 66 E8 45 B5 18 E8 2A 90 00 [00:38:28]wFMCommunicate OK [00:38:28]SAM_PROTO_SignData done [00:38:28]FM_MakeSignedData done [00:38:28]CreateOFDProtocolMessage [00:38:28]wFMCommunicate request_size=4 [00:38:28]MH_SAM_APDU [00:38:28]CAPDU: 80 11 00 00 [00:38:28]Write to MH i2c: E2 08 00 E3 0B 80 11 00 00 00 00 00 00 68 [00:38:28]OFD Sender: No OFD packet to send [00:38:28]Write i2c OK [00:38:28]MH_I2C_Read... [00:38:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:38:28]Read from MH i2c: E2 [00:38:28]MH_I2C_Read... [00:38:28]Read from MH i2c: E2 17 00 [00:38:28]MH_I2C_Read... [00:38:28]Read from MH i2c: E2 17 00 E3 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 C1 [00:38:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [00:38:28]wFMCommunicate OK [00:38:28]CreateOFDProtocolMessage done [00:38:28]OFDSenderStorePacket 27097 [00:38:28]StoreOFDPacket docnum=27097 [00:38:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 ED 00 00 00 13 48 E5 00 A4 32 5A 02 01 00 02 00 D9 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 9A D0 B0 D0 B7 D0 B0 D0 BA D0 BE D0 B2 20 D0 A7 2E 20 F1 03 2F 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 90 D0 BA 2D D0 9E D1 80 D0 B3 D0 BE 2C 20 34 30 2E 32 30 30 37 35 32 2C 20 37 31 2E 36 30 37 34 38 36 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 34 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 85 E4 A6 66 0E 04 04 00 B2 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D9 69 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 35 04 06 00 6F 53 EF 16 71 4C AF 66 E8 45 B5 18 E8 2A [00:38:28]CheckFolder [00:38:28]dirname=/storage/ofd_packets [00:38:28]CheckFolder done [00:38:28]ProducePacketName [00:38:28]name=ofd_packets/00027097 [00:38:28]NVStorageSaveData ofd_packets/00027097 [00:38:28]File name is /storage/ofd_packets/00027097 [00:38:28]Write 267 bytes [00:38:28]NVStorageSaveData done [00:38:28]OFDSenderStorePacket done [00:38:28]KKMCreateOFDPacket done [00:38:28]NVStorageSaveData kkm_last_timestamp [00:38:28]File name is /storage/kkm_last_timestamp [00:38:28]Write 4 bytes [00:38:28]NVStorageSaveData done [00:38:28]ExternCall_PrintAddStr [00:38:28]wPrintStart [00:38:28]Write to MH i2c: 01 00 00 E4 0B EF [00:38:28]Write i2c OK [00:38:28]MH_I2C_Read... [00:38:28]Read from MH i2c: 01 [00:38:28]MH_I2C_Read... [00:38:28]Read from MH i2c: 01 07 00 [00:38:28]MH_I2C_Read... [00:38:28]Read from MH i2c: 01 07 00 E4 0B 00 00 00 00 00 FF 0F 04 [00:38:28]RasterBufferAndPrint [00:38:28]line Отчет об открытии смены [00:38:28]line ФФД: 1.0 [00:38:28]line ИНН: 02508201610067 [00:38:28]line Кассир: Казаков Ч. [00:38:28]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [00:38:28]line Место: АЗС № 134 "Партнер Нефть" [00:38:28]line 29.07.2024 00:38 [00:38:28]line Смена: 434 [00:38:28]line РНМ: 0000000000092663 [00:38:28]line ЗНМ: 0300000043 [00:38:28]line ФД: 27097 [00:38:28]line ФМ: 0000000000874937 [00:38:28]line ФПД: 122406284194124 [00:38:28]written 0, free lines is 4095 [00:38:28]OFD Sender: Processing packet 27097 [packets to send 9, broken 8] [00:38:28]ProducePacketName [00:38:28]name=ofd_packets/00027097 [00:38:28]OFD Sender: To server: pG, [00:38:28]CommunicateWithHost lk.salyk.kg:30040 [00:38:28]ConnectInit lk.salyk.kg [00:38:28]Connected sock=10 [00:38:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 ED 00 00 00 13 48 E5 00 A4 32 5A 02 01 00 02 00 D9 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 9A D0 B0 D0 B7 D0 B0 D0 BA D0 BE D0 B2 20 D0 A7 2E 20 F1 03 2F 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 90 D0 BA 2D D0 9E D1 80 D0 B3 D0 BE 2C 20 34 30 2E 32 30 30 37 35 32 2C 20 37 31 2E 36 30 37 34 38 36 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 34 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 85 E4 A6 66 0E 04 04 00 B2 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D9 69 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 35 04 06 00 6F 53 EF 16 71 4C AF 66 E8 45 B5 18 E8 2A [00:38:28]Write to MH i2c: 01 00 00 F5 0B 00 [00:38:28]Write i2c OK [00:38:28]MH_I2C_Read... [00:38:28]Read from MH i2c: 01 [00:38:28]MH_I2C_Read... [00:38:28]Read from MH i2c: 01 07 00 [00:38:28]MH_I2C_Read... [00:38:28]Read from MH i2c: 01 07 00 F5 0B 00 00 00 00 00 89 0E 9E [00:38:28]RasterBufferAndPrint [00:38:28]line [00:38:28]line [00:38:28]line [00:38:28]line [00:38:28]line [00:38:28]written 0, free lines is 3738 [00:38:28]MH_Cut [00:38:28]Write to MH i2c: D1 01 00 FC 0B 01 D9 [00:38:28]Write i2c OK [00:38:28]MH_I2C_Read... [00:38:28]Read from MH i2c: D1 [00:38:28]MH_I2C_Read... [00:38:28]Read from MH i2c: D1 01 00 [00:38:28]MH_I2C_Read... [00:38:28]Read from MH i2c: D1 01 00 FC 0B 00 D8 [00:38:28]Write to MH i2c: 01 00 00 FD 0B 08 [00:38:28]Write i2c OK [00:38:28]MH_I2C_Read... [00:38:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 FD 5B 47 00 AA 3D 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 38 37 34 39 33 37 10 04 04 00 D9 69 00 00 F4 03 04 00 D7 8A A6 66 B6 04 01 00 00 9A 3F 2C 4E 7E B3 A9 3E [00:38:28]CommunicateWithHost err = 0 [00:38:28]CheckOFDResponse [00:38:28]1017 (14) - 77093643461234 [00:38:28]1041 (16) - 0000000000874937 [00:38:28]1040 (4) - 27097 [00:38:28]1012 (4) - 28.07.2024 18:15 [00:38:28]1206 (1) - 0 [00:38:28]OFD Sender: Remove packet 27097 [00:38:28]ProducePacketName [00:38:28]name=ofd_packets/00027097 [00:38:28]NVStorageDeleteData [00:38:29]*** Cut start [00:38:29]*** Partial cut [00:38:29]*** CUTSNS_PIN = 1 [00:38:29]*** CUTSNS_PIN = 0 [00:38:29]*** Brake cut motor [00:38:29]OFD Sender: No OFD packet to send [00:38:29]Read from MH i2c: 01 [00:38:29]MH_I2C_Read... [00:38:29]*** Stop cut motor [00:38:29]*** Cut end [00:38:29]Read from MH i2c: 01 07 00 [00:38:29]MH_I2C_Read... [00:38:29]Read from MH i2c: 01 07 00 FD 0B 00 00 00 00 00 FF 0F 1D [00:38:29]process_action open_shift done [00:38:29]requested_data is exist [00:38:29]produce_requested_data [00:38:29]requested_item fd.num is exist - process it [00:38:29]SAM_PROTO_GetFieldsCounters [00:38:29]wFMCommunicate request_size=4 [00:38:29]MH_SAM_APDU [00:38:29]CAPDU: 80 13 00 00 [00:38:29]Write to MH i2c: E2 08 00 FE 0B 80 13 00 00 00 00 00 00 85 [00:38:29]Write i2c OK [00:38:29]MH_I2C_Read... [00:38:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:38:29]Read from MH i2c: E2 [00:38:29]MH_I2C_Read... [00:38:29]Read from MH i2c: E2 62 00 [00:38:29]MH_I2C_Read... [00:38:29]Read from MH i2c: E2 62 00 FE 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D9 69 00 00 0E 04 04 00 B2 01 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 A2 [00:38:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 D9 69 00 00 0E 04 04 00 B2 01 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:38:29]wFMCommunicate OK [00:38:29]SAM_PROTO_GetFieldsCounters done [00:38:29]requested_item shift.num is exist - process it [00:38:29]requested_item shift.opened is exist - process it [00:38:29]req_shift_opened [00:38:29]FM_GetShiftState [00:38:29]SAM_PROTO_GetShiftState [00:38:29]wFMCommunicate request_size=4 [00:38:29]MH_SAM_APDU [00:38:29]CAPDU: 80 13 01 00 [00:38:29]Write to MH i2c: E2 08 00 FF 0B 80 13 01 00 00 00 00 00 87 [00:38:29]Write i2c OK [00:38:29]MH_I2C_Read... [00:38:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:38:29]Read from MH i2c: E2 [00:38:29]MH_I2C_Read... [00:38:29]Read from MH i2c: E2 0E 00 [00:38:29]MH_I2C_Read... [00:38:29]Read from MH i2c: E2 0E 00 FF 0B 00 09 00 01 85 E4 A6 66 00 00 00 00 90 00 08 [00:38:29]RAPDU: 09 00 01 85 E4 A6 66 00 00 00 00 90 00 [00:38:29]wFMCommunicate OK [00:38:29]SAM_PROTO_GetShiftState done [00:38:29]FM_GetShiftState done [00:38:29]req_shift_opened done [00:38:29]requested_item shift.open_date is exist - process it [00:38:29]req_shift_open_date [00:38:29]req_shift_open_date done [00:38:29]produce_requested_data done [00:38:29]produce_requested_data return {"fd.num":27097,"shift.num":434,"shift.opened":1,"shift.open_date":1722213509} [00:38:29]process_action_free open_shift [00:38:29]json_value_free [00:38:29]json_value_free done [00:38:29]process_json_proto returns [00:38:29]Send response to host [00:38:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":27097,"shift.num":434,"shift.opened":1,"shift.open_date":1722213509}}} [00:38:29]free response buf [00:38:29]execute_script done [00:38:29]execute_script returns [00:38:29]free content buf [00:38:29]Sock 8.Close socket [00:38:29]Sock 8.Thread stoped [00:38:29]accept exits with 9 [00:38:29]New connection [00:38:29]New thread 3066785124 created [00:38:29]Thread 3066928484 joined [00:38:29]Waiting for new connection... [00:38:30] Sock 9.Parse request [00:38:30]Sock 9.Check first char [00:38:30]Sock 9.First char is OK [00:38:30]request: POST /json_proto HTTP/1.0 [00:38:30]Method: POST [00:38:30]URL: /json_proto [00:38:30]Method is POST - this is cgi request [00:38:30]url: /json_proto [00:38:30]query_string will be loaded in cgi processing [00:38:30]execute_cgi json_proto POST (null) [00:38:30]execute_cgi path=json_proto method=POST [00:38:30]POST find Content-Length [00:38:30]Host: 172.17.45.8:8080 [00:38:30]Content-Length: 331 [00:38:30]Content-Type: application/json [00:38:30] [00:38:30]POST finish read [00:38:30]Found Content-Length = 331 [00:38:30]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:38:30]execute_script... [00:38:30]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:38:30]POST & json_proto [00:38:30]process_json_proto [00:38:30]json parsed OK: [00:38:30]protocol is kg_v1.0 [00:38:30]action value=get_value [00:38:30]process_action get_value [00:38:30]cmd_get_value [00:38:30]process_action get_value done [00:38:30]requested_data is exist [00:38:30]produce_requested_data [00:38:30]requested_item fm.sale.total is exist - process it [00:38:30]SAM_PROTO_GetFMData [00:38:30]wFMCommunicate request_size=4 [00:38:30]MH_SAM_APDU [00:38:30]CAPDU: 80 13 03 00 [00:38:30]Write to MH i2c: E2 08 00 00 0C 80 13 03 00 00 00 00 00 8B [00:38:30]Write i2c OK [00:38:30]MH_I2C_Read... [00:38:30]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:38:30]Read from MH i2c: E2 [00:38:30]MH_I2C_Read... [00:38:30]Read from MH i2c: E2 FD 00 [00:38:30]MH_I2C_Read... [00:38:30]Read from MH i2c: E2 FD 00 00 0C 00 C1 04 85 04 BD 04 6E 04 04 00 75 66 00 00 69 04 A0 00 6F 04 04 00 47 66 00 00 B1 04 04 00 D4 51 7A 23 70 04 04 00 F8 0F 26 22 72 04 04 00 DC 41 54 01 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 4D 74 C4 03 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 57 53 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 D4 A7 1A 70 04 03 00 04 A5 15 72 04 03 00 D0 02 05 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 AB D4 02 EF 03 09 00 F6 03 90 00 FA [00:38:30]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 75 66 00 00 69 04 A0 00 6F 04 04 00 47 66 00 00 B1 04 04 00 D4 51 7A 23 70 04 04 00 F8 0F 26 22 72 04 04 00 DC 41 54 01 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 4D 74 C4 03 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 57 53 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 D4 A7 1A 70 04 03 00 04 A5 15 72 04 03 00 D0 02 05 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 AB D4 02 EF 03 09 00 F6 03 90 00 [00:38:30]wFMCommunicate OK [00:38:30]wFMCommunicate request_size=4 [00:38:30]MH_SAM_APDU [00:38:30]CAPDU: 80 17 00 00 [00:38:30]Write to MH i2c: E2 08 00 01 0C 80 17 00 00 00 00 00 00 8D [00:38:30]Write i2c OK [00:38:30]MH_I2C_Read... [00:38:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:38:30]Read from MH i2c: E2 [00:38:30]MH_I2C_Read... [00:38:30]Read from MH i2c: E2 FD 00 [00:38:30]MH_I2C_Read... [00:38:30]Read from MH i2c: E2 FD 00 01 0C 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 62 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5A [00:38:30]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 62 3C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:38:30]wFMCommunicate OK [00:38:30]wFMCommunicate request_size=4 [00:38:30]MH_SAM_APDU [00:38:30]CAPDU: 80 17 00 00 [00:38:30]Write to MH i2c: E2 08 00 02 0C 80 17 00 00 00 00 00 00 8E [00:38:30]Write i2c OK [00:38:30]MH_I2C_Read... [00:38:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:38:31]Read from MH i2c: E2 [00:38:31]MH_I2C_Read... [00:38:31]Read from MH i2c: E2 FD 00 [00:38:31]MH_I2C_Read... [00:38:31]Read from MH i2c: E2 FD 00 02 0C 00 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 90 00 2E [00:38:31]RAPDU: 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 90 00 [00:38:31]wFMCommunicate OK [00:38:31]wFMCommunicate request_size=4 [00:38:31]MH_SAM_APDU [00:38:31]CAPDU: 80 17 00 00 [00:38:31]Write to MH i2c: E2 08 00 03 0C 80 17 00 00 00 00 00 00 8F [00:38:31]Write i2c OK [00:38:31]MH_I2C_Read... [00:38:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:38:31]Read from MH i2c: E2 [00:38:31]MH_I2C_Read... [00:38:31]Read from MH i2c: E2 FD 00 [00:38:31]MH_I2C_Read... [00:38:31]Read from MH i2c: E2 FD 00 03 0C 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 14 [00:38:31]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:38:31]wFMCommunicate OK [00:38:31]wFMCommunicate request_size=4 [00:38:31]MH_SAM_APDU [00:38:31]CAPDU: 80 17 00 00 [00:38:31]Write to MH i2c: E2 08 00 04 0C 80 17 00 00 00 00 00 00 90 [00:38:31]Write i2c OK [00:38:31]MH_I2C_Read... [00:38:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:38:31]Read from MH i2c: E2 [00:38:31]MH_I2C_Read... [00:38:31]Read from MH i2c: E2 DE 00 [00:38:31]MH_I2C_Read... [00:38:31]Read from MH i2c: E2 DE 00 04 0C 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 90 00 6F [00:38:31]RAPDU: 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 90 00 [00:38:32]wFMCommunicate OK [00:38:32]SAM_PROTO_GetFMData done [00:38:32]requested_item fm.sale_refund.total is exist - process it [00:38:32]requested_item fm.buy.total is exist - process it [00:38:32]requested_item shift.sale.total is exist - process it [00:38:32]SAM_PROTO_GetShiftData [00:38:32]wFMCommunicate request_size=4 [00:38:32]MH_SAM_APDU [00:38:32]CAPDU: 80 13 02 00 [00:38:32]Write to MH i2c: E2 08 00 05 0C 80 13 02 00 00 00 00 00 8F [00:38:32]Write i2c OK [00:38:32]MH_I2C_Read... [00:38:32]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:38:32]Read from MH i2c: E2 [00:38:32]MH_I2C_Read... [00:38:32]Read from MH i2c: E2 FD 00 [00:38:32]MH_I2C_Read... [00:38:32]Read from MH i2c: E2 FD 00 05 0C 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 02 [00:38:32]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:38:32]wFMCommunicate OK [00:38:32]wFMCommunicate request_size=4 [00:38:32]MH_SAM_APDU [00:38:32]CAPDU: 80 17 00 00 [00:38:32]Write to MH i2c: E2 08 00 06 0C 80 17 00 00 00 00 00 00 92 [00:38:32]Write i2c OK [00:38:32]MH_I2C_Read... [00:38:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:38:32]Read from MH i2c: E2 [00:38:32]MH_I2C_Read... [00:38:32]Read from MH i2c: E2 FD 00 [00:38:32]MH_I2C_Read... [00:38:32]Read from MH i2c: E2 FD 00 06 0C 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 9A [00:38:33]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:38:33]wFMCommunicate OK [00:38:33]wFMCommunicate request_size=4 [00:38:33]MH_SAM_APDU [00:38:33]CAPDU: 80 17 00 00 [00:38:33]Write to MH i2c: E2 08 00 07 0C 80 17 00 00 00 00 00 00 93 [00:38:33]Write i2c OK [00:38:33]MH_I2C_Read... [00:38:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:38:33]Read from MH i2c: E2 [00:38:33]MH_I2C_Read... [00:38:33]Read from MH i2c: E2 FD 00 [00:38:33]MH_I2C_Read... [00:38:33]Read from MH i2c: E2 FD 00 07 0C 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 65 [00:38:33]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:38:33]wFMCommunicate OK [00:38:33]wFMCommunicate request_size=4 [00:38:33]MH_SAM_APDU [00:38:33]CAPDU: 80 17 00 00 [00:38:33]Write to MH i2c: E2 08 00 08 0C 80 17 00 00 00 00 00 00 94 [00:38:33]Write i2c OK [00:38:33]MH_I2C_Read... [00:38:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:38:33]Read from MH i2c: E2 [00:38:33]MH_I2C_Read... [00:38:33]Read from MH i2c: E2 FD 00 [00:38:33]MH_I2C_Read... [00:38:33]Read from MH i2c: E2 FD 00 08 0C 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 06 [00:38:33]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:38:34]wFMCommunicate OK [00:38:34]wFMCommunicate request_size=4 [00:38:34]MH_SAM_APDU [00:38:34]CAPDU: 80 17 00 00 [00:38:34]Write to MH i2c: E2 08 00 09 0C 80 17 00 00 00 00 00 00 95 [00:38:34]Write i2c OK [00:38:34]MH_I2C_Read... [00:38:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:38:34]Read from MH i2c: E2 [00:38:34]MH_I2C_Read... [00:38:34]Read from MH i2c: E2 BD 00 [00:38:34]MH_I2C_Read... [00:38:34]Read from MH i2c: E2 BD 00 09 0C 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 7B [00:38:34]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:38:34]wFMCommunicate OK [00:38:34]SAM_PROTO_GetShiftData done [00:38:34]requested_item shift.sale.total_cash is exist - process it [00:38:34]requested_item shift.sale_refund.total is exist - process it [00:38:34]requested_item shift.sale_refund.total_cash is exist - process it [00:38:34]requested_item shift.buy.total is exist - process it [00:38:34]requested_item shift.buy.total_cash is exist - process it [00:38:34]produce_requested_data done [00:38:34]produce_requested_data return {"fm.sale.total":5952189.00,"fm.sale_refund.total":17469.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:38:34]process_action_free get_value [00:38:34]json_value_free [00:38:34]json_value_free done [00:38:34]process_json_proto returns [00:38:34]Send response to host [00:38:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":5952189.00,"fm.sale_refund.total":17469.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:38:34]free response buf [00:38:34]execute_script done [00:38:34]execute_script returns [00:38:34]free content buf [00:38:34]Sock 9.Close socket [00:38:34]Sock 9.Thread stoped [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:19]OFD Sender: No OFD packet to send [00:45:24]OFD Sender: No OFD packet to send [00:45:29]OFD Sender: No OFD packet to send [00:45:34]OFD Sender: No OFD packet to send [00:45:39]OFD Sender: No OFD packet to send [00:45:44]OFD Sender: No OFD packet to send [00:45:49]OFD Sender: No OFD packet to send [00:45:54]OFD Sender: No OFD packet to send [00:45:59]OFD Sender: No OFD packet to send [00:46:04]OFD Sender: No OFD packet to send [00:46:09]OFD Sender: No OFD packet to send [00:46:14]OFD Sender: No OFD packet to send [00:46:19]OFD Sender: No OFD packet to send [00:46:24]OFD Sender: No OFD packet to send [00:46:29]OFD Sender: No OFD packet to send [00:46:34]OFD Sender: No OFD packet to send [00:46:39]OFD Sender: No OFD packet to send [00:46:44]OFD Sender: No OFD packet to send [00:46:49]OFD Sender: No OFD packet to send [00:46:54]OFD Sender: No OFD packet to send [00:46:59]OFD Sender: No OFD packet to send [00:47:04]OFD Sender: No OFD packet to send [00:47:09]OFD Sender: No OFD packet to send [00:47:14]OFD Sender: No OFD packet to send [00:47:19]OFD Sender: No OFD packet to send [00:47:24]OFD Sender: No OFD packet to send [00:47:29]OFD Sender: No OFD packet to send [00:47:34]OFD Sender: No OFD packet to send [00:47:39]OFD Sender: No OFD packet to send [00:47:44]OFD Sender: No OFD packet to send [00:47:49]OFD Sender: No OFD packet to send [00:47:54]OFD Sender: No OFD packet to send [00:47:59]OFD Sender: No OFD packet to send [00:48:04]OFD Sender: No OFD packet to send [00:48:09]OFD Sender: No OFD packet to send [00:48:14]OFD Sender: No OFD packet to send [00:48:19]OFD Sender: No OFD packet to send [00:48:24]OFD Sender: No OFD packet to send [00:48:29]OFD Sender: No OFD packet to send [00:48:34]OFD Sender: No OFD packet to send [00:48:39]OFD Sender: No OFD packet to send [00:48:44]OFD Sender: No OFD packet to send [00:48:49]OFD Sender: No OFD packet to send [00:48:54]OFD Sender: No OFD packet to send [00:48:59]OFD Sender: No OFD packet to send [00:49:04]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:40]OFD Sender: No OFD packet to send [01:01:45]OFD Sender: No OFD packet to send [01:01:50]OFD Sender: No OFD packet to send [01:01:55]OFD Sender: No OFD packet to send [01:02:00]OFD Sender: No OFD packet to send [01:02:05]OFD Sender: No OFD packet to send [01:02:10]OFD Sender: No OFD packet to send [01:02:15]OFD Sender: No OFD packet to send [01:02:20]OFD Sender: No OFD packet to send [01:02:25]OFD Sender: No OFD packet to send [01:02:30]OFD Sender: No OFD packet to send [01:02:35]OFD Sender: No OFD packet to send [01:02:40]OFD Sender: No OFD packet to send [01:02:45]OFD Sender: No OFD packet to send [01:02:50]OFD Sender: No OFD packet to send [01:02:55]OFD Sender: No OFD packet to send [01:03:00]OFD Sender: No OFD packet to send [01:03:05]OFD Sender: No OFD packet to send [01:03:10]OFD Sender: No OFD packet to send [01:03:15]OFD Sender: No OFD packet to send [01:03:20]OFD Sender: No OFD packet to send [01:03:25]OFD Sender: No OFD packet to send [01:03:30]OFD Sender: No OFD packet to send [01:03:35]OFD Sender: No OFD packet to send [01:03:40]OFD Sender: No OFD packet to send [01:03:45]OFD Sender: No OFD packet to send [01:03:50]OFD Sender: No OFD packet to send [01:03:55]OFD Sender: No OFD packet to send [01:04:00]OFD Sender: No OFD packet to send [01:04:05]OFD Sender: No OFD packet to send [01:04:10]OFD Sender: No OFD packet to send [01:04:15]OFD Sender: No OFD packet to send [01:04:20]OFD Sender: No OFD packet to send [01:04:25]OFD Sender: No OFD packet to send [01:04:30]OFD Sender: No OFD packet to send [01:04:35]OFD Sender: No OFD packet to send [01:04:40]OFD Sender: No OFD packet to send [01:04:45]OFD Sender: No OFD packet to send [01:04:50]OFD Sender: No OFD packet to send [01:04:55]OFD Sender: No OFD packet to send [01:05:00]OFD Sender: No OFD packet to send [01:05:05]OFD Sender: No OFD packet to send [01:05:10]OFD Sender: No OFD packet to send [01:05:15]OFD Sender: No OFD packet to send [01:05:20]OFD Sender: No OFD packet to send [01:05:25]OFD Sender: No OFD packet to send [01:05:30]OFD Sender: No OFD packet to send [01:05:35]OFD Sender: No OFD packet to send [01:05:40]OFD Sender: No OFD packet to send [01:05:45]OFD Sender: No OFD packet to send [01:05:50]OFD Sender: No OFD packet to send [01:05:55]OFD Sender: No OFD packet to send [01:06:00]OFD Sender: No OFD packet to send [01:06:05]OFD Sender: No OFD packet to send [01:06:10]OFD Sender: No OFD packet to send [01:06:15]OFD Sender: No OFD packet to send [01:06:20]OFD Sender: No OFD packet to send [01:06:25]OFD Sender: No OFD packet to send [01:06:30]OFD Sender: No OFD packet to send [01:06:35]OFD Sender: No OFD packet to send [01:06:40]OFD Sender: No OFD packet to send [01:06:45]OFD Sender: No OFD packet to send [01:06:50]OFD Sender: No OFD packet to send [01:06:55]OFD Sender: No OFD packet to send [01:07:00]OFD Sender: No OFD packet to send [01:07:05]OFD Sender: No OFD packet to send [01:07:10]OFD Sender: No OFD packet to send [01:07:15]OFD Sender: No OFD packet to send [01:07:20]OFD Sender: No OFD packet to send [01:07:25]OFD Sender: No OFD packet to send [01:07:30]OFD Sender: No OFD packet to send [01:07:35]OFD Sender: No OFD packet to send [01:07:40]OFD Sender: No OFD packet to send [01:07:45]OFD Sender: No OFD packet to send [01:07:50]OFD Sender: No OFD packet to send [01:07:55]OFD Sender: No OFD packet to send [01:08:00]OFD Sender: No OFD packet to send [01:08:05]OFD Sender: No OFD packet to send [01:08:10]OFD Sender: No OFD packet to send [01:08:15]OFD Sender: No OFD packet to send [01:08:20]OFD Sender: No OFD packet to send [01:08:25]OFD Sender: No OFD packet to send [01:08:30]OFD Sender: No OFD packet to send [01:08:35]OFD Sender: No OFD packet to send [01:08:40]OFD Sender: No OFD packet to send [01:08:45]OFD Sender: No OFD packet to send [01:08:50]OFD Sender: No OFD packet to send [01:08:55]OFD Sender: No OFD packet to send [01:09:00]OFD Sender: No OFD packet to send [01:09:05]OFD Sender: No OFD packet to send [01:09:10]OFD Sender: No OFD packet to send [01:09:15]OFD Sender: No OFD packet to send [01:09:20]OFD Sender: No OFD packet to send [01:09:25]OFD Sender: No OFD packet to send [01:09:30]OFD Sender: No OFD packet to send [01:09:35]OFD Sender: No OFD packet to send [01:09:40]OFD Sender: No OFD packet to send [01:09:45]OFD Sender: No OFD packet to send [01:09:50]OFD Sender: No OFD packet to send [01:09:55]OFD Sender: No OFD packet to send [01:10:00]OFD Sender: No OFD packet to send [01:10:05]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:17:57]accept exits with 8 [01:17:57]New connection [01:17:57]New thread 3066928484 created [01:17:57]Thread 3066785124 joined [01:17:57]Waiting for new connection... [01:17:57] Sock 8.Parse request [01:17:57]Sock 8.Check first char [01:17:57]Sock 8.First char is OK [01:17:57]request: POST /json_proto HTTP/1.0 [01:17:57]Method: POST [01:17:57]URL: /json_proto [01:17:57]Method is POST - this is cgi request [01:17:57]url: /json_proto [01:17:57]query_string will be loaded in cgi processing [01:17:57]execute_cgi json_proto POST (null) [01:17:57]execute_cgi path=json_proto method=POST [01:17:57]POST find Content-Length [01:17:57]Host: 172.17.45.8:8080 [01:17:57]Content-Length: 630 [01:17:57]Content-Type: application/json [01:17:57] [01:17:57]POST finish read [01:17:57]Found Content-Length = 630 [01:17:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150495", "tax_sys" : 0, "items" : [ { "code": "4700000480814", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 0,5 \u0441\u0442", "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" ] } } [01:17:57]execute_script... [01:17:57]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)150495", "tax_sys" : 0, "items" : [ { "code": "4700000480814", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 0,5 \u0441\u0442", "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" ] } } [01:17:57]POST & json_proto [01:17:57]process_json_proto [01:17:57]json parsed OK: [01:17:57]protocol is kg_v1.0 [01:17:57]action value=close_receipt [01:17:57]process_action close_receipt [01:17:57]cmd_close_receipt [01:17:57]MH_GetDate [01:17:57]Write to MH i2c: F0 00 00 0A 0C 05 [01:17:57]Write i2c OK [01:17:57]MH_I2C_Read... [01:17:57]Read from MH i2c: F0 [01:17:57]MH_I2C_Read... [01:17:57]Read from MH i2c: F0 09 00 [01:17:57]MH_I2C_Read... [01:17:57]Read from MH i2c: F0 09 00 0A 0C 00 C8 ED A6 66 A6 1F 7F 64 77 [01:17:57]GetLastDocTimeStamp 1722213509 [01:17:57]current date 1722215880 [01:17:57]FM_GetShiftState [01:17:57]SAM_PROTO_GetShiftState [01:17:57]wFMCommunicate request_size=4 [01:17:57]MH_SAM_APDU [01:17:57]CAPDU: 80 13 01 00 [01:17:57]Write to MH i2c: E2 08 00 0B 0C 80 13 01 00 00 00 00 00 94 [01:17:57]Write i2c OK [01:17:57]MH_I2C_Read... [01:17:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:17:57]Read from MH i2c: E2 [01:17:57]MH_I2C_Read... [01:17:57]Read from MH i2c: E2 0E 00 [01:17:57]MH_I2C_Read... [01:17:57]Read from MH i2c: E2 0E 00 0B 0C 00 09 00 01 85 E4 A6 66 00 00 00 00 90 00 15 [01:17:57]RAPDU: 09 00 01 85 E4 A6 66 00 00 00 00 90 00 [01:17:57]wFMCommunicate OK [01:17:57]SAM_PROTO_GetShiftState done [01:17:57]FM_GetShiftState done [01:17:57]opened in 1722213509 [01:17:57]opened+sec_in_day 1722299909 [01:17:57]quantity*price = 10000 [01:17:57]sum+1 = 10001 [01:17:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 1 29.07.2024 01:18 Смена: 434 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27098 ФПД: 139999974599368 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240729T011800&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27098&fm=139999974599368&tin=02508201610067®Number=0000000000092663&sum=10000 0 [01:17:58]StoreToDocumentArchive [01:17:58]shift 434 fd 27098 [01:17:58]save to /storage/0434/doc_00027098 [01:17:58]save last doc name /storage/0434/doc_00027098 to /storage/kkm_last_doc_name [01:17:58]save OK [01:17:58]Clear old archive folders... [01:17:58]ProcessDocumentItem done err = 0, tmpTLVsize=270 [01:17:58]tlvbuf is 001BE470 [01:17:58]SAM_PROTO_ClearQueue [01:17:58]wFMCommunicate request_size=4 [01:17:58]MH_SAM_APDU [01:17:58]CAPDU: 80 09 00 00 [01:17:58]Write to MH i2c: E2 08 00 18 0C 80 09 00 00 00 00 00 00 96 [01:17:58]Write i2c OK [01:17:58]MH_I2C_Read... [01:17:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:17:58]Read from MH i2c: E2 [01:17:58]MH_I2C_Read... [01:17:58]Read from MH i2c: E2 03 00 [01:17:58]MH_I2C_Read... [01:17:58]Read from MH i2c: E2 03 00 18 0C 00 90 00 98 [01:17:58]RAPDU: 90 00 [01:17:58]wFMCommunicate OK [01:17:58]SAM_PROTO_ClearQueue done [01:17:58]KKMCreateOFDPacket [01:17:58]OFDProtocolAddRootSTLVToBuf [01:17:58]FM_MakeSignedData [01:17:58]FM_MakeSignedData [01:17:58]SAM_PROTO_SignData [01:17:58]wFMCommunicate request_size=4 [01:17:58]MH_SAM_APDU [01:17:58]CAPDU: 80 0D 01 02 [01:17:58]Write to MH i2c: E2 08 00 19 0C 80 0D 01 02 00 00 00 00 9E [01:17:58]Write i2c OK [01:17:58]MH_I2C_Read... [01:17:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:17:58]Read from MH i2c: E2 [01:17:58]MH_I2C_Read... [01:17:58]Read from MH i2c: E2 03 00 [01:17:58]MH_I2C_Read... [01:17:58]Read from MH i2c: E2 03 00 19 0C 00 90 00 99 [01:17:58]RAPDU: 90 00 [01:17:58]wFMCommunicate OK [01:17:58]wFMCommunicate request_size=255 [01:17:58]MH_SAM_APDU [01:17:58]CAPDU: 80 0D 02 02 FA 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 38 31 34 06 04 1C 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 30 2C 35 20 D1 81 D1 82 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 01 00 00 00 F4 03 04 00 C8 ED A6 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 [01:17:58]Write to MH i2c: E2 02 01 1A 0C 80 0D 02 02 FA 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 38 31 34 06 04 1C 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 30 2C 35 20 D1 81 D1 82 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 01 00 00 00 F4 03 04 00 C8 ED A6 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 50 [01:17:58]Write i2c OK [01:17:58]MH_I2C_Read... [01:17:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:17:58]Read from MH i2c: E2 [01:17:58]MH_I2C_Read... [01:17:58]Read from MH i2c: E2 03 00 [01:17:58]MH_I2C_Read... [01:17:58]Read from MH i2c: E2 03 00 1A 0C 00 90 00 9A [01:17:58]RAPDU: 90 00 [01:17:58]wFMCommunicate OK [01:17:58]wFMCommunicate request_size=29 [01:17:58]MH_SAM_APDU [01:17:58]CAPDU: 80 0D 02 02 18 38 37 34 39 33 37 10 04 04 00 DA 69 00 00 35 04 06 00 7F 54 48 C1 2A C8 [01:17:58]Write to MH i2c: E2 20 00 1B 0C 80 0D 02 02 18 00 38 37 34 39 33 37 10 04 04 00 DA 69 00 00 35 04 06 00 7F 54 48 C1 2A C8 00 00 7F [01:17:58]Write i2c OK [01:17:58]MH_I2C_Read... [01:17:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:17:58]Read from MH i2c: E2 [01:17:58]MH_I2C_Read... [01:17:58]Read from MH i2c: E2 03 00 [01:17:58]MH_I2C_Read... [01:17:58]Read from MH i2c: E2 03 00 1B 0C 00 90 00 9B [01:17:58]RAPDU: 90 00 [01:17:58]wFMCommunicate OK [01:17:58]wFMCommunicate request_size=4 [01:17:58]MH_SAM_APDU [01:17:58]CAPDU: 80 0D 03 02 [01:17:58]Write to MH i2c: E2 08 00 1C 0C 80 0D 03 02 00 00 00 00 A3 [01:17:58]Write i2c OK [01:17:58]MH_I2C_Read... [01:17:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:17:58]Read from MH i2c: E2 [01:17:58]MH_I2C_Read... [01:17:58]Read from MH i2c: E2 0B 00 [01:17:58]MH_I2C_Read... [01:17:58]Read from MH i2c: E2 0B 00 1C 0C 00 AD 6C D2 48 0C E8 E6 5B 90 00 0C [01:17:58]RAPDU: AD 6C D2 48 0C E8 E6 5B 90 00 [01:17:58]wFMCommunicate OK [01:17:58]SAM_PROTO_SignData done [01:17:58]FM_MakeSignedData done [01:17:58]CreateOFDProtocolMessage [01:17:58]wFMCommunicate request_size=4 [01:17:58]MH_SAM_APDU [01:17:58]CAPDU: 80 11 00 00 [01:17:58]Write to MH i2c: E2 08 00 1D 0C 80 11 00 00 00 00 00 00 A3 [01:17:58]Write i2c OK [01:17:58]MH_I2C_Read... [01:17:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:17:59]Read from MH i2c: E2 [01:17:59]MH_I2C_Read... [01:17:59]Read from MH i2c: E2 17 00 [01:17:59]MH_I2C_Read... [01:17:59]Read from MH i2c: E2 17 00 1D 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 FC [01:17:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [01:17:59]wFMCommunicate OK [01:17:59]CreateOFDProtocolMessage done [01:17:59]OFDSenderStorePacket 27098 [01:17:59]StoreOFDPacket docnum=27098 [01:17:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 22 01 00 00 DF 57 1A 01 18 E5 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 38 31 34 06 04 1C 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 30 2C 35 20 D1 81 D1 82 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 01 00 00 00 F4 03 04 00 C8 ED A6 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 DA 69 00 00 35 04 06 00 7F 54 48 C1 2A C8 AD 6C D2 48 0C E8 E6 5B [01:17:59]CheckFolder [01:17:59]dirname=/storage/ofd_packets [01:17:59]CheckFolder done [01:17:59]ProducePacketName [01:17:59]name=ofd_packets/00027098 [01:17:59]NVStorageSaveData ofd_packets/00027098 [01:17:59]File name is /storage/ofd_packets/00027098 [01:17:59]Write 320 bytes [01:17:59]NVStorageSaveData done [01:17:59]OFDSenderStorePacket done [01:17:59]KKMCreateOFDPacket done [01:17:59]NVStorageSaveData kkm_last_timestamp [01:17:59]File name is /storage/kkm_last_timestamp [01:17:59]Write 4 bytes [01:17:59]NVStorageSaveData done [01:17:59]ExternCall_PrintAddStr [01:17:59]wPrintStart [01:17:59]Write to MH i2c: 01 00 00 1E 0C 2A [01:17:59]Write i2c OK [01:17:59]MH_I2C_Read... [01:17:59]Read from MH i2c: 01 [01:17:59]MH_I2C_Read... [01:17:59]Read from MH i2c: 01 07 00 [01:17:59]MH_I2C_Read... [01:17:59]Read from MH i2c: 01 07 00 1E 0C 00 00 00 00 00 FF 0F 3F [01:17:59]RasterBufferAndPrint [01:17:59]line Счет N : (3)150495 [01:17:59]line ИНН: 02508201610067 [01:17:59]line Контрольно-Кассовый Чек [01:17:59]line ПРОДАЖА [01:17:59]line Товар: 4700000480814 [01:17:59]line Пиво Живое 0,5 ст [01:17:59]line 1.000 * 100.00 [01:17:59]line = 100.00 [01:17:59]line НДС 12% НСП 1% [01:17:59]line > о реализуемом товаре [01:17:59]line ИТОГО: 100.00 [01:17:59]line НСП 1% : 0.88 [01:17:59]line НДС 12% : 10.62 [01:17:59]line Наличными: 100.00 [01:17:59]line Безнал.: 0.00 [01:17:59]line Место: АЗС № 134 "Партнер Нефть" [01:17:59]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [01:17:59]line СНО: Общий режим [01:17:59]line Чек 1 29.07.2024 01:18 [01:17:59]line Смена: 434 ФФД: 1.0 [01:17:59]line ЗНМ: 0300000043 [01:17:59]line РНМ: 0000000000092663 [01:17:59]line Версия ККМ: 001 [01:17:59]line ФМ: 0000000000874937 [01:17:59]line ФД: 27098 [01:17:59]line ФПД: 139999974599368 [01:17:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240729T011800&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27098&fm=139999974599368&tin=02508201610067®Number=0000000000092663&sum=10000 [01:17:59]line 0 [01:17:59]written 0, free lines is 4095 [01:17:59]OFD Sender: Processing packet 27098 [packets to send 9, broken 8] [01:17:59]ProducePacketName [01:17:59]name=ofd_packets/00027098 [01:17:59]OFD Sender: To server: pG, [01:17:59]CommunicateWithHost lk.salyk.kg:30040 [01:17:59]ConnectInit lk.salyk.kg [01:17:59]Connected sock=10 [01:17:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 22 01 00 00 DF 57 1A 01 18 E5 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 38 31 34 06 04 1C 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 30 2C 35 20 D1 81 D1 82 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 01 00 00 00 F4 03 04 00 C8 ED A6 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 DA 69 00 00 35 04 06 00 7F 54 48 C1 2A C8 AD 6C D2 48 0C E8 E6 5B [01:17:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 FB DF 47 00 8D 41 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 38 37 34 39 33 37 10 04 04 00 DA 69 00 00 F4 03 04 00 1A 94 A6 66 B6 04 01 00 00 8E 08 22 1F B4 AC 77 AB [01:17:59]CommunicateWithHost err = 0 [01:17:59]CheckOFDResponse [01:17:59]1017 (14) - 77093643461234 [01:17:59]1041 (16) - 0000000000874937 [01:17:59]1040 (4) - 27098 [01:17:59]1012 (4) - 28.07.2024 18:55 [01:17:59]1206 (1) - 0 [01:17:59]OFD Sender: Remove packet 27098 [01:17:59]ProducePacketName [01:17:59]name=ofd_packets/00027098 [01:17:59]NVStorageDeleteData [01:17:59]Write to MH i2c: 01 00 00 45 0C 51 [01:17:59]Write i2c OK [01:17:59]MH_I2C_Read... [01:17:59]Read from MH i2c: 01 [01:17:59]MH_I2C_Read... [01:17:59]Read from MH i2c: 01 07 00 [01:17:59]MH_I2C_Read... [01:17:59]Read from MH i2c: 01 07 00 45 0C 00 00 00 00 00 FF 0C 63 [01:17:59]RasterBufferAndPrint [01:17:59]line [01:17:59]line [01:17:59]line [01:17:59]line [01:17:59]line [01:17:59]written 0, free lines is 3333 [01:17:59]MH_Cut [01:17:59]Write to MH i2c: D1 01 00 4C 0C 01 2A [01:17:59]Write i2c OK [01:17:59]MH_I2C_Read... [01:17:59]Read from MH i2c: D1 [01:17:59]MH_I2C_Read... [01:17:59]Read from MH i2c: D1 01 00 [01:17:59]MH_I2C_Read... [01:17:59]Read from MH i2c: D1 01 00 4C 0C 00 29 [01:17:59]Write to MH i2c: 01 00 00 4D 0C 59 [01:17:59]Write i2c OK [01:17:59]MH_I2C_Read... [01:17:59]OFD Sender: No OFD packet to send [01:18:00]*** Cut start [01:18:00]*** Partial cut [01:18:00]*** CUTSNS_PIN = 1 [01:18:00]*** CUTSNS_PIN = 0 [01:18:00]*** Brake cut motor [01:18:00]Read from MH i2c: 01 [01:18:00]MH_I2C_Read... [01:18:00]*** Stop cut motor [01:18:00]*** Cut end [01:18:00]Read from MH i2c: 01 07 00 [01:18:00]MH_I2C_Read... [01:18:00]Read from MH i2c: 01 07 00 4D 0C 00 00 00 00 00 FF 0F 6E [01:18:00]process_action close_receipt done [01:18:00]requested_data is exist [01:18:00]produce_requested_data [01:18:00]requested_item fm.sn is exist - process it [01:18:00]wFMCommunicate request_size=4 [01:18:00]MH_SAM_APDU [01:18:00]CAPDU: 80 11 00 00 [01:18:00]Write to MH i2c: E2 08 00 4E 0C 80 11 00 00 00 00 00 00 D4 [01:18:00]Write i2c OK [01:18:00]MH_I2C_Read... [01:18:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:18:00]Read from MH i2c: E2 [01:18:00]MH_I2C_Read... [01:18:00]Read from MH i2c: E2 17 00 [01:18:00]MH_I2C_Read... [01:18:00]Read from MH i2c: E2 17 00 4E 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 2D [01:18:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [01:18:00]wFMCommunicate OK [01:18:00]requested_item fd.num is exist - process it [01:18:00]SAM_PROTO_GetFieldsCounters [01:18:00]wFMCommunicate request_size=4 [01:18:00]MH_SAM_APDU [01:18:00]CAPDU: 80 13 00 00 [01:18:00]Write to MH i2c: E2 08 00 4F 0C 80 13 00 00 00 00 00 00 D7 [01:18:00]Write i2c OK [01:18:00]MH_I2C_Read... [01:18:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:18:00]Read from MH i2c: E2 [01:18:00]MH_I2C_Read... [01:18:00]Read from MH i2c: E2 62 00 [01:18:01]MH_I2C_Read... [01:18:01]Read from MH i2c: E2 62 00 4F 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 DA 69 00 00 0E 04 04 00 B2 01 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 F8 [01:18:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 DA 69 00 00 0E 04 04 00 B2 01 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 [01:18:01]wFMCommunicate OK [01:18:01]SAM_PROTO_GetFieldsCounters done [01:18:01]requested_item shift.num is exist - process it [01:18:01]requested_item shift.opened is exist - process it [01:18:01]req_shift_opened [01:18:01]FM_GetShiftState [01:18:01]SAM_PROTO_GetShiftState [01:18:01]wFMCommunicate request_size=4 [01:18:01]MH_SAM_APDU [01:18:01]CAPDU: 80 13 01 00 [01:18:01]Write to MH i2c: E2 08 00 50 0C 80 13 01 00 00 00 00 00 D9 [01:18:01]Write i2c OK [01:18:01]MH_I2C_Read... [01:18:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:18:01]Read from MH i2c: E2 [01:18:01]MH_I2C_Read... [01:18:01]Read from MH i2c: E2 0E 00 [01:18:01]MH_I2C_Read... [01:18:01]Read from MH i2c: E2 0E 00 50 0C 00 09 00 01 85 E4 A6 66 00 00 00 00 90 00 5A [01:18:01]RAPDU: 09 00 01 85 E4 A6 66 00 00 00 00 90 00 [01:18:01]wFMCommunicate OK [01:18:01]SAM_PROTO_GetShiftState done [01:18:01]FM_GetShiftState done [01:18:01]req_shift_opened done [01:18:01]requested_item shift.open_date is exist - process it [01:18:01]req_shift_open_date [01:18:01]req_shift_open_date done [01:18:01]produce_requested_data done [01:18:01]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27098,"shift.num":434,"shift.opened":1,"shift.open_date":1722213509} [01:18:01]process_action_free close_receipt [01:18:01]json_value_free [01:18:01]json_value_free done [01:18:01]process_json_proto returns [01:18:01]Send response to host [01:18:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27098,"shift.num":434,"shift.opened":1,"shift.open_date":1722213509}}} [01:18:01]free response buf [01:18:01]execute_script done [01:18:01]execute_script returns [01:18:01]free content buf [01:18:01]Sock 8.Close socket [01:18:01]Sock 8.Thread stoped [01:18:04]OFD Sender: No OFD packet to send [01:18:09]OFD Sender: No OFD packet to send [01:18:14]OFD Sender: No OFD packet to send [01:18:19]OFD Sender: No OFD packet to send [01:18:24]OFD Sender: No OFD packet to send [01:18:29]OFD Sender: No OFD packet to send [01:18:34]OFD Sender: No OFD packet to send [01:18:39]OFD Sender: No OFD packet to send [01:18:44]OFD Sender: No OFD packet to send [01:18:49]OFD Sender: No OFD packet to send [01:18:54]OFD Sender: No OFD packet to send [01:18:59]OFD Sender: No OFD packet to send [01:19:04]OFD Sender: No OFD packet to send [01:19:09]OFD Sender: No OFD packet to send [01:19:14]OFD Sender: No OFD packet to send [01:19:19]OFD Sender: No OFD packet to send [01:19:24]OFD Sender: No OFD packet to send [01:19:29]OFD Sender: No OFD packet to send [01:19:34]OFD Sender: No OFD packet to send [01:19:39]OFD Sender: No OFD packet to send [01:19:44]OFD Sender: No OFD packet to send [01:19:49]OFD Sender: No OFD packet to send [01:19:54]OFD Sender: No OFD packet to send [01:19:59]OFD Sender: No OFD packet to send [01:20:04]OFD Sender: No OFD packet to send [01:20:09]OFD Sender: No OFD packet to send [01:20:14]OFD Sender: No OFD packet to send [01:20:19]OFD Sender: No OFD packet to send [01:20:24]OFD Sender: No OFD packet to send [01:20:29]OFD Sender: No OFD packet to send [01:20:34]OFD Sender: No OFD packet to send [01:20:39]OFD Sender: No OFD packet to send [01:20:44]OFD Sender: No OFD packet to send [01:20:49]OFD Sender: No OFD packet to send [01:20:54]OFD Sender: No OFD packet to send [01:20:59]OFD Sender: No OFD packet to send [01:21:04]OFD Sender: No OFD packet to send [01:21:09]OFD Sender: No OFD packet to send [01:21:14]OFD Sender: No OFD packet to send [01:21:19]OFD Sender: No OFD packet to send [01:21:24]OFD Sender: No OFD packet to send [01:21:29]OFD Sender: No OFD packet to send [01:21:35]OFD Sender: No OFD packet to send [01:21:40]OFD Sender: No OFD packet to send [01:21:45]OFD Sender: No OFD packet to send [01:21:50]OFD Sender: No OFD packet to send [01:21:55]OFD Sender: No OFD packet to send [01:22:00]OFD Sender: No OFD packet to send [01:22:05]OFD Sender: No OFD packet to send [01:22:10]OFD Sender: No OFD packet to send [01:22:15]OFD Sender: No OFD packet to send [01:22:20]OFD Sender: No OFD packet to send [01:22:25]OFD Sender: No OFD packet to send [01:22:30]OFD Sender: No OFD packet to send [01:22:35]OFD Sender: No OFD packet to send [01:22:40]OFD Sender: No OFD packet to send [01:22:45]OFD Sender: No OFD packet to send [01:22:50]OFD Sender: No OFD packet to send [01:22:55]OFD Sender: No OFD packet to send [01:23:00]OFD Sender: No OFD packet to send [01:23:05]OFD Sender: No OFD packet to send [01:23:10]OFD Sender: No OFD packet to send [01:23:15]OFD Sender: No OFD packet to send [01:23:20]OFD Sender: No OFD packet to send [01:23:25]OFD Sender: No OFD packet to send [01:23:30]OFD Sender: No OFD packet to send [01:23:35]OFD Sender: No OFD packet to send [01:23:40]OFD Sender: No OFD packet to send [01:23:45]OFD Sender: No OFD packet to send [01:23:50]OFD Sender: No OFD packet to send [01:23:55]OFD Sender: No OFD packet to send [01:24:00]OFD Sender: No OFD packet to send [01:24:05]OFD Sender: No OFD packet to send [01:24:10]OFD Sender: No OFD packet to send [01:24:15]OFD Sender: No OFD packet to send [01:24:20]OFD Sender: No OFD packet to send [01:24:25]OFD Sender: No OFD packet to send [01:24:30]OFD Sender: No OFD packet to send [01:24:35]OFD Sender: No OFD packet to send [01:24:40]OFD Sender: No OFD packet to send [01:24:45]OFD Sender: No OFD packet to send [01:24:50]OFD Sender: No OFD packet to send [01:24:55]OFD Sender: No OFD packet to send [01:25:00]OFD Sender: No OFD packet to send [01:25:05]OFD Sender: No OFD packet to send [01:25:10]OFD Sender: No OFD packet to send [01:25:15]OFD Sender: No OFD packet to send [01:25:20]OFD Sender: No OFD packet to send [01:25:25]OFD Sender: No OFD packet to send [01:25:30]OFD Sender: No OFD packet to send [01:25:35]OFD Sender: No OFD packet to send [01:25:40]OFD Sender: No OFD packet to send [01:25:45]OFD Sender: No OFD packet to send [01:25:50]OFD Sender: No OFD packet to send [01:25:55]OFD Sender: No OFD packet to send [01:26:00]OFD Sender: No OFD packet to send [01:26:05]OFD Sender: No OFD packet to send [01:26:10]OFD Sender: No OFD packet to send [01:26:15]OFD Sender: No OFD packet to send [01:26:20]OFD Sender: No OFD packet to send [01:26:25]OFD Sender: No OFD packet to send [01:26:30]OFD Sender: No OFD packet to send [01:26:35]OFD Sender: No OFD packet to send [01:26:40]OFD Sender: No OFD packet to send [01:26:45]OFD Sender: No OFD packet to send [01:26:50]OFD Sender: No OFD packet to send [01:26:55]OFD Sender: No OFD packet to send [01:27:00]OFD Sender: No OFD packet to send [01:27:05]OFD Sender: No OFD packet to send [01:27:10]OFD Sender: No OFD packet to send [01:27:15]OFD Sender: No OFD packet to send [01:27:20]OFD Sender: No OFD packet to send [01:27:25]OFD Sender: No OFD packet to send [01:27:30]OFD Sender: No OFD packet to send [01:27:35]OFD Sender: No OFD packet to send [01:27:40]OFD Sender: No OFD packet to send [01:27:45]OFD Sender: No OFD packet to send [01:27:50]OFD Sender: No OFD packet to send [01:27:55]OFD Sender: No OFD packet to send [01:28:00]OFD Sender: No OFD packet to send [01:28:05]OFD Sender: No OFD packet to send [01:28:10]OFD Sender: No OFD packet to send [01:28:15]OFD Sender: No OFD packet to send [01:28:20]OFD Sender: No OFD packet to send [01:28:25]OFD Sender: No OFD packet to send [01:28:30]OFD Sender: No OFD packet to send [01:28:35]OFD Sender: No OFD packet to send [01:28:40]OFD Sender: No OFD packet to send [01:28:45]OFD Sender: No OFD packet to send [01:28:50]OFD Sender: No OFD packet to send [01:28:55]OFD Sender: No OFD packet to send [01:29:00]OFD Sender: No OFD packet to send [01:29:05]OFD Sender: No OFD packet to send [01:29:10]OFD Sender: No OFD packet to send [01:29:15]OFD Sender: No OFD packet to send [01:29:20]OFD Sender: No OFD packet to send [01:29:25]OFD Sender: No OFD packet to send [01:29:30]OFD Sender: No OFD packet to send [01:29:35]OFD Sender: No OFD packet to send [01:29:40]OFD Sender: No OFD packet to send [01:29:45]OFD Sender: No OFD packet to send [01:29:50]OFD Sender: No OFD packet to send [01:29:55]OFD Sender: No OFD packet to send [01:30:00]OFD Sender: No OFD packet to send [01:30:05]OFD Sender: No OFD packet to send [01:30:10]OFD Sender: No OFD packet to send [01:30:15]OFD Sender: No OFD packet to send [01:30:20]OFD Sender: No OFD packet to send [01:30:25]OFD Sender: No OFD packet to send [01:30:30]OFD Sender: No OFD packet to send [01:30:35]OFD Sender: No OFD packet to send [01:30:40]OFD Sender: No OFD packet to send [01:30:45]OFD Sender: No OFD packet to send [01:30:50]OFD Sender: No OFD packet to send [01:30:55]OFD Sender: No OFD packet to send [01:31:00]OFD Sender: No OFD packet to send [01:31:05]OFD Sender: No OFD packet to send [01:31:10]OFD Sender: No OFD packet to send [01:31:15]OFD Sender: No OFD packet to send [01:31:20]OFD Sender: No OFD packet to send [01:31:25]OFD Sender: No OFD packet to send [01:31:30]OFD Sender: No OFD packet to send [01:31:35]OFD Sender: No OFD packet to send [01:31:40]OFD Sender: No OFD packet to send [01:31:45]OFD Sender: No OFD packet to send [01:31:50]OFD Sender: No OFD packet to send [01:31:55]OFD Sender: No OFD packet to send [01:32:00]OFD Sender: No OFD packet to send [01:32:05]OFD Sender: No OFD packet to send [01:32:10]OFD Sender: No OFD packet to send [01:32:15]OFD Sender: No OFD packet to send [01:32:20]OFD Sender: No OFD packet to send [01:32:25]OFD Sender: No OFD packet to send [01:32:30]OFD Sender: No OFD packet to send [01:32:35]OFD Sender: No OFD packet to send [01:32:40]OFD Sender: No OFD packet to send [01:32:45]OFD Sender: No OFD packet to send [01:32:50]OFD Sender: No OFD packet to send [01:32:55]OFD Sender: No OFD packet to send [01:33:00]OFD Sender: No OFD packet to send [01:33:05]OFD Sender: No OFD packet to send [01:33:10]OFD Sender: No OFD packet to send [01:33:15]OFD Sender: No OFD packet to send [01:33:20]OFD Sender: No OFD packet to send [01:33:25]OFD Sender: No OFD packet to send [01:33:30]OFD Sender: No OFD packet to send [01:33:35]OFD Sender: No OFD packet to send [01:33:40]OFD Sender: No OFD packet to send [01:33:45]OFD Sender: No OFD packet to send [01:33:50]OFD Sender: No OFD packet to send [01:33:55]OFD Sender: No OFD packet to send [01:34:00]OFD Sender: No OFD packet to send [01:34:05]OFD Sender: No OFD packet to send [01:34:10]OFD Sender: No OFD packet to send [01:34:15]OFD Sender: No OFD packet to send [01:34:20]OFD Sender: No OFD packet to send [01:34:25]OFD Sender: No OFD packet to send [01:34:30]OFD Sender: No OFD packet to send [01:34:35]OFD Sender: No OFD packet to send [01:34:40]OFD Sender: No OFD packet to send [01:34:45]OFD Sender: No OFD packet to send [01:34:50]OFD Sender: No OFD packet to send [01:34:55]OFD Sender: No OFD packet to send [01:35:00]OFD Sender: No OFD packet to send [01:35:05]OFD Sender: No OFD packet to send [01:35:10]OFD Sender: No OFD packet to send [01:35:15]OFD Sender: No OFD packet to send [01:35:20]OFD Sender: No OFD packet to send [01:35:25]OFD Sender: No OFD packet to send [01:35:30]OFD Sender: No OFD packet to send [01:35:35]OFD Sender: No OFD packet to send [01:35:40]OFD Sender: No OFD packet to send [01:35:45]OFD Sender: No OFD packet to send [01:35:50]OFD Sender: No OFD packet to send [01:35:55]OFD Sender: No OFD packet to send [01:36:00]OFD Sender: No OFD packet to send [01:36:05]OFD Sender: No OFD packet to send [01:36:10]OFD Sender: No OFD packet to send [01:36:15]OFD Sender: No OFD packet to send [01:36:20]OFD Sender: No OFD packet to send [01:36:25]OFD Sender: No OFD packet to send [01:36:30]OFD Sender: No OFD packet to send [01:36:35]OFD Sender: No OFD packet to send [01:36:40]OFD Sender: No OFD packet to send [01:36:45]OFD Sender: No OFD packet to send [01:36:50]OFD Sender: No OFD packet to send [01:36:55]OFD Sender: No OFD packet to send [01:37:00]OFD Sender: No OFD packet to send [01:37:05]OFD Sender: No OFD packet to send [01:37:10]OFD Sender: No OFD packet to send [01:37:15]OFD Sender: No OFD packet to send [01:37:20]OFD Sender: No OFD packet to send [01:37:25]OFD Sender: No OFD packet to send [01:37:30]OFD Sender: No OFD packet to send [01:37:35]OFD Sender: No OFD packet to send [01:37:40]OFD Sender: No OFD packet to send [01:37:45]OFD Sender: No OFD packet to send [01:37:50]OFD Sender: No OFD packet to send [01:37:55]OFD Sender: No OFD packet to send [01:38:00]OFD Sender: No OFD packet to send [01:38:05]OFD Sender: No OFD packet to send [01:38:10]OFD Sender: No OFD packet to send [01:38:15]OFD Sender: No OFD packet to send [01:38:20]OFD Sender: No OFD packet to send [01:38:25]OFD Sender: No OFD packet to send [01:38:30]OFD Sender: No OFD packet to send [01:38:35]OFD Sender: No OFD packet to send [01:38:40]OFD Sender: No OFD packet to send [01:38:45]OFD Sender: No OFD packet to send [01:38:50]OFD Sender: No OFD packet to send [01:38:55]OFD Sender: No OFD packet to send [01:39:00]OFD Sender: No OFD packet to send [01:39:05]OFD Sender: No OFD packet to send [01:39:10]OFD Sender: No OFD packet to send [01:39:15]OFD Sender: No OFD packet to send [01:39:20]OFD Sender: No OFD packet to send [01:39:25]OFD Sender: No OFD packet to send [01:39:30]OFD Sender: No OFD packet to send [01:39:35]OFD Sender: No OFD packet to send [01:39:40]OFD Sender: No OFD packet to send [01:39:45]OFD Sender: No OFD packet to send [01:39:50]OFD Sender: No OFD packet to send [01:39:55]OFD Sender: No OFD packet to send [01:40:00]OFD Sender: No OFD packet to send [01:40:05]OFD Sender: No OFD packet to send [01:40:10]OFD Sender: No OFD packet to send [01:40:15]OFD Sender: No OFD packet to send [01:40:20]OFD Sender: No OFD packet to send [01:40:25]OFD Sender: No OFD packet to send [01:40:30]OFD Sender: No OFD packet to send [01:40:35]OFD Sender: No OFD packet to send [01:40:40]OFD Sender: No OFD packet to send [01:40:45]OFD Sender: No OFD packet to send [01:40:50]OFD Sender: No OFD packet to send [01:40:55]OFD Sender: No OFD packet to send [01:41:00]OFD Sender: No OFD packet to send [01:41:05]OFD Sender: No OFD packet to send [01:41:10]OFD Sender: No OFD packet to send [01:41:15]OFD Sender: No OFD packet to send [01:41:20]OFD Sender: No OFD packet to send [01:41:25]OFD Sender: No OFD packet to send [01:41:30]OFD Sender: No OFD packet to send [01:41:35]OFD Sender: No OFD packet to send [01:41:40]OFD Sender: No OFD packet to send [01:41:45]OFD Sender: No OFD packet to send [01:41:50]OFD Sender: No OFD packet to send [01:41:55]OFD Sender: No OFD packet to send [01:42:00]OFD Sender: No OFD packet to send [01:42:05]OFD Sender: No OFD packet to send [01:42:10]OFD Sender: No OFD packet to send [01:42:15]OFD Sender: No OFD packet to send [01:42:20]OFD Sender: No OFD packet to send [01:42:25]OFD Sender: No OFD packet to send [01:42:30]OFD Sender: No OFD packet to send [01:42:35]OFD Sender: No OFD packet to send [01:42:40]OFD Sender: No OFD packet to send [01:42:46]OFD Sender: No OFD packet to send [01:42:51]OFD Sender: No OFD packet to send [01:42:56]OFD Sender: No OFD packet to send [01:43:01]OFD Sender: No OFD packet to send [01:43:06]OFD Sender: No OFD packet to send [01:43:11]OFD Sender: No OFD packet to send [01:43:16]OFD Sender: No OFD packet to send [01:43:21]OFD Sender: No OFD packet to send [01:43:26]OFD Sender: No OFD packet to send [01:43:31]OFD Sender: No OFD packet to send [01:43:36]OFD Sender: No OFD packet to send [01:43:41]OFD Sender: No OFD packet to send [01:43:46]OFD Sender: No OFD packet to send [01:43:51]OFD Sender: No OFD packet to send [01:43:56]OFD Sender: No OFD packet to send [01:44:01]OFD Sender: No OFD packet to send [01:44:06]OFD Sender: No OFD packet to send [01:44:11]OFD Sender: No OFD packet to send [01:44:16]OFD Sender: No OFD packet to send [01:44:21]OFD Sender: No OFD packet to send [01:44:26]OFD Sender: No OFD packet to send [01:44:31]OFD Sender: No OFD packet to send [01:44:36]OFD Sender: No OFD packet to send [01:44:41]OFD Sender: No OFD packet to send [01:44:46]OFD Sender: No OFD packet to send [01:44:51]OFD Sender: No OFD packet to send [01:44:56]OFD Sender: No OFD packet to send [01:45:01]OFD Sender: No OFD packet to send [01:45:06]OFD Sender: No OFD packet to send [01:45:11]OFD Sender: No OFD packet to send [01:45:16]OFD Sender: No OFD packet to send [01:45:21]OFD Sender: No OFD packet to send [01:45:26]OFD Sender: No OFD packet to send [01:45:31]OFD Sender: No OFD packet to send [01:45:36]OFD Sender: No OFD packet to send [01:45:41]OFD Sender: No OFD packet to send [01:45:46]OFD Sender: No OFD packet to send [01:45:51]OFD Sender: No OFD packet to send [01:45:56]OFD Sender: No OFD packet to send [01:46:01]OFD Sender: No OFD packet to send [01:46:06]OFD Sender: No OFD packet to send [01:46:11]OFD Sender: No OFD packet to send [01:46:16]OFD Sender: No OFD packet to send [01:46:21]OFD Sender: No OFD packet to send [01:46:26]OFD Sender: No OFD packet to send [01:46:31]OFD Sender: No OFD packet to send [01:46:36]OFD Sender: No OFD packet to send [01:46:41]OFD Sender: No OFD packet to send [01:46:46]OFD Sender: No OFD packet to send [01:46:51]OFD Sender: No OFD packet to send [01:46:56]OFD Sender: No OFD packet to send [01:47:01]OFD Sender: No OFD packet to send [01:47:06]OFD Sender: No OFD packet to send [01:47:11]OFD Sender: No OFD packet to send [01:47:16]OFD Sender: No OFD packet to send [01:47:21]OFD Sender: No OFD packet to send [01:47:26]OFD Sender: No OFD packet to send [01:47:31]OFD Sender: No OFD packet to send [01:47:36]OFD Sender: No OFD packet to send [01:47:41]OFD Sender: No OFD packet to send [01:47:46]OFD Sender: No OFD packet to send [01:47:51]OFD Sender: No OFD packet to send [01:47:56]OFD Sender: No OFD packet to send [01:48:01]OFD Sender: No OFD packet to send [01:48:06]OFD Sender: No OFD packet to send [01:48:11]OFD Sender: No OFD packet to send [01:48:16]OFD Sender: No OFD packet to send [01:48:21]OFD Sender: No OFD packet to send [01:48:26]OFD Sender: No OFD packet to send [01:48:31]OFD Sender: No OFD packet to send [01:48:36]OFD Sender: No OFD packet to send [01:48:41]OFD Sender: No OFD packet to send [01:48:46]OFD Sender: No OFD packet to send [01:48:51]OFD Sender: No OFD packet to send [01:48:56]OFD Sender: No OFD packet to send [01:49:01]OFD Sender: No OFD packet to send [01:49:06]OFD Sender: No OFD packet to send [01:49:11]OFD Sender: No OFD packet to send [01:49:16]OFD Sender: No OFD packet to send [01:49:21]OFD Sender: No OFD packet to send [01:49:26]OFD Sender: No OFD packet to send [01:49:31]OFD Sender: No OFD packet to send [01:49:36]OFD Sender: No OFD packet to send [01:49:41]OFD Sender: No OFD packet to send [01:49:46]OFD Sender: No OFD packet to send [01:49:51]OFD Sender: No OFD packet to send [01:49:56]OFD Sender: No OFD packet to send [01:50:01]OFD Sender: No OFD packet to send [01:50:06]OFD Sender: No OFD packet to send [01:50:11]OFD Sender: No OFD packet to send [01:50:16]OFD Sender: No OFD packet to send [01:50:21]OFD Sender: No OFD packet to send [01:50:26]OFD Sender: No OFD packet to send [01:50:31]OFD Sender: No OFD packet to send [01:50:36]OFD Sender: No OFD packet to send [01:50:41]OFD Sender: No OFD packet to send [01:50:46]OFD Sender: No OFD packet to send [01:50:51]OFD Sender: No OFD packet to send [01:50:56]OFD Sender: No OFD packet to send [01:51:01]OFD Sender: No OFD packet to send [01:51:06]OFD Sender: No OFD packet to send [01:51:11]OFD Sender: No OFD packet to send [01:51:16]OFD Sender: No OFD packet to send [01:51:21]OFD Sender: No OFD packet to send [01:51:26]OFD Sender: No OFD packet to send [01:51:31]OFD Sender: No OFD packet to send [01:51:36]OFD Sender: No OFD packet to send [01:51:41]OFD Sender: No OFD packet to send [01:51:46]OFD Sender: No OFD packet to send [01:51:51]OFD Sender: No OFD packet to send [01:51:56]OFD Sender: No OFD packet to send [01:52:01]OFD Sender: No OFD packet to send [01:52:06]OFD Sender: No OFD packet to send [01:52:11]OFD Sender: No OFD packet to send [01:52:16]OFD Sender: No OFD packet to send [01:52:21]OFD Sender: No OFD packet to send [01:52:26]OFD Sender: No OFD packet to send [01:52:31]OFD Sender: No OFD packet to send [01:52:36]OFD Sender: No OFD packet to send [01:52:41]OFD Sender: No OFD packet to send [01:52:46]OFD Sender: No OFD packet to send [01:52:51]OFD Sender: No OFD packet to send [01:52:56]OFD Sender: No OFD packet to send [01:53:01]OFD Sender: No OFD packet to send [01:53:06]OFD Sender: No OFD packet to send [01:53:11]OFD Sender: No OFD packet to send [01:53:16]OFD Sender: No OFD packet to send [01:53:21]OFD Sender: No OFD packet to send [01:53:26]OFD Sender: No OFD packet to send [01:53:31]OFD Sender: No OFD packet to send [01:53:36]OFD Sender: No OFD packet to send [01:53:41]OFD Sender: No OFD packet to send [01:53:46]OFD Sender: No OFD packet to send [01:53:51]OFD Sender: No OFD packet to send [01:53:56]OFD Sender: No OFD packet to send [01:54:01]OFD Sender: No OFD packet to send [01:54:06]OFD Sender: No OFD packet to send [01:54:11]OFD Sender: No OFD packet to send [01:54:16]OFD Sender: No OFD packet to send [01:54:21]OFD Sender: No OFD packet to send [01:54:26]OFD Sender: No OFD packet to send [01:54:31]OFD Sender: No OFD packet to send [01:54:36]OFD Sender: No OFD packet to send [01:54:41]OFD Sender: No OFD packet to send [01:54:46]OFD Sender: No OFD packet to send [01:54:51]OFD Sender: No OFD packet to send [01:54:56]OFD Sender: No OFD packet to send [01:55:01]OFD Sender: No OFD packet to send [01:55:06]OFD Sender: No OFD packet to send [01:55:11]OFD Sender: No OFD packet to send [01:55:16]OFD Sender: No OFD packet to send [01:55:21]OFD Sender: No OFD packet to send [01:55:26]OFD Sender: No OFD packet to send [01:55:31]OFD Sender: No OFD packet to send [01:55:36]OFD Sender: No OFD packet to send [01:55:41]OFD Sender: No OFD packet to send [01:55:46]OFD Sender: No OFD packet to send [01:55:51]OFD Sender: No OFD packet to send [01:55:56]OFD Sender: No OFD packet to send [01:56:01]OFD Sender: No OFD packet to send [01:56:06]OFD Sender: No OFD packet to send [01:56:11]OFD Sender: No OFD packet to send [01:56:16]OFD Sender: No OFD packet to send [01:56:21]OFD Sender: No OFD packet to send [01:56:26]OFD Sender: No OFD packet to send [01:56:31]OFD Sender: No OFD packet to send [01:56:36]OFD Sender: No OFD packet to send [01:56:41]OFD Sender: No OFD packet to send [01:56:46]accept exits with 9 [01:56:46]New connection [01:56:46]New thread 3066785124 created [01:56:46]Thread 3066928484 joined [01:56:46]Waiting for new connection... [01:56:46] Sock 9.Parse request [01:56:46]Sock 9.Check first char [01:56:46]Sock 9.First char is OK [01:56:46]request: POST /json_proto HTTP/1.0 [01:56:46]Method: POST [01:56:46]URL: /json_proto [01:56:46]Method is POST - this is cgi request [01:56:46]url: /json_proto [01:56:46]query_string will be loaded in cgi processing [01:56:46]execute_cgi json_proto POST (null) [01:56:46]execute_cgi path=json_proto method=POST [01:56:46]POST find Content-Length [01:56:46]Host: 172.17.45.8:8080 [01:56:46]Content-Length: 630 [01:56:46]Content-Type: application/json [01:56:46] [01:56:46]POST finish read [01:56:46]Found Content-Length = 630 [01:56:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150496", "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" ] } } [01:56:46]execute_script... [01:56: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)150496", "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" ] } } [01:56:46]POST & json_proto [01:56:46]process_json_proto [01:56:46]json parsed OK: [01:56:46]protocol is kg_v1.0 [01:56:46]action value=close_receipt [01:56:46]process_action close_receipt [01:56:46]cmd_close_receipt [01:56:46]MH_GetDate [01:56:46]Write to MH i2c: F0 00 00 51 0C 4C [01:56:46]Write i2c OK [01:56:46]MH_I2C_Read... [01:56:46]Read from MH i2c: F0 [01:56:46]MH_I2C_Read... [01:56:46]Read from MH i2c: F0 09 00 [01:56:46]MH_I2C_Read... [01:56:46]Read from MH i2c: F0 09 00 51 0C 00 E1 F6 A6 66 A6 1F 7F 64 E0 [01:56:46]GetLastDocTimeStamp 1722215880 [01:56:46]current date 1722218209 [01:56:46]FM_GetShiftState [01:56:46]SAM_PROTO_GetShiftState [01:56:46]wFMCommunicate request_size=4 [01:56:46]MH_SAM_APDU [01:56:46]CAPDU: 80 13 01 00 [01:56:46]Write to MH i2c: E2 08 00 52 0C 80 13 01 00 00 00 00 00 DB [01:56:46]Write i2c OK [01:56:46]MH_I2C_Read... [01:56:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:56:46]Read from MH i2c: E2 [01:56:46]MH_I2C_Read... [01:56:46]Read from MH i2c: E2 0E 00 [01:56:46]MH_I2C_Read... [01:56:46]Read from MH i2c: E2 0E 00 52 0C 00 09 00 01 85 E4 A6 66 00 00 00 00 90 00 5C [01:56:46]RAPDU: 09 00 01 85 E4 A6 66 00 00 00 00 90 00 [01:56:46]wFMCommunicate OK [01:56:46]SAM_PROTO_GetShiftState done [01:56:46]FM_GetShiftState done [01:56:46]opened in 1722213509 [01:56:46]opened+sec_in_day 1722299909 [01:56:46]quantity*price = 5000 [01:56:46]sum+1 = 5001 [01:56:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 2 29.07.2024 01:56 Смена: 434 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27099 ФПД: 19727307637173 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240729T015649&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27099&fm=19727307637173&tin=02508201610067®Number=0000000000092663&sum=5000 0 [01:56:47]StoreToDocumentArchive [01:56:47]shift 434 fd 27099 [01:56:47]save to /storage/0434/doc_00027099 [01:56:47]save last doc name /storage/0434/doc_00027099 to /storage/kkm_last_doc_name [01:56:47]save OK [01:56:47]Clear old archive folders... [01:56:47]ProcessDocumentItem done err = 0, tmpTLVsize=269 [01:56:47]tlvbuf is 001BE240 [01:56:47]SAM_PROTO_ClearQueue [01:56:47]wFMCommunicate request_size=4 [01:56:47]MH_SAM_APDU [01:56:47]CAPDU: 80 09 00 00 [01:56:47]Write to MH i2c: E2 08 00 5F 0C 80 09 00 00 00 00 00 00 DD [01:56:47]Write i2c OK [01:56:47]MH_I2C_Read... [01:56:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:56:47]Read from MH i2c: E2 [01:56:47]MH_I2C_Read... [01:56:47]Read from MH i2c: E2 03 00 [01:56:47]MH_I2C_Read... [01:56:47]Read from MH i2c: E2 03 00 5F 0C 00 90 00 DF [01:56:47]RAPDU: 90 00 [01:56:47]wFMCommunicate OK [01:56:47]SAM_PROTO_ClearQueue done [01:56:47]KKMCreateOFDPacket [01:56:47]OFDProtocolAddRootSTLVToBuf [01:56:47]FM_MakeSignedData [01:56:47]FM_MakeSignedData [01:56:47]SAM_PROTO_SignData [01:56:47]wFMCommunicate request_size=4 [01:56:47]MH_SAM_APDU [01:56:47]CAPDU: 80 0D 01 02 [01:56:47]Write to MH i2c: E2 08 00 60 0C 80 0D 01 02 00 00 00 00 E5 [01:56:47]Write i2c OK [01:56:47]MH_I2C_Read... [01:56:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:56:47]Read from MH i2c: E2 [01:56:47]MH_I2C_Read... [01:56:47]Read from MH i2c: E2 03 00 [01:56:47]MH_I2C_Read... [01:56:47]Read from MH i2c: E2 03 00 60 0C 00 90 00 E0 [01:56:47]RAPDU: 90 00 [01:56:47]wFMCommunicate OK [01:56:47]wFMCommunicate request_size=255 [01:56:47]MH_SAM_APDU [01:56:47]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 02 00 00 00 F4 03 04 00 E1 F6 A6 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [01:56:47]Write to MH i2c: E2 02 01 61 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 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 02 00 00 00 F4 03 04 00 E1 F6 A6 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 95 [01:56:47]Write i2c OK [01:56:47]MH_I2C_Read... [01:56:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:56:47]Read from MH i2c: E2 [01:56:47]MH_I2C_Read... [01:56:47]Read from MH i2c: E2 03 00 [01:56:47]MH_I2C_Read... [01:56:47]Read from MH i2c: E2 03 00 61 0C 00 90 00 E1 [01:56:47]RAPDU: 90 00 [01:56:47]wFMCommunicate OK [01:56:47]wFMCommunicate request_size=28 [01:56:47]MH_SAM_APDU [01:56:47]CAPDU: 80 0D 02 02 17 37 34 39 33 37 10 04 04 00 DB 69 00 00 35 04 06 00 11 F1 1F 2A 01 B5 [01:56:47]Write to MH i2c: E2 1F 00 62 0C 80 0D 02 02 17 00 37 34 39 33 37 10 04 04 00 DB 69 00 00 35 04 06 00 11 F1 1F 2A 01 B5 00 00 C0 [01:56:47]Write i2c OK [01:56:47]MH_I2C_Read... [01:56:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:56:47]Read from MH i2c: E2 [01:56:47]MH_I2C_Read... [01:56:47]Read from MH i2c: E2 03 00 [01:56:47]MH_I2C_Read... [01:56:47]Read from MH i2c: E2 03 00 62 0C 00 90 00 E2 [01:56:47]RAPDU: 90 00 [01:56:47]wFMCommunicate OK [01:56:47]wFMCommunicate request_size=4 [01:56:47]MH_SAM_APDU [01:56:47]CAPDU: 80 0D 03 02 [01:56:47]Write to MH i2c: E2 08 00 63 0C 80 0D 03 02 00 00 00 00 EA [01:56:47]Write i2c OK [01:56:47]MH_I2C_Read... [01:56:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:56:47]Read from MH i2c: E2 [01:56:47]MH_I2C_Read... [01:56:47]Read from MH i2c: E2 0B 00 [01:56:47]MH_I2C_Read... [01:56:47]Read from MH i2c: E2 0B 00 63 0C 00 9B A0 E6 B7 6D 7C 11 5E 90 00 1B [01:56:47]RAPDU: 9B A0 E6 B7 6D 7C 11 5E 90 00 [01:56:47]wFMCommunicate OK [01:56:47]SAM_PROTO_SignData done [01:56:47]FM_MakeSignedData done [01:56:47]CreateOFDProtocolMessage [01:56:47]wFMCommunicate request_size=4 [01:56:47]MH_SAM_APDU [01:56:47]CAPDU: 80 11 00 00 [01:56:47]Write to MH i2c: E2 08 00 64 0C 80 11 00 00 00 00 00 00 EA [01:56:47]Write i2c OK [01:56:47]MH_I2C_Read... [01:56:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:56:47]Read from MH i2c: E2 [01:56:47]MH_I2C_Read... [01:56:47]Read from MH i2c: E2 17 00 [01:56:47]MH_I2C_Read... [01:56:47]Read from MH i2c: E2 17 00 64 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 43 [01:56:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [01:56:47]wFMCommunicate OK [01:56:47]CreateOFDProtocolMessage done [01:56:47]OFDSenderStorePacket 27099 [01:56:47]StoreOFDPacket docnum=27099 [01:56:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 21 01 00 00 F0 17 19 01 80 A0 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 02 00 00 00 F4 03 04 00 E1 F6 A6 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 DB 69 00 00 35 04 06 00 11 F1 1F 2A 01 B5 9B A0 E6 B7 6D 7C 11 5E [01:56:47]CheckFolder [01:56:47]dirname=/storage/ofd_packets [01:56:47]CheckFolder done [01:56:47]ProducePacketName [01:56:47]name=ofd_packets/00027099 [01:56:47]NVStorageSaveData ofd_packets/00027099 [01:56:47]File name is /storage/ofd_packets/00027099 [01:56:47]Write 319 bytes [01:56:47]NVStorageSaveData done [01:56:47]OFDSenderStorePacket done [01:56:47]KKMCreateOFDPacket done [01:56:47]NVStorageSaveData kkm_last_timestamp [01:56:47]File name is /storage/kkm_last_timestamp [01:56:47]Write 4 bytes [01:56:47]NVStorageSaveData done [01:56:47]ExternCall_PrintAddStr [01:56:47]wPrintStart [01:56:47]Write to MH i2c: 01 00 00 65 0C 71 [01:56:47]Write i2c OK [01:56:47]MH_I2C_Read... [01:56:47]Read from MH i2c: 01 [01:56:47]MH_I2C_Read... [01:56:47]Read from MH i2c: 01 07 00 [01:56:47]MH_I2C_Read... [01:56:47]Read from MH i2c: 01 07 00 65 0C 00 00 00 00 00 FF 0F 86 [01:56:47]RasterBufferAndPrint [01:56:47]line Счет N : (3)150496 [01:56:47]line ИНН: 02508201610067 [01:56:47]line Контрольно-Кассовый Чек [01:56:47]line ПРОДАЖА [01:56:47]line Товар: 4700000160358 [01:56:47]line Вода Легенда 1л [01:56:47]line 1.000 * 50.00 [01:56:47]line = 50.00 [01:56:47]line НДС 12% НСП 1% [01:56:47]line > о реализуемом товаре [01:56:47]line ИТОГО: 50.00 [01:56:47]line НСП 1% : 0.44 [01:56:47]line НДС 12% : 5.31 [01:56:47]line Наличными: 50.00 [01:56:47]line Безнал.: 0.00 [01:56:47]line Место: АЗС № 134 "Партнер Нефть" [01:56:47]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [01:56:47]line СНО: Общий режим [01:56:47]line Чек 2 29.07.2024 01:56 [01:56:47]line Смена: 434 ФФД: 1.0 [01:56:47]line ЗНМ: 0300000043 [01:56:47]line РНМ: 0000000000092663 [01:56:47]line Версия ККМ: 001 [01:56:47]line ФМ: 0000000000874937 [01:56:47]line ФД: 27099 [01:56:47]line ФПД: 19727307637173 [01:56:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240729T015649&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27099&fm=19727307637173&tin=02508201610067®Number=0000000000092663&sum=5000 [01:56:47]line 0 [01:56:48]written 0, free lines is 4095 [01:56:48]OFD Sender: Processing packet 27099 [packets to send 9, broken 8] [01:56:48]ProducePacketName [01:56:48]name=ofd_packets/00027099 [01:56:48]OFD Sender: To server: pG, [01:56:48]CommunicateWithHost lk.salyk.kg:30040 [01:56:48]ConnectInit lk.salyk.kg [01:56:48]Connected sock=10 [01:56:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 21 01 00 00 F0 17 19 01 80 A0 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 02 00 00 00 F4 03 04 00 E1 F6 A6 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 DB 69 00 00 35 04 06 00 11 F1 1F 2A 01 B5 9B A0 E6 B7 6D 7C 11 5E [01:56:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 4F 9B 47 00 AA C3 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 38 37 34 39 33 37 10 04 04 00 DB 69 00 00 F4 03 04 00 33 9D A6 66 B6 04 01 00 00 2F BF C6 B4 18 88 E4 98 [01:56:48]CommunicateWithHost err = 0 [01:56:48]CheckOFDResponse [01:56:48]1017 (14) - 77093643461234 [01:56:48]1041 (16) - 0000000000874937 [01:56:48]1040 (4) - 27099 [01:56:48]1012 (4) - 28.07.2024 19:34 [01:56:48]1206 (1) - 0 [01:56:48]OFD Sender: Remove packet 27099 [01:56:48]ProducePacketName [01:56:48]name=ofd_packets/00027099 [01:56:48]NVStorageDeleteData [01:56:48]Write to MH i2c: 01 00 00 8C 0C 98 [01:56:48]Write i2c OK [01:56:48]MH_I2C_Read... [01:56:48]Read from MH i2c: 01 [01:56:48]MH_I2C_Read... [01:56:48]Read from MH i2c: 01 07 00 [01:56:48]MH_I2C_Read... [01:56:48]Read from MH i2c: 01 07 00 8C 0C 00 00 00 00 00 0F 0D BB [01:56:48]RasterBufferAndPrint [01:56:48]line [01:56:48]line [01:56:48]line [01:56:48]line [01:56:48]line [01:56:48]written 0, free lines is 3350 [01:56:48]MH_Cut [01:56:48]Write to MH i2c: D1 01 00 93 0C 01 71 [01:56:48]Write i2c OK [01:56:48]MH_I2C_Read... [01:56:48]Read from MH i2c: D1 [01:56:48]MH_I2C_Read... [01:56:48]Read from MH i2c: D1 01 00 [01:56:48]MH_I2C_Read... [01:56:48]Read from MH i2c: D1 01 00 93 0C 00 70 [01:56:48]Write to MH i2c: 01 00 00 94 0C A0 [01:56:48]Write i2c OK [01:56:48]MH_I2C_Read... [01:56:49]OFD Sender: No OFD packet to send [01:56:49]*** Cut start [01:56:49]*** Partial cut [01:56:49]*** CUTSNS_PIN = 1 [01:56:49]*** CUTSNS_PIN = 0 [01:56:49]*** Brake cut motor [01:56:49]Read from MH i2c: 01 [01:56:49]MH_I2C_Read... [01:56:49]*** Stop cut motor [01:56:49]Read from MH i2c: 01 07 00 [01:56:49]MH_I2C_Read... [01:56:49]*** Cut end [01:56:49]Read from MH i2c: 01 07 00 94 0C 00 00 00 00 00 FF 0F B5 [01:56:49]process_action close_receipt done [01:56:49]requested_data is exist [01:56:49]produce_requested_data [01:56:49]requested_item fm.sn is exist - process it [01:56:49]wFMCommunicate request_size=4 [01:56:49]MH_SAM_APDU [01:56:49]CAPDU: 80 11 00 00 [01:56:49]Write to MH i2c: E2 08 00 95 0C 80 11 00 00 00 00 00 00 1B [01:56:49]Write i2c OK [01:56:49]MH_I2C_Read... [01:56:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:56:50]Read from MH i2c: E2 [01:56:50]MH_I2C_Read... [01:56:50]Read from MH i2c: E2 17 00 [01:56:50]MH_I2C_Read... [01:56:50]Read from MH i2c: E2 17 00 95 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 74 [01:56:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [01:56:50]wFMCommunicate OK [01:56:50]requested_item fd.num is exist - process it [01:56:50]SAM_PROTO_GetFieldsCounters [01:56:50]wFMCommunicate request_size=4 [01:56:50]MH_SAM_APDU [01:56:50]CAPDU: 80 13 00 00 [01:56:50]Write to MH i2c: E2 08 00 96 0C 80 13 00 00 00 00 00 00 1E [01:56:50]Write i2c OK [01:56:50]MH_I2C_Read... [01:56:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:56:50]Read from MH i2c: E2 [01:56:50]MH_I2C_Read... [01:56:50]Read from MH i2c: E2 62 00 [01:56:50]MH_I2C_Read... [01:56:50]Read from MH i2c: E2 62 00 96 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 DB 69 00 00 0E 04 04 00 B2 01 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 43 [01:56:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 DB 69 00 00 0E 04 04 00 B2 01 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 [01:56:50]wFMCommunicate OK [01:56:50]SAM_PROTO_GetFieldsCounters done [01:56:50]requested_item shift.num is exist - process it [01:56:50]requested_item shift.opened is exist - process it [01:56:50]req_shift_opened [01:56:50]FM_GetShiftState [01:56:50]SAM_PROTO_GetShiftState [01:56:50]wFMCommunicate request_size=4 [01:56:50]MH_SAM_APDU [01:56:50]CAPDU: 80 13 01 00 [01:56:50]Write to MH i2c: E2 08 00 97 0C 80 13 01 00 00 00 00 00 20 [01:56:50]Write i2c OK [01:56:50]MH_I2C_Read... [01:56:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:56:50]Read from MH i2c: E2 [01:56:50]MH_I2C_Read... [01:56:50]Read from MH i2c: E2 0E 00 [01:56:50]MH_I2C_Read... [01:56:50]Read from MH i2c: E2 0E 00 97 0C 00 09 00 01 85 E4 A6 66 00 00 00 00 90 00 A1 [01:56:50]RAPDU: 09 00 01 85 E4 A6 66 00 00 00 00 90 00 [01:56:50]wFMCommunicate OK [01:56:50]SAM_PROTO_GetShiftState done [01:56:50]FM_GetShiftState done [01:56:50]req_shift_opened done [01:56:50]requested_item shift.open_date is exist - process it [01:56:50]req_shift_open_date [01:56:50]req_shift_open_date done [01:56:50]produce_requested_data done [01:56:50]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27099,"shift.num":434,"shift.opened":1,"shift.open_date":1722213509} [01:56:50]process_action_free close_receipt [01:56:50]json_value_free [01:56:50]json_value_free done [01:56:50]process_json_proto returns [01:56:50]Send response to host [01:56:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27099,"shift.num":434,"shift.opened":1,"shift.open_date":1722213509}}} [01:56:50]free response buf [01:56:50]execute_script done [01:56:50]execute_script returns [01:56:50]free content buf [01:56:50]Sock 9.Close socket [01:56:50]Sock 9.Thread stoped [01:56:54]OFD Sender: No OFD packet to send [01:56:59]OFD Sender: No OFD packet to send [01:57:04]OFD Sender: No OFD packet to send [01:57:09]OFD Sender: No OFD packet to send [01:57:14]OFD Sender: No OFD packet to send [01:57:19]OFD Sender: No OFD packet to send [01:57:24]OFD Sender: No OFD packet to send [01:57:29]OFD Sender: No OFD packet to send [01:57:34]OFD Sender: No OFD packet to send [01:57:39]OFD Sender: No OFD packet to send [01:57:44]OFD Sender: No OFD packet to send [01:57:49]OFD Sender: No OFD packet to send [01:57:54]OFD Sender: No OFD packet to send [01:57:59]OFD Sender: No OFD packet to send [01:58:04]OFD Sender: No OFD packet to send [01:58:09]OFD Sender: No OFD packet to send [01:58:14]OFD Sender: No OFD packet to send [01:58:19]OFD Sender: No OFD packet to send [01:58:24]OFD Sender: No OFD packet to send [01:58:29]OFD Sender: No OFD packet to send [01:58:34]OFD Sender: No OFD packet to send [01:58:39]OFD Sender: No OFD packet to send [01:58:44]OFD Sender: No OFD packet to send [01:58:49]OFD Sender: No OFD packet to send [01:58:54]OFD Sender: No OFD packet to send [01:58:59]OFD Sender: No OFD packet to send [01:59:04]OFD Sender: No OFD packet to send [01:59:09]OFD Sender: No OFD packet to send [01:59:14]OFD Sender: No OFD packet to send [01:59:19]OFD Sender: No OFD packet to send [01:59:24]OFD Sender: No OFD packet to send [01:59:29]OFD Sender: No OFD packet to send [01:59:34]OFD Sender: No OFD packet to send [01:59:39]OFD Sender: No OFD packet to send [01:59:44]OFD Sender: No OFD packet to send [01:59:49]OFD Sender: No OFD packet to send [01:59:54]OFD Sender: No OFD packet to send [01:59:59]OFD Sender: No OFD packet to send [02:00:04]OFD Sender: No OFD packet to send [02:00:09]OFD Sender: No OFD packet to send [02:00:14]OFD Sender: No OFD packet to send [02:00:19]OFD Sender: No OFD packet to send [02:00:24]OFD Sender: No OFD packet to send [02:00:29]OFD Sender: No OFD packet to send [02:00:34]OFD Sender: No OFD packet to send [02:00:39]OFD Sender: No OFD packet to send [02:00:44]OFD Sender: No OFD packet to send [02:00:49]OFD Sender: No OFD packet to send [02:00:54]OFD Sender: No OFD packet to send [02:00:59]OFD Sender: No OFD packet to send [02:01:04]OFD Sender: No OFD packet to send [02:01:09]OFD Sender: No OFD packet to send [02:01:14]OFD Sender: No OFD packet to send [02:01:19]OFD Sender: No OFD packet to send [02:01:24]OFD Sender: No OFD packet to send [02:01:29]OFD Sender: No OFD packet to send [02:01:34]OFD Sender: No OFD packet to send [02:01:39]OFD Sender: No OFD packet to send [02:01:44]OFD Sender: No OFD packet to send [02:01:49]OFD Sender: No OFD packet to send [02:01:54]OFD Sender: No OFD packet to send [02:01:59]OFD Sender: No OFD packet to send [02:02:04]OFD Sender: No OFD packet to send [02:02:09]OFD Sender: No OFD packet to send [02:02:14]OFD Sender: No OFD packet to send [02:02:19]OFD Sender: No OFD packet to send [02:02:24]OFD Sender: No OFD packet to send [02:02:29]OFD Sender: No OFD packet to send [02:02:34]OFD Sender: No OFD packet to send [02:02:39]OFD Sender: No OFD packet to send [02:02:44]OFD Sender: No OFD packet to send [02:02:49]OFD Sender: No OFD packet to send [02:02:54]OFD Sender: No OFD packet to send [02:02:59]OFD Sender: No OFD packet to send [02:03:04]OFD Sender: No OFD packet to send [02:03:09]OFD Sender: No OFD packet to send [02:03:14]OFD Sender: No OFD packet to send [02:03:19]OFD Sender: No OFD packet to send [02:03:24]OFD Sender: No OFD packet to send [02:03:29]OFD Sender: No OFD packet to send [02:03:34]OFD Sender: No OFD packet to send [02:03:39]OFD Sender: No OFD packet to send [02:03:44]OFD Sender: No OFD packet to send [02:03:49]OFD Sender: No OFD packet to send [02:03:54]OFD Sender: No OFD packet to send [02:03:59]OFD Sender: No OFD packet to send [02:04:04]OFD Sender: No OFD packet to send [02:04:09]OFD Sender: No OFD packet to send [02:04:14]OFD Sender: No OFD packet to send [02:04:19]OFD Sender: No OFD packet to send [02:04:24]OFD Sender: No OFD packet to send [02:04:29]OFD Sender: No OFD packet to send [02:04:34]OFD Sender: No OFD packet to send [02:04:39]OFD Sender: No OFD packet to send [02:04:44]OFD Sender: No OFD packet to send [02:04:49]OFD Sender: No OFD packet to send [02:04:54]OFD Sender: No OFD packet to send [02:04:59]OFD Sender: No OFD packet to send [02:05:04]OFD Sender: No OFD packet to send [02:05:09]OFD Sender: No OFD packet to send [02:05:14]OFD Sender: No OFD packet to send [02:05:19]OFD Sender: No OFD packet to send [02:05:24]OFD Sender: No OFD packet to send [02:05:29]OFD Sender: No OFD packet to send [02:05:34]OFD Sender: No OFD packet to send [02:05:39]OFD Sender: No OFD packet to send [02:05:44]OFD Sender: No OFD packet to send [02:05:49]OFD Sender: No OFD packet to send [02:05:54]OFD Sender: No OFD packet to send [02:05:59]OFD Sender: No OFD packet to send [02:06:04]OFD Sender: No OFD packet to send [02:06:09]OFD Sender: No OFD packet to send [02:06:14]OFD Sender: No OFD packet to send [02:06:19]OFD Sender: No OFD packet to send [02:06:24]OFD Sender: No OFD packet to send [02:06:29]OFD Sender: No OFD packet to send [02:06:34]OFD Sender: No OFD packet to send [02:06:39]OFD Sender: No OFD packet to send [02:06:44]OFD Sender: No OFD packet to send [02:06:49]OFD Sender: No OFD packet to send [02:06:54]OFD Sender: No OFD packet to send [02:06:59]OFD Sender: No OFD packet to send [02:07:04]OFD Sender: No OFD packet to send [02:07:09]OFD Sender: No OFD packet to send [02:07:14]OFD Sender: No OFD packet to send [02:07:19]OFD Sender: No OFD packet to send [02:07:24]OFD Sender: No OFD packet to send [02:07:29]OFD Sender: No OFD packet to send [02:07:34]OFD Sender: No OFD packet to send [02:07:39]OFD Sender: No OFD packet to send [02:07:44]OFD Sender: No OFD packet to send [02:07:49]OFD Sender: No OFD packet to send [02:07:54]OFD Sender: No OFD packet to send [02:07:59]OFD Sender: No OFD packet to send [02:08:04]OFD Sender: No OFD packet to send [02:08:09]OFD Sender: No OFD packet to send [02:08:14]OFD Sender: No OFD packet to send [02:08:19]OFD Sender: No OFD packet to send [02:08:24]OFD Sender: No OFD packet to send [02:08:29]OFD Sender: No OFD packet to send [02:08:34]OFD Sender: No OFD packet to send [02:08:39]OFD Sender: No OFD packet to send [02:08:44]OFD Sender: No OFD packet to send [02:08:49]OFD Sender: No OFD packet to send [02:08:54]OFD Sender: No OFD packet to send [02:08:59]OFD Sender: No OFD packet to send [02:09:04]OFD Sender: No OFD packet to send [02:09:09]OFD Sender: No OFD packet to send [02:09:14]OFD Sender: No OFD packet to send [02:09:19]OFD Sender: No OFD packet to send [02:09:24]OFD Sender: No OFD packet to send [02:09:29]OFD Sender: No OFD packet to send [02:09:34]OFD Sender: No OFD packet to send [02:09:39]OFD Sender: No OFD packet to send [02:09:44]OFD Sender: No OFD packet to send [02:09:49]OFD Sender: No OFD packet to send [02:09:54]OFD Sender: No OFD packet to send [02:09:59]OFD Sender: No OFD packet to send [02:10:04]OFD Sender: No OFD packet to send [02:10:09]OFD Sender: No OFD packet to send [02:10:14]OFD Sender: No OFD packet to send [02:10:19]OFD Sender: No OFD packet to send [02:10:24]OFD Sender: No OFD packet to send [02:10:29]OFD Sender: No OFD packet to send [02:10:34]OFD Sender: No OFD packet to send [02:10:39]OFD Sender: No OFD packet to send [02:10:44]OFD Sender: No OFD packet to send [02:10:49]OFD Sender: No OFD packet to send [02:10:54]OFD Sender: No OFD packet to send [02:10:59]OFD Sender: No OFD packet to send [02:11:04]OFD Sender: No OFD packet to send [02:11:09]OFD Sender: No OFD packet to send [02:11:14]OFD Sender: No OFD packet to send [02:11:19]OFD Sender: No OFD packet to send [02:11:24]OFD Sender: No OFD packet to send [02:11:29]OFD Sender: No OFD packet to send [02:11:34]OFD Sender: No OFD packet to send [02:11:39]OFD Sender: No OFD packet to send [02:11:44]OFD Sender: No OFD packet to send [02:11:49]OFD Sender: No OFD packet to send [02:11:54]OFD Sender: No OFD packet to send [02:11:59]OFD Sender: No OFD packet to send [02:12:04]OFD Sender: No OFD packet to send [02:12:09]OFD Sender: No OFD packet to send [02:12:14]OFD Sender: No OFD packet to send [02:12:19]OFD Sender: No OFD packet to send [02:12:24]OFD Sender: No OFD packet to send [02:12:29]OFD Sender: No OFD packet to send [02:12:34]OFD Sender: No OFD packet to send [02:12:39]OFD Sender: No OFD packet to send [02:12:44]OFD Sender: No OFD packet to send [02:12:49]OFD Sender: No OFD packet to send [02:12:54]OFD Sender: No OFD packet to send [02:12:59]OFD Sender: No OFD packet to send [02:13:04]OFD Sender: No OFD packet to send [02:13:09]OFD Sender: No OFD packet to send [02:13:14]OFD Sender: No OFD packet to send [02:13:19]OFD Sender: No OFD packet to send [02:13:24]OFD Sender: No OFD packet to send [02:13:29]OFD Sender: No OFD packet to send [02:13:34]OFD Sender: No OFD packet to send [02:13:39]OFD Sender: No OFD packet to send [02:13:44]OFD Sender: No OFD packet to send [02:13:49]OFD Sender: No OFD packet to send [02:13:54]OFD Sender: No OFD packet to send [02:13:59]OFD Sender: No OFD packet to send [02:14:04]OFD Sender: No OFD packet to send [02:14:09]OFD Sender: No OFD packet to send [02:14:14]OFD Sender: No OFD packet to send [02:14:19]OFD Sender: No OFD packet to send [02:14:24]OFD Sender: No OFD packet to send [02:14:29]OFD Sender: No OFD packet to send [02:14:34]OFD Sender: No OFD packet to send [02:14:39]OFD Sender: No OFD packet to send [02:14:44]OFD Sender: No OFD packet to send [02:14:49]OFD Sender: No OFD packet to send [02:14:54]OFD Sender: No OFD packet to send [02:14:59]OFD Sender: No OFD packet to send [02:15:04]OFD Sender: No OFD packet to send [02:15:09]OFD Sender: No OFD packet to send [02:15:14]OFD Sender: No OFD packet to send [02:15:19]OFD Sender: No OFD packet to send [02:15:24]OFD Sender: No OFD packet to send [02:15:29]OFD Sender: No OFD packet to send [02:15:34]OFD Sender: No OFD packet to send [02:15:39]OFD Sender: No OFD packet to send [02:15:44]OFD Sender: No OFD packet to send [02:15:49]OFD Sender: No OFD packet to send [02:15:54]OFD Sender: No OFD packet to send [02:15:59]OFD Sender: No OFD packet to send [02:16:04]OFD Sender: No OFD packet to send [02:16:09]OFD Sender: No OFD packet to send [02:16:14]OFD Sender: No OFD packet to send [02:16:19]OFD Sender: No OFD packet to send [02:16:24]OFD Sender: No OFD packet to send [02:16:29]OFD Sender: No OFD packet to send [02:16:34]OFD Sender: No OFD packet to send [02:16:39]OFD Sender: No OFD packet to send [02:16:44]OFD Sender: No OFD packet to send [02:16:49]OFD Sender: No OFD packet to send [02:16:54]OFD Sender: No OFD packet to send [02:16:59]OFD Sender: No OFD packet to send [02:17:05]OFD Sender: No OFD packet to send [02:17:10]OFD Sender: No OFD packet to send [02:17:15]OFD Sender: No OFD packet to send [02:17:20]OFD Sender: No OFD packet to send [02:17:25]OFD Sender: No OFD packet to send [02:17:30]OFD Sender: No OFD packet to send [02:17:35]OFD Sender: No OFD packet to send [02:17:40]OFD Sender: No OFD packet to send [02:17:45]OFD Sender: No OFD packet to send [02:17:50]OFD Sender: No OFD packet to send [02:17:55]OFD Sender: No OFD packet to send [02:18:00]OFD Sender: No OFD packet to send [02:18:05]OFD Sender: No OFD packet to send [02:18:10]OFD Sender: No OFD packet to send [02:18:15]OFD Sender: No OFD packet to send [02:18:20]OFD Sender: No OFD packet to send [02:18:25]OFD Sender: No OFD packet to send [02:18:30]OFD Sender: No OFD packet to send [02:18:35]OFD Sender: No OFD packet to send [02:18:40]OFD Sender: No OFD packet to send [02:18:45]OFD Sender: No OFD packet to send [02:18:50]OFD Sender: No OFD packet to send [02:18:55]OFD Sender: No OFD packet to send [02:19:00]OFD Sender: No OFD packet to send [02:19:05]OFD Sender: No OFD packet to send [02:19:10]OFD Sender: No OFD packet to send [02:19:15]OFD Sender: No OFD packet to send [02:19:20]OFD Sender: No OFD packet to send [02:19:25]OFD Sender: No OFD packet to send [02:19:30]OFD Sender: No OFD packet to send [02:19:35]OFD Sender: No OFD packet to send [02:19:40]OFD Sender: No OFD packet to send [02:19:45]OFD Sender: No OFD packet to send [02:19:50]OFD Sender: No OFD packet to send [02:19:55]OFD Sender: No OFD packet to send [02:20:00]OFD Sender: No OFD packet to send [02:20:05]OFD Sender: No OFD packet to send [02:20:10]OFD Sender: No OFD packet to send [02:20:15]OFD Sender: No OFD packet to send [02:20:20]OFD Sender: No OFD packet to send [02:20:25]OFD Sender: No OFD packet to send [02:20:30]OFD Sender: No OFD packet to send [02:20:35]OFD Sender: No OFD packet to send [02:20:40]OFD Sender: No OFD packet to send [02:20:45]OFD Sender: No OFD packet to send [02:20:50]OFD Sender: No OFD packet to send [02:20:55]OFD Sender: No OFD packet to send [02:21:00]OFD Sender: No OFD packet to send [02:21:05]OFD Sender: No OFD packet to send [02:21:10]OFD Sender: No OFD packet to send [02:21:15]OFD Sender: No OFD packet to send [02:21:20]OFD Sender: No OFD packet to send [02:21:25]OFD Sender: No OFD packet to send [02:21:30]OFD Sender: No OFD packet to send [02:21:35]OFD Sender: No OFD packet to send [02:21:40]OFD Sender: No OFD packet to send [02:21:45]OFD Sender: No OFD packet to send [02:21:50]OFD Sender: No OFD packet to send [02:21:55]OFD Sender: No OFD packet to send [02:22:00]OFD Sender: No OFD packet to send [02:22:05]OFD Sender: No OFD packet to send [02:22:10]OFD Sender: No OFD packet to send [02:22:15]OFD Sender: No OFD packet to send [02:22:20]OFD Sender: No OFD packet to send [02:22:25]OFD Sender: No OFD packet to send [02:22:30]OFD Sender: No OFD packet to send [02:22:35]OFD Sender: No OFD packet to send [02:22:40]OFD Sender: No OFD packet to send [02:22:45]OFD Sender: No OFD packet to send [02:22:50]OFD Sender: No OFD packet to send [02:22:55]OFD Sender: No OFD packet to send [02:23:00]OFD Sender: No OFD packet to send [02:23:05]OFD Sender: No OFD packet to send [02:23:10]OFD Sender: No OFD packet to send [02:23:15]OFD Sender: No OFD packet to send [02:23:20]OFD Sender: No OFD packet to send [02:23:25]OFD Sender: No OFD packet to send [02:23:30]OFD Sender: No OFD packet to send [02:23:35]OFD Sender: No OFD packet to send [02:23:40]OFD Sender: No OFD packet to send [02:23:45]OFD Sender: No OFD packet to send [02:23:50]OFD Sender: No OFD packet to send [02:23:55]OFD Sender: No OFD packet to send [02:24:00]OFD Sender: No OFD packet to send [02:24:05]OFD Sender: No OFD packet to send [02:24:10]OFD Sender: No OFD packet to send [02:24:15]OFD Sender: No OFD packet to send [02:24:20]OFD Sender: No OFD packet to send [02:24:25]OFD Sender: No OFD packet to send [02:24:30]OFD Sender: No OFD packet to send [02:24:35]OFD Sender: No OFD packet to send [02:24:40]OFD Sender: No OFD packet to send [02:24:45]OFD Sender: No OFD packet to send [02:24:50]OFD Sender: No OFD packet to send [02:24:55]OFD Sender: No OFD packet to send [02:25:00]OFD Sender: No OFD packet to send [02:25:05]OFD Sender: No OFD packet to send [02:25:10]OFD Sender: No OFD packet to send [02:25:15]OFD Sender: No OFD packet to send [02:25:20]OFD Sender: No OFD packet to send [02:25:25]OFD Sender: No OFD packet to send [02:25:30]OFD Sender: No OFD packet to send [02:25:35]OFD Sender: No OFD packet to send [02:25:40]OFD Sender: No OFD packet to send [02:25:45]OFD Sender: No OFD packet to send [02:25:50]OFD Sender: No OFD packet to send [02:25:55]OFD Sender: No OFD packet to send [02:26:00]OFD Sender: No OFD packet to send [02:26:05]OFD Sender: No OFD packet to send [02:26:10]OFD Sender: No OFD packet to send [02:26:15]OFD Sender: No OFD packet to send [02:26:20]OFD Sender: No OFD packet to send [02:26:25]OFD Sender: No OFD packet to send [02:26:30]OFD Sender: No OFD packet to send [02:26:35]OFD Sender: No OFD packet to send [02:26:40]OFD Sender: No OFD packet to send [02:26:45]OFD Sender: No OFD packet to send [02:26:50]OFD Sender: No OFD packet to send [02:26:55]OFD Sender: No OFD packet to send [02:27:00]OFD Sender: No OFD packet to send [02:27:05]OFD Sender: No OFD packet to send [02:27:10]OFD Sender: No OFD packet to send [02:27:15]OFD Sender: No OFD packet to send [02:27:20]OFD Sender: No OFD packet to send [02:27:25]OFD Sender: No OFD packet to send [02:27:30]OFD Sender: No OFD packet to send [02:27:35]OFD Sender: No OFD packet to send [02:27:40]OFD Sender: No OFD packet to send [02:27:45]OFD Sender: No OFD packet to send [02:27:50]OFD Sender: No OFD packet to send [02:27:55]OFD Sender: No OFD packet to send [02:28:00]OFD Sender: No OFD packet to send [02:28:05]OFD Sender: No OFD packet to send [02:28:10]OFD Sender: No OFD packet to send [02:28:15]OFD Sender: No OFD packet to send [02:28:20]OFD Sender: No OFD packet to send [02:28:25]OFD Sender: No OFD packet to send [02:28:30]OFD Sender: No OFD packet to send [02:28:35]OFD Sender: No OFD packet to send [02:28:40]OFD Sender: No OFD packet to send [02:28:45]OFD Sender: No OFD packet to send [02:28:50]OFD Sender: No OFD packet to send [02:28:55]OFD Sender: No OFD packet to send [02:29:00]OFD Sender: No OFD packet to send [02:29:05]OFD Sender: No OFD packet to send [02:29:10]OFD Sender: No OFD packet to send [02:29:15]OFD Sender: No OFD packet to send [02:29:20]OFD Sender: No OFD packet to send [02:29:25]OFD Sender: No OFD packet to send [02:29:30]OFD Sender: No OFD packet to send [02:29:35]OFD Sender: No OFD packet to send [02:29:40]OFD Sender: No OFD packet to send [02:29:45]OFD Sender: No OFD packet to send [02:29:50]OFD Sender: No OFD packet to send [02:29:55]OFD Sender: No OFD packet to send [02:30:00]OFD Sender: No OFD packet to send [02:30:05]OFD Sender: No OFD packet to send [02:30:10]OFD Sender: No OFD packet to send [02:30:15]OFD Sender: No OFD packet to send [02:30:20]OFD Sender: No OFD packet to send [02:30:25]OFD Sender: No OFD packet to send [02:30:30]OFD Sender: No OFD packet to send [02:30:35]OFD Sender: No OFD packet to send [02:30:40]OFD Sender: No OFD packet to send [02:30:45]OFD Sender: No OFD packet to send [02:30:50]OFD Sender: No OFD packet to send [02:30:55]OFD Sender: No OFD packet to send [02:31:00]OFD Sender: No OFD packet to send [02:31:05]OFD Sender: No OFD packet to send [02:31:10]OFD Sender: No OFD packet to send [02:31:15]OFD Sender: No OFD packet to send [02:31:20]OFD Sender: No OFD packet to send [02:31:25]OFD Sender: No OFD packet to send [02:31:30]OFD Sender: No OFD packet to send [02:31:35]OFD Sender: No OFD packet to send [02:31:40]OFD Sender: No OFD packet to send [02:31:45]OFD Sender: No OFD packet to send [02:31:50]OFD Sender: No OFD packet to send [02:31:55]OFD Sender: No OFD packet to send [02:32:00]OFD Sender: No OFD packet to send [02:32:05]OFD Sender: No OFD packet to send [02:32:10]OFD Sender: No OFD packet to send [02:32:15]OFD Sender: No OFD packet to send [02:32:20]OFD Sender: No OFD packet to send [02:32:25]OFD Sender: No OFD packet to send [02:32:30]OFD Sender: No OFD packet to send [02:32:35]OFD Sender: No OFD packet to send [02:32:40]OFD Sender: No OFD packet to send [02:32:45]OFD Sender: No OFD packet to send [02:32:50]OFD Sender: No OFD packet to send [02:32:55]OFD Sender: No OFD packet to send [02:33:00]OFD Sender: No OFD packet to send [02:33:05]OFD Sender: No OFD packet to send [02:33:10]OFD Sender: No OFD packet to send [02:33:15]OFD Sender: No OFD packet to send [02:33:20]OFD Sender: No OFD packet to send [02:33:25]OFD Sender: No OFD packet to send [02:33:30]OFD Sender: No OFD packet to send [02:33:35]OFD Sender: No OFD packet to send [02:33:40]OFD Sender: No OFD packet to send [02:33:45]OFD Sender: No OFD packet to send [02:33:50]OFD Sender: No OFD packet to send [02:33:55]OFD Sender: No OFD packet to send [02:34:00]OFD Sender: No OFD packet to send [02:34:05]OFD Sender: No OFD packet to send [02:34:10]OFD Sender: No OFD packet to send [02:34:15]OFD Sender: No OFD packet to send [02:34:20]OFD Sender: No OFD packet to send [02:34:25]OFD Sender: No OFD packet to send [02:34:30]OFD Sender: No OFD packet to send [02:34:35]OFD Sender: No OFD packet to send [02:34:40]OFD Sender: No OFD packet to send [02:34:45]OFD Sender: No OFD packet to send [02:34:50]OFD Sender: No OFD packet to send [02:34:55]OFD Sender: No OFD packet to send [02:35:00]OFD Sender: No OFD packet to send [02:35:05]OFD Sender: No OFD packet to send [02:35:10]accept exits with 8 [02:35:10]New connection [02:35:10]New thread 3066928484 created [02:35:10]Thread 3066785124 joined [02:35:10]Waiting for new connection... [02:35:10] Sock 8.Parse request [02:35:10]Sock 8.Check first char [02:35:10]Sock 8.First char is OK [02:35:10]request: POST /json_proto HTTP/1.0 [02:35:10]Method: POST [02:35:10]URL: /json_proto [02:35:10]Method is POST - this is cgi request [02:35:10]url: /json_proto [02:35:10]query_string will be loaded in cgi processing [02:35:10]execute_cgi json_proto POST (null) [02:35:10]execute_cgi path=json_proto method=POST [02:35:10]POST find Content-Length [02:35:10]Host: 172.17.45.8:8080 [02:35:10]Content-Length: 1015 [02:35:10]Content-Type: application/json [02:35:10] [02:35:10]POST finish read [02:35:10]Found Content-Length = 1015 [02:35:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150497", "tax_sys" : 0, "items" : [ { "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \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" : 175.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:35:10]execute_script... [02:35: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)150497", "tax_sys" : 0, "items" : [ { "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \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" : 175.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:35:10]POST & json_proto [02:35:10]process_json_proto [02:35:10]json parsed OK: [02:35:10]protocol is kg_v1.0 [02:35:10]action value=close_receipt [02:35:10]process_action close_receipt [02:35:10]cmd_close_receipt [02:35:10]MH_GetDate [02:35:10]Write to MH i2c: F0 00 00 98 0C 93 [02:35:10]Write i2c OK [02:35:10]MH_I2C_Read... [02:35:10]Read from MH i2c: F0 [02:35:10]MH_I2C_Read... [02:35:10]Read from MH i2c: F0 09 00 [02:35:10]MH_I2C_Read... [02:35:10]Read from MH i2c: F0 09 00 98 0C 00 E1 FF A6 66 A6 1F 7F 64 30 [02:35:10]GetLastDocTimeStamp 1722218209 [02:35:10]current date 1722220513 [02:35:10]FM_GetShiftState [02:35:10]SAM_PROTO_GetShiftState [02:35:10]wFMCommunicate request_size=4 [02:35:10]MH_SAM_APDU [02:35:10]CAPDU: 80 13 01 00 [02:35:10]Write to MH i2c: E2 08 00 99 0C 80 13 01 00 00 00 00 00 22 [02:35:10]Write i2c OK [02:35:10]MH_I2C_Read... [02:35:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:35:10]Read from MH i2c: E2 [02:35:10]MH_I2C_Read... [02:35:10]Read from MH i2c: E2 0E 00 [02:35:10]MH_I2C_Read... [02:35:10]Read from MH i2c: E2 0E 00 99 0C 00 09 00 01 85 E4 A6 66 00 00 00 00 90 00 A3 [02:35:10]RAPDU: 09 00 01 85 E4 A6 66 00 00 00 00 90 00 [02:35:10]wFMCommunicate OK [02:35:10]SAM_PROTO_GetShiftState done [02:35:10]FM_GetShiftState done [02:35:10]opened in 1722213509 [02:35:10]opened+sec_in_day 1722299909 [02:35:10]quantity*price = 7500 [02:35:10]sum+1 = 7501 [02:35:10]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870002326172 Вода ASU пит н.газ лимон ПЭТ 1л 1.000 * 100.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 175.00 НСП 1% : 1.54 НДС 12% : 18.58 Наличными: 175.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 3 29.07.2024 02:35 Смена: 434 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27100 ФПД: 114871084909179 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240729T023513&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27100&fm=114871084909179&tin=02508201610067®Number=0000000000092663&sum=17500 0 [02:35:11]StoreToDocumentArchive [02:35:11]shift 434 fd 27100 [02:35:11]save to /storage/0434/doc_00027100 [02:35:11]save last doc name /storage/0434/doc_00027100 to /storage/kkm_last_doc_name [02:35:11]save OK [02:35:11]Clear old archive folders... [02:35:11]ProcessDocumentItem done err = 0, tmpTLVsize=427 [02:35:11]tlvbuf is 001CFC80 [02:35:11]SAM_PROTO_ClearQueue [02:35:11]wFMCommunicate request_size=4 [02:35:11]MH_SAM_APDU [02:35:11]CAPDU: 80 09 00 00 [02:35:11]Write to MH i2c: E2 08 00 A6 0C 80 09 00 00 00 00 00 00 24 [02:35:11]Write i2c OK [02:35:11]MH_I2C_Read... [02:35:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:35:11]Read from MH i2c: E2 [02:35:11]MH_I2C_Read... [02:35:11]Read from MH i2c: E2 03 00 [02:35:11]MH_I2C_Read... [02:35:11]Read from MH i2c: E2 03 00 A6 0C 00 90 00 26 [02:35:11]RAPDU: 90 00 [02:35:11]wFMCommunicate OK [02:35:11]SAM_PROTO_ClearQueue done [02:35:11]KKMCreateOFDPacket [02:35:11]OFDProtocolAddRootSTLVToBuf [02:35:11]FM_MakeSignedData [02:35:11]FM_MakeSignedData [02:35:11]SAM_PROTO_SignData [02:35:11]wFMCommunicate request_size=4 [02:35:11]MH_SAM_APDU [02:35:11]CAPDU: 80 0D 01 02 [02:35:11]Write to MH i2c: E2 08 00 A7 0C 80 0D 01 02 00 00 00 00 2C [02:35:11]Write i2c OK [02:35:11]MH_I2C_Read... [02:35:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:35:11]Read from MH i2c: E2 [02:35:11]MH_I2C_Read... [02:35:11]Read from MH i2c: E2 03 00 [02:35:11]MH_I2C_Read... [02:35:11]Read from MH i2c: E2 03 00 A7 0C 00 90 00 27 [02:35:11]RAPDU: 90 00 [02:35:11]wFMCommunicate OK [02:35:11]wFMCommunicate request_size=255 [02:35:11]MH_SAM_APDU [02:35:11]CAPDU: 80 0D 02 02 FA 03 00 AB 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 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 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 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 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 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 BB D0 B8 D0 BC D0 BE D0 BD 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 [02:35:11]Write to MH i2c: E2 02 01 A8 0C 80 0D 02 02 FA 00 03 00 AB 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 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 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 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 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 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 BB D0 B8 D0 BC D0 BE D0 BD 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 00 C0 [02:35:11]Write i2c OK [02:35:11]MH_I2C_Read... [02:35:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:35:11]Read from MH i2c: E2 [02:35:11]MH_I2C_Read... [02:35:11]Read from MH i2c: E2 03 00 [02:35:11]MH_I2C_Read... [02:35:11]Read from MH i2c: E2 03 00 A8 0C 00 90 00 28 [02:35:11]RAPDU: 90 00 [02:35:11]wFMCommunicate OK [02:35:11]wFMCommunicate request_size=186 [02:35:11]MH_SAM_APDU [02:35:11]CAPDU: 80 0D 02 02 B5 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 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 E1 FF A6 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 DC 69 00 00 35 04 06 00 68 79 82 36 02 7B [02:35:11]Write to MH i2c: E2 BD 00 A9 0C 80 0D 02 02 B5 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 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 E1 FF A6 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 DC 69 00 00 35 04 06 00 68 79 82 36 02 7B 00 00 B6 [02:35:11]Write i2c OK [02:35:11]MH_I2C_Read... [02:35:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:35:11]Read from MH i2c: E2 [02:35:11]MH_I2C_Read... [02:35:11]Read from MH i2c: E2 03 00 [02:35:11]MH_I2C_Read... [02:35:11]Read from MH i2c: E2 03 00 A9 0C 00 90 00 29 [02:35:11]RAPDU: 90 00 [02:35:11]wFMCommunicate OK [02:35:11]wFMCommunicate request_size=4 [02:35:11]MH_SAM_APDU [02:35:11]CAPDU: 80 0D 03 02 [02:35:11]Write to MH i2c: E2 08 00 AA 0C 80 0D 03 02 00 00 00 00 31 [02:35:11]Write i2c OK [02:35:11]MH_I2C_Read... [02:35:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:35:12]Read from MH i2c: E2 [02:35:12]MH_I2C_Read... [02:35:12]Read from MH i2c: E2 0B 00 [02:35:12]MH_I2C_Read... [02:35:12]Read from MH i2c: E2 0B 00 AA 0C 00 DC 41 60 BA 91 5F 79 85 90 00 57 [02:35:12]RAPDU: DC 41 60 BA 91 5F 79 85 90 00 [02:35:12]wFMCommunicate OK [02:35:12]SAM_PROTO_SignData done [02:35:12]FM_MakeSignedData done [02:35:12]CreateOFDProtocolMessage [02:35:12]wFMCommunicate request_size=4 [02:35:12]MH_SAM_APDU [02:35:12]CAPDU: 80 11 00 00 [02:35:12]Write to MH i2c: E2 08 00 AB 0C 80 11 00 00 00 00 00 00 31 [02:35:12]Write i2c OK [02:35:12]MH_I2C_Read... [02:35:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:35:12]Read from MH i2c: E2 [02:35:12]MH_I2C_Read... [02:35:12]Read from MH i2c: E2 17 00 [02:35:12]MH_I2C_Read... [02:35:12]Read from MH i2c: E2 17 00 AB 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 8A [02:35:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [02:35:12]wFMCommunicate OK [02:35:12]CreateOFDProtocolMessage done [02:35:12]OFDSenderStorePacket 27100 [02:35:12]StoreOFDPacket docnum=27100 [02:35:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 BF 01 00 00 51 DE B7 01 B4 30 5A 03 01 00 03 00 AB 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 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 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 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 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 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 BB D0 B8 D0 BC D0 BE D0 BD 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 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 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 E1 FF A6 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 DC 69 00 00 35 04 06 00 68 79 82 36 02 7B DC 41 60 BA 91 5F 79 85 [02:35:12]CheckFolder [02:35:12]dirname=/storage/ofd_packets [02:35:12]CheckFolder done [02:35:12]ProducePacketName [02:35:12]name=ofd_packets/00027100 [02:35:12]NVStorageSaveData ofd_packets/00027100 [02:35:12]File name is /storage/ofd_packets/00027100 [02:35:12]Write 477 bytes [02:35:12]NVStorageSaveData done [02:35:12]OFDSenderStorePacket done [02:35:12]KKMCreateOFDPacket done [02:35:12]NVStorageSaveData kkm_last_timestamp [02:35:12]File name is /storage/kkm_last_timestamp [02:35:12]Write 4 bytes [02:35:12]NVStorageSaveData done [02:35:12]ExternCall_PrintAddStr [02:35:12]wPrintStart [02:35:12]Write to MH i2c: 01 00 00 AC 0C B8 [02:35:12]OFD Sender: Processing packet 27100 [packets to send 9, broken 8] [02:35:12]ProducePacketName [02:35:12]name=ofd_packets/00027100 [02:35:12]OFD Sender: To server: pG, [02:35:12]CommunicateWithHost lk.salyk.kg:30040 [02:35:12]ConnectInit lk.salyk.kg [02:35:12]Write i2c OK [02:35:12]MH_I2C_Read... [02:35:12]Read from MH i2c: 01 [02:35:12]MH_I2C_Read... [02:35:12]Read from MH i2c: 01 07 00 [02:35:12]MH_I2C_Read... [02:35:12]Read from MH i2c: 01 07 00 AC 0C 00 00 00 00 00 FF 0F CD [02:35:12]RasterBufferAndPrint [02:35:12]line Счет N : (3)150497 [02:35:12]line ИНН: 02508201610067 [02:35:12]line Контрольно-Кассовый Чек [02:35:12]line ПРОДАЖА [02:35:12]line Товар: 4870112003956 [02:35:12]line Шок батончик ALBENI SUPER Альбени Супер [02:35:12]line 1.000 * 75.00 [02:35:12]line = 75.00 [02:35:12]line НДС 12% НСП 1% [02:35:12]line > о реализуемом товаре [02:35:12]line Товар: 4870002326172 [02:35:12]line Вода ASU пит н.газ лимон ПЭТ 1л [02:35:12]line 1.000 * 100.00 [02:35:12]line = 100.00 [02:35:12]line НДС 12% НСП 1% [02:35:12]line > о реализуемом товаре [02:35:12]line ИТОГО: 175.00 [02:35:12]line НСП 1% : 1.54 [02:35:12]line НДС 12% : 18.58 [02:35:12]line Наличными: 175.00 [02:35:12]line Безнал.: 0.00 [02:35:12]line Место: АЗС № 134 "Партнер Нефть" [02:35:12]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [02:35:12]line СНО: Общий режим [02:35:12]line Чек 3 29.07.2024 02:35 [02:35:12]line Смена: 434 ФФД: 1.0 [02:35:12]line ЗНМ: 0300000043 [02:35:12]line РНМ: 0000000000092663 [02:35:12]line Версия ККМ: 001 [02:35:12]line ФМ: 0000000000874937 [02:35:12]line ФД: 27100 [02:35:12]line ФПД: 114871084909179 [02:35:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240729T023513&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27100&fm=114871084909179&tin=02508201610067®Number=0000000000092663&sum=17500 [02:35:12]line 0 [02:35:12]written 0, free lines is 4095 [02:35:12]Connected sock=10 [02:35:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 BF 01 00 00 51 DE B7 01 B4 30 5A 03 01 00 03 00 AB 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 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 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 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 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 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 BB D0 B8 D0 BC D0 BE D0 BD 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 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 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 E1 FF A6 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 DC 69 00 00 35 04 06 00 68 79 82 36 02 7B DC 41 60 BA 91 5F 79 85 [02:35:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 68 75 47 00 2A 42 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 38 37 34 39 33 37 10 04 04 00 DC 69 00 00 F4 03 04 00 33 A6 A6 66 B6 04 01 00 00 70 DA 80 DA 72 27 AE 61 [02:35:12]CommunicateWithHost err = 0 [02:35:12]CheckOFDResponse [02:35:12]1017 (14) - 77093643461234 [02:35:12]1041 (16) - 0000000000874937 [02:35:12]1040 (4) - 27100 [02:35:12]1012 (4) - 28.07.2024 20:12 [02:35:12]1206 (1) - 0 [02:35:12]OFD Sender: Remove packet 27100 [02:35:12]ProducePacketName [02:35:12]name=ofd_packets/00027100 [02:35:12]NVStorageDeleteData [02:35:12]Write to MH i2c: 01 00 00 DB 0C E7 [02:35:12]Write i2c OK [02:35:12]MH_I2C_Read... [02:35:12]Read from MH i2c: 01 [02:35:12]MH_I2C_Read... [02:35:12]Read from MH i2c: 01 07 00 [02:35:12]MH_I2C_Read... [02:35:12]Read from MH i2c: 01 07 00 DB 0C 00 00 00 00 00 69 0C 63 [02:35:12]RasterBufferAndPrint [02:35:12]line [02:35:12]line [02:35:12]line [02:35:12]line [02:35:12]line [02:35:12]written 0, free lines is 3186 [02:35:12]MH_Cut [02:35:12]Write to MH i2c: D1 01 00 E2 0C 01 C0 [02:35:12]Write i2c OK [02:35:12]MH_I2C_Read... [02:35:12]Read from MH i2c: D1 [02:35:12]MH_I2C_Read... [02:35:12]Read from MH i2c: D1 01 00 [02:35:12]MH_I2C_Read... [02:35:12]Read from MH i2c: D1 01 00 E2 0C 00 BF [02:35:12]Write to MH i2c: 01 00 00 E3 0C EF [02:35:12]Write i2c OK [02:35:12]MH_I2C_Read... [02:35:13]OFD Sender: No OFD packet to send [02:35:13]*** Cut start [02:35:13]*** Partial cut [02:35:13]*** CUTSNS_PIN = 1 [02:35:13]*** CUTSNS_PIN = 0 [02:35:14]*** Brake cut motor [02:35:14]Read from MH i2c: 01 [02:35:14]MH_I2C_Read... [02:35:14]*** Stop cut motor [02:35:14]*** Cut end [02:35:14]Read from MH i2c: 01 07 00 [02:35:14]MH_I2C_Read... [02:35:14]Read from MH i2c: 01 07 00 E3 0C 00 00 00 00 00 FF 0F 04 [02:35:14]process_action close_receipt done [02:35:14]requested_data is exist [02:35:14]produce_requested_data [02:35:14]requested_item fm.sn is exist - process it [02:35:14]wFMCommunicate request_size=4 [02:35:14]MH_SAM_APDU [02:35:14]CAPDU: 80 11 00 00 [02:35:14]Write to MH i2c: E2 08 00 E4 0C 80 11 00 00 00 00 00 00 6A [02:35:14]Write i2c OK [02:35:14]MH_I2C_Read... [02:35:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:35:14]Read from MH i2c: E2 [02:35:14]MH_I2C_Read... [02:35:14]Read from MH i2c: E2 17 00 [02:35:14]MH_I2C_Read... [02:35:14]Read from MH i2c: E2 17 00 E4 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 C3 [02:35:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [02:35:14]wFMCommunicate OK [02:35:14]requested_item fd.num is exist - process it [02:35:14]SAM_PROTO_GetFieldsCounters [02:35:14]wFMCommunicate request_size=4 [02:35:14]MH_SAM_APDU [02:35:14]CAPDU: 80 13 00 00 [02:35:14]Write to MH i2c: E2 08 00 E5 0C 80 13 00 00 00 00 00 00 6D [02:35:14]Write i2c OK [02:35:14]MH_I2C_Read... [02:35:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:35:14]Read from MH i2c: E2 [02:35:14]MH_I2C_Read... [02:35:14]Read from MH i2c: E2 62 00 [02:35:14]MH_I2C_Read... [02:35:14]Read from MH i2c: E2 62 00 E5 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 DC 69 00 00 0E 04 04 00 B2 01 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 96 [02:35:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 DC 69 00 00 0E 04 04 00 B2 01 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 [02:35:14]wFMCommunicate OK [02:35:14]SAM_PROTO_GetFieldsCounters done [02:35:14]requested_item shift.num is exist - process it [02:35:14]requested_item shift.opened is exist - process it [02:35:14]req_shift_opened [02:35:14]FM_GetShiftState [02:35:14]SAM_PROTO_GetShiftState [02:35:14]wFMCommunicate request_size=4 [02:35:14]MH_SAM_APDU [02:35:14]CAPDU: 80 13 01 00 [02:35:14]Write to MH i2c: E2 08 00 E6 0C 80 13 01 00 00 00 00 00 6F [02:35:14]Write i2c OK [02:35:14]MH_I2C_Read... [02:35:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:35:14]Read from MH i2c: E2 [02:35:14]MH_I2C_Read... [02:35:14]Read from MH i2c: E2 0E 00 [02:35:14]MH_I2C_Read... [02:35:14]Read from MH i2c: E2 0E 00 E6 0C 00 09 00 01 85 E4 A6 66 00 00 00 00 90 00 F0 [02:35:14]RAPDU: 09 00 01 85 E4 A6 66 00 00 00 00 90 00 [02:35:14]wFMCommunicate OK [02:35:14]SAM_PROTO_GetShiftState done [02:35:14]FM_GetShiftState done [02:35:14]req_shift_opened done [02:35:14]requested_item shift.open_date is exist - process it [02:35:14]req_shift_open_date [02:35:14]req_shift_open_date done [02:35:14]produce_requested_data done [02:35:14]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27100,"shift.num":434,"shift.opened":1,"shift.open_date":1722213509} [02:35:14]process_action_free close_receipt [02:35:14]json_value_free [02:35:14]json_value_free done [02:35:14]process_json_proto returns [02:35:14]Send response to host [02:35:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27100,"shift.num":434,"shift.opened":1,"shift.open_date":1722213509}}} [02:35:14]free response buf [02:35:14]execute_script done [02:35:14]execute_script returns [02:35:14]free content buf [02:35:14]Sock 8.Close socket [02:35:14]Sock 8.Thread stoped [02:35:18]OFD Sender: No OFD packet to send [02:35:23]OFD Sender: No OFD packet to send [02:35:28]OFD Sender: No OFD packet to send [02:35:33]OFD Sender: No OFD packet to send [02:35:38]OFD Sender: No OFD packet to send [02:35:43]OFD Sender: No OFD packet to send [02:35:48]OFD Sender: No OFD packet to send [02:35:53]OFD Sender: No OFD packet to send [02:35:58]OFD Sender: No OFD packet to send [02:36:03]OFD Sender: No OFD packet to send [02:36:08]OFD Sender: No OFD packet to send [02:36:13]OFD Sender: No OFD packet to send [02:36:18]OFD Sender: No OFD packet to send [02:36:20]accept exits with 9 [02:36:20]New connection [02:36:20]New thread 3066785124 created [02:36:20]Thread 3066928484 joined [02:36:20]Waiting for new connection... [02:36:20] Sock 9.Parse request [02:36:20]Sock 9.Check first char [02:36:20]Sock 9.First char is OK [02:36:20]request: POST /json_proto HTTP/1.0 [02:36:20]Method: POST [02:36:20]URL: /json_proto [02:36:20]Method is POST - this is cgi request [02:36:20]url: /json_proto [02:36:20]query_string will be loaded in cgi processing [02:36:20]execute_cgi json_proto POST (null) [02:36:20]execute_cgi path=json_proto method=POST [02:36:20]POST find Content-Length [02:36:20]Host: 172.17.45.8:8080 [02:36:20]Content-Length: 709 [02:36:20]Content-Type: application/json [02:36:20] [02:36:20]POST finish read [02:36:20]Found Content-Length = 709 [02:36:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150498", "tax_sys" : 0, "items" : [ { "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "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" ] } } [02:36:20]execute_script... [02:36: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)150498", "tax_sys" : 0, "items" : [ { "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "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" ] } } [02:36:20]POST & json_proto [02:36:20]process_json_proto [02:36:20]json parsed OK: [02:36:20]protocol is kg_v1.0 [02:36:20]action value=close_receipt [02:36:20]process_action close_receipt [02:36:20]cmd_close_receipt [02:36:20]MH_GetDate [02:36:20]Write to MH i2c: F0 00 00 E7 0C E2 [02:36:20]Write i2c OK [02:36:20]MH_I2C_Read... [02:36:20]Read from MH i2c: F0 [02:36:20]MH_I2C_Read... [02:36:20]Read from MH i2c: F0 09 00 [02:36:20]MH_I2C_Read... [02:36:20]Read from MH i2c: F0 09 00 E7 0C 00 27 00 A7 66 A6 1F 7F 64 C7 [02:36:20]GetLastDocTimeStamp 1722220513 [02:36:20]current date 1722220583 [02:36:20]FM_GetShiftState [02:36:20]SAM_PROTO_GetShiftState [02:36:20]wFMCommunicate request_size=4 [02:36:20]MH_SAM_APDU [02:36:20]CAPDU: 80 13 01 00 [02:36:20]Write to MH i2c: E2 08 00 E8 0C 80 13 01 00 00 00 00 00 71 [02:36:20]Write i2c OK [02:36:20]MH_I2C_Read... [02:36:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:36:20]Read from MH i2c: E2 [02:36:20]MH_I2C_Read... [02:36:20]Read from MH i2c: E2 0E 00 [02:36:20]MH_I2C_Read... [02:36:20]Read from MH i2c: E2 0E 00 E8 0C 00 09 00 01 85 E4 A6 66 00 00 00 00 90 00 F2 [02:36:20]RAPDU: 09 00 01 85 E4 A6 66 00 00 00 00 90 00 [02:36:20]wFMCommunicate OK [02:36:20]SAM_PROTO_GetShiftState done [02:36:20]FM_GetShiftState done [02:36:20]opened in 1722213509 [02:36:20]opened+sec_in_day 1722299909 [02:36:20]quantity*price = 7500 [02:36:20]sum+1 = 7501 [02:36:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 4 29.07.2024 02:36 Смена: 434 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27101 ФПД: 247227214349567 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240729T023623&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27101&fm=247227214349567&tin=02508201610067®Number=0000000000092663&sum=7500 0 [02:36:21]StoreToDocumentArchive [02:36:21]shift 434 fd 27101 [02:36:21]save to /storage/0434/doc_00027101 [02:36:21]save last doc name /storage/0434/doc_00027101 to /storage/kkm_last_doc_name [02:36:21]save OK [02:36:21]Clear old archive folders... [02:36:21]ProcessDocumentItem done err = 0, tmpTLVsize=304 [02:36:21]tlvbuf is 001CAAD0 [02:36:21]SAM_PROTO_ClearQueue [02:36:21]wFMCommunicate request_size=4 [02:36:21]MH_SAM_APDU [02:36:21]CAPDU: 80 09 00 00 [02:36:21]Write to MH i2c: E2 08 00 F5 0C 80 09 00 00 00 00 00 00 73 [02:36:21]Write i2c OK [02:36:21]MH_I2C_Read... [02:36:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:36:21]Read from MH i2c: E2 [02:36:21]MH_I2C_Read... [02:36:21]Read from MH i2c: E2 03 00 [02:36:21]MH_I2C_Read... [02:36:21]Read from MH i2c: E2 03 00 F5 0C 00 90 00 75 [02:36:21]RAPDU: 90 00 [02:36:21]wFMCommunicate OK [02:36:21]SAM_PROTO_ClearQueue done [02:36:21]KKMCreateOFDPacket [02:36:21]OFDProtocolAddRootSTLVToBuf [02:36:21]FM_MakeSignedData [02:36:21]FM_MakeSignedData [02:36:21]SAM_PROTO_SignData [02:36:21]wFMCommunicate request_size=4 [02:36:21]MH_SAM_APDU [02:36:21]CAPDU: 80 0D 01 02 [02:36:21]Write to MH i2c: E2 08 00 F6 0C 80 0D 01 02 00 00 00 00 7B [02:36:21]Write i2c OK [02:36:21]MH_I2C_Read... [02:36:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:36:21]Read from MH i2c: E2 [02:36:21]MH_I2C_Read... [02:36:21]Read from MH i2c: E2 03 00 [02:36:21]MH_I2C_Read... [02:36:21]Read from MH i2c: E2 03 00 F6 0C 00 90 00 76 [02:36:21]RAPDU: 90 00 [02:36:21]wFMCommunicate OK [02:36:21]wFMCommunicate request_size=255 [02:36:21]MH_SAM_APDU [02:36:21]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 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 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 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 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 04 00 00 00 F4 03 04 00 27 00 A7 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 [02:36:21]Write to MH i2c: E2 02 01 F7 0C 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 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 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 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 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 04 00 00 00 F4 03 04 00 27 00 A7 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 00 00 2A [02:36:21]Write i2c OK [02:36:21]MH_I2C_Read... [02:36:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:36:21]Read from MH i2c: E2 [02:36:21]MH_I2C_Read... [02:36:21]Read from MH i2c: E2 03 00 [02:36:21]MH_I2C_Read... [02:36:21]Read from MH i2c: E2 03 00 F7 0C 00 90 00 77 [02:36:21]RAPDU: 90 00 [02:36:21]wFMCommunicate OK [02:36:21]wFMCommunicate request_size=63 [02:36:21]MH_SAM_APDU [02:36:21]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 DD 69 00 00 35 04 06 00 E0 DA 12 4A 44 FF [02:36:21]Write to MH i2c: E2 42 00 F8 0C 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 DD 69 00 00 35 04 06 00 E0 DA 12 4A 44 FF 00 00 6E [02:36:21]Write i2c OK [02:36:21]MH_I2C_Read... [02:36:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:36:21]Read from MH i2c: E2 [02:36:21]MH_I2C_Read... [02:36:21]Read from MH i2c: E2 03 00 [02:36:21]MH_I2C_Read... [02:36:21]Read from MH i2c: E2 03 00 F8 0C 00 90 00 78 [02:36:21]RAPDU: 90 00 [02:36:21]wFMCommunicate OK [02:36:21]wFMCommunicate request_size=4 [02:36:21]MH_SAM_APDU [02:36:21]CAPDU: 80 0D 03 02 [02:36:21]Write to MH i2c: E2 08 00 F9 0C 80 0D 03 02 00 00 00 00 80 [02:36:21]Write i2c OK [02:36:21]MH_I2C_Read... [02:36:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:36:21]Read from MH i2c: E2 [02:36:21]MH_I2C_Read... [02:36:21]Read from MH i2c: E2 0B 00 [02:36:21]MH_I2C_Read... [02:36:21]Read from MH i2c: E2 0B 00 F9 0C 00 2A 4D 73 B1 35 AA 66 76 90 00 D7 [02:36:21]RAPDU: 2A 4D 73 B1 35 AA 66 76 90 00 [02:36:21]wFMCommunicate OK [02:36:21]SAM_PROTO_SignData done [02:36:21]FM_MakeSignedData done [02:36:21]CreateOFDProtocolMessage [02:36:21]wFMCommunicate request_size=4 [02:36:21]MH_SAM_APDU [02:36:21]CAPDU: 80 11 00 00 [02:36:21]Write to MH i2c: E2 08 00 FA 0C 80 11 00 00 00 00 00 00 80 [02:36:21]Write i2c OK [02:36:21]MH_I2C_Read... [02:36:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:36:21]Read from MH i2c: E2 [02:36:21]MH_I2C_Read... [02:36:21]Read from MH i2c: E2 17 00 [02:36:21]MH_I2C_Read... [02:36:21]Read from MH i2c: E2 17 00 FA 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 D9 [02:36:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [02:36:21]wFMCommunicate OK [02:36:21]CreateOFDProtocolMessage done [02:36:21]OFDSenderStorePacket 27101 [02:36:21]StoreOFDPacket docnum=27101 [02:36:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 44 01 00 00 CB C1 3C 01 38 97 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 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 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 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 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 04 00 00 00 F4 03 04 00 27 00 A7 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 DD 69 00 00 35 04 06 00 E0 DA 12 4A 44 FF 2A 4D 73 B1 35 AA 66 76 [02:36:21]CheckFolder [02:36:21]dirname=/storage/ofd_packets [02:36:21]CheckFolder done [02:36:21]ProducePacketName [02:36:21]name=ofd_packets/00027101 [02:36:21]NVStorageSaveData ofd_packets/00027101 [02:36:21]File name is /storage/ofd_packets/00027101 [02:36:21]Write 354 bytes [02:36:21]NVStorageSaveData done [02:36:21]OFDSenderStorePacket done [02:36:21]KKMCreateOFDPacket done [02:36:21]NVStorageSaveData kkm_last_timestamp [02:36:21]File name is /storage/kkm_last_timestamp [02:36:21]Write 4 bytes [02:36:21]NVStorageSaveData done [02:36:21]ExternCall_PrintAddStr [02:36:21]wPrintStart [02:36:21]Write to MH i2c: 01 00 00 FB 0C 07 [02:36:21]Write i2c OK [02:36:21]MH_I2C_Read... [02:36:21]Read from MH i2c: 01 [02:36:21]MH_I2C_Read... [02:36:21]Read from MH i2c: 01 07 00 [02:36:21]MH_I2C_Read... [02:36:21]Read from MH i2c: 01 07 00 FB 0C 00 00 00 00 00 FF 0F 1C [02:36:21]RasterBufferAndPrint [02:36:21]line Счет N : (3)150498 [02:36:21]line ИНН: 02508201610067 [02:36:21]line Контрольно-Кассовый Чек [02:36:21]line ПРОДАЖА [02:36:21]line Товар: 4870112003956 [02:36:21]line Шок батончик ALBENI SUPER Альбени Супер [02:36:21]line 1.000 * 75.00 [02:36:21]line = 75.00 [02:36:21]line НДС 12% НСП 1% [02:36:21]line > о реализуемом товаре [02:36:21]line ИТОГО: 75.00 [02:36:21]line НСП 1% : 0.66 [02:36:21]line НДС 12% : 7.96 [02:36:21]line Наличными: 75.00 [02:36:21]line Безнал.: 0.00 [02:36:21]line Место: АЗС № 134 "Партнер Нефть" [02:36:21]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [02:36:21]line СНО: Общий режим [02:36:21]line Чек 4 29.07.2024 02:36 [02:36:21]line Смена: 434 ФФД: 1.0 [02:36:21]line ЗНМ: 0300000043 [02:36:21]line РНМ: 0000000000092663 [02:36:21]line Версия ККМ: 001 [02:36:21]line ФМ: 0000000000874937 [02:36:21]line ФД: 27101 [02:36:21]line ФПД: 247227214349567 [02:36:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240729T023623&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27101&fm=247227214349567&tin=02508201610067®Number=0000000000092663&sum=7500 [02:36:22]line 0 [02:36:22]OFD Sender: Processing packet 27101 [packets to send 9, broken 8] [02:36:22]ProducePacketName [02:36:22]name=ofd_packets/00027101 [02:36:22]OFD Sender: To server: pG, [02:36:22]CommunicateWithHost lk.salyk.kg:30040 [02:36:22]ConnectInit lk.salyk.kg [02:36:22]written 0, free lines is 4095 [02:36:22]Connected sock=10 [02:36:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 44 01 00 00 CB C1 3C 01 38 97 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 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 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 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 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 04 00 00 00 F4 03 04 00 27 00 A7 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 DD 69 00 00 35 04 06 00 E0 DA 12 4A 44 FF 2A 4D 73 B1 35 AA 66 76 [02:36:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 E0 C8 47 00 3A 63 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 38 37 34 39 33 37 10 04 04 00 DD 69 00 00 F4 03 04 00 79 A6 A6 66 B6 04 01 00 00 B8 FE 8E D9 F4 EC DC 05 [02:36:22]CommunicateWithHost err = 0 [02:36:22]CheckOFDResponse [02:36:22]1017 (14) - 77093643461234 [02:36:22]1041 (16) - 0000000000874937 [02:36:22]1040 (4) - 27101 [02:36:22]1012 (4) - 28.07.2024 20:13 [02:36:22]1206 (1) - 0 [02:36:22]OFD Sender: Remove packet 27101 [02:36:22]ProducePacketName [02:36:22]name=ofd_packets/00027101 [02:36:22]NVStorageDeleteData [02:36:22]Write to MH i2c: 01 00 00 23 0D 30 [02:36:22]Write i2c OK [02:36:22]MH_I2C_Read... [02:36:22]Read from MH i2c: 01 [02:36:22]MH_I2C_Read... [02:36:22]Read from MH i2c: 01 07 00 [02:36:22]MH_I2C_Read... [02:36:22]Read from MH i2c: 01 07 00 23 0D 00 00 00 00 00 E4 0C 27 [02:36:22]RasterBufferAndPrint [02:36:22]line [02:36:22]line [02:36:22]line [02:36:22]line [02:36:22]line [02:36:22]written 0, free lines is 3303 [02:36:22]MH_Cut [02:36:22]Write to MH i2c: D1 01 00 2A 0D 01 09 [02:36:22]Write i2c OK [02:36:22]MH_I2C_Read... [02:36:22]Read from MH i2c: D1 [02:36:22]MH_I2C_Read... [02:36:22]Read from MH i2c: D1 01 00 [02:36:22]MH_I2C_Read... [02:36:22]Read from MH i2c: D1 01 00 2A 0D 00 08 [02:36:22]Write to MH i2c: 01 00 00 2B 0D 38 [02:36:22]Write i2c OK [02:36:22]MH_I2C_Read... [02:36:23]OFD Sender: No OFD packet to send [02:36:23]*** Cut start [02:36:23]*** Partial cut [02:36:23]*** CUTSNS_PIN = 1 [02:36:23]*** CUTSNS_PIN = 0 [02:36:23]*** Brake cut motor [02:36:23]Read from MH i2c: 01 [02:36:23]MH_I2C_Read... [02:36:23]*** Stop cut motor [02:36:24]*** Cut end [02:36:24]Read from MH i2c: 01 07 00 [02:36:24]MH_I2C_Read... [02:36:24]Read from MH i2c: 01 07 00 2B 0D 00 00 00 00 00 FF 0F 4D [02:36:24]process_action close_receipt done [02:36:24]requested_data is exist [02:36:24]produce_requested_data [02:36:24]requested_item fm.sn is exist - process it [02:36:24]wFMCommunicate request_size=4 [02:36:24]MH_SAM_APDU [02:36:24]CAPDU: 80 11 00 00 [02:36:24]Write to MH i2c: E2 08 00 2C 0D 80 11 00 00 00 00 00 00 B3 [02:36:24]Write i2c OK [02:36:24]MH_I2C_Read... [02:36:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:36:24]Read from MH i2c: E2 [02:36:24]MH_I2C_Read... [02:36:24]Read from MH i2c: E2 17 00 [02:36:24]MH_I2C_Read... [02:36:24]Read from MH i2c: E2 17 00 2C 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 0C [02:36:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [02:36:24]wFMCommunicate OK [02:36:24]requested_item fd.num is exist - process it [02:36:24]SAM_PROTO_GetFieldsCounters [02:36:24]wFMCommunicate request_size=4 [02:36:24]MH_SAM_APDU [02:36:24]CAPDU: 80 13 00 00 [02:36:24]Write to MH i2c: E2 08 00 2D 0D 80 13 00 00 00 00 00 00 B6 [02:36:24]Write i2c OK [02:36:24]MH_I2C_Read... [02:36:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:36:24]Read from MH i2c: E2 [02:36:24]MH_I2C_Read... [02:36:24]Read from MH i2c: E2 62 00 [02:36:24]MH_I2C_Read... [02:36:24]Read from MH i2c: E2 62 00 2D 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 DD 69 00 00 0E 04 04 00 B2 01 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 E3 [02:36:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 DD 69 00 00 0E 04 04 00 B2 01 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 [02:36:24]wFMCommunicate OK [02:36:24]SAM_PROTO_GetFieldsCounters done [02:36:24]requested_item shift.num is exist - process it [02:36:24]requested_item shift.opened is exist - process it [02:36:24]req_shift_opened [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 2E 0D 80 13 01 00 00 00 00 00 B8 [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 2E 0D 00 09 00 01 85 E4 A6 66 00 00 00 00 90 00 39 [02:36:24]RAPDU: 09 00 01 85 E4 A6 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]req_shift_opened done [02:36:24]requested_item shift.open_date is exist - process it [02:36:24]req_shift_open_date [02:36:24]req_shift_open_date done [02:36:24]produce_requested_data done [02:36:24]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27101,"shift.num":434,"shift.opened":1,"shift.open_date":1722213509} [02:36:24]process_action_free close_receipt [02:36:24]json_value_free [02:36:24]json_value_free done [02:36:24]process_json_proto returns [02:36:24]Send response to host [02:36:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27101,"shift.num":434,"shift.opened":1,"shift.open_date":1722213509}}} [02:36:24]free response buf [02:36:24]execute_script done [02:36:24]execute_script returns [02:36:24]free content buf [02:36:24]Sock 9.Close socket [02:36:24]Sock 9.Thread stoped [02:36:28]OFD Sender: No OFD packet to send [02:36:33]OFD Sender: No OFD packet to send [02:36:38]OFD Sender: No OFD packet to send [02:36:43]OFD Sender: No OFD packet to send [02:36:48]OFD Sender: No OFD packet to send [02:36:53]OFD Sender: No OFD packet to send [02:36:53]accept exits with 8 [02:36:53]New connection [02:36:53]New thread 3066928484 created [02:36:53]Thread 3066785124 joined [02:36:53]Waiting for new connection... [02:36:53] Sock 8.Parse request [02:36:53]Sock 8.Check first char [02:36:53]Sock 8.First char is OK [02:36:53]request: POST /json_proto HTTP/1.0 [02:36:53]Method: POST [02:36:53]URL: /json_proto [02:36:53]Method is POST - this is cgi request [02:36:53]url: /json_proto [02:36:53]query_string will be loaded in cgi processing [02:36:53]execute_cgi json_proto POST (null) [02:36:53]execute_cgi path=json_proto method=POST [02:36:53]POST find Content-Length [02:36:53]Host: 172.17.45.8:8080 [02:36:53]Content-Length: 960 [02:36:53]Content-Type: application/json [02:36:53] [02:36:53]POST finish read [02:36:53]Found Content-Length = 960 [02:36:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150499", "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" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \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" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:36:53]execute_script... [02:36:53]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)150499", "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" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \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" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:36:53]POST & json_proto [02:36:53]process_json_proto [02:36:53]json parsed OK: [02:36:53]protocol is kg_v1.0 [02:36:53]action value=close_receipt [02:36:53]process_action close_receipt [02:36:53]cmd_close_receipt [02:36:53]MH_GetDate [02:36:53]Write to MH i2c: F0 00 00 2F 0D 2B [02:36:53]Write i2c OK [02:36:53]MH_I2C_Read... [02:36:53]Read from MH i2c: F0 [02:36:53]MH_I2C_Read... [02:36:53]Read from MH i2c: F0 09 00 [02:36:53]MH_I2C_Read... [02:36:53]Read from MH i2c: F0 09 00 2F 0D 00 48 00 A7 66 A6 1F 7F 64 31 [02:36:53]GetLastDocTimeStamp 1722220583 [02:36:53]current date 1722220616 [02:36:53]FM_GetShiftState [02:36:53]SAM_PROTO_GetShiftState [02:36:53]wFMCommunicate request_size=4 [02:36:53]MH_SAM_APDU [02:36:53]CAPDU: 80 13 01 00 [02:36:53]Write to MH i2c: E2 08 00 30 0D 80 13 01 00 00 00 00 00 BA [02:36:53]Write i2c OK [02:36:53]MH_I2C_Read... [02:36:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:36:53]Read from MH i2c: E2 [02:36:53]MH_I2C_Read... [02:36:53]Read from MH i2c: E2 0E 00 [02:36:53]MH_I2C_Read... [02:36:53]Read from MH i2c: E2 0E 00 30 0D 00 09 00 01 85 E4 A6 66 00 00 00 00 90 00 3B [02:36:53]RAPDU: 09 00 01 85 E4 A6 66 00 00 00 00 90 00 [02:36:53]wFMCommunicate OK [02:36:53]SAM_PROTO_GetShiftState done [02:36:53]FM_GetShiftState done [02:36:53]opened in 1722213509 [02:36:53]opened+sec_in_day 1722299909 [02:36:53]quantity*price = 9500 [02:36:53]sum+1 = 9501 [02:36:53]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870002326172 Вода ASU пит н.газ лимон ПЭТ 1л 1.000 * 100.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 195.00 НСП 1% : 1.72 НДС 12% : 20.71 Наличными: 195.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 5 29.07.2024 02:36 Смена: 434 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27102 ФПД: 112434190118322 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240729T023656&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27102&fm=112434190118322&tin=02508201610067®Number=0000000000092663&sum=19500 0 [02:36:54]StoreToDocumentArchive [02:36:54]shift 434 fd 27102 [02:36:54]save to /storage/0434/doc_00027102 [02:36:54]save last doc name /storage/0434/doc_00027102 to /storage/kkm_last_doc_name [02:36:54]save OK [02:36:54]Clear old archive folders... [02:36:54]ProcessDocumentItem done err = 0, tmpTLVsize=416 [02:36:54]tlvbuf is 001868E0 [02:36:54]SAM_PROTO_ClearQueue [02:36:54]wFMCommunicate request_size=4 [02:36:54]MH_SAM_APDU [02:36:54]CAPDU: 80 09 00 00 [02:36:54]Write to MH i2c: E2 08 00 3D 0D 80 09 00 00 00 00 00 00 BC [02:36:54]Write i2c OK [02:36:54]MH_I2C_Read... [02:36:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:36:54]Read from MH i2c: E2 [02:36:54]MH_I2C_Read... [02:36:54]Read from MH i2c: E2 03 00 [02:36:54]MH_I2C_Read... [02:36:54]Read from MH i2c: E2 03 00 3D 0D 00 90 00 BE [02:36:54]RAPDU: 90 00 [02:36:54]wFMCommunicate OK [02:36:54]SAM_PROTO_ClearQueue done [02:36:54]KKMCreateOFDPacket [02:36:54]OFDProtocolAddRootSTLVToBuf [02:36:54]FM_MakeSignedData [02:36:54]FM_MakeSignedData [02:36:54]SAM_PROTO_SignData [02:36:54]wFMCommunicate request_size=4 [02:36:54]MH_SAM_APDU [02:36:54]CAPDU: 80 0D 01 02 [02:36:54]Write to MH i2c: E2 08 00 3E 0D 80 0D 01 02 00 00 00 00 C4 [02:36:54]Write i2c OK [02:36:54]MH_I2C_Read... [02:36:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:36:54]Read from MH i2c: E2 [02:36:54]MH_I2C_Read... [02:36:54]Read from MH i2c: E2 03 00 [02:36:54]MH_I2C_Read... [02:36:54]Read from MH i2c: E2 03 00 3E 0D 00 90 00 BF [02:36:54]RAPDU: 90 00 [02:36:54]wFMCommunicate OK [02:36:54]wFMCommunicate request_size=255 [02:36:54]MH_SAM_APDU [02:36:54]CAPDU: 80 0D 02 02 FA 03 00 A0 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 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 38 37 30 30 30 32 33 32 36 31 37 32 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 BB D0 B8 D0 BC D0 BE D0 BD 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 [02:36:54]Write to MH i2c: E2 02 01 3F 0D 80 0D 02 02 FA 00 03 00 A0 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 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 38 37 30 30 30 32 33 32 36 31 37 32 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 BB D0 B8 D0 BC D0 BE D0 BD 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 00 00 1E [02:36:54]Write i2c OK [02:36:54]MH_I2C_Read... [02:36:54]Read from MH i2c: E2 [02:36:54]MH_I2C_Read... [02:36:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:36:54]Read from MH i2c: E2 03 00 [02:36:54]MH_I2C_Read... [02:36:54]Read from MH i2c: E2 03 00 3F 0D 00 90 00 C0 [02:36:54]RAPDU: 90 00 [02:36:54]wFMCommunicate OK [02:36:54]wFMCommunicate request_size=175 [02:36:54]MH_SAM_APDU [02:36:54]CAPDU: 80 0D 02 02 AA BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 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 48 00 A7 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 DE 69 00 00 35 04 06 00 66 42 1F F6 6D B2 [02:36:54]Write to MH i2c: E2 B2 00 40 0D 80 0D 02 02 AA 00 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 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 48 00 A7 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 DE 69 00 00 35 04 06 00 66 42 1F F6 6D B2 00 00 11 [02:36:54]Write i2c OK [02:36:54]MH_I2C_Read... [02:36:55]Read from MH i2c: E2 [02:36:55]MH_I2C_Read... [02:36:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:36:55]Read from MH i2c: E2 03 00 [02:36:55]MH_I2C_Read... [02:36:55]Read from MH i2c: E2 03 00 40 0D 00 90 00 C1 [02:36:55]RAPDU: 90 00 [02:36:55]wFMCommunicate OK [02:36:55]wFMCommunicate request_size=4 [02:36:55]MH_SAM_APDU [02:36:55]CAPDU: 80 0D 03 02 [02:36:55]Write to MH i2c: E2 08 00 41 0D 80 0D 03 02 00 00 00 00 C9 [02:36:55]Write i2c OK [02:36:55]MH_I2C_Read... [02:36:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:36:55]Read from MH i2c: E2 [02:36:55]MH_I2C_Read... [02:36:55]Read from MH i2c: E2 0B 00 [02:36:55]MH_I2C_Read... [02:36:55]Read from MH i2c: E2 0B 00 41 0D 00 33 9F 90 FD 62 C9 A2 E4 90 00 DA [02:36:55]RAPDU: 33 9F 90 FD 62 C9 A2 E4 90 00 [02:36:55]wFMCommunicate OK [02:36:55]SAM_PROTO_SignData done [02:36:55]FM_MakeSignedData done [02:36:55]CreateOFDProtocolMessage [02:36:55]wFMCommunicate request_size=4 [02:36:55]MH_SAM_APDU [02:36:55]CAPDU: 80 11 00 00 [02:36:55]Write to MH i2c: E2 08 00 42 0D 80 11 00 00 00 00 00 00 C9 [02:36:55]Write i2c OK [02:36:55]MH_I2C_Read... [02:36:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:36:55]Read from MH i2c: E2 [02:36:55]MH_I2C_Read... [02:36:55]Read from MH i2c: E2 17 00 [02:36:55]MH_I2C_Read... [02:36:55]Read from MH i2c: E2 17 00 42 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 22 [02:36:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [02:36:55]wFMCommunicate OK [02:36:55]CreateOFDProtocolMessage done [02:36:55]OFDSenderStorePacket 27102 [02:36:55]StoreOFDPacket docnum=27102 [02:36:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 B4 01 00 00 85 1F AC 01 CF E8 5A 03 01 00 03 00 A0 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 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 38 37 30 30 30 32 33 32 36 31 37 32 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 BB D0 B8 D0 BC D0 BE D0 BD 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 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 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 48 00 A7 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 DE 69 00 00 35 04 06 00 66 42 1F F6 6D B2 33 9F 90 FD 62 C9 A2 E4 [02:36:55]CheckFolder [02:36:55]dirname=/storage/ofd_packets [02:36:55]CheckFolder done [02:36:55]ProducePacketName [02:36:55]name=ofd_packets/00027102 [02:36:55]NVStorageSaveData ofd_packets/00027102 [02:36:55]File name is /storage/ofd_packets/00027102 [02:36:55]Write 466 bytes [02:36:55]NVStorageSaveData done [02:36:55]OFDSenderStorePacket done [02:36:55]KKMCreateOFDPacket done [02:36:55]NVStorageSaveData kkm_last_timestamp [02:36:55]File name is /storage/kkm_last_timestamp [02:36:55]Write 4 bytes [02:36:55]NVStorageSaveData done [02:36:55]ExternCall_PrintAddStr [02:36:55]wPrintStart [02:36:55]Write to MH i2c: 01 00 00 43 0D 50 [02:36:55]OFD Sender: Processing packet 27102 [packets to send 9, broken 8] [02:36:55]ProducePacketName [02:36:55]name=ofd_packets/00027102 [02:36:55]OFD Sender: To server: pG, [02:36:55]CommunicateWithHost lk.salyk.kg:30040 [02:36:55]ConnectInit lk.salyk.kg [02:36:55]Write i2c OK [02:36:55]MH_I2C_Read... [02:36:55]Read from MH i2c: 01 [02:36:55]MH_I2C_Read... [02:36:55]Read from MH i2c: 01 07 00 [02:36:55]MH_I2C_Read... [02:36:55]Read from MH i2c: 01 07 00 43 0D 00 00 00 00 00 FF 0F 65 [02:36:55]RasterBufferAndPrint [02:36:55]line Счет N : (3)150499 [02:36:55]line ИНН: 02508201610067 [02:36:55]line Контрольно-Кассовый Чек [02:36:55]line ПРОДАЖА [02:36:55]line Товар: 4700000480050 [02:36:55]line Напиток Nitro Energy эн green ж/б 0,45л [02:36:55]line 1.000 * 95.00 [02:36:55]line = 95.00 [02:36:55]line НДС 12% НСП 1% [02:36:55]line > о реализуемом товаре [02:36:55]line Товар: 4870002326172 [02:36:55]line Вода ASU пит н.газ лимон ПЭТ 1л [02:36:55]line 1.000 * 100.00 [02:36:55]line = 100.00 [02:36:55]line НДС 12% НСП 1% [02:36:55]line > о реализуемом товаре [02:36:55]line ИТОГО: 195.00 [02:36:55]line НСП 1% : 1.72 [02:36:55]line НДС 12% : 20.71 [02:36:55]line Наличными: 195.00 [02:36:55]line Безнал.: 0.00 [02:36:55]line Место: АЗС № 134 "Партнер Нефть" [02:36:55]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [02:36:55]line СНО: Общий режим [02:36:55]line Чек 5 29.07.2024 02:36 [02:36:55]line Смена: 434 ФФД: 1.0 [02:36:55]line ЗНМ: 0300000043 [02:36:55]line РНМ: 0000000000092663 [02:36:55]line Версия ККМ: 001 [02:36:55]line ФМ: 0000000000874937 [02:36:55]line ФД: 27102 [02:36:55]line ФПД: 112434190118322 [02:36:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240729T023656&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27102&fm=112434190118322&tin=02508201610067®Number=0000000000092663&sum=19500 [02:36:55]line 0 [02:36:55]written 0, free lines is 4095 [02:36:55]Connected sock=10 [02:36:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 B4 01 00 00 85 1F AC 01 CF E8 5A 03 01 00 03 00 A0 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 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 38 37 30 30 30 32 33 32 36 31 37 32 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 BB D0 B8 D0 BC D0 BE D0 BD 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 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 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 48 00 A7 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 DE 69 00 00 35 04 06 00 66 42 1F F6 6D B2 33 9F 90 FD 62 C9 A2 E4 [02:36:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 67 A1 47 00 A1 C6 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 38 37 34 39 33 37 10 04 04 00 DE 69 00 00 F4 03 04 00 9A A6 A6 66 B6 04 01 00 00 6A 6B 6E 6F 3E 09 8B E7 [02:36:55]CommunicateWithHost err = 0 [02:36:55]CheckOFDResponse [02:36:55]1017 (14) - 77093643461234 [02:36:55]1041 (16) - 0000000000874937 [02:36:55]1040 (4) - 27102 [02:36:55]1012 (4) - 28.07.2024 20:14 [02:36:55]1206 (1) - 0 [02:36:55]OFD Sender: Remove packet 27102 [02:36:55]ProducePacketName [02:36:55]name=ofd_packets/00027102 [02:36:55]NVStorageDeleteData [02:36:55]Write to MH i2c: 01 00 00 72 0D 7F [02:36:55]Write i2c OK [02:36:55]MH_I2C_Read... [02:36:55]Read from MH i2c: 01 [02:36:55]MH_I2C_Read... [02:36:55]Read from MH i2c: 01 07 00 [02:36:55]MH_I2C_Read... [02:36:55]Read from MH i2c: 01 07 00 72 0D 00 00 00 00 00 77 0C 09 [02:36:55]RasterBufferAndPrint [02:36:55]line [02:36:55]line [02:36:55]line [02:36:55]line [02:36:55]line [02:36:55]written 0, free lines is 3200 [02:36:55]MH_Cut [02:36:55]Write to MH i2c: D1 01 00 79 0D 01 58 [02:36:55]Write i2c OK [02:36:55]MH_I2C_Read... [02:36:55]Read from MH i2c: D1 [02:36:55]MH_I2C_Read... [02:36:55]Read from MH i2c: D1 01 00 [02:36:55]MH_I2C_Read... [02:36:55]Read from MH i2c: D1 01 00 79 0D 00 57 [02:36:55]Write to MH i2c: 01 00 00 7A 0D 87 [02:36:55]Write i2c OK [02:36:55]MH_I2C_Read... [02:36:56]OFD Sender: No OFD packet to send [02:36:56]*** Cut start [02:36:56]*** Partial cut [02:36:56]*** CUTSNS_PIN = 1 [02:36:56]*** CUTSNS_PIN = 0 [02:36:57]*** Brake cut motor [02:36:57]Read from MH i2c: 01 [02:36:57]MH_I2C_Read... [02:36:57]*** Stop cut motor [02:36:57]*** Cut end [02:36:57]Read from MH i2c: 01 07 00 [02:36:57]MH_I2C_Read... [02:36:57]Read from MH i2c: 01 07 00 7A 0D 00 00 00 00 00 FF 0F 9C [02:36:57]process_action close_receipt done [02:36:57]requested_data is exist [02:36:57]produce_requested_data [02:36:57]requested_item fm.sn is exist - process it [02:36:57]wFMCommunicate request_size=4 [02:36:57]MH_SAM_APDU [02:36:57]CAPDU: 80 11 00 00 [02:36:57]Write to MH i2c: E2 08 00 7B 0D 80 11 00 00 00 00 00 00 02 [02:36:57]Write i2c OK [02:36:57]MH_I2C_Read... [02:36:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:36:57]Read from MH i2c: E2 [02:36:57]MH_I2C_Read... [02:36:57]Read from MH i2c: E2 17 00 [02:36:57]MH_I2C_Read... [02:36:57]Read from MH i2c: E2 17 00 7B 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 5B [02:36:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [02:36:57]wFMCommunicate OK [02:36:57]requested_item fd.num is exist - process it [02:36:57]SAM_PROTO_GetFieldsCounters [02:36:57]wFMCommunicate request_size=4 [02:36:57]MH_SAM_APDU [02:36:57]CAPDU: 80 13 00 00 [02:36:57]Write to MH i2c: E2 08 00 7C 0D 80 13 00 00 00 00 00 00 05 [02:36:57]Write i2c OK [02:36:57]MH_I2C_Read... [02:36:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:36:57]Read from MH i2c: E2 [02:36:57]MH_I2C_Read... [02:36:57]Read from MH i2c: E2 62 00 [02:36:57]MH_I2C_Read... [02:36:57]Read from MH i2c: E2 62 00 7C 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 DE 69 00 00 0E 04 04 00 B2 01 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 36 [02:36:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 DE 69 00 00 0E 04 04 00 B2 01 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:57]wFMCommunicate OK [02:36:57]SAM_PROTO_GetFieldsCounters done [02:36:57]requested_item shift.num is exist - process it [02:36:57]requested_item shift.opened is exist - process it [02:36:57]req_shift_opened [02:36:57]FM_GetShiftState [02:36:57]SAM_PROTO_GetShiftState [02:36:57]wFMCommunicate request_size=4 [02:36:57]MH_SAM_APDU [02:36:57]CAPDU: 80 13 01 00 [02:36:57]Write to MH i2c: E2 08 00 7D 0D 80 13 01 00 00 00 00 00 07 [02:36:57]Write i2c OK [02:36:57]MH_I2C_Read... [02:36:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:36:57]Read from MH i2c: E2 [02:36:57]MH_I2C_Read... [02:36:57]Read from MH i2c: E2 0E 00 [02:36:57]MH_I2C_Read... [02:36:57]Read from MH i2c: E2 0E 00 7D 0D 00 09 00 01 85 E4 A6 66 00 00 00 00 90 00 88 [02:36:57]RAPDU: 09 00 01 85 E4 A6 66 00 00 00 00 90 00 [02:36:57]wFMCommunicate OK [02:36:57]SAM_PROTO_GetShiftState done [02:36:57]FM_GetShiftState done [02:36:57]req_shift_opened done [02:36:57]requested_item shift.open_date is exist - process it [02:36:57]req_shift_open_date [02:36:57]req_shift_open_date done [02:36:57]produce_requested_data done [02:36:57]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27102,"shift.num":434,"shift.opened":1,"shift.open_date":1722213509} [02:36:57]process_action_free close_receipt [02:36:57]json_value_free [02:36:57]json_value_free done [02:36:57]process_json_proto returns [02:36:57]Send response to host [02:36:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27102,"shift.num":434,"shift.opened":1,"shift.open_date":1722213509}}} [02:36:57]free response buf [02:36:57]execute_script done [02:36:57]execute_script returns [02:36:57]free content buf [02:36:57]Sock 8.Close socket [02:36:57]Sock 8.Thread stoped [02:37:01]OFD Sender: No OFD packet to send [02:37:06]OFD Sender: No OFD packet to send [02:37:11]OFD Sender: No OFD packet to send [02:37:16]OFD Sender: No OFD packet to send [02:37:21]OFD Sender: No OFD packet to send [02:37:26]OFD Sender: No OFD packet to send [02:37:31]OFD Sender: No OFD packet to send [02:37:36]OFD Sender: No OFD packet to send [02:37:41]OFD Sender: No OFD packet to send [02:37:46]OFD Sender: No OFD packet to send [02:37:51]OFD Sender: No OFD packet to send [02:37:56]OFD Sender: No OFD packet to send [02:38:01]OFD Sender: No OFD packet to send [02:38:06]OFD Sender: No OFD packet to send [02:38:11]OFD Sender: No OFD packet to send [02:38:16]OFD Sender: No OFD packet to send [02:38:21]OFD Sender: No OFD packet to send [02:38:26]OFD Sender: No OFD packet to send [02:38:31]OFD Sender: No OFD packet to send [02:38:36]OFD Sender: No OFD packet to send [02:38:41]OFD Sender: No OFD packet to send [02:38:46]OFD Sender: No OFD packet to send [02:38:51]OFD Sender: No OFD packet to send [02:38:56]OFD Sender: No OFD packet to send [02:39:01]OFD Sender: No OFD packet to send [02:39:06]OFD Sender: No OFD packet to send [02:39:11]OFD Sender: No OFD packet to send [02:39:16]OFD Sender: No OFD packet to send [02:39:21]OFD Sender: No OFD packet to send [02:39:26]OFD Sender: No OFD packet to send [02:39:31]OFD Sender: No OFD packet to send [02:39:36]OFD Sender: No OFD packet to send [02:39:41]OFD Sender: No OFD packet to send [02:39:46]OFD Sender: No OFD packet to send [02:39:51]OFD Sender: No OFD packet to send [02:39:56]OFD Sender: No OFD packet to send [02:40:01]OFD Sender: No OFD packet to send [02:40:06]OFD Sender: No OFD packet to send [02:40:11]OFD Sender: No OFD packet to send [02:40:16]OFD Sender: No OFD packet to send [02:40:21]OFD Sender: No OFD packet to send [02:40:26]OFD Sender: No OFD packet to send [02:40:31]OFD Sender: No OFD packet to send [02:40:36]OFD Sender: No OFD packet to send [02:40:41]OFD Sender: No OFD packet to send [02:40:46]OFD Sender: No OFD packet to send [02:40:51]OFD Sender: No OFD packet to send [02:40:56]OFD Sender: No OFD packet to send [02:41:01]OFD Sender: No OFD packet to send [02:41:06]OFD Sender: No OFD packet to send [02:41:11]OFD Sender: No OFD packet to send [02:41:16]OFD Sender: No OFD packet to send [02:41:21]OFD Sender: No OFD packet to send [02:41:26]OFD Sender: No OFD packet to send [02:41:31]OFD Sender: No OFD packet to send [02:41:36]OFD Sender: No OFD packet to send [02:41:41]OFD Sender: No OFD packet to send [02:41:46]OFD Sender: No OFD packet to send [02:41:51]OFD Sender: No OFD packet to send [02:41:56]OFD Sender: No OFD packet to send [02:42:01]OFD Sender: No OFD packet to send [02:42:06]OFD Sender: No OFD packet to send [02:42:11]OFD Sender: No OFD packet to send [02:42:16]OFD Sender: No OFD packet to send [02:42:21]OFD Sender: No OFD packet to send [02:42:26]OFD Sender: No OFD packet to send [02:42:31]OFD Sender: No OFD packet to send [02:42:36]OFD Sender: No OFD packet to send [02:42:41]OFD Sender: No OFD packet to send [02:42:46]OFD Sender: No OFD packet to send [02:42:51]OFD Sender: No OFD packet to send [02:42:56]OFD Sender: No OFD packet to send [02:43:01]OFD Sender: No OFD packet to send [02:43:06]OFD Sender: No OFD packet to send [02:43:11]OFD Sender: No OFD packet to send [02:43:16]OFD Sender: No OFD packet to send [02:43:21]OFD Sender: No OFD packet to send [02:43:26]OFD Sender: No OFD packet to send [02:43:31]OFD Sender: No OFD packet to send [02:43:36]OFD Sender: No OFD packet to send [02:43:41]OFD Sender: No OFD packet to send [02:43:46]OFD Sender: No OFD packet to send [02:43:51]OFD Sender: No OFD packet to send [02:43:56]OFD Sender: No OFD packet to send [02:44:01]OFD Sender: No OFD packet to send [02:44:06]OFD Sender: No OFD packet to send [02:44:11]OFD Sender: No OFD packet to send [02:44:16]OFD Sender: No OFD packet to send [02:44:21]OFD Sender: No OFD packet to send [02:44:26]OFD Sender: No OFD packet to send [02:44:31]OFD Sender: No OFD packet to send [02:44:36]OFD Sender: No OFD packet to send [02:44:41]OFD Sender: No OFD packet to send [02:44:46]OFD Sender: No OFD packet to send [02:44:51]OFD Sender: No OFD packet to send [02:44:56]OFD Sender: No OFD packet to send [02:45:01]OFD Sender: No OFD packet to send [02:45:06]OFD Sender: No OFD packet to send [02:45:11]OFD Sender: No OFD packet to send [02:45:16]OFD Sender: No OFD packet to send [02:45:21]OFD Sender: No OFD packet to send [02:45:26]OFD Sender: No OFD packet to send [02:45:31]OFD Sender: No OFD packet to send [02:45:36]OFD Sender: No OFD packet to send [02:45:41]OFD Sender: No OFD packet to send [02:45:46]OFD Sender: No OFD packet to send [02:45:51]OFD Sender: No OFD packet to send [02:45:56]OFD Sender: No OFD packet to send [02:46:01]OFD Sender: No OFD packet to send [02:46:06]OFD Sender: No OFD packet to send [02:46:11]OFD Sender: No OFD packet to send [02:46:16]OFD Sender: No OFD packet to send [02:46:21]OFD Sender: No OFD packet to send [02:46:26]OFD Sender: No OFD packet to send [02:46:31]OFD Sender: No OFD packet to send [02:46:36]OFD Sender: No OFD packet to send [02:46:41]OFD Sender: No OFD packet to send [02:46:46]OFD Sender: No OFD packet to send [02:46:51]OFD Sender: No OFD packet to send [02:46:56]OFD Sender: No OFD packet to send [02:47:01]OFD Sender: No OFD packet to send [02:47:06]OFD Sender: No OFD packet to send [02:47:11]OFD Sender: No OFD packet to send [02:47:16]OFD Sender: No OFD packet to send [02:47:21]OFD Sender: No OFD packet to send [02:47:26]OFD Sender: No OFD packet to send [02:47:31]OFD Sender: No OFD packet to send [02:47:36]OFD Sender: No OFD packet to send [02:47:41]OFD Sender: No OFD packet to send [02:47:46]OFD Sender: No OFD packet to send [02:47:51]OFD Sender: No OFD packet to send [02:47:56]OFD Sender: No OFD packet to send [02:48:01]OFD Sender: No OFD packet to send [02:48:06]OFD Sender: No OFD packet to send [02:48:11]OFD Sender: No OFD packet to send [02:48:16]OFD Sender: No OFD packet to send [02:48:21]OFD Sender: No OFD packet to send [02:48:26]OFD Sender: No OFD packet to send [02:48:31]OFD Sender: No OFD packet to send [02:48:36]OFD Sender: No OFD packet to send [02:48:41]OFD Sender: No OFD packet to send [02:48:46]OFD Sender: No OFD packet to send [02:48:51]OFD Sender: No OFD packet to send [02:48:56]OFD Sender: No OFD packet to send [02:49:01]OFD Sender: No OFD packet to send [02:49:06]OFD Sender: No OFD packet to send [02:49:11]OFD Sender: No OFD packet to send [02:49:16]OFD Sender: No OFD packet to send [02:49:21]OFD Sender: No OFD packet to send [02:49:26]OFD Sender: No OFD packet to send [02:49:31]OFD Sender: No OFD packet to send [02:49:36]OFD Sender: No OFD packet to send [02:49:41]OFD Sender: No OFD packet to send [02:49:46]OFD Sender: No OFD packet to send [02:49:51]OFD Sender: No OFD packet to send [02:49:56]OFD Sender: No OFD packet to send [02:50:01]OFD Sender: No OFD packet to send [02:50:06]OFD Sender: No OFD packet to send [02:50:11]OFD Sender: No OFD packet to send [02:50:16]OFD Sender: No OFD packet to send [02:50:21]OFD Sender: No OFD packet to send [02:50:26]OFD Sender: No OFD packet to send [02:50:31]OFD Sender: No OFD packet to send [02:50:36]OFD Sender: No OFD packet to send [02:50:41]OFD Sender: No OFD packet to send [02:50:46]OFD Sender: No OFD packet to send [02:50:51]OFD Sender: No OFD packet to send [02:50:56]OFD Sender: No OFD packet to send [02:51:01]OFD Sender: No OFD packet to send [02:51:06]OFD Sender: No OFD packet to send [02:51:11]OFD Sender: No OFD packet to send [02:51:16]OFD Sender: No OFD packet to send [02:51:21]OFD Sender: No OFD packet to send [02:51:26]OFD Sender: No OFD packet to send [02:51:31]OFD Sender: No OFD packet to send [02:51:36]OFD Sender: No OFD packet to send [02:51:41]OFD Sender: No OFD packet to send [02:51:46]OFD Sender: No OFD packet to send [02:51:51]OFD Sender: No OFD packet to send [02:51:56]OFD Sender: No OFD packet to send [02:52:01]OFD Sender: No OFD packet to send [02:52:06]OFD Sender: No OFD packet to send [02:52:11]OFD Sender: No OFD packet to send [02:52:16]OFD Sender: No OFD packet to send [02:52:21]OFD Sender: No OFD packet to send [02:52:26]OFD Sender: No OFD packet to send [02:52:31]OFD Sender: No OFD packet to send [02:52:36]OFD Sender: No OFD packet to send [02:52:42]OFD Sender: No OFD packet to send [02:52:47]OFD Sender: No OFD packet to send [02:52:52]OFD Sender: No OFD packet to send [02:52:57]OFD Sender: No OFD packet to send [02:53:02]OFD Sender: No OFD packet to send [02:53:07]OFD Sender: No OFD packet to send [02:53:12]OFD Sender: No OFD packet to send [02:53:17]OFD Sender: No OFD packet to send [02:53:22]OFD Sender: No OFD packet to send [02:53:27]OFD Sender: No OFD packet to send [02:53:32]OFD Sender: No OFD packet to send [02:53:37]OFD Sender: No OFD packet to send [02:53:42]OFD Sender: No OFD packet to send [02:53:47]OFD Sender: No OFD packet to send [02:53:52]OFD Sender: No OFD packet to send [02:53:57]OFD Sender: No OFD packet to send [02:54:02]OFD Sender: No OFD packet to send [02:54:07]OFD Sender: No OFD packet to send [02:54:12]OFD Sender: No OFD packet to send [02:54:17]OFD Sender: No OFD packet to send [02:54:22]OFD Sender: No OFD packet to send [02:54:27]OFD Sender: No OFD packet to send [02:54:32]OFD Sender: No OFD packet to send [02:54:37]OFD Sender: No OFD packet to send [02:54:42]OFD Sender: No OFD packet to send [02:54:47]OFD Sender: No OFD packet to send [02:54:52]OFD Sender: No OFD packet to send [02:54:57]OFD Sender: No OFD packet to send [02:55:02]OFD Sender: No OFD packet to send [02:55:07]OFD Sender: No OFD packet to send [02:55:12]OFD Sender: No OFD packet to send [02:55:17]OFD Sender: No OFD packet to send [02:55:22]OFD Sender: No OFD packet to send [02:55:27]OFD Sender: No OFD packet to send [02:55:32]OFD Sender: No OFD packet to send [02:55:37]OFD Sender: No OFD packet to send [02:55:42]OFD Sender: No OFD packet to send [02:55:47]OFD Sender: No OFD packet to send [02:55:52]OFD Sender: No OFD packet to send [02:55:54]accept exits with 9 [02:55:54]New connection [02:55:54]New thread 3066785124 created [02:55:54]Thread 3066928484 joined [02:55:54]Waiting for new connection... [02:55:54] Sock 9.Parse request [02:55:54]Sock 9.Check first char [02:55:54]Sock 9.First char is OK [02:55:54]request: POST /json_proto HTTP/1.0 [02:55:54]Method: POST [02:55:54]URL: /json_proto [02:55:54]Method is POST - this is cgi request [02:55:54]url: /json_proto [02:55:54]query_string will be loaded in cgi processing [02:55:54]execute_cgi json_proto POST (null) [02:55:54]execute_cgi path=json_proto method=POST [02:55:54]POST find Content-Length [02:55:54]Host: 172.17.45.8:8080 [02:55:54]Content-Length: 640 [02:55:54]Content-Type: application/json [02:55:54] [02:55:54]POST finish read [02:55:54]Found Content-Length = 640 [02:55:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150500", "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" ] } } [02:55:54]execute_script... [02:55:54]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)150500", "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" ] } } [02:55:54]POST & json_proto [02:55:54]process_json_proto [02:55:54]json parsed OK: [02:55:54]protocol is kg_v1.0 [02:55:54]action value=close_receipt [02:55:54]process_action close_receipt [02:55:54]cmd_close_receipt [02:55:54]MH_GetDate [02:55:54]Write to MH i2c: F0 00 00 7E 0D 7A [02:55:54]Write i2c OK [02:55:54]MH_I2C_Read... [02:55:54]Read from MH i2c: F0 [02:55:54]MH_I2C_Read... [02:55:54]Read from MH i2c: F0 09 00 [02:55:54]MH_I2C_Read... [02:55:54]Read from MH i2c: F0 09 00 7E 0D 00 BD 04 A7 66 A6 1F 7F 64 F9 [02:55:54]GetLastDocTimeStamp 1722220616 [02:55:54]current date 1722221757 [02:55:54]FM_GetShiftState [02:55:54]SAM_PROTO_GetShiftState [02:55:54]wFMCommunicate request_size=4 [02:55:54]MH_SAM_APDU [02:55:54]CAPDU: 80 13 01 00 [02:55:54]Write to MH i2c: E2 08 00 7F 0D 80 13 01 00 00 00 00 00 09 [02:55:54]Write i2c OK [02:55:54]MH_I2C_Read... [02:55:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:55:54]Read from MH i2c: E2 [02:55:54]MH_I2C_Read... [02:55:54]Read from MH i2c: E2 0E 00 [02:55:54]MH_I2C_Read... [02:55:54]Read from MH i2c: E2 0E 00 7F 0D 00 09 00 01 85 E4 A6 66 00 00 00 00 90 00 8A [02:55:54]RAPDU: 09 00 01 85 E4 A6 66 00 00 00 00 90 00 [02:55:54]wFMCommunicate OK [02:55:54]SAM_PROTO_GetShiftState done [02:55:54]FM_GetShiftState done [02:55:54]opened in 1722213509 [02:55:54]opened+sec_in_day 1722299909 [02:55:54]quantity*price = 18000 [02:55:54]sum+1 = 18001 [02:55:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 180.00 Безнал.: 0.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 6 29.07.2024 02:55 Смена: 434 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 ФМ: 0000000000874937 ФД: 27103 ФПД: 120780380869060 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240729T025557&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27103&fm=120780380869060&tin=02508201610067®Number=0000000000092663&sum=18000 0 [02:55:55]StoreToDocumentArchive [02:55:55]shift 434 fd 27103 [02:55:55]save to /storage/0434/doc_00027103 [02:55:55]save last doc name /storage/0434/doc_00027103 to /storage/kkm_last_doc_name [02:55:55]save OK [02:55:55]Clear old archive folders... [02:55:55]ProcessDocumentItem done err = 0, tmpTLVsize=272 [02:55:55]tlvbuf is 001B9A00 [02:55:55]SAM_PROTO_ClearQueue [02:55:55]wFMCommunicate request_size=4 [02:55:55]MH_SAM_APDU [02:55:55]CAPDU: 80 09 00 00 [02:55:55]Write to MH i2c: E2 08 00 8C 0D 80 09 00 00 00 00 00 00 0B [02:55:55]Write i2c OK [02:55:55]MH_I2C_Read... [02:55:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:55:55]Read from MH i2c: E2 [02:55:55]MH_I2C_Read... [02:55:55]Read from MH i2c: E2 03 00 [02:55:55]MH_I2C_Read... [02:55:55]Read from MH i2c: E2 03 00 8C 0D 00 90 00 0D [02:55:55]RAPDU: 90 00 [02:55:55]wFMCommunicate OK [02:55:55]SAM_PROTO_ClearQueue done [02:55:55]KKMCreateOFDPacket [02:55:55]OFDProtocolAddRootSTLVToBuf [02:55:55]FM_MakeSignedData [02:55:55]FM_MakeSignedData [02:55:55]SAM_PROTO_SignData [02:55:55]wFMCommunicate request_size=4 [02:55:55]MH_SAM_APDU [02:55:55]CAPDU: 80 0D 01 02 [02:55:55]Write to MH i2c: E2 08 00 8D 0D 80 0D 01 02 00 00 00 00 13 [02:55:55]Write i2c OK [02:55:55]MH_I2C_Read... [02:55:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:55:55]Read from MH i2c: E2 [02:55:55]MH_I2C_Read... [02:55:55]Read from MH i2c: E2 03 00 [02:55:55]MH_I2C_Read... [02:55:55]Read from MH i2c: E2 03 00 8D 0D 00 90 00 0E [02:55:55]RAPDU: 90 00 [02:55:55]wFMCommunicate OK [02:55:55]wFMCommunicate request_size=255 [02:55:55]MH_SAM_APDU [02:55:55]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 06 00 00 00 F4 03 04 00 BD 04 A7 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 [02:55:55]Write to MH i2c: E2 02 01 8E 0D 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 06 00 00 00 F4 03 04 00 BD 04 A7 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 00 00 78 [02:55:55]Write i2c OK [02:55:55]MH_I2C_Read... [02:55:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:55:55]Read from MH i2c: E2 [02:55:55]MH_I2C_Read... [02:55:55]Read from MH i2c: E2 03 00 [02:55:55]MH_I2C_Read... [02:55:55]Read from MH i2c: E2 03 00 8E 0D 00 90 00 0F [02:55:55]RAPDU: 90 00 [02:55:55]wFMCommunicate OK [02:55:55]wFMCommunicate request_size=31 [02:55:55]MH_SAM_APDU [02:55:55]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 39 33 37 10 04 04 00 DF 69 00 00 35 04 06 00 6D D9 5F B2 91 C4 [02:55:55]Write to MH i2c: E2 22 00 8F 0D 80 0D 02 02 1A 00 30 30 38 37 34 39 33 37 10 04 04 00 DF 69 00 00 35 04 06 00 6D D9 5F B2 91 C4 00 00 3B [02:55:55]Write i2c OK [02:55:55]MH_I2C_Read... [02:55:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:55:55]Read from MH i2c: E2 [02:55:55]MH_I2C_Read... [02:55:55]Read from MH i2c: E2 03 00 [02:55:55]MH_I2C_Read... [02:55:55]Read from MH i2c: E2 03 00 8F 0D 00 90 00 10 [02:55:55]RAPDU: 90 00 [02:55:55]wFMCommunicate OK [02:55:55]wFMCommunicate request_size=4 [02:55:55]MH_SAM_APDU [02:55:55]CAPDU: 80 0D 03 02 [02:55:55]Write to MH i2c: E2 08 00 90 0D 80 0D 03 02 00 00 00 00 18 [02:55:55]Write i2c OK [02:55:55]MH_I2C_Read... [02:55:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:55:55]Read from MH i2c: E2 [02:55:55]MH_I2C_Read... [02:55:55]Read from MH i2c: E2 0B 00 [02:55:55]MH_I2C_Read... [02:55:55]Read from MH i2c: E2 0B 00 90 0D 00 F8 17 69 24 9F 9F 51 B7 90 00 FB [02:55:55]RAPDU: F8 17 69 24 9F 9F 51 B7 90 00 [02:55:55]wFMCommunicate OK [02:55:55]SAM_PROTO_SignData done [02:55:55]FM_MakeSignedData done [02:55:55]CreateOFDProtocolMessage [02:55:55]wFMCommunicate request_size=4 [02:55:55]MH_SAM_APDU [02:55:55]CAPDU: 80 11 00 00 [02:55:55]Write to MH i2c: E2 08 00 91 0D 80 11 00 00 00 00 00 00 18 [02:55:55]Write i2c OK [02:55:55]MH_I2C_Read... [02:55:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:55:55]Read from MH i2c: E2 [02:55:55]MH_I2C_Read... [02:55:55]Read from MH i2c: E2 17 00 [02:55:55]MH_I2C_Read... [02:55:55]Read from MH i2c: E2 17 00 91 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 71 [02:55:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [02:55:55]wFMCommunicate OK [02:55:55]CreateOFDProtocolMessage done [02:55:55]OFDSenderStorePacket 27103 [02:55:55]StoreOFDPacket docnum=27103 [02:55:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 24 01 00 00 93 28 1C 01 EF 1C 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 06 00 00 00 F4 03 04 00 BD 04 A7 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 DF 69 00 00 35 04 06 00 6D D9 5F B2 91 C4 F8 17 69 24 9F 9F 51 B7 [02:55:55]CheckFolder [02:55:55]dirname=/storage/ofd_packets [02:55:55]CheckFolder done [02:55:55]ProducePacketName [02:55:55]name=ofd_packets/00027103 [02:55:55]NVStorageSaveData ofd_packets/00027103 [02:55:55]File name is /storage/ofd_packets/00027103 [02:55:55]Write 322 bytes [02:55:55]NVStorageSaveData done [02:55:55]OFDSenderStorePacket done [02:55:55]KKMCreateOFDPacket done [02:55:55]NVStorageSaveData kkm_last_timestamp [02:55:55]File name is /storage/kkm_last_timestamp [02:55:55]Write 4 bytes [02:55:55]NVStorageSaveData done [02:55:55]ExternCall_PrintAddStr [02:55:55]wPrintStart [02:55:55]Write to MH i2c: 01 00 00 92 0D 9F [02:55:55]Write i2c OK [02:55:55]MH_I2C_Read... [02:55:55]Read from MH i2c: 01 [02:55:55]MH_I2C_Read... [02:55:55]Read from MH i2c: 01 07 00 [02:55:55]MH_I2C_Read... [02:55:55]Read from MH i2c: 01 07 00 92 0D 00 00 00 00 00 FF 0F B4 [02:55:55]RasterBufferAndPrint [02:55:55]line Счет N : (3)150500 [02:55:55]line ИНН: 02508201610067 [02:55:55]line Контрольно-Кассовый Чек [02:55:55]line ПРОДАЖА [02:55:55]line Товар: 4700000480517 [02:55:55]line Пиво Живое 1л ПЭТ [02:55:55]line 1.000 * 180.00 [02:55:55]line = 180.00 [02:55:55]line НДС 12% НСП 1% [02:55:55]line > о реализуемом товаре [02:55:55]line ИТОГО: 180.00 [02:55:55]line НСП 1% : 1.59 [02:55:55]line НДС 12% : 19.11 [02:55:55]line Наличными: 180.00 [02:55:55]line Безнал.: 0.00 [02:55:55]line Место: АЗС № 134 "Партнер Нефть" [02:55:55]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [02:55:55]line СНО: Общий режим [02:55:55]line Чек 6 29.07.2024 02:55 [02:55:55]line Смена: 434 ФФД: 1.0 [02:55:55]line ЗНМ: 0300000043 [02:55:55]line РНМ: 0000000000092663 [02:55:55]line Версия ККМ: 001 [02:55:55]line ФМ: 0000000000874937 [02:55:55]line ФД: 27103 [02:55:55]line ФПД: 120780380869060 [02:55:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240729T025557&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27103&fm=120780380869060&tin=02508201610067®Number=0000000000092663&sum=18000 [02:55:56]OFD Sender: Processing packet 27103 [packets to send 9, broken 8] [02:55:56]ProducePacketName [02:55:56]name=ofd_packets/00027103 [02:55:56]OFD Sender: To server: pG, [02:55:56]CommunicateWithHost lk.salyk.kg:30040 [02:55:56]ConnectInit lk.salyk.kg [02:55:56]line 0 [02:55:56]written 0, free lines is 4095 [02:55:56]Connected sock=8 [02:55:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 24 01 00 00 93 28 1C 01 EF 1C 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 06 00 00 00 F4 03 04 00 BD 04 A7 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 DF 69 00 00 35 04 06 00 6D D9 5F B2 91 C4 F8 17 69 24 9F 9F 51 B7 [02:55:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 FA 5C 47 00 19 7F 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 38 37 34 39 33 37 10 04 04 00 DF 69 00 00 F4 03 04 00 0F AB A6 66 B6 04 01 00 00 34 CD 60 82 26 05 50 61 [02:55:56]CommunicateWithHost err = 0 [02:55:56]CheckOFDResponse [02:55:56]1017 (14) - 77093643461234 [02:55:56]1041 (16) - 0000000000874937 [02:55:56]1040 (4) - 27103 [02:55:56]1012 (4) - 28.07.2024 20:33 [02:55:56]1206 (1) - 0 [02:55:56]OFD Sender: Remove packet 27103 [02:55:56]ProducePacketName [02:55:56]name=ofd_packets/00027103 [02:55:56]NVStorageDeleteData [02:55:56]Write to MH i2c: 01 00 00 B9 0D C6 [02:55:56]Write i2c OK [02:55:56]MH_I2C_Read... [02:55:56]Read from MH i2c: 01 [02:55:56]MH_I2C_Read... [02:55:56]Read from MH i2c: 01 07 00 [02:55:56]MH_I2C_Read... [02:55:56]Read from MH i2c: 01 07 00 B9 0D 00 00 00 00 00 06 0D E0 [02:55:56]RasterBufferAndPrint [02:55:56]line [02:55:56]line [02:55:56]line [02:55:56]line [02:55:56]line [02:55:56]written 0, free lines is 3343 [02:55:56]MH_Cut [02:55:56]Write to MH i2c: D1 01 00 C0 0D 01 9F [02:55:56]Write i2c OK [02:55:56]MH_I2C_Read... [02:55:56]Read from MH i2c: D1 [02:55:56]MH_I2C_Read... [02:55:56]Read from MH i2c: D1 01 00 [02:55:56]MH_I2C_Read... [02:55:56]Read from MH i2c: D1 01 00 C0 0D 00 9E [02:55:56]Write to MH i2c: 01 00 00 C1 0D CE [02:55:56]Write i2c OK [02:55:56]MH_I2C_Read... [02:55:56]OFD Sender: No OFD packet to send [02:55:57]*** Cut start [02:55:57]*** Partial cut [02:55:57]*** CUTSNS_PIN = 1 [02:55:57]*** CUTSNS_PIN = 0 [02:55:57]*** Brake cut motor [02:55:57]Read from MH i2c: 01 [02:55:57]MH_I2C_Read... [02:55:57]*** Stop cut motor [02:55:57]*** Cut end [02:55:57]Read from MH i2c: 01 07 00 [02:55:57]MH_I2C_Read... [02:55:57]Read from MH i2c: 01 07 00 C1 0D 00 00 00 00 00 FF 0F E3 [02:55:57]process_action close_receipt done [02:55:57]requested_data is exist [02:55:57]produce_requested_data [02:55:57]requested_item fm.sn is exist - process it [02:55:57]wFMCommunicate request_size=4 [02:55:57]MH_SAM_APDU [02:55:57]CAPDU: 80 11 00 00 [02:55:57]Write to MH i2c: E2 08 00 C2 0D 80 11 00 00 00 00 00 00 49 [02:55:57]Write i2c OK [02:55:57]MH_I2C_Read... [02:55:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:55:58]Read from MH i2c: E2 [02:55:58]MH_I2C_Read... [02:55:58]Read from MH i2c: E2 17 00 [02:55:58]MH_I2C_Read... [02:55:58]Read from MH i2c: E2 17 00 C2 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 A2 [02:55:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [02:55:58]wFMCommunicate OK [02:55:58]requested_item fd.num is exist - process it [02:55:58]SAM_PROTO_GetFieldsCounters [02:55:58]wFMCommunicate request_size=4 [02:55:58]MH_SAM_APDU [02:55:58]CAPDU: 80 13 00 00 [02:55:58]Write to MH i2c: E2 08 00 C3 0D 80 13 00 00 00 00 00 00 4C [02:55:58]Write i2c OK [02:55:58]MH_I2C_Read... [02:55:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:55:58]Read from MH i2c: E2 [02:55:58]MH_I2C_Read... [02:55:58]Read from MH i2c: E2 62 00 [02:55:58]MH_I2C_Read... [02:55:58]Read from MH i2c: E2 62 00 C3 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 DF 69 00 00 0E 04 04 00 B2 01 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 81 [02:55:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 DF 69 00 00 0E 04 04 00 B2 01 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 [02:55:58]wFMCommunicate OK [02:55:58]SAM_PROTO_GetFieldsCounters done [02:55:58]requested_item shift.num is exist - process it [02:55:58]requested_item shift.opened is exist - process it [02:55:58]req_shift_opened [02:55:58]FM_GetShiftState [02:55:58]SAM_PROTO_GetShiftState [02:55:58]wFMCommunicate request_size=4 [02:55:58]MH_SAM_APDU [02:55:58]CAPDU: 80 13 01 00 [02:55:58]Write to MH i2c: E2 08 00 C4 0D 80 13 01 00 00 00 00 00 4E [02:55:58]Write i2c OK [02:55:58]MH_I2C_Read... [02:55:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:55:58]Read from MH i2c: E2 [02:55:58]MH_I2C_Read... [02:55:58]Read from MH i2c: E2 0E 00 [02:55:58]MH_I2C_Read... [02:55:58]Read from MH i2c: E2 0E 00 C4 0D 00 09 00 01 85 E4 A6 66 00 00 00 00 90 00 CF [02:55:58]RAPDU: 09 00 01 85 E4 A6 66 00 00 00 00 90 00 [02:55:58]wFMCommunicate OK [02:55:58]SAM_PROTO_GetShiftState done [02:55:58]FM_GetShiftState done [02:55:58]req_shift_opened done [02:55:58]requested_item shift.open_date is exist - process it [02:55:58]req_shift_open_date [02:55:58]req_shift_open_date done [02:55:58]produce_requested_data done [02:55:58]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27103,"shift.num":434,"shift.opened":1,"shift.open_date":1722213509} [02:55:58]process_action_free close_receipt [02:55:58]json_value_free [02:55:58]json_value_free done [02:55:58]process_json_proto returns [02:55:58]Send response to host [02:55:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27103,"shift.num":434,"shift.opened":1,"shift.open_date":1722213509}}} [02:55:58]free response buf [02:55:58]execute_script done [02:55:58]execute_script returns [02:55:58]free content buf [02:55:58]Sock 9.Close socket [02:55:58]Sock 9.Thread stoped [02:56:01]OFD Sender: No OFD packet to send [02:56:06]accept exits with 10 [02:56:06]New connection [02:56:06]New thread 3066928484 created [02:56:06]Thread 3066785124 joined [02:56:06]Waiting for new connection... [02:56:06] Sock 10.Parse request [02:56:06]Sock 10.Check first char [02:56:06]Sock 10.First char is OK [02:56:06]request: POST /json_proto HTTP/1.0 [02:56:06]Method: POST [02:56:06]URL: /json_proto [02:56:06]Method is POST - this is cgi request [02:56:06]url: /json_proto [02:56:06]query_string will be loaded in cgi processing [02:56:06]execute_cgi json_proto POST (null) [02:56:06]execute_cgi path=json_proto method=POST [02:56:06]POST find Content-Length [02:56:06]Host: 172.17.45.8:8080 [02:56:06]Content-Length: 772 [02:56:06]Content-Type: application/json [02:56:06] [02:56:06]POST finish read [02:56:06]Found Content-Length = 772 [02:56:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)150501", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Balance.KG", "payments": [ { "type": 1, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:56:06]execute_script... [02:56: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)150501", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Balance.KG", "payments": [ { "type": 1, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:56:06]POST & json_proto [02:56:06]process_json_proto [02:56:06]json parsed OK: [02:56:06]protocol is kg_v1.0 [02:56:06]action value=close_receipt [02:56:06]process_action close_receipt [02:56:06]cmd_close_receipt [02:56:06]MH_GetDate [02:56:06]Write to MH i2c: F0 00 00 C5 0D C1 [02:56:06]Write i2c OK [02:56:06]MH_I2C_Read... [02:56:06]Read from MH i2c: F0 [02:56:06]MH_I2C_Read... [02:56:06]Read from MH i2c: F0 09 00 [02:56:06]MH_I2C_Read... [02:56:06]Read from MH i2c: F0 09 00 C5 0D 00 C9 04 A7 66 A6 1F 7F 64 4C [02:56:06]GetLastDocTimeStamp 1722221757 [02:56:06]current date 1722221769 [02:56:06]FM_GetShiftState [02:56:06]SAM_PROTO_GetShiftState [02:56:06]wFMCommunicate request_size=4 [02:56:06]MH_SAM_APDU [02:56:06]CAPDU: 80 13 01 00 [02:56:06]Write to MH i2c: E2 08 00 C6 0D 80 13 01 00 00 00 00 00 50 [02:56:06]Write i2c OK [02:56:06]MH_I2C_Read... [02:56:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:56:06]Read from MH i2c: E2 [02:56:06]MH_I2C_Read... [02:56:06]Read from MH i2c: E2 0E 00 [02:56:06]MH_I2C_Read... [02:56:06]Read from MH i2c: E2 0E 00 C6 0D 00 09 00 01 85 E4 A6 66 00 00 00 00 90 00 D1 [02:56:06]RAPDU: 09 00 01 85 E4 A6 66 00 00 00 00 90 00 [02:56:06]wFMCommunicate OK [02:56:06]SAM_PROTO_GetShiftState done [02:56:06]FM_GetShiftState done [02:56:06]opened in 1722213509 [02:56:06]opened+sec_in_day 1722299909 [02:56:06]quantity*price = 18000 [02:56:06]sum+1 = 18001 [02:56:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 0.00 Безнал.: 180.00 Место: АЗС № 134 "Партнер Нефть" Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 СНО: Общий режим Чек 7 29.07.2024 02:56 Смена: 434 ФФД: 1.0 ЗНМ: 0300000043 РНМ: 0000000000092663 Версия ККМ: 001 Платежная система: Balance.KG ФМ: 0000000000874937 ФД: 27104 ФПД: 242048699834413 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240729T025609&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27104&fm=242048699834413&tin=02508201610067®Number=0000000000092663&sum=18000 0 [02:56:07]StoreToDocumentArchive [02:56:07]shift 434 fd 27104 [02:56:07]save to /storage/0434/doc_00027104 [02:56:07]save last doc name /storage/0434/doc_00027104 to /storage/kkm_last_doc_name [02:56:07]save OK [02:56:07]Clear old archive folders... [02:56:07]ProcessDocumentItem done err = 0, tmpTLVsize=272 [02:56:07]tlvbuf is 0019C4E0 [02:56:07]SAM_PROTO_ClearQueue [02:56:07]wFMCommunicate request_size=4 [02:56:07]MH_SAM_APDU [02:56:07]CAPDU: 80 09 00 00 [02:56:07]Write to MH i2c: E2 08 00 D3 0D 80 09 00 00 00 00 00 00 52 [02:56:07]Write i2c OK [02:56:07]MH_I2C_Read... [02:56:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:56:07]Read from MH i2c: E2 [02:56:07]MH_I2C_Read... [02:56:07]Read from MH i2c: E2 03 00 [02:56:07]MH_I2C_Read... [02:56:07]Read from MH i2c: E2 03 00 D3 0D 00 90 00 54 [02:56:07]RAPDU: 90 00 [02:56:07]wFMCommunicate OK [02:56:07]SAM_PROTO_ClearQueue done [02:56:07]KKMCreateOFDPacket [02:56:07]OFDProtocolAddRootSTLVToBuf [02:56:07]FM_MakeSignedData [02:56:07]FM_MakeSignedData [02:56:07]SAM_PROTO_SignData [02:56:07]wFMCommunicate request_size=4 [02:56:07]MH_SAM_APDU [02:56:07]CAPDU: 80 0D 01 02 [02:56:07]Write to MH i2c: E2 08 00 D4 0D 80 0D 01 02 00 00 00 00 5A [02:56:07]Write i2c OK [02:56:07]MH_I2C_Read... [02:56:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:56:07]Read from MH i2c: E2 [02:56:07]MH_I2C_Read... [02:56:07]Read from MH i2c: E2 03 00 [02:56:07]MH_I2C_Read... [02:56:07]Read from MH i2c: E2 03 00 D4 0D 00 90 00 55 [02:56:07]RAPDU: 90 00 [02:56:07]wFMCommunicate OK [02:56:07]wFMCommunicate request_size=255 [02:56:07]MH_SAM_APDU [02:56:07]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 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 C9 04 A7 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 [02:56:07]Write to MH i2c: E2 02 01 D5 0D 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 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 C9 04 A7 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 00 00 CC [02:56:07]Write i2c OK [02:56:07]MH_I2C_Read... [02:56:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:56:07]Read from MH i2c: E2 [02:56:07]MH_I2C_Read... [02:56:07]Read from MH i2c: E2 03 00 [02:56:07]MH_I2C_Read... [02:56:07]Read from MH i2c: E2 03 00 D5 0D 00 90 00 56 [02:56:07]RAPDU: 90 00 [02:56:07]wFMCommunicate OK [02:56:07]wFMCommunicate request_size=31 [02:56:07]MH_SAM_APDU [02:56:07]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 39 33 37 10 04 04 00 E0 69 00 00 35 04 06 00 DC 24 5A C5 A0 2D [02:56:07]Write to MH i2c: E2 22 00 D6 0D 80 0D 02 02 1A 00 30 30 38 37 34 39 33 37 10 04 04 00 E0 69 00 00 35 04 06 00 DC 24 5A C5 A0 2D 00 00 C3 [02:56:07]Write i2c OK [02:56:07]MH_I2C_Read... [02:56:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:56:07]Read from MH i2c: E2 [02:56:07]MH_I2C_Read... [02:56:07]Read from MH i2c: E2 03 00 [02:56:07]MH_I2C_Read... [02:56:07]Read from MH i2c: E2 03 00 D6 0D 00 90 00 57 [02:56:07]RAPDU: 90 00 [02:56:07]wFMCommunicate OK [02:56:07]wFMCommunicate request_size=4 [02:56:07]MH_SAM_APDU [02:56:07]CAPDU: 80 0D 03 02 [02:56:07]Write to MH i2c: E2 08 00 D7 0D 80 0D 03 02 00 00 00 00 5F [02:56:07]Write i2c OK [02:56:07]MH_I2C_Read... [02:56:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:56:07]Read from MH i2c: E2 [02:56:07]MH_I2C_Read... [02:56:07]Read from MH i2c: E2 0B 00 [02:56:07]MH_I2C_Read... [02:56:07]Read from MH i2c: E2 0B 00 D7 0D 00 DE E5 FA 79 79 ED 35 E8 90 00 19 [02:56:07]RAPDU: DE E5 FA 79 79 ED 35 E8 90 00 [02:56:07]wFMCommunicate OK [02:56:07]SAM_PROTO_SignData done [02:56:07]FM_MakeSignedData done [02:56:07]CreateOFDProtocolMessage [02:56:07]wFMCommunicate request_size=4 [02:56:07]MH_SAM_APDU [02:56:07]CAPDU: 80 11 00 00 [02:56:07]Write to MH i2c: E2 08 00 D8 0D 80 11 00 00 00 00 00 00 5F [02:56:07]Write i2c OK [02:56:07]MH_I2C_Read... [02:56:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:56:07]Read from MH i2c: E2 [02:56:07]MH_I2C_Read... [02:56:07]Read from MH i2c: E2 17 00 [02:56:07]MH_I2C_Read... [02:56:07]Read from MH i2c: E2 17 00 D8 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 B8 [02:56:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [02:56:07]wFMCommunicate OK [02:56:07]CreateOFDProtocolMessage done [02:56:07]OFDSenderStorePacket 27104 [02:56:07]StoreOFDPacket docnum=27104 [02:56:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 24 01 00 00 56 D7 1C 01 13 39 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 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 C9 04 A7 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 E0 69 00 00 35 04 06 00 DC 24 5A C5 A0 2D DE E5 FA 79 79 ED 35 E8 [02:56:07]CheckFolder [02:56:07]dirname=/storage/ofd_packets [02:56:07]CheckFolder done [02:56:07]ProducePacketName [02:56:07]name=ofd_packets/00027104 [02:56:07]NVStorageSaveData ofd_packets/00027104 [02:56:07]File name is /storage/ofd_packets/00027104 [02:56:07]Write 322 bytes [02:56:07]NVStorageSaveData done [02:56:07]OFDSenderStorePacket done [02:56:07]KKMCreateOFDPacket done [02:56:07]NVStorageSaveData kkm_last_timestamp [02:56:07]File name is /storage/kkm_last_timestamp [02:56:07]Write 4 bytes [02:56:07]NVStorageSaveData done [02:56:07]ExternCall_PrintAddStr [02:56:07]wPrintStart [02:56:07]Write to MH i2c: 01 00 00 D9 0D E6 [02:56:07]Write i2c OK [02:56:07]MH_I2C_Read... [02:56:07]Read from MH i2c: 01 [02:56:07]MH_I2C_Read... [02:56:07]Read from MH i2c: 01 07 00 [02:56:07]MH_I2C_Read... [02:56:07]Read from MH i2c: 01 07 00 D9 0D 00 00 00 00 00 FF 0F FB [02:56:07]RasterBufferAndPrint [02:56:07]line Счет N : (3)150501 [02:56:07]line ИНН: 02508201610067 [02:56:07]line Контрольно-Кассовый Чек [02:56:07]line ПРОДАЖА [02:56:07]line Товар: 4700000480517 [02:56:07]line Пиво Живое 1л ПЭТ [02:56:07]line 1.000 * 180.00 [02:56:07]line = 180.00 [02:56:07]line НДС 12% НСП 1% [02:56:07]line > о реализуемом товаре [02:56:07]line ИТОГО: 180.00 [02:56:07]line НСП 1% : 1.59 [02:56:07]line НДС 12% : 19.11 [02:56:07]line Наличными: 0.00 [02:56:07]line Безнал.: 180.00 [02:56:07]line Место: АЗС № 134 "Партнер Нефть" [02:56:07]line Адрес: 720001, с. Ак-Орго, 40.200752, 71.607486 [02:56:07]line СНО: Общий режим [02:56:07]line Чек 7 29.07.2024 02:56 [02:56:07]line Смена: 434 ФФД: 1.0 [02:56:07]line ЗНМ: 0300000043 [02:56:07]line РНМ: 0000000000092663 [02:56:07]line Версия ККМ: 001 [02:56:07]line Платежная система: Balance.KG [02:56:07]line ФМ: 0000000000874937 [02:56:07]line ФД: 27104 [02:56:07]line ФПД: 242048699834413 [02:56:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240729T025609&type=1&operation_type=1&fn_number=0000000000874937&fd_number=27104&fm=242048699834413&tin=02508201610067®Number=0000000000092663&sum=18000 [02:56:07]line 0 [02:56:07]written 0, free lines is 4095 [02:56:07]OFD Sender: Processing packet 27104 [packets to send 9, broken 8] [02:56:07]ProducePacketName [02:56:07]name=ofd_packets/00027104 [02:56:07]OFD Sender: To server: pG, [02:56:07]CommunicateWithHost lk.salyk.kg:30040 [02:56:07]ConnectInit lk.salyk.kg [02:56:07]Connected sock=9 [02:56:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 24 01 00 00 56 D7 1C 01 13 39 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 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 C9 04 A7 66 0E 04 04 00 B2 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 10 04 04 00 E0 69 00 00 35 04 06 00 DC 24 5A C5 A0 2D DE E5 FA 79 79 ED 35 E8 [02:56:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 4F 00 00 00 5C 48 47 00 BA 4D 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 38 37 34 39 33 37 10 04 04 00 E0 69 00 00 F4 03 04 00 1B AB A6 66 B6 04 01 00 00 BB 30 FB 0D 4D 8C AE 19 [02:56:08]CommunicateWithHost err = 0 [02:56:08]CheckOFDResponse [02:56:08]1017 (14) - 77093643461234 [02:56:08]1041 (16) - 0000000000874937 [02:56:08]1040 (4) - 27104 [02:56:08]1012 (4) - 28.07.2024 20:33 [02:56:08]1206 (1) - 0 [02:56:08]OFD Sender: Remove packet 27104 [02:56:08]ProducePacketName [02:56:08]name=ofd_packets/00027104 [02:56:08]NVStorageDeleteData [02:56:08]Write to MH i2c: 01 00 00 02 0E 10 [02:56:08]Write i2c OK [02:56:08]MH_I2C_Read... [02:56:08]Read from MH i2c: 01 [02:56:08]MH_I2C_Read... [02:56:08]Read from MH i2c: 01 07 00 [02:56:08]MH_I2C_Read... [02:56:08]Read from MH i2c: 01 07 00 02 0E 00 00 00 00 00 E9 0C 0C [02:56:08]RasterBufferAndPrint [02:56:08]line [02:56:08]line [02:56:08]line [02:56:08]line [02:56:08]line [02:56:08]written 0, free lines is 3315 [02:56:08]MH_Cut [02:56:08]Write to MH i2c: D1 01 00 09 0E 01 E9 [02:56:08]Write i2c OK [02:56:08]MH_I2C_Read... [02:56:08]Read from MH i2c: D1 [02:56:08]MH_I2C_Read... [02:56:08]Read from MH i2c: D1 01 00 [02:56:08]MH_I2C_Read... [02:56:08]Read from MH i2c: D1 01 00 09 0E 00 E8 [02:56:08]Write to MH i2c: 01 00 00 0A 0E 18 [02:56:08]Write i2c OK [02:56:08]MH_I2C_Read... [02:56:08]OFD Sender: No OFD packet to send [02:56:08]*** Cut start [02:56:08]*** Partial cut [02:56:08]*** CUTSNS_PIN = 1 [02:56:09]*** CUTSNS_PIN = 0 [02:56:09]*** Brake cut motor [02:56:09]Read from MH i2c: 01 [02:56:09]MH_I2C_Read... [02:56:09]*** Stop cut motor [02:56:09]*** Cut end [02:56:09]Read from MH i2c: 01 07 00 [02:56:09]MH_I2C_Read... [02:56:09]Read from MH i2c: 01 07 00 0A 0E 00 00 00 00 00 FF 0F 2D [02:56:09]process_action close_receipt done [02:56:09]requested_data is exist [02:56:09]produce_requested_data [02:56:09]requested_item fm.sn is exist - process it [02:56:09]wFMCommunicate request_size=4 [02:56:09]MH_SAM_APDU [02:56:09]CAPDU: 80 11 00 00 [02:56:09]Write to MH i2c: E2 08 00 0B 0E 80 11 00 00 00 00 00 00 93 [02:56:09]Write i2c OK [02:56:09]MH_I2C_Read... [02:56:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:56:09]Read from MH i2c: E2 [02:56:09]MH_I2C_Read... [02:56:09]Read from MH i2c: E2 17 00 [02:56:09]MH_I2C_Read... [02:56:09]Read from MH i2c: E2 17 00 0B 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 EC [02:56:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 90 00 [02:56:09]wFMCommunicate OK [02:56:09]requested_item fd.num is exist - process it [02:56:09]SAM_PROTO_GetFieldsCounters [02:56:09]wFMCommunicate request_size=4 [02:56:09]MH_SAM_APDU [02:56:09]CAPDU: 80 13 00 00 [02:56:09]Write to MH i2c: E2 08 00 0C 0E 80 13 00 00 00 00 00 00 96 [02:56:09]Write i2c OK [02:56:09]MH_I2C_Read... [02:56:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:56:09]Read from MH i2c: E2 [02:56:09]MH_I2C_Read... [02:56:09]Read from MH i2c: E2 62 00 [02:56:09]MH_I2C_Read... [02:56:09]Read from MH i2c: E2 62 00 0C 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 E0 69 00 00 0E 04 04 00 B2 01 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 CF [02:56:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 39 33 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 32 36 36 33 10 04 04 00 E0 69 00 00 0E 04 04 00 B2 01 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 [02:56:09]wFMCommunicate OK [02:56:09]SAM_PROTO_GetFieldsCounters done [02:56:09]requested_item shift.num is exist - process it [02:56:09]requested_item shift.opened is exist - process it [02:56:09]req_shift_opened [02:56:09]FM_GetShiftState [02:56:09]SAM_PROTO_GetShiftState [02:56:09]wFMCommunicate request_size=4 [02:56:09]MH_SAM_APDU [02:56:09]CAPDU: 80 13 01 00 [02:56:09]Write to MH i2c: E2 08 00 0D 0E 80 13 01 00 00 00 00 00 98 [02:56:09]Write i2c OK [02:56:09]MH_I2C_Read... [02:56:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:56:09]Read from MH i2c: E2 [02:56:09]MH_I2C_Read... [02:56:09]Read from MH i2c: E2 0E 00 [02:56:09]MH_I2C_Read... [02:56:09]Read from MH i2c: E2 0E 00 0D 0E 00 09 00 01 85 E4 A6 66 00 00 00 00 90 00 19 [02:56:09]RAPDU: 09 00 01 85 E4 A6 66 00 00 00 00 90 00 [02:56:09]wFMCommunicate OK [02:56:09]SAM_PROTO_GetShiftState done [02:56:09]FM_GetShiftState done [02:56:09]req_shift_opened done [02:56:09]requested_item shift.open_date is exist - process it [02:56:09]req_shift_open_date [02:56:09]req_shift_open_date done [02:56:09]produce_requested_data done [02:56:09]produce_requested_data return {"fm.sn":"0000000000874937","fd.num":27104,"shift.num":434,"shift.opened":1,"shift.open_date":1722213509} [02:56:09]process_action_free close_receipt [02:56:09]json_value_free [02:56:09]json_value_free done [02:56:09]process_json_proto returns [02:56:09]Send response to host [02:56:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874937","fd.num":27104,"shift.num":434,"shift.opened":1,"shift.open_date":1722213509}}} [02:56:09]free response buf [02:56:09]execute_script done [02:56:09]execute_script returns [02:56:09]free content buf [02:56:09]Sock 10.Close socket [02:56:09]Sock 10.Thread stoped [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:49]OFD Sender: No OFD packet to send [03:03:54]OFD Sender: No OFD packet to send [03:03:59]OFD Sender: No OFD packet to send [03:04:04]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 [03:09:39]OFD Sender: No OFD packet to send [03:09:44]OFD Sender: No OFD packet to send [03:09:49]OFD Sender: No OFD packet to send [03:09:54]OFD Sender: No OFD packet to send [03:09:59]OFD Sender: No OFD packet to send [03:10:04]OFD Sender: No OFD packet to send [03:10:09]OFD Sender: No OFD packet to send [03:10:14]OFD Sender: No OFD packet to send [03:10:19]OFD Sender: No OFD packet to send [03:10:24]OFD Sender: No OFD packet to send [03:10:29]OFD Sender: No OFD packet to send [03:10:34]OFD Sender: No OFD packet to send [03:10:39]OFD Sender: No OFD packet to send [03:10:44]OFD Sender: No OFD packet to send [03:10:49]OFD Sender: No OFD packet to send [03:10:54]OFD Sender: No OFD packet to send [03:10:59]OFD Sender: No OFD packet to send [03:11:04]OFD Sender: No OFD packet to send [03:11:09]OFD Sender: No OFD packet to send [03:11:14]OFD Sender: No OFD packet to send [03:11:19]OFD Sender: No OFD packet to send [03:11:24]OFD Sender: No OFD packet to send [03:11:29]OFD Sender: No OFD packet to send [03:11:34]OFD Sender: No OFD packet to send [03:11:39]OFD Sender: No OFD packet to send [03:11:44]OFD Sender: No OFD packet to send [03:11:49]OFD Sender: No OFD packet to send [03:11:54]OFD Sender: No OFD packet to send [03:11:59]OFD Sender: No OFD packet to send [03:12:04]OFD Sender: No OFD packet to send [03:12:09]OFD Sender: No OFD packet to send [03:12:14]OFD Sender: No OFD packet to send [03:12:19]OFD Sender: No OFD packet to send [03:12:24]OFD Sender: No OFD packet to send [03:12:29]OFD Sender: No OFD packet to send [03:12:34]OFD Sender: No OFD packet to send [03:12:39]OFD Sender: No OFD packet to send [03:12:44]OFD Sender: No OFD packet to send [03:12:49]OFD Sender: No OFD packet to send [03:12:54]OFD Sender: No OFD packet to send [03:12:59]OFD Sender: No OFD packet to send [03:13:04]OFD Sender: No OFD packet to send [03:13:09]OFD Sender: No OFD packet to send [03:13:14]OFD Sender: No OFD packet to send [03:13:19]OFD Sender: No OFD packet to send [03:13:24]OFD Sender: No OFD packet to send [03:13:29]OFD Sender: No OFD packet to send [03:13:34]OFD Sender: No OFD packet to send [03:13:39]OFD Sender: No OFD packet to send [03:13:44]OFD Sender: No OFD packet to send [03:13:49]OFD Sender: No OFD packet to send [03:13:54]OFD Sender: No OFD packet to send [03:13:59]OFD Sender: No OFD packet to send [03:14:04]OFD Sender: No OFD packet to send [03:14:09]OFD Sender: No OFD packet to send [03:14:14]OFD Sender: No OFD packet to send [03:14:19]OFD Sender: No OFD packet to send [03:14:24]OFD Sender: No OFD packet to send [03:14:29]OFD Sender: No OFD packet to send [03:14:34]OFD Sender: No OFD packet to send [03:14:39]OFD Sender: No OFD packet to send [03:14:44]OFD Sender: No OFD packet to send [03:14:49]OFD Sender: No OFD packet to send [03:14:54]OFD Sender: No OFD packet to send [03:14:59]OFD Sender: No OFD packet to send [03:15:04]OFD Sender: No OFD packet to send [03:15:09]OFD Sender: No OFD packet to send [03:15:14]OFD Sender: No OFD packet to send [03:15:19]OFD Sender: No OFD packet to send [03:15:24]OFD Sender: No OFD packet to send [03:15:29]OFD Sender: No OFD packet to send [03:15:34]OFD Sender: No OFD packet to send [03:15:39]OFD Sender: No OFD packet to send [03:15:44]OFD Sender: No OFD packet to send [03:15:49]OFD Sender: No OFD packet to send [03:15:54]OFD Sender: No OFD packet to send [03:15:59]OFD Sender: No OFD packet to send [03:16:04]OFD Sender: No OFD packet to send [03:16:09]OFD Sender: No OFD packet to send [03:16:14]OFD Sender: No OFD packet to send [03:16:19]OFD Sender: No OFD packet to send [03:16:24]OFD Sender: No OFD packet to send [03:16:29]OFD Sender: No OFD packet to send [03:16:34]OFD Sender: No OFD packet to send [03:16:39]OFD Sender: No OFD packet to send [03:16:44]OFD Sender: No OFD packet to send [03:16:49]OFD Sender: No OFD packet to send [03:16:54]OFD Sender: No OFD packet to send [03:16:59]OFD Sender: No OFD packet to send [03:17:04]OFD Sender: No OFD packet to send [03:17:09]OFD Sender: No OFD packet to send [03:17:14]OFD Sender: No OFD packet to send [03:17:19]OFD Sender: No OFD packet to send [03:17:24]OFD Sender: No OFD packet to send [03:17:29]OFD Sender: No OFD packet to send [03:17:34]OFD Sender: No OFD packet to send [03:17:39]OFD Sender: No OFD packet to send [03:17:44]OFD Sender: No OFD packet to send [03:17:49]OFD Sender: No OFD packet to send [03:17:54]OFD Sender: No OFD packet to send [03:17:59]OFD Sender: No OFD packet to send [03:18:04]OFD Sender: No OFD packet to send [03:18:09]OFD Sender: No OFD packet to send [03:18:14]OFD Sender: No OFD packet to send [03:18:19]OFD Sender: No OFD packet to send [03:18:24]OFD Sender: No OFD packet to send [03:18:29]OFD Sender: No OFD packet to send [03:18:34]OFD Sender: No OFD packet to send [03:18:39]OFD Sender: No OFD packet to send [03:18:44]OFD Sender: No OFD packet to send [03:18:49]OFD Sender: No OFD packet to send [03:18:54]OFD Sender: No OFD packet to send [03:18:59]OFD Sender: No OFD packet to send [03:19:04]OFD Sender: No OFD packet to send [03:19:09]OFD Sender: No OFD packet to send [03:19:14]OFD Sender: No OFD packet to send [03:19:19]OFD Sender: No OFD packet to send [03:19:24]OFD Sender: No OFD packet to send [03:19:29]OFD Sender: No OFD packet to send [03:19:34]OFD Sender: No OFD packet to send [03:19:39]OFD Sender: No OFD packet to send [03:19:44]OFD Sender: No OFD packet to send [03:19:49]OFD Sender: No OFD packet to send [03:19:54]OFD Sender: No OFD packet to send [03:19:59]OFD Sender: No OFD packet to send [03:20:04]OFD Sender: No OFD packet to send [03:20:09]OFD Sender: No OFD packet to send [03:20:14]OFD Sender: No OFD packet to send [03:20:19]OFD Sender: No OFD packet to send [03:20:24]OFD Sender: No OFD packet to send [03:20:29]OFD Sender: No OFD packet to send [03:20:34]OFD Sender: No OFD packet to send [03:20:39]OFD Sender: No OFD packet to send [03:20:44]OFD Sender: No OFD packet to send [03:20:49]OFD Sender: No OFD packet to send [03:20:54]OFD Sender: No OFD packet to send [03:20:59]OFD Sender: No OFD packet to send [03:21:04]OFD Sender: No OFD packet to send [03:21:09]OFD Sender: No OFD packet to send [03:21:14]OFD Sender: No OFD packet to send [03:21:19]OFD Sender: No OFD packet to send [03:21:24]OFD Sender: No OFD packet to send [03:21:29]OFD Sender: No OFD packet to send [03:21:34]OFD Sender: No OFD packet to send [03:21:39]OFD Sender: No OFD packet to send [03:21:44]OFD Sender: No OFD packet to send [03:21:49]OFD Sender: No OFD packet to send [03:21:54]OFD Sender: No OFD packet to send [03:21:59]OFD Sender: No OFD packet to send [03:22:04]OFD Sender: No OFD packet to send [03:22:09]OFD Sender: No OFD packet to send [03:22:14]OFD Sender: No OFD packet to send [03:22:19]OFD Sender: No OFD packet to send [03:22:24]OFD Sender: No OFD packet to send [03:22:29]OFD Sender: No OFD packet to send